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