]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
Marco Pesenti Gritti <mpg@redhat.com>
[evince.git] / ChangeLog
1 2005-07-05  Carlos Garcia Campos  <carlosgc@gnome.org>
2             Marco Pesenti Gritti  <mpg@redhat.com>
3
4         * shell/Makefile.am: Add --prefix for dbus-binding-tool script
5         
6         * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC 
7         functions to the format required by dbus
8
9         * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
10         errors. Use the RPC parameters in the expected way
11
12 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
13
14         * Makefile.am:
15         * properties/Makefile.am:
16         * properties/ev-properties-main.c: (ev_properties_get_pages):
17
18         Support all mime types
19
20         * shell/Makefile.am:
21         * thumbnailer/Makefile.am:
22         * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
23         (evince_thumbnail_pngenc_get):
24
25         Use the document factory
26
27 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
28
29         * backend/Makefile.am:
30         * backend/ev-document-factory.c:
31         (mime_type_supported_by_gdk_pixbuf),
32         (ev_document_type_get_from_mime),
33         (ev_document_factory_get_document),
34         (ev_document_factory_get_backend),
35         (ev_document_factory_get_mime_types),
36         (ev_document_factory_get_all_mime_types):
37         * backend/ev-document-factory.h:
38         * shell/Makefile.am:
39         * shell/ev-document-types.c: (get_document_from_uri),
40         (ev_document_types_get_document),
41         (file_filter_add_mime_list_and_free),
42         (ev_document_types_add_filters):
43         * shell/ev-document-types.h:
44         * shell/ev-job-xfer.c: (ev_job_xfer_run):
45         * shell/ev-properties-dialog.c:
46         (ev_properties_dialog_set_document):
47         * shell/ev-window.c: (ev_window_cmd_file_open),
48         (ev_window_cmd_save_as):
49         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
50
51         Rework document types managing to avoid code duplication
52         and actually abstract from backend implementations.
53         Also provide a minimal factory api that can be used by
54         thumbnailer/properties.
55
56 2005-07-05  Christian Persch  <chpe@cvs.gnome.org>
57
58         * properties/ev-properties-view.c: (ev_properties_view_set_info):
59         Plug a mem leak.
60         * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
61         HIG spacings.
62
63 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
64
65         * shell/ev-properties-dialog.c
66         (ev_properties_dialog_set_document): only call
67         ev_properties_fonts_set_document() if the document implements the
68         fonts interface
69
70 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
71
72         * configure.ac:
73         * properties/Makefile.am:
74         * properties/ev-properties-view.c:
75         (ev_properties_view_register_type):
76         * properties/ev-properties-view.h:
77         * properties/ev-properties-main.h:
78
79         Implement nautilus plugin for properties.
80         Works only for pdf atm, I need to rework the
81         document types stuff to get this to work
82         for all backends...
83
84 2005-07-04  Martin Kretzschmar  <martink@gnome.org>
85
86         * shell/ev-properties-fonts.c (enum): kill redundant columns enum
87         (ev_properties_fonts_set_document): use
88         EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
89
90 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
91
92         * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
93         them
94         (PlaceImage, tiff2ps_process_page): use
95         g_ascii_dtostr to convert floats to strings in a locale-safe way.
96
97
98 2005-07-04  Martin Kretzschmar  <martink@gnome.org>
99
100         * shell/main.c: include libgnomeui/gnome-authentication-manager.h
101         (main): to call gnome_authentication_manager_init. Should fix
102         Bug #308510
103
104         * configure.ac: that requires libgnomeui 2.6.0.
105
106 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
107
108         * tiff/tiff-document.c (tiff_document_ps_export_begin) 
109         (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
110         use the new tiff2ps interfaces
111
112         * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page) 
113         (tiff2ps_context_finalize): implement new interfaces for tiff2ps
114
115         * tiff/tiff2ps.c: refactor tiff2ps code to use a context
116         structure instead of global variables.  Remove use of static
117         variables in functions.
118
119 2005-07-04  Carlos Garcia Campos <carlosgc@gnome.org>
120
121         * shell/ev-page-action.c: unref the completion after setting it to the
122         entry
123
124 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
125
126         * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
127         postscript files
128
129 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
130
131         * shell/ev-window.c (update_action_sensitivity): disable
132         File->Print if the document does not implement the ps exporter
133         interface
134
135 2005-07-04  Marco Pesenti Gritti  <mpg@redhat.com>
136
137         * Makefile.am:
138         * configure.ac:
139         * data/evince-properties.glade:
140         * properties/.cvsignore:
141         * properties/Makefile.am:
142         * properties/ev-properties-view.c: (ev_properties_view_dispose),
143         (ev_properties_view_class_init), (ev_properties_view_format_date),
144         (make_valid_utf8), (set_property), (ev_properties_view_set_info),
145         (ev_properties_view_init), (ev_properties_view_new):
146         * properties/ev-properties-view.h:
147         * shell/Makefile.am:
148         * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
149         (ev_properties_dialog_init), (ev_properties_dialog_set_document),
150         (ev_properties_dialog_new):
151         * shell/ev-properties-dialog.h:
152         * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
153         (ev_properties_fonts_class_init), (ev_properties_fonts_init),
154         (update_progress_label), (job_fonts_finished_cb),
155         (ev_properties_fonts_set_document), (ev_properties_fonts_new):
156         * shell/ev-properties-fonts.h:
157         * shell/ev-properties.c:
158         * shell/ev-properties.h:
159         * shell/ev-window.c: (ev_window_setup_document),
160         (ev_window_cmd_file_properties):
161
162         Split the properties pages in two different objects, depend
163         only on the backend where possible, use widgets instead
164         of gobject for the glade part, reimplement the dialog
165         itself with gtk.
166         I need this to implement nautilus properties page.
167
168 2005-07-03  Matthew S. Wilson  <msw@rpath.com>
169
170         * tiff/tiff-document.c (tiff_document_ps_export_begin) 
171         (tiff_document_ps_export_do_page, tiff_document_ps_export_end) 
172         (tiff_document_document_ps_exporter_iface_init): implement the ps
173         exporter interface for tiff documents
174
175         * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
176         libtiff to implement TIFF postscript export
177
178         * tiff/tiff2ps.h: added a header file for external tiff2ps
179         functions.
180
181         * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
182         tiff2ps.h
183
184 2005-07-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
185
186         * shell/ev-view.c: (scroll_to_current_page),
187         (ev_view_set_fullscreen), (ev_view_set_presentation):
188         
189         Scroll to current page when exit from presentation
190
191 2005-07-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
192
193         * shell/ev-window.c: (update_document_mode),
194         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
195         (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
196         (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
197         
198         Exit from fullscreen mode when switch to presentation. Fix for
199         bug 309365
200
201 2005-07-02  Matthew S. Wilson  <msw@rpath.com>
202
203         * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
204         return NULL if the document does not implement the selection
205         interface.
206
207 2005-07-02  Matthew S. Wilson  <msw@rpath.com>
208
209         * tiff/tiff-document.c (tiff_document_get_page_size): scale the
210         reported height by using the resolution aspect ratio
211         (tiff_document_render_pixbuf): scale the pixbuf using the
212         resolution aspect ratio
213
214 2005-07-01  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
215
216         * configure.ac:
217         
218         Require libgnomeprint >= 2.5.1. Thanks to Colin Slater 
219         <kiltedaco@gmail.com>
220         
221         * djvu/djvu-document.c: (djvu_document_get_orientation),
222         (djvu_document_set_orientation), (djvu_document_get_page_size),
223         (rotate_pixbuf), (djvu_document_render_pixbuf),
224         (djvu_document_document_iface_init):
225         * dvi/dvi-document.c: (dvi_document_get_orientation),
226         (dvi_document_set_orientation), (dvi_document_get_page_size),
227         (rotate_pixbuf), (dvi_document_render_pixbuf),
228         (dvi_document_document_iface_init):
229         
230         Dvi and djvu backends are ported to new API
231
232 Fri Jul  1 00:10:15 2005  Jonathan Blandford  <jrb@redhat.com>
233
234         * backend/ev-selection.c: (ev_selection_get_selection_region),
235         (ev_selection_get_selection_map):
236         * backend/ev-selection.h:
237         * pdf/ev-poppler.cc:
238         * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
239         * shell/ev-jobs.h:
240         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
241         (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
242         (ev_pixbuf_cache_get_text_mapping):
243         * shell/ev-pixbuf-cache.h:
244         * shell/ev-view.c: (location_in_text),
245         (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
246         support to EvView.  Now we can see where we can select!  Sweet!
247
248 2005-06-30  Kristian Høgsberg  <krh@redhat.com>
249
250         * shell/ev-view.c (ev_view_button_press_event): Fix
251         event->y + view->scroll_x typo.
252
253 2005-06-30  Kristian Høgsberg  <krh@redhat.com>
254
255         * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
256         sub-GdkPixbuf instead of passing dest_x and dest_y.
257         
258         * shell/ev-view.c: (view_point_to_doc_point),
259         (view_rect_to_doc_rect), (ev_view_button_press_event),
260         (ev_view_motion_notify_event), (compute_new_selection_rect),
261         (gdk_rectangle_point_in), (compute_new_selection_text),
262         (compute_selections): Update selection code to keep the selection
263         around as two points and not as a normalized rectangle, and fix
264         page level selection in two-column mode.
265
266 2005-06-30  Alex Duggan  <aldug@astrolinux.com>
267
268         * shell/ev-window.c: (window_configure_event_cb): 
269         
270         Fix compilation
271         
272 2005-06-30  Marco Pesenti Gritti  <mpg@redhat.com>
273
274         * pdf/ev-poppler.cc:
275
276         Fix compilation
277
278 2005-06-30  Marco Pesenti Gritti  <mpg@redhat.com>
279
280         * shell/Makefile.am:
281         * shell/ev-metadata-manager.c: (item_free),
282         (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
283         (parse_value), (parseItem), (load_values),
284         (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
285         (save_values), (save_item), (get_oldest), (resize_items),
286         (ev_metadata_manager_save), (ev_metadata_manager_set_int):
287         * shell/ev-metadata-manager.h:
288
289         Metadata manager from gedit but modified to use GValue, so that
290         we dont need to keep converting from strings.
291
292         * configure.ac:
293
294         ENABLE_METADATA conditional, on when dbus is on
295
296         * shell/ev-application.c: (ev_application_open_uri):
297
298         Show the window after load so that we can initialize
299         window size before it's showed.
300
301         * shell/ev-window.c: (ev_window_setup_from_metadata),
302         (ev_window_open_uri), (window_configure_event_cb),
303         (ev_window_init):
304
305         Save and load metadata information about window size.
306         Not yet keeping states in account.
307
308         * shell/main.c: (main):
309
310         Shutdown metadata manager.
311
312 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
313
314         * shell/ev-application-service.xml:
315         * configure.ac:
316         * shell/Makefile.am:
317         * shell/ev-application.c:
318         * shell/ev-application.h:
319         * shell/ev-window.c:
320         * shell/ev-window.h:
321         * shell/main.c:
322
323         Add an optional dbus interface (--enable-dbus).
324         Rework application code, mainly to be easier to
325         use "remotely".
326         Do not open multiple windows with the same document,
327         spatial evince!
328
329 Thu Jun 30 01:50:14 2005  Jonathan Blandford  <jrb@redhat.com>
330
331         * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
332         pixbuf iff it exists.
333
334 Thu Jun 30 01:43:00 2005  Jonathan Blandford  <jrb@redhat.com>
335
336         * shell/*:
337         * backend/ev-render-context.[ch]:
338         * backend/ev-selection.[ch]:
339
340         Massive changes.  We now support text selection of pdfs, and not
341         just rectangular selection.  This is pretty broken still, but I
342         want to get something into CVS.
343
344 2005-06-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
345
346         * pdf/ev-poppler.cc:
347         
348         Fix for Bug 309080: crash on window close.
349         
350         * shell/ev-page-action.c: (page_changed_cb):
351         
352         Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
353         jensgr@gmx.net (Jens Granseuer).
354
355 2005-06-25  Marcel Telka  <marcel@telka.sk>
356
357         * configure.in (ALL_LINGUAS): Added sk.
358
359 2005-06-24  Carlos Garcia Campos  <carlosgc@gnome.org>
360
361         * shell/ev-window.c: Make rotate menu entries unsensitive if there is
362         not a document open
363
364 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
365
366         * NEWS:
367         * configure.ac:
368
369         Release 0.3.2
370
371         * cut-n-paste/recent-files/Makefile.am:
372
373         Fix make distcheck
374
375 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
376
377         * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
378         (pixbuf_document_set_orientation), (rotate_pixbuf),
379         (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
380         (pixbuf_document_document_iface_init), (pixbuf_document_init):
381
382         Implement rotation and cleanup the code a bit.
383
384         * tiff/tiff-document.c: (tiff_document_get_page_size),
385         (tiff_document_get_orientation), (tiff_document_set_orientation),
386         (rotate_pixbuf), (tiff_document_render_pixbuf),
387         (tiff_document_document_iface_init), (tiff_document_init):
388
389         Implement rotation. Was the quicker solution for the release
390         but we really need to share this code in the shell.
391
392 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
393
394         * pdf/ev-poppler.cc:
395
396         Enable rotation, require poppler cvs. Fix a leak.
397
398 2005-06-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
399
400         * shell/ev-window.c: (update_action_sensitivity):
401         
402         Make properties unsensitive if document backend doesn't provide
403         any info
404
405 2005-06-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
406
407         * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
408         (bitmap_flip_horizontally), (bitmap_flip_vertically),
409         (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
410         (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
411         (bitmap_flip_rotate_counter_clockwise):
412         * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
413         * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
414         (buff_gets):
415         * dvi/mdvi-lib/common.h:
416         * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
417         * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
418         (opendvi), (mdvi_reload), (mdvi_init_context),
419         (mdvi_destroy_context), (mdvi_dopage), (special):
420         * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
421         * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
422         (file_hash_free), (register_encoding), (parse_spec),
423         (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
424         (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
425         (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
426         * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
427         (mdvi_register_font_type), (mdvi_unregister_font_type),
428         (lookup_font), (mdvi_add_font), (mdvi_font_retry):
429         * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
430         * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
431         (mdvi_hash_destroy_key), (mdvi_hash_reset):
432         * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
433         (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
434         * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
435         * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
436         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
437         * dvi/mdvi-lib/special.c: (mdvi_register_special),
438         (mdvi_unregister_special), (mdvi_flush_specials):
439         * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
440         (t1_font_remove):
441         * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
442         * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
443         (ofm1_load_file), (ofm_load_file), (get_font_metrics),
444         (free_font_metrics), (flush_font_metrics):
445         * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
446         (tt_font_remove):
447         * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
448         (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
449         (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
450         (dstring_insert), (dstring_new), (dstring_reset):
451         * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
452         
453         Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
454         avoid conflict with libtool on FC4
455         
456         * shell/ev-window.c: (ev_window_cmd_help_about):
457         
458         Update copyright year. Fix for bug 308828.
459
460 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
461
462         * shell/ev-view.c: (add_scroll_binding_keypad),
463         (ev_view_binding_activated), (ev_view_class_init),
464         (on_adjustment_value_changed):
465         
466         Bug 170874: Arrow keys switch pages in presentation mode
467
468 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
469
470         * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
471         
472         Fix for Bug 308265: Sidebar dissappears coming out of 
473         Presentation mode
474
475 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
476
477         * shell/ev-application.c: (ev_application_open):
478         * shell/ev-document-types.c: (ev_document_types_add_filters),
479         (ev_document_types_add_filters_for_type):
480         * shell/ev-document-types.h:
481         * shell/ev-window.c: (ev_window_cmd_save_as):
482         
483         Suggest basename as template when saving, provide filters
484         for save dialog. It's bug 308402
485
486 2005-06-20  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
487
488         * pdf/ev-poppler.cc:
489         * shell/ev-sidebar-links.c: (job_finished_callback):
490         * shell/ev-view.c: (update_find_status_message):
491         
492         Some leaks fixed
493
494 2005-06-19  Christian Persch  <chpe@cvs.gnome.org>
495
496         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
497         (egg_recent_view_uimanager_set_list):
498
499         Fix buglet in !show_numbers case.
500
501 2005-06-19  Christian Persch  <chpe@cvs.gnome.org>
502
503         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
504         (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
505
506         Use pango ellipsisation.
507
508         * pdf/ev-poppler.cc:
509
510         Fix refcount leak, from nsh.
511
512 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
513
514         * cut-n-paste/recent-files/Makefile.am:
515         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
516         * cut-n-paste/recent-files/egg-recent-view-gtk.h:
517         
518         Removed EggRecentViewGtk
519         
520         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
521         * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
522         * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
523         (ev_window_setup_recent):
524         
525         Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
526         with other projects
527
528 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
529
530         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
531         (egg_recent_view_gtk_finalize):
532
533         Fix memory leak
534
535         * cut-n-paste/toolbar-editor/Makefile.am:
536         
537         Fix location of cursor icon.
538         
539         * pdf/ev-poppler.cc:
540         * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
541         (display_completion_text), (match_completion):
542         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
543         (selection_changed_callback), (create_loading_model),
544         (print_section_cb), (links_page_num_func),
545         (update_page_callback_foreach):
546         * shell/ev-window.c: (ev_window_dispose):
547         
548         Small memory fixes. Links model now store objects instead
549         of pointers to improve memory management. 
550
551 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
552
553         * shell/ev-window.c: (zoom_control_changed_cb):
554         
555         Fix update of zoom control (bug 308268).
556
557 Sat Jun 18 22:46:42 2005  Jonathan Blandford  <jrb@redhat.com>
558
559         * shell/ev-properties.c (set_property): escape the text correctly.
560         Handles non-UTF-8 properties and escaped properties.  Also, sets
561         the text to "<i>None</i>" if the property isn't set.
562
563         * data/evince-properties.glade: Change the label to be ellipsized,
564         and give it a minimum size.
565
566 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
567
568         * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
569         * shell/ev-sidebar-links.c: (create_loading_model):
570         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
571         * shell/ev-view.c: (ev_view_set_document):
572         * shell/ev-window.c: (ev_window_dispose):
573         
574         Various small fixes, mostly memory leaks. Thanks to valgrind.
575
576 2005-06-19  Martin Kretzschmar  <martink@gnome.org>
577
578         * ps/ps-document.c: remove the locale.h include again ;-). And
579         kill the (bogus) setlocale/savelocale business.
580
581 2005-06-19   Jaap A. Haitsma <jaap@haitsma.org>
582
583         * ps/ps-document.c:
584         
585         Include locale.h to fix build
586         
587         * shell/ev-sidebar.c:
588         
589         Remove unnecessary includes
590
591 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
592
593         * dvi/dvi-document.c: (dvi_document_load):
594         * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
595         * po/POTFILES.in:
596         
597         Check for incorrect dvi files. Fix parsing dvi on AMD64
598         platform. Thanks to tester@tester.ca (Olivier Crete).
599
600 2005-06-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
601
602         * shell/ev-page-action.c: (match_selected_cb),
603         (display_completion_text), (match_completion), (update_model):
604         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
605         (expand_open_links):
606         * shell/ev-sidebar.c: (ev_sidebar_destroy),
607         (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
608         (ev_sidebar_set_document):
609         * shell/ev-window.c: (ev_window_xfer_job_cb),
610         (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
611         
612         Fixed lot's of memory leaks, for example, memory leak on reload, 
613         described in bug 307793.
614
615 2005-06-18  Marco Pesenti Gritti  <mpg@redhat.com>
616
617         * pdf/ev-poppler.cc:
618         * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
619         (update_visible_range), (adjustment_changed_cb),
620         (ev_sidebar_thumbnails_fill_model),
621         (ev_sidebar_thumbnails_refresh),
622         (ev_sidebar_tree_selection_changed),
623         (ev_sidebar_icon_selection_changed),
624         (ev_sidebar_thumbnails_use_icon_view),
625         (ev_sidebar_thumbnails_set_document):
626         * shell/ev-sidebar-thumbnails.h:
627         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
628         (ev_window_cmd_edit_rotate_right), (ev_window_init):
629
630         Refresh thumbnails when changing orientation. Not fully
631         working yet becuase of a sidebar bug.
632
633         Set page orientation to poppler page everywhere. This sucks
634         really need to fix poppler.
635
636 2005-06-18  Marco Pesenti Gritti  <mpg@redhat.com>
637
638         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
639         (egg_recent_view_gtk_new_menu_item),
640         (egg_recent_view_gtk_set_property),
641         (egg_recent_view_gtk_get_property),
642         (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
643         (egg_recent_view_gtk_set_tooltip_func),
644         (egg_recent_view_gtk_set_label_width),
645         (egg_recent_view_gtk_get_label_width):
646         * cut-n-paste/recent-files/egg-recent-view-gtk.h:
647
648         Sync with libegg (ellipsize labels)
649
650 2005-06-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
651
652         * data/evince-ui.xml:
653         * shell/ev-window.c: (ev_window_cmd_go_forward),
654         (ev_window_cmd_go_backward):
655         
656         Shift + PageUp moves 10 Pages. Fix for 306125
657
658 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
659
660         * pdf/ev-poppler.cc:
661
662         Add a flag to check if orientation has been overriden
663
664 2005-06-17  Martin Kretzschmar  <martink@gnome.org>
665
666         * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
667         field if necessary.
668
669         * ps/ps.h: add creator field to document.
670
671         * ps/ps-document.c (ps_document_get_info): set format to PostScript,
672         set creator field.
673
674 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
675
676         * data/evince-properties.glade:
677         * shell/ev-properties.c: (ev_properties_set_document):
678
679         s/PDF Version/Format
680
681 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
682
683         * shell/ev-properties.c: (ev_properties_set_document):
684
685         Remove unnecessary translations
686
687 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
688
689         * cut-n-paste/toolbar-editor/Makefile.am:
690
691         Correct library name    
692
693 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
694
695         * configure.ac:
696         * cut-n-paste/recent-files/egg-recent-model.c:
697         (egg_recent_model_write_raw), (egg_recent_model_lock_file),
698         (egg_recent_model_unlock_file):
699         * cut-n-paste/recent-files/egg-recent-util.c:
700         (egg_recent_util_get_unique_id):
701         * cut-n-paste/recent-files/update-from-egg.sh:
702         * cut-n-paste/toolbar-editor/Makefile.am:
703         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
704         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
705         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
706         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
707         (egg_toolbars_model_get_type):
708         * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
709
710         Better makefile for toolbar editor and update everything
711         to latest libegg.
712
713 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
714
715         * shell/ev-window.c: (update_document_mode):
716
717         Prefer presentation mode when the document
718         require fullscreen.
719
720 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
721
722         * data/evince-ui.xml:
723         * shell/ev-window.c:
724
725         Add control-equal for zooming
726
727 2005-06-17  Theppitak Karoonboonyanan  <thep@linux.thai.net>
728
729         * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
730
731 2005-06-16  Marco Pesenti Gritti  <mpg@redhat.com>
732
733         * backend/ev-document.c: (ev_document_get_orientation):
734         * backend/ev-document.h:
735         * pdf/ev-poppler.cc:
736         * ps/ps-document.c: (ps_document_get_orientation),
737         (ps_document_set_orientation), (ps_document_document_iface_init):
738
739         Add a get_orientation api. Improve set_orientation.
740
741         * data/evince-ui.xml:
742         * shell/ev-view.c: (ev_view_set_orientation),
743         (ev_view_rotate_right), (ev_view_rotate_left):
744         * shell/ev-view.h:
745         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
746         (ev_window_cmd_edit_rotate_right):
747
748         Better ui for changing document orientation
749
750 2005-06-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
751
752         * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
753         (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
754         * shell/ev-sidebar-links.h:
755         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
756         (ev_sidebar_page_iface_init):
757         * shell/ev-sidebar-page.h:
758         * shell/ev-sidebar-thumbnails.c:
759         (ev_sidebar_thumbnails_get_property),
760         (ev_sidebar_thumbnails_class_init),
761         (ev_sidebar_thumbnails_set_document):
762         * shell/ev-sidebar-thumbnails.h:
763         * shell/ev-view.c: (ev_view_motion_notify_event):
764         * shell/ev-window.c: (update_chrome_visibility),
765         (ev_window_cmd_focus_page_selector),
766         (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
767         (sidebar_page_main_widget_update_cb), (ev_window_init):
768         
769         Autoraise toolbar on GoToPage binding and fix bindings in
770         EvSidebarThumbnails page.
771
772 2005-06-15  Christian Persch  <chpe@cvs.gnome.org>
773
774         * shell/ev-properties.c: (update_progress_label):
775
776         Hide the progress label when finished; bug #307697.
777
778 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
779
780         * pdf/ev-poppler.cc:
781
782         Enable is_open for links, you will need poppler cvs
783
784         * shell/ev-properties.c: (job_fonts_finished_cb):
785
786         Get a lock on the document when filling the tree view
787
788 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
789
790         * backend/ev-document-links.h:
791         * pdf/ev-poppler.cc:
792         * shell/ev-sidebar-links.c: (create_loading_model),
793         (expand_open_links), (job_finished_callback):
794
795         Expand links when specified by the document.
796         Depend on a poppler api (defined out for now)
797
798 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
799
800         * shell/ev-properties.c: (ev_properties_dispose),
801         (ev_properties_class_init), (dialog_destroy_cb),
802         (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
803         (ev_properties_set_document), (ev_properties_new),
804         (ev_properties_show):
805         * shell/ev-properties.h:
806
807         Make it an object, cleanup the code, api to show it as transient
808         and to set the document.
809
810         * shell/ev-window.c: (ev_window_setup_document),
811         (ev_window_cmd_file_properties):
812
813         Adapt to EvProperties changes, do not show multiple
814         times, update it when document changes.
815
816 2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>
817
818         * ps/gstypes.h:
819         * ps/ps-document.c: (ps_document_init), (get_page_orientation),
820         (ps_document_set_orientation), (ps_document_document_iface_init):
821         * ps/ps-document.h:
822
823         Implement orientation here too
824
825         * shell/ev-properties.c: (ev_properties_new):
826         * data/evince-properties.glade:
827
828         Hide the fonts page for backends that doesnt
829         support it.     
830
831 2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>
832
833         * backend/ev-document.c: (ev_document_set_orientation):
834         * backend/ev-document.h:
835         * pdf/ev-poppler.cc:
836
837         Add orientation api. Currently poppler api is not optimal,
838         we need to set orientation every time we _get a page.
839         I will try to fix that at some point.
840
841         * data/evince-ui.xml:
842         * shell/ev-window.c: (ev_window_cmd_edit_landscape),
843         (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
844
845         Add orientation menu items
846
847         * shell/ev-page-cache.c: (ev_page_cache_clear):
848         * shell/ev-page-cache.h:
849
850         Add api to clear the cache
851
852         * shell/ev-view.c: (setup_caches), (clear_caches),
853         (ev_view_set_document), (ev_view_zoom_out),
854         (ev_view_set_orientation):
855         * shell/ev-view.h:
856
857         Implement orientation changing
858
859 2005-06-13  Marco Pesenti Gritti <mpg@redhat.com>
860
861         * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
862         (ev_document_fonts_scan), (ev_document_fonts_fill_model):
863         * backend/ev-document-fonts.h:
864
865         Separate scan and fill so that we can incrementally fill from
866         the main thread. Add a progress api.
867
868         * data/evince-properties.glade:
869         * pdf/ev-poppler.cc:
870         * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
871         * shell/ev-jobs.h:
872         * shell/ev-properties.c: (update_progress_label),
873         (job_fonts_finished_cb), (setup_fonts_view):
874
875         Incrementally feel the list and show the progress
876         percentage in a label like acrobat does.
877
878         You are going to need poppler cvs
879
880 2005-06-11  Marco Pesenti Gritti <mpg@redhat.com>
881
882         * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
883         * backend/ev-document-fonts.h:
884         * pdf/ev-poppler.cc:
885
886         Make fonts model fill incrementally.
887
888         * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
889         (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
890         (ev_job_queue_remove_job):
891         * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
892         (ev_job_fonts_new), (ev_job_fonts_run):
893         * shell/ev-jobs.h:
894
895         New job for fonts scanning
896
897         * shell/ev-properties.c: (job_fonts_finished_cb),
898         (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
899         * shell/ev-properties.h:
900         * shell/ev-window.c: (ev_window_cmd_file_properties):
901
902         Incrementally feel the treeview using the new job. Show Loading...
903         message until scanning is completed.
904
905         Hopefully I didnt break the build without the poppler patch.
906
907 2005-06-10  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
908
909         * shell/ev-application.c: (ev_application_open):
910         * shell/ev-document-types.c: (ev_document_type_from_from_mime),
911         (ev_document_type_get_type), (ev_document_type_lookup):
912         * shell/ev-document-types.h:
913         * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
914         * shell/ev-job-xfer.h:
915         * shell/ev-window.c: (ev_window_clear_local_uri),
916         (ev_window_load_job_cb), (ev_window_xfer_job_cb),
917         (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
918         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
919         
920         Transfer remote documents to tmp directory to display them later.
921
922 2005-06-10  Marco Pesenti Gritti <mpg@redhat.com>
923
924         * backend/ev-document-info.h:
925         * shell/ev-properties.c: (ev_properties_new):
926
927         s/GTime*/GTime. Not sure why we was using a pointer
928         at all there!
929
930 Wed Jun  8 01:04:22 2005  Jonathan Blandford  <jrb@redhat.com>
931
932         * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
933         situations.  That situation is that you're using GTK+-HEAD with
934         the patch at #306726 is applied, and you have a document with <
935         1500 pages in it.  It's not quite as uniformly nice as the
936         TreeView, but should be better in the long run.
937
938         I'm pretty sure I guarded against breaking compilation with
939         HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
940         I missed some.
941
942         * shell/ev-window.c (ev_window_init): We don't have our tree/list
943         widget yet, so I commented that code out
944         enable_view_actions_for_widget() for now.  Need to figure this
945         out.
946
947         * shell/ev-page-action.c (match_selected_cb): emit the right
948         signals.  Our cool C-l completion now works.
949
950 2005-06-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
951
952         * backend/Makefile.am:
953         * backend/ev-document-fonts.c:
954         * backend/ev-document-links.c:
955         * backend/ev-document.c: (ev_document_load):
956         * backend/ev-document.h:
957         * backend/ev-job-queue.c:
958         * backend/ev-job-queue.h:
959         * backend/ev-jobs.c:
960         * backend/ev-jobs.h:
961         * backend/ev-page-cache.c:
962         * backend/ev-page-cache.h:
963
964         EvPageCache and EvJobs are moved to shell.
965
966         * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
967         (ev_tmp_filename):
968         * lib/ev-file-helpers.h:
969         
970         New helper to work with temporary files
971         
972         * shell/Makefile.am:
973         * shell/ev-application.c: (ev_application_open):
974         * shell/ev-application.h:
975         * shell/ev-job-queue.c: (remove_job_from_queue_locked),
976         (remove_job_from_async_queue), (add_job_to_async_queue),
977         (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
978         (handle_job), (search_for_jobs_unlocked),
979         (no_jobs_available_unlocked), (ev_render_thread),
980         (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
981         (ev_job_queue_add_job), (move_job_async), (move_job),
982         (ev_job_queue_update_job), (ev_job_queue_remove_job):
983         * shell/ev-job-queue.h:
984         * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
985         (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
986         * shell/ev-job-xfer.h:
987         * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
988         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
989         (ev_job_links_class_init), (ev_job_render_init),
990         (ev_job_render_dispose), (ev_job_render_class_init),
991         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
992         (ev_job_thumbnail_class_init), (ev_job_load_init),
993         (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
994         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
995         (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
996         (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
997         * shell/ev-jobs.h:
998         * shell/ev-page-action.c: (ev_page_action_set_document):
999         * shell/ev-page-cache.c: (ev_page_cache_init),
1000         (ev_page_cache_class_init), (ev_page_cache_finalize),
1001         (ev_page_cache_new), (ev_page_cache_get_n_pages),
1002         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1003         (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1004         (ev_page_cache_get_title), (ev_page_cache_get_size),
1005         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1006         (ev_page_cache_get_height_to_page),
1007         (ev_page_cache_get_max_label_chars),
1008         (ev_page_cache_get_page_label),
1009         (ev_page_cache_has_nonnumeric_page_labels),
1010         (ev_page_cache_get_info), (ev_page_cache_next_page),
1011         (ev_page_cache_prev_page), (ev_page_cache_get):
1012         * shell/ev-page-cache.h:
1013         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1014         (ev_pixbuf_cache_clear_job_sizes),
1015         (ev_pixbuf_cache_add_jobs_if_needed),
1016         (ev_pixbuf_cache_set_page_range):
1017         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1018         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1019         * shell/ev-sidebar-thumbnails.c:
1020         (ev_sidebar_tree_selection_changed),
1021         (ev_sidebar_thumbnails_set_document):
1022         * shell/ev-statusbar.c: (ev_statusbar_destroy),
1023         (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1024         (ev_statusbar_get_context_id), (ev_statusbar_push),
1025         (ev_statusbar_pop), (ev_statusbar_set_maximized),
1026         (ev_statusbar_pulse), (ev_statusbar_show_progress),
1027         (ev_statusbar_set_progress):
1028         * shell/ev-statusbar.h:
1029         * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1030         (ev_view_find_previous):
1031         * shell/ev-window.c: (ev_window_is_empty),
1032         (ev_window_setup_document), (password_dialog_response),
1033         (ev_window_clear_jobs), (ev_window_load_job_cb),
1034         (ev_window_xfer_job_cb), (ev_window_open_uri),
1035         (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1036         (ev_window_print), (ev_window_print_range),
1037         (ev_window_state_event), (ev_window_cmd_view_reload),
1038         (menu_item_select_cb), (menu_item_deselect_cb),
1039         (view_status_changed_cb), (ev_window_dispose),
1040         (drag_data_received_cb), (ev_window_init):
1041         * shell/ev-window.h:
1042         * shell/main.c: (load_files):
1043         
1044         New statusbar to show progress on idle. Two new jobs - 
1045         xfer job and load job to load document in background. And update
1046         of page_cache clients to new location of code.
1047
1048 2005-06-08  Carlos Garcia Campos <carlosgc@gnome.org>
1049   
1050         * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1051         selection in open dialog. It also remembers the last visited directory 
1052         in the current session.
1053
1054 2005-06-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1055
1056         * shell/ev-properties.c: (ev_properties_new):
1057         * shell/ev-properties.h:
1058         * shell/ev-window.c: (ev_window_cmd_file_properties):
1059         
1060         Get document info from page cache instead of document itself.
1061         This should fix crash related to race conditions described in
1062         bug 306545.
1063
1064 2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>
1065
1066         * ps/ps-document.c: (ps_document_init),
1067         (send_ps), (get_page_box), (output), (catchPipe), (input),
1068         (stop_interpreter), (file_length), (file_readable),
1069         (check_filecompressedb), (ps_document_enable_interpreter),
1070         (document_load), (ps_async_renderer_render_pixbuf):
1071         * ps/ps-document.h:
1072
1073         Big cleanup of the ps code
1074
1075 2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>
1076
1077         * backend/Makefile.am:
1078         * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1079         (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1080         * backend/ev-async-renderer.h:
1081
1082         Add an async renderer interface (method + callback) which
1083         is useful for backends like ps.
1084
1085         * backend/ev-job-queue.c: (remove_job_from_async_queue),
1086         (add_job_to_async_queue), (job_finished_cb), (handle_job),
1087         (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1088         (ev_job_queue_add_job), (move_job_async), (move_job),
1089         (ev_job_queue_update_job), (ev_job_queue_remove_job):
1090
1091         Add queues for async renderer, these are executed on the
1092         main thread.
1093
1094         * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1095         (ev_job_render_run):
1096         * backend/ev-jobs.h:
1097
1098         If the backend support async renderer interface use it.
1099
1100         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1101         (setup_pixmap), (ps_document_get_type),
1102         (ps_async_renderer_render_pixbuf),
1103         (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1104
1105         Implement async renderer interface.
1106
1107 2005-06-07  Nickolay V. Shmyrev  <<nshmyrev@yandex.ru>>
1108
1109         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1110
1111         Cleanup links job on exit.
1112
1113 2005-06-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1114
1115         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1116         (drag_data_get_cb), (drag_data_received_cb):
1117         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1118         (drag_data_get_cb), (parse_item_list),
1119         (egg_toolbar_editor_load_actions):
1120         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1121         (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1122         (parse_item_list), (parse_toolbars):
1123         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1124         (dvi_pixbuf_put_pixel):
1125         
1126         Fix gcc 4.0 warnings
1127
1128 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1129
1130         * ps/ps-document.c: (start_interpreter):
1131
1132         Fix warning when loading ps
1133
1134 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1135
1136         * ps/ps-document.c: (output):
1137
1138         Fix crash when priting gs error messages.
1139
1140 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1141
1142         * backend/ev-page-cache.c: (_ev_page_cache_new):
1143         * backend/ev-page-cache.h:
1144
1145         Use a const to return title so that we dont double
1146         free it. Small cleanup and fix a leak.
1147
1148         * shell/ev-window.c: (update_window_title):
1149
1150         strdup value from get_title.
1151
1152 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1153
1154         * shell/ev-sidebar-links.c: (job_finished_callback),
1155         (ev_sidebar_links_set_document):
1156
1157         Cleanup the old job when changing document
1158
1159 2005-06-05  Nickolay V. Shmyrev  <<nshmyrev@yandex.ru>>
1160
1161         * shell/ev-stock-icons.c:
1162         * shell/ev-stock-icons.h:
1163         * shell/ev-window.c:
1164         
1165         Add stock icons for actions that can appear in toolbar. Fix for
1166         bug 306566.
1167
1168 2005-06-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1169
1170         * backend/ev-page-cache.c: (ev_page_cache_finalize),
1171         (_ev_page_cache_new), (ev_page_cache_get_max_width),
1172         (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1173         * backend/ev-page-cache.h:
1174         * shell/ev-view.c: (scroll_to_current_page),
1175         (view_update_range_and_current_page), (get_page_y_offset),
1176         (get_page_extents), (ev_view_size_request_continuous_dual_page),
1177         (ev_view_size_request_continuous),
1178         (ev_view_zoom_for_size_continuous_and_dual_page),
1179         (ev_view_zoom_for_size_continuous):
1180         
1181         More compact EvView layout in document with pages of different size.
1182
1183 Sat Jun  4 19:20:57 2005  Jonathan Blandford  <jrb@redhat.com>
1184
1185         * shell/ev-window.c (ev_window_cmd_file_properties): fix
1186         compilation.
1187
1188 2005-06-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1189
1190         * shell/ev-view.c: (view_set_adjustment_values):
1191         * shell/ev-window.c: (ev_window_cmd_file_properties):
1192         
1193         A bit different fix for rounding problem but it has no
1194         problems on startup. Make properties window transient to parent.
1195
1196 2005-06-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1197
1198         * pdf/ev-poppler.cc:
1199         
1200         More commenting of font stuff.
1201
1202 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1203
1204         * pdf/ev-poppler.cc:
1205
1206         Comment out some more fonts stuff. Should really
1207         work without the poppler patch now.
1208
1209 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1210
1211         * pdf/ev-poppler.cc:
1212
1213         Adapt to api change
1214
1215 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1216
1217         * data/evince-properties.glade:
1218         * pdf/ev-poppler.cc:
1219         * shell/ev-properties.c: (setup_fonts_view):
1220
1221         Set the column title. Show the dialog only
1222         once everything is setup.
1223         Getting font info can be very slow... will
1224         prolly need to make this threaded too.
1225
1226 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1227
1228         * backend/Makefile.am:
1229         * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1230         (ev_document_fonts_get_fonts_model):
1231         * backend/ev-document-fonts.h:
1232         * data/evince-properties.glade:
1233         * pdf/ev-poppler.cc:
1234         * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1235         * shell/ev-properties.h:
1236         * shell/ev-window.c: (ev_window_cmd_file_properties):
1237
1238         Implement fonts list. Defined out for now, since it depends
1239         on a not yet committed poppler patch.
1240
1241 Fri Jun  3 21:07:57 2005  Jonathan Blandford  <jrb@redhat.com>
1242
1243         * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1244         page + 1.
1245
1246         * shell/ev-window.c: Make sure we add the timeout when we get a
1247         focus-in event.
1248
1249         * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1250         adjustment->value before calculating the zoom factor to average
1251         out all of our rounding errors.  The page no longer 'drifts' when
1252         resizing.
1253
1254 2005-06-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1255
1256         * data/evince-properties.glade:
1257         * shell/ev-properties.c: (ev_properties_format_date),
1258         (set_property):
1259         
1260         Labels don't expand when the dialogue is resized.
1261         strftime result needs to be converted to UTF-8. Thanks
1262         to Christian Persch <chpe@gnome.org>.
1263
1264 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1265
1266         * data/evince-properties.glade:
1267
1268         Hide the fonts tab
1269
1270 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1271
1272         * backend/ev-document-info.h:
1273         * backend/ev-document.c: (ev_document_info_free):
1274         * data/evince-properties.glade:
1275         * pdf/ev-poppler.cc:
1276         * ps/ps-document.c: (ps_document_get_info):
1277         * shell/ev-properties.c: (ev_properties_format_date),
1278         (set_property), (ev_properties_new):
1279         * shell/ev-properties.h:
1280         * shell/ev-window.c: (ev_window_cmd_file_properties):
1281
1282         Rework properties code to take only EvPropertyInfo
1283         in the constructor so that it can be useful for
1284         nautilus plugin too.
1285
1286         Deal with backends that doesnt support some properties.
1287         Make set property code generic.
1288
1289 2005-06-04  Christian Persch <chpe@gnome.org>
1290
1291         * data/evince-properties.glade:
1292
1293         fix spacings, make resizeable, and make data labels
1294         selectable + ellipsised
1295
1296 2005-06-03  Marco Pesenti Gritti <mpg@redhat.com>
1297
1298         * backend/ev-document-info.h:
1299         * data/Makefile.am:
1300         * data/evince-ui.xml:
1301         * pdf/ev-poppler.cc:
1302         * shell/Makefile.am:
1303         * shell/ev-window.c: (update_action_sensitivity),
1304         (ev_window_cmd_file_properties):
1305
1306         Initial go at file properties. Patch by
1307         Emil Soleyman-Zomalan <emil@soleyman.com>.
1308         Needs love see #169583
1309
1310 2005-06-02  Marco Pesenti Gritti <mpg@redhat.com>
1311
1312         * ps/ps-document.c: (output):
1313         * ps/ps.c: (psscan):
1314
1315         Try to render even if psscan fails.
1316
1317 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
1318
1319         * ps/ps.c: (psscan), (pscopydoc):
1320
1321         Port buffered reading code from gv
1322
1323 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
1324
1325         * ps/ps-document.c: (interpreter_message), (output):
1326
1327         Do not fail on interpreter messages
1328
1329 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
1330
1331         * backend/ev-document-misc.c:
1332         (ev_document_misc_get_thumbnail_frame):
1333
1334         Pages can be 0 x 0, dont assert on this case
1335
1336 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1337
1338         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1339         (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1340
1341         Correctly manage our reference on document. Finally the reload
1342         huge leak is gone...
1343
1344 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1345
1346         * ps/ps-document.c: (ps_document_dispose):
1347
1348         Forgot to chain it to the parent. Thanks chpe.
1349
1350 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1351
1352         * ps/ps-document.c: (ps_document_dispose),
1353         (ps_document_class_init), (stop_interpreter), (document_load):
1354
1355         Cleanup dispose a bit. Dont leak the whole pixmap.
1356
1357 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1358
1359         * pdf/ev-poppler.cc:
1360
1361         Release the poppler document on dispose
1362
1363 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1364
1365         * shell/ev-view.c: (ev_view_set_document):
1366
1367         Release ref on the pixbuf cache when changing
1368         document.
1369
1370 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1371
1372         * ps/ps-document.c: (ps_document_get_info):
1373
1374         Fix a double free
1375
1376 2005-05-31  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
1377
1378         * backend/ev-page-cache.c: (ev_page_cache_init),
1379         (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1380         * backend/ev-page-cache.h:
1381         * shell/ev-page-action.c: (page_changed_cb):
1382         
1383         Set page action entry width depending on labels width. Fix
1384         for bug 305202.
1385
1386 2005-05-31  Marco Pesenti Gritti  <mpg@redhat.com>
1387
1388         * backend/ev-link.c: (ev_link_class_init):
1389
1390         Allow -1 as page value (error)
1391
1392 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1393
1394         * shell/ev-sidebar-thumbnails.c:
1395         (ev_sidebar_thumbnails_set_document):
1396         * shell/ev-view.c: (scroll_to_current_page),
1397         (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1398         (page_changed_cb), (on_adjustment_value_changed),
1399         (ev_view_set_document):
1400
1401         Slightly modified patch by Nickolay V. Shmyrev  <nshmyrev@yandex.ru>.
1402         Fix bug 305377
1403
1404 2005-05-29  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1405
1406         * configure.ac:
1407         * djvu/djvu-document.c: (djvu_document_get_page_size):
1408
1409         Require djvulibre CVS. Now djvu loading is much faster. Fix for
1410         bug 301993.
1411
1412 Sat May 28 07:38:03 2005  Jonathan Blandford  <jrb@redhat.com>
1413
1414         * shell/ev-view.c (draw_one_page): modify the expose handling to
1415         get the shadows.
1416
1417         * shell/ev-window.c (update_action_sensitivity): Respect
1418         permissions field.  Kowtow to the man.
1419
1420         * pdf/ev-poppler.cc: Get the permissions field.
1421
1422         * tiff/*c: Make a tiny bit more robust.
1423
1424 2005-05-26  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1425
1426         * djvu/djvu-document.c:
1427         
1428         Pop messages from djvu context message queue.
1429
1430 2005-05-24  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1431
1432         * configure.ac, Makefile.am, shell/Makefile.am:
1433         * tiff/Makefile.am, shell/ev-document-types.c:
1434         
1435         Cleanup tiff configure checks. Fix for bug 305218.
1436
1437 2005-05-24  Maxim V. Dziumanenko <mvd@mylinux.ua>
1438
1439         * configure.ac: Added "uk" to ALL_LINGUAS.
1440
1441 2005-05-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1442
1443         * cut-n-paste/zoom-control/ephy-zoom.c:
1444         (ephy_zoom_get_changed_zoom_level):
1445         * cut-n-paste/zoom-control/ephy-zoom.h:
1446         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1447         (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1448         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1449         (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1450         (zoom_control_changed_cb), (ev_window_init):
1451         
1452         Fix minor points related to moving best fit up. Introduce
1453         "zoom" property and make zoom control change it's value on
1454         notify::zoom signals. Fix for 305080.
1455
1456 2005-05-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1457
1458         * data/evince-ui.xml:
1459         * shell/ev-window.c: (set_view_actions_sensitivity):
1460         
1461         Use + and - as accels for zoom in and zoom out. Fix for 305001.
1462
1463 2005-05-22  Marco Pesenti Gritti  <mpg@redhat.com>
1464
1465         * configure.ac:
1466
1467         Depends on poppler 0.3.2
1468
1469 2005-05-22  Marco Pesenti Gritti  <mpg@redhat.com>
1470
1471         * cut-n-paste/recent-files/egg-recent-item.c:
1472         (egg_recent_item_get_short_name):
1473         * cut-n-paste/toolbar-editor/Makefile.am:
1474         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1475         (new_pixbuf_from_widget):
1476         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1477         * cut-n-paste/toolbar-editor/egg-marshal.c:
1478         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1479         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1480
1481         Sync
1482
1483 Sat May 21 23:18:30 2005  Jonathan Blandford  <jrb@redhat.com>
1484
1485         * tiff/tiff-document.c: Rough TIFF backend.
1486
1487 2005-05-21  Marco Pesenti Gritti  <mpg@redhat.com>
1488
1489         * NEWS:
1490         * configure.ac:
1491         * cut-n-paste/toolbar-editor/Makefile.am:
1492
1493         Release 0.3.1
1494
1495 2005-05-21  Marco Pesenti Gritti  <mpg@redhat.com>
1496
1497         * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1498         (ev_view_find_next), (ev_view_find_previous):
1499
1500         Remove the locks around get_n_results   
1501
1502 2005-05-21  Juerg Billeter  <j@bitron.ch>
1503
1504         * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1505
1506         Pass correct number of pages to poppler.
1507
1508 2005-05-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1509
1510         * configure.ac:
1511         * data/Makefile.am:
1512         * data/evince.desktop.in: 
1513         * data/evince.desktop.in.in:
1514         * po/POTFILES.in:
1515         
1516         Add conditionally dvi and djvu to desktop types. Fix for 304658.
1517
1518 Sat May 21 00:21:30 2005  Jonathan Blandford  <jrb@redhat.com>
1519
1520         * shell/ev-view.c: (view_update_adjustments),
1521         (view_set_adjustment_values): cast adjustmen->value to (int)
1522         before using it.  Otherwise, we get off by a pixel in some
1523         situations.
1524
1525         (draw_one_page): Draw the border on expose.
1526
1527 Fri May 20 22:05:25 2005  Jonathan Blandford  <jrb@redhat.com>
1528
1529         * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1530         adjustment when the mode changes, #304923
1531
1532 Fri May 20 02:00:03 2005  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1533
1534         * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1535         flickering on resize but still use gdk_window_scroll on
1536         scrolling
1537
1538 Fri May 20 01:46:57 2005  Jonathan Blandford  <jrb@redhat.com>
1539
1540         * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1541         option, #170458
1542
1543 Fri May 20 01:27:01 2005  Jonathan Blandford  <jrb@redhat.com>
1544
1545         * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1546         second page on page_changed if possible, #304669
1547
1548 Fri May 20 01:07:15 2005  Jonathan Blandford  <jrb@redhat.com>
1549
1550         * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1551         instead of gtk_widget_queue_draw.  Massive speedups in scrolling.
1552
1553 Fri May 20 01:05:10 2005  Jonathan Blandford  <jrb@redhat.com>
1554
1555         * .cvsignore:
1556         * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1557         (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1558         (ev_view_zoom_for_size_presentation),
1559         (ev_view_zoom_for_size_continuous_and_dual_page),
1560         (ev_view_zoom_for_size_continuous),
1561         (ev_view_zoom_for_size_dual_page),
1562         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1563         * shell/ev-view.h:
1564         * shell/ev-window.c: (update_view_size),
1565         (ev_window_sizing_mode_changed_cb):
1566
1567         Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1568         the scrollbars.  It's not 100% right, but it's much closer.  Kills
1569         an infinite loop, #304769
1570
1571
1572 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
1573
1574         * data/evince-ui.xml:
1575         * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1576         * shell/ev-window.c: (set_view_actions_sensitivity):
1577
1578         Make PgUp/Down behave like Space
1579
1580 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
1581
1582         * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1583         * backend/ev-ps-exporter.h:
1584         * pdf/ev-poppler.cc:
1585         * ps/ps-document.c: (ps_document_ps_export_begin):
1586         * shell/ev-print-job.c: (idle_print_handler):
1587
1588         Adapt to new poppler api
1589
1590 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
1591
1592         * cut-n-paste/zoom-control/ephy-zoom-control.c:
1593         (ephy_zoom_control_init):
1594
1595         Translate zoom levels
1596
1597 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
1598
1599         * cut-n-paste/zoom-control/ephy-zoom.c:
1600         (ephy_zoom_get_zoom_level_index):
1601
1602         Fix current zoom -> zoom control match
1603
1604 2005-05-18  James Bowes  <bowes@cs.dal.ca>
1605
1606         * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1607         rather than the scrolled_window that it's in. Fixes bug #304655.
1608
1609 Tue May 17 22:54:17 2005  Jonathan Blandford  <jrb@redhat.com>
1610
1611         * shell/ev-view.c: (view_update_adjustments),
1612         (view_set_adjustment_values), (view_update_range_and_current_page),
1613         (view_scroll_to_page), (set_scroll_adjustment),
1614         (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1615         (ev_view_scroll), (ev_view_scroll_view),
1616         (ensure_rectangle_is_visible), (find_page_at_location),
1617         (get_link_at_location), (go_to_link), (status_message_from_link),
1618         (ev_view_size_request_continuous_dual_page),
1619         (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1620         (ev_view_unrealize), (ev_view_expose_event),
1621         (ev_view_button_press_event), (ev_view_motion_notify_event),
1622         (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1623         (draw_rubberband), (highlight_find_results), (draw_one_page),
1624         (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1625         (ev_view_init), (find_changed_cb), (page_changed_cb),
1626         (on_adjustment_value_changed), (ev_view_new),
1627         (ev_view_set_document), (ev_view_set_zoom),
1628         (ev_view_set_continuous), (ev_view_set_dual_page),
1629         (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1630         (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1631         (ev_view_zoom_for_size_presentation),
1632         (ev_view_zoom_for_size_continuous_dual_page),
1633         (ev_view_zoom_for_size_continuous),
1634         (ev_view_zoom_for_size_dual_page),
1635         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1636         (ev_view_get_status), (ev_view_set_status),
1637         (update_find_status_message), (ev_view_get_find_status),
1638         (ev_view_set_find_status), (jump_to_find_result),
1639         (jump_to_find_page), (compute_selections), (clear_selection),
1640         (ev_view_select_all), (get_selected_text), (ev_view_copy),
1641         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1642         (ev_view_update_primary_selection),
1643         (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1644         * shell/ev-view.h:
1645         * shell/ev-window.c: (ev_window_open_page_label),
1646         (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1647         (ev_window_init):
1648         * shell/ev-window.h:
1649         * shell/main.c: (load_files):
1650
1651         Massive code clean up from Nickolay Shmyrev.  Keep page offset
1652         when resizing.  Remove the bin_window().  Also, patch from James
1653         Bowes to fix command line page, #300641
1654         
1655 2005-05-17  Marco Pesenti Gritti  <mpg@redhat.com>
1656
1657         * data/evince-ui.xml:
1658         * shell/ev-view.c:
1659         * shell/ev-view.h:
1660         * shell/ev-window.c: (update_action_sensitivity):
1661
1662         Get rid of View->Normal Size, it's just confusing
1663
1664 Tue May 17 00:51:21 2005  Jonathan Blandford  <jrb@redhat.com>
1665
1666         * backend/ev-document-info.h:
1667         * backend/ev-document.c: (ev_document_info_free): Free the
1668         EvDocumentInfo.
1669
1670         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1671         (clear_range), (add_range), (update_visible_range),
1672         (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1673         (ev_sidebar_thumbnails_set_document):
1674         * shell/ev-window.c: (ev_window_setup_document): Only render the
1675         visible thumbnails.  It takes an instant to render, but it uses
1676         much less memory.
1677
1678 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
1679
1680         * shell/ev-sidebar-links.c: (popup_menu_cb):
1681
1682         Select first item
1683
1684 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
1685
1686         * lib/Makefile.am:
1687         * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1688         (button_press_cb), (ev_sidebar_links_construct):
1689
1690         Show the popup menu also on keybindings
1691
1692 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
1693
1694         * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1695         * shell/ev-window.h:
1696
1697         Expose api to print a range (with dialog). Make private _print use
1698         it.
1699
1700         * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1701         (ev_sidebar_links_construct):
1702
1703         Show a print context menu on linkx, it prints the selected
1704         section.
1705
1706 2005-05-15  Carlos Garcia Campos <carlosgc@gnome.org>
1707
1708         * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1709         button.
1710
1711 2005-05-12  Marco Pesenti Gritti  <mpg@redhat.com>
1712
1713         * AUTHORS:
1714
1715         Update
1716
1717         * shell/ev-window.c: (build_comments_string),
1718         (ev_window_cmd_help_about):
1719
1720         Show poppler version/backend and authors
1721
1722 2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>
1723
1724         * cut-n-paste/zoom-control/ephy-zoom.c:
1725         (ephy_zoom_get_zoom_level_index):
1726         * cut-n-paste/zoom-control/ephy-zoom.h:
1727
1728         Move the best fit items at the top of the list
1729
1730 2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>
1731
1732         * shell/ev-marshal.list:
1733         * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1734         (activate_cb), (match_selected_cb), (activate_link_cb),
1735         (connect_proxy), (ev_page_action_class_init):
1736         * shell/ev-page-action.h:
1737
1738         Use signals to notify action activation. Hopefully
1739         I did not break completion since I cant test...
1740
1741         * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1742         (register_custom_actions):
1743
1744         Connect to page selector actions and also grab focus on
1745         the view when activated.
1746
1747 Wed May 11 01:18:29 2005  Jonathan Blandford  <jrb@redhat.com>
1748
1749         * pdf/ev-poppler.cc:
1750         * backend/ev-page-cache.c: make page size calculation consistent
1751         and set it to (int)( width * scale + 0.5).  This makes the weird
1752         line going through the middle of the page go away.
1753
1754         * shell/ev-view.c: move painting the background page after
1755         checking the expose area covers us.
1756
1757 2005-05-11  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1758
1759         * data/evince-password.glade:
1760         
1761         Mark labels as not translatable. Fix for bug 302842.
1762
1763 2005-05-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
1764
1765         * configure.ac: Added "es" to ALL_LINGUAS.
1766
1767 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
1768
1769         * data/evince-toolbar.xml:
1770         * shell/ev-window.c: (update_action_sensitivity),
1771         (ev_window_setup_document), (ev_window_set_page_mode),
1772         (ev_window_init):
1773
1774         Remove some leftover code from jrb first continous
1775         attempt. Use the new actions, we still need good icons
1776         though...
1777
1778 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
1779
1780         * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1781
1782         Update label when connecting proxy. Fix a warning with NULL
1783         page_cache.
1784
1785 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
1786
1787         * data/evince-ui.xml:
1788         * shell/ev-page-action.c: (ev_page_action_grab_focus):
1789         * shell/ev-page-action.h:
1790         * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1791
1792         Add mnemonic for edit toolbar.
1793         ctrl+l focus the page entry.
1794
1795 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
1796
1797         * lib/Makefile.am:
1798         * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1799         (ev_window_init):
1800         * shell/main.c: (main):
1801
1802         Put the toolbar xml in evince own dot dir
1803
1804 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
1805
1806         * shell/ev-window.c: (ev_window_init):
1807
1808         Make the toolbar not removable
1809
1810 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
1811
1812         * data/evince-ui.xml:
1813         * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1814         * shell/ev-sidebar-links.h:
1815         * shell/ev-sidebar-thumbnails.c:
1816         (ev_sidebar_thumbnails_get_treeview):
1817         * shell/ev-sidebar-thumbnails.h:
1818         * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1819         (ev_view_class_init):
1820         * shell/ev-view.h:
1821         * shell/ev-window.c: (update_action_sensitivity),
1822         (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1823         (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1824         (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1825         (ev_window_init):
1826
1827         This is evil... Make space/backspace global accelerators but
1828         enable them only for some widgets (sidebars and view).
1829         I dont like it, but I dont know a better way... :/
1830
1831 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
1832
1833         * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1834         (ev_page_action_widget_finalize),
1835         (ev_page_action_widget_class_init), (update_page_cache):
1836
1837         Keep a weak reference on proxy->page_cache so that we
1838         dont try to disconnect the signal if the object is already
1839         gone. Maybe there is a better way to cleanup reference handling
1840         in page action though...
1841
1842 2005-05-10  Juerg Billeter  <j@bitron.ch>
1843
1844         * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1845         * backend/ev-ps-exporter.h:
1846         * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1847         * ps/ps-document.c: (ps_document_ps_export_begin):
1848         
1849         Change api to pass print range to ps_exporter_begin. The pdf backend
1850         requires this information.
1851         
1852         * shell/ev-print-job.c: (idle_print_handler):
1853         
1854         Adapt to api change
1855
1856 2005-05-10  Juerg Billeter  <j@bitron.ch>
1857
1858         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1859         (idle_print_handler)
1860         * shell/ev-window.c: (ev_window_print):
1861
1862         Support printing page range, based on patch by Amaury Jacquot
1863
1864 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
1865
1866         * data/evince-toolbar.xml:
1867
1868         Add zoom control to available items
1869
1870 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
1871
1872         * shell/ev-window.c: (update_action_sensitivity):
1873
1874         Set slash action insensitive when appropriate
1875
1876 2005-05-10  Christian Persch <chpe@gnome.org>
1877
1878         * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1879
1880         Fix warning on the overflow menu
1881
1882 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
1883
1884         * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1885
1886         Check for uri correctness/existence
1887
1888 2005-05-09  Juerg Billeter  <j@bitron.ch>
1889
1890         * shell/ev-window.c: (using_postscript_printer):
1891
1892         LPD printers use postscript, too
1893
1894 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
1895
1896         * shell/ev-window.c: (register_custom_actions):
1897
1898         The zoom one is actually sort of useful,
1899         put it back
1900
1901 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
1902
1903         * shell/ev-window.c: (register_custom_actions):
1904
1905         Hide page/zoom controls from overflow, they
1906         are useless.
1907
1908 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
1909
1910         * cut-n-paste/update-from-egg.sh:
1911         
1912         Share it between all cut-n-paste subdirs
1913
1914         * cut-n-paste/recent-files/Makefile.am:
1915
1916         Fix to use "global" update-from-egg.sh
1917
1918         * cut-n-paste/recent-files/egg-recent-model.c:
1919         (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1920         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1921         (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1922         (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1923
1924         Update from libegg
1925
1926         * cut-n-paste/toolbar-editor/Makefile.am:
1927
1928         Fix to use "global" update-from-egg.sh
1929
1930         * cut-n-paste/toolbar-editor/eggmarshalers.list:
1931
1932         Update from libegg
1933
1934 2005-05-09  Marco Pesenti Gritti <mpg@redhat.com>
1935
1936         * configure.ac:
1937         * cut-n-paste/Makefile.am:
1938         * cut-n-paste/recent-files/Makefile.am:
1939         * cut-n-paste/toolbar-editor/.cvsignore:
1940         * cut-n-paste/toolbar-editor/Makefile.am:
1941         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1942         (egg_editable_toolbar_get_type), (get_toolbar_position),
1943         (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1944         (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1945         (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1946         (set_item_drag_source), (create_item_from_action), (create_item),
1947         (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1948         (popup_toolbar_context_menu_cb), (free_dragged_item),
1949         (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1950         (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1951         (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1952         (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1953         (item_added_cb), (item_removed_cb),
1954         (egg_editable_toolbar_construct),
1955         (egg_editable_toolbar_disconnect_model),
1956         (egg_editable_toolbar_deconstruct),
1957         (egg_editable_toolbar_set_model),
1958         (egg_editable_toolbar_set_ui_manager),
1959         (egg_editable_toolbar_set_property),
1960         (egg_editable_toolbar_get_property),
1961         (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1962         (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1963         (egg_editable_toolbar_new_with_model),
1964         (egg_editable_toolbar_get_edit_mode),
1965         (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1966         (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1967         (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1968         (new_pixbuf_from_widget), (new_separator_pixbuf),
1969         (update_separator_image), (style_set_cb),
1970         (_egg_editable_toolbar_new_separator_image),
1971         (egg_editable_toolbar_get_model):
1972         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1973         * cut-n-paste/toolbar-editor/egg-marshal.c:
1974         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1975         (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1976         (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1977         (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1978         (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1979         (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1980         (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1981         (editor_drag_data_delete_cb), (drag_data_get_cb),
1982         (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1983         (editor_create_item), (update_editor_sheet), (setup_editor),
1984         (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1985         (parse_item_list), (model_has_action), (update_actions_list),
1986         (egg_toolbar_editor_load_actions):
1987         * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
1988         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1989         (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
1990         (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
1991         (toolbars_item_new), (free_toolbar_node), (free_item_node),
1992         (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
1993         (egg_toolbars_model_add_separator), (impl_add_item),
1994         (parse_item_list), (egg_toolbars_model_add_toolbar),
1995         (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
1996         (impl_get_item_data), (impl_get_item_type),
1997         (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
1998         (egg_toolbars_model_init), (free_toolbar),
1999         (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2000         (egg_toolbars_model_remove_toolbar),
2001         (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2002         (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2003         (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2004         (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2005         (egg_toolbars_model_get_item_data),
2006         (egg_toolbars_model_get_item_type):
2007         * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2008         * cut-n-paste/toolbar-editor/eggmarshalers.list:
2009         * data/Makefile.am:
2010         * data/evince-toolbar.xml:
2011         * data/evince-ui.xml:
2012         * data/hand-open.png:
2013         * po/POTFILES.in:
2014         * shell/Makefile.am:
2015         * shell/ev-window.c: (update_chrome_visibility),
2016         (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2017         (ev_window_dispose), (ev_window_init):
2018
2019         Implement epiphany like toolbar editor. Based on patch by
2020         Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2021
2022 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2023
2024         * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2025
2026         Use set_cursor instead of set_selection, so that
2027         the keyboard focus moves too.
2028
2029 2005-05-09  Aleksey Kliger <akliger@gmail.com>
2030
2031         * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2032
2033         Fix infinite loop when loading Type1 fonts
2034
2035 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2036
2037         * data/evince-ui.xml:
2038         * shell/ev-window.c:
2039
2040         Slash -> Find
2041
2042 2005-05-09  Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2043
2044         * configure.ac:
2045
2046         Make --disable really disable
2047
2048 2005-05-07  Juerg Billeter  <j@bitron.ch>
2049
2050         * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2051
2052         Compare page labels even without has_labels set, fixes setting page
2053         with entry
2054
2055 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2056
2057         * shell/ev-view.c: (ev_view_create_invisible_cursor),
2058         (ev_view_set_cursor), (ev_view_button_press_event),
2059         (ev_view_motion_notify_event), (ev_view_button_release_event),
2060         (ev_view_init):
2061
2062         Implement middle button scrolling. Based on a patch
2063         by Tommi Komulainen <tommi.komulainen@iki.fi>.
2064
2065 2005-05-08  Marco Pesenti Gritti  <mpg@redhat.com>
2066
2067         * shell/ev-document-types.c: (get_slow_mime_type),
2068         (get_document_type_from_mime), (ev_document_type_lookup):
2069         * shell/ev-document-types.h:
2070
2071         Change api to lookup from uri. Do fast lookup first, if the
2072         type is unknown try with data sniffing.
2073
2074         * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2075         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2076
2077         Adapt to api change
2078
2079 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2080
2081         * thumbnailer/Makefile.am:
2082
2083         Fix distcheck
2084
2085 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2086
2087         * NEWS:
2088         * configure.ac:
2089
2090         Release 0.3.0
2091
2092         * data/evince-ui.xml:
2093
2094         Hide presentation mode for now
2095
2096         * shell/ev-view.c: (highlight_find_results):
2097
2098         Show current find selection only on current page
2099
2100 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2101
2102         * shell/ev-view.c: (ev_view_select_all):
2103
2104         Compute size of the actual page, not of
2105         the current one.
2106
2107 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2108
2109         * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2110         (view_rect_to_doc_rect), (compute_selections),
2111         (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2112         (ev_view_copy), (ev_view_primary_get_cb),
2113         (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2114         (ev_view_button_press_event), (ev_view_motion_notify_event),
2115         (ev_view_button_release_event), (page_changed_cb):
2116
2117         Fix text selection
2118
2119 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2120
2121         * shell/ev-view.c: (compute_border), (get_page_extents),
2122         (doc_rect_to_view_rect), (highlight_find_results),
2123         (ev_view_bin_expose), (ev_view_select_all),
2124         (ev_view_motion_notify_event), (update_find_status_message),
2125         (jump_to_find_result), (jump_to_find_page):
2126
2127         First go at fixing search, still buggy
2128
2129 2005-05-04  Kristian Høgsberg  <krh@redhat.com>
2130
2131         * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2132         dropdown box and button at the top of the sidebar.
2133
2134 2005-05-02  James Bowes  <bowes@cs.dal.ca>
2135
2136         * configure.ac: Output zoom-control Makefile.
2137         * cut-n-paste/Makefile.am: build zoom-control subdir.
2138         * cut-n-paste/zoom-control/ephy-zoom-action.c:
2139         * cut-n-paste/zoom-control/ephy-zoom-action.h:
2140         * cut-n-paste/zoom-control/ephy-zoom-control.c:
2141         * cut-n-paste/zoom-control/ephy-zoom-control.h:
2142         * cut-n-paste/zoom-control/ephy-zoom.c:
2143         * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2144         from epiphany, and modified to add a separator into the menu.
2145         * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2146         * data/evince-ui.xml: Replace old zoom toolbar actions with new
2147         zoom-control action.
2148         * shell/Makefile.am: Include zoom-control flags.
2149         * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2150         (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2151         (ev_view_zoom_for_size_presentation),
2152         (ev_view_zoom_for_size_continuous_and_dual_page),
2153         (ev_view_zoom_for_size_continuous),
2154         (ev_view_zoom_for_size_dual_page),
2155         (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal): 
2156         s/ev_view_zoom/ev_view_set_zoom/ and make public, add 
2157         ev_view_get_zoom and ev_view_get_sizing_mode.
2158         * shell/ev-view.h:
2159         * shell/ev-window.c: (update_action_sensitivity),
2160         (update_sizing_buttons), (zoom_control_changed_cb),
2161         (register_custom_actions): Initialize and use the zoom-control 
2162         widget.
2163
2164 Sun May  1 00:46:47 2005  Jonathan Blandford  <jrb@redhat.com>
2165
2166         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2167         preview cache back to 1.  Don't know when it got set to 0.
2168         
2169         * shell/ev-view.c: (compute_border), (ev_view_realize),
2170         (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2171         (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2172         (ev_view_get_fullscreen), (ev_view_set_presentation),
2173         (ev_view_get_presentation), (ev_view_set_sizing_mode),
2174         (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2175         * shell/ev-view.h:
2176         * shell/ev-window.c:
2177         (update_chrome_visibility),
2178         (ev_window_cmd_continuous), (ev_window_cmd_dual),
2179         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2180         (update_document_mode), (ev_window_update_fullscreen_action),
2181         (ev_window_fullscreen), (ev_window_unfullscreen),
2182         (ev_window_cmd_view_fullscreen),
2183         (ev_window_update_presentation_action),
2184         (ev_window_run_presentation), (ev_window_stop_presentation),
2185         (ev_window_cmd_view_presentation), (ev_window_state_event),
2186         (ev_window_focus_in_event), (ev_window_focus_out_event),
2187         (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2188         * data/evince-ui.xml: Initial presentation mode.  We should
2189         probably hide this until it's done, as it's quite rough.  Also,
2190         change full-screen to fullscreen and add two getters to EvView.
2191
2192 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
2193
2194         * shell/ev-page-action.c: (update_page_cache),
2195         (ev_page_action_dispose):
2196         * shell/ev-window.c: (destroy_fullscreen_popup),
2197         (ev_window_create_fullscreen_popup):
2198
2199         Use connect_object rather than explicitly
2200         disconnect on dispose.
2201
2202 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
2203
2204         * shell/ev-page-action.c: (update_page_cache),
2205         (ev_page_action_dispose):
2206
2207 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2208
2209         * backend/ev-page-cache.c: (_ev_page_cache_new),
2210         (ev_page_cache_set_page_label),
2211         (ev_page_cache_has_nonnumeric_page_labels):
2212         * backend/ev-page-cache.h:
2213         * shell/ev-page-action.c: (update_pages_label):
2214         
2215         If all page labels are numeric, fallback to default
2216         way to display number of pages. See bug 173185.
2217
2218 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2219
2220         * shell/ev-page-action.c: (ev_page_action_dispose):
2221         * shell/ev-view.c: (view_update_range_and_current_page):
2222         * shell/ev-window.c: (ev_window_dispose):
2223         
2224         Set page on scroll in continuous mode. Fixes bug 301986.
2225         Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2226
2227 2005-04-26  Marco Pesenti Gritti <mpg@redhat.com>
2228
2229         * configure.ac:
2230
2231         Require poppler 0.3.0
2232
2233 2005-04-26  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2234         
2235         * shell/Makefile.am, configure.ac: Fix build problems
2236         with t1lib. Bug 301996.
2237
2238 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2239
2240         * shell/ev-view.c: (ev_view_scroll_event):
2241         
2242         Scroll up increase zoom
2243
2244 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2245
2246         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2247         (ev_view_set_sizing_mode),
2248         (ev_view_zoom_for_size_continuous_and_dual_page),
2249         (ev_view_zoom_for_size_continuous):
2250         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2251         (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2252         (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2253         (ev_window_init):
2254
2255         Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2256         Fix for 165473 and 165472.
2257
2258 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2259
2260         * po/POTFILES.in:
2261         * thumbnailer/Makefile.am:
2262         * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2263         * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2264         * thumbnailer/evince-thumbnailer.schemas.in:
2265         
2266         Make thumbnailer schemas translatable. Fix for bug 301773
2267         
2268         * thumbnailer/evince-thumbnailer-djvu.schemas:
2269         * thumbnailer/evince-thumbnailer-dvi.schemas:
2270         * thumbnailer/evince-thumbnailer.schemas:
2271
2272         Removed files
2273
2274 Sun Apr 24 01:37:39 2005  Jonathan Blandford  <jrb@redhat.com>
2275
2276         * shell/ev-view.c (ev_view_init): forgot to set this.
2277
2278 Sun Apr 24 01:07:27 2005  Jonathan Blandford  <jrb@redhat.com>
2279
2280         * shell/ev-view.c: (find_page_at_location),
2281         (get_link_at_location),
2282         (ev_view_set_show_border), (ev_view_set_spacing),
2283         (ev_view_zoom_for_size_continuous_and_dual_page),
2284         (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2285         Also, add a quick fix measuring of widths.  Also, removed
2286         ev_view_set_spacing and ev_view_set_show_border.
2287         
2288         * shell/ev-window.c: (ev_window_unfullscreen),
2289         (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2290
2291 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2292
2293         * shell/ev-view.c: (view_update_range_and_current_page),
2294         (page_changed_cb):
2295         
2296         Fix crash on exit and scrolling to page in continuous view.
2297
2298 Sat Apr 23 13:13:04 2005  Jonathan Blandford  <jrb@redhat.com>
2299
2300         * TODO:
2301         * backend/ev-page-cache.c: (_ev_page_cache_new),
2302         (ev_page_cache_get_max_width_size),
2303         (ev_page_cache_get_max_height_size):
2304         * backend/ev-page-cache.h:
2305         * data/evince-ui.xml:
2306         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2307         * shell/ev-view.c: (view_update_adjustments),
2308         (view_update_range_and_current_page), (get_bounding_box_size),
2309         (ev_view_size_request_continuous_and_dual_page),
2310         (ev_view_size_request_continuous),
2311         (ev_view_size_request_dual_page),
2312         (ev_view_size_request_single_page), (ev_view_size_request),
2313         (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2314         (ev_view_bin_expose), (ev_view_expose_event),
2315         (ev_view_set_property), (ev_view_get_property),
2316         (ev_view_class_init), (ev_view_init), (ev_view_new),
2317         (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2318         (ev_view_set_dual_page), (ev_view_set_full_screen),
2319         (ev_view_set_presentation), (ev_view_set_sizing_mode),
2320         (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2321         (ev_view_zoom_out), (zoom_for_size_fit_width),
2322         (zoom_for_size_best_fit),
2323         (ev_view_zoom_for_size_continuous_and_dual_page),
2324         (ev_view_zoom_for_size_continuous),
2325         (ev_view_zoom_for_size_dual_page),
2326         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2327         (ev_view_show_cursor), (ev_sizing_mode_get_type):
2328         * shell/ev-view.h:
2329         * shell/ev-window.c: (update_action_sensitivity),
2330         (ev_window_cmd_continuous), (ev_window_cmd_dual),
2331         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2332         (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2333         (ev_window_cmd_view_zoom_out), (update_view_size),
2334         (ev_window_set_sizing_mode), (ev_window_init):
2335
2336         Add Continuous and Dual page modes.
2337
2338 2005-04-23  James Bowes  <bowes@cs.dal.ca>
2339
2340         * dvi/dvi-document.c: (dvi_document_load),
2341         (dvi_document_thumbnails_get_thumbnail),
2342         (dvi_document_init_params): Fix up some mixups between
2343         width and height to correct thumbnail rendering.
2344
2345 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2346
2347         * dvi/mdvi-lib/private.h:
2348         * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2349         
2350         Suppess output for kpathsea during font generation. Thanks to
2351         James Bowes
2352
2353 Fri Apr 22 19:57:46 2005  Jonathan Blandford  <jrb@redhat.com>
2354
2355         * NEWS:
2356         * configure.ac:
2357
2358         Release 0.2.1
2359
2360         * Makefile.am: fix distcheck.
2361
2362 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2363
2364         * shell/ev-sidebar-links.c: (selection_changed_callback),
2365         (update_page_callback), (row_activated_callback),
2366         (job_finished_callback), (ev_sidebar_links_set_document):
2367         
2368         Fix for bug #169901. Double click on links expands tree.
2369
2370 2005-03-14  Bryan Clark  <clarkbw@cvs.gnome.org>
2371
2372         * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2373         hard-coded style. Fix for bug 170111
2374
2375 2005-04-22  Kristian Høgsberg  <krh@redhat.com>
2376
2377         * shell/ev-view.c (highlight_find_results): Remove unnecessary
2378         locking.
2379
2380 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
2381
2382         * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2383
2384 2005-04-22  Marco Pesenti Gritti  <mpg@redhat.com>
2385
2386         * pdf/ev-poppler.cc:
2387         * shell/ev-view.c: (highlight_find_results):
2388
2389         Fix find on single page documents
2390
2391 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
2392
2393         * data/evince.schemas.in: fix for bug 301390
2394
2395 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
2396
2397         * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2398         (ev_view_zoom_out), (ev_view_zoom_normal):
2399         * shell/ev-view.h:
2400         * shell/ev-window.c: (update_action_sensitivity),
2401         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2402         (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2403         (ev_window_cmd_view_normal_size):
2404
2405         Fix normal size zoom. Make zoom in/zoom out unsensitive when
2406         they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2407         better than oom. 
2408
2409 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
2410
2411         * configure.ac:
2412
2413         Depend on 2.57, 2.59 doesnt seem to be necessary
2414
2415 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
2416
2417         * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2418         (create_tool_item):
2419
2420         Put back total number of pages as (1 of 1234)
2421
2422 Thu Apr 21 23:37:52 2005  Jonathan Blandford  <jrb@redhat.com>
2423
2424         * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2425         remove the job.
2426
2427         * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2428         function.  This helps debugging.
2429
2430 2005-04-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2431
2432         * djvu/djvu-document.c: (djvu_document_class_init),
2433         (djvu_document_get_info), (djvu_document_document_iface_init):
2434         * dvi/dvi-document.c: (dvi_document_class_init),
2435         (dvi_document_get_info), (dvi_document_document_iface_init):
2436
2437        Dummy implementation of get_info method for dvi and djvu. Fix
2438        crashes with those backends
2439
2440 2005-04-20  Marco Pesenti Gritti <mpg@redhat.com>
2441
2442         * data/evince.desktop.in:
2443
2444         Add application/x-gzpostscript
2445
2446 2005-04-20  Bryan Clark  <clarkbw@cvs.gnome.org>
2447
2448         * data/evince.schemas.in: Added real long descriptions, 
2449         closes bug 172496 
2450
2451         * README: Added actual text, closes bug 171869
2452
2453 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
2454
2455         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2456
2457         Thumbnail page 0
2458
2459 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
2460
2461         * backend/ev-document-info.h:
2462
2463         s/GDate */GDate so we can just use g_free
2464
2465 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
2466
2467         * shell/ev-window.c: (update_document_mode),
2468         (ev_window_setup_document):
2469
2470         Show the window in fullscreen when specified by
2471         the document
2472
2473 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
2474
2475         * backend/ev-document.c: (ev_document_class_init),
2476         (ev_document_get_info), (ev_document_render_pixbuf):
2477         * backend/ev-document.h:
2478         * backend/ev-page-cache.c: (_ev_page_cache_new):
2479         * pdf/ev-poppler.cc:
2480         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2481         (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2482         * ps/ps-document.c: (ps_document_class_init), (document_load),
2483         (ps_document_get_info), (ps_document_document_iface_init):
2484
2485         Remove get_title from the interface, we can just use document info
2486
2487 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
2488
2489         * backend/Makefile.am:
2490         * backend/ev-document.c: (ev_document_render_get_info):
2491         * backend/ev-document.h:
2492         * pdf/ev-poppler.cc:
2493
2494         Initial support for document info. Based on jrb patch.
2495
2496 2005-04-19  Paolo Borelli <pborelli@katamail.com>
2497
2498         * shell/ev-window.c: (ev_window_state_event),
2499         (ev_window_class_init), (ev_window_init):
2500         
2501         Doesn't show resize grip when maximized. See bug #301053
2502
2503 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2504
2505         * po/POTFILES.in:
2506         
2507         ev-sidebar-thumbnails now has translatable labels
2508         
2509         * shell/Makefile.am:
2510         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2511         (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2512         (ev_sidebar_links_page_iface_init):
2513         * shell/ev-sidebar-links.h:
2514         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2515         (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2516         (ev_sidebar_page_get_label):
2517         * shell/ev-sidebar-page.h:
2518         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2519         (ev_sidebar_thumbnails_set_document),
2520         (ev_sidebar_thumbnails_support_document),
2521         (ev_sidebar_thumbnails_get_label),
2522         (ev_sidebar_thumbnails_page_iface_init):
2523         * shell/ev-sidebar-thumbnails.h:
2524         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2525         (ev_sidebar_set_document):
2526         * shell/ev-sidebar.h:
2527         * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2528         
2529         Small rework of sidebar code. Now sidebar pages should implement
2530         EvSidebarPage interface. That makes page management in EvSidebar
2531         easier. See bug #164811 for details
2532
2533 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2534
2535         * shell/ev-application.c: (ev_application_open):
2536         * shell/ev-document-types.c:
2537         
2538         Fix build error and small problem with application exit
2539
2540 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2541
2542         * thumbnailer/Makefile.am:
2543         * thumbnailer/evince-thumbnailer-djvu.schemas:
2544         * thumbnailer/evince-thumbnailer-dvi.schemas:
2545         
2546         Conditionally install schemas for djvu/dvi thumbnailer
2547
2548 2005-04-18  David Malcolm  <dmalcolm@redhat.com>
2549
2550         * shell/ev-document-types.h: 
2551         * shell/ev-document-types.c: 
2552         New files, handling the mapping from mimetypes to backends
2553         
2554         * shell/ev-window.c: 
2555         * thumbnailer/evince-thumbnailer.c:     
2556         Use the ev-document-types code
2557         
2558         * shell/Makefile.am: 
2559         Added new convenience library libevbackendfactory_la, containing
2560         the new mimetype->backend logic; moved the backends into it.
2561
2562         * thumbnailer/Makefile.am:
2563         Make the thumbnailer link with the libevbackend.la convenience
2564         library, rather than having a duplicate of the backend logic here.
2565
2566 2005-04-18  Paolo Borelli  <pborelli@katamail.com>
2567
2568         * shell/ev-stock-icons.c: constify some vars.
2569         * shell/ev-window.c: ditto.
2570
2571 2005-04-18  Marco Pesenti Gritti  <mpg@redhat.com>
2572
2573         * ps/ps-document.c (get_page_orientation):
2574
2575         Respect document orientation 
2576
2577 2005-04-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2578
2579         * djvu/Makefile.am:
2580         * dvi/Makefile.am:
2581         * shell/Makefile.am:
2582         
2583         Move library dependencies to components.
2584         
2585         * shell/ev-window.c: (update_window_title),
2586         (start_loading_document):
2587         
2588         Fix display of uris with spaces. Bug 168358.
2589
2590 Sat Apr 16 18:53:47 2005  Jonathan Blandford  <jrb@redhat.com>
2591
2592         * shell/ev-sidebar-links.c: (selection_changed_cb):
2593         * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2594         (ev_view_button_release_event), (ev_view_set_document):
2595         * shell/ev-view.h:
2596         * shell/ev-window.c: (find_bar_search_changed_cb):
2597         * shell/ev-window.h: Minor cleanups removing some dead code.
2598
2599 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2600
2601         * backend/ev-page-cache.c: (_ev_page_cache_new):
2602         
2603         Set current page to 0 if document has pages.
2604
2605 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
2606
2607         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2608
2609         Initialize GError to NULL, fix a crash when loading fails.
2610
2611 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
2612
2613         * shell/ev-window.c: (update_view_size):
2614
2615         Calculate shadow size only when there is actually
2616         a shadow.
2617
2618 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
2619
2620         * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2621         * shell/ev-view.h:
2622
2623         Allow setting view spacing, default to 0
2624
2625         * shell/ev-window.c: (ev_window_unfullscreen),
2626         (ev_window_cmd_view_fullscreen), (ev_window_init):
2627
2628         Remove spacing in fullscreen mode
2629
2630 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
2631
2632         * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2633         (ev_view_size_request), (expose_bin_window),
2634         (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2635         * shell/ev-view.h:
2636         * shell/ev-window.c: (ev_window_unfullscreen),
2637         (ev_window_cmd_view_fullscreen):
2638
2639         Do not draw the border in fulscreen
2640
2641 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
2642
2643         * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2644         (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2645         (find_page_at_location), (page_changed_cb):
2646
2647         Rework border calculation, so that I can more easily disable it.
2648         Code somewhat cleaner too.
2649
2650 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
2651
2652         * backend/ev-page-cache.c: (ev_page_cache_init),
2653         (_ev_page_cache_new):
2654
2655         Remove some assertions, documents can have 0 pages.
2656         Make initial current page -1.
2657
2658         * shell/ev-page-action.c: (page_changed_cb):
2659
2660         Show "" if current page is -1
2661
2662         * shell/ev-window.c: (update_action_sensitivity),
2663         (ev_window_setup_document):
2664
2665         When document has 0 pages do not set the view
2666         and make nearly everything insensitive.
2667
2668 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2669
2670         * shell/ev-page-view.c:
2671         * shell/ev-page-view.h:
2672
2673         Remove unused files.
2674         
2675         * shell/ev-sidebar-thumbnails.c:
2676         (ev_sidebar_thumbnails_set_document):
2677         * shell/ev-sidebar.c: (ev_sidebar_set_document),
2678         (ev_sidebar_supports_document):
2679         * shell/ev-sidebar.h:
2680         * shell/ev-window.c: (ev_window_setup_document):
2681         
2682         Doesn't show thumbnails if document has 1 page. Make
2683         sidebar menu entries sensitive only if if they have 
2684         sense. Fix bug 164811. 
2685
2686 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
2687
2688         * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2689         (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2690         (ev_view_zoom_out), (ev_view_set_size):
2691
2692         Rework sizing to deal with documents with not uniform page
2693         size.
2694
2695 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
2696
2697         * backend/ev-page-cache.c: (_ev_page_cache_new):
2698
2699         Fix several page size caching bugs
2700
2701 2005-04-15  Luca Ferretti <elle.uca@libero.it>
2702
2703         * shell/ev-window.c: (set_action_properties):
2704
2705         Make all toolbar items translatable
2706
2707 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
2708
2709         * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2710         (save_page_list), (ps_document_save),
2711         (ps_document_document_iface_init), (ps_document_ps_export_begin),
2712         (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2713         (ps_document_ps_exporter_iface_init):
2714         * ps/ps-document.h:
2715
2716         Based on a patch by J�rg Billeter <j@bitron.ch>
2717         
2718         Implement print and save a copy for the ps backend.
2719
2720 2005-04-14   Marco Pesenti Gritti <mpg@redhat.com>
2721
2722         * backend/ev-document.h:
2723         * djvu/djvu-document.c: (djvu_document_can_get_text),
2724         (djvu_document_document_iface_init):
2725         * dvi/dvi-document.c: (dvi_document_can_get_text),
2726         (dvi_document_document_iface_init):
2727         * pdf/ev-poppler.cc:
2728         * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2729         (pixbuf_document_document_iface_init):
2730         * ps/ps-document.c: (ps_document_can_get_text),
2731         (ps_document_document_iface_init):
2732         * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2733         * shell/ev-window.c: (update_action_sensitivity):
2734
2735         Fix the crash when trying to copy in backends that doesnt
2736         support it. We can implement a better solution once we
2737         do real text selection.
2738
2739 2005-04-12  Marco Pesenti Gritti <mpg@redhat.com>
2740
2741         * data/evince-ui.xml:
2742         * shell/ev-window.c: (ev_window_cmd_escape):
2743         
2744         Work around the Escape conflict (find bar and unfullscreen)
2745
2746 2005-04-12  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
2747
2748         * backend/ev-page-cache.c: (ev_page_cache_next_page):
2749         
2750         Fix for #300233. Next page correctly handles document end.
2751         
2752         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2753         (ev_sidebar_thumbnails_class_init),
2754         (ev_sidebar_thumbnails_set_document),
2755         (ev_sidebar_thumbnails_clear_job),
2756         (ev_sidebar_thumbnails_clear_model):
2757         
2758         Cleanup thumbnail jobs on document changes.
2759         
2760         * shell/ev-view.c: (add_scroll_binding_keypad),
2761         (add_scroll_binding_shifted), (ev_view_class_init):
2762         
2763         Shift + Space scrolls up. Fix for #173184
2764         
2765         * shell/ev-window.c: (ev_window_open_page),
2766         (ev_window_cmd_view_reload):
2767         
2768         Fix reload (Bug #300094)
2769
2770 2005-04-09  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2771
2772         
2773         * dvi/mdvi-lib/assoc.c:
2774         * dvi/mdvi-lib/assoc.h: Removed garbage files
2775         
2776         * dvi/mdvi-lib/bitmap.c:
2777         * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2778         (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2779         * dvi/mdvi-lib/color.h: Antialias of rules
2780         
2781         * dvi/mdvi-lib/common.h:
2782         * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2783         (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2784         * dvi/mdvi-lib/files.c:
2785         * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2786         * dvi/mdvi-lib/mdvi.h:
2787         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2788         * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2789         * dvi/mdvi-lib/util.c: Fix compile warnings
2790         
2791         * dvi/dvi-document.c:
2792         (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2793         (dvi_document_thumbnails_get_thumbnail),
2794         (dvi_document_document_thumbnails_iface_init):
2795         * dvi/mdvi-lib/Makefile.am:
2796         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2797         (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2798         
2799         Dvi backend now renders thumbnails
2800
2801 2005-04-09  Christian Persch  <chpe@cvs.gnome.org>
2802
2803         * shell/main.c: (main): 
2804         
2805         Save accelerators on exit. Fixes bug #172095.
2806
2807 Sat Apr  9 01:05:09 2005  Jonathan Blandford  <jrb@redhat.com>
2808
2809         * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2810         update priority" comment.
2811
2812         * backend/ev-job-queue.c: Give a way to change priority.
2813
2814 Sat Apr  9 00:05:36 2005  Jonathan Blandford  <jrb@redhat.com>
2815
2816         * shell/ev-page-action.c: Fix logic.
2817
2818 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
2819
2820         * shell/ev-view.c: (ev_view_can_find_next):
2821         * shell/ev-window.c: (ev_window_setup_document):
2822
2823         Check that the document supports find
2824
2825 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
2826
2827         * data/evince-ui.xml:
2828         * shell/ev-view.c: (ev_view_can_find_next):
2829         * shell/ev-view.h:
2830         * shell/ev-window.c: (update_action_sensitivity),
2831         (find_changed_cb), (ev_window_setup_document),
2832         (ev_window_cmd_edit_find_next):
2833
2834         Add Edit->Find Next
2835
2836 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
2837
2838         * pdf/ev-poppler.cc:
2839         * shell/ev-print-job.c: (idle_print_handler):
2840
2841         Make printing work again
2842
2843 Fri Apr  8 01:12:24 2005  Jonathan Blandford  <jrb@redhat.com>
2844
2845         * shell/ev-page-action.h:
2846         * shell/ev-page-action.c: (ev_page_action_widget_init),
2847         (ev_page_action_widget_class_init), (page_changed_cb),
2848         (create_tool_item), (update_page_cache), (build_new_tree_cb),
2849         (get_filter_model_from_model), (match_selected_cb),
2850         (display_completion_text), (match_completion), (update_model),
2851         (connect_proxy), (ev_page_action_set_property),
2852         (ev_page_action_get_property), (ev_page_action_set_document),
2853         (ev_page_action_set_model), (ev_page_action_class_init): Big
2854         reworking to make completions work iff we have >= GTK-2.7.0
2855                 
2856         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2857         (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2858         (job_finished_cb): We now have a 'model' property that is set when
2859         the links are loaded.  This can be caught with "notify::model"
2860
2861         * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2862         listen for the model to be set, and propagate it to the action.
2863
2864 2005-04-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2865
2866         * cut-n-paste/recent-files/egg-recent-item.c:
2867         (egg_recent_item_set_uri), (make_valid_utf8),
2868         (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2869         * cut-n-paste/recent-files/egg-recent-item.h:
2870         
2871         Update egg-recent from libegg. This should fix long
2872         startup problem. For details see
2873         http://bugzilla.gnome.org/show_bug.cgi?id=160531
2874
2875 2005-04-07  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2876
2877         * cut-n-paste/recent-files/Makefile.am:
2878         * data/evince-ui.xml, shell/Makefile.am:
2879         * shell/ev-application.c, shell/ev-application.h:
2880         * shell/ev-window.c: Recent files support.
2881         
2882         * configure.ac: Added "ru" to ALL_LINGUAS.
2883         
2884         * dvju: new backend to support DJVU files.
2885         * dvi: new backend to support DVI.
2886
2887         * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2888         * ev-application.c: Support for new backends.
2889         
2890         * help, ev-window.c, main.c shell/Makefile.am: 
2891         Evince user documentation.
2892
2893 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
2894
2895         * po/POTFILES.in:
2896         * shell/ev-window.c:
2897         * thumbnailer/evince-thumbnailer.c:
2898
2899         s/pdf-document/ev-poppler
2900
2901 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
2902
2903         * NEWS:
2904         * configure.ac:
2905
2906         Release 0.2.0
2907
2908         * ps/ps-document.c: (setup_pixmap):
2909
2910         Remove debug code
2911
2912 2005-04-05  Kristian Høgsberg  <krh@redhat.com>
2913
2914         * backend/ev-page-cache.c (ev_page_cache_next_page): 
2915         * shell/ev-window.c (ev_window_cmd_go_next_page) 
2916         (ev_window_cmd_go_first_page): Fix of by one errors.
2917
2918 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
2919
2920         * ps/ps-document.c: (get_page_box):
2921
2922         Fix page size calculation
2923
2924 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
2925
2926         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2927         (ps_document_cleanup), (setup_pixmap), (get_page_box),
2928         (get_page_orientation), (setup_page), (document_load),
2929         (ps_document_get_page_size), (render_pixbuf_idle):
2930         * ps/ps-document.h:
2931
2932         More refactoring to adapt to EvDocument changes
2933
2934 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
2935
2936         * ps/ps-document.c: (start_interpreter):
2937
2938         Actually add alpha args
2939
2940 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
2941
2942         * pdf/ev-poppler.cc:
2943
2944         Make clipboard work again
2945
2946 2005-04-04  Kristian Høgsberg  <krh@redhat.com>
2947
2948         Make searching work again.
2949         
2950         * backend/ev-document.c:
2951         * backend/ev-document.h:
2952         * backend/ev-document-find.c:
2953         * backend/ev-document-find.h: Change EvDocumentIface so we no
2954         longer store the current page or zoom level in the document.  The
2955         consequence is that all calls that operate on the current page now
2956         instead take the page number as an extra argument, and all
2957         coordinates are now doubles in document coordinate system.
2958
2959         * pdf/ev-poppler.cc:
2960         * pixbuf/pixbuf-document.c:
2961         * ps/ps-document.c: Update backends accordingly.
2962
2963 2005-04-04  Marco Pesenti Gritti <marco@gnome.org>
2964
2965         * autogen.sh:
2966
2967         Add required gettext version
2968
2969 Sat Apr  2 18:57:00 2005  Jonathan Blandford  <jrb@redhat.com>
2970
2971         * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2972         make F1 bring up non-existent help.
2973
2974         * shell/eggfindbar.c: Patch from Christian Persch to sync to
2975         epiphany's find bar, #167477
2976
2977         * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2978         <emil@nishra.com> to add space-bar scrolling, 
2979
2980         * shell/ev-window.c (static GtkActionEntry entries): add default
2981         keybinding for Help (F1)
2982         Fixes #171068
2983
2984         * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2985         changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
2986         170110
2987
2988 2005-04-01  David Malcolm  <dmalcolm@redhat.com>
2989
2990         * Makefile.am: 
2991         * pixbuf/pixbuf-document.c: 
2992
2993         Got pixbuf backend working again
2994
2995 2005-04-01  Steve Murphy  <murf@e-tools.com>
2996
2997         * configure.in: Added "rw" to ALL_LINGUAS.
2998
2999 Fri Apr  1 02:33:41 2005  Jonathan Blandford  <jrb@redhat.com>
3000
3001         * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3002         model types, noticed by Martin Kretzschmar.
3003
3004 2005-04-01  Kristian Høgsberg  <krh@redhat.com>
3005
3006         * pdf/ev-poppler.cc: Implement search based on
3007         poppler_page_find_text().  Currently a bit crude since we remember
3008         all matches from all pages.  Also, we grab the big document lock
3009         when we search since searching changes the underlying stream and
3010         thus conflicts with the rendering thread.
3011         
3012         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3013         (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3014         (ev_view_find_previous): Fix some page indexes to be 0 based,
3015         offset rubber band by view offset,
3016
3017 Fri Apr 01 09:21:12 2005  Pablo Saratxaga  <pablo@mandrakesoft.com>
3018
3019         * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3020
3021 Fri Apr  1 01:59:39 2005  Jonathan Blandford  <jrb@redhat.com>
3022
3023         * shell/ev-page-action.c: Changed to use page labels now.  Rewrote
3024         completely because I didn't understand GtkActions.  I should
3025         read Marco's code more carefully in the future.
3026
3027         * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3028         function
3029
3030 2005-03-31  Kristian Høgsberg  <krh@redhat.com>
3031
3032         * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3033         PopplerRectangle change from poppler CVS.
3034
3035 Thu Mar 31 13:27:50 2005  Jonathan Blandford  <jrb@redhat.com>
3036
3037         * backend/ev-document.c: (ev_document_get_page_label):
3038         * backend/ev-document.h:
3039         * backend/ev-page-cache.c: (_ev_page_cache_new),
3040         (ev_page_cache_get_page_label):
3041         * backend/ev-page-cache.h:
3042         * pdf/ev-poppler.cc:
3043         * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3044         (links_page_num_func):
3045         * shell/ev-sidebar-thumbnails.c:
3046         (ev_sidebar_thumbnails_set_document):
3047         * shell/ev-view.c: (status_message_from_link),
3048         (ev_view_motion_notify_event):
3049         * shell/ev-window.c: (document_supports_sidebar): Add in page
3050         label support.  It's not perfect yet, but it's the first 'feature'
3051         in a while.
3052         Also, fix a bogus comment noticed by crispin. 
3053
3054 Thu Mar 31 01:21:58 2005  Jonathan Blandford  <jrb@redhat.com>
3055
3056         * Makefile.am: Remove pixbuf backend for now
3057
3058         * configure.ac: Require poppler-glib instead of just poppler.
3059
3060         * backend/ev-document-thumbnails.h: Add a comment
3061
3062         * backend/ev-document.h:
3063         * backend/ev-document.c: (ev_document_class_init),
3064         (ev_document_load), (ev_document_get_link),
3065         (ev_document_get_links): Remove 3 methods and add get_links.
3066         Also, made 0 based.
3067
3068         * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3069         * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3070
3071         * backend/ev-link.c: (ev_link_set_title),
3072         (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3073         (ev_link_mapping_find):
3074         * backend/ev-link.h: Allow NULL titles.  Also, introduce a mapping link.
3075         
3076         * backend/ev-page-cache.c: (ev_page_cache_init),
3077         (_ev_page_cache_new), (ev_page_cache_set_current_page),
3078         (ev_page_cache_get_size), (ev_page_cache_next_page),
3079         (ev_page_cache_prev_page): Fix to be 0 based.
3080
3081         * pdf/Makefile.am: 
3082         * pdf/ev-poppler.h:
3083         * pdf/ev-poppler.cc: New backend.
3084         
3085         * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3086         (ps_document_get_page), (ps_document_document_iface_init):
3087
3088         * shell/ev-pixbuf-cache.h:
3089         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3090         (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3091         (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3092         (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3093         (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3094         Fix up code to grab a page cache per each doc.  Also, fix to be 0
3095         based.
3096         
3097         * shell/ev-sidebar-thumbnails.c:
3098         (ev_sidebar_tree_selection_changed), (page_changed_cb),
3099         (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3100
3101         * shell/ev-view.c: (status_message_from_link),
3102         (find_page_at_location), (get_link_at_location),
3103         (ev_view_motion_notify_event), (ev_view_button_release_event),
3104         (ev_view_init): Use the new link code.  Fix to be 0 based.
3105
3106         * shell/ev-window.c: (update_action_sensitivity),
3107         (document_supports_sidebar): 0 based.
3108
3109 Fri Mar 25 16:55:58 2005  Jonathan Blandford  <jrb@redhat.com>
3110
3111         * pdf/pdf-document.cc: Patch from Fernando Herrera
3112         <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3113         *blush*
3114
3115 Wed Mar 23 23:49:41 2005  Jonathan Blandford  <jrb@redhat.com>
3116
3117         * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3118         1 to the page, as this seems to be 1 based.  I thought we has this
3119         fixed.  grump.
3120
3121 2005-03-23  Marco Pesenti Gritti <marco@gnome.org>
3122
3123         * TODO:
3124         * backend/Makefile.am:
3125         * backend/ev-document-links.c:
3126         (ev_document_links_has_document_links),
3127         (ev_document_links_get_links_model):
3128         * backend/ev-document-links.h:
3129         * backend/ev-document.c: (ev_document_get_page_cache),
3130         (ev_document_get_doc_mutex), (ev_document_load),
3131         (ev_document_save), (ev_document_get_title),
3132         (ev_document_get_n_pages), (ev_document_set_page),
3133         (ev_document_get_page), (ev_document_set_target),
3134         (ev_document_set_scale), (ev_document_set_page_offset),
3135         (ev_document_get_page_size), (ev_document_get_text),
3136         (ev_document_get_link), (ev_document_render),
3137         (ev_document_render_pixbuf), (ev_document_scale_changed):
3138         * backend/ev-document.h:
3139         * backend/ev-job-queue.c: (remove_object_from_queue),
3140         (notify_finished), (handle_job), (search_for_jobs_unlocked),
3141         (no_jobs_available_unlocked), (ev_render_thread),
3142         (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3143         (ev_job_queue_remove_job):
3144         * backend/ev-job-queue.h:
3145         * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3146         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3147         (ev_job_links_class_init), (ev_job_render_init),
3148         (ev_job_render_dispose), (ev_job_render_class_init),
3149         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3150         (ev_job_thumbnail_class_init), (ev_job_finished),
3151         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3152         (ev_job_render_run), (ev_job_thumbnail_new),
3153         (ev_job_thumbnail_run):
3154         * backend/ev-jobs.h:
3155         * backend/ev-link.c:
3156         * backend/ev-link.h:
3157         * backend/ev-page-cache.c: (ev_page_cache_init),
3158         (ev_page_cache_class_init), (ev_page_cache_finalize),
3159         (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3160         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3161         (ev_page_cache_set_link), (ev_page_cache_get_title),
3162         (ev_page_cache_get_size), (ev_page_cache_next_page),
3163         (ev_page_cache_prev_page):
3164         * backend/ev-page-cache.h:
3165         * pdf/pdf-document.cc:
3166         * ps/gsdefaults.c:
3167         * ps/gsdefaults.h:
3168         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3169         (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3170         (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3171         (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3172         (is_interpreter_ready), (output), (catchPipe), (input),
3173         (start_interpreter), (check_filecompressed), (compute_dimensions),
3174         (ps_document_enable_interpreter), (document_load),
3175         (ps_document_next_page), (render_page), (ps_document_set_page),
3176         (ps_document_set_scale), (render_pixbuf_idle),
3177         (ps_document_render_pixbuf), (ps_document_document_iface_init):
3178         * ps/ps-document.h:
3179         * shell/Makefile.am:
3180         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3181         (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3182         (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3183         (ev_pixbuf_cache_new), (job_finished_cb),
3184         (check_job_size_and_unref), (move_one_job),
3185         (ev_pixbuf_cache_update_range), (find_job_cache),
3186         (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3187         (ev_pixbuf_cache_add_jobs_if_needed),
3188         (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3189         * shell/ev-pixbuf-cache.h:
3190         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3191         (idle_print_handler):
3192         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3193         (selection_changed_cb), (create_loading_model),
3194         (ev_sidebar_links_construct), (links_page_num_func),
3195         (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3196         (update_page_callback), (job_finished_cb),
3197         (ev_sidebar_links_set_document):
3198         * shell/ev-sidebar-thumbnails.c:
3199         (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3200         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3201         (page_changed_cb), (thumbnail_job_completed_callback),
3202         (ev_sidebar_thumbnails_set_document):
3203         * shell/ev-sidebar-thumbnails.h:
3204         * shell/ev-sidebar.c: (ev_sidebar_set_document):
3205         * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3206         (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3207         (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3208         (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3209         (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3210         (ev_view_button_release_event), (ev_view_scroll_view),
3211         (ev_view_class_init), (ev_view_init), (update_find_status_message),
3212         (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3213         (ev_view_new), (job_finished_cb), (page_changed_cb),
3214         (ev_view_set_document), (go_to_link), (ev_view_zoom),
3215         (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3216         (ev_view_find_previous):
3217         * shell/ev-view.h:
3218         * shell/ev-window.c: (update_action_sensitivity),
3219         (ev_window_open_page), (update_window_title), (update_total_pages),
3220         (page_changed_cb), (ev_window_setup_document),
3221         (password_dialog_response), (ev_window_cmd_save_as),
3222         (ev_window_print), (ev_window_cmd_go_previous_page),
3223         (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3224         (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3225         (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3226         * shell/main.c: (main):
3227
3228         Merge evince-threads branch
3229
3230 2005-03-16  Žygimantas Beručka  <uid0@akl.lt>
3231
3232         * configure.ac: Added "lt" to ALL_LINGUAS.
3233
3234 2005-03-14  Marco Pesenti Gritti  <marco@gnome.org>
3235
3236         * NEWS:
3237         * configure.ac:
3238
3239         Release 0.1.9
3240
3241 2005-03-13  Fernando Herrera  <fherrera@onirica.com>
3242
3243         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3244
3245         Fix here also the thumbnails 1-basedness :)
3246
3247 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
3248
3249         * NEWS:
3250         * configure.ac:
3251
3252         Release 0.1.8
3253
3254 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
3255
3256         * pdf/pdf-document.cc:
3257         * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3258         (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3259
3260         Fix the mess we did with thumbnails and 1-basedness
3261
3262 2005-03-12  Changwoo Ryu  <cwryu@debian.org>
3263
3264         * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3265
3266 2005-03-09  Marco Pesenti Gritti  <marco@gnome.org>
3267
3268         * NEWS:
3269         * configure.ac:
3270
3271         Release 0.1.7
3272
3273 2005-03-08  Marco Pesenti Gritti  <marco@gnome.org>
3274
3275         * ps/Makefile.am:
3276         * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3277         (gtk_gs_defaults_get_alpha_parameters),
3278         (gtk_gs_defaults_get_ungzip_cmd),
3279         (gtk_gs_defaults_get_unbzip2_cmd):
3280         * ps/gsdefaults.h:
3281         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3282         (ps_document_get_orientation), (document_load),
3283         (ps_document_goto_page), (ps_document_set_page_size):
3284         * ps/ps-document.h:
3285
3286         Some more sanitization of the ps backend. Remove a lot
3287         of unused code and do not base our defaults on ggv
3288         preferences (ugh!)
3289
3290 2005-03-08  Fernando Herrera  <fherrera@onirica.com>
3291
3292         * thumbnailer/evince-thumbnailer.schemas:
3293         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3294         (main): add -s option for thumbnail size.
3295
3296 2005-03-07  Christian Persch  <chpe@cvs.gnome.org>
3297
3298         * configure.ac:
3299
3300         AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3301         remove it.
3302
3303 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
3304
3305         * pdf/pdf-document.cc:
3306
3307         Remove 4 pixels of useless border from the
3308         thumbnail.
3309
3310 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
3311
3312         * backend/ev-document-thumbnails.c:
3313         (ev_document_thumbnails_get_thumbnail):
3314         * backend/ev-document-thumbnails.h:
3315
3316         Rework API a bit. Add a border flag and
3317         change sizing logic (now the size we specify
3318         applies to the bigger dimension).
3319
3320         * pdf/pdf-document.cc:
3321         * pixbuf/pixbuf-document.c:
3322         (pixbuf_document_thumbnails_get_thumbnail):
3323         * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3324         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3325
3326         Adapt to the new API and do not draw a border for nautilus
3327         thumbnailer.
3328
3329 2005-03-03  Fernando Herrera  <fherrera@onirica.com>
3330
3331         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3332         take thumbnails from page "0" instead of "1". Added a copyright header.
3333
3334 2005-03-03  Jens Granseuer  <jensgr@gmx.net>
3335
3336         * ps/ps-document.c: (set_up_page), (start_interpreter):
3337
3338         Make it C89 compliant
3339
3340 2005-03-03  Marco Pesenti Gritti  <marco@gnome.org>
3341
3342         * Makefile.am:
3343         * configure.ac:
3344         * pdf/.cvsignore:
3345         * pdf/pdf-document.cc:
3346         * thumbnailer/Makefile.am:
3347         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3348         (main):
3349         * thumbnailer/evince-thumbnailer.schemas:
3350         * thumbnailer/pdf-icon.png:
3351
3352         Add a nautilus thumbnailer.
3353         Based on patch by Fernando Herrera <fherrera@onirica.com>.
3354
3355 2005-03-02  Marco Pesenti Gritti  <marco@gnome.org>
3356
3357         * NEWS:
3358         * configure.ac:
3359         * po/POTFILES.in:
3360
3361         Release 0.1.6
3362
3363 2005-03-01  Kristian Høgsberg  <krh@redhat.com>
3364
3365         Use poppler instead of including xpdf source code.  Poppler is a
3366         fork of xpdf to build it as a shared library. See
3367         http://freedesktop.org/wiki/Software/poppler.
3368
3369         * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3370         xpdf fork.
3371         
3372         * pdf/Makefile.am: Build libpdfdocument.a here.
3373         
3374         * pdf/GDKSplashOutputDev.cc:
3375         * pdf/GDKSplashOutputDev.h:
3376         * pdf/GnomeVFSStream.cc:
3377         * pdf/GnomeVFSStream.h:
3378         * pdf-document.cc:
3379         * pdf-document.h:
3380         * test-gdk-output-dev.cc
3381         * Thumb.cc:
3382         * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3383         against poppler.
3384
3385 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
3386
3387         * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3388
3389         Clear idle stack before unsetting the document
3390
3391 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
3392
3393         * ps/ps-document.c: (ps_document_widget_event),
3394         (ps_document_set_target), (ps_document_finalize),
3395         (ps_document_get_page):
3396
3397         Disconnect the widget event signal on finalize.
3398         Some code cleanups.
3399
3400 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
3401
3402         * ps/ps-document.c: (set_up_page):
3403
3404         If there is no bpixmap create one, even if size
3405         is not changed.
3406
3407 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
3408
3409         * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3410         (set_up_page), (document_load), (ps_document_set_zoom):
3411
3412         Default page is 0. Calculate size even when we have no
3413         target yet.
3414
3415 2005-02-28  Carlos Garcia Campos <carlosgc@gnome.org>
3416
3417         * shell/ev-sidebar.c: expand the selection widget to be always as
3418         wide as the sidebar
3419
3420 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
3421
3422         * shell/ev-sidebar-thumbnails.c:
3423         (ev_sidebar_thumbnails_set_document):
3424
3425         Clear the list store when setting document
3426
3427 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
3428
3429         * shell/ev-page-action.c: (update_entry), (sync_entry),
3430         (activate_cb), (entry_size_request_cb), (create_tool_item),
3431         (connect_proxy):
3432
3433         Use an entry for the page control instead of spinbuttons
3434
3435 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
3436
3437         * data/evince.schemas.in:
3438
3439         Correct confusing string
3440
3441 Sun Feb 27 23:00:31 2005  Jonathan Blandford  <jrb@redhat.com>
3442
3443         * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3444         for real.  Gosh, how long has this been broken.
3445
3446         * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3447         check for a NULL link.  We crash otherwise.
3448
3449 2005-02-27  Marco Pesenti Gritti  <marco@gnome.org>
3450
3451         * NEWS:
3452         * configure.ac:
3453
3454         Release 0.1.5
3455
3456 2005-02-25  Sebastien Bacher  <seb128@debian.org>
3457
3458         * configure.ac: add the french translation.
3459
3460 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
3461
3462         * shell/ev-window.c:
3463
3464         Remove unused header -> fix distcheck
3465
3466 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
3467
3468         * shell/ev-window.c: (update_window_title),
3469         (ev_window_popup_password_dialog):
3470
3471         Unescape filename for display
3472
3473 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
3474
3475         * pdf/xpdf/pdf-document.cc:
3476
3477         In get_page_size deal with rotation. Also
3478         cleanup the function a bit.
3479
3480 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
3481
3482         * pdf/xpdf/pdf-document.cc:
3483
3484         Fix crash when opening in new window
3485
3486 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
3487
3488         * configure.ac:
3489
3490         Check ghostscript >= 7
3491
3492 2005-02-25  Pedro Villavicencio <pvillavi@gnome.cl>
3493
3494         * shell/ev-window.c:
3495
3496         Make page width the default sizing mode
3497
3498 2005-02-25  Carlos Garcia Campos <carlosgc@gnome.org>
3499             Marco Pesenti Gritti <marco@gnome.org>
3500
3501         * shell/ev-window.c: Remember the sidebar size
3502
3503         * data/evince.schemas.in: Add a new gconf key to store the size of
3504         the sidebar
3505
3506 2005-02-24  Kai Willadsen  <kaiw@itee.uq.edu.au>
3507
3508         * data/evince-ui.xml:
3509         * shell/ev-window.c: (update_action_sensitivity),
3510         (ev_window_cmd_view_reload):
3511         
3512         Add a "Reload" action and menu entry
3513
3514 Thu Feb 24 23:07:33 2005  Jonathan Blandford  <jrb@redhat.com>
3515
3516         * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3517         iff the type doesn't support thumbnailing and indexing.
3518
3519 2005-02-24  Martin Kretzschmar  <martink@gnome.org>
3520
3521         * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3522
3523 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
3524
3525         * pdf/splash/Splash.cc:
3526
3527         Port fix for a crasher from kde bug
3528         http://bugs.kde.org/show_bug.cgi?id=97131
3529
3530 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
3531
3532         * pdf/xpdf/pdf-document.cc:
3533
3534         Return a link even if it's of an unrecognized
3535         type. Otherwise we go in an infinte cycle.
3536
3537 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
3538
3539         * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3540         (size_allocate_cb), (ev_window_set_sizing_mode):
3541
3542         Update size when switching mode
3543
3544 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
3545
3546         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3547         (ev_window_cmd_view_page_width), (update_sizing_buttons),
3548         (ev_window_cmd_view_normal_size):
3549
3550         Fix size toggle buttons behavior
3551
3552 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
3553
3554         * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3555         (doc_rect_to_view_rect), (ev_view_size_allocate),
3556         (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3557         (scale_changed_callback):
3558
3559         Do not cache offsets in size_allocate.
3560
3561 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
3562
3563         * shell/ev-view.c: (ev_view_size_allocate):
3564
3565         Calculate offsets before calling the parent
3566         class (which does a redraw)
3567
3568 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
3569
3570         * pdf/xpdf/pdf-document.cc:
3571
3572         Fix a crasher on exit. Unused code, put a TODO
3573
3574 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
3575
3576         * backend/ev-document.c: (ev_document_class_init),
3577         (ev_document_page_changed), (ev_document_scale_changed):
3578         * backend/ev-document.h:
3579
3580         Separate page/scale notifications
3581
3582         * pdf/xpdf/pdf-document.cc:
3583
3584         Emit the new signals.
3585         Do not display the pdf page in _render, do it
3586         when scale/page are requested.
3587
3588         * ps/ps-document.c: (ps_document_set_zoom),
3589         (ps_document_widget_event):
3590         * ps/ps-document.h:
3591
3592         Emit the new signals.
3593
3594         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3595         (ev_view_init), (page_changed_callback), (scale_changed_callback),
3596         (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3597         (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3598         * shell/ev-view.h:
3599         * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3600         (ev_window_cmd_view_page_width), (size_allocate_cb),
3601         (ev_window_set_sizing_mode):
3602
3603         Rework sizing to be pixel based.
3604         There are bugs but should be already way better.
3605
3606 2005-02-23  Marco Pesenti Gritti  <marco@gnome.org>
3607
3608         * shell/ev-window.c: (ev_window_init):
3609
3610         Do not allow to shrink sidebar smaller then
3611         child requisition
3612
3613 2005-02-23  Carlos Garcia Campos <carlosgc@gnome.org> 
3614
3615         * shell/ev-sidebar.[ch]
3616         * shell/ev-window.c:
3617
3618         Improved sidebar widget. Fixes #166683
3619
3620 2005-02-23  Tommi Vainikainen  <thv@iki.fi>
3621
3622         * shell/ev-view.c (update_find_status_message): Give translators
3623         more flexibility with ngettext plural handling.
3624
3625 Mon Feb 21 17:52:08 2005  Jonathan Blandford  <jrb@redhat.com>
3626
3627         * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3628         from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3629         page when we get the page size.
3630
3631 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
3632
3633         * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3634
3635         ps pages are 0 based, convert 
3636
3637 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
3638
3639         * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3640
3641         Initialize correct parent class. Set GError on document load
3642
3643 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
3644
3645         * pdf/xpdf/pdf-document.cc:
3646
3647         Fixup selection offset calculation
3648
3649         * shell/ev-view.c: (view_rect_to_doc_rect),
3650         (doc_rect_to_view_rect), (ev_view_size_allocate),
3651         (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3652         (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3653
3654         Store selection as document relative, so that zooming
3655         and offset changing doesnt break it.
3656
3657 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
3658
3659         * shell/ev-view.c: (ev_view_best_fit):
3660
3661         Do not try to best fit if the view is not realized
3662
3663 2005-02-20  Kostas Papadimas <pkst@gnome.org>
3664           
3665         * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3666
3667 Fri Feb 18 16:06:39 2005  Jonathan Blandford  <jrb@redhat.com>
3668
3669         * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3670
3671 Fri Feb 18 15:32:57 2005  Jonathan Blandford  <jrb@redhat.com>
3672
3673         * shell/ev-window.c: Change the fullscreen toolbar to always be in
3674         the popup window.  That prevents it resizing when in full screen
3675         mode.
3676
3677         * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3678         multiple rerenders.  This pretty much sucks.
3679
3680         * data/evince-ui.xml: Change the fullscreen toolbar to include the
3681         rest of the toolbar.
3682
3683 2005-02-18  Tommi Vainikainen  <thv@iki.fi>
3684
3685         * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3686
3687 2005-02-17  Alexander Shopov  <ash@contact.bg>
3688
3689         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3690
3691 2005-02-16  Bryan Clark  <clarkbw@cvs.gnome.org>
3692
3693         * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3694
3695 2005-02-16  Marco Pesenti Gritti  <marco@gnome.org>
3696
3697         * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3698         (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3699         (set_document_page), (document_changed_callback),
3700         (ev_view_set_document), (ev_view_find_previous),
3701         (ev_view_hide_cursor), (ev_view_show_cursor):
3702         * shell/ev-view.h:
3703         * shell/ev-window.c: (update_chrome_visibility),
3704         (fullscreen_timeout_cb), (fullscreen_set_timeout),
3705         (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3706         (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3707         (ev_window_unfullscreen):
3708         * shell/main.c: (main):
3709
3710         Automatically hide the fullscreen button.
3711         Patch by Kristian Høgsberg <krh@redhat.com>
3712
3713 2005-02-16  Vincent Noel  <vnoel@cox.net>
3714
3715         * shell/main.c (main): Specify an icon for the window. Patch by
3716         Jaap A. Haitsma. Fixes #166177.
3717
3718 Wed Feb 16 06:30:13 2005  Jonathan Blandford  <jrb@redhat.com>
3719
3720         * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3721
3722 Tue Feb 15 22:27:13 2005  Jonathan Blandford  <jrb@redhat.com>
3723
3724         * backend/ev-document-misc.h:
3725         * backend/ev-document-misc.c:
3726         (ev_document_misc_get_page_border_size),
3727         (ev_document_misc_paint_one_page): New function to canonicalize
3728         sizing/painting a border.
3729
3730         * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3731         used.
3732
3733         * pdf/xpdf/pdf-document.cc: use new function
3734
3735         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3736         (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3737         (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3738         shell/ev-window.c: (update_sizing_buttons),
3739         (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3740         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3741         (ev_window_cmd_view_page_width), (size_allocate_cb),
3742         (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3743         and "fit width" values act as toggle buttons so they stay
3744         toggled.  It's not 100% perfect, and it's a little slow, but it's
3745         good enough to commit I think.
3746
3747 2005-02-15  David Lodge  <dave@cirt.net>
3748
3749         * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3750
3751 2005-02-15  Martin Kretzschmar  <martink@gnome.org>
3752
3753         * shell/ev-window.c (update_window_title): replace newlines in
3754         the title by spaces. Bug #166107.
3755
3756 2005-02-14  Martin Kretzschmar  <martink@gnome.org>
3757
3758         * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3759         parameters providing allocation width and height without
3760         scrollbars and width of a possible vertical scrollbar. With this
3761         additional information the functions can work as
3762         intended. Unfortunately they're not idempotent. We should
3763         transform these commands to toggles. Fixes Bug #164976
3764         Initial patch by Stephane Loeuillet, then heavily modified.
3765
3766         * shell/ev-view.h: update prototypes.
3767
3768         * shell/ev-window.c (ev_window_cmd_view_best_fit)
3769         (ev_window_cmd_view_page_width): provide EvView fit functions with
3770         all the information they need. Formulas to calculate this
3771         information taken from GtkScrolledWindow.
3772
3773 2005-02-14  Crispin Flowerday  <gnome@flowerday.cx>
3774
3775         * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3776         created a thumbnail, the list store is updated to know
3777         that the thumbnail is set. Fixes bug #166792
3778
3779 2005-02-11  Bryan Clark  <clarkbw@cvs.gnome.org>
3780
3781         * shell/ev-window.c: fixed typo, closes bug 166897
3782
3783         * TODO: updated TODO with bug numbers that are relevant
3784
3785 2005-02-09  Carlos Garcia Campos <carlosgc@gnome.org>
3786
3787         * shell/ev-window.c: Support for DnD of files. Fixes #164813
3788
3789 2005-02-09  Vincent Noel  <vnoel@cox.net>
3790
3791         * shell/ev-window.c: (set_action_properties): Set the "Previous"
3792         and "Next" toolbar buttons as important to make them stand out.
3793
3794 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
3795
3796         * lib/ev-debug.c:
3797         * lib/ev-debug.h:
3798         * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3799         (start_interpreter), (stop_interpreter), (document_load),
3800         (ps_document_next_page), (ps_document_goto_page),
3801         (ps_document_set_page_size), (ps_document_widget_event),
3802         (ps_document_render):
3803         * shell/ev-page-view.c: (ev_page_view_dispose):
3804         * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3805
3806         Fix compilation on non-gcc platforms
3807
3808 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
3809
3810         * NEWS:
3811         * configure.ac:
3812
3813         Release 0.1.4
3814
3815         * pdf/xpdf/Catalog.cc:
3816         * pdf/xpdf/XRef.cc:
3817
3818         Fix the fix for CAN-2004-0888
3819
3820 2005-02-09  Luca Ferretti <elle.uca@libero.it>
3821
3822         * data/Makefile.am:
3823         * data/evince-ui.xml:
3824         * shell/ev-stock-icons.c: (ev_stock_icons_init):
3825         * shell/ev-stock-icons.h:
3826         * shell/ev-window.c: (update_action_sensitivity),
3827         (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3828         (set_action_properties):
3829
3830         Improve toolbar layout/icons
3831
3832 2005-02-08  Marco Pesenti Gritti  <marco@gnome.org>
3833
3834         * pdf/xpdf/pdf-document.cc:
3835
3836         Add warnings about unimplemented/unknown link
3837         types.
3838
3839 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
3840
3841         * ps/ps-document.c: (set_up_page):
3842
3843         Log gs property
3844
3845 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
3846
3847         * ps/ps-document.c: (start_interpreter):
3848
3849         Log gs env var
3850
3851 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
3852
3853         * shell/ev-page-view.c: (ev_page_view_dispose):
3854         * shell/ev-view.c: (ev_view_finalize):
3855         * shell/ev-window.c: (ev_window_setup_document),
3856         (ev_window_dispose), (ev_window_init):
3857
3858         Solve more refs issues.
3859
3860         I commented out the page_view initialization for now:
3861         it was never destroyed (because it's never added
3862         to a container). Because of that we was leaking
3863         gs processes. Couldnt think to a clean fix.
3864         We need to figure this out, password view has the
3865         same issue probably.
3866
3867 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
3868
3869         * ps/ps-document.c: (ps_document_finalize),
3870         (ps_document_get_n_pages), (ps_document_get_page):
3871
3872         Some cleanups, stop the interpreter on finalize
3873
3874         * shell/ev-page-view.c: (ev_page_view_dispose),
3875         (ev_page_view_class_init):
3876
3877         Release our reference on the document
3878
3879 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
3880
3881         * Makefile.am:
3882         * configure.ac:
3883         * doc/debugging.txt:
3884         * lib/.cvsignore:
3885         * lib/Makefile.am:
3886         * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3887         (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3888         (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3889         * lib/ev-debug.h:
3890
3891         Add debugging helpers
3892
3893         * ps/Makefile.am:
3894         * ps/ps-document.c: (set_up_page), (start_interpreter),
3895         (stop_interpreter), (document_load), (ps_document_next_page),
3896         (ps_document_goto_page), (ps_document_set_page_size),
3897         (ps_document_widget_event), (ps_document_render):
3898         * shell/Makefile.am:
3899         * shell/ev-view.c: (expose_bin_window):
3900         * shell/main.c: (main):
3901
3902         Add some logs
3903         
3904 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
3905
3906         * ps/ps-document.c: (ps_document_widget_event):
3907
3908         Initialize message_window, this should make ps
3909         rendering really work! (Never noticed because I was
3910         testing with a ps that is causing gs to exit every time!)
3911
3912 2005-02-07  Bryan Clark  <clarkbw@cvs.gnome.org>
3913
3914         * data/evince.schemas.in: updated simple error in applyto closing tag
3915
3916 2005-02-07  Christian Persch  <chpe@cvs.gnome.org>
3917
3918         * Makefile.am:
3919         * configure.ac:
3920         * data/.cvsignore:
3921         * data/Makefile.am:
3922         * data/evince-ui.xml:
3923         A data/evince.schemas.in:
3924         * po/POTFILES.in:
3925         * shell/ev-stock-icons.c: (ev_stock_icons_init):
3926         * shell/ev-stock-icons.h:
3927         * shell/ev-window.c: (update_chrome_visibility),
3928         (update_chrome_flag), (ev_window_cmd_edit_find),
3929         (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3930         (ev_window_unfullscreen), (ev_window_focus_in_event),
3931         (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3932         (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3933         (ev_window_view_sidebar_cb), (find_bar_close_cb),
3934         (ev_window_dispose), (ev_window_class_init),
3935         (set_action_properties), (set_chrome_actions), (load_chrome),
3936         (ev_window_init):
3937
3938         Implement fullscreen mode changes from bug #164776.
3939         Also implement persistent chrome toggles.
3940
3941 2005-02-07  Jordi Mallach  <jordi@sindominio.net>
3942
3943         * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3944
3945 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
3946
3947         * NEWS:
3948         * configure.ac:
3949         * shell/ev-view.c:
3950
3951         Add another check for find interface
3952
3953         Release 0.1.3
3954
3955 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
3956
3957         * shell/ev-application.c: (ev_application_open):
3958         * shell/ev-window.c: (ev_window_open):
3959
3960         Open gzipped ps documents
3961
3962 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
3963
3964         * TODO:
3965         * shell/ev-view.c: (set_document_page):
3966
3967         Clamp page number, dont try to move to
3968         not existant pages.
3969
3970 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
3971
3972         * backend/ev-document-find.c: (ev_document_find_changed):
3973         * backend/ev-document-find.h:
3974         * pdf/xpdf/pdf-document.cc:
3975         * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3976         * shell/ev-window.c: (find_bar_search_changed_cb):
3977
3978         Fix several bugs with find
3979
3980 2005-02-04  Martin Kretzschmar  <martink@gnome.org>
3981
3982         * shell/ev-sidebar-thumbnails.c
3983         (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3984         document. Prevents warning from scroll_to_cell.
3985
3986 2005-02-02  Kjartan Maraas  <kmaraas@gnome.org>
3987
3988         * configure.ac: Add «nb» to ALL_LINGUAS too.
3989
3990 Wed Feb  2 21:13:11 2005  Jonathan Blandford  <jrb@redhat.com>
3991
3992         * NOTES: New file with some random thoughts.
3993
3994         * TODO: Update.
3995
3996         * backend/ev-document-misc.c:
3997         (ev_document_misc_get_page_border_size): New function to
3998         canonicalize shadow drawing sizes.  Possibly goofy.
3999
4000         * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4001         (ev_view_best_fit), (ev_view_fit_width):
4002         * pdf/xpdf/pdf-document.cc:
4003         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4004         * ps/ps-document.c: (ps_document_get_page_size):
4005         * backend/ev-document-misc.h:
4006         * backend/ev-document.c: (ev_document_get_page_size):
4007         * backend/ev-document.h: get_page_size now takes a page number
4008         parameter.  Made all the backends/frontends honor it.
4009
4010         * data/evince-ui.xml: Added a multiple-page mode.  Uncomment to
4011         see.  Doesn't work yet.
4012
4013         * shell/Makefile.am:
4014         * shell/ev-page-view.[ch]: New multi-page view.  Really rough.
4015         Doesn't do anything yet.
4016
4017         * shell/ev-sidebar-thumbnails.c:
4018         (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4019         [0..n_pages-1]
4020
4021         * shell/ev-window.c: (update_action_sensitivity),
4022         (ev_window_setup_document), (ev_window_set_page_mode),
4023         (ev_window_page_mode_cb), (ev_window_init): Clean up the
4024         view-swapping code a bit so we can have multiple views on a
4025         document.  Add the multi-page view, though it can't be turned on
4026         yet.
4027
4028 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
4029
4030         * shell/ev-application.c: (ev_application_open):
4031         * shell/ev-view.c: (expose_bin_window):
4032         * shell/ev-window.c: (ev_window_open):
4033
4034         Support eps and check document supports find
4035         before drawing highlightings in expose.
4036
4037 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
4038
4039         * pixbuf/pixbuf-document.c:
4040         (pixbuf_document_thumbnails_get_dimensions),
4041         (pixbuf_document_document_thumbnails_iface_init):
4042
4043         implement get_dimensions
4044
4045 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
4046
4047         * NEWS:
4048         * configure.ac:
4049
4050         Release 0.1.2
4051
4052 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4053
4054         * shell/ev-view.c: (set_document_page):
4055
4056         Scroll at the top of the page when changing page
4057
4058 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4059
4060         * shell/ev-view.c: (ev_view_motion_notify_event):
4061
4062         Do not redraw unnecessarily
4063
4064 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4065
4066         * pdf/xpdf/pdf-document.cc:
4067         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4068         (expose_bin_window), (find_changed_cb):
4069
4070         Yay! find works now... Now to find bugs...
4071
4072 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4073
4074         * backend/ev-document-find.c: (ev_document_find_base_init),
4075         (ev_document_find_changed):
4076         * backend/ev-document-find.h:
4077         * pdf/xpdf/pdf-document.cc:
4078         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4079         (expose_bin_window), (ev_view_init), (set_document_page),
4080         (ensure_rectangle_is_visible), (jump_to_find_result),
4081         (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4082         (ev_view_find_next), (ev_view_find_previous):
4083         * shell/ev-view.h:
4084         * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4085
4086         More work on find implementation, mostly there now
4087
4088 2005-01-29  Marco Pesenti Gritti  <marco@gnome.org>
4089
4090         * backend/ev-backend-marshalers.list:
4091         * backend/ev-document-find.c: (ev_document_find_base_init),
4092         (ev_document_find_cancel), (ev_document_find_page_has_results),
4093         (ev_document_find_get_n_results), (ev_document_find_get_result),
4094         (ev_document_find_get_progress), (ev_document_find_changed):
4095         * backend/ev-document-find.h:
4096
4097         Enanche the find interface to be really able to do
4098         multi page find.
4099
4100         * pdf/xpdf/pdf-document.cc:
4101
4102         Implement
4103
4104         * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4105         (expose_bin_window), (ev_view_init),
4106         (ev_view_get_find_status_message), (find_changed_cb),
4107         (ev_view_set_document), (set_document_page):
4108
4109         Adapt to the new interface. A few things are regressed sorry,
4110         I will finish it soon.
4111
4112 2005-01-28  Martin Kretzschmar  <martink@gnome.org>
4113
4114         * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4115         (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4116         ev_sidebar_thumbnails_parent_class variable, don't define another
4117         parent_class variable.
4118
4119         * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4120         (ev_page_action_class_init): ditto.
4121
4122         * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4123         (pixbuf_document_class_init): ditto.
4124
4125         * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4126         ditto.
4127
4128         * .cvsignore: ignore various valgrind output files.
4129
4130 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
4131
4132         * data/evince-ui.xml:
4133         * shell/Makefile.am:
4134         * shell/ev-history.c:
4135         * shell/ev-history.h:
4136         * shell/ev-navigation-action.c:
4137         * shell/ev-navigation-action.h:
4138         * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4139         (ev_view_set_page), (ev_view_fit_width):
4140         * shell/ev-view.h:
4141         * shell/ev-window.c: (update_action_sensitivity),
4142         (ev_window_setup_document), (register_custom_actions):
4143
4144         Kill session history
4145
4146 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
4147
4148         * shell/ev-window.c: (update_action_sensitivity):
4149
4150         Fix inverted up/down buttons
4151
4152 2005-01-27  Martin Kretzschmar  <martink@gnome.org>
4153
4154         * shell/ev-sidebar-thumbnails.c
4155         (ev_sidebar_thumbnails_select_page): make sure the selected
4156         thumbnail stays visible.
4157
4158 2005-01-26  Martin Kretzschmar  <martink@gnome.org>
4159
4160         * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4161         scrolled window for Federico.
4162
4163 2005-01-26  Ole Laursen  <olau@hardworking.dk>
4164
4165         * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4166
4167 2005-01-26  Marco Pesenti Gritti  <marco@gnome.org>
4168
4169         * configure.ac:
4170         * pdf/splash/SplashFTFontEngine.cc:
4171
4172         Fix CID fonts with freetype 2.1.9
4173
4174 2005-01-26  Bryan Clark  <clarkbw@cvs.gnome.org>
4175
4176         * TODO: added item for desktop icon thumbnailer
4177
4178 Tue Jan 25 00:59:34 2005  Jonathan Blandford  <jrb@redhat.com>
4179
4180         * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4181         unloaded docs when the title is accessed.
4182
4183         * shell/ev-password-view.[hc]: New widget for displaying password
4184         state.
4185
4186         * shell/ev-window.[ch]: Refactor password handling code to handle
4187         the new view.
4188
4189 2005-01-24  Marco Pesenti Gritti  <marco@gnome.org>
4190
4191         * NEWS:
4192         * configure.ac:
4193         * data/Makefile.am:
4194
4195         Release 0.1.1
4196
4197 2005-01-23  Stephane LOEUILLET  <stephane.loeuillet@tiscali.fr>
4198
4199         * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4200         ignore page offset here, to make search results independent of it,
4201
4202         * shell/ev-view.c (expose_bin_window): but take offsets into
4203         account here. Bug #164932
4204
4205         * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4206         scale at the right time. Bug #164996
4207
4208 2005-01-22  Martin Kretzschmar  <martink@gnome.org>
4209
4210         * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4211         fix the problem. Now I just removed the Adobe font names and hope
4212         that the URW fonts are always in outline format. Bug #164934
4213
4214         * shell/ev-window.c (update_window_title): empty titles are
4215         useless, use filename in that case too.
4216
4217         * NEWS: Add some content.
4218
4219 2005-01-21  Bryan Clark  <clarkbw@cvs.gnome.org>
4220
4221         * TODO: added one more TODO item and a TODONE section :)
4222
4223 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
4224
4225         * ps/ps-document.h: add page_[xy]_offset fields.
4226
4227         * ps/ps-document.c (ps_document_set_page_offset)
4228         (ps_document_render): Keep offset in consideration in a few
4229         places. Bug #164752 "postscript documents are not centered in
4230         window"
4231
4232         * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4233         s/gpdf/evince/. Spotted by Stephane Loeuillet.
4234
4235         * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4236         (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4237         stub out missing methods for complete EvDocument implementation.
4238         Fixes segfaults with Save A Copy and Copy actions.
4239
4240         * ps/ps-document.c (ps_document_save, ps_document_get_text) 
4241         (ps_document_document_iface_init): ditto.
4242         
4243 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4244
4245         * data/.cvsignore:
4246         * data/Makefile.am:
4247         * data/evince.desktop.in:
4248
4249         Add desktop file
4250
4251 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4252
4253         * shell/ev-view.c: (ev_view_button_press_event),
4254         (ev_view_motion_notify_event):
4255
4256         Make selection work in any direction
4257
4258 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4259
4260         * TODO:
4261         * shell/ev-window.c: (set_short_labels), (ev_window_init):
4262
4263         Use shorter labels for some of the toolbars items
4264
4265 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4266
4267         * pdf/xpdf/pdf-document.cc:
4268
4269         Check the links info is initialized before
4270         using it. Should fix a crash on startup.
4271
4272 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
4273
4274         * pixbuf/pixbuf-document.c
4275         (pixbuf_document_thumbnails_get_dimensions): force floating point
4276         division to calculate page_ratio. Fixes crash with landscape
4277         format pixbufs.
4278
4279 Thu Jan 20 18:56:35 2005  Jonathan Blandford  <jrb@redhat.com>
4280
4281         * shell/ev-view.c (ev_view_realize): make the bg color darker.
4282
4283 2005-01-20  Martin Kretzschmar  <martink@gnome.org>
4284
4285         * shell/ev-view.c (set_document_page): unset has_selection when
4286         the page changes.
4287         (set_document_page): handle paper size changes when the page
4288         changes (test with Free Culture, page 2).
4289
4290 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
4291
4292         * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4293         (expose_bin_window), (ev_view_class_init), (ev_view_init):
4294
4295         Use normal style color for the widget background and
4296         draw a black box around the page.
4297
4298 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
4299
4300         * pdf/xpdf/pdf-document.cc:
4301
4302         Keep offset in consideration in a few places
4303
4304         * shell/ev-view.c: (expose_bin_window):
4305
4306         Set the offsets so that the document is ever centered
4307
4308 2005-01-20  Bryan Clark  <clarkbw@cvs.gnome.org>
4309
4310         * TODO: Added TODO items and finished off the first todo item
4311
4312         * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4313         reflect current authors
4314
4315 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
4316
4317         * pdf/xpdf/pdf-document.cc:
4318         * shell/ev-view.c: (ev_view_set_cursor),
4319         (ev_view_motion_notify_event), (document_changed_callback),
4320         (set_document_page):
4321
4322         Show a wait cursor while the page is rendering
4323
4324 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
4325
4326         * shell/ev-sidebar-thumbnails.c:
4327         (ev_sidebar_tree_selection_changed),
4328         (ev_sidebar_thumbnails_select_page):
4329         * shell/ev-sidebar-thumbnails.h:
4330         * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4331         (ev_view_can_go_forward):
4332         * shell/ev-window.c: (ev_window_open_page),
4333         (ev_window_setup_document), (update_current_page),
4334         (view_page_changed_cb), (ev_window_init):
4335         * shell/ev-window.h:
4336
4337         Ensure thumbnails selection, toolbar page control and
4338         current page are in sync.
4339
4340 2005-01-19  Marco Pesenti Gritti  <marco@gnome.org>
4341
4342         * pdf/xpdf/XRef.cc:
4343
4344         Fix CAN-2005-0064
4345
4346 Wed Jan 19 01:10:57 2005  Jonathan Blandford  <jrb@redhat.com>
4347
4348         * backend/Makefile.am:
4349         * backend/ev-document-links.h:
4350         * backend/ev-document-security.c: (ev_document_security_get_type),
4351         (ev_document_security_has_document_security),
4352         (ev_document_security_set_password):
4353         * backend/ev-document-security.h:
4354         * backend/ev-document.c: (ev_document_error_quark):
4355         * backend/ev-document.h:
4356         * data/Makefile.am:
4357         * data/evince-password.glade:
4358         * pdf/xpdf/pdf-document.cc:
4359         * shell/Makefile.am:
4360         * shell/ev-password.c: (ev_password_set_bad_password_label),
4361         (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4362         (ev_password_dialog_get_password),
4363         (ev_password_dialog_set_bad_pass):
4364         * shell/ev-password.h:
4365         * shell/ev-window.c: (ev_window_get_attribute),
4366         (ev_window_set_property), (update_action_sensitivity),
4367         (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4368         (ev_window_setup_document), (ev_window_get_password),
4369         (ev_window_open), (ev_window_cmd_save_as),
4370         (using_postscript_printer), (ev_window_print),
4371         (find_not_supported_dialog), (ev_window_cmd_edit_find),
4372         (update_fullscreen_popup), (ev_window_fullscreen),
4373         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4374         (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4375         (menu_item_select_cb), (find_bar_search_changed_cb),
4376         (ev_window_dispose), (ev_window_init):
4377
4378         Add initial support for password-supported dialogs.  This could be
4379         a lot cooler, but it'll do for now.
4380
4381 2005-01-18  Marco Pesenti Gritti  <marco@gnome.org>
4382
4383         * pdf/xpdf/pdf-document.cc:
4384         * shell/ev-view.c: (status_message_from_link),
4385         (ev_view_set_status), (ev_view_set_cursor),
4386         (ev_view_motion_notify_event), (ev_view_init):
4387         * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4388
4389         Fix bugs in the links implementation and change cursor
4390         when hovering a link.
4391
4392 2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>
4393
4394         * viewer/.cvsignore: added cvsignore file for viewer directory
4395
4396         * TODO: created TODO document
4397
4398 2005-01-14  Dave Malcolm  <dmalcolm@redhat.com>
4399
4400         * shell/ev-view.h:
4401         * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):      
4402         new functions to help with implementation of sensitivity code
4403         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4404         of all actions that might require it.  Fixes a crash when you
4405         click on the Zoom actions in a window lacking a document.
4406
4407 2005-01-13  Dave Malcolm  <dmalcolm@redhat.com>
4408
4409         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4410         of the Find action
4411
4412 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
4413
4414         * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4415         (pixbuf_document_document_iface_init):
4416         * ps/ps-document.c: (ps_document_get_link),
4417         (ps_document_document_iface_init):
4418         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4419         (status_message_from_link), (ev_view_set_status),
4420         (ev_view_set_find_status), (ev_view_motion_notify_event),
4421         (ev_view_button_release_event), (ev_view_set_property),
4422         (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4423         (ev_view_get_find_status_message), (update_find_results),
4424         (ev_view_get_status), (ev_view_get_find_status):
4425         * shell/ev-view.h:
4426         * shell/ev-window.c: (view_status_changed_cb),
4427         (view_find_status_changed_cb), (ev_window_init):
4428
4429         View status message support, use it to show the links.
4430         Needs work...
4431
4432 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
4433
4434         * backend/ev-document.c: (ev_document_get_link):
4435         * backend/ev-document.h:
4436         * pdf/xpdf/pdf-document.cc:
4437         * shell/ev-application.c: (ev_application_open):
4438         * shell/ev-application.h:
4439         * shell/ev-sidebar-links.c: (selection_changed_cb):
4440         * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4441         (ev_view_go_to_link):
4442
4443         Add support for document links
4444
4445 2005-01-13  Anders Carlsson  <andersca@gnome.org>
4446
4447         * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4448         (create_tool_item):
4449         Set the spin button limits correctly.
4450         
4451         * shell/ev-sidebar-thumbnails.c:
4452         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4453         Support changing pages by clicking on the thumbnails.
4454         
4455 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
4456
4457         * pixbuf/pixbuf-document.c:
4458         (pixbuf_document_thumbnails_get_dimensions),
4459         (pixbuf_document_document_thumbnails_iface_init):
4460
4461         implement get_dimensions
4462
4463 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
4464
4465         * ps/ps-document.c: (ps_document_goto_page):
4466
4467         Fix page switching on multipage documents
4468
4469 2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>
4470
4471         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4472         
4473         check for NULL before assigning to width and height parameters
4474
4475 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
4476
4477         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4478         (pixbuf_document_set_property), (pixbuf_document_get_property):
4479
4480         implement get/set properties
4481
4482 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
4483
4484         * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4485         
4486         return NULL instead of "Unknown", letting the title get set to
4487         the filename when the pdf has no title.
4488
4489 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
4490
4491         * ps/ps-document.c: (ps_document_get_page_count),
4492         (ps_document_goto_page):
4493
4494 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
4495
4496         * shell/ev-history.c: (ev_history_get_property),
4497         (ev_history_set_property), (ev_history_class_init),
4498         (ev_history_add_page), (ev_history_set_current_index):
4499         * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4500         (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4501         (ev_navigation_action_finalize):
4502         * shell/ev-navigation-action.h:
4503         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4504         (ev_view_go_forward), (ev_view_get_find_status_message),
4505         (history_index_changed_cb), (ev_view_set_history):
4506         * shell/ev-view.h:
4507         * shell/ev-window.c: (update_total_pages), (ev_window_open),
4508         (update_current_page), (register_custom_actions):
4509
4510         Implement history dropdowns
4511
4512 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
4513
4514         * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4515         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4516         (ev_view_go_forward):
4517         * shell/ev-window.c: (register_custom_actions):
4518
4519         Fix several history bugs
4520
4521 2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>
4522
4523         * configure.ac: Add «nb» to ALL_LINGUAS.
4524
4525 2005-01-10  Marco Pesenti Gritti  <marco@gnome.org>
4526
4527         * backend/Makefile.am:
4528         * backend/ev-bookmark.c:
4529         * backend/ev-bookmark.h:
4530         * backend/ev-document-bookmarks.c:
4531         * backend/ev-document-bookmarks.h:
4532         * backend/ev-document-links.c: (ev_document_links_get_type),
4533         (ev_document_links_has_document_links),
4534         (ev_document_links_begin_read), (ev_document_links_get_link),
4535         (ev_document_links_get_child), (ev_document_links_next),
4536         (ev_document_links_free_iter):
4537         * backend/ev-document-links.h:
4538         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4539         (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4540         (ev_link_get_link_type), (ev_link_set_link_type),
4541         (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4542         (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4543         (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4544         (ev_link_new_external):
4545         * backend/ev-link.h:
4546         * pdf/xpdf/pdf-document.cc:
4547         * shell/Makefile.am:
4548         * shell/ev-application.c: (ev_application_open_link):
4549         * shell/ev-application.h:
4550         * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4551         (ev_history_get_link_nth):
4552         * shell/ev-history.h:
4553         * shell/ev-sidebar-bookmarks.c:
4554         * shell/ev-sidebar-bookmarks.h:
4555         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4556         (ev_sidebar_links_class_init), (selection_changed_cb),
4557         (ev_sidebar_links_construct), (ev_sidebar_links_init),
4558         (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4559         (do_one_iteration), (populate_links_idle),
4560         (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4561         * shell/ev-sidebar-links.h:
4562         * shell/ev-sidebar.c: (ev_sidebar_set_document):
4563         * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4564         (go_to_index):
4565         * shell/ev-view.h:
4566         * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4567         * shell/ev-window.h:
4568
4569         Rename bookmark to link, and use "Index" for the sidebar panel.
4570
4571 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
4572
4573         * shell/Makefile.am:
4574         * shell/ev-application.c: (ev_application_open_bookmark):
4575         * shell/ev-application.h:
4576         * shell/ev-history.c: (ev_history_init), (free_links_list),
4577         (ev_history_finalize), (ev_history_class_init),
4578         (ev_history_add_link), (ev_history_add_page),
4579         (ev_history_get_link_nth), (ev_history_get_n_links),
4580         (ev_history_get_current_index), (ev_history_set_current_index),
4581         (ev_history_new):
4582         * shell/ev-history.h:
4583         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4584         * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4585         (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4586         (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4587         (ev_view_set_page):
4588         * shell/ev-view.h:
4589         * shell/ev-window.c: (ev_window_open_bookmark),
4590         (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4591         (goto_page_cb), (register_custom_actions):
4592         * shell/ev-window.h:
4593
4594         Initial history implementation. Needs work.
4595
4596 2005-01-09  Martin Kretzschmar  <martink@gnome.org>
4597
4598         * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4599
4600 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
4601
4602         * cut-n-paste/recent-files/egg-recent-item.c:
4603         * cut-n-paste/recent-files/egg-recent-item.h:
4604         * cut-n-paste/recent-files/egg-recent-model.c:
4605         * cut-n-paste/recent-files/egg-recent-util.c:
4606         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4607         * cut-n-paste/recent-files/egg-recent-view.c:
4608
4609         Update
4610
4611 2005-01-08  Martin Kretzschmar  <martink@gnome.org>
4612
4613         * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4614         (fillGlyph, fillImageMask, drawImage):
4615         pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4616         pdf/splash/SplashTypes.h:
4617         pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4618         packed mode for Splash.
4619
4620         * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4621         RGB8 packed mode, eliminates the pixbuf data creation loop.
4622
4623         * shell/ev-print-job.c (ev_print_job_finalize)
4624         (ev_print_job_set_property, ev_print_job_get_property)
4625         (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4626         (ev_print_job_use_print_dialog_settings, idle_print_handler)
4627         (print_closure_finalize, ev_print_job_print): implement
4628         printing (for backends with EvPsExporter)
4629
4630         * shell/ev_print_job.h: update prototypes.
4631
4632         * shell/ev-window.c (ev_window_print): unref print job after
4633         printing.
4634
4635         * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4636         unless the document implements the EvDocumentFind interface.
4637
4638 2005-01-08  Satoru SATOH <ss@gnome.gr.jp>
4639
4640         * configure.ac: Added ja to ALL_LINGUAS.
4641
4642 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
4643
4644         * pdf/xpdf/pdf-document.cc:
4645
4646         add a FIXME. We should probably not allocate
4647         a bookmark object every time
4648
4649 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
4650
4651         * shell/ev-application.c: (ev_application_open),
4652         (ev_application_open_bookmark):
4653         * shell/ev-application.h:
4654         
4655         Add a way to open bookmarks
4656
4657         * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4658         (ev_bookmark_set_uri), (ev_bookmark_get_property),
4659         (ev_bookmark_set_property), (ev_bookmark_class_init),
4660         (ev_bookmark_new_title), (ev_bookmark_new_link),
4661         (ev_bookmark_new_external):
4662
4663         Support for external uris, better constructors.
4664
4665         * backend/ev-bookmark.h:
4666         * pdf/xpdf/pdf-document.cc:
4667         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4668
4669         Handle external uris
4670
4671 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
4672
4673         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4674         (ev_sidebar_bookmarks_construct), (do_one_iteration):
4675
4676         Hook up bookmarks navigation
4677
4678 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
4679
4680         * backend/Makefile.am:
4681         * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4682         (ev_bookmark_get_title), (ev_bookmark_set_title),
4683         (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4684         (ev_bookmark_get_page), (ev_bookmark_set_page),
4685         (ev_bookmark_get_property), (ev_bookmark_set_property),
4686         (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4687         (ev_bookmark_new):
4688         * backend/ev-bookmark.h:
4689         * backend/ev-document-bookmarks.c:
4690         (ev_document_bookmarks_get_bookmark):
4691         * backend/ev-document-bookmarks.h:
4692         * pdf/xpdf/pdf-document.cc:
4693         * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4694
4695         Add a bookmark object to the backend and use it instead of get_values
4696
4697 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
4698
4699         * data/evince-ui.xml:
4700
4701         Cleanup and add select all.
4702
4703         * shell/ev-view.c: (ev_view_select_all),
4704         (ev_view_button_press_event):
4705         * shell/ev-view.h:
4706         * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4707
4708         Add select all.
4709         Clear selection on click.
4710
4711 Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>
4712
4713         * shell/ev-sidebar-thumbnails.c
4714         (ev_sidebar_thumbnails_set_document): forgot to unref the
4715         loading_icon.
4716
4717 Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>
4718
4719         * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4720         at the visible page, not just linearly.  This makes it look fast.
4721
4722 Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>
4723
4724         * backend/ev-document-misc.c
4725         (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4726         white.
4727         * backend/ev-document-thumbnails.h: New interface to get the size
4728         of a page.
4729
4730 2005-01-06  Jeremy Katz  <katzj@redhat.com>
4731
4732         * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4733         make dist works
4734
4735 Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>
4736
4737         * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4738         GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
4739         things up a bit.
4740
4741         * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4742
4743 2005-01-05  Martin Kretzschmar  <martink@gnome.org>
4744
4745         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4746         fonts. Should fix font problems on systems that have the base
4747         fonts in bitmap format. Reported by James Henstridge
4748         <james@jamesh.id.au>.
4749
4750 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
4751
4752         * pdf/xpdf/Gfx.cc:
4753         * pdf/xpdf/GfxState.cc:
4754
4755         Fix for CAN-2004-1125
4756
4757 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
4758
4759         * shell/ev-view.c: (ev_view_copy):
4760         * shell/ev-view.h:
4761         * shell/ev-window.c: (ev_window_cmd_edit_copy):
4762
4763         Implement Edit->Copy
4764
4765 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
4766
4767         * backend/ev-document.c: (ev_document_get_text):
4768         * backend/ev-document.h:
4769         * pdf/xpdf/pdf-document.cc:
4770         * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4771         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4772         (ev_view_update_primary_selection), (ev_view_button_press_event),
4773         (ev_view_motion_notify_event), (ev_view_button_release_event):
4774
4775         Beginnings of clipboard support. Incomplete but primary sort
4776         of work.
4777
4778 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
4779
4780         * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4781         (expose_bin_window):
4782
4783         Nicer rubberband drawing, from GtkIconView.
4784
4785 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
4786
4787         * backend/ev-document.c: (ev_document_save):
4788         * backend/ev-document.h:
4789         * data/evince-ui.xml:
4790         * pdf/xpdf/pdf-document.cc:
4791         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4792
4793         Implement "Save a copy..." menu item
4794
4795 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
4796
4797         * shell/ev-view.c: (ev_view_zoom):
4798
4799         Queue a resize when zoom changes
4800
4801 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
4802
4803         * backend/ev-document-misc.[ch]: New misc file to do simple drop
4804         shadows.
4805
4806         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4807         thumbnails..
4808
4809 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
4810
4811         * pdf/xpdf/pdf-document.cc
4812         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4813
4814 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
4815
4816         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4817         It's slow, but I'll speed it up next!
4818
4819 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
4820
4821         * shell/main.c (load_files):
4822
4823         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4824         from the command line and because it seems more appropriate.
4825
4826 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
4827
4828         * data/evince-ui.xml:
4829         * shell/ev-window.c: (update_action_sensitivity),
4830         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4831
4832         s/next page/page down
4833         s/previous page/page up
4834
4835 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
4836
4837         * data/evince-ui.xml:
4838
4839         Change the layout to match clarkbw design.
4840
4841         * shell/Makefile.am:
4842         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4843         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4844         (ev_navigation_action_finalize),
4845         (ev_navigation_action_set_property),
4846         (ev_navigation_action_get_property),
4847         (ev_navigation_action_class_init):
4848         * shell/ev-navigation-action.h:
4849
4850         Implement clarkbw toolbar navigation controls (incomplete)
4851
4852         * shell/ev-page-action.c: (update_label), (update_spin),
4853         (value_changed_cb), (create_tool_item), (connect_proxy),
4854         (ev_page_action_init), (ev_page_action_finalize),
4855         (ev_page_action_set_property), (ev_page_action_get_property),
4856         (ev_page_action_set_current_page),
4857         (ev_page_action_set_total_pages), (ev_page_action_class_init):
4858         * shell/ev-page-action.h:
4859
4860         Implement a page switcher in the toolbar
4861
4862         * shell/ev-view.c: (ev_view_scroll_view):
4863         * shell/ev-window.c: (update_total_pages), (ev_window_open),
4864         (update_current_page), (view_page_changed_cb), (goto_page_cb),
4865         (register_custom_actions), (ev_window_init):
4866
4867         Change page on PageUp/Down.
4868
4869 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
4870
4871         * pdf/xpdf/pdf-document.cc
4872         (pdf_document_thumbnails_get_thumbnail): initial stab at
4873         implementing thumbnail support for pdfs.  It only does documents
4874         with precached pdfs now.
4875
4876 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
4877
4878         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4879         thumbnail code into a time-based idle as well.  Also, turn off the
4880         shadow temporarily as it's really slow.
4881
4882 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
4883
4884         * backend/ev-document.c: (ev_document_class_init):
4885         * pdf/xpdf/pdf-document.cc:
4886         * shell/ev-window.c: (ev_window_open):
4887
4888         Fix document title bugs and fallback to
4889         filename when not available.
4890
4891 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
4892
4893         * backend/ev-document.c: (ev_document_get_type),
4894         (ev_document_class_init), (ev_document_load),
4895         (ev_document_get_title):
4896         * backend/ev-document.h:
4897         * pdf/xpdf/pdf-document.cc:
4898         * ps/ps-document.c: (ps_document_set_property),
4899         (ps_document_get_property), (ps_document_class_init),
4900         (document_load):
4901         * ps/ps-document.h:
4902         * ps/ps.h:
4903         * shell/ev-window.c: (update_window_title), (ev_window_open),
4904         (ev_window_init):
4905
4906         Initial support for document title. Not working yet.
4907
4908 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
4909
4910         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4911
4912         Grab focus on the view when clicking it
4913
4914 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
4915
4916         * shell/ev-marshal.list:
4917         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4918         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4919
4920         Add key bindings to the view. Now if the focus would work
4921         right...
4922
4923 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
4924
4925         * Makefile.am:
4926         * backend/Makefile.am:
4927         * data/Makefile.am:
4928         * dvi/Makefile.am:
4929         * dvi/dvilib/Makefile.am:
4930         * pdf/xpdf/Makefile.am:
4931         * po/POTFILES.in:
4932         * ps/Makefile.am:
4933
4934         Fix distcheck
4935
4936 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
4937
4938         * shell/ev-view.c: (ev_view_realize):
4939
4940         Fix mouse wheel scrolling
4941
4942 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
4943
4944         * ps/Makefile.am:
4945         * ps/gstypes.h:
4946         * ps/gtkgs.c:
4947         * ps/gtkgs.h:
4948         * ps/ps-document.c: (catchPipe), (ps_document_init),
4949         (ps_document_class_init), (ps_document_cleanup),
4950         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4951         (set_up_page), (close_pipe), (is_interpreter_ready),
4952         (interpreter_failed), (output), (input), (start_interpreter),
4953         (stop_interpreter), (file_length), (file_readable),
4954         (check_filecompressed), (check_pdf), (compute_xdpi),
4955         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4956         (ps_document_get_type), (ps_document_emit_error_msg),
4957         (document_load), (ps_document_next_page),
4958         (ps_document_get_current_page), (ps_document_get_page_count),
4959         (ps_document_goto_page), (ps_document_set_page_size),
4960         (ps_document_zoom_to_fit), (ps_document_set_zoom),
4961         (ps_document_load), (ps_document_get_n_pages),
4962         (ps_document_set_page), (ps_document_get_page),
4963         (ps_document_widget_event), (ps_document_set_target),
4964         (ps_document_set_scale), (ps_document_set_page_offset),
4965         (ps_document_get_page_size), (ps_document_render),
4966         (ps_document_document_iface_init):
4967         * ps/ps-document.h:
4968         * ps/ps.c:
4969         * shell/ev-window.c: (ev_window_open):
4970
4971         Rename GtkGS to PSDocument
4972
4973 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
4974
4975         * ps/gtkgs.c: (gtk_gs_class_init):
4976         * ps/gtkgs.h:
4977
4978         Some more leftover...
4979
4980 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
4981
4982         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4983         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4984         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
4985         * ps/gtkgs.h:
4986
4987         Remove unused code and make a lot of stuff private
4988
4989 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
4990
4991         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
4992         (gtk_gs_defaults_changed):
4993         * ps/gsdefaults.h:
4994         * ps/gtkgs.c:
4995         * ps/gtkgs.h:
4996         * ps/ps.h:
4997
4998         Cleanup headers dependencies
4999
5000 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5001
5002         * ps/Makefile.am:
5003         * ps/ggvutils.c:
5004         * ps/ggvutils.h:
5005         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5006         * ps/gsdefaults.h:
5007         * ps/gtkgs.c: (file_length), (file_readable),
5008         (check_filecompressed), (check_pdf), (gtk_gs_load),
5009         (gtk_gs_get_postscript):
5010
5011         Get rid of ggvutils
5012
5013 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
5014
5015         * ps/ggvutils.c:
5016         * ps/ggvutils.h:
5017         * ps/gsio.h:
5018         * ps/gtkgs.c: (gtk_gs_set_zoom):
5019
5020         Cleanups
5021
5022 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
5023
5024         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5025
5026         Ensure the page is rerendered when changing zoom
5027
5028 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
5029
5030         * backend/ev-document.c: (ev_document_base_init),
5031         (ev_document_changed):
5032         * backend/ev-document.h:
5033
5034         Add a changed event that is emitted when the page content
5035         changes. This is necessary to deal with the fact that
5036         in ps backend rendering happen asycrounously.
5037         This makes the ps backend mostly work.
5038
5039         * pdf/xpdf/pdf-document.cc:
5040
5041         Emit changed event
5042
5043         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5044         (ps_document_set_target):
5045
5046         Emit changed event
5047
5048         * shell/ev-view.c: (document_changed_callback),
5049         (ev_view_set_document), (ev_view_set_page):
5050
5051         Redraw on the changed signal
5052
5053 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
5054
5055         * configure.ac: Added pt_BR to ALL_LINGUAS.
5056
5057 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
5058
5059         * backend/ev-document-bookmarks.c:
5060         (ev_document_bookmarks_get_child): *
5061         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5062         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5063         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5064         (ev_sidebar_bookmarks_destroy),
5065         (ev_sidebar_bookmarks_class_init),
5066         (ev_sidebar_bookmarks_construct), (stack_data_free),
5067         (do_one_iteration), (populate_bookmarks_idle),
5068         (ev_sidebar_bookmarks_clear_document),
5069         (ev_sidebar_bookmarks_set_document): *
5070         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5071         (ev_sidebar_add_page),
5072         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5073         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
5074         it displays both the topics and the page numbers.
5075
5076 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
5077
5078         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5079         toggle.
5080         * shell/ev-window.c (toggle_entries): Set sidebar default value to
5081         visible.
5082
5083 2004-12-23  Adam Weinberger  <adamw@gnome.org>
5084
5085         * configure.ac: Added en_CA to ALL_LINGUAS.
5086
5087 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
5088
5089         * ChangeLog: replace bottom of this ChangeLog (merged history of
5090         ggv and gpdf; where all paths were wrong and most of the files are
5091         not even in this tree) with ChangeLog (from arch) of the shell
5092         code.
5093
5094 2004-12-23  Havoc Pennington  <hp@redhat.com>
5095
5096         * shell/ev-window.c: hook up potentially-questionable "find
5097         results status text" feature - something involving the sidebar or
5098         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5099         might be better in the end.
5100
5101         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
5102         with corresponding signal when it should be updated
5103
5104         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5105
5106 2004-12-22  Havoc Pennington  <hp@redhat.com>
5107
5108         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5109         find stuff on other pages, sort of (only returns one result on
5110         invisible pages, to show they have results; updates full results
5111         for a page when you view it). Currently repaints the current page
5112         every time a new result is found on any page, which isn't so nice.
5113
5114 2004-12-22  Havoc Pennington  <hp@redhat.com>
5115
5116         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5117         the document doesn't support find (better ideas?)
5118         (find_bar_search_changed_cb): handle missing document or document
5119         that doesn't support find
5120
5121         * pdf/xpdf/pdf-document.cc: port to implement the new
5122         EvDocumentFindIface
5123
5124         * backend/ev-document-find.c: create a new interface for searching
5125
5126         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5127
5128 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
5129
5130         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5131         libevbackend.la.
5132
5133         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5134         EvPrintJob constructor arguments.
5135
5136         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5137         for documents that can export PostScript (page by page).
5138
5139         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5140         
5141         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5142         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5143         (pdf_document_ps_exporter_iface_init:
5144         Implement EvPSExporter.
5145
5146         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5147
5148 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5149
5150         * backend/Makefile.am:
5151         * backend/ev-document-thumbnails.c:
5152         (ev_document_thumbnails_get_type),
5153         (ev_document_thumbnails_get_thumbnail):
5154         * backend/ev-document-thumbnails.h:
5155         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5156         (pixbuf_document_thumbnails_get_thumbnail),
5157         (pixbuf_document_document_thumbnails_iface_init):
5158         * shell/Makefile.am:
5159         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5160         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5161         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5162         * shell/ev-sidebar-thumbnails.h:
5163         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5164         (ev_sidebar_set_document):
5165         * shell/ev-utils.c: (gaussian), (create_blur_filter),
5166         (create_shadow), (ev_pixbuf_add_shadow):
5167         * shell/ev-utils.h:
5168         Add thumbnail support.
5169         
5170 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
5171
5172         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5173         (using_postscript_printer): Set up a print dialog for "PostScript
5174         injection" method.
5175
5176         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5177         EvPrintJob.
5178
5179         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5180
5181 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5182
5183         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5184         (ps_document_set_target), (ps_document_get_page_size),
5185         (ps_document_render):
5186         * ps/gtkgs.h:
5187
5188         Fix a few bugs
5189
5190 2004-12-22  Christian Rose  <menthos@menthos.com>
5191
5192         * configure.ac: Added "sv" to ALL_LINGUAS.
5193
5194 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
5195
5196         * backend/ev-document-bookmarks.[ch]: new interface to indicate
5197         document supports bookmarks.
5198
5199 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5200
5201         * ps/ggvutils.c: (ggv_file_readable):
5202         * ps/ggvutils.h:
5203         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5204         (gtk_gs_get_postscript):
5205
5206         Remove unused utils
5207
5208 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5209
5210         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5211         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5212         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5213         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5214         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5215         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5216         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5217         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5218         (gtk_gs_set_antialiasing), (ps_document_load),
5219         (ps_document_render):
5220         * ps/gtkgs.h:
5221
5222         Another check point for the ps backend. Now I can get it to show
5223         pages!
5224
5225 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
5226
5227         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5228         document setting code.
5229
5230 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5231
5232         * shell/eggfindbar.c: (entry_activate_callback):
5233         Animate the next button when activate is pressed.
5234         
5235 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5236
5237         * shell/ev-window.c: (ev_window_cmd_edit_find),
5238         (update_fullscreen_popup), (ev_window_fullscreen),
5239         (ev_window_unfullscreen), (ev_window_state_event_cb),
5240         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5241         Fix bugs in fullscreen code.
5242         
5243 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5244
5245         * Makefile.am:
5246         * configure.ac:
5247         * pixbuf/Makefile.am:
5248         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5249         (pixbuf_document_load), (pixbuf_document_get_n_pages),
5250         (pixbuf_document_set_page), (pixbuf_document_get_page),
5251         (pixbuf_document_set_target), (pixbuf_document_set_scale),
5252         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5253         (pixbuf_document_render), (pixbuf_document_begin_find),
5254         (pixbuf_document_end_find), (pixbuf_document_finalize),
5255         (pixbuf_document_class_init),
5256         (pixbuf_document_document_iface_init), (pixbuf_document_init):
5257         * pixbuf/pixbuf-document.h:
5258         * shell/Makefile.am:
5259         * shell/ev-application.c: (ev_application_open):
5260         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5261         (ev_window_open):
5262         Add pixbuf backend.
5263         
5264 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
5265
5266         * Makefile.am: 
5267         * dvi/dvilib/Makefile.am:
5268         * dvi/Makefile.am:
5269         * configure.ac: Auto*ify dvi and dvi/dvilib
5270
5271         * dvi/Makefile: Remove from CVS
5272         
5273         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5274         confusion.
5275
5276         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5277         
5278         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5279         
5280 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5281
5282         * ps/Makefile.am:
5283         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5284         (gtk_gs_value_adjustment_changed), (compute_size),
5285         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5286         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5287         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5288         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5289         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5290         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5291         (ps_document_load), (ps_document_get_n_pages),
5292         (ps_document_set_page), (ps_document_get_page),
5293         (ps_document_set_target), (ps_document_set_scale),
5294         (ps_document_set_page_offset), (ps_document_get_page_size),
5295         (ps_document_render), (ps_document_begin_find),
5296         (ps_document_end_find), (ps_document_document_iface_init):
5297         * ps/gtkgs.h:
5298         * shell/Makefile.am:
5299         * shell/ev-window.c: (ev_window_open):
5300
5301         Some work to integrate gtkgs with EvDocument
5302
5303 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5304
5305         * shell/ev-window.c: (update_fullscreen_popup),
5306         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5307         (exit_fullscreen_button_clicked_cb),
5308         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5309         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5310         (ev_window_state_event_cb), (ev_window_init):
5311         Add fullscreen support from Epiphany.
5312         
5313 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
5314
5315         * data/ev-stock-zoom-fit-width.png: fit-width
5316         stock icon from gpdf.
5317         
5318         * shell/ev-stock-icons.[ch]: copied from gpdf.
5319         
5320         * shell/main.c: (main): init stock icons.
5321         
5322         * shell/ev-window.c: use the fit-width icon.
5323         
5324         * data/evince-ui.xml: add zooming toolbar items.
5325
5326 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
5327
5328         * shell/ev-view.c: 
5329         (ev_view_best_fit), (ev_view_fit_width): because
5330         get_page_size() returns the scaled page size, we
5331         need to calculate the scale factor relative to
5332         the previous scale factor. Should really just
5333         add get_real_page_size().
5334
5335 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
5336
5337         * shell/ev-view.[ch]:
5338         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5339         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5340         add zooming.
5341         
5342         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5343         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5344         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5345         hook it up.
5346         
5347         * pdf/xpdf/pdf-document.cc:
5348         (pdf_document_begin_find),
5349         (pdf_document_end_find): make static.
5350
5351 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
5352
5353         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5354
5355         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5356         names to fontconfig patterns.
5357         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5358
5359         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5360         setupBaseFontsFc.
5361
5362 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5363
5364         * Makefile.am:
5365         * configure.ac:
5366         * ps/Makefile.am:
5367         * ps/ggvutils.c:
5368         * ps/ggvutils.h:
5369         * ps/gsdefaults.c:
5370         * ps/gsdefaults.h:
5371         * ps/gsio.c:
5372         * ps/gsio.h:
5373         * ps/gtkgs.c:
5374         * ps/gtkgs.h:
5375         * ps/ps.c:
5376         * ps/ps.h:
5377
5378         Import ggv backend. Not hooked up yet.
5379
5380 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
5381
5382         * shell/main.c: (load_files), (main): load files
5383         from the command line.
5384
5385 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
5386
5387         * configure.ac: don't require bonobo.
5388         
5389         * cut-n-paste/recent-files/*: kill bonobo recent
5390         view.
5391
5392         * shell/ev-window.c:
5393         (ev_window_is_empty): upd.
5394         (unable_to_load), (ev_window_open): load backend
5395         based on the mime type.
5396
5397 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
5398
5399         * backend/.cvsignore: ignore generated marshalers source.
5400
5401         * shell/main.c (main): this is not epiphany.
5402
5403 2004-12-22  Havoc Pennington  <hp@redhat.com>
5404
5405         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5406         (expose_bin_window): draw find highlights
5407
5408         * shell/ev-window.c (find_bar_search_changed_cb): implement 
5409         
5410         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
5411         (pdf_document_end_find): implement this interface
5412
5413         * backend/ev-document.c (ev_document_found): add this to emit
5414         signal
5415
5416 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
5417
5418         * data/evince-ui.xml: Add a few more toolbar items.
5419
5420         * shell/ev-window.c: Hook up page navigation toolbar 
5421         items.
5422
5423         * shell/ev-view.[ch]: add ev_view_set/get_page and 
5424         a page-changed signal.
5425
5426         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5427         Add ev_document_get_page().
5428
5429         * shell/ev-window.c: Sensitize/desensitize navigation
5430         actions.
5431
5432 2004-12-21  Havoc Pennington  <hp@redhat.com>
5433
5434         * backend/ev-backend-marshal.c,
5435         backend/ev-backend-marshalers.list, backend/Makefile.am: add
5436         marshaler-generator thingy. I'm sure there's a better way to do
5437         this in the modern world.
5438
5439         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5440         end_find methods and "found" signal.
5441
5442         * configure.ac: find glib-genmarshal
5443
5444 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
5445
5446         * shell/ev-sidebar.c: Construct an actual sidebar.
5447         * shell/ev-sidebar-bookmarks.[ch]:
5448         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5449
5450 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
5451
5452         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5453         Redo size handling.
5454         
5455         * shell/ev-view.c: Track the size from the document.
5456
5457 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
5458
5459         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5460         constructor assumes ownership of the string passed in.
5461         
5462         * shell/ev-window.c (ev_window_open): Destroy the error
5463         dialog once we've displayed it.
5464
5465 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
5466
5467         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
5468         a bit, it works! (sort of)
5469
5470         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5471         Move to .cc since we need to use C++ in the implementation.
5472
5473         * shell/dummy.cc: Add a CC file to force evince
5474         to be linked as a C++ program.
5475
5476 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
5477
5478         * shell/ev-view.[ch]: Start of content-area widget.
5479
5480         * shell/ev-window.c: Create a EvView, update it
5481         as we change documents.
5482
5483         * shell/Makefile.am shell/ev-marshal.list: Add
5484         generated marshalers.
5485
5486 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
5487
5488         * Makefile.am (SUBDIRS): move shell.
5489
5490 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
5491
5492         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5493         .a to libtool convenience libraries.
5494
5495         * shell/ev-window.c (ev_window_open): Hard code loading
5496         a PDF document.
5497         
5498         * backend/ev-document.h: Add a boolean return to load(),
5499         fix GError * to GError **.
5500
5501         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5502         object for a PDF backend EvDocument.
5503
5504 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
5505
5506         * dvi/*: New directory with the beginning of a .dvi backend.
5507
5508 2004-12-21  Havoc Pennington  <hp@redhat.com>
5509
5510         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5511         previous/next instead of back/forward
5512
5513 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
5514
5515         * backend/ev-document.[ch]: Fix a couple of problems so
5516         it compile.
5517
5518 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
5519
5520         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
5521         to backend/ directory, rename EvViewer to EvDocument.
5522
5523 2004-12-21  Havoc Pennington  <hp@redhat.com>
5524
5525         * shell/ev-window.c: hook up the find bar widget; now we just need
5526         a document to find things in
5527
5528         * shell/eggfindbar.c: a find bar widget
5529
5530 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
5531
5532         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5533
5534 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
5535
5536         * pdf/**: Import of xpdf code from gpdf. 
5537
5538         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5539
5540         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5541         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
5542         Fix FreeType includes.
5543
5544         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5545         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5546         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5547         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5548         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5549         Include xpdfconfig.h
5550         
5551 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
5552
5553         * shell/ev-window.c (ev_window_dispose): dispose can be called
5554         multiple times.
5555
5556 2004-12-21  Havoc Pennington  <hp@redhat.com>
5557
5558         * shell/ev-window.c (ev_window_init): set title to Document Viewer
5559         rather than Evince
5560
5561         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5562         items; really they should be synced with the strings, etc. from
5563         current gpdf, but just getting the boring typing out of the way 
5564
5565 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
5566
5567         * po/POTFILES.in:
5568         * shell/ev-application.c: (window_destroy_cb):
5569         * shell/ev-window.c:
5570         * shell/main.c: (main):
5571
5572         Actually show the window...
5573
5574 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
5575
5576         * Makefile.am:
5577         * shell/Makefile.am:
5578         * shell/ev-application.c: (ev_application_class_init):
5579         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5580
5581         Make it build again
5582
5583 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
5584
5585         Import to gnome cvs.
5586         
5587         * Remove copies of gpdf and ggv trees.
5588         * Rip out all the recursive configure code.
5589         * Remove bonobo machinery.
5590         * viewer/*: GInterfaces that backends should/can implement.
5591
5592 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5593
5594         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5595         typo
5596
5597 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5598
5599         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5600         (ev_application_finalize, ev_application_class_init)
5601         (ev_application_init): use GType instance private data for priv.
5602     
5603         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5604         (ev_window_finalize, ev_window_class_init)
5605         (ev_window_init): ditto.
5606
5607 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5608
5609         * shell/ev-application.c (ev_application_new_window): make public
5610         (ev_application_show_initial_window): kill.
5611     
5612         * shell/ev-application.h: update prototypes.
5613     
5614         * shell/main.cc (main): inline ev_application_show_initial_window.
5615
5616 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5617
5618         * shell/ev-application.c (ev_application_new_window): impl.
5619         (ev_application_show_initial_window): use it.
5620         (is_window_empty, ev_application_get_empty_window): returns an
5621         existing empty window or a new one.
5622         (ev_application_open): from ev_window_cmd_file_open.
5623     
5624         * shell/ev-application.h: update prototypes
5625     
5626         * shell/ev-window.c (ev_window_is_empty): impl.
5627         (ev_window_open): make public.
5628         (ev_window_cmd_file_open): use ev_application_open
5629     
5630         * shell/ev-window.h: update prototypes, remove unused.
5631
5632 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5633
5634         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5635         move destroy handler out of here...
5636     
5637         * shell/ev-application.c, shell/ev-application.h: ...into this new
5638         class. Also handles initial window creation.
5639     
5640         * shell/main.cc (main): use EvApplication to create initial
5641         window.
5642
5643 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5644
5645         * Makefile.am (SUBDIRS): add cut-n-paste
5646     
5647         * cut-n-paste/Makefile.am: add
5648     
5649         * configure.ac: generate Makefiles in cut-n-paste
5650
5651 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5652
5653         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5654         (ev_window_class_init): install ev_window_dispose.
5655
5656 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5657
5658         * shell/ev-window.h, shell/ev-window.c: replace gchar with
5659         char (gchar looks stupid).
5660
5661 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5662
5663         * po/de.po: updated German translation.
5664
5665 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5666
5667         * configure.ac: add more pkg-config library checks for gnome-vfs,
5668         bonobo etc.
5669     
5670         * gpdf/configure.in: temporarily disable libpaper
5671         checks. Otherwise I'd have to add the checks for the shell, too.
5672
5673 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5674
5675         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5676         and * file filters to the file choose.
5677
5678 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5679
5680         * po/de.po: Updated German translation.
5681
5682 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5683
5684         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5685
5686 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5687
5688         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5689     
5690         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5691         (ev_window_init): implement those menuitems.
5692
5693 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5694
5695         * data/evince-ui.xml: add a toolbar (with FileOpen action)
5696     
5697         * shell/ev-window.c (ev_window_init): use the toolbar.
5698
5699 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5700
5701         * shell/ev-window.c (ev_window_init): use menu translations
5702
5703 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5704
5705         * configure.ac: add "de" to ALL_LINGUAS.
5706     
5707         * po/de.po: add German translation.
5708
5709 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5710
5711         * Makefile.am (SUBDIRS): add po
5712     
5713         * configure.ac: check intltool, glib-gettext etc, generate
5714         po/Makefile.in
5715     
5716         * po, po/POTFILES.in, po/POTFILES.skip: new.
5717
5718 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5719
5720         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5721         already use (#ifdef ENABLE_NLS)
5722     
5723         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5724         pointer indirection thinko.
5725     
5726         * shell/main.c: include gi18n.h for bindtextdomain etc.
5727
5728 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5729
5730         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5731         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5732         tooltips for menu items in the statusbar.
5733
5734 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5735
5736         * configure.ac, data/Makefile.am, shell/Makefile.am: use
5737         pkgdatadir drop UIDIR
5738
5739 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5740
5741         * data/evince-ui.xml: Add File->Open menu item
5742     
5743         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5744         chooser), hook it up in the ui manager.
5745
5746 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5747
5748         * shell/ev-window.c: fix Help->About tooltip.
5749
5750 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
5751
5752         * configure.ac: set CFLAGS for libevprivate.
5753     
5754         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5755         definitions, factory etc.
5756     
5757         * lib/Makefile.am: build libevprivate.a (only stock icon code).
5758     
5759         * shell/Makefile.am: link against libevprivate.a.
5760     
5761         * shell/ev-window.c (entries): add stock icon to Help->About.
5762     
5763         * shell/main.c (main): init stock icon code.
5764
5765 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5766
5767         * lib/recent-files: egg recent files code
5768     
5769         * lib/Makefile.am: add.
5770     
5771         * Makefile.am: add lib subdir.
5772     
5773         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5774         set CFLAGS for recent-files.
5775
5776 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5777
5778         * configure.ac: disable -ansi and -pedantic gcc flags. They
5779         disable POSIX stuff in stdio.h, but egg-recent uses them.
5780
5781 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
5782
5783         * configure.ac: add --disable-deprecated flag (defaults to on in
5784         "cvs" builds).
5785     
5786         * shell/Makefile.am (INCLUDES): use it.
5787
5788 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5789
5790         * shell/main.c: add missing #include.
5791     
5792         * shell/ev-window.c: fix for pedantic gcc.
5793         (ev_window_cmd_help_about): split license into paragraphs for
5794         translators and pedantic compilers.
5795
5796 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5797
5798         * configure.ac: add more warning flags if compiling with gcc from
5799         cvs (or explicitly requested with --enable-more-warnings).
5800
5801 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5802
5803         * data/evince-ui.xml: add File and File->Close menu.
5804     
5805         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5806         (ev_window_destroy): quit after destroy.
5807         (ev_window_class_init): override GtkObject::destroy.
5808         (entries): install close_window callback.
5809
5810 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5811
5812         * Makefile.am (SUBDIRS): add data subdir.
5813     
5814         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
5815         gtk+ 2.5.0 for GtkAboutDialog.
5816     
5817         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5818         main window.
5819     
5820         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5821     
5822         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5823         manager.
5824         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5825
5826 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5827
5828         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5829
5830 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5831
5832         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5833
5834 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5835
5836         * shell/*: Added shell directory boilerplate, build it.
5837
5838 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5839
5840         * configure.ac, Makefile.am: Added top-level configure.ac and
5841         Makefile.am