]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
New CBR/CBZ backend for comic books.
[evince.git] / ChangeLog
1 2005-11-14  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2
3         * Makefile.am:
4         * backend/Makefile.am:
5         * backend/ev-document-factory.c:
6         * backend/ev-document-factory.h:
7         * comics/Makefile.am:
8         * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
9         (comics_document_load), (comics_document_save),
10         (comics_document_get_n_pages), (comics_document_get_page_size),
11         (get_page_size_area_prepared_cb), (comics_document_render_pixbuf)       (render_pixbuf_size_prepared_cb), (comics_document_finalize),
12         (comics_document_class_init), (comics_document_can_get_text),
13         (comics_document_get_info), (comics_document_document_iface_init),
14         (comics_document_init), (get_supported_image_extensions),
15         (comics_document_thumbnails_get_geometry),
16         (comics_document_thumbnails_get_thumbnail),
17         (comics_document_thumbnails_get_dimensions),
18         (comics_document_document_thumbnails_iface_init), (extract_argv):
19         * comics/comics-document.h:
20         * comics/ev-cbr-mime.xml:
21         * configure.ac:
22         * po/POTFILES.in:
23         * shell/ev-application.c: (ev_application_register_service):
24         * shell/ev-document-types.c: (ev_document_types_add_filters):
25         * thumbnailer/Makefile.am:
26         * thumbnailer/evince-thumbnailer-comics.schemas.in:
27         
28         New CBR/CBZ backend for comic books.
29
30 2005-11-10  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
31
32         * shell/main.c: (load_files_remote):
33
34         Thanks to Robert McQueen <robot101@debian.org>. Dbus
35         warning on startup of second instance is fixed. It
36         is bug #320353.
37
38 2005-10-30  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
39
40         * shell/ev-window.c: (ev_window_finalize):
41         
42         Fix double free that cause crash.
43
44 2005-10-29  Bastien Nocera <hadess@hadess.net>
45
46         * tiff/tiff-document.c: (tiff_document_load):
47         
48         Fix memory leak.
49
50 2005-10-29  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
51
52         * po/POTFILES.in:
53         * shell/Makefile.am:
54         * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
55         (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
56         (ev_view_accessible_get_text),
57         (ev_view_accessible_get_character_at_offset),
58         (ev_view_accessible_get_text_before_offset),
59         (ev_view_accessible_get_text_at_offset),
60         (ev_view_accessible_get_text_after_offset),
61         (ev_view_accessible_get_character_count),
62         (ev_view_accessible_get_caret_offset),
63         (ev_view_accessible_set_caret_offset),
64         (ev_view_accessible_get_run_attributes),
65         (ev_view_accessible_get_default_attributes),
66         (ev_view_accessible_get_character_extents),
67         (ev_view_accessible_get_offset_at_point),
68         (ev_view_accessible_get_n_selections),
69         (ev_view_accessible_get_selection),
70         (ev_view_accessible_add_selection),
71         (ev_view_accessible_remove_selection),
72         (ev_view_accessible_set_selection),
73         (ev_view_accessible_text_iface_init),
74         (ev_view_accessible_idle_do_action),
75         (ev_view_accessible_action_do_action),
76         (ev_view_accessible_action_get_n_actions),
77         (ev_view_accessible_action_get_description),
78         (ev_view_accessible_action_get_name),
79         (ev_view_accessible_action_set_description),
80         (ev_view_accessible_action_iface_init),
81         (ev_view_accessible_get_type), (ev_view_accessible_new),
82         (ev_view_accessible_factory_get_accessible_type),
83         (ev_view_accessible_factory_create_accessible),
84         (ev_view_accessible_factory_class_init),
85         (ev_view_accessible_factory_get_type):
86         * shell/ev-view-accessible.h:
87         * shell/ev-view-private.h:
88         * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
89         * shell/ev-view.h:
90         
91         Initial accessibility support.
92
93 2005-10-27  Erdal Ronahi  <erdal.ronahi@gmail.com>
94
95         * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
96
97 2005-10-26  Hubert Figuiere <hfiguiere@teaser.fr>
98
99         * shell/ev-print-job.c: (idle_print_handler):
100         
101         Fix for bug Bug 318916: Printing multiple pages.
102
103 2005-10-20  Runa Bhattacharjee  <runa@bengalinux.org>
104
105         * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
106
107 2005-10-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
108
109         * pdf/ev-poppler.cc:
110         
111         Thumnail dimensions unified with other backends.
112         
113         * shell/ev-window-title.c: (ev_window_title_update):
114         
115         Fix warning.
116
117 2005-10-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
118
119         * data/ev-stock-zoom-fit-width.png:
120         
121         Remove unused file.
122
123 2005-10-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
124
125         * configure.ac:
126         * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
127         (djvu_document_finalize):
128         * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
129         (dvi_document_finalize):
130         * pixbuf/pixbuf-document.c: (pixbuf_document_load),
131         (pixbuf_document_save), (pixbuf_document_finalize):
132         * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
133         (tiff_document_finalize):
134         
135         Save a copy implemented for various backends.
136
137 2005-10-17  Daniel Gryniewicz <dang@gentoo.org>
138
139         * configure.ac:
140         
141         Don't link with ltiff if tiff is disabled.
142
143 2005-10-14  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
144
145         * pdf/GDKSplashOutputDev.cc:
146         * pdf/GDKSplashOutputDev.h:
147         * pdf/Thumb.cc:
148         * pdf/Thumb.h:
149         * pdf/pdf-document.cc:
150         * pdf/pdf-document.h:
151         * pdf/test-gdk-output-dev.cc:
152         
153         Remove old unused files.
154
155 2005-10-12  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
156
157         * shell/ev-window.c: (ev_window_setup_document):
158         
159         Fixed warnings on reload and probably crash reason.
160
161 2005-10-12  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
162
163         * properties/ev-properties-view.c:
164         (ev_properties_view_format_date):
165         
166         Check if date is invalid. Fix for bug 318134.
167
168 2005-10-02  Wouter Bolsterlee <uws+gnome@xs4all.nl>
169
170         * shell/ev-window-title.c:
171         
172         Add .indd files (Adobe Indesign) to the list of "bad
173         extensions".
174
175 2005-10-02  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
176
177         * data/evince-ui.xml:
178         * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
179         
180         Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
181
182 2005-09-27  Christian Persch  <chpe@cvs.gnome.org>
183
184         * shell/ev-window.c: (launch_link), (launch_external_uri),
185         (view_external_link_cb):
186
187         URL-escape link before passing it to gnome_vfs_url_show.
188
189 2005-09-27  Carlos Garcia Campos  <carlosgc@gnome.org>
190
191         * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
192         there isn't text selected.
193
194 2005-09-27  Marco Pesenti Gritti  <mpg@redhat.com>
195
196         * shell/ev-view.c: (handle_link_over_xy):
197
198         Check tooltip is valid utf8 before showing it
199
200 2005-09-27  Carlos Garcia Campos  <carlosgc@gnome.org>
201
202         * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
203
204 2005-09-27  Christian Persch  <chpe@cvs.gnome.org>
205
206         * shell/ev-window-title.c: (ev_window_title_update):
207
208         Guard against using g_strstrip on NULL. Fixes bug #317291.
209
210 2005-09-26  Marco Pesenti Gritti  <mpg@redhat.com>
211
212         * pdf/ev-poppler.cc:
213
214         Show title even for unknown links
215
216 2005-09-26  Marco Pesenti Gritti  <mpg@redhat.com>
217
218         * shell/ev-window-title.c: (ev_window_title_update):
219
220         Strip the title string
221
222 2005-09-26  Marco Pesenti Gritti  <mpg@redhat.com>
223
224         * shell/ev-window-title.c:
225
226         Add .rtf to the bad extensions list
227
228 2005-09-26  Marco Pesenti Gritti  <mpg@redhat.com>
229
230         * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
231         (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
232
233         Ignore link coordinates if they are outside page bounds
234
235 2005-09-26  Marco Pesenti Gritti  <mpg@redhat.com>
236
237         * backend/ev-link.c: (ev_link_type_get_type),
238         (ev_link_get_filename), (ev_link_get_params),
239         (ev_link_get_property), (ev_link_set_property),
240         (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
241         * backend/ev-link.h:
242         * pdf/ev-poppler.cc:
243         * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
244         * shell/ev-window.c: (launch_link), (view_external_link_cb),
245         (ev_window_init):
246
247         Implement launch links. Delegate external link opening to
248         the window.
249
250 2005-09-24  Marco Pesenti Gritti  <mpg@redhat.com>
251
252         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
253         (ev_link_get_right), (ev_link_get_property),
254         (ev_link_set_property), (ev_link_class_init),
255         (ev_link_new_page_fitv), (ev_link_new_page_fitr):
256         * backend/ev-link.h:
257         * pdf/ev-poppler.cc:
258         * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
259
260         Implement fitr links
261
262 2005-09-24  Marco Pesenti Gritti  <mpg@redhat.com>
263
264         * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
265         (goto_fitv_link), (goto_fith_link), (goto_fit_link),
266         (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
267         (ev_view_size_request_continuous),
268         (ev_view_size_request_dual_page),
269         (ev_view_size_request_single_page), (ev_view_size_allocate),
270         (ev_view_zoom_for_size_continuous_and_dual_page),
271         (ev_view_zoom_for_size_continuous),
272         (ev_view_zoom_for_size_dual_page),
273         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
274         (ev_sizing_mode_get_type):
275         * shell/ev-view.h:
276         * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
277
278         Do not use modes for link, we need to calculate size ad hoc.
279         Still not perfect because of the usual scrollbar issues grrr.
280
281 2005-09-24  Marco Pesenti Gritti  <mpg@redhat.com>
282
283         * backend/ev-link.c: (ev_link_type_get_type),
284         (ev_link_new_page_fith), (ev_link_new_page_fitv):
285         * backend/ev-link.h:
286         * pdf/ev-poppler.cc:
287         * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
288         (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
289         (ev_view_size_request_continuous),
290         (ev_view_size_request_dual_page),
291         (ev_view_size_request_single_page), (ev_view_size_allocate),
292         (zoom_for_size_fit_height),
293         (ev_view_zoom_for_size_continuous_and_dual_page),
294         (ev_view_zoom_for_size_continuous),
295         (ev_view_zoom_for_size_dual_page),
296         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
297         (ev_sizing_mode_get_type):
298         * shell/ev-view.h:
299         * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
300
301         Implement FIT_HEIGHT mode (only for links).
302         Implement FITH links
303
304 2005-09-24  Marco Pesenti Gritti  <mpg@redhat.com>
305
306         * shell/ev-window-title.c: (get_filename_from_uri),
307         (ev_window_title_sanitize_extension), (ev_window_title_update),
308         (ev_window_title_set_document), (ev_window_title_set_uri),
309         (ev_window_title_free):
310         * shell/ev-window-title.h:
311         * shell/ev-window.c: (ev_window_setup_document),
312         (ev_window_popup_password_dialog):
313
314         Refactor window title building while fixing it for
315         password documents.
316
317 2005-09-24  Marco Pesenti Gritti  <mpg@redhat.com>
318
319         * pdf/ev-poppler.cc:
320
321         Escape link title before setting it in the model
322
323 2005-09-23  Marco Pesenti Gritti  <mpg@redhat.com>
324
325         * shell/ev-application.c: (removed_from_session), (save_session),
326         (init_session), (ev_application_get_empty_window),
327         (ev_application_init), (ev_application_get_windows):
328         * shell/ev-application.h:
329         * shell/ev-window.c: (ev_window_finalize):
330
331         Add a function to retrieve window list and share it where
332         necessary.
333         Implement session handling, works pretty well thanks to the
334         metadata system.
335
336 2005-09-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
337
338         * shell/ev-password.c: (ev_password_item_created_callback),
339         (ev_password_dialog_save_password):
340         
341         Fix for bug 316972. Use async gnome-keyring API.
342
343 2005-09-22  Christian Persch  <chpe@cvs.gnome.org>
344
345         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
346         Remove unused unrealize handler. Add scroll handling to
347         ev_view_scroll_event for presentation mode (bug #316708),
348         and fix the event state checks there.
349
350 2005-09-22  Marco Pesenti Gritti  <mpg@redhat.com>
351
352         * shell/ev-page-action.c: (page_changed_cb):
353
354         "marco, maybe we should be crazy and jump right to 6! :)"
355
356         Bryan Clark, Sep 2005
357
358 2005-09-22  Marco Pesenti Gritti  <mpg@redhat.com>
359
360         * ps/ps-document.c: (save_document), (ps_document_save),
361         (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
362         (ps_document_ps_export_end):
363
364         Fix unstructured documents save and print
365
366 2005-09-22  Marco Pesenti Gritti  <mpg@redhat.com>
367
368         * shell/ev-application.c: (ev_application_open_uri):
369
370         Fix window size persistance
371
372 2005-09-22  Marco Pesenti Gritti  <mpg@redhat.com>
373
374         * shell/ev-view.c: (ev_view_button_release_event):
375
376         Based on a patch from carlosgc@gnome.org. Mouse buttons
377         switch pages in presentation mode.
378
379 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
380
381         * shell/ev-page-cache.c: (ev_page_cache_get_size):
382
383         Dont cast to int before scaling
384
385 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
386
387         * backend/ev-link.c: (ev_link_type_get_type),
388         (ev_link_new_page_xyz), (ev_link_new_page_fit),
389         (ev_link_new_page_fith):
390         * backend/ev-link.h:
391         * pdf/ev-poppler.cc:
392         * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
393
394         Implement FIT and FITH links
395
396 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
397
398         * pdf/ev-poppler.cc:
399
400         Return 0 results when search is not in progress.
401
402         * shell/ev-window.c: (ev_window_cmd_go_previous_page),
403         (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
404
405         Update menu sensitivity when cancelling search
406
407 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
408
409         * shell/ev-view.c: (ev_view_can_find_next):
410
411         Take all pages in consideration, not just current one
412
413 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
414
415         * shell/ev-page-cache.c:
416         * shell/ev-page-cache.h:
417         * shell/ev-view.c: (ev_view_binding_activated),
418         (ev_view_next_page), (ev_view_previous_page),
419         (ev_sizing_mode_get_type):
420         * shell/ev-view.h:
421         * shell/ev-window.c: (ev_window_cmd_go_previous_page),
422         (ev_window_cmd_go_next_page):
423
424         Move page next/previous functions from page chace to
425         view and change it to move by 2 page steps in dual mode.
426
427 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
428
429         * shell/ev-window.c: (update_sidebar_visibility),
430         (setup_sidebar_from_metadata), (ev_window_setup_document),
431         (setup_view_from_metadata):
432
433         Show the index by default when there is one     
434
435 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
436
437         * shell/ev-window-title.c: (ev_window_title_set_document):
438
439         Missing null check
440
441 2005-09-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
442
443         * shell/ev-view.c: (view_update_range_and_current_page):
444         
445         Allow display of last odd page in dual view. Fix for 316347.
446
447 2005-09-17  Wouter Bolsterlee  <uws+gnome@xs4all.nl>
448
449         * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
450         
451         Make close button default. Fix for 316383.
452
453 2005-09-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
454
455         * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
456         
457         Mark close button as default. Fix for 316381.
458
459 2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>
460
461         * backend/ev-link.c: (ev_link_class_init):
462
463         Allow negative doubles in left/top properties
464
465 2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>
466
467         * shell/ev-window.c:
468
469         Remove a bunch of strings that was used only
470         by the statusbar.
471
472 2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>
473
474         * shell/ev-window-title.c: (get_filename_from_uri),
475         (ev_window_title_set_document):
476
477         When title has a confusing extension, show also
478         the document filename inside ()
479
480 2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>
481
482         * shell/Makefile.am:
483         * shell/ev-window-title.c: (ev_window_title_new),
484         (ev_window_title_update), (ev_window_title_set_type),
485         (ev_window_title_set_document), (ev_window_title_free):
486         * shell/ev-window-title.h:
487         * shell/ev-window.c: (ev_window_setup_document),
488         (password_dialog_response), (ev_window_popup_password_dialog),
489         (ev_window_dispose), (ev_window_init):
490
491         Factor out and cleanup window title code
492
493 2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>
494
495         * shell/ev-window.c: (unable_to_load_dialog_response_cb),
496         (unable_to_load):
497
498         Make dialog transient so it doesnt block other windows
499
500 2005-09-13  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
501
502         * pdf/ev-poppler.cc:
503         
504         Fix pdf thumbnails rendering.
505
506 2005-09-13  Wouter Bolsterlee  <uws+gnome@xs4all.nl>
507
508         * shell/ev-window.c: (fullscreen_set_timeout):
509         
510         Increase timeout to hide full screen popup. Bug 
511         316123. 
512
513 2005-09-13  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
514
515         * data/evince.schemas.in:
516         * shell/ev-window.c: (update_action_sensitivity):
517
518         Allow the user to override document restrictions. Fix for bug
519         305818.
520
521 2005-09-13  Christian Persch  <chpe@cvs.gnome.org>
522
523         * shell/ev-window.c: (ev_window_update_fullscreen_popup),
524         (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
525         (ev_window_class_init): Fix multihead behaviour of fullscreen
526         toolbar popup. Fixes bug #315451.
527
528 2005-09-13  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
529
530         * configure.ac:
531         * data/evince-password.glade:
532         * shell/ev-password.c: (ev_password_dialog_set_property),
533         (ev_password_dialog_finalize), (ev_password_dialog_class_init),
534         (ev_password_dialog_init), (ev_password_set_bad_password_label),
535         (ev_password_dialog_entry_changed_cb),
536         (ev_password_dialog_entry_activated_cb),
537         (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
538         (ev_password_search_in_keyring), (ev_password_dialog_get_password),
539         (ev_password_dialog_set_bad_pass):
540         * shell/ev-password.h:
541         * shell/ev-window.c: (password_dialog_response),
542         (ev_window_popup_password_dialog):
543         
544         Support for gnome-keyring for encrypted PDF's.
545
546 2005-09-11  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
547
548         * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
549         (ev_view_motion_notify_event), (ev_view_leave_notify_event),
550         (ev_view_enter_notify_event), (ev_view_class_init):
551         
552         More precise handling of enter_notify/leave_notify events
553         in EvView. Fix for bug 315470.
554
555 2005-09-08  Christopher Aillon  <caillon@redhat.com>
556
557         * shell/ev-window.c: (fullscreen_timeout_cb),
558         (fullscreen_set_timeout), (fullscreen_clear_timeout),
559         (ev_window_dispose):
560
561         leak fix: unref fullscreen_timeout_source before clearing it
562
563 2005-09-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
564
565         * configure.ac, dvi/mdvi/Makefile.am: 
566         
567         Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
568
569 2005-09-08  Marco Pesenti Gritti  <mpg@redhat.com>
570
571         * backend/ev-link.c: (ev_link_new_page_xyz):
572         * pdf/ev-poppler.cc:
573         * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
574
575         Fix some bugs with xyz links, respect zoom
576
577 2005-09-08  Marco Pesenti Gritti  <mpg@redhat.com>
578
579         * shell/ev-window.c: (page_changed_cb),
580         (setup_document_from_metadata), (update_sidebar_visibility),
581         (setup_view_from_metadata), (ev_window_run_fullscreen),
582         (ev_window_stop_fullscreen), (ev_window_run_presentation),
583         (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
584         (ev_window_dual_mode_changed_cb),
585         (ev_window_sidebar_current_page_changed_cb):
586
587         null check uri before setting and getting metadata
588
589 2005-09-08  Marco Pesenti Gritti  <mpg@redhat.com>
590
591         * dvi/Makefile.am:
592         * properties/Makefile.am:
593         * shell/Makefile.am:
594         * thumbnailer/Makefile.am:
595
596         Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
597
598 2005-09-08  Marco Pesenti Gritti  <mpg@redhat.com>
599
600         * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
601         (selection_changed_callback):
602         * shell/ev-sidebar-links.h:
603
604         Add a signal for link activation.
605
606         * shell/ev-view.c: (ev_view_goto_link),
607         (ev_view_button_release_event):
608         * shell/ev-view.h:
609         * shell/ev-window.c: (sidebar_links_link_activated_cb),
610         (ev_window_init):
611
612         Implement the signal so that we can handle all link types.
613
614         * shell/ev-page-cache.c:
615
616         Remove unused set_link function
617
618 2005-09-08  Marco Pesenti Gritti  <mpg@redhat.com>
619
620         * lib/ev-tooltip.c: (ev_tooltip_set_position):
621
622         Add some space from the cursor, hardcoded but I couldnt
623         find a better way.
624
625 2005-09-07  Marco Pesenti Gritti  <mpg@redhat.com>
626
627         * lib/ev-tooltip.c:
628
629         Use mozilla style vs gtk style, way better for links.
630
631         * shell/ev-view.c: (ev_view_motion_notify_event),
632         (ev_view_destroy), (ev_view_init):
633
634         Deactive tooltip when the link hovered is changed.
635
636 2005-09-07  Marco Pesenti Gritti  <mpg@redhat.com>
637
638         * backend/ev-document.h:
639         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
640         (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
641         (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
642         (ev_link_new_page), (ev_link_new_page_xyz):
643         * backend/ev-link.h:
644         * pdf/ev-poppler.cc:
645         * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
646         (go_to_link), (tip_from_link):
647
648         Implement xyz links, still not functional. Links are a total
649         mess, will need to refactor and bugfix a lot :(
650
651 2005-09-05  Alessio Frusciante  <algol@firenze.linux.it>
652
653         * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
654
655 2005-09-05  Marco Pesenti Gritti <mpg@redhat.com>
656
657         * data/evince-ui.xml:
658         * data/evince.schemas.in:
659         * shell/Makefile.am:
660         * shell/ev-window.c: (update_chrome_visibility),
661         (password_dialog_response), (ev_window_load_job_cb),
662         (ev_window_xfer_job_cb), (ev_window_open_uri),
663         (ev_window_class_init), (set_chrome_actions), (load_chrome),
664         (ev_window_init):
665
666         Remove the statusbar. This regress loading feedback, need to
667         check with Bryan what we want to do there...
668
669 2005-09-05  Marco Pesenti Gritti  <mpg@redhat.com>
670
671         * lib/ev-tooltip.c: (ev_tooltip_init):
672
673         Fix tooltip border and size handling
674
675 2005-09-05  Marco Pesenti Gritti  <mpg@redhat.com>
676
677         * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
678         (ev_tooltip_set_position), (ev_tooltip_recently_shown),
679         (ev_tooltip_timeout), (ev_tooltip_activate),
680         (ev_tooltip_deactivate):
681         * lib/ev-tooltip.h:
682         * shell/ev-view.c: (ev_view_motion_notify_event):
683
684         Delay popup showing. Mirror gtk logic/times.
685
686 2005-09-03  Marco Pesenti Gritti  <mpg@redhat.com>
687
688         * lib/Makefile.am:
689         * lib/ev-tooltip.c: (ev_tooltip_expose_event),
690         (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
691         (ev_tooltip_set_text), (ev_tooltip_set_position):
692         * lib/ev-tooltip.h:
693
694         Simple widget to show tooltips at a custom position
695
696         * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
697         (ev_view_destroy):
698
699         Use it for links. First go, needs work
700
701 2005-08-17  Dennis Cranston  <dennis_cranston@yahoo.com>
702
703         * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small 
704         HIG fixes.  Use title capitalization for window title. Use 12 
705         pixels of space between the dialog's vbox and action area.
706
707 2005-09-02  Marco Pesenti Gritti  <mpg@redhat.com>
708
709         * shell/ev-window.c: (file_open_dialog_response_cb),
710         (ev_window_cmd_file_open), (file_save_dialog_response_cb),
711         (ev_window_cmd_save_as):
712
713         Make file pickers not modal and refactor code some
714
715 2005-09-02  Marco Pesenti Gritti  <mpg@redhat.com>
716
717         * shell/ev-sidebar.h:
718         * shell/ev-sidebar.c: (ev_sidebar_set_property),
719         (ev_sidebar_get_current_page), (ev_sidebar_get_property),
720         (ev_sidebar_class_init), (ev_sidebar_select_page),
721         (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
722         (ev_sidebar_set_page):
723
724         Add a current page property and allow to get/set it
725
726         * shell/ev-window.c: (setup_view_from_metadata),
727         (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
728
729         Persist current sidebar page per document
730
731 2005-09-02  Marco Pesenti Gritti  <mpg@redhat.com>
732
733         * data/evince.schemas.in:
734         * shell/ev-window.c: (update_chrome_visibility),
735         (setup_document_from_metadata), (update_sidebar_visibility),
736         (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
737         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
738         (ev_window_run_presentation), (ev_window_stop_presentation),
739         (ev_window_view_sidebar_cb),
740         (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
741         (load_chrome), (ev_window_init):
742
743         Persist size/visibility of sidebar per document
744
745 Fri Sep  2 00:59:55 2005  Jonathan Blandford  <jrb@redhat.com>
746
747         * shell/ev-view.c (draw_loading_text): Draw loading text.
748
749 2005-09-02  Dan Damian  <dand@gnome.ro>
750
751         * configure.in: Added "ro" to ALL_LINGUAS.
752
753 2005-09-01  Marco Pesenti Gritti  <mpg@redhat.com>
754
755         * shell/ev-view.c: (clear_caches):
756
757         ev_page_cache_get doesnt return a reference,
758         dont try to unref it.
759
760 2005-09-01  Marco Pesenti Gritti  <mpg@redhat.com>
761
762         * shell/main.c: (load_files_remote):
763
764         Fix timestamp parameter with dbus <= 0.33
765
766 2005-08-31  Marco Pesenti Gritti  <mpg@redhat.com>
767
768         * data/evince.schemas.in:
769
770         Add missing full stop
771
772 2005-08-31  Hiroyuki Ikezoe  <poincare@ikezoe.net>
773
774         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
775         * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
776
777         Plug some memory leaks
778
779 2005-08-29  Christian Persch  <chpe@cvs.gnome.org>
780
781         * configure.ac:
782         * lib/ev-debug.c: (trap_handler):
783
784         Check for execinfo.h and use it only if it exists.
785         Ported from Epiphany (bug #314776).
786
787 2005-08-29  Duarte Loreto <happyguy_pt@hotmail.com>
788
789         * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
790
791 2005-08-27  Mohammad DAMT  <mdamt@gnome.org>
792
793         * configure.ac: Added Indonesian "id" to ALL_LINGUAS
794         * po/id.po      : Added Indonesian translation
795
796 Fri Aug 26 00:45:09 2005  Jonathan Blandford  <jrb@redhat.com>
797
798         * shell/main.c:
799         * shell/ev-application.c: Last minute GTK-2.6 fixes.
800         * NEWS: Release 0.4.0
801
802 Thu Aug 25 23:40:23 2005  Jonathan Blandford  <jrb@redhat.com>
803
804         * configure.ac: catch another gtk+-2.8ism
805         * shell/main.c: Make work with gtk+-2.6
806
807 2005-08-25  Ryan Lortie  <desrt@desrt.ca>
808
809         * shell/ev-application-service.xml: Add 'timestamp' argument to
810           ev_application_open_window and ev_application_open_uri methods.
811
812         * shell/ev-application.h: Add 'timestamp' argument to
813           ev_application_open_window, ev_application_open_uri,
814           and ev_application_open_uri_list functions.
815
816         * shell/ev-application.c (ev_application_open_window,
817           ev_application_open_uri, ev_application_open_uri_list): Change
818           functions that show/present windows to use a timestamp if one
819           is passed in.
820
821         * shell/ev-window.c (ev_window_cmd_file_open,
822           ev_window_cmd_recent_file_activate, drag_data_received_cb):
823         * shell/main.c (load_files): Modify calls to ev_application to
824           include GDK_CURRENT_TIME as timestamp.
825
826         * shell/main.c (load_files_remote): Obtain timestamp for client
827           instance from GDK and pass to server instance so new windows are
828           focused properly.  Fix dbus_g_proxy_call() calls by including second
829           G_TYPE_INVALID.
830           
831         Closes bug #314475.
832
833 Thu Aug 25 22:13:08 2005  Jonathan Blandford  <jrb@redhat.com>
834
835         * shell/ev-window.c (ev_window_finalize): Check for
836         avail. EvWindows when quiting to handle the finalize better,
837         #314497
838
839 2005-08-26  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
840         
841         * properties/ev-properties-view.c: 
842         
843         Set textdomain to libglade. Fixes translation problem in property page.
844
845 2005-08-26  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
846
847         * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
848         * dvi/Makefile.am:
849         * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
850         * dvi/mdvi-lib/Makefile.am:
851         
852         Fix rotation of thumbnails, ported to new API. Moved library
853         dependencies earlier, probably it will fix linkage problem.
854
855 Thu Aug 25 02:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
856
857         * backend/ev-document-misc.c:
858         (ev_document_misc_get_thumbnail_frame):
859         * backend/ev-document-misc.h:
860         * configure.ac:
861         * pdf/ev-poppler.cc:
862         * shell/Makefile.am:
863         * shell/ev-sidebar-thumbnails.c: (add_range),
864         (ev_sidebar_thumbnails_set_loading_icon),
865         (ev_sidebar_thumbnails_refresh),
866         (ev_sidebar_thumbnails_set_document):
867         * shell/ev-sidebar-thumbnails.h:
868         * shell/ev-view.c: (ev_view_motion_notify_event),
869         (ev_view_set_property), (ev_view_get_property),
870         (ev_view_class_init), (ev_view_set_rotation):
871         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
872         (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
873         (ev_window_init):
874         * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
875         Redo rotation (again).  prepare for 0.4.0
876
877 2005-08-24  Kristian Høgsberg  <krh@redhat.com>
878
879         * configure.ac: Bump poppler requirement to 0.4.1.
880
881         * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
882         argument to poppler_page_render_selection() call.
883
884 2005-08-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
885
886         * djvu/djvu-document.c: (djvu_document_render_pixbuf),
887         (djvu_document_thumbnails_get_thumbnail):
888         * dvi/dvi-document.c: (dvi_document_render_pixbuf),
889         (dvi_document_thumbnails_get_thumbnail):
890         * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
891         (pixbuf_document_thumbnails_get_thumbnail):
892         * tiff/tiff-document.c: (tiff_document_render_pixbuf):
893         
894         Update rotation direction of backends to fit with pdf and ps.
895
896 2005-08-24  Marco Pesenti Gritti  <mpg@redhat.com>
897
898         * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
899         * backend/ev-async-renderer.h:
900         * ps/ps-document.c: (ps_document_init), (setup_pixmap),
901         (setup_page), (ps_document_get_page_size),
902         (ps_async_renderer_render_pixbuf):
903         * ps/ps-document.h:
904         * shell/ev-jobs.c: (ev_job_render_run):
905
906         Fix orientation in the postscript document
907
908 2005-08-23  Marco Pesenti Gritti  <mpg@redhat.com>
909
910         * pdf/ev-poppler.cc:
911         * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
912         * shell/ev-view.c: (highlight_find_results):
913
914         Adapt to the new poppler rotation API. Fix text maps on landscape
915         documents.
916
917 Sat Aug 20 17:13:48 2005  Jonathan Blandford  <jrb@redhat.com>
918
919         * shell/ev-view.c (compute_new_selection_text): get the correct
920         region when selecting in modes other than continuous.
921
922 Sat Aug 20 13:10:01 2005  Jonathan Blandford  <jrb@redhat.com>
923
924         * shell/main.c (main): remove redundant g_warnings.
925
926 2005-08-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
927
928         * shell/Makefile.am: Don't include autogenerated
929         file ev-application-service.h into distribution, since
930         it causes dbus crash. Fix for bugs 313724 and 313443. 
931
932 2005-08-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
933
934         * configure.ac: Fix sed expression for FreeBSD. Thanks
935         to Joe Marcus Clark <marcus@freebsd.org>
936         
937         * shell/eggfindbar.c: (entry_activate_callback),
938         (entry_changed_callback), (egg_find_bar_init),
939         (egg_find_bar_set_search_string):
940         
941         Made findbar buttons unsensitive if there is no text in
942         entry. Fix for the bug 313285.
943
944 2005-08-17  Carlos Garcia Campos  <carlosgc@gnome.org>
945
946         * ps/ps-document.c: Use g_filename_display_name for displaying
947         filenames and revert string freeze breackage
948
949 2005-08-17  Marco Pesenti Gritti  <mpg@redhat.com>
950
951         * NEWS:
952         * configure.ac:
953
954         Update for 0.3.4
955
956         * shell/Makefile.am:
957
958         Add ev-application-service.xml to extra dist
959
960         * shell/ev-view.c: (find_page_at_location):
961
962         Remove unused function (fix warning)
963
964 2005-08-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
965
966         * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
967         (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
968         
969         Fix warnings and compilation with t1lib-5.0 and newer. Fix for 
970         bug 313623.
971
972 2005-08-16  Nickolay V. Shmyrev   <nshmyrev@yandex.ru>
973
974         * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
975         * shell/ev-window.c:
976         Fix build warnings
977
978 2005-08-16  Carlos Garcia Campos  <carlosgc@gnome.org>
979
980         * configure.ac: Update script to get dbus version.
981         Fix for the bug #313443.
982
983 2005-08-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
984
985         * shell/ev-window.c: (ev_window_cmd_escape):
986         
987         Return focus back to view on escape. Fix for bug 313295.
988
989 2005-08-16  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
990
991         * shell/ev-window.c: (update_window_title),
992         (ev_window_popup_password_dialog), (ev_window_load_job_cb),
993         (ev_window_cmd_save_as):
994         
995         Correct conversion from uri to displayable string. Fix for
996         bug 313296.
997
998 2005-08-16  Carlos Garcia Campos  <carlosgc@gnome.org>
999
1000         * ps/ps-document.c: convert filename to utf8 when there is an error
1001         loading document. Fixes #309915
1002
1003 2005-08-16  Marco Pesenti Gritti  <mpg@redhat.com>
1004
1005         * configure.ac:
1006
1007         We depend on poppler 0.4.0
1008
1009 Mon Aug 15 21:53:05 2005  Jonathan Blandford  <jrb@redhat.com>
1010
1011         * configure.ac:
1012         * NEWS: Release 0.3.3.
1013         * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1014
1015 2005-08-14  Dennis Cranston  <dennis_cranston@yahoo.com>
1016
1017         * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:  
1018         add a couple missing mnemonics to menu items, use title 
1019         capitalization for menu items and window titles, and add 
1020         ellipsis to open menu item.     
1021
1022 Mon Aug 15 00:40:21 2005  Jonathan Blandford  <jrb@redhat.com>
1023
1024         * pdf/ev-poppler.cc:
1025         * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1026         * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1027         (ev_view_get_rotation):
1028         * shell/ev-view.h:
1029         * shell/ev-window.c: (setup_view_from_metadata),
1030         (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1031         (ev_window_cmd_edit_rotate_right): Fix rotation.  Save it to
1032         disk.
1033
1034 2005-08-14  Baris Cicek <baris@teamforce.name.tr>
1035
1036         * configure.ac: Added tr to ALL_LINGUAS
1037
1038 2005-08-12  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1039
1040         * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1041         requires several clicks to find word. Thanks to 
1042         Colin Slater <kiltedtaco@gmail.com>.
1043
1044 2005-08-11  Bryan Clark  <clarkbw@cvs.gnome.org>
1045
1046         * data/evince.desktop.in.in: Hide menu entry and
1047         rename it to "Document Viewer". Fix for bug 
1048         #312399.
1049
1050 2005-08-11  Crispin Flowerday  <gnome@flowerday.cx>
1051
1052         * shell/ev-page-action.c (ev_page_action_class_init): 
1053
1054         Point to the correct function in constructor of the
1055         activate_label signal
1056
1057 Tue Aug  9 02:17:13 2005  Jonathan Blandford  <jrb@redhat.com>
1058
1059         * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1060         * shell/ev-jobs.h: Make thread safe.
1061
1062 2005-08-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1063
1064         * shell/ev-view.c: (view_update_range_and_current_page):
1065         Don't update page range if we are scrolling to some document
1066         point.
1067
1068 2005-08-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1069
1070         * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1071         when getting max_page_width, fix drawing in dual mode.
1072
1073 Sun Aug  7 02:06:08 2005  Jonathan Blandford  <jrb@redhat.com>
1074
1075         * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1076         getting the area for select_all.
1077
1078 2005-08-06  Kristian Høgsberg  <krh@redhat.com>
1079
1080         * backend/ev-selection.c: (ev_selection_render_selection):
1081         * backend/ev-selection.h:
1082         * pdf/ev-poppler.cc:
1083         * shell/ev-jobs.c: (ev_job_render_new):
1084         * shell/ev-jobs.h:
1085         * shell/ev-pixbuf-cache.c: (get_selection_colors),
1086         (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1087         * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1088         (ev_view_class_init):
1089
1090         Change selection color on focus in and focus out events.  Also,
1091         poppler now uses GdkColor for specifying the selection colors, so
1092         drop some awkward conversion code.
1093
1094 2005-08-06  Yair Hershkovitz  <yairhr@gmail.com>
1095
1096         * configure.ac: Added Hebrew translation
1097
1098 Sat Aug  6 01:12:44 2005  Jonathan Blandford  <jrb@redhat.com>
1099
1100         * NOTES:
1101         * backend/ev-selection.c: (ev_selection_render_selection):
1102         * backend/ev-selection.h:
1103         * pdf/ev-poppler.cc:
1104         * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1105         (ev_job_render_run):
1106         * shell/ev-jobs.h:
1107         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1108         (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1109         (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1110         (ev_pixbuf_cache_style_changed),
1111         (ev_pixbuf_cache_get_selection_pixbuf),
1112         (ev_pixbuf_cache_set_selection_list),
1113         (ev_pixbuf_cache_get_selection_list):
1114         * shell/ev-pixbuf-cache.h:
1115         * shell/ev-utils.c: (ev_print_region_contents):
1116         * shell/ev-utils.h:
1117         * shell/ev-view.c: (ev_view_queue_draw_page),
1118         (selection_update_idle_cb), (ev_view_motion_notify_event),
1119         (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1120         (setup_caches), (ev_view_find_next), (merge_selection_region),
1121         (selection_free):
1122         * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1123
1124         Clean up selection to be much smoother!
1125
1126 2005-08-05  Kristian Høgsberg  <krh@redhat.com>
1127
1128         * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1129         to poppler_page_render_selection().
1130
1131 2005-08-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1132
1133         * ps/ps-document.c: (save_page_list): Use
1134         unzipped document when printing. Thanks to 
1135         Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1136         311016.
1137
1138 2005-08-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1139
1140         * shell/ev-window.c: (update_action_sensitivity):
1141         
1142         Disable print and save respect to lockdown gconf keys. Fix
1143         for 312342.
1144
1145 2005-08-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1146
1147         * configure.ac:
1148         * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1149         (write_to_temp_file), (ev_file_set_contents):
1150         * shell/ev-utils.h:
1151         * shell/ev-window.c: (save_print_config_to_file):
1152         
1153         Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1154         Fix for bug 312238
1155
1156 2005-07-31  Christian Persch  <chpe@cvs.gnome.org>
1157
1158         * shell/ev-window.c: (load_print_config_from_file),
1159         (save_print_config_to_file), (ev_window_print_range):
1160
1161         Persist the print settings. Fixes bug #311578.
1162
1163 2005-07-31  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1164
1165         * djvu/djvu-document.c: (djvu_document_get_page_size),
1166         (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1167         (djvu_document_thumbnails_get_thumbnail):
1168         * dvi/dvi-document.c: (dvi_document_get_page_size),
1169         (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1170         (dvi_document_thumbnails_get_dimensions),
1171         (dvi_document_thumbnails_get_thumbnail):
1172         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1173         (pixbuf_document_render_pixbuf),
1174         (pixbuf_document_document_iface_init),
1175         (pixbuf_document_thumbnails_get_thumbnail):
1176         
1177         Update backends to make them build with new rotation system.
1178
1179 2005-07-31  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1180
1181         * help/C/figures/evince_start_window.png:
1182         
1183         Update documentation image from Luca Ferretti <elle.uca@libero.it>
1184
1185 Sat Jul 30 19:09:34 2005  Jonathan Blandford  <jrb@redhat.com>
1186
1187         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1188         * shell/ev-pixbuf-cache.h:
1189         * shell/ev-sidebar-thumbnails.c:
1190         (ev_sidebar_thumbnails_get_property), (add_range),
1191         (adjustment_changed_cb):
1192         * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1193         pixbuf cache.  Make thumbnailing work again.  Also, fix bug where
1194         we were thumbnailing the entire docment on startup, slowing us
1195         down hugely. 
1196
1197 Fri Jul 29 23:14:28 2005  Jonathan Blandford  <jrb@redhat.com>
1198
1199         * shell/ev-page-cache.c: (ev_page_cache_new):
1200         * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1201         == 0, fixes #310306.
1202
1203 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
1204
1205         * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1206         (ev_view_rotate_left):
1207
1208         Account rotation in doc_rect_to_view_rect.
1209         Ensure rotation doesnt go out of bounds.
1210
1211 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
1212
1213         * shell/ev-page-cache.c: (ev_page_cache_get_size):
1214
1215         Correct and cleanup w/h swapping
1216
1217 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
1218
1219         * backend/ev-document-thumbnails.c:
1220         (ev_document_thumbnails_get_thumbnail):
1221         * backend/ev-document-thumbnails.h:
1222         * backend/ev-document.c:
1223         * backend/ev-document.h:
1224         * backend/ev-render-context.c: (ev_render_context_new),
1225         (ev_render_context_set_rotation):
1226         * backend/ev-render-context.h:
1227         * pdf/ev-poppler.cc:
1228         * ps/ps-document.c: (ps_document_document_iface_init):
1229         * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1230         * shell/ev-jobs.h:
1231         * shell/ev-page-cache.c: (build_height_to_page),
1232         (ev_page_cache_new), (ev_page_cache_get_size),
1233         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1234         (ev_page_cache_get_height_to_page):
1235         * shell/ev-page-cache.h:
1236         * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1237         (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1238         (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1239         (ev_pixbuf_cache_get_selection_pixbuf):
1240         * shell/ev-pixbuf-cache.h:
1241         * shell/ev-print-job.c: (idle_print_handler):
1242         * shell/ev-sidebar-thumbnails.c: (add_range):
1243         * shell/ev-view.c: (view_update_range_and_current_page),
1244         (get_page_y_offset), (get_page_extents),
1245         (ev_view_size_request_continuous_dual_page),
1246         (ev_view_size_request_continuous),
1247         (ev_view_size_request_dual_page),
1248         (ev_view_size_request_single_page), (draw_one_page),
1249         (ev_view_set_rotation), (ev_view_rotate_right),
1250         (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1251         (ev_view_zoom_for_size_continuous_and_dual_page),
1252         (ev_view_zoom_for_size_continuous),
1253         (ev_view_zoom_for_size_dual_page),
1254         (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1255         (ev_view_select_all):
1256         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1257         * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1258         (tiff_document_document_iface_init),
1259         (tiff_document_thumbnails_get_thumbnail):
1260
1261         Use rotation rather than orientation. It's easier and enough
1262         for our needs.
1263
1264 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
1265
1266         * shell/ev-page-cache.c: (build_height_to_page),
1267         (ev_page_cache_new), (ev_page_cache_get_size),
1268         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1269         (ev_page_cache_get_height_to_page):
1270         * shell/ev-page-cache.h:
1271         * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1272         (ev_view_size_request_continuous_dual_page),
1273         (ev_view_size_request_continuous),
1274         (ev_view_zoom_for_size_continuous_and_dual_page),
1275         (ev_view_zoom_for_size_continuous):
1276
1277         Make the page cache aware of page orientation.
1278
1279 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
1280
1281         * backend/ev-document-thumbnails.c:
1282         (ev_document_thumbnails_get_thumbnail):
1283         * backend/ev-document-thumbnails.h:
1284         * backend/ev-document.c:
1285         * backend/ev-document.h:
1286         * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1287         * backend/ev-ps-exporter.h:
1288         * pdf/ev-poppler.cc:
1289         * ps/ps-document.c: (ps_document_document_iface_init),
1290         (ps_document_ps_export_do_page):
1291         * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1292         * shell/ev-jobs.h:
1293         * shell/ev-page-cache.c: (ev_page_cache_get_size),
1294         (ev_page_cache_get):
1295         * shell/ev-page-cache.h:
1296         * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1297         (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1298         (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1299         * shell/ev-pixbuf-cache.h:
1300         * shell/ev-print-job.c: (idle_print_handler):
1301         * shell/ev-sidebar-thumbnails.c: (add_range):
1302         * shell/ev-view.c: (view_update_range_and_current_page),
1303         (get_page_extents), (ev_view_size_request_dual_page),
1304         (ev_view_size_request_single_page), (draw_one_page),
1305         (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1306         (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1307         (ev_view_zoom_for_size_dual_page),
1308         (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1309         (ev_view_select_all):
1310         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1311         * tiff/tiff-document.c: (tiff_document_get_page_size),
1312         (tiff_document_get_orientation), (rotate_pixbuf),
1313         (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1314         (tiff_document_thumbnails_get_thumbnail),
1315         (tiff_document_ps_export_do_page), (tiff_document_init):
1316
1317         Really make use of the orientation bit of the render context.
1318         Use the render context in a few more places in the backend API.
1319         This regress orientation, but now it's done right. Will try to
1320         fix it up asap...
1321
1322 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
1323
1324         * shell/ev-view.c: (ensure_rectangle_is_visible):
1325
1326         Patch by Nickolay V. Shmyrev to fix find flickering
1327
1328 2005-07-27  Martin Kretzschmar  <martink@gnome.org>
1329
1330         * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1331         duplex parameters to ::begin.
1332
1333         * tiff/tiff-document.c (tiff_document_ps_export_begin): 
1334         * shell/ev-print-job.c (idle_print_handler): 
1335         * ps/ps-document.c (ps_document_ps_export_begin): 
1336         * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin): 
1337         * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1338         implementations. Poppler backend needs poppler cvs. Rest has
1339         unchanged behavior.
1340
1341 2005-07-25  Martin Kretzschmar  <martink@gnome.org>
1342
1343         * shell/ev-window.c (using_pdf_printer): new function.
1344         (ev_window_print_range): print a less techy message if someone
1345         tries to print to PDF.
1346
1347 2005-07-25  Martin Kretzschmar  <martink@gnome.org>
1348
1349         * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1350         from "unknown font" string. Bug #311431
1351
1352 2005-07-24  Martin Kretzschmar  <martink@gnome.org>
1353
1354         * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1355
1356 2005-07-24  Martin Kretzschmar  <martink@gnome.org>
1357
1358         Bug #311280
1359         
1360         * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1361         name for PopplerFontTypes
1362         (pdf_document_fonts_fill_model): add font type to the detail column
1363
1364         * backend/ev-document-fonts.h: added
1365         EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1366
1367         * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1368         font name and font details, add a little markup.
1369         (ev_properties_fonts_init): use the new cell data func, specify ypad
1370         property for the cell renderer.
1371         (ev_properties_fonts_set_document): add the details column.
1372
1373 2005-07-24  Artur Flinta  <aflinta@cvs.gnome.org>
1374
1375         * configure.ac: Added "pl" to ALL_LINGUAS.
1376
1377 2005-07-24  Danilo Šegan  <danilo@gnome.org>
1378
1379         * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1380
1381 2005-07-23  Tommi Vainikainen  <thv@iki.fi>
1382
1383         * help/ChangeLog: Started this for translations of manual.
1384         * configure.ac, autogen.sh, .cvsignore: Migrated to
1385         gnome-doc-utils. Patch in bug #311222.
1386
1387 2005-07-22  Martin Kretzschmar  <martink@gnome.org>
1388
1389         * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf): 
1390         #ifdef this away to fix an unused-function warning.
1391
1392 2005-07-22  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>
1393
1394         * configure.ac: Added 'gl' to ALL_LINGUAS.
1395
1396 2005-07-22  Pawan Chitrakar  <pawan@nplinux.org>
1397
1398         * configure.ac: Added ne in ALL_LINGUAS
1399         
1400 2005-07-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1401
1402         * shell/ev-view.c: (ev_view_leave_notify_event):
1403         
1404         Clear status message when pointer leaves view. Fix for bug
1405         #310818 
1406
1407 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1408
1409         * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1410
1411 2005-07-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1412
1413         * shell/ev-view.c: (ev_view_leave_notify_event),
1414         (ev_view_class_init):
1415         
1416         Set cursor to normal then leaving view.
1417
1418 2005-07-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1419
1420         * configure.ac:
1421         
1422         Fix required djvulibre version.
1423
1424 2005-07-15  Rajesh Ranjan <rajeshkajha@yahoo.com>
1425
1426         *configure.ac: Hindi (hi) language added
1427
1428 2005-07-15  Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1429
1430         *configure.ac: Punjabi (pa) Language added
1431
1432 2005-07-12  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1433
1434         * data/evince-ui.xml, shell/ev-window.c:
1435         
1436         Add keypad accelerators for zooming. Fix for bug 308128.
1437
1438 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
1439
1440         * Makefile.am:
1441         * backend/Makefile.am:
1442         * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1443         * configure.ac:
1444         * shell/ev-document-types.c: (ev_document_types_add_filters):
1445
1446         Allow to enable/disable the pixbuf backend.
1447         Default to off for now. If we want it enabled we should
1448         really put mime types in the desktop, implement properties etc.
1449
1450         * properties/evince-properties.c:
1451
1452         Initialize error to NULL.
1453         Check error is not NULL before freeing.
1454
1455 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
1456
1457         * shell/ev-window.c:
1458
1459         Use F5 as presentation accell
1460
1461 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
1462
1463         * shell/ev-window.c: (update_chrome_visibility),
1464         (ev_window_create_fullscreen_popup), (ev_window_init):
1465
1466         Do not leak the fullscreen toolbar
1467
1468 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
1469
1470         * shell/ev-window.c: (view_actions_focus_in_cb),
1471         (view_actions_focus_out_cb):
1472
1473         These has a return value! Fix totally random focus
1474         issues we was seeing.
1475
1476 2005-07-11  Carlos Garcia Campos  <carlosgc@gnome.org>
1477
1478         * shell/main.c: (load_files_remote):
1479
1480         Allow open more than one file
1481
1482 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
1483
1484         * shell/main.c: (load_files_remote):
1485
1486         Fix for dbus 0.33. bug #309975
1487
1488 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
1489
1490         * properties/ev-properties-main.c: (ev_properties_get_pages):
1491
1492         Actually return NULL for types we dont support
1493
1494 2005-07-08  Christian Persch  <chpe@cvs.gnome.org>
1495
1496         * po/POTFILES.in:
1497
1498         Remove empty lines.
1499
1500 2005-07-08  Marco Pesenti Gritti  <marco@gnome.org>
1501
1502         * backend/ev-document-factory.c:
1503         (ev_document_factory_get_document):
1504
1505         Do not try to create the object if type
1506         is invalid.
1507
1508 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
1509
1510         * ps/ps-document.c: (ps_document_dispose),
1511         (ps_async_renderer_render_pixbuf):
1512         * ps/ps-document.h:
1513
1514         Do not leak the target window
1515
1516 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
1517
1518         * shell/ev-application.c: (ev_application_init):
1519
1520         Let tbe check file existence for us.
1521         Add a comment about eggrecent mime filter.
1522
1523 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
1524
1525         * data/evince-ui.xml:
1526         * shell/ev-application.c: (ev_application_shutdown),
1527         (ev_application_init), (ev_application_get_toolbars_model),
1528         (ev_application_get_recent_model),
1529         (ev_application_save_toolbars_model):
1530         * shell/ev-application.h:
1531         * shell/ev-window.c: (ev_window_add_recent),
1532         (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1533         (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1534         (ev_window_init):
1535
1536         Use common toolbar and recent models for all windows.
1537         Patch by Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1538
1539 Thu Jul  7 23:10:01 2005  Jonathan Blandford  <jrb@redhat.com>
1540
1541         * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1542         successfully check for gtk_icon_view_get_visible_range.
1543
1544 2005-07-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1545
1546         * djvu/Makefile.am:
1547         * dvi/Makefile.am:
1548         
1549         Fix djvu and dvi backend build.
1550
1551 2005-07-07  Christian Persch  <chpe@cvs.gnome.org>
1552
1553         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1554         (new_separator_pixbuf):
1555
1556         Don't leak windows.
1557
1558 2005-07-07  Christian Persch  <chpe@cvs.gnome.org>
1559
1560         * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1561
1562         HIGification of toolbar editor dialogue.
1563
1564 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
1565
1566         * configure.ac:
1567         * shell/Makefile.am:
1568
1569         Ever build metadata manager since it's just
1570         disabled at runtime now.
1571
1572 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
1573
1574         * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1575         (ev_metadata_manager_get), (ev_metadata_manager_set):
1576         * shell/ev-metadata-manager.h:
1577
1578         Add an _init functions that enabled metadata management
1579         at runtime.
1580
1581         * shell/ev-window.c: (page_changed_cb),
1582         (setup_document_from_metadata), (ev_window_setup_document),
1583         (setup_view_from_metadata), (ev_window_open_uri),
1584         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1585         (ev_window_run_presentation), (ev_window_stop_presentation),
1586         (save_sizing_mode), (ev_window_zoom_changed_cb),
1587         (ev_window_continuous_changed_cb),
1588         (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1589         (window_configure_event_cb):
1590
1591         Remove all ugly metadata define since we deal with it
1592         at runtime now.
1593
1594         * shell/main.c: (load_files_remote), (main):
1595
1596         Add support for dbus cvs head. Hopefully didnt break one
1597         of the other versions now!
1598
1599         If we dont get a response from the dbus server just
1600         give up with it and not enable metadata.
1601
1602 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
1603
1604         * Makefile.am:
1605         * backend/Makefile.am:
1606         * configure.ac:
1607         * cut-n-paste/recent-files/Makefile.am:
1608         * cut-n-paste/toolbar-editor/Makefile.am:
1609         * cut-n-paste/zoom-control/Makefile.am:
1610         * lib/Makefile.am:
1611         * pdf/Makefile.am:
1612         * pixbuf/Makefile.am:
1613         * properties/Makefile.am:
1614         * ps/Makefile.am:
1615         * shell/Makefile.am:
1616         * thumbnailer/Makefile.am:
1617         * tiff/Makefile.am:
1618
1619         Make frontends depend on just libev.
1620         Rework and group CFLAGS/LIBS definitions.
1621         Cleanups.
1622
1623 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
1624
1625         * shell/ev-window:
1626
1627         do not unnecessarily save zoom
1628
1629         * configure.ac:
1630         * lib/ev-file-helpers.c: (ev_dot_dir):
1631         * shell/Makefile.am:
1632         * shell/dummy.cc:
1633
1634         Some cleanups
1635
1636 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
1637
1638         * configure.ac:
1639         
1640         Remove unnecessary dependencies
1641
1642 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
1643
1644         * properties/Makefile.am:
1645         * thumbnailer/Makefile.am:
1646         * tiff/Makefile.am:
1647
1648         Some more cleanups. Was really necessary
1649         but I probably introduced bugs, feel free
1650         to flame :)
1651
1652 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
1653
1654         * backend/Makefile.am:
1655         * configure.ac:
1656         * cut-n-paste/recent-files/Makefile.am:
1657         * cut-n-paste/toolbar-editor/Makefile.am:
1658         * cut-n-paste/zoom-control/Makefile.am:
1659         * lib/Makefile.am:
1660         * pdf/Makefile.am:
1661         * pixbuf/Makefile.am:
1662         * properties/Makefile.am:
1663         * ps/Makefile.am:
1664         * shell/Makefile.am:
1665         * thumbnailer/Makefile.am:
1666         * tiff/Makefile.am:
1667
1668         Use gnome-common macros when possible.
1669         Cleanup dependencies.
1670         Actually disable deprecated where possible.
1671
1672 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
1673
1674         * Makefile.am:
1675         * backend/Makefile.am:
1676         * properties/Makefile.am:
1677         * shell/Makefile.am:
1678         * thumbnailer/Makefile.am:
1679
1680         This should solve the circular dep without
1681         requiring dir reorg!
1682
1683         * shell/ev-window.c: (setup_view_from_metadata):
1684
1685         Never restore window size/position when the
1686         window is already visible.
1687
1688 2005-07-06  Christian Persch  <chpe@cvs.gnome.org>
1689
1690         * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1691
1692         Return a boolean from timeout func. Fix ported from gedit.
1693
1694 2005-07-07  Iñaki Larrañaga  <dooteo@euskalgnu.org>
1695
1696         * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1697
1698 2005-07-06  Carlos Garcia Campos  <carlosgc@gnome.org>
1699
1700         * shell/ev-document-types.c: set "All Documents" as default filter in
1701         open dialog
1702
1703 2005-07-06  Martin Kretzschmar  <martink@gnome.org>
1704
1705         * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1706         (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1707         (ev_metadata_manager_set_boolean): fix value/val thinko.
1708
1709 2005-07-06  Marco Pesenti Gritti  <mpg@redhat.com>
1710
1711         * shell/ev-window.c: (setup_view_from_metadata),
1712         (window_state_event_cb), (window_configure_event_cb),
1713         (ev_window_init):
1714
1715         Remember window position and maximized state
1716
1717 2005-07-06  Christian Persch  <chpe@cvs.gnome.org>
1718
1719         * configure.ac:
1720
1721         Fix DBUS configure checks.
1722
1723         * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1724         (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1725         (ev_metadata_manager_set_boolean):
1726
1727         Plug mem leaks.
1728
1729         * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1730         (ev_window_stop_fullscreen), (ev_window_run_presentation),
1731         (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1732         (ev_window_continuous_changed_cb),
1733         (ev_window_dual_mode_changed_cb), (ev_window_new):
1734
1735         Fix the build without DBUS.
1736
1737 2005-07-06  Marco Pesenti Gritti  <mpg@redhat.com>
1738
1739         * shell/ev-metadata-manager.c: (parse_value), (save_values),
1740         (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1741         (ev_metadata_manager_set_string),
1742         (ev_metadata_manager_set_boolean):
1743         * shell/ev-metadata-manager.h:
1744
1745         Add support for some more types
1746
1747         * shell/ev-view.c: (scroll_to_current_page),
1748         (ev_view_get_continuous), (ev_view_set_continuous),
1749         (ev_view_get_dual_page):
1750         * shell/ev-view.h:
1751         * shell/ev-window.c: (page_changed_cb),
1752         (setup_document_from_metadata), (ev_window_setup_document),
1753         (setup_view_from_metadata), (ev_window_open_uri),
1754         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1755         (ev_window_run_presentation), (ev_window_stop_presentation),
1756         (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1757         (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1758         (ev_window_update_dual_page_action),
1759         (ev_window_continuous_changed_cb),
1760         (ev_window_dual_mode_changed_cb), (ev_window_init):
1761
1762         Remember a bunch of view/document properties. Prolly some
1763         are still missing but it's getting interesting.
1764
1765 2005-07-05  Martin Kretzschmar  <martink@gnome.org>
1766
1767         * configure.ac: check if dbus-binding-tool is installed. Not the
1768         case on current Ubuntu breezy, it seems.
1769
1770 2005-07-05  Luca Ferretti <elle.uca@libero.it>
1771
1772         * data/evince.desktop.in.in:
1773         
1774         Allow open uri lists and add TryExec field.
1775
1776 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
1777
1778         * configure.ac:
1779
1780         Enable dbus when available, do not require a configure
1781         option.
1782
1783 2005-07-05  Christian Persch  <chpe@cvs.gnome.org>
1784
1785         * configure.ac:
1786
1787         Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1788         disabled.
1789
1790 2005-07-05  Carlos Garcia Campos  <carlosgc@gnome.org>
1791             Marco Pesenti Gritti  <mpg@redhat.com>
1792
1793         * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1794         
1795         * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC 
1796         functions to the format required by dbus
1797
1798         * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1799         errors. Use the RPC parameters in the expected way
1800
1801 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
1802
1803         * Makefile.am:
1804         * properties/Makefile.am:
1805         * properties/ev-properties-main.c: (ev_properties_get_pages):
1806
1807         Support all mime types
1808
1809         * shell/Makefile.am:
1810         * thumbnailer/Makefile.am:
1811         * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1812         (evince_thumbnail_pngenc_get):
1813
1814         Use the document factory
1815
1816 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
1817
1818         * backend/Makefile.am:
1819         * backend/ev-document-factory.c:
1820         (mime_type_supported_by_gdk_pixbuf),
1821         (ev_document_type_get_from_mime),
1822         (ev_document_factory_get_document),
1823         (ev_document_factory_get_backend),
1824         (ev_document_factory_get_mime_types),
1825         (ev_document_factory_get_all_mime_types):
1826         * backend/ev-document-factory.h:
1827         * shell/Makefile.am:
1828         * shell/ev-document-types.c: (get_document_from_uri),
1829         (ev_document_types_get_document),
1830         (file_filter_add_mime_list_and_free),
1831         (ev_document_types_add_filters):
1832         * shell/ev-document-types.h:
1833         * shell/ev-job-xfer.c: (ev_job_xfer_run):
1834         * shell/ev-properties-dialog.c:
1835         (ev_properties_dialog_set_document):
1836         * shell/ev-window.c: (ev_window_cmd_file_open),
1837         (ev_window_cmd_save_as):
1838         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1839
1840         Rework document types managing to avoid code duplication
1841         and actually abstract from backend implementations.
1842         Also provide a minimal factory api that can be used by
1843         thumbnailer/properties.
1844
1845 2005-07-05  Christian Persch  <chpe@cvs.gnome.org>
1846
1847         * properties/ev-properties-view.c: (ev_properties_view_set_info):
1848         Plug a mem leak.
1849         * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1850         HIG spacings.
1851
1852 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
1853
1854         * shell/ev-properties-dialog.c
1855         (ev_properties_dialog_set_document): only call
1856         ev_properties_fonts_set_document() if the document implements the
1857         fonts interface
1858
1859 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
1860
1861         * configure.ac:
1862         * properties/Makefile.am:
1863         * properties/ev-properties-view.c:
1864         (ev_properties_view_register_type):
1865         * properties/ev-properties-view.h:
1866         * properties/ev-properties-main.h:
1867
1868         Implement nautilus plugin for properties.
1869         Works only for pdf atm, I need to rework the
1870         document types stuff to get this to work
1871         for all backends...
1872
1873 2005-07-04  Martin Kretzschmar  <martink@gnome.org>
1874
1875         * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1876         (ev_properties_fonts_set_document): use
1877         EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1878
1879 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
1880
1881         * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1882         them
1883         (PlaceImage, tiff2ps_process_page): use
1884         g_ascii_dtostr to convert floats to strings in a locale-safe way.
1885
1886
1887 2005-07-04  Martin Kretzschmar  <martink@gnome.org>
1888
1889         * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1890         (main): to call gnome_authentication_manager_init. Should fix
1891         Bug #308510
1892
1893         * configure.ac: that requires libgnomeui 2.6.0.
1894
1895 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
1896
1897         * tiff/tiff-document.c (tiff_document_ps_export_begin) 
1898         (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1899         use the new tiff2ps interfaces
1900
1901         * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page) 
1902         (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1903
1904         * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1905         structure instead of global variables.  Remove use of static
1906         variables in functions.
1907
1908 2005-07-04  Carlos Garcia Campos <carlosgc@gnome.org>
1909
1910         * shell/ev-page-action.c: unref the completion after setting it to the
1911         entry
1912
1913 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
1914
1915         * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1916         postscript files
1917
1918 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
1919
1920         * shell/ev-window.c (update_action_sensitivity): disable
1921         File->Print if the document does not implement the ps exporter
1922         interface
1923
1924 2005-07-04  Marco Pesenti Gritti  <mpg@redhat.com>
1925
1926         * Makefile.am:
1927         * configure.ac:
1928         * data/evince-properties.glade:
1929         * properties/.cvsignore:
1930         * properties/Makefile.am:
1931         * properties/ev-properties-view.c: (ev_properties_view_dispose),
1932         (ev_properties_view_class_init), (ev_properties_view_format_date),
1933         (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1934         (ev_properties_view_init), (ev_properties_view_new):
1935         * properties/ev-properties-view.h:
1936         * shell/Makefile.am:
1937         * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1938         (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1939         (ev_properties_dialog_new):
1940         * shell/ev-properties-dialog.h:
1941         * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1942         (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1943         (update_progress_label), (job_fonts_finished_cb),
1944         (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1945         * shell/ev-properties-fonts.h:
1946         * shell/ev-properties.c:
1947         * shell/ev-properties.h:
1948         * shell/ev-window.c: (ev_window_setup_document),
1949         (ev_window_cmd_file_properties):
1950
1951         Split the properties pages in two different objects, depend
1952         only on the backend where possible, use widgets instead
1953         of gobject for the glade part, reimplement the dialog
1954         itself with gtk.
1955         I need this to implement nautilus properties page.
1956
1957 2005-07-03  Matthew S. Wilson  <msw@rpath.com>
1958
1959         * tiff/tiff-document.c (tiff_document_ps_export_begin) 
1960         (tiff_document_ps_export_do_page, tiff_document_ps_export_end) 
1961         (tiff_document_document_ps_exporter_iface_init): implement the ps
1962         exporter interface for tiff documents
1963
1964         * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1965         libtiff to implement TIFF postscript export
1966
1967         * tiff/tiff2ps.h: added a header file for external tiff2ps
1968         functions.
1969
1970         * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1971         tiff2ps.h
1972
1973 2005-07-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1974
1975         * shell/ev-view.c: (scroll_to_current_page),
1976         (ev_view_set_fullscreen), (ev_view_set_presentation):
1977         
1978         Scroll to current page when exit from presentation
1979
1980 2005-07-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1981
1982         * shell/ev-window.c: (update_document_mode),
1983         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1984         (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1985         (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1986         
1987         Exit from fullscreen mode when switch to presentation. Fix for
1988         bug 309365
1989
1990 2005-07-02  Matthew S. Wilson  <msw@rpath.com>
1991
1992         * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1993         return NULL if the document does not implement the selection
1994         interface.
1995
1996 2005-07-02  Matthew S. Wilson  <msw@rpath.com>
1997
1998         * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1999         reported height by using the resolution aspect ratio
2000         (tiff_document_render_pixbuf): scale the pixbuf using the
2001         resolution aspect ratio
2002
2003 2005-07-01  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2004
2005         * configure.ac:
2006         
2007         Require libgnomeprint >= 2.5.1. Thanks to Colin Slater 
2008         <kiltedaco@gmail.com>
2009         
2010         * djvu/djvu-document.c: (djvu_document_get_orientation),
2011         (djvu_document_set_orientation), (djvu_document_get_page_size),
2012         (rotate_pixbuf), (djvu_document_render_pixbuf),
2013         (djvu_document_document_iface_init):
2014         * dvi/dvi-document.c: (dvi_document_get_orientation),
2015         (dvi_document_set_orientation), (dvi_document_get_page_size),
2016         (rotate_pixbuf), (dvi_document_render_pixbuf),
2017         (dvi_document_document_iface_init):
2018         
2019         Dvi and djvu backends are ported to new API
2020
2021 Fri Jul  1 00:10:15 2005  Jonathan Blandford  <jrb@redhat.com>
2022
2023         * backend/ev-selection.c: (ev_selection_get_selection_region),
2024         (ev_selection_get_selection_map):
2025         * backend/ev-selection.h:
2026         * pdf/ev-poppler.cc:
2027         * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2028         * shell/ev-jobs.h:
2029         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2030         (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2031         (ev_pixbuf_cache_get_text_mapping):
2032         * shell/ev-pixbuf-cache.h:
2033         * shell/ev-view.c: (location_in_text),
2034         (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2035         support to EvView.  Now we can see where we can select!  Sweet!
2036
2037 2005-06-30  Kristian Høgsberg  <krh@redhat.com>
2038
2039         * shell/ev-view.c (ev_view_button_press_event): Fix
2040         event->y + view->scroll_x typo.
2041
2042 2005-06-30  Kristian Høgsberg  <krh@redhat.com>
2043
2044         * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2045         sub-GdkPixbuf instead of passing dest_x and dest_y.
2046         
2047         * shell/ev-view.c: (view_point_to_doc_point),
2048         (view_rect_to_doc_rect), (ev_view_button_press_event),
2049         (ev_view_motion_notify_event), (compute_new_selection_rect),
2050         (gdk_rectangle_point_in), (compute_new_selection_text),
2051         (compute_selections): Update selection code to keep the selection
2052         around as two points and not as a normalized rectangle, and fix
2053         page level selection in two-column mode.
2054
2055 2005-06-30  Alex Duggan  <aldug@astrolinux.com>
2056
2057         * shell/ev-window.c: (window_configure_event_cb): 
2058         
2059         Fix compilation
2060         
2061 2005-06-30  Marco Pesenti Gritti  <mpg@redhat.com>
2062
2063         * pdf/ev-poppler.cc:
2064
2065         Fix compilation
2066
2067 2005-06-30  Marco Pesenti Gritti  <mpg@redhat.com>
2068
2069         * shell/Makefile.am:
2070         * shell/ev-metadata-manager.c: (item_free),
2071         (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2072         (parse_value), (parseItem), (load_values),
2073         (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2074         (save_values), (save_item), (get_oldest), (resize_items),
2075         (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2076         * shell/ev-metadata-manager.h:
2077
2078         Metadata manager from gedit but modified to use GValue, so that
2079         we dont need to keep converting from strings.
2080
2081         * configure.ac:
2082
2083         ENABLE_METADATA conditional, on when dbus is on
2084
2085         * shell/ev-application.c: (ev_application_open_uri):
2086
2087         Show the window after load so that we can initialize
2088         window size before it's showed.
2089
2090         * shell/ev-window.c: (ev_window_setup_from_metadata),
2091         (ev_window_open_uri), (window_configure_event_cb),
2092         (ev_window_init):
2093
2094         Save and load metadata information about window size.
2095         Not yet keeping states in account.
2096
2097         * shell/main.c: (main):
2098
2099         Shutdown metadata manager.
2100
2101 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
2102
2103         * shell/ev-application-service.xml:
2104         * configure.ac:
2105         * shell/Makefile.am:
2106         * shell/ev-application.c:
2107         * shell/ev-application.h:
2108         * shell/ev-window.c:
2109         * shell/ev-window.h:
2110         * shell/main.c:
2111
2112         Add an optional dbus interface (--enable-dbus).
2113         Rework application code, mainly to be easier to
2114         use "remotely".
2115         Do not open multiple windows with the same document,
2116         spatial evince!
2117
2118 Thu Jun 30 01:50:14 2005  Jonathan Blandford  <jrb@redhat.com>
2119
2120         * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2121         pixbuf iff it exists.
2122
2123 Thu Jun 30 01:43:00 2005  Jonathan Blandford  <jrb@redhat.com>
2124
2125         * shell/*:
2126         * backend/ev-render-context.[ch]:
2127         * backend/ev-selection.[ch]:
2128
2129         Massive changes.  We now support text selection of pdfs, and not
2130         just rectangular selection.  This is pretty broken still, but I
2131         want to get something into CVS.
2132
2133 2005-06-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2134
2135         * pdf/ev-poppler.cc:
2136         
2137         Fix for Bug 309080: crash on window close.
2138         
2139         * shell/ev-page-action.c: (page_changed_cb):
2140         
2141         Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2142         jensgr@gmx.net (Jens Granseuer).
2143
2144 2005-06-25  Marcel Telka  <marcel@telka.sk>
2145
2146         * configure.in (ALL_LINGUAS): Added sk.
2147
2148 2005-06-24  Carlos Garcia Campos  <carlosgc@gnome.org>
2149
2150         * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2151         not a document open
2152
2153 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
2154
2155         * NEWS:
2156         * configure.ac:
2157
2158         Release 0.3.2
2159
2160         * cut-n-paste/recent-files/Makefile.am:
2161
2162         Fix make distcheck
2163
2164 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
2165
2166         * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2167         (pixbuf_document_set_orientation), (rotate_pixbuf),
2168         (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2169         (pixbuf_document_document_iface_init), (pixbuf_document_init):
2170
2171         Implement rotation and cleanup the code a bit.
2172
2173         * tiff/tiff-document.c: (tiff_document_get_page_size),
2174         (tiff_document_get_orientation), (tiff_document_set_orientation),
2175         (rotate_pixbuf), (tiff_document_render_pixbuf),
2176         (tiff_document_document_iface_init), (tiff_document_init):
2177
2178         Implement rotation. Was the quicker solution for the release
2179         but we really need to share this code in the shell.
2180
2181 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
2182
2183         * pdf/ev-poppler.cc:
2184
2185         Enable rotation, require poppler cvs. Fix a leak.
2186
2187 2005-06-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2188
2189         * shell/ev-window.c: (update_action_sensitivity):
2190         
2191         Make properties unsensitive if document backend doesn't provide
2192         any info
2193
2194 2005-06-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2195
2196         * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2197         (bitmap_flip_horizontally), (bitmap_flip_vertically),
2198         (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2199         (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2200         (bitmap_flip_rotate_counter_clockwise):
2201         * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2202         * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2203         (buff_gets):
2204         * dvi/mdvi-lib/common.h:
2205         * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2206         * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2207         (opendvi), (mdvi_reload), (mdvi_init_context),
2208         (mdvi_destroy_context), (mdvi_dopage), (special):
2209         * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2210         * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2211         (file_hash_free), (register_encoding), (parse_spec),
2212         (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2213         (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2214         (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2215         * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2216         (mdvi_register_font_type), (mdvi_unregister_font_type),
2217         (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2218         * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2219         * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2220         (mdvi_hash_destroy_key), (mdvi_hash_reset):
2221         * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2222         (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2223         * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2224         * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2225         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2226         * dvi/mdvi-lib/special.c: (mdvi_register_special),
2227         (mdvi_unregister_special), (mdvi_flush_specials):
2228         * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2229         (t1_font_remove):
2230         * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2231         * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2232         (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2233         (free_font_metrics), (flush_font_metrics):
2234         * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2235         (tt_font_remove):
2236         * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2237         (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2238         (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2239         (dstring_insert), (dstring_new), (dstring_reset):
2240         * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2241         
2242         Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2243         avoid conflict with libtool on FC4
2244         
2245         * shell/ev-window.c: (ev_window_cmd_help_about):
2246         
2247         Update copyright year. Fix for bug 308828.
2248
2249 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
2250
2251         * shell/ev-view.c: (add_scroll_binding_keypad),
2252         (ev_view_binding_activated), (ev_view_class_init),
2253         (on_adjustment_value_changed):
2254         
2255         Bug 170874: Arrow keys switch pages in presentation mode
2256
2257 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
2258
2259         * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2260         
2261         Fix for Bug 308265: Sidebar dissappears coming out of 
2262         Presentation mode
2263
2264 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
2265
2266         * shell/ev-application.c: (ev_application_open):
2267         * shell/ev-document-types.c: (ev_document_types_add_filters),
2268         (ev_document_types_add_filters_for_type):
2269         * shell/ev-document-types.h:
2270         * shell/ev-window.c: (ev_window_cmd_save_as):
2271         
2272         Suggest basename as template when saving, provide filters
2273         for save dialog. It's bug 308402
2274
2275 2005-06-20  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2276
2277         * pdf/ev-poppler.cc:
2278         * shell/ev-sidebar-links.c: (job_finished_callback):
2279         * shell/ev-view.c: (update_find_status_message):
2280         
2281         Some leaks fixed
2282
2283 2005-06-19  Christian Persch  <chpe@cvs.gnome.org>
2284
2285         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2286         (egg_recent_view_uimanager_set_list):
2287
2288         Fix buglet in !show_numbers case.
2289
2290 2005-06-19  Christian Persch  <chpe@cvs.gnome.org>
2291
2292         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2293         (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2294
2295         Use pango ellipsisation.
2296
2297         * pdf/ev-poppler.cc:
2298
2299         Fix refcount leak, from nsh.
2300
2301 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2302
2303         * cut-n-paste/recent-files/Makefile.am:
2304         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2305         * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2306         
2307         Removed EggRecentViewGtk
2308         
2309         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2310         * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2311         * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2312         (ev_window_setup_recent):
2313         
2314         Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2315         with other projects
2316
2317 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2318
2319         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2320         (egg_recent_view_gtk_finalize):
2321
2322         Fix memory leak
2323
2324         * cut-n-paste/toolbar-editor/Makefile.am:
2325         
2326         Fix location of cursor icon.
2327         
2328         * pdf/ev-poppler.cc:
2329         * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2330         (display_completion_text), (match_completion):
2331         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2332         (selection_changed_callback), (create_loading_model),
2333         (print_section_cb), (links_page_num_func),
2334         (update_page_callback_foreach):
2335         * shell/ev-window.c: (ev_window_dispose):
2336         
2337         Small memory fixes. Links model now store objects instead
2338         of pointers to improve memory management. 
2339
2340 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2341
2342         * shell/ev-window.c: (zoom_control_changed_cb):
2343         
2344         Fix update of zoom control (bug 308268).
2345
2346 Sat Jun 18 22:46:42 2005  Jonathan Blandford  <jrb@redhat.com>
2347
2348         * shell/ev-properties.c (set_property): escape the text correctly.
2349         Handles non-UTF-8 properties and escaped properties.  Also, sets
2350         the text to "<i>None</i>" if the property isn't set.
2351
2352         * data/evince-properties.glade: Change the label to be ellipsized,
2353         and give it a minimum size.
2354
2355 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2356
2357         * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2358         * shell/ev-sidebar-links.c: (create_loading_model):
2359         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2360         * shell/ev-view.c: (ev_view_set_document):
2361         * shell/ev-window.c: (ev_window_dispose):
2362         
2363         Various small fixes, mostly memory leaks. Thanks to valgrind.
2364
2365 2005-06-19  Martin Kretzschmar  <martink@gnome.org>
2366
2367         * ps/ps-document.c: remove the locale.h include again ;-). And
2368         kill the (bogus) setlocale/savelocale business.
2369
2370 2005-06-19   Jaap A. Haitsma <jaap@haitsma.org>
2371
2372         * ps/ps-document.c:
2373         
2374         Include locale.h to fix build
2375         
2376         * shell/ev-sidebar.c:
2377         
2378         Remove unnecessary includes
2379
2380 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2381
2382         * dvi/dvi-document.c: (dvi_document_load):
2383         * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2384         * po/POTFILES.in:
2385         
2386         Check for incorrect dvi files. Fix parsing dvi on AMD64
2387         platform. Thanks to tester@tester.ca (Olivier Crete).
2388
2389 2005-06-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2390
2391         * shell/ev-page-action.c: (match_selected_cb),
2392         (display_completion_text), (match_completion), (update_model):
2393         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2394         (expand_open_links):
2395         * shell/ev-sidebar.c: (ev_sidebar_destroy),
2396         (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2397         (ev_sidebar_set_document):
2398         * shell/ev-window.c: (ev_window_xfer_job_cb),
2399         (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2400         
2401         Fixed lot's of memory leaks, for example, memory leak on reload, 
2402         described in bug 307793.
2403
2404 2005-06-18  Marco Pesenti Gritti  <mpg@redhat.com>
2405
2406         * pdf/ev-poppler.cc:
2407         * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2408         (update_visible_range), (adjustment_changed_cb),
2409         (ev_sidebar_thumbnails_fill_model),
2410         (ev_sidebar_thumbnails_refresh),
2411         (ev_sidebar_tree_selection_changed),
2412         (ev_sidebar_icon_selection_changed),
2413         (ev_sidebar_thumbnails_use_icon_view),
2414         (ev_sidebar_thumbnails_set_document):
2415         * shell/ev-sidebar-thumbnails.h:
2416         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2417         (ev_window_cmd_edit_rotate_right), (ev_window_init):
2418
2419         Refresh thumbnails when changing orientation. Not fully
2420         working yet becuase of a sidebar bug.
2421
2422         Set page orientation to poppler page everywhere. This sucks
2423         really need to fix poppler.
2424
2425 2005-06-18  Marco Pesenti Gritti  <mpg@redhat.com>
2426
2427         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2428         (egg_recent_view_gtk_new_menu_item),
2429         (egg_recent_view_gtk_set_property),
2430         (egg_recent_view_gtk_get_property),
2431         (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2432         (egg_recent_view_gtk_set_tooltip_func),
2433         (egg_recent_view_gtk_set_label_width),
2434         (egg_recent_view_gtk_get_label_width):
2435         * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2436
2437         Sync with libegg (ellipsize labels)
2438
2439 2005-06-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2440
2441         * data/evince-ui.xml:
2442         * shell/ev-window.c: (ev_window_cmd_go_forward),
2443         (ev_window_cmd_go_backward):
2444         
2445         Shift + PageUp moves 10 Pages. Fix for 306125
2446
2447 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
2448
2449         * pdf/ev-poppler.cc:
2450
2451         Add a flag to check if orientation has been overriden
2452
2453 2005-06-17  Martin Kretzschmar  <martink@gnome.org>
2454
2455         * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2456         field if necessary.
2457
2458         * ps/ps.h: add creator field to document.
2459
2460         * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2461         set creator field.
2462
2463 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
2464
2465         * data/evince-properties.glade:
2466         * shell/ev-properties.c: (ev_properties_set_document):
2467
2468         s/PDF Version/Format
2469
2470 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
2471
2472         * shell/ev-properties.c: (ev_properties_set_document):
2473
2474         Remove unnecessary translations
2475
2476 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
2477
2478         * cut-n-paste/toolbar-editor/Makefile.am:
2479
2480         Correct library name    
2481
2482 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
2483
2484         * configure.ac:
2485         * cut-n-paste/recent-files/egg-recent-model.c:
2486         (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2487         (egg_recent_model_unlock_file):
2488         * cut-n-paste/recent-files/egg-recent-util.c:
2489         (egg_recent_util_get_unique_id):
2490         * cut-n-paste/recent-files/update-from-egg.sh:
2491         * cut-n-paste/toolbar-editor/Makefile.am:
2492         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2493         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2494         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2495         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2496         (egg_toolbars_model_get_type):
2497         * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2498
2499         Better makefile for toolbar editor and update everything
2500         to latest libegg.
2501
2502 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
2503
2504         * shell/ev-window.c: (update_document_mode):
2505
2506         Prefer presentation mode when the document
2507         require fullscreen.
2508
2509 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
2510
2511         * data/evince-ui.xml:
2512         * shell/ev-window.c:
2513
2514         Add control-equal for zooming
2515
2516 2005-06-17  Theppitak Karoonboonyanan  <thep@linux.thai.net>
2517
2518         * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2519
2520 2005-06-16  Marco Pesenti Gritti  <mpg@redhat.com>
2521
2522         * backend/ev-document.c: (ev_document_get_orientation):
2523         * backend/ev-document.h:
2524         * pdf/ev-poppler.cc:
2525         * ps/ps-document.c: (ps_document_get_orientation),
2526         (ps_document_set_orientation), (ps_document_document_iface_init):
2527
2528         Add a get_orientation api. Improve set_orientation.
2529
2530         * data/evince-ui.xml:
2531         * shell/ev-view.c: (ev_view_set_orientation),
2532         (ev_view_rotate_right), (ev_view_rotate_left):
2533         * shell/ev-view.h:
2534         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2535         (ev_window_cmd_edit_rotate_right):
2536
2537         Better ui for changing document orientation
2538
2539 2005-06-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2540
2541         * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2542         (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2543         * shell/ev-sidebar-links.h:
2544         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2545         (ev_sidebar_page_iface_init):
2546         * shell/ev-sidebar-page.h:
2547         * shell/ev-sidebar-thumbnails.c:
2548         (ev_sidebar_thumbnails_get_property),
2549         (ev_sidebar_thumbnails_class_init),
2550         (ev_sidebar_thumbnails_set_document):
2551         * shell/ev-sidebar-thumbnails.h:
2552         * shell/ev-view.c: (ev_view_motion_notify_event):
2553         * shell/ev-window.c: (update_chrome_visibility),
2554         (ev_window_cmd_focus_page_selector),
2555         (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2556         (sidebar_page_main_widget_update_cb), (ev_window_init):
2557         
2558         Autoraise toolbar on GoToPage binding and fix bindings in
2559         EvSidebarThumbnails page.
2560
2561 2005-06-15  Christian Persch  <chpe@cvs.gnome.org>
2562
2563         * shell/ev-properties.c: (update_progress_label):
2564
2565         Hide the progress label when finished; bug #307697.
2566
2567 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
2568
2569         * pdf/ev-poppler.cc:
2570
2571         Enable is_open for links, you will need poppler cvs
2572
2573         * shell/ev-properties.c: (job_fonts_finished_cb):
2574
2575         Get a lock on the document when filling the tree view
2576
2577 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
2578
2579         * backend/ev-document-links.h:
2580         * pdf/ev-poppler.cc:
2581         * shell/ev-sidebar-links.c: (create_loading_model),
2582         (expand_open_links), (job_finished_callback):
2583
2584         Expand links when specified by the document.
2585         Depend on a poppler api (defined out for now)
2586
2587 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
2588
2589         * shell/ev-properties.c: (ev_properties_dispose),
2590         (ev_properties_class_init), (dialog_destroy_cb),
2591         (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2592         (ev_properties_set_document), (ev_properties_new),
2593         (ev_properties_show):
2594         * shell/ev-properties.h:
2595
2596         Make it an object, cleanup the code, api to show it as transient
2597         and to set the document.
2598
2599         * shell/ev-window.c: (ev_window_setup_document),
2600         (ev_window_cmd_file_properties):
2601
2602         Adapt to EvProperties changes, do not show multiple
2603         times, update it when document changes.
2604
2605 2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>
2606
2607         * ps/gstypes.h:
2608         * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2609         (ps_document_set_orientation), (ps_document_document_iface_init):
2610         * ps/ps-document.h:
2611
2612         Implement orientation here too
2613
2614         * shell/ev-properties.c: (ev_properties_new):
2615         * data/evince-properties.glade:
2616
2617         Hide the fonts page for backends that doesnt
2618         support it.     
2619
2620 2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>
2621
2622         * backend/ev-document.c: (ev_document_set_orientation):
2623         * backend/ev-document.h:
2624         * pdf/ev-poppler.cc:
2625
2626         Add orientation api. Currently poppler api is not optimal,
2627         we need to set orientation every time we _get a page.
2628         I will try to fix that at some point.
2629
2630         * data/evince-ui.xml:
2631         * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2632         (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2633
2634         Add orientation menu items
2635
2636         * shell/ev-page-cache.c: (ev_page_cache_clear):
2637         * shell/ev-page-cache.h:
2638
2639         Add api to clear the cache
2640
2641         * shell/ev-view.c: (setup_caches), (clear_caches),
2642         (ev_view_set_document), (ev_view_zoom_out),
2643         (ev_view_set_orientation):
2644         * shell/ev-view.h:
2645
2646         Implement orientation changing
2647
2648 2005-06-13  Marco Pesenti Gritti <mpg@redhat.com>
2649
2650         * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2651         (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2652         * backend/ev-document-fonts.h:
2653
2654         Separate scan and fill so that we can incrementally fill from
2655         the main thread. Add a progress api.
2656
2657         * data/evince-properties.glade:
2658         * pdf/ev-poppler.cc:
2659         * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2660         * shell/ev-jobs.h:
2661         * shell/ev-properties.c: (update_progress_label),
2662         (job_fonts_finished_cb), (setup_fonts_view):
2663
2664         Incrementally feel the list and show the progress
2665         percentage in a label like acrobat does.
2666
2667         You are going to need poppler cvs
2668
2669 2005-06-11  Marco Pesenti Gritti <mpg@redhat.com>
2670
2671         * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2672         * backend/ev-document-fonts.h:
2673         * pdf/ev-poppler.cc:
2674
2675         Make fonts model fill incrementally.
2676
2677         * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2678         (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2679         (ev_job_queue_remove_job):
2680         * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2681         (ev_job_fonts_new), (ev_job_fonts_run):
2682         * shell/ev-jobs.h:
2683
2684         New job for fonts scanning
2685
2686         * shell/ev-properties.c: (job_fonts_finished_cb),
2687         (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2688         * shell/ev-properties.h:
2689         * shell/ev-window.c: (ev_window_cmd_file_properties):
2690
2691         Incrementally feel the treeview using the new job. Show Loading...
2692         message until scanning is completed.
2693
2694         Hopefully I didnt break the build without the poppler patch.
2695
2696 2005-06-10  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2697
2698         * shell/ev-application.c: (ev_application_open):
2699         * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2700         (ev_document_type_get_type), (ev_document_type_lookup):
2701         * shell/ev-document-types.h:
2702         * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2703         * shell/ev-job-xfer.h:
2704         * shell/ev-window.c: (ev_window_clear_local_uri),
2705         (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2706         (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2707         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2708         
2709         Transfer remote documents to tmp directory to display them later.
2710
2711 2005-06-10  Marco Pesenti Gritti <mpg@redhat.com>
2712
2713         * backend/ev-document-info.h:
2714         * shell/ev-properties.c: (ev_properties_new):
2715
2716         s/GTime*/GTime. Not sure why we was using a pointer
2717         at all there!
2718
2719 Wed Jun  8 01:04:22 2005  Jonathan Blandford  <jrb@redhat.com>
2720
2721         * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2722         situations.  That situation is that you're using GTK+-HEAD with
2723         the patch at #306726 is applied, and you have a document with <
2724         1500 pages in it.  It's not quite as uniformly nice as the
2725         TreeView, but should be better in the long run.
2726
2727         I'm pretty sure I guarded against breaking compilation with
2728         HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2729         I missed some.
2730
2731         * shell/ev-window.c (ev_window_init): We don't have our tree/list
2732         widget yet, so I commented that code out
2733         enable_view_actions_for_widget() for now.  Need to figure this
2734         out.
2735
2736         * shell/ev-page-action.c (match_selected_cb): emit the right
2737         signals.  Our cool C-l completion now works.
2738
2739 2005-06-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2740
2741         * backend/Makefile.am:
2742         * backend/ev-document-fonts.c:
2743         * backend/ev-document-links.c:
2744         * backend/ev-document.c: (ev_document_load):
2745         * backend/ev-document.h:
2746         * backend/ev-job-queue.c:
2747         * backend/ev-job-queue.h:
2748         * backend/ev-jobs.c:
2749         * backend/ev-jobs.h:
2750         * backend/ev-page-cache.c:
2751         * backend/ev-page-cache.h:
2752
2753         EvPageCache and EvJobs are moved to shell.
2754
2755         * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2756         (ev_tmp_filename):
2757         * lib/ev-file-helpers.h:
2758         
2759         New helper to work with temporary files
2760         
2761         * shell/Makefile.am:
2762         * shell/ev-application.c: (ev_application_open):
2763         * shell/ev-application.h:
2764         * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2765         (remove_job_from_async_queue), (add_job_to_async_queue),
2766         (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2767         (handle_job), (search_for_jobs_unlocked),
2768         (no_jobs_available_unlocked), (ev_render_thread),
2769         (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2770         (ev_job_queue_add_job), (move_job_async), (move_job),
2771         (ev_job_queue_update_job), (ev_job_queue_remove_job):
2772         * shell/ev-job-queue.h:
2773         * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2774         (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2775         * shell/ev-job-xfer.h:
2776         * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2777         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2778         (ev_job_links_class_init), (ev_job_render_init),
2779         (ev_job_render_dispose), (ev_job_render_class_init),
2780         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2781         (ev_job_thumbnail_class_init), (ev_job_load_init),
2782         (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2783         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2784         (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2785         (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2786         * shell/ev-jobs.h:
2787         * shell/ev-page-action.c: (ev_page_action_set_document):
2788         * shell/ev-page-cache.c: (ev_page_cache_init),
2789         (ev_page_cache_class_init), (ev_page_cache_finalize),
2790         (ev_page_cache_new), (ev_page_cache_get_n_pages),
2791         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2792         (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2793         (ev_page_cache_get_title), (ev_page_cache_get_size),
2794         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2795         (ev_page_cache_get_height_to_page),
2796         (ev_page_cache_get_max_label_chars),
2797         (ev_page_cache_get_page_label),
2798         (ev_page_cache_has_nonnumeric_page_labels),
2799         (ev_page_cache_get_info), (ev_page_cache_next_page),
2800         (ev_page_cache_prev_page), (ev_page_cache_get):
2801         * shell/ev-page-cache.h:
2802         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2803         (ev_pixbuf_cache_clear_job_sizes),
2804         (ev_pixbuf_cache_add_jobs_if_needed),
2805         (ev_pixbuf_cache_set_page_range):
2806         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2807         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2808         * shell/ev-sidebar-thumbnails.c:
2809         (ev_sidebar_tree_selection_changed),
2810         (ev_sidebar_thumbnails_set_document):
2811         * shell/ev-statusbar.c: (ev_statusbar_destroy),
2812         (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2813         (ev_statusbar_get_context_id), (ev_statusbar_push),
2814         (ev_statusbar_pop), (ev_statusbar_set_maximized),
2815         (ev_statusbar_pulse), (ev_statusbar_show_progress),
2816         (ev_statusbar_set_progress):
2817         * shell/ev-statusbar.h:
2818         * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2819         (ev_view_find_previous):
2820         * shell/ev-window.c: (ev_window_is_empty),
2821         (ev_window_setup_document), (password_dialog_response),
2822         (ev_window_clear_jobs), (ev_window_load_job_cb),
2823         (ev_window_xfer_job_cb), (ev_window_open_uri),
2824         (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2825         (ev_window_print), (ev_window_print_range),
2826         (ev_window_state_event), (ev_window_cmd_view_reload),
2827         (menu_item_select_cb), (menu_item_deselect_cb),
2828         (view_status_changed_cb), (ev_window_dispose),
2829         (drag_data_received_cb), (ev_window_init):
2830         * shell/ev-window.h:
2831         * shell/main.c: (load_files):
2832         
2833         New statusbar to show progress on idle. Two new jobs - 
2834         xfer job and load job to load document in background. And update
2835         of page_cache clients to new location of code.
2836
2837 2005-06-08  Carlos Garcia Campos <carlosgc@gnome.org>
2838   
2839         * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2840         selection in open dialog. It also remembers the last visited directory 
2841         in the current session.
2842
2843 2005-06-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2844
2845         * shell/ev-properties.c: (ev_properties_new):
2846         * shell/ev-properties.h:
2847         * shell/ev-window.c: (ev_window_cmd_file_properties):
2848         
2849         Get document info from page cache instead of document itself.
2850         This should fix crash related to race conditions described in
2851         bug 306545.
2852
2853 2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>
2854
2855         * ps/ps-document.c: (ps_document_init),
2856         (send_ps), (get_page_box), (output), (catchPipe), (input),
2857         (stop_interpreter), (file_length), (file_readable),
2858         (check_filecompressedb), (ps_document_enable_interpreter),
2859         (document_load), (ps_async_renderer_render_pixbuf):
2860         * ps/ps-document.h:
2861
2862         Big cleanup of the ps code
2863
2864 2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>
2865
2866         * backend/Makefile.am:
2867         * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2868         (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2869         * backend/ev-async-renderer.h:
2870
2871         Add an async renderer interface (method + callback) which
2872         is useful for backends like ps.
2873
2874         * backend/ev-job-queue.c: (remove_job_from_async_queue),
2875         (add_job_to_async_queue), (job_finished_cb), (handle_job),
2876         (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2877         (ev_job_queue_add_job), (move_job_async), (move_job),
2878         (ev_job_queue_update_job), (ev_job_queue_remove_job):
2879
2880         Add queues for async renderer, these are executed on the
2881         main thread.
2882
2883         * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2884         (ev_job_render_run):
2885         * backend/ev-jobs.h:
2886
2887         If the backend support async renderer interface use it.
2888
2889         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2890         (setup_pixmap), (ps_document_get_type),
2891         (ps_async_renderer_render_pixbuf),
2892         (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2893
2894         Implement async renderer interface.
2895
2896 2005-06-07  Nickolay V. Shmyrev  <<nshmyrev@yandex.ru>>
2897
2898         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2899
2900         Cleanup links job on exit.
2901
2902 2005-06-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2903
2904         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2905         (drag_data_get_cb), (drag_data_received_cb):
2906         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2907         (drag_data_get_cb), (parse_item_list),
2908         (egg_toolbar_editor_load_actions):
2909         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2910         (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2911         (parse_item_list), (parse_toolbars):
2912         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2913         (dvi_pixbuf_put_pixel):
2914         
2915         Fix gcc 4.0 warnings
2916
2917 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
2918
2919         * ps/ps-document.c: (start_interpreter):
2920
2921         Fix warning when loading ps
2922
2923 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
2924
2925         * ps/ps-document.c: (output):
2926
2927         Fix crash when priting gs error messages.
2928
2929 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
2930
2931         * backend/ev-page-cache.c: (_ev_page_cache_new):
2932         * backend/ev-page-cache.h:
2933
2934         Use a const to return title so that we dont double
2935         free it. Small cleanup and fix a leak.
2936
2937         * shell/ev-window.c: (update_window_title):
2938
2939         strdup value from get_title.
2940
2941 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
2942
2943         * shell/ev-sidebar-links.c: (job_finished_callback),
2944         (ev_sidebar_links_set_document):
2945
2946         Cleanup the old job when changing document
2947
2948 2005-06-05  Nickolay V. Shmyrev  <<nshmyrev@yandex.ru>>
2949
2950         * shell/ev-stock-icons.c:
2951         * shell/ev-stock-icons.h:
2952         * shell/ev-window.c:
2953         
2954         Add stock icons for actions that can appear in toolbar. Fix for
2955         bug 306566.
2956
2957 2005-06-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2958
2959         * backend/ev-page-cache.c: (ev_page_cache_finalize),
2960         (_ev_page_cache_new), (ev_page_cache_get_max_width),
2961         (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2962         * backend/ev-page-cache.h:
2963         * shell/ev-view.c: (scroll_to_current_page),
2964         (view_update_range_and_current_page), (get_page_y_offset),
2965         (get_page_extents), (ev_view_size_request_continuous_dual_page),
2966         (ev_view_size_request_continuous),
2967         (ev_view_zoom_for_size_continuous_and_dual_page),
2968         (ev_view_zoom_for_size_continuous):
2969         
2970         More compact EvView layout in document with pages of different size.
2971
2972 Sat Jun  4 19:20:57 2005  Jonathan Blandford  <jrb@redhat.com>
2973
2974         * shell/ev-window.c (ev_window_cmd_file_properties): fix
2975         compilation.
2976
2977 2005-06-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2978
2979         * shell/ev-view.c: (view_set_adjustment_values):
2980         * shell/ev-window.c: (ev_window_cmd_file_properties):
2981         
2982         A bit different fix for rounding problem but it has no
2983         problems on startup. Make properties window transient to parent.
2984
2985 2005-06-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2986
2987         * pdf/ev-poppler.cc:
2988         
2989         More commenting of font stuff.
2990
2991 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
2992
2993         * pdf/ev-poppler.cc:
2994
2995         Comment out some more fonts stuff. Should really
2996         work without the poppler patch now.
2997
2998 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
2999
3000         * pdf/ev-poppler.cc:
3001
3002         Adapt to api change
3003
3004 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
3005
3006         * data/evince-properties.glade:
3007         * pdf/ev-poppler.cc:
3008         * shell/ev-properties.c: (setup_fonts_view):
3009
3010         Set the column title. Show the dialog only
3011         once everything is setup.
3012         Getting font info can be very slow... will
3013         prolly need to make this threaded too.
3014
3015 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
3016
3017         * backend/Makefile.am:
3018         * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3019         (ev_document_fonts_get_fonts_model):
3020         * backend/ev-document-fonts.h:
3021         * data/evince-properties.glade:
3022         * pdf/ev-poppler.cc:
3023         * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3024         * shell/ev-properties.h:
3025         * shell/ev-window.c: (ev_window_cmd_file_properties):
3026
3027         Implement fonts list. Defined out for now, since it depends
3028         on a not yet committed poppler patch.
3029
3030 Fri Jun  3 21:07:57 2005  Jonathan Blandford  <jrb@redhat.com>
3031
3032         * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3033         page + 1.
3034
3035         * shell/ev-window.c: Make sure we add the timeout when we get a
3036         focus-in event.
3037
3038         * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3039         adjustment->value before calculating the zoom factor to average
3040         out all of our rounding errors.  The page no longer 'drifts' when
3041         resizing.
3042
3043 2005-06-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3044
3045         * data/evince-properties.glade:
3046         * shell/ev-properties.c: (ev_properties_format_date),
3047         (set_property):
3048         
3049         Labels don't expand when the dialogue is resized.
3050         strftime result needs to be converted to UTF-8. Thanks
3051         to Christian Persch <chpe@gnome.org>.
3052
3053 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
3054
3055         * data/evince-properties.glade:
3056
3057         Hide the fonts tab
3058
3059 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
3060
3061         * backend/ev-document-info.h:
3062         * backend/ev-document.c: (ev_document_info_free):
3063         * data/evince-properties.glade:
3064         * pdf/ev-poppler.cc:
3065         * ps/ps-document.c: (ps_document_get_info):
3066         * shell/ev-properties.c: (ev_properties_format_date),
3067         (set_property), (ev_properties_new):
3068         * shell/ev-properties.h:
3069         * shell/ev-window.c: (ev_window_cmd_file_properties):
3070
3071         Rework properties code to take only EvPropertyInfo
3072         in the constructor so that it can be useful for
3073         nautilus plugin too.
3074
3075         Deal with backends that doesnt support some properties.
3076         Make set property code generic.
3077
3078 2005-06-04  Christian Persch <chpe@gnome.org>
3079
3080         * data/evince-properties.glade:
3081
3082         fix spacings, make resizeable, and make data labels
3083         selectable + ellipsised
3084
3085 2005-06-03  Marco Pesenti Gritti <mpg@redhat.com>
3086
3087         * backend/ev-document-info.h:
3088         * data/Makefile.am:
3089         * data/evince-ui.xml:
3090         * pdf/ev-poppler.cc:
3091         * shell/Makefile.am:
3092         * shell/ev-window.c: (update_action_sensitivity),
3093         (ev_window_cmd_file_properties):
3094
3095         Initial go at file properties. Patch by
3096         Emil Soleyman-Zomalan <emil@soleyman.com>.
3097         Needs love see #169583
3098
3099 2005-06-02  Marco Pesenti Gritti <mpg@redhat.com>
3100
3101         * ps/ps-document.c: (output):
3102         * ps/ps.c: (psscan):
3103
3104         Try to render even if psscan fails.
3105
3106 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
3107
3108         * ps/ps.c: (psscan), (pscopydoc):
3109
3110         Port buffered reading code from gv
3111
3112 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
3113
3114         * ps/ps-document.c: (interpreter_message), (output):
3115
3116         Do not fail on interpreter messages
3117
3118 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
3119
3120         * backend/ev-document-misc.c:
3121         (ev_document_misc_get_thumbnail_frame):
3122
3123         Pages can be 0 x 0, dont assert on this case
3124
3125 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3126
3127         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3128         (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3129
3130         Correctly manage our reference on document. Finally the reload
3131         huge leak is gone...
3132
3133 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3134
3135         * ps/ps-document.c: (ps_document_dispose):
3136
3137         Forgot to chain it to the parent. Thanks chpe.
3138
3139 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3140
3141         * ps/ps-document.c: (ps_document_dispose),
3142         (ps_document_class_init), (stop_interpreter), (document_load):
3143
3144         Cleanup dispose a bit. Dont leak the whole pixmap.
3145
3146 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3147
3148         * pdf/ev-poppler.cc:
3149
3150         Release the poppler document on dispose
3151
3152 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3153
3154         * shell/ev-view.c: (ev_view_set_document):
3155
3156         Release ref on the pixbuf cache when changing
3157         document.
3158
3159 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3160
3161         * ps/ps-document.c: (ps_document_get_info):
3162
3163         Fix a double free
3164
3165 2005-05-31  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
3166
3167         * backend/ev-page-cache.c: (ev_page_cache_init),
3168         (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3169         * backend/ev-page-cache.h:
3170         * shell/ev-page-action.c: (page_changed_cb):
3171         
3172         Set page action entry width depending on labels width. Fix
3173         for bug 305202.
3174
3175 2005-05-31  Marco Pesenti Gritti  <mpg@redhat.com>
3176
3177         * backend/ev-link.c: (ev_link_class_init):
3178
3179         Allow -1 as page value (error)
3180
3181 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3182
3183         * shell/ev-sidebar-thumbnails.c:
3184         (ev_sidebar_thumbnails_set_document):
3185         * shell/ev-view.c: (scroll_to_current_page),
3186         (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3187         (page_changed_cb), (on_adjustment_value_changed),
3188         (ev_view_set_document):
3189
3190         Slightly modified patch by Nickolay V. Shmyrev  <nshmyrev@yandex.ru>.
3191         Fix bug 305377
3192
3193 2005-05-29  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3194
3195         * configure.ac:
3196         * djvu/djvu-document.c: (djvu_document_get_page_size):
3197
3198         Require djvulibre CVS. Now djvu loading is much faster. Fix for
3199         bug 301993.
3200
3201 Sat May 28 07:38:03 2005  Jonathan Blandford  <jrb@redhat.com>
3202
3203         * shell/ev-view.c (draw_one_page): modify the expose handling to
3204         get the shadows.
3205
3206         * shell/ev-window.c (update_action_sensitivity): Respect
3207         permissions field.  Kowtow to the man.
3208
3209         * pdf/ev-poppler.cc: Get the permissions field.
3210
3211         * tiff/*c: Make a tiny bit more robust.
3212
3213 2005-05-26  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3214
3215         * djvu/djvu-document.c:
3216         
3217         Pop messages from djvu context message queue.
3218
3219 2005-05-24  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3220
3221         * configure.ac, Makefile.am, shell/Makefile.am:
3222         * tiff/Makefile.am, shell/ev-document-types.c:
3223         
3224         Cleanup tiff configure checks. Fix for bug 305218.
3225
3226 2005-05-24  Maxim V. Dziumanenko <mvd@mylinux.ua>
3227
3228         * configure.ac: Added "uk" to ALL_LINGUAS.
3229
3230 2005-05-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3231
3232         * cut-n-paste/zoom-control/ephy-zoom.c:
3233         (ephy_zoom_get_changed_zoom_level):
3234         * cut-n-paste/zoom-control/ephy-zoom.h:
3235         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3236         (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3237         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3238         (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3239         (zoom_control_changed_cb), (ev_window_init):
3240         
3241         Fix minor points related to moving best fit up. Introduce
3242         "zoom" property and make zoom control change it's value on
3243         notify::zoom signals. Fix for 305080.
3244
3245 2005-05-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3246
3247         * data/evince-ui.xml:
3248         * shell/ev-window.c: (set_view_actions_sensitivity):
3249         
3250         Use + and - as accels for zoom in and zoom out. Fix for 305001.
3251
3252 2005-05-22  Marco Pesenti Gritti  <mpg@redhat.com>
3253
3254         * configure.ac:
3255
3256         Depends on poppler 0.3.2
3257
3258 2005-05-22  Marco Pesenti Gritti  <mpg@redhat.com>
3259
3260         * cut-n-paste/recent-files/egg-recent-item.c:
3261         (egg_recent_item_get_short_name):
3262         * cut-n-paste/toolbar-editor/Makefile.am:
3263         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3264         (new_pixbuf_from_widget):
3265         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3266         * cut-n-paste/toolbar-editor/egg-marshal.c:
3267         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3268         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3269
3270         Sync
3271
3272 Sat May 21 23:18:30 2005  Jonathan Blandford  <jrb@redhat.com>
3273
3274         * tiff/tiff-document.c: Rough TIFF backend.
3275
3276 2005-05-21  Marco Pesenti Gritti  <mpg@redhat.com>
3277
3278         * NEWS:
3279         * configure.ac:
3280         * cut-n-paste/toolbar-editor/Makefile.am:
3281
3282         Release 0.3.1
3283
3284 2005-05-21  Marco Pesenti Gritti  <mpg@redhat.com>
3285
3286         * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3287         (ev_view_find_next), (ev_view_find_previous):
3288
3289         Remove the locks around get_n_results   
3290
3291 2005-05-21  Juerg Billeter  <j@bitron.ch>
3292
3293         * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3294
3295         Pass correct number of pages to poppler.
3296
3297 2005-05-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3298
3299         * configure.ac:
3300         * data/Makefile.am:
3301         * data/evince.desktop.in: 
3302         * data/evince.desktop.in.in:
3303         * po/POTFILES.in:
3304         
3305         Add conditionally dvi and djvu to desktop types. Fix for 304658.
3306
3307 Sat May 21 00:21:30 2005  Jonathan Blandford  <jrb@redhat.com>
3308
3309         * shell/ev-view.c: (view_update_adjustments),
3310         (view_set_adjustment_values): cast adjustmen->value to (int)
3311         before using it.  Otherwise, we get off by a pixel in some
3312         situations.
3313
3314         (draw_one_page): Draw the border on expose.
3315
3316 Fri May 20 22:05:25 2005  Jonathan Blandford  <jrb@redhat.com>
3317
3318         * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3319         adjustment when the mode changes, #304923
3320
3321 Fri May 20 02:00:03 2005  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3322
3323         * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3324         flickering on resize but still use gdk_window_scroll on
3325         scrolling
3326
3327 Fri May 20 01:46:57 2005  Jonathan Blandford  <jrb@redhat.com>
3328
3329         * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3330         option, #170458
3331
3332 Fri May 20 01:27:01 2005  Jonathan Blandford  <jrb@redhat.com>
3333
3334         * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3335         second page on page_changed if possible, #304669
3336
3337 Fri May 20 01:07:15 2005  Jonathan Blandford  <jrb@redhat.com>
3338
3339         * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3340         instead of gtk_widget_queue_draw.  Massive speedups in scrolling.
3341
3342 Fri May 20 01:05:10 2005  Jonathan Blandford  <jrb@redhat.com>
3343
3344         * .cvsignore:
3345         * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3346         (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3347         (ev_view_zoom_for_size_presentation),
3348         (ev_view_zoom_for_size_continuous_and_dual_page),
3349         (ev_view_zoom_for_size_continuous),
3350         (ev_view_zoom_for_size_dual_page),
3351         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3352         * shell/ev-view.h:
3353         * shell/ev-window.c: (update_view_size),
3354         (ev_window_sizing_mode_changed_cb):
3355
3356         Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3357         the scrollbars.  It's not 100% right, but it's much closer.  Kills
3358         an infinite loop, #304769
3359
3360
3361 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
3362
3363         * data/evince-ui.xml:
3364         * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3365         * shell/ev-window.c: (set_view_actions_sensitivity):
3366
3367         Make PgUp/Down behave like Space
3368
3369 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
3370
3371         * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3372         * backend/ev-ps-exporter.h:
3373         * pdf/ev-poppler.cc:
3374         * ps/ps-document.c: (ps_document_ps_export_begin):
3375         * shell/ev-print-job.c: (idle_print_handler):
3376
3377         Adapt to new poppler api
3378
3379 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
3380
3381         * cut-n-paste/zoom-control/ephy-zoom-control.c:
3382         (ephy_zoom_control_init):
3383
3384         Translate zoom levels
3385
3386 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
3387
3388         * cut-n-paste/zoom-control/ephy-zoom.c:
3389         (ephy_zoom_get_zoom_level_index):
3390
3391         Fix current zoom -> zoom control match
3392
3393 2005-05-18  James Bowes  <bowes@cs.dal.ca>
3394
3395         * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3396         rather than the scrolled_window that it's in. Fixes bug #304655.
3397
3398 Tue May 17 22:54:17 2005  Jonathan Blandford  <jrb@redhat.com>
3399
3400         * shell/ev-view.c: (view_update_adjustments),
3401         (view_set_adjustment_values), (view_update_range_and_current_page),
3402         (view_scroll_to_page), (set_scroll_adjustment),
3403         (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3404         (ev_view_scroll), (ev_view_scroll_view),
3405         (ensure_rectangle_is_visible), (find_page_at_location),
3406         (get_link_at_location), (go_to_link), (status_message_from_link),
3407         (ev_view_size_request_continuous_dual_page),
3408         (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3409         (ev_view_unrealize), (ev_view_expose_event),
3410         (ev_view_button_press_event), (ev_view_motion_notify_event),
3411         (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3412         (draw_rubberband), (highlight_find_results), (draw_one_page),
3413         (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3414         (ev_view_init), (find_changed_cb), (page_changed_cb),
3415         (on_adjustment_value_changed), (ev_view_new),
3416         (ev_view_set_document), (ev_view_set_zoom),
3417         (ev_view_set_continuous), (ev_view_set_dual_page),
3418         (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3419         (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3420         (ev_view_zoom_for_size_presentation),
3421         (ev_view_zoom_for_size_continuous_dual_page),
3422         (ev_view_zoom_for_size_continuous),
3423         (ev_view_zoom_for_size_dual_page),
3424         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3425         (ev_view_get_status), (ev_view_set_status),
3426         (update_find_status_message), (ev_view_get_find_status),
3427         (ev_view_set_find_status), (jump_to_find_result),
3428         (jump_to_find_page), (compute_selections), (clear_selection),
3429         (ev_view_select_all), (get_selected_text), (ev_view_copy),
3430         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3431         (ev_view_update_primary_selection),
3432         (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3433         * shell/ev-view.h:
3434         * shell/ev-window.c: (ev_window_open_page_label),
3435         (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3436         (ev_window_init):
3437         * shell/ev-window.h:
3438         * shell/main.c: (load_files):
3439
3440         Massive code clean up from Nickolay Shmyrev.  Keep page offset
3441         when resizing.  Remove the bin_window().  Also, patch from James
3442         Bowes to fix command line page, #300641
3443         
3444 2005-05-17  Marco Pesenti Gritti  <mpg@redhat.com>
3445
3446         * data/evince-ui.xml:
3447         * shell/ev-view.c:
3448         * shell/ev-view.h:
3449         * shell/ev-window.c: (update_action_sensitivity):
3450
3451         Get rid of View->Normal Size, it's just confusing
3452
3453 Tue May 17 00:51:21 2005  Jonathan Blandford  <jrb@redhat.com>
3454
3455         * backend/ev-document-info.h:
3456         * backend/ev-document.c: (ev_document_info_free): Free the
3457         EvDocumentInfo.
3458
3459         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3460         (clear_range), (add_range), (update_visible_range),
3461         (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3462         (ev_sidebar_thumbnails_set_document):
3463         * shell/ev-window.c: (ev_window_setup_document): Only render the
3464         visible thumbnails.  It takes an instant to render, but it uses
3465         much less memory.
3466
3467 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
3468
3469         * shell/ev-sidebar-links.c: (popup_menu_cb):
3470
3471         Select first item
3472
3473 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
3474
3475         * lib/Makefile.am:
3476         * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3477         (button_press_cb), (ev_sidebar_links_construct):
3478
3479         Show the popup menu also on keybindings
3480
3481 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
3482
3483         * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3484         * shell/ev-window.h:
3485
3486         Expose api to print a range (with dialog). Make private _print use
3487         it.
3488
3489         * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3490         (ev_sidebar_links_construct):
3491
3492         Show a print context menu on linkx, it prints the selected
3493         section.
3494
3495 2005-05-15  Carlos Garcia Campos <carlosgc@gnome.org>
3496
3497         * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3498         button.
3499
3500 2005-05-12  Marco Pesenti Gritti  <mpg@redhat.com>
3501
3502         * AUTHORS:
3503
3504         Update
3505
3506         * shell/ev-window.c: (build_comments_string),
3507         (ev_window_cmd_help_about):
3508
3509         Show poppler version/backend and authors
3510
3511 2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>
3512
3513         * cut-n-paste/zoom-control/ephy-zoom.c:
3514         (ephy_zoom_get_zoom_level_index):
3515         * cut-n-paste/zoom-control/ephy-zoom.h:
3516
3517         Move the best fit items at the top of the list
3518
3519 2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>
3520
3521         * shell/ev-marshal.list:
3522         * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3523         (activate_cb), (match_selected_cb), (activate_link_cb),
3524         (connect_proxy), (ev_page_action_class_init):
3525         * shell/ev-page-action.h:
3526
3527         Use signals to notify action activation. Hopefully
3528         I did not break completion since I cant test...
3529
3530         * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3531         (register_custom_actions):
3532
3533         Connect to page selector actions and also grab focus on
3534         the view when activated.
3535
3536 Wed May 11 01:18:29 2005  Jonathan Blandford  <jrb@redhat.com>
3537
3538         * pdf/ev-poppler.cc:
3539         * backend/ev-page-cache.c: make page size calculation consistent
3540         and set it to (int)( width * scale + 0.5).  This makes the weird
3541         line going through the middle of the page go away.
3542
3543         * shell/ev-view.c: move painting the background page after
3544         checking the expose area covers us.
3545
3546 2005-05-11  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3547
3548         * data/evince-password.glade:
3549         
3550         Mark labels as not translatable. Fix for bug 302842.
3551
3552 2005-05-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
3553
3554         * configure.ac: Added "es" to ALL_LINGUAS.
3555
3556 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
3557
3558         * data/evince-toolbar.xml:
3559         * shell/ev-window.c: (update_action_sensitivity),
3560         (ev_window_setup_document), (ev_window_set_page_mode),
3561         (ev_window_init):
3562
3563         Remove some leftover code from jrb first continous
3564         attempt. Use the new actions, we still need good icons
3565         though...
3566
3567 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
3568
3569         * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3570
3571         Update label when connecting proxy. Fix a warning with NULL
3572         page_cache.
3573
3574 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
3575
3576         * data/evince-ui.xml:
3577         * shell/ev-page-action.c: (ev_page_action_grab_focus):
3578         * shell/ev-page-action.h:
3579         * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3580
3581         Add mnemonic for edit toolbar.
3582         ctrl+l focus the page entry.
3583
3584 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
3585
3586         * lib/Makefile.am:
3587         * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3588         (ev_window_init):
3589         * shell/main.c: (main):
3590
3591         Put the toolbar xml in evince own dot dir
3592
3593 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
3594
3595         * shell/ev-window.c: (ev_window_init):
3596
3597         Make the toolbar not removable
3598
3599 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
3600
3601         * data/evince-ui.xml:
3602         * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3603         * shell/ev-sidebar-links.h:
3604         * shell/ev-sidebar-thumbnails.c:
3605         (ev_sidebar_thumbnails_get_treeview):
3606         * shell/ev-sidebar-thumbnails.h:
3607         * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3608         (ev_view_class_init):
3609         * shell/ev-view.h:
3610         * shell/ev-window.c: (update_action_sensitivity),
3611         (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3612         (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3613         (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3614         (ev_window_init):
3615
3616         This is evil... Make space/backspace global accelerators but
3617         enable them only for some widgets (sidebars and view).
3618         I dont like it, but I dont know a better way... :/
3619
3620 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
3621
3622         * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3623         (ev_page_action_widget_finalize),
3624         (ev_page_action_widget_class_init), (update_page_cache):
3625
3626         Keep a weak reference on proxy->page_cache so that we
3627         dont try to disconnect the signal if the object is already
3628         gone. Maybe there is a better way to cleanup reference handling
3629         in page action though...
3630
3631 2005-05-10  Juerg Billeter  <j@bitron.ch>
3632
3633         * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3634         * backend/ev-ps-exporter.h:
3635         * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3636         * ps/ps-document.c: (ps_document_ps_export_begin):
3637         
3638         Change api to pass print range to ps_exporter_begin. The pdf backend
3639         requires this information.
3640         
3641         * shell/ev-print-job.c: (idle_print_handler):
3642         
3643         Adapt to api change
3644
3645 2005-05-10  Juerg Billeter  <j@bitron.ch>
3646
3647         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3648         (idle_print_handler)
3649         * shell/ev-window.c: (ev_window_print):
3650
3651         Support printing page range, based on patch by Amaury Jacquot
3652
3653 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
3654
3655         * data/evince-toolbar.xml:
3656
3657         Add zoom control to available items
3658
3659 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
3660
3661         * shell/ev-window.c: (update_action_sensitivity):
3662
3663         Set slash action insensitive when appropriate
3664
3665 2005-05-10  Christian Persch <chpe@gnome.org>
3666
3667         * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3668
3669         Fix warning on the overflow menu
3670
3671 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
3672
3673         * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3674
3675         Check for uri correctness/existence
3676
3677 2005-05-09  Juerg Billeter  <j@bitron.ch>
3678
3679         * shell/ev-window.c: (using_postscript_printer):
3680
3681         LPD printers use postscript, too
3682
3683 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
3684
3685         * shell/ev-window.c: (register_custom_actions):
3686
3687         The zoom one is actually sort of useful,
3688         put it back
3689
3690 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
3691
3692         * shell/ev-window.c: (register_custom_actions):
3693
3694         Hide page/zoom controls from overflow, they
3695         are useless.
3696
3697 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
3698
3699         * cut-n-paste/update-from-egg.sh:
3700         
3701         Share it between all cut-n-paste subdirs
3702
3703         * cut-n-paste/recent-files/Makefile.am:
3704
3705         Fix to use "global" update-from-egg.sh
3706
3707         * cut-n-paste/recent-files/egg-recent-model.c:
3708         (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3709         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3710         (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3711         (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3712
3713         Update from libegg
3714
3715         * cut-n-paste/toolbar-editor/Makefile.am:
3716
3717         Fix to use "global" update-from-egg.sh
3718
3719         * cut-n-paste/toolbar-editor/eggmarshalers.list:
3720
3721         Update from libegg
3722
3723 2005-05-09  Marco Pesenti Gritti <mpg@redhat.com>
3724
3725         * configure.ac:
3726         * cut-n-paste/Makefile.am:
3727         * cut-n-paste/recent-files/Makefile.am:
3728         * cut-n-paste/toolbar-editor/.cvsignore:
3729         * cut-n-paste/toolbar-editor/Makefile.am:
3730         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3731         (egg_editable_toolbar_get_type), (get_toolbar_position),
3732         (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3733         (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3734         (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3735         (set_item_drag_source), (create_item_from_action), (create_item),
3736         (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3737         (popup_toolbar_context_menu_cb), (free_dragged_item),
3738         (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3739         (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3740         (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3741         (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3742         (item_added_cb), (item_removed_cb),
3743         (egg_editable_toolbar_construct),
3744         (egg_editable_toolbar_disconnect_model),
3745         (egg_editable_toolbar_deconstruct),
3746         (egg_editable_toolbar_set_model),
3747         (egg_editable_toolbar_set_ui_manager),
3748         (egg_editable_toolbar_set_property),
3749         (egg_editable_toolbar_get_property),
3750         (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3751         (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3752         (egg_editable_toolbar_new_with_model),
3753         (egg_editable_toolbar_get_edit_mode),
3754         (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3755         (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3756         (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3757         (new_pixbuf_from_widget), (new_separator_pixbuf),
3758         (update_separator_image), (style_set_cb),
3759         (_egg_editable_toolbar_new_separator_image),
3760         (egg_editable_toolbar_get_model):
3761         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3762         * cut-n-paste/toolbar-editor/egg-marshal.c:
3763         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3764         (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3765         (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3766         (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3767         (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3768         (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3769         (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3770         (editor_drag_data_delete_cb), (drag_data_get_cb),
3771         (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3772         (editor_create_item), (update_editor_sheet), (setup_editor),
3773         (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3774         (parse_item_list), (model_has_action), (update_actions_list),
3775         (egg_toolbar_editor_load_actions):
3776         * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3777         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3778         (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3779         (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3780         (toolbars_item_new), (free_toolbar_node), (free_item_node),
3781         (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3782         (egg_toolbars_model_add_separator), (impl_add_item),
3783         (parse_item_list), (egg_toolbars_model_add_toolbar),
3784         (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3785         (impl_get_item_data), (impl_get_item_type),
3786         (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3787         (egg_toolbars_model_init), (free_toolbar),
3788         (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3789         (egg_toolbars_model_remove_toolbar),
3790         (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3791         (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3792         (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3793         (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3794         (egg_toolbars_model_get_item_data),
3795         (egg_toolbars_model_get_item_type):
3796         * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3797         * cut-n-paste/toolbar-editor/eggmarshalers.list:
3798         * data/Makefile.am:
3799         * data/evince-toolbar.xml:
3800         * data/evince-ui.xml:
3801         * data/hand-open.png:
3802         * po/POTFILES.in:
3803         * shell/Makefile.am:
3804         * shell/ev-window.c: (update_chrome_visibility),
3805         (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3806         (ev_window_dispose), (ev_window_init):
3807
3808         Implement epiphany like toolbar editor. Based on patch by
3809         Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3810
3811 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
3812
3813         * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3814
3815         Use set_cursor instead of set_selection, so that
3816         the keyboard focus moves too.
3817
3818 2005-05-09  Aleksey Kliger <akliger@gmail.com>
3819
3820         * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3821
3822         Fix infinite loop when loading Type1 fonts
3823
3824 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
3825
3826         * data/evince-ui.xml:
3827         * shell/ev-window.c:
3828
3829         Slash -> Find
3830
3831 2005-05-09  Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3832
3833         * configure.ac:
3834
3835         Make --disable really disable
3836
3837 2005-05-07  Juerg Billeter  <j@bitron.ch>
3838
3839         * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3840
3841         Compare page labels even without has_labels set, fixes setting page
3842         with entry
3843
3844 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
3845
3846         * shell/ev-view.c: (ev_view_create_invisible_cursor),
3847         (ev_view_set_cursor), (ev_view_button_press_event),
3848         (ev_view_motion_notify_event), (ev_view_button_release_event),
3849         (ev_view_init):
3850
3851         Implement middle button scrolling. Based on a patch
3852         by Tommi Komulainen <tommi.komulainen@iki.fi>.
3853
3854 2005-05-08  Marco Pesenti Gritti  <mpg@redhat.com>
3855
3856         * shell/ev-document-types.c: (get_slow_mime_type),
3857         (get_document_type_from_mime), (ev_document_type_lookup):
3858         * shell/ev-document-types.h:
3859
3860         Change api to lookup from uri. Do fast lookup first, if the
3861         type is unknown try with data sniffing.
3862
3863         * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3864         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3865
3866         Adapt to api change
3867
3868 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
3869
3870         * thumbnailer/Makefile.am:
3871
3872         Fix distcheck
3873
3874 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
3875
3876         * NEWS:
3877         * configure.ac:
3878
3879         Release 0.3.0
3880
3881         * data/evince-ui.xml:
3882
3883         Hide presentation mode for now
3884
3885         * shell/ev-view.c: (highlight_find_results):
3886
3887         Show current find selection only on current page
3888
3889 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
3890
3891         * shell/ev-view.c: (ev_view_select_all):
3892
3893         Compute size of the actual page, not of
3894         the current one.
3895
3896 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
3897
3898         * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3899         (view_rect_to_doc_rect), (compute_selections),
3900         (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3901         (ev_view_copy), (ev_view_primary_get_cb),
3902         (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3903         (ev_view_button_press_event), (ev_view_motion_notify_event),
3904         (ev_view_button_release_event), (page_changed_cb):
3905
3906         Fix text selection
3907
3908 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
3909
3910         * shell/ev-view.c: (compute_border), (get_page_extents),
3911         (doc_rect_to_view_rect), (highlight_find_results),
3912         (ev_view_bin_expose), (ev_view_select_all),
3913         (ev_view_motion_notify_event), (update_find_status_message),
3914         (jump_to_find_result), (jump_to_find_page):
3915
3916         First go at fixing search, still buggy
3917
3918 2005-05-04  Kristian Høgsberg  <krh@redhat.com>
3919
3920         * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3921         dropdown box and button at the top of the sidebar.
3922
3923 2005-05-02  James Bowes  <bowes@cs.dal.ca>
3924
3925         * configure.ac: Output zoom-control Makefile.
3926         * cut-n-paste/Makefile.am: build zoom-control subdir.
3927         * cut-n-paste/zoom-control/ephy-zoom-action.c:
3928         * cut-n-paste/zoom-control/ephy-zoom-action.h:
3929         * cut-n-paste/zoom-control/ephy-zoom-control.c:
3930         * cut-n-paste/zoom-control/ephy-zoom-control.h:
3931         * cut-n-paste/zoom-control/ephy-zoom.c:
3932         * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3933         from epiphany, and modified to add a separator into the menu.
3934         * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3935         * data/evince-ui.xml: Replace old zoom toolbar actions with new
3936         zoom-control action.
3937         * shell/Makefile.am: Include zoom-control flags.
3938         * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3939         (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3940         (ev_view_zoom_for_size_presentation),
3941         (ev_view_zoom_for_size_continuous_and_dual_page),
3942         (ev_view_zoom_for_size_continuous),
3943         (ev_view_zoom_for_size_dual_page),
3944         (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal): 
3945         s/ev_view_zoom/ev_view_set_zoom/ and make public, add 
3946         ev_view_get_zoom and ev_view_get_sizing_mode.
3947         * shell/ev-view.h:
3948         * shell/ev-window.c: (update_action_sensitivity),
3949         (update_sizing_buttons), (zoom_control_changed_cb),
3950         (register_custom_actions): Initialize and use the zoom-control 
3951         widget.
3952
3953 Sun May  1 00:46:47 2005  Jonathan Blandford  <jrb@redhat.com>
3954
3955         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3956         preview cache back to 1.  Don't know when it got set to 0.
3957         
3958         * shell/ev-view.c: (compute_border), (ev_view_realize),
3959         (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3960         (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3961         (ev_view_get_fullscreen), (ev_view_set_presentation),
3962         (ev_view_get_presentation), (ev_view_set_sizing_mode),
3963         (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3964         * shell/ev-view.h:
3965         * shell/ev-window.c:
3966         (update_chrome_visibility),
3967         (ev_window_cmd_continuous), (ev_window_cmd_dual),
3968         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3969         (update_document_mode), (ev_window_update_fullscreen_action),
3970         (ev_window_fullscreen), (ev_window_unfullscreen),
3971         (ev_window_cmd_view_fullscreen),
3972         (ev_window_update_presentation_action),
3973         (ev_window_run_presentation), (ev_window_stop_presentation),
3974         (ev_window_cmd_view_presentation), (ev_window_state_event),
3975         (ev_window_focus_in_event), (ev_window_focus_out_event),
3976         (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3977         * data/evince-ui.xml: Initial presentation mode.  We should
3978         probably hide this until it's done, as it's quite rough.  Also,
3979         change full-screen to fullscreen and add two getters to EvView.
3980
3981 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
3982
3983         * shell/ev-page-action.c: (update_page_cache),
3984         (ev_page_action_dispose):
3985         * shell/ev-window.c: (destroy_fullscreen_popup),
3986         (ev_window_create_fullscreen_popup):
3987
3988         Use connect_object rather than explicitly
3989         disconnect on dispose.
3990
3991 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
3992
3993         * shell/ev-page-action.c: (update_page_cache),
3994         (ev_page_action_dispose):
3995
3996 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3997
3998         * backend/ev-page-cache.c: (_ev_page_cache_new),
3999         (ev_page_cache_set_page_label),
4000         (ev_page_cache_has_nonnumeric_page_labels):
4001         * backend/ev-page-cache.h:
4002         * shell/ev-page-action.c: (update_pages_label):
4003         
4004         If all page labels are numeric, fallback to default
4005         way to display number of pages. See bug 173185.
4006
4007 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4008
4009         * shell/ev-page-action.c: (ev_page_action_dispose):
4010         * shell/ev-view.c: (view_update_range_and_current_page):
4011         * shell/ev-window.c: (ev_window_dispose):
4012         
4013         Set page on scroll in continuous mode. Fixes bug 301986.
4014         Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4015
4016 2005-04-26  Marco Pesenti Gritti <mpg@redhat.com>
4017
4018         * configure.ac:
4019
4020         Require poppler 0.3.0
4021
4022 2005-04-26  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4023         
4024         * shell/Makefile.am, configure.ac: Fix build problems
4025         with t1lib. Bug 301996.
4026
4027 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4028
4029         * shell/ev-view.c: (ev_view_scroll_event):
4030         
4031         Scroll up increase zoom
4032
4033 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4034
4035         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4036         (ev_view_set_sizing_mode),
4037         (ev_view_zoom_for_size_continuous_and_dual_page),
4038         (ev_view_zoom_for_size_continuous):
4039         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4040         (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4041         (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4042         (ev_window_init):
4043
4044         Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4045         Fix for 165473 and 165472.
4046
4047 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4048
4049         * po/POTFILES.in:
4050         * thumbnailer/Makefile.am:
4051         * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4052         * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4053         * thumbnailer/evince-thumbnailer.schemas.in:
4054         
4055         Make thumbnailer schemas translatable. Fix for bug 301773
4056         
4057         * thumbnailer/evince-thumbnailer-djvu.schemas:
4058         * thumbnailer/evince-thumbnailer-dvi.schemas:
4059         * thumbnailer/evince-thumbnailer.schemas:
4060
4061         Removed files
4062
4063 Sun Apr 24 01:37:39 2005  Jonathan Blandford  <jrb@redhat.com>
4064
4065         * shell/ev-view.c (ev_view_init): forgot to set this.
4066
4067 Sun Apr 24 01:07:27 2005  Jonathan Blandford  <jrb@redhat.com>
4068
4069         * shell/ev-view.c: (find_page_at_location),
4070         (get_link_at_location),
4071         (ev_view_set_show_border), (ev_view_set_spacing),
4072         (ev_view_zoom_for_size_continuous_and_dual_page),
4073         (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4074         Also, add a quick fix measuring of widths.  Also, removed
4075         ev_view_set_spacing and ev_view_set_show_border.
4076         
4077         * shell/ev-window.c: (ev_window_unfullscreen),
4078         (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4079
4080 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4081
4082         * shell/ev-view.c: (view_update_range_and_current_page),
4083         (page_changed_cb):
4084         
4085         Fix crash on exit and scrolling to page in continuous view.
4086
4087 Sat Apr 23 13:13:04 2005  Jonathan Blandford  <jrb@redhat.com>
4088
4089         * TODO:
4090         * backend/ev-page-cache.c: (_ev_page_cache_new),
4091         (ev_page_cache_get_max_width_size),
4092         (ev_page_cache_get_max_height_size):
4093         * backend/ev-page-cache.h:
4094         * data/evince-ui.xml:
4095         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4096         * shell/ev-view.c: (view_update_adjustments),
4097         (view_update_range_and_current_page), (get_bounding_box_size),
4098         (ev_view_size_request_continuous_and_dual_page),
4099         (ev_view_size_request_continuous),
4100         (ev_view_size_request_dual_page),
4101         (ev_view_size_request_single_page), (ev_view_size_request),
4102         (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4103         (ev_view_bin_expose), (ev_view_expose_event),
4104         (ev_view_set_property), (ev_view_get_property),
4105         (ev_view_class_init), (ev_view_init), (ev_view_new),
4106         (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4107         (ev_view_set_dual_page), (ev_view_set_full_screen),
4108         (ev_view_set_presentation), (ev_view_set_sizing_mode),
4109         (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4110         (ev_view_zoom_out), (zoom_for_size_fit_width),
4111         (zoom_for_size_best_fit),
4112         (ev_view_zoom_for_size_continuous_and_dual_page),
4113         (ev_view_zoom_for_size_continuous),
4114         (ev_view_zoom_for_size_dual_page),
4115         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4116         (ev_view_show_cursor), (ev_sizing_mode_get_type):
4117         * shell/ev-view.h:
4118         * shell/ev-window.c: (update_action_sensitivity),
4119         (ev_window_cmd_continuous), (ev_window_cmd_dual),
4120         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4121         (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4122         (ev_window_cmd_view_zoom_out), (update_view_size),
4123         (ev_window_set_sizing_mode), (ev_window_init):
4124
4125         Add Continuous and Dual page modes.
4126
4127 2005-04-23  James Bowes  <bowes@cs.dal.ca>
4128
4129         * dvi/dvi-document.c: (dvi_document_load),
4130         (dvi_document_thumbnails_get_thumbnail),
4131         (dvi_document_init_params): Fix up some mixups between
4132         width and height to correct thumbnail rendering.
4133
4134 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4135
4136         * dvi/mdvi-lib/private.h:
4137         * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4138         
4139         Suppess output for kpathsea during font generation. Thanks to
4140         James Bowes
4141
4142 Fri Apr 22 19:57:46 2005  Jonathan Blandford  <jrb@redhat.com>
4143
4144         * NEWS:
4145         * configure.ac:
4146
4147         Release 0.2.1
4148
4149         * Makefile.am: fix distcheck.
4150
4151 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4152
4153         * shell/ev-sidebar-links.c: (selection_changed_callback),
4154         (update_page_callback), (row_activated_callback),
4155         (job_finished_callback), (ev_sidebar_links_set_document):
4156         
4157         Fix for bug #169901. Double click on links expands tree.
4158
4159 2005-03-14  Bryan Clark  <clarkbw@cvs.gnome.org>
4160
4161         * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4162         hard-coded style. Fix for bug 170111
4163
4164 2005-04-22  Kristian Høgsberg  <krh@redhat.com>
4165
4166         * shell/ev-view.c (highlight_find_results): Remove unnecessary
4167         locking.
4168
4169 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
4170
4171         * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4172
4173 2005-04-22  Marco Pesenti Gritti  <mpg@redhat.com>
4174
4175         * pdf/ev-poppler.cc:
4176         * shell/ev-view.c: (highlight_find_results):
4177
4178         Fix find on single page documents
4179
4180 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
4181
4182         * data/evince.schemas.in: fix for bug 301390
4183
4184 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
4185
4186         * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4187         (ev_view_zoom_out), (ev_view_zoom_normal):
4188         * shell/ev-view.h:
4189         * shell/ev-window.c: (update_action_sensitivity),
4190         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4191         (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4192         (ev_window_cmd_view_normal_size):
4193
4194         Fix normal size zoom. Make zoom in/zoom out unsensitive when
4195         they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4196         better than oom. 
4197
4198 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
4199
4200         * configure.ac:
4201
4202         Depend on 2.57, 2.59 doesnt seem to be necessary
4203
4204 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
4205
4206         * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4207         (create_tool_item):
4208
4209         Put back total number of pages as (1 of 1234)
4210
4211 Thu Apr 21 23:37:52 2005  Jonathan Blandford  <jrb@redhat.com>
4212
4213         * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4214         remove the job.
4215
4216         * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4217         function.  This helps debugging.
4218
4219 2005-04-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4220
4221         * djvu/djvu-document.c: (djvu_document_class_init),
4222         (djvu_document_get_info), (djvu_document_document_iface_init):
4223         * dvi/dvi-document.c: (dvi_document_class_init),
4224         (dvi_document_get_info), (dvi_document_document_iface_init):
4225
4226        Dummy implementation of get_info method for dvi and djvu. Fix
4227        crashes with those backends
4228
4229 2005-04-20  Marco Pesenti Gritti <mpg@redhat.com>
4230
4231         * data/evince.desktop.in:
4232
4233         Add application/x-gzpostscript
4234
4235 2005-04-20  Bryan Clark  <clarkbw@cvs.gnome.org>
4236
4237         * data/evince.schemas.in: Added real long descriptions, 
4238         closes bug 172496 
4239
4240         * README: Added actual text, closes bug 171869
4241
4242 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
4243
4244         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4245
4246         Thumbnail page 0
4247
4248 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
4249
4250         * backend/ev-document-info.h:
4251
4252         s/GDate */GDate so we can just use g_free
4253
4254 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
4255
4256         * shell/ev-window.c: (update_document_mode),
4257         (ev_window_setup_document):
4258
4259         Show the window in fullscreen when specified by
4260         the document
4261
4262 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
4263
4264         * backend/ev-document.c: (ev_document_class_init),
4265         (ev_document_get_info), (ev_document_render_pixbuf):
4266         * backend/ev-document.h:
4267         * backend/ev-page-cache.c: (_ev_page_cache_new):
4268         * pdf/ev-poppler.cc:
4269         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4270         (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4271         * ps/ps-document.c: (ps_document_class_init), (document_load),
4272         (ps_document_get_info), (ps_document_document_iface_init):
4273
4274         Remove get_title from the interface, we can just use document info
4275
4276 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
4277
4278         * backend/Makefile.am:
4279         * backend/ev-document.c: (ev_document_render_get_info):
4280         * backend/ev-document.h:
4281         * pdf/ev-poppler.cc:
4282
4283         Initial support for document info. Based on jrb patch.
4284
4285 2005-04-19  Paolo Borelli <pborelli@katamail.com>
4286
4287         * shell/ev-window.c: (ev_window_state_event),
4288         (ev_window_class_init), (ev_window_init):
4289         
4290         Doesn't show resize grip when maximized. See bug #301053
4291
4292 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4293
4294         * po/POTFILES.in:
4295         
4296         ev-sidebar-thumbnails now has translatable labels
4297         
4298         * shell/Makefile.am:
4299         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4300         (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4301         (ev_sidebar_links_page_iface_init):
4302         * shell/ev-sidebar-links.h:
4303         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4304         (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4305         (ev_sidebar_page_get_label):
4306         * shell/ev-sidebar-page.h:
4307         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4308         (ev_sidebar_thumbnails_set_document),
4309         (ev_sidebar_thumbnails_support_document),
4310         (ev_sidebar_thumbnails_get_label),
4311         (ev_sidebar_thumbnails_page_iface_init):
4312         * shell/ev-sidebar-thumbnails.h:
4313         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4314         (ev_sidebar_set_document):
4315         * shell/ev-sidebar.h:
4316         * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4317         
4318         Small rework of sidebar code. Now sidebar pages should implement
4319         EvSidebarPage interface. That makes page management in EvSidebar
4320         easier. See bug #164811 for details
4321
4322 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4323
4324         * shell/ev-application.c: (ev_application_open):
4325         * shell/ev-document-types.c:
4326         
4327         Fix build error and small problem with application exit
4328
4329 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4330
4331         * thumbnailer/Makefile.am:
4332         * thumbnailer/evince-thumbnailer-djvu.schemas:
4333         * thumbnailer/evince-thumbnailer-dvi.schemas:
4334         
4335         Conditionally install schemas for djvu/dvi thumbnailer
4336
4337 2005-04-18  David Malcolm  <dmalcolm@redhat.com>
4338
4339         * shell/ev-document-types.h: 
4340         * shell/ev-document-types.c: 
4341         New files, handling the mapping from mimetypes to backends
4342         
4343         * shell/ev-window.c: 
4344         * thumbnailer/evince-thumbnailer.c:     
4345         Use the ev-document-types code
4346         
4347         * shell/Makefile.am: 
4348         Added new convenience library libevbackendfactory_la, containing
4349         the new mimetype->backend logic; moved the backends into it.
4350
4351         * thumbnailer/Makefile.am:
4352         Make the thumbnailer link with the libevbackend.la convenience
4353         library, rather than having a duplicate of the backend logic here.
4354
4355 2005-04-18  Paolo Borelli  <pborelli@katamail.com>
4356
4357         * shell/ev-stock-icons.c: constify some vars.
4358         * shell/ev-window.c: ditto.
4359
4360 2005-04-18  Marco Pesenti Gritti  <mpg@redhat.com>
4361
4362         * ps/ps-document.c (get_page_orientation):
4363
4364         Respect document orientation 
4365
4366 2005-04-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4367
4368         * djvu/Makefile.am:
4369         * dvi/Makefile.am:
4370         * shell/Makefile.am:
4371         
4372         Move library dependencies to components.
4373         
4374         * shell/ev-window.c: (update_window_title),
4375         (start_loading_document):
4376         
4377         Fix display of uris with spaces. Bug 168358.
4378
4379 Sat Apr 16 18:53:47 2005  Jonathan Blandford  <jrb@redhat.com>
4380
4381         * shell/ev-sidebar-links.c: (selection_changed_cb):
4382         * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4383         (ev_view_button_release_event), (ev_view_set_document):
4384         * shell/ev-view.h:
4385         * shell/ev-window.c: (find_bar_search_changed_cb):
4386         * shell/ev-window.h: Minor cleanups removing some dead code.
4387
4388 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4389
4390         * backend/ev-page-cache.c: (_ev_page_cache_new):
4391         
4392         Set current page to 0 if document has pages.
4393
4394 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
4395
4396         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4397
4398         Initialize GError to NULL, fix a crash when loading fails.
4399
4400 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
4401
4402         * shell/ev-window.c: (update_view_size):
4403
4404         Calculate shadow size only when there is actually
4405         a shadow.
4406
4407 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
4408
4409         * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4410         * shell/ev-view.h:
4411
4412         Allow setting view spacing, default to 0
4413
4414         * shell/ev-window.c: (ev_window_unfullscreen),
4415         (ev_window_cmd_view_fullscreen), (ev_window_init):
4416
4417         Remove spacing in fullscreen mode
4418
4419 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
4420
4421         * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4422         (ev_view_size_request), (expose_bin_window),
4423         (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4424         * shell/ev-view.h:
4425         * shell/ev-window.c: (ev_window_unfullscreen),
4426         (ev_window_cmd_view_fullscreen):
4427
4428         Do not draw the border in fulscreen
4429
4430 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
4431
4432         * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4433         (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4434         (find_page_at_location), (page_changed_cb):
4435
4436         Rework border calculation, so that I can more easily disable it.
4437         Code somewhat cleaner too.
4438
4439 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
4440
4441         * backend/ev-page-cache.c: (ev_page_cache_init),
4442         (_ev_page_cache_new):
4443
4444         Remove some assertions, documents can have 0 pages.
4445         Make initial current page -1.
4446
4447         * shell/ev-page-action.c: (page_changed_cb):
4448
4449         Show "" if current page is -1
4450
4451         * shell/ev-window.c: (update_action_sensitivity),
4452         (ev_window_setup_document):
4453
4454         When document has 0 pages do not set the view
4455         and make nearly everything insensitive.
4456
4457 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4458
4459         * shell/ev-page-view.c:
4460         * shell/ev-page-view.h:
4461
4462         Remove unused files.
4463         
4464         * shell/ev-sidebar-thumbnails.c:
4465         (ev_sidebar_thumbnails_set_document):
4466         * shell/ev-sidebar.c: (ev_sidebar_set_document),
4467         (ev_sidebar_supports_document):
4468         * shell/ev-sidebar.h:
4469         * shell/ev-window.c: (ev_window_setup_document):
4470         
4471         Doesn't show thumbnails if document has 1 page. Make
4472         sidebar menu entries sensitive only if if they have 
4473         sense. Fix bug 164811. 
4474
4475 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
4476
4477         * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4478         (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4479         (ev_view_zoom_out), (ev_view_set_size):
4480
4481         Rework sizing to deal with documents with not uniform page
4482         size.
4483
4484 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
4485
4486         * backend/ev-page-cache.c: (_ev_page_cache_new):
4487
4488         Fix several page size caching bugs
4489
4490 2005-04-15  Luca Ferretti <elle.uca@libero.it>
4491
4492         * shell/ev-window.c: (set_action_properties):
4493
4494         Make all toolbar items translatable
4495
4496 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
4497
4498         * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4499         (save_page_list), (ps_document_save),
4500         (ps_document_document_iface_init), (ps_document_ps_export_begin),
4501         (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4502         (ps_document_ps_exporter_iface_init):
4503         * ps/ps-document.h:
4504
4505         Based on a patch by J�rg Billeter <j@bitron.ch>
4506         
4507         Implement print and save a copy for the ps backend.
4508
4509 2005-04-14   Marco Pesenti Gritti <mpg@redhat.com>
4510
4511         * backend/ev-document.h:
4512         * djvu/djvu-document.c: (djvu_document_can_get_text),
4513         (djvu_document_document_iface_init):
4514         * dvi/dvi-document.c: (dvi_document_can_get_text),
4515         (dvi_document_document_iface_init):
4516         * pdf/ev-poppler.cc:
4517         * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4518         (pixbuf_document_document_iface_init):
4519         * ps/ps-document.c: (ps_document_can_get_text),
4520         (ps_document_document_iface_init):
4521         * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4522         * shell/ev-window.c: (update_action_sensitivity):
4523
4524         Fix the crash when trying to copy in backends that doesnt
4525         support it. We can implement a better solution once we
4526         do real text selection.
4527
4528 2005-04-12  Marco Pesenti Gritti <mpg@redhat.com>
4529
4530         * data/evince-ui.xml:
4531         * shell/ev-window.c: (ev_window_cmd_escape):
4532         
4533         Work around the Escape conflict (find bar and unfullscreen)
4534
4535 2005-04-12  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
4536
4537         * backend/ev-page-cache.c: (ev_page_cache_next_page):
4538         
4539         Fix for #300233. Next page correctly handles document end.
4540         
4541         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4542         (ev_sidebar_thumbnails_class_init),
4543         (ev_sidebar_thumbnails_set_document),
4544         (ev_sidebar_thumbnails_clear_job),
4545         (ev_sidebar_thumbnails_clear_model):
4546         
4547         Cleanup thumbnail jobs on document changes.
4548         
4549         * shell/ev-view.c: (add_scroll_binding_keypad),
4550         (add_scroll_binding_shifted), (ev_view_class_init):
4551         
4552         Shift + Space scrolls up. Fix for #173184
4553         
4554         * shell/ev-window.c: (ev_window_open_page),
4555         (ev_window_cmd_view_reload):
4556         
4557         Fix reload (Bug #300094)
4558
4559 2005-04-09  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4560
4561         
4562         * dvi/mdvi-lib/assoc.c:
4563         * dvi/mdvi-lib/assoc.h: Removed garbage files
4564         
4565         * dvi/mdvi-lib/bitmap.c:
4566         * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4567         (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4568         * dvi/mdvi-lib/color.h: Antialias of rules
4569         
4570         * dvi/mdvi-lib/common.h:
4571         * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4572         (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4573         * dvi/mdvi-lib/files.c:
4574         * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4575         * dvi/mdvi-lib/mdvi.h:
4576         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4577         * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4578         * dvi/mdvi-lib/util.c: Fix compile warnings
4579         
4580         * dvi/dvi-document.c:
4581         (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4582         (dvi_document_thumbnails_get_thumbnail),
4583         (dvi_document_document_thumbnails_iface_init):
4584         * dvi/mdvi-lib/Makefile.am:
4585         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4586         (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4587         
4588         Dvi backend now renders thumbnails
4589
4590 2005-04-09  Christian Persch  <chpe@cvs.gnome.org>
4591
4592         * shell/main.c: (main): 
4593         
4594         Save accelerators on exit. Fixes bug #172095.
4595
4596 Sat Apr  9 01:05:09 2005  Jonathan Blandford  <jrb@redhat.com>
4597
4598         * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4599         update priority" comment.
4600
4601         * backend/ev-job-queue.c: Give a way to change priority.
4602
4603 Sat Apr  9 00:05:36 2005  Jonathan Blandford  <jrb@redhat.com>
4604
4605         * shell/ev-page-action.c: Fix logic.
4606
4607 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
4608
4609         * shell/ev-view.c: (ev_view_can_find_next):
4610         * shell/ev-window.c: (ev_window_setup_document):
4611
4612         Check that the document supports find
4613
4614 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
4615
4616         * data/evince-ui.xml:
4617         * shell/ev-view.c: (ev_view_can_find_next):
4618         * shell/ev-view.h:
4619         * shell/ev-window.c: (update_action_sensitivity),
4620         (find_changed_cb), (ev_window_setup_document),
4621         (ev_window_cmd_edit_find_next):
4622
4623         Add Edit->Find Next
4624
4625 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
4626
4627         * pdf/ev-poppler.cc:
4628         * shell/ev-print-job.c: (idle_print_handler):
4629
4630         Make printing work again
4631
4632 Fri Apr  8 01:12:24 2005  Jonathan Blandford  <jrb@redhat.com>
4633
4634         * shell/ev-page-action.h:
4635         * shell/ev-page-action.c: (ev_page_action_widget_init),
4636         (ev_page_action_widget_class_init), (page_changed_cb),
4637         (create_tool_item), (update_page_cache), (build_new_tree_cb),
4638         (get_filter_model_from_model), (match_selected_cb),
4639         (display_completion_text), (match_completion), (update_model),
4640         (connect_proxy), (ev_page_action_set_property),
4641         (ev_page_action_get_property), (ev_page_action_set_document),
4642         (ev_page_action_set_model), (ev_page_action_class_init): Big
4643         reworking to make completions work iff we have >= GTK-2.7.0
4644                 
4645         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4646         (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4647         (job_finished_cb): We now have a 'model' property that is set when
4648         the links are loaded.  This can be caught with "notify::model"
4649
4650         * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4651         listen for the model to be set, and propagate it to the action.
4652
4653 2005-04-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4654
4655         * cut-n-paste/recent-files/egg-recent-item.c:
4656         (egg_recent_item_set_uri), (make_valid_utf8),
4657         (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4658         * cut-n-paste/recent-files/egg-recent-item.h:
4659         
4660         Update egg-recent from libegg. This should fix long
4661         startup problem. For details see
4662         http://bugzilla.gnome.org/show_bug.cgi?id=160531
4663
4664 2005-04-07  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4665
4666         * cut-n-paste/recent-files/Makefile.am:
4667         * data/evince-ui.xml, shell/Makefile.am:
4668         * shell/ev-application.c, shell/ev-application.h:
4669         * shell/ev-window.c: Recent files support.
4670         
4671         * configure.ac: Added "ru" to ALL_LINGUAS.
4672         
4673         * dvju: new backend to support DJVU files.
4674         * dvi: new backend to support DVI.
4675
4676         * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4677         * ev-application.c: Support for new backends.
4678         
4679         * help, ev-window.c, main.c shell/Makefile.am: 
4680         Evince user documentation.
4681
4682 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
4683
4684         * po/POTFILES.in:
4685         * shell/ev-window.c:
4686         * thumbnailer/evince-thumbnailer.c:
4687
4688         s/pdf-document/ev-poppler
4689
4690 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
4691
4692         * NEWS:
4693         * configure.ac:
4694
4695         Release 0.2.0
4696
4697         * ps/ps-document.c: (setup_pixmap):
4698
4699         Remove debug code
4700
4701 2005-04-05  Kristian Høgsberg  <krh@redhat.com>
4702
4703         * backend/ev-page-cache.c (ev_page_cache_next_page): 
4704         * shell/ev-window.c (ev_window_cmd_go_next_page) 
4705         (ev_window_cmd_go_first_page): Fix of by one errors.
4706
4707 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
4708
4709         * ps/ps-document.c: (get_page_box):
4710
4711         Fix page size calculation
4712
4713 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
4714
4715         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4716         (ps_document_cleanup), (setup_pixmap), (get_page_box),
4717         (get_page_orientation), (setup_page), (document_load),
4718         (ps_document_get_page_size), (render_pixbuf_idle):
4719         * ps/ps-document.h:
4720
4721         More refactoring to adapt to EvDocument changes
4722
4723 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
4724
4725         * ps/ps-document.c: (start_interpreter):
4726
4727         Actually add alpha args
4728
4729 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
4730
4731         * pdf/ev-poppler.cc:
4732
4733         Make clipboard work again
4734
4735 2005-04-04  Kristian Høgsberg  <krh@redhat.com>
4736
4737         Make searching work again.
4738         
4739         * backend/ev-document.c:
4740         * backend/ev-document.h:
4741         * backend/ev-document-find.c:
4742         * backend/ev-document-find.h: Change EvDocumentIface so we no
4743         longer store the current page or zoom level in the document.  The
4744         consequence is that all calls that operate on the current page now
4745         instead take the page number as an extra argument, and all
4746         coordinates are now doubles in document coordinate system.
4747
4748         * pdf/ev-poppler.cc:
4749         * pixbuf/pixbuf-document.c:
4750         * ps/ps-document.c: Update backends accordingly.
4751
4752 2005-04-04  Marco Pesenti Gritti <marco@gnome.org>
4753
4754         * autogen.sh:
4755
4756         Add required gettext version
4757
4758 Sat Apr  2 18:57:00 2005  Jonathan Blandford  <jrb@redhat.com>
4759
4760         * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4761         make F1 bring up non-existent help.
4762
4763         * shell/eggfindbar.c: Patch from Christian Persch to sync to
4764         epiphany's find bar, #167477
4765
4766         * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4767         <emil@nishra.com> to add space-bar scrolling, 
4768
4769         * shell/ev-window.c (static GtkActionEntry entries): add default
4770         keybinding for Help (F1)
4771         Fixes #171068
4772
4773         * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4774         changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4775         170110
4776
4777 2005-04-01  David Malcolm  <dmalcolm@redhat.com>
4778
4779         * Makefile.am: 
4780         * pixbuf/pixbuf-document.c: 
4781
4782         Got pixbuf backend working again
4783
4784 2005-04-01  Steve Murphy  <murf@e-tools.com>
4785
4786         * configure.in: Added "rw" to ALL_LINGUAS.
4787
4788 Fri Apr  1 02:33:41 2005  Jonathan Blandford  <jrb@redhat.com>
4789
4790         * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4791         model types, noticed by Martin Kretzschmar.
4792
4793 2005-04-01  Kristian Høgsberg  <krh@redhat.com>
4794
4795         * pdf/ev-poppler.cc: Implement search based on
4796         poppler_page_find_text().  Currently a bit crude since we remember
4797         all matches from all pages.  Also, we grab the big document lock
4798         when we search since searching changes the underlying stream and
4799         thus conflicts with the rendering thread.
4800         
4801         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4802         (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4803         (ev_view_find_previous): Fix some page indexes to be 0 based,
4804         offset rubber band by view offset,
4805
4806 Fri Apr 01 09:21:12 2005  Pablo Saratxaga  <pablo@mandrakesoft.com>
4807
4808         * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4809
4810 Fri Apr  1 01:59:39 2005  Jonathan Blandford  <jrb@redhat.com>
4811
4812         * shell/ev-page-action.c: Changed to use page labels now.  Rewrote
4813         completely because I didn't understand GtkActions.  I should
4814         read Marco's code more carefully in the future.
4815
4816         * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4817         function
4818
4819 2005-03-31  Kristian Høgsberg  <krh@redhat.com>
4820
4821         * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4822         PopplerRectangle change from poppler CVS.
4823
4824 Thu Mar 31 13:27:50 2005  Jonathan Blandford  <jrb@redhat.com>
4825
4826         * backend/ev-document.c: (ev_document_get_page_label):
4827         * backend/ev-document.h:
4828         * backend/ev-page-cache.c: (_ev_page_cache_new),
4829         (ev_page_cache_get_page_label):
4830         * backend/ev-page-cache.h:
4831         * pdf/ev-poppler.cc:
4832         * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4833         (links_page_num_func):
4834         * shell/ev-sidebar-thumbnails.c:
4835         (ev_sidebar_thumbnails_set_document):
4836         * shell/ev-view.c: (status_message_from_link),
4837         (ev_view_motion_notify_event):
4838         * shell/ev-window.c: (document_supports_sidebar): Add in page
4839         label support.  It's not perfect yet, but it's the first 'feature'
4840         in a while.
4841         Also, fix a bogus comment noticed by crispin. 
4842
4843 Thu Mar 31 01:21:58 2005  Jonathan Blandford  <jrb@redhat.com>
4844
4845         * Makefile.am: Remove pixbuf backend for now
4846
4847         * configure.ac: Require poppler-glib instead of just poppler.
4848
4849         * backend/ev-document-thumbnails.h: Add a comment
4850
4851         * backend/ev-document.h:
4852         * backend/ev-document.c: (ev_document_class_init),
4853         (ev_document_load), (ev_document_get_link),
4854         (ev_document_get_links): Remove 3 methods and add get_links.
4855         Also, made 0 based.
4856
4857         * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4858         * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4859
4860         * backend/ev-link.c: (ev_link_set_title),
4861         (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4862         (ev_link_mapping_find):
4863         * backend/ev-link.h: Allow NULL titles.  Also, introduce a mapping link.
4864         
4865         * backend/ev-page-cache.c: (ev_page_cache_init),
4866         (_ev_page_cache_new), (ev_page_cache_set_current_page),
4867         (ev_page_cache_get_size), (ev_page_cache_next_page),
4868         (ev_page_cache_prev_page): Fix to be 0 based.
4869
4870         * pdf/Makefile.am: 
4871         * pdf/ev-poppler.h:
4872         * pdf/ev-poppler.cc: New backend.
4873         
4874         * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4875         (ps_document_get_page), (ps_document_document_iface_init):
4876
4877         * shell/ev-pixbuf-cache.h:
4878         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4879         (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4880         (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4881         (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4882         (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4883         Fix up code to grab a page cache per each doc.  Also, fix to be 0
4884         based.
4885         
4886         * shell/ev-sidebar-thumbnails.c:
4887         (ev_sidebar_tree_selection_changed), (page_changed_cb),
4888         (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4889
4890         * shell/ev-view.c: (status_message_from_link),
4891         (find_page_at_location), (get_link_at_location),
4892         (ev_view_motion_notify_event), (ev_view_button_release_event),
4893         (ev_view_init): Use the new link code.  Fix to be 0 based.
4894
4895         * shell/ev-window.c: (update_action_sensitivity),
4896         (document_supports_sidebar): 0 based.
4897
4898 Fri Mar 25 16:55:58 2005  Jonathan Blandford  <jrb@redhat.com>
4899
4900         * pdf/pdf-document.cc: Patch from Fernando Herrera
4901         <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4902         *blush*
4903
4904 Wed Mar 23 23:49:41 2005  Jonathan Blandford  <jrb@redhat.com>
4905
4906         * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4907         1 to the page, as this seems to be 1 based.  I thought we has this
4908         fixed.  grump.
4909
4910 2005-03-23  Marco Pesenti Gritti <marco@gnome.org>
4911
4912         * TODO:
4913         * backend/Makefile.am:
4914         * backend/ev-document-links.c:
4915         (ev_document_links_has_document_links),
4916         (ev_document_links_get_links_model):
4917         * backend/ev-document-links.h:
4918         * backend/ev-document.c: (ev_document_get_page_cache),
4919         (ev_document_get_doc_mutex), (ev_document_load),
4920         (ev_document_save), (ev_document_get_title),
4921         (ev_document_get_n_pages), (ev_document_set_page),
4922         (ev_document_get_page), (ev_document_set_target),
4923         (ev_document_set_scale), (ev_document_set_page_offset),
4924         (ev_document_get_page_size), (ev_document_get_text),
4925         (ev_document_get_link), (ev_document_render),
4926         (ev_document_render_pixbuf), (ev_document_scale_changed):
4927         * backend/ev-document.h:
4928         * backend/ev-job-queue.c: (remove_object_from_queue),
4929         (notify_finished), (handle_job), (search_for_jobs_unlocked),
4930         (no_jobs_available_unlocked), (ev_render_thread),
4931         (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4932         (ev_job_queue_remove_job):
4933         * backend/ev-job-queue.h:
4934         * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4935         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4936         (ev_job_links_class_init), (ev_job_render_init),
4937         (ev_job_render_dispose), (ev_job_render_class_init),
4938         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4939         (ev_job_thumbnail_class_init), (ev_job_finished),
4940         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4941         (ev_job_render_run), (ev_job_thumbnail_new),
4942         (ev_job_thumbnail_run):
4943         * backend/ev-jobs.h:
4944         * backend/ev-link.c:
4945         * backend/ev-link.h:
4946         * backend/ev-page-cache.c: (ev_page_cache_init),
4947         (ev_page_cache_class_init), (ev_page_cache_finalize),
4948         (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4949         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4950         (ev_page_cache_set_link), (ev_page_cache_get_title),
4951         (ev_page_cache_get_size), (ev_page_cache_next_page),
4952         (ev_page_cache_prev_page):
4953         * backend/ev-page-cache.h:
4954         * pdf/pdf-document.cc:
4955         * ps/gsdefaults.c:
4956         * ps/gsdefaults.h:
4957         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4958         (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4959         (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4960         (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4961         (is_interpreter_ready), (output), (catchPipe), (input),
4962         (start_interpreter), (check_filecompressed), (compute_dimensions),
4963         (ps_document_enable_interpreter), (document_load),
4964         (ps_document_next_page), (render_page), (ps_document_set_page),
4965         (ps_document_set_scale), (render_pixbuf_idle),
4966         (ps_document_render_pixbuf), (ps_document_document_iface_init):
4967         * ps/ps-document.h:
4968         * shell/Makefile.am:
4969         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4970         (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4971         (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4972         (ev_pixbuf_cache_new), (job_finished_cb),
4973         (check_job_size_and_unref), (move_one_job),
4974         (ev_pixbuf_cache_update_range), (find_job_cache),
4975         (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4976         (ev_pixbuf_cache_add_jobs_if_needed),
4977         (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4978         * shell/ev-pixbuf-cache.h:
4979         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4980         (idle_print_handler):
4981         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4982         (selection_changed_cb), (create_loading_model),
4983         (ev_sidebar_links_construct), (links_page_num_func),
4984         (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4985         (update_page_callback), (job_finished_cb),
4986         (ev_sidebar_links_set_document):
4987         * shell/ev-sidebar-thumbnails.c:
4988         (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4989         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4990         (page_changed_cb), (thumbnail_job_completed_callback),
4991         (ev_sidebar_thumbnails_set_document):
4992         * shell/ev-sidebar-thumbnails.h:
4993         * shell/ev-sidebar.c: (ev_sidebar_set_document):
4994         * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4995         (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4996         (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4997         (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4998         (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4999         (ev_view_button_release_event), (ev_view_scroll_view),
5000         (ev_view_class_init), (ev_view_init), (update_find_status_message),
5001         (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5002         (ev_view_new), (job_finished_cb), (page_changed_cb),
5003         (ev_view_set_document), (go_to_link), (ev_view_zoom),
5004         (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5005         (ev_view_find_previous):
5006         * shell/ev-view.h:
5007         * shell/ev-window.c: (update_action_sensitivity),
5008         (ev_window_open_page), (update_window_title), (update_total_pages),
5009         (page_changed_cb), (ev_window_setup_document),
5010         (password_dialog_response), (ev_window_cmd_save_as),
5011         (ev_window_print), (ev_window_cmd_go_previous_page),
5012         (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5013         (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5014         (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5015         * shell/main.c: (main):
5016
5017         Merge evince-threads branch
5018
5019 2005-03-16  Žygimantas Beručka  <uid0@akl.lt>
5020
5021         * configure.ac: Added "lt" to ALL_LINGUAS.
5022
5023 2005-03-14  Marco Pesenti Gritti  <marco@gnome.org>
5024
5025         * NEWS:
5026         * configure.ac:
5027
5028         Release 0.1.9
5029
5030 2005-03-13  Fernando Herrera  <fherrera@onirica.com>
5031
5032         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5033
5034         Fix here also the thumbnails 1-basedness :)
5035
5036 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
5037
5038         * NEWS:
5039         * configure.ac:
5040
5041         Release 0.1.8
5042
5043 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
5044
5045         * pdf/pdf-document.cc:
5046         * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5047         (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5048
5049         Fix the mess we did with thumbnails and 1-basedness
5050
5051 2005-03-12  Changwoo Ryu  <cwryu@debian.org>
5052
5053         * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5054
5055 2005-03-09  Marco Pesenti Gritti  <marco@gnome.org>
5056
5057         * NEWS:
5058         * configure.ac:
5059
5060         Release 0.1.7
5061
5062 2005-03-08  Marco Pesenti Gritti  <marco@gnome.org>
5063
5064         * ps/Makefile.am:
5065         * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5066         (gtk_gs_defaults_get_alpha_parameters),
5067         (gtk_gs_defaults_get_ungzip_cmd),
5068         (gtk_gs_defaults_get_unbzip2_cmd):
5069         * ps/gsdefaults.h:
5070         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5071         (ps_document_get_orientation), (document_load),
5072         (ps_document_goto_page), (ps_document_set_page_size):
5073         * ps/ps-document.h:
5074
5075         Some more sanitization of the ps backend. Remove a lot
5076         of unused code and do not base our defaults on ggv
5077         preferences (ugh!)
5078
5079 2005-03-08  Fernando Herrera  <fherrera@onirica.com>
5080
5081         * thumbnailer/evince-thumbnailer.schemas:
5082         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5083         (main): add -s option for thumbnail size.
5084
5085 2005-03-07  Christian Persch  <chpe@cvs.gnome.org>
5086
5087         * configure.ac:
5088
5089         AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5090         remove it.
5091
5092 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
5093
5094         * pdf/pdf-document.cc:
5095
5096         Remove 4 pixels of useless border from the
5097         thumbnail.
5098
5099 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
5100
5101         * backend/ev-document-thumbnails.c:
5102         (ev_document_thumbnails_get_thumbnail):
5103         * backend/ev-document-thumbnails.h:
5104
5105         Rework API a bit. Add a border flag and
5106         change sizing logic (now the size we specify
5107         applies to the bigger dimension).
5108
5109         * pdf/pdf-document.cc:
5110         * pixbuf/pixbuf-document.c:
5111         (pixbuf_document_thumbnails_get_thumbnail):
5112         * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5113         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5114
5115         Adapt to the new API and do not draw a border for nautilus
5116         thumbnailer.
5117
5118 2005-03-03  Fernando Herrera  <fherrera@onirica.com>
5119
5120         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5121         take thumbnails from page "0" instead of "1". Added a copyright header.
5122
5123 2005-03-03  Jens Granseuer  <jensgr@gmx.net>
5124
5125         * ps/ps-document.c: (set_up_page), (start_interpreter):
5126
5127         Make it C89 compliant
5128
5129 2005-03-03  Marco Pesenti Gritti  <marco@gnome.org>
5130
5131         * Makefile.am:
5132         * configure.ac:
5133         * pdf/.cvsignore:
5134         * pdf/pdf-document.cc:
5135         * thumbnailer/Makefile.am:
5136         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5137         (main):
5138         * thumbnailer/evince-thumbnailer.schemas:
5139         * thumbnailer/pdf-icon.png:
5140
5141         Add a nautilus thumbnailer.
5142         Based on patch by Fernando Herrera <fherrera@onirica.com>.
5143
5144 2005-03-02  Marco Pesenti Gritti  <marco@gnome.org>
5145
5146         * NEWS:
5147         * configure.ac:
5148         * po/POTFILES.in:
5149
5150         Release 0.1.6
5151
5152 2005-03-01  Kristian Høgsberg  <krh@redhat.com>
5153
5154         Use poppler instead of including xpdf source code.  Poppler is a
5155         fork of xpdf to build it as a shared library. See
5156         http://freedesktop.org/wiki/Software/poppler.
5157
5158         * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5159         xpdf fork.
5160         
5161         * pdf/Makefile.am: Build libpdfdocument.a here.
5162         
5163         * pdf/GDKSplashOutputDev.cc:
5164         * pdf/GDKSplashOutputDev.h:
5165         * pdf/GnomeVFSStream.cc:
5166         * pdf/GnomeVFSStream.h:
5167         * pdf-document.cc:
5168         * pdf-document.h:
5169         * test-gdk-output-dev.cc
5170         * Thumb.cc:
5171         * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5172         against poppler.
5173
5174 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5175
5176         * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5177
5178         Clear idle stack before unsetting the document
5179
5180 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5181
5182         * ps/ps-document.c: (ps_document_widget_event),
5183         (ps_document_set_target), (ps_document_finalize),
5184         (ps_document_get_page):
5185
5186         Disconnect the widget event signal on finalize.
5187         Some code cleanups.
5188
5189 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5190
5191         * ps/ps-document.c: (set_up_page):
5192
5193         If there is no bpixmap create one, even if size
5194         is not changed.
5195
5196 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5197
5198         * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5199         (set_up_page), (document_load), (ps_document_set_zoom):
5200
5201         Default page is 0. Calculate size even when we have no
5202         target yet.
5203
5204 2005-02-28  Carlos Garcia Campos <carlosgc@gnome.org>
5205
5206         * shell/ev-sidebar.c: expand the selection widget to be always as
5207         wide as the sidebar
5208
5209 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5210
5211         * shell/ev-sidebar-thumbnails.c:
5212         (ev_sidebar_thumbnails_set_document):
5213
5214         Clear the list store when setting document
5215
5216 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5217
5218         * shell/ev-page-action.c: (update_entry), (sync_entry),
5219         (activate_cb), (entry_size_request_cb), (create_tool_item),
5220         (connect_proxy):
5221
5222         Use an entry for the page control instead of spinbuttons
5223
5224 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5225
5226         * data/evince.schemas.in:
5227
5228         Correct confusing string
5229
5230 Sun Feb 27 23:00:31 2005  Jonathan Blandford  <jrb@redhat.com>
5231
5232         * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5233         for real.  Gosh, how long has this been broken.
5234
5235         * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5236         check for a NULL link.  We crash otherwise.
5237
5238 2005-02-27  Marco Pesenti Gritti  <marco@gnome.org>
5239
5240         * NEWS:
5241         * configure.ac:
5242
5243         Release 0.1.5
5244
5245 2005-02-25  Sebastien Bacher  <seb128@debian.org>
5246
5247         * configure.ac: add the french translation.
5248
5249 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
5250
5251         * shell/ev-window.c:
5252
5253         Remove unused header -> fix distcheck
5254
5255 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
5256
5257         * shell/ev-window.c: (update_window_title),
5258         (ev_window_popup_password_dialog):
5259
5260         Unescape filename for display
5261
5262 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
5263
5264         * pdf/xpdf/pdf-document.cc:
5265
5266         In get_page_size deal with rotation. Also
5267         cleanup the function a bit.
5268
5269 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
5270
5271         * pdf/xpdf/pdf-document.cc:
5272
5273         Fix crash when opening in new window
5274
5275 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
5276
5277         * configure.ac:
5278
5279         Check ghostscript >= 7
5280
5281 2005-02-25  Pedro Villavicencio <pvillavi@gnome.cl>
5282
5283         * shell/ev-window.c:
5284
5285         Make page width the default sizing mode
5286
5287 2005-02-25  Carlos Garcia Campos <carlosgc@gnome.org>
5288             Marco Pesenti Gritti <marco@gnome.org>
5289
5290         * shell/ev-window.c: Remember the sidebar size
5291
5292         * data/evince.schemas.in: Add a new gconf key to store the size of
5293         the sidebar
5294
5295 2005-02-24  Kai Willadsen  <kaiw@itee.uq.edu.au>
5296
5297         * data/evince-ui.xml:
5298         * shell/ev-window.c: (update_action_sensitivity),
5299         (ev_window_cmd_view_reload):
5300         
5301         Add a "Reload" action and menu entry
5302
5303 Thu Feb 24 23:07:33 2005  Jonathan Blandford  <jrb@redhat.com>
5304
5305         * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5306         iff the type doesn't support thumbnailing and indexing.
5307
5308 2005-02-24  Martin Kretzschmar  <martink@gnome.org>
5309
5310         * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5311
5312 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
5313
5314         * pdf/splash/Splash.cc:
5315
5316         Port fix for a crasher from kde bug
5317         http://bugs.kde.org/show_bug.cgi?id=97131
5318
5319 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
5320
5321         * pdf/xpdf/pdf-document.cc:
5322
5323         Return a link even if it's of an unrecognized
5324         type. Otherwise we go in an infinte cycle.
5325
5326 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
5327
5328         * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5329         (size_allocate_cb), (ev_window_set_sizing_mode):
5330
5331         Update size when switching mode
5332
5333 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
5334
5335         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5336         (ev_window_cmd_view_page_width), (update_sizing_buttons),
5337         (ev_window_cmd_view_normal_size):
5338
5339         Fix size toggle buttons behavior
5340
5341 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
5342
5343         * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5344         (doc_rect_to_view_rect), (ev_view_size_allocate),
5345         (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5346         (scale_changed_callback):
5347
5348         Do not cache offsets in size_allocate.
5349
5350 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
5351
5352         * shell/ev-view.c: (ev_view_size_allocate):
5353
5354         Calculate offsets before calling the parent
5355         class (which does a redraw)
5356
5357 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
5358
5359         * pdf/xpdf/pdf-document.cc:
5360
5361         Fix a crasher on exit. Unused code, put a TODO
5362
5363 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
5364
5365         * backend/ev-document.c: (ev_document_class_init),
5366         (ev_document_page_changed), (ev_document_scale_changed):
5367         * backend/ev-document.h:
5368
5369         Separate page/scale notifications
5370
5371         * pdf/xpdf/pdf-document.cc:
5372
5373         Emit the new signals.
5374         Do not display the pdf page in _render, do it
5375         when scale/page are requested.
5376
5377         * ps/ps-document.c: (ps_document_set_zoom),
5378         (ps_document_widget_event):
5379         * ps/ps-document.h:
5380
5381         Emit the new signals.
5382
5383         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5384         (ev_view_init), (page_changed_callback), (scale_changed_callback),
5385         (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5386         (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5387         * shell/ev-view.h:
5388         * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5389         (ev_window_cmd_view_page_width), (size_allocate_cb),
5390         (ev_window_set_sizing_mode):
5391
5392         Rework sizing to be pixel based.
5393         There are bugs but should be already way better.
5394
5395 2005-02-23  Marco Pesenti Gritti  <marco@gnome.org>
5396
5397         * shell/ev-window.c: (ev_window_init):
5398
5399         Do not allow to shrink sidebar smaller then
5400         child requisition
5401
5402 2005-02-23  Carlos Garcia Campos <carlosgc@gnome.org> 
5403
5404         * shell/ev-sidebar.[ch]
5405         * shell/ev-window.c:
5406
5407         Improved sidebar widget. Fixes #166683
5408
5409 2005-02-23  Tommi Vainikainen  <thv@iki.fi>
5410
5411         * shell/ev-view.c (update_find_status_message): Give translators
5412         more flexibility with ngettext plural handling.
5413
5414 Mon Feb 21 17:52:08 2005  Jonathan Blandford  <jrb@redhat.com>
5415
5416         * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5417         from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5418         page when we get the page size.
5419
5420 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
5421
5422         * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5423
5424         ps pages are 0 based, convert 
5425
5426 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
5427
5428         * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5429
5430         Initialize correct parent class. Set GError on document load
5431
5432 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
5433
5434         * pdf/xpdf/pdf-document.cc:
5435
5436         Fixup selection offset calculation
5437
5438         * shell/ev-view.c: (view_rect_to_doc_rect),
5439         (doc_rect_to_view_rect), (ev_view_size_allocate),
5440         (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5441         (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5442
5443         Store selection as document relative, so that zooming
5444         and offset changing doesnt break it.
5445
5446 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
5447
5448         * shell/ev-view.c: (ev_view_best_fit):
5449
5450         Do not try to best fit if the view is not realized
5451
5452 2005-02-20  Kostas Papadimas <pkst@gnome.org>
5453           
5454         * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5455
5456 Fri Feb 18 16:06:39 2005  Jonathan Blandford  <jrb@redhat.com>
5457
5458         * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5459
5460 Fri Feb 18 15:32:57 2005  Jonathan Blandford  <jrb@redhat.com>
5461
5462         * shell/ev-window.c: Change the fullscreen toolbar to always be in
5463         the popup window.  That prevents it resizing when in full screen
5464         mode.
5465
5466         * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5467         multiple rerenders.  This pretty much sucks.
5468
5469         * data/evince-ui.xml: Change the fullscreen toolbar to include the
5470         rest of the toolbar.
5471
5472 2005-02-18  Tommi Vainikainen  <thv@iki.fi>
5473
5474         * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5475
5476 2005-02-17  Alexander Shopov  <ash@contact.bg>
5477
5478         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5479
5480 2005-02-16  Bryan Clark  <clarkbw@cvs.gnome.org>
5481
5482         * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5483
5484 2005-02-16  Marco Pesenti Gritti  <marco@gnome.org>
5485
5486         * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5487         (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5488         (set_document_page), (document_changed_callback),
5489         (ev_view_set_document), (ev_view_find_previous),
5490         (ev_view_hide_cursor), (ev_view_show_cursor):
5491         * shell/ev-view.h:
5492         * shell/ev-window.c: (update_chrome_visibility),
5493         (fullscreen_timeout_cb), (fullscreen_set_timeout),
5494         (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5495         (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5496         (ev_window_unfullscreen):
5497         * shell/main.c: (main):
5498
5499         Automatically hide the fullscreen button.
5500         Patch by Kristian Høgsberg <krh@redhat.com>
5501
5502 2005-02-16  Vincent Noel  <vnoel@cox.net>
5503
5504         * shell/main.c (main): Specify an icon for the window. Patch by
5505         Jaap A. Haitsma. Fixes #166177.
5506
5507 Wed Feb 16 06:30:13 2005  Jonathan Blandford  <jrb@redhat.com>
5508
5509         * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5510
5511 Tue Feb 15 22:27:13 2005  Jonathan Blandford  <jrb@redhat.com>
5512
5513         * backend/ev-document-misc.h:
5514         * backend/ev-document-misc.c:
5515         (ev_document_misc_get_page_border_size),
5516         (ev_document_misc_paint_one_page): New function to canonicalize
5517         sizing/painting a border.
5518
5519         * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5520         used.
5521
5522         * pdf/xpdf/pdf-document.cc: use new function
5523
5524         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5525         (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5526         (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5527         shell/ev-window.c: (update_sizing_buttons),
5528         (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5529         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5530         (ev_window_cmd_view_page_width), (size_allocate_cb),
5531         (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5532         and "fit width" values act as toggle buttons so they stay
5533         toggled.  It's not 100% perfect, and it's a little slow, but it's
5534         good enough to commit I think.
5535
5536 2005-02-15  David Lodge  <dave@cirt.net>
5537
5538         * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5539
5540 2005-02-15  Martin Kretzschmar  <martink@gnome.org>
5541
5542         * shell/ev-window.c (update_window_title): replace newlines in
5543         the title by spaces. Bug #166107.
5544
5545 2005-02-14  Martin Kretzschmar  <martink@gnome.org>
5546
5547         * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5548         parameters providing allocation width and height without
5549         scrollbars and width of a possible vertical scrollbar. With this
5550         additional information the functions can work as
5551         intended. Unfortunately they're not idempotent. We should
5552         transform these commands to toggles. Fixes Bug #164976
5553         Initial patch by Stephane Loeuillet, then heavily modified.
5554
5555         * shell/ev-view.h: update prototypes.
5556
5557         * shell/ev-window.c (ev_window_cmd_view_best_fit)
5558         (ev_window_cmd_view_page_width): provide EvView fit functions with
5559         all the information they need. Formulas to calculate this
5560         information taken from GtkScrolledWindow.
5561
5562 2005-02-14  Crispin Flowerday  <gnome@flowerday.cx>
5563
5564         * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5565         created a thumbnail, the list store is updated to know
5566         that the thumbnail is set. Fixes bug #166792
5567
5568 2005-02-11  Bryan Clark  <clarkbw@cvs.gnome.org>
5569
5570         * shell/ev-window.c: fixed typo, closes bug 166897
5571
5572         * TODO: updated TODO with bug numbers that are relevant
5573
5574 2005-02-09  Carlos Garcia Campos <carlosgc@gnome.org>
5575
5576         * shell/ev-window.c: Support for DnD of files. Fixes #164813
5577
5578 2005-02-09  Vincent Noel  <vnoel@cox.net>
5579
5580         * shell/ev-window.c: (set_action_properties): Set the "Previous"
5581         and "Next" toolbar buttons as important to make them stand out.
5582
5583 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
5584
5585         * lib/ev-debug.c:
5586         * lib/ev-debug.h:
5587         * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5588         (start_interpreter), (stop_interpreter), (document_load),
5589         (ps_document_next_page), (ps_document_goto_page),
5590         (ps_document_set_page_size), (ps_document_widget_event),
5591         (ps_document_render):
5592         * shell/ev-page-view.c: (ev_page_view_dispose):
5593         * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5594
5595         Fix compilation on non-gcc platforms
5596
5597 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
5598
5599         * NEWS:
5600         * configure.ac:
5601
5602         Release 0.1.4
5603
5604         * pdf/xpdf/Catalog.cc:
5605         * pdf/xpdf/XRef.cc:
5606
5607         Fix the fix for CAN-2004-0888
5608
5609 2005-02-09  Luca Ferretti <elle.uca@libero.it>
5610
5611         * data/Makefile.am:
5612         * data/evince-ui.xml:
5613         * shell/ev-stock-icons.c: (ev_stock_icons_init):
5614         * shell/ev-stock-icons.h:
5615         * shell/ev-window.c: (update_action_sensitivity),
5616         (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5617         (set_action_properties):
5618
5619         Improve toolbar layout/icons
5620
5621 2005-02-08  Marco Pesenti Gritti  <marco@gnome.org>
5622
5623         * pdf/xpdf/pdf-document.cc:
5624
5625         Add warnings about unimplemented/unknown link
5626         types.
5627
5628 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
5629
5630         * ps/ps-document.c: (set_up_page):
5631
5632         Log gs property
5633
5634 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
5635
5636         * ps/ps-document.c: (start_interpreter):
5637
5638         Log gs env var
5639
5640 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
5641
5642         * shell/ev-page-view.c: (ev_page_view_dispose):
5643         * shell/ev-view.c: (ev_view_finalize):
5644         * shell/ev-window.c: (ev_window_setup_document),
5645         (ev_window_dispose), (ev_window_init):
5646
5647         Solve more refs issues.
5648
5649         I commented out the page_view initialization for now:
5650         it was never destroyed (because it's never added
5651         to a container). Because of that we was leaking
5652         gs processes. Couldnt think to a clean fix.
5653         We need to figure this out, password view has the
5654         same issue probably.
5655
5656 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
5657
5658         * ps/ps-document.c: (ps_document_finalize),
5659         (ps_document_get_n_pages), (ps_document_get_page):
5660
5661         Some cleanups, stop the interpreter on finalize
5662
5663         * shell/ev-page-view.c: (ev_page_view_dispose),
5664         (ev_page_view_class_init):
5665
5666         Release our reference on the document
5667
5668 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
5669
5670         * Makefile.am:
5671         * configure.ac:
5672         * doc/debugging.txt:
5673         * lib/.cvsignore:
5674         * lib/Makefile.am:
5675         * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5676         (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5677         (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5678         * lib/ev-debug.h:
5679
5680         Add debugging helpers
5681
5682         * ps/Makefile.am:
5683         * ps/ps-document.c: (set_up_page), (start_interpreter),
5684         (stop_interpreter), (document_load), (ps_document_next_page),
5685         (ps_document_goto_page), (ps_document_set_page_size),
5686         (ps_document_widget_event), (ps_document_render):
5687         * shell/Makefile.am:
5688         * shell/ev-view.c: (expose_bin_window):
5689         * shell/main.c: (main):
5690
5691         Add some logs
5692         
5693 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
5694
5695         * ps/ps-document.c: (ps_document_widget_event):
5696
5697         Initialize message_window, this should make ps
5698         rendering really work! (Never noticed because I was
5699         testing with a ps that is causing gs to exit every time!)
5700
5701 2005-02-07  Bryan Clark  <clarkbw@cvs.gnome.org>
5702
5703         * data/evince.schemas.in: updated simple error in applyto closing tag
5704
5705 2005-02-07  Christian Persch  <chpe@cvs.gnome.org>
5706
5707         * Makefile.am:
5708         * configure.ac:
5709         * data/.cvsignore:
5710         * data/Makefile.am:
5711         * data/evince-ui.xml:
5712         A data/evince.schemas.in:
5713         * po/POTFILES.in:
5714         * shell/ev-stock-icons.c: (ev_stock_icons_init):
5715         * shell/ev-stock-icons.h:
5716         * shell/ev-window.c: (update_chrome_visibility),
5717         (update_chrome_flag), (ev_window_cmd_edit_find),
5718         (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5719         (ev_window_unfullscreen), (ev_window_focus_in_event),
5720         (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5721         (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5722         (ev_window_view_sidebar_cb), (find_bar_close_cb),
5723         (ev_window_dispose), (ev_window_class_init),
5724         (set_action_properties), (set_chrome_actions), (load_chrome),
5725         (ev_window_init):
5726
5727         Implement fullscreen mode changes from bug #164776.
5728         Also implement persistent chrome toggles.
5729
5730 2005-02-07  Jordi Mallach  <jordi@sindominio.net>
5731
5732         * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5733
5734 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
5735
5736         * NEWS:
5737         * configure.ac:
5738         * shell/ev-view.c:
5739
5740         Add another check for find interface
5741
5742         Release 0.1.3
5743
5744 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
5745
5746         * shell/ev-application.c: (ev_application_open):
5747         * shell/ev-window.c: (ev_window_open):
5748
5749         Open gzipped ps documents
5750
5751 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
5752
5753         * TODO:
5754         * shell/ev-view.c: (set_document_page):
5755
5756         Clamp page number, dont try to move to
5757         not existant pages.
5758
5759 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
5760
5761         * backend/ev-document-find.c: (ev_document_find_changed):
5762         * backend/ev-document-find.h:
5763         * pdf/xpdf/pdf-document.cc:
5764         * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5765         * shell/ev-window.c: (find_bar_search_changed_cb):
5766
5767         Fix several bugs with find
5768
5769 2005-02-04  Martin Kretzschmar  <martink@gnome.org>
5770
5771         * shell/ev-sidebar-thumbnails.c
5772         (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5773         document. Prevents warning from scroll_to_cell.
5774
5775 2005-02-02  Kjartan Maraas  <kmaraas@gnome.org>
5776
5777         * configure.ac: Add «nb» to ALL_LINGUAS too.
5778
5779 Wed Feb  2 21:13:11 2005  Jonathan Blandford  <jrb@redhat.com>
5780
5781         * NOTES: New file with some random thoughts.
5782
5783         * TODO: Update.
5784
5785         * backend/ev-document-misc.c:
5786         (ev_document_misc_get_page_border_size): New function to
5787         canonicalize shadow drawing sizes.  Possibly goofy.
5788
5789         * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5790         (ev_view_best_fit), (ev_view_fit_width):
5791         * pdf/xpdf/pdf-document.cc:
5792         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5793         * ps/ps-document.c: (ps_document_get_page_size):
5794         * backend/ev-document-misc.h:
5795         * backend/ev-document.c: (ev_document_get_page_size):
5796         * backend/ev-document.h: get_page_size now takes a page number
5797         parameter.  Made all the backends/frontends honor it.
5798
5799         * data/evince-ui.xml: Added a multiple-page mode.  Uncomment to
5800         see.  Doesn't work yet.
5801
5802         * shell/Makefile.am:
5803         * shell/ev-page-view.[ch]: New multi-page view.  Really rough.
5804         Doesn't do anything yet.
5805
5806         * shell/ev-sidebar-thumbnails.c:
5807         (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5808         [0..n_pages-1]
5809
5810         * shell/ev-window.c: (update_action_sensitivity),
5811         (ev_window_setup_document), (ev_window_set_page_mode),
5812         (ev_window_page_mode_cb), (ev_window_init): Clean up the
5813         view-swapping code a bit so we can have multiple views on a
5814         document.  Add the multi-page view, though it can't be turned on
5815         yet.
5816
5817 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
5818
5819         * shell/ev-application.c: (ev_application_open):
5820         * shell/ev-view.c: (expose_bin_window):
5821         * shell/ev-window.c: (ev_window_open):
5822
5823         Support eps and check document supports find
5824         before drawing highlightings in expose.
5825
5826 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
5827
5828         * pixbuf/pixbuf-document.c:
5829         (pixbuf_document_thumbnails_get_dimensions),
5830         (pixbuf_document_document_thumbnails_iface_init):
5831
5832         implement get_dimensions
5833
5834 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
5835
5836         * NEWS:
5837         * configure.ac:
5838
5839         Release 0.1.2
5840
5841 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
5842
5843         * shell/ev-view.c: (set_document_page):
5844
5845         Scroll at the top of the page when changing page
5846
5847 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
5848
5849         * shell/ev-view.c: (ev_view_motion_notify_event):
5850
5851         Do not redraw unnecessarily
5852
5853 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
5854
5855         * pdf/xpdf/pdf-document.cc:
5856         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5857         (expose_bin_window), (find_changed_cb):
5858
5859         Yay! find works now... Now to find bugs...
5860
5861 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
5862
5863         * backend/ev-document-find.c: (ev_document_find_base_init),
5864         (ev_document_find_changed):
5865         * backend/ev-document-find.h:
5866         * pdf/xpdf/pdf-document.cc:
5867         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5868         (expose_bin_window), (ev_view_init), (set_document_page),
5869         (ensure_rectangle_is_visible), (jump_to_find_result),
5870         (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5871         (ev_view_find_next), (ev_view_find_previous):
5872         * shell/ev-view.h:
5873         * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5874
5875         More work on find implementation, mostly there now
5876
5877 2005-01-29  Marco Pesenti Gritti  <marco@gnome.org>
5878
5879         * backend/ev-backend-marshalers.list:
5880         * backend/ev-document-find.c: (ev_document_find_base_init),
5881         (ev_document_find_cancel), (ev_document_find_page_has_results),
5882         (ev_document_find_get_n_results), (ev_document_find_get_result),
5883         (ev_document_find_get_progress), (ev_document_find_changed):
5884         * backend/ev-document-find.h:
5885
5886         Enanche the find interface to be really able to do
5887         multi page find.
5888
5889         * pdf/xpdf/pdf-document.cc:
5890
5891         Implement
5892
5893         * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5894         (expose_bin_window), (ev_view_init),
5895         (ev_view_get_find_status_message), (find_changed_cb),
5896         (ev_view_set_document), (set_document_page):
5897
5898         Adapt to the new interface. A few things are regressed sorry,
5899         I will finish it soon.
5900
5901 2005-01-28  Martin Kretzschmar  <martink@gnome.org>
5902
5903         * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5904         (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5905         ev_sidebar_thumbnails_parent_class variable, don't define another
5906         parent_class variable.
5907
5908         * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5909         (ev_page_action_class_init): ditto.
5910
5911         * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5912         (pixbuf_document_class_init): ditto.
5913
5914         * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5915         ditto.
5916
5917         * .cvsignore: ignore various valgrind output files.
5918
5919 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
5920
5921         * data/evince-ui.xml:
5922         * shell/Makefile.am:
5923         * shell/ev-history.c:
5924         * shell/ev-history.h:
5925         * shell/ev-navigation-action.c:
5926         * shell/ev-navigation-action.h:
5927         * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5928         (ev_view_set_page), (ev_view_fit_width):
5929         * shell/ev-view.h:
5930         * shell/ev-window.c: (update_action_sensitivity),
5931         (ev_window_setup_document), (register_custom_actions):
5932
5933         Kill session history
5934
5935 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
5936
5937         * shell/ev-window.c: (update_action_sensitivity):
5938
5939         Fix inverted up/down buttons
5940
5941 2005-01-27  Martin Kretzschmar  <martink@gnome.org>
5942
5943         * shell/ev-sidebar-thumbnails.c
5944         (ev_sidebar_thumbnails_select_page): make sure the selected
5945         thumbnail stays visible.
5946
5947 2005-01-26  Martin Kretzschmar  <martink@gnome.org>
5948
5949         * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5950         scrolled window for Federico.
5951
5952 2005-01-26  Ole Laursen  <olau@hardworking.dk>
5953
5954         * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5955
5956 2005-01-26  Marco Pesenti Gritti  <marco@gnome.org>
5957
5958         * configure.ac:
5959         * pdf/splash/SplashFTFontEngine.cc:
5960
5961         Fix CID fonts with freetype 2.1.9
5962
5963 2005-01-26  Bryan Clark  <clarkbw@cvs.gnome.org>
5964
5965         * TODO: added item for desktop icon thumbnailer
5966
5967 Tue Jan 25 00:59:34 2005  Jonathan Blandford  <jrb@redhat.com>
5968
5969         * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5970         unloaded docs when the title is accessed.
5971
5972         * shell/ev-password-view.[hc]: New widget for displaying password
5973         state.
5974
5975         * shell/ev-window.[ch]: Refactor password handling code to handle
5976         the new view.
5977
5978 2005-01-24  Marco Pesenti Gritti  <marco@gnome.org>
5979
5980         * NEWS:
5981         * configure.ac:
5982         * data/Makefile.am:
5983
5984         Release 0.1.1
5985
5986 2005-01-23  Stephane LOEUILLET  <stephane.loeuillet@tiscali.fr>
5987
5988         * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5989         ignore page offset here, to make search results independent of it,
5990
5991         * shell/ev-view.c (expose_bin_window): but take offsets into
5992         account here. Bug #164932
5993
5994         * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5995         scale at the right time. Bug #164996
5996
5997 2005-01-22  Martin Kretzschmar  <martink@gnome.org>
5998
5999         * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6000         fix the problem. Now I just removed the Adobe font names and hope
6001         that the URW fonts are always in outline format. Bug #164934
6002
6003         * shell/ev-window.c (update_window_title): empty titles are
6004         useless, use filename in that case too.
6005
6006         * NEWS: Add some content.
6007
6008 2005-01-21  Bryan Clark  <clarkbw@cvs.gnome.org>
6009
6010         * TODO: added one more TODO item and a TODONE section :)
6011
6012 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
6013
6014         * ps/ps-document.h: add page_[xy]_offset fields.
6015
6016         * ps/ps-document.c (ps_document_set_page_offset)
6017         (ps_document_render): Keep offset in consideration in a few
6018         places. Bug #164752 "postscript documents are not centered in
6019         window"
6020
6021         * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6022         s/gpdf/evince/. Spotted by Stephane Loeuillet.
6023
6024         * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6025         (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6026         stub out missing methods for complete EvDocument implementation.
6027         Fixes segfaults with Save A Copy and Copy actions.
6028
6029         * ps/ps-document.c (ps_document_save, ps_document_get_text) 
6030         (ps_document_document_iface_init): ditto.
6031         
6032 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
6033
6034         * data/.cvsignore:
6035         * data/Makefile.am:
6036         * data/evince.desktop.in:
6037
6038         Add desktop file
6039
6040 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
6041
6042         * shell/ev-view.c: (ev_view_button_press_event),
6043         (ev_view_motion_notify_event):
6044
6045         Make selection work in any direction
6046
6047 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
6048
6049         * TODO:
6050         * shell/ev-window.c: (set_short_labels), (ev_window_init):
6051
6052         Use shorter labels for some of the toolbars items
6053
6054 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
6055
6056         * pdf/xpdf/pdf-document.cc:
6057
6058         Check the links info is initialized before
6059         using it. Should fix a crash on startup.
6060
6061 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
6062
6063         * pixbuf/pixbuf-document.c
6064         (pixbuf_document_thumbnails_get_dimensions): force floating point
6065         division to calculate page_ratio. Fixes crash with landscape
6066         format pixbufs.
6067
6068 Thu Jan 20 18:56:35 2005  Jonathan Blandford  <jrb@redhat.com>
6069
6070         * shell/ev-view.c (ev_view_realize): make the bg color darker.
6071
6072 2005-01-20  Martin Kretzschmar  <martink@gnome.org>
6073
6074         * shell/ev-view.c (set_document_page): unset has_selection when
6075         the page changes.
6076         (set_document_page): handle paper size changes when the page
6077         changes (test with Free Culture, page 2).
6078
6079 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
6080
6081         * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6082         (expose_bin_window), (ev_view_class_init), (ev_view_init):
6083
6084         Use normal style color for the widget background and
6085         draw a black box around the page.
6086
6087 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
6088
6089         * pdf/xpdf/pdf-document.cc:
6090
6091         Keep offset in consideration in a few places
6092
6093         * shell/ev-view.c: (expose_bin_window):
6094
6095         Set the offsets so that the document is ever centered
6096
6097 2005-01-20  Bryan Clark  <clarkbw@cvs.gnome.org>
6098
6099         * TODO: Added TODO items and finished off the first todo item
6100
6101         * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6102         reflect current authors
6103
6104 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
6105
6106         * pdf/xpdf/pdf-document.cc:
6107         * shell/ev-view.c: (ev_view_set_cursor),
6108         (ev_view_motion_notify_event), (document_changed_callback),
6109         (set_document_page):
6110
6111         Show a wait cursor while the page is rendering
6112
6113 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
6114
6115         * shell/ev-sidebar-thumbnails.c:
6116         (ev_sidebar_tree_selection_changed),
6117         (ev_sidebar_thumbnails_select_page):
6118         * shell/ev-sidebar-thumbnails.h:
6119         * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6120         (ev_view_can_go_forward):
6121         * shell/ev-window.c: (ev_window_open_page),
6122         (ev_window_setup_document), (update_current_page),
6123         (view_page_changed_cb), (ev_window_init):
6124         * shell/ev-window.h:
6125
6126         Ensure thumbnails selection, toolbar page control and
6127         current page are in sync.
6128
6129 2005-01-19  Marco Pesenti Gritti  <marco@gnome.org>
6130
6131         * pdf/xpdf/XRef.cc:
6132
6133         Fix CAN-2005-0064
6134
6135 Wed Jan 19 01:10:57 2005  Jonathan Blandford  <jrb@redhat.com>
6136
6137         * backend/Makefile.am:
6138         * backend/ev-document-links.h:
6139         * backend/ev-document-security.c: (ev_document_security_get_type),
6140         (ev_document_security_has_document_security),
6141         (ev_document_security_set_password):
6142         * backend/ev-document-security.h:
6143         * backend/ev-document.c: (ev_document_error_quark):
6144         * backend/ev-document.h:
6145         * data/Makefile.am:
6146         * data/evince-password.glade:
6147         * pdf/xpdf/pdf-document.cc:
6148         * shell/Makefile.am:
6149         * shell/ev-password.c: (ev_password_set_bad_password_label),
6150         (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6151         (ev_password_dialog_get_password),
6152         (ev_password_dialog_set_bad_pass):
6153         * shell/ev-password.h:
6154         * shell/ev-window.c: (ev_window_get_attribute),
6155         (ev_window_set_property), (update_action_sensitivity),
6156         (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6157         (ev_window_setup_document), (ev_window_get_password),
6158         (ev_window_open), (ev_window_cmd_save_as),
6159         (using_postscript_printer), (ev_window_print),
6160         (find_not_supported_dialog), (ev_window_cmd_edit_find),
6161         (update_fullscreen_popup), (ev_window_fullscreen),
6162         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6163         (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6164         (menu_item_select_cb), (find_bar_search_changed_cb),
6165         (ev_window_dispose), (ev_window_init):
6166
6167         Add initial support for password-supported dialogs.  This could be
6168         a lot cooler, but it'll do for now.
6169
6170 2005-01-18  Marco Pesenti Gritti  <marco@gnome.org>
6171
6172         * pdf/xpdf/pdf-document.cc:
6173         * shell/ev-view.c: (status_message_from_link),
6174         (ev_view_set_status), (ev_view_set_cursor),
6175         (ev_view_motion_notify_event), (ev_view_init):
6176         * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6177
6178         Fix bugs in the links implementation and change cursor
6179         when hovering a link.
6180
6181 2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>
6182
6183         * viewer/.cvsignore: added cvsignore file for viewer directory
6184
6185         * TODO: created TODO document
6186
6187 2005-01-14  Dave Malcolm  <dmalcolm@redhat.com>
6188
6189         * shell/ev-view.h:
6190         * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):      
6191         new functions to help with implementation of sensitivity code
6192         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6193         of all actions that might require it.  Fixes a crash when you
6194         click on the Zoom actions in a window lacking a document.
6195
6196 2005-01-13  Dave Malcolm  <dmalcolm@redhat.com>
6197
6198         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6199         of the Find action
6200
6201 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
6202
6203         * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6204         (pixbuf_document_document_iface_init):
6205         * ps/ps-document.c: (ps_document_get_link),
6206         (ps_document_document_iface_init):
6207         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6208         (status_message_from_link), (ev_view_set_status),
6209         (ev_view_set_find_status), (ev_view_motion_notify_event),
6210         (ev_view_button_release_event), (ev_view_set_property),
6211         (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6212         (ev_view_get_find_status_message), (update_find_results),
6213         (ev_view_get_status), (ev_view_get_find_status):
6214         * shell/ev-view.h:
6215         * shell/ev-window.c: (view_status_changed_cb),
6216         (view_find_status_changed_cb), (ev_window_init):
6217
6218         View status message support, use it to show the links.
6219         Needs work...
6220
6221 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
6222
6223         * backend/ev-document.c: (ev_document_get_link):
6224         * backend/ev-document.h:
6225         * pdf/xpdf/pdf-document.cc:
6226         * shell/ev-application.c: (ev_application_open):
6227         * shell/ev-application.h:
6228         * shell/ev-sidebar-links.c: (selection_changed_cb):
6229         * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6230         (ev_view_go_to_link):
6231
6232         Add support for document links
6233
6234 2005-01-13  Anders Carlsson  <andersca@gnome.org>
6235
6236         * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6237         (create_tool_item):
6238         Set the spin button limits correctly.
6239         
6240         * shell/ev-sidebar-thumbnails.c:
6241         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6242         Support changing pages by clicking on the thumbnails.
6243         
6244 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
6245
6246         * pixbuf/pixbuf-document.c:
6247         (pixbuf_document_thumbnails_get_dimensions),
6248         (pixbuf_document_document_thumbnails_iface_init):
6249
6250         implement get_dimensions
6251
6252 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
6253
6254         * ps/ps-document.c: (ps_document_goto_page):
6255
6256         Fix page switching on multipage documents
6257
6258 2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>
6259
6260         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6261         
6262         check for NULL before assigning to width and height parameters
6263
6264 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
6265
6266         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6267         (pixbuf_document_set_property), (pixbuf_document_get_property):
6268
6269         implement get/set properties
6270
6271 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
6272
6273         * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6274         
6275         return NULL instead of "Unknown", letting the title get set to
6276         the filename when the pdf has no title.
6277
6278 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
6279
6280         * ps/ps-document.c: (ps_document_get_page_count),
6281         (ps_document_goto_page):
6282
6283 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
6284
6285         * shell/ev-history.c: (ev_history_get_property),
6286         (ev_history_set_property), (ev_history_class_init),
6287         (ev_history_add_page), (ev_history_set_current_index):
6288         * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6289         (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6290         (ev_navigation_action_finalize):
6291         * shell/ev-navigation-action.h:
6292         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6293         (ev_view_go_forward), (ev_view_get_find_status_message),
6294         (history_index_changed_cb), (ev_view_set_history):
6295         * shell/ev-view.h:
6296         * shell/ev-window.c: (update_total_pages), (ev_window_open),
6297         (update_current_page), (register_custom_actions):
6298
6299         Implement history dropdowns
6300
6301 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
6302
6303         * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6304         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6305         (ev_view_go_forward):
6306         * shell/ev-window.c: (register_custom_actions):
6307
6308         Fix several history bugs
6309
6310 2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>
6311
6312         * configure.ac: Add «nb» to ALL_LINGUAS.
6313
6314 2005-01-10  Marco Pesenti Gritti  <marco@gnome.org>
6315
6316         * backend/Makefile.am:
6317         * backend/ev-bookmark.c:
6318         * backend/ev-bookmark.h:
6319         * backend/ev-document-bookmarks.c:
6320         * backend/ev-document-bookmarks.h:
6321         * backend/ev-document-links.c: (ev_document_links_get_type),
6322         (ev_document_links_has_document_links),
6323         (ev_document_links_begin_read), (ev_document_links_get_link),
6324         (ev_document_links_get_child), (ev_document_links_next),
6325         (ev_document_links_free_iter):
6326         * backend/ev-document-links.h:
6327         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6328         (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6329         (ev_link_get_link_type), (ev_link_set_link_type),
6330         (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6331         (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6332         (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6333         (ev_link_new_external):
6334         * backend/ev-link.h:
6335         * pdf/xpdf/pdf-document.cc:
6336         * shell/Makefile.am:
6337         * shell/ev-application.c: (ev_application_open_link):
6338         * shell/ev-application.h:
6339         * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6340         (ev_history_get_link_nth):
6341         * shell/ev-history.h:
6342         * shell/ev-sidebar-bookmarks.c:
6343         * shell/ev-sidebar-bookmarks.h:
6344         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6345         (ev_sidebar_links_class_init), (selection_changed_cb),
6346         (ev_sidebar_links_construct), (ev_sidebar_links_init),
6347         (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6348         (do_one_iteration), (populate_links_idle),
6349         (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6350         * shell/ev-sidebar-links.h:
6351         * shell/ev-sidebar.c: (ev_sidebar_set_document):
6352         * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6353         (go_to_index):
6354         * shell/ev-view.h:
6355         * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6356         * shell/ev-window.h:
6357
6358         Rename bookmark to link, and use "Index" for the sidebar panel.
6359
6360 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
6361
6362         * shell/Makefile.am:
6363         * shell/ev-application.c: (ev_application_open_bookmark):
6364         * shell/ev-application.h:
6365         * shell/ev-history.c: (ev_history_init), (free_links_list),
6366         (ev_history_finalize), (ev_history_class_init),
6367         (ev_history_add_link), (ev_history_add_page),
6368         (ev_history_get_link_nth), (ev_history_get_n_links),
6369         (ev_history_get_current_index), (ev_history_set_current_index),
6370         (ev_history_new):
6371         * shell/ev-history.h:
6372         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6373         * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6374         (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6375         (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6376         (ev_view_set_page):
6377         * shell/ev-view.h:
6378         * shell/ev-window.c: (ev_window_open_bookmark),
6379         (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6380         (goto_page_cb), (register_custom_actions):
6381         * shell/ev-window.h:
6382
6383         Initial history implementation. Needs work.
6384
6385 2005-01-09  Martin Kretzschmar  <martink@gnome.org>
6386
6387         * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6388
6389 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
6390
6391         * cut-n-paste/recent-files/egg-recent-item.c:
6392         * cut-n-paste/recent-files/egg-recent-item.h:
6393         * cut-n-paste/recent-files/egg-recent-model.c:
6394         * cut-n-paste/recent-files/egg-recent-util.c:
6395         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6396         * cut-n-paste/recent-files/egg-recent-view.c:
6397
6398         Update
6399
6400 2005-01-08  Martin Kretzschmar  <martink@gnome.org>
6401
6402         * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6403         (fillGlyph, fillImageMask, drawImage):
6404         pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6405         pdf/splash/SplashTypes.h:
6406         pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6407         packed mode for Splash.
6408
6409         * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6410         RGB8 packed mode, eliminates the pixbuf data creation loop.
6411
6412         * shell/ev-print-job.c (ev_print_job_finalize)
6413         (ev_print_job_set_property, ev_print_job_get_property)
6414         (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6415         (ev_print_job_use_print_dialog_settings, idle_print_handler)
6416         (print_closure_finalize, ev_print_job_print): implement
6417         printing (for backends with EvPsExporter)
6418
6419         * shell/ev_print_job.h: update prototypes.
6420
6421         * shell/ev-window.c (ev_window_print): unref print job after
6422         printing.
6423
6424         * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6425         unless the document implements the EvDocumentFind interface.
6426
6427 2005-01-08  Satoru SATOH <ss@gnome.gr.jp>
6428
6429         * configure.ac: Added ja to ALL_LINGUAS.
6430
6431 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
6432
6433         * pdf/xpdf/pdf-document.cc:
6434
6435         add a FIXME. We should probably not allocate
6436         a bookmark object every time
6437
6438 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
6439
6440         * shell/ev-application.c: (ev_application_open),
6441         (ev_application_open_bookmark):
6442         * shell/ev-application.h:
6443         
6444         Add a way to open bookmarks
6445
6446         * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6447         (ev_bookmark_set_uri), (ev_bookmark_get_property),
6448         (ev_bookmark_set_property), (ev_bookmark_class_init),
6449         (ev_bookmark_new_title), (ev_bookmark_new_link),
6450         (ev_bookmark_new_external):
6451
6452         Support for external uris, better constructors.
6453
6454         * backend/ev-bookmark.h:
6455         * pdf/xpdf/pdf-document.cc:
6456         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6457
6458         Handle external uris
6459
6460 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
6461
6462         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6463         (ev_sidebar_bookmarks_construct), (do_one_iteration):
6464
6465         Hook up bookmarks navigation
6466
6467 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
6468
6469         * backend/Makefile.am:
6470         * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6471         (ev_bookmark_get_title), (ev_bookmark_set_title),
6472         (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6473         (ev_bookmark_get_page), (ev_bookmark_set_page),
6474         (ev_bookmark_get_property), (ev_bookmark_set_property),
6475         (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6476         (ev_bookmark_new):
6477         * backend/ev-bookmark.h:
6478         * backend/ev-document-bookmarks.c:
6479         (ev_document_bookmarks_get_bookmark):
6480         * backend/ev-document-bookmarks.h:
6481         * pdf/xpdf/pdf-document.cc:
6482         * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6483
6484         Add a bookmark object to the backend and use it instead of get_values
6485
6486 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
6487
6488         * data/evince-ui.xml:
6489
6490         Cleanup and add select all.
6491
6492         * shell/ev-view.c: (ev_view_select_all),
6493         (ev_view_button_press_event):
6494         * shell/ev-view.h:
6495         * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6496
6497         Add select all.
6498         Clear selection on click.
6499
6500 Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>
6501
6502         * shell/ev-sidebar-thumbnails.c
6503         (ev_sidebar_thumbnails_set_document): forgot to unref the
6504         loading_icon.
6505
6506 Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>
6507
6508         * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6509         at the visible page, not just linearly.  This makes it look fast.
6510
6511 Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>
6512
6513         * backend/ev-document-misc.c
6514         (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6515         white.
6516         * backend/ev-document-thumbnails.h: New interface to get the size
6517         of a page.
6518
6519 2005-01-06  Jeremy Katz  <katzj@redhat.com>
6520
6521         * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6522         make dist works
6523
6524 Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>
6525
6526         * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6527         GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
6528         things up a bit.
6529
6530         * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6531
6532 2005-01-05  Martin Kretzschmar  <martink@gnome.org>
6533
6534         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6535         fonts. Should fix font problems on systems that have the base
6536         fonts in bitmap format. Reported by James Henstridge
6537         <james@jamesh.id.au>.
6538
6539 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
6540
6541         * pdf/xpdf/Gfx.cc:
6542         * pdf/xpdf/GfxState.cc:
6543
6544         Fix for CAN-2004-1125
6545
6546 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
6547
6548         * shell/ev-view.c: (ev_view_copy):
6549         * shell/ev-view.h:
6550         * shell/ev-window.c: (ev_window_cmd_edit_copy):
6551
6552         Implement Edit->Copy
6553
6554 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
6555
6556         * backend/ev-document.c: (ev_document_get_text):
6557         * backend/ev-document.h:
6558         * pdf/xpdf/pdf-document.cc:
6559         * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6560         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6561         (ev_view_update_primary_selection), (ev_view_button_press_event),
6562         (ev_view_motion_notify_event), (ev_view_button_release_event):
6563
6564         Beginnings of clipboard support. Incomplete but primary sort
6565         of work.
6566
6567 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
6568
6569         * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6570         (expose_bin_window):
6571
6572         Nicer rubberband drawing, from GtkIconView.
6573
6574 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
6575
6576         * backend/ev-document.c: (ev_document_save):
6577         * backend/ev-document.h:
6578         * data/evince-ui.xml:
6579         * pdf/xpdf/pdf-document.cc:
6580         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6581
6582         Implement "Save a copy..." menu item
6583
6584 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
6585
6586         * shell/ev-view.c: (ev_view_zoom):
6587
6588         Queue a resize when zoom changes
6589
6590 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
6591
6592         * backend/ev-document-misc.[ch]: New misc file to do simple drop
6593         shadows.
6594
6595         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6596         thumbnails..
6597
6598 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
6599
6600         * pdf/xpdf/pdf-document.cc
6601         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6602
6603 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
6604
6605         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6606         It's slow, but I'll speed it up next!
6607
6608 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
6609
6610         * shell/main.c (load_files):
6611
6612         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6613         from the command line and because it seems more appropriate.
6614
6615 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
6616
6617         * data/evince-ui.xml:
6618         * shell/ev-window.c: (update_action_sensitivity),
6619         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6620
6621         s/next page/page down
6622         s/previous page/page up
6623
6624 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
6625
6626         * data/evince-ui.xml:
6627
6628         Change the layout to match clarkbw design.
6629
6630         * shell/Makefile.am:
6631         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6632         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6633         (ev_navigation_action_finalize),
6634         (ev_navigation_action_set_property),
6635         (ev_navigation_action_get_property),
6636         (ev_navigation_action_class_init):
6637         * shell/ev-navigation-action.h:
6638
6639         Implement clarkbw toolbar navigation controls (incomplete)
6640
6641         * shell/ev-page-action.c: (update_label), (update_spin),
6642         (value_changed_cb), (create_tool_item), (connect_proxy),
6643         (ev_page_action_init), (ev_page_action_finalize),
6644         (ev_page_action_set_property), (ev_page_action_get_property),
6645         (ev_page_action_set_current_page),
6646         (ev_page_action_set_total_pages), (ev_page_action_class_init):
6647         * shell/ev-page-action.h:
6648
6649         Implement a page switcher in the toolbar
6650
6651         * shell/ev-view.c: (ev_view_scroll_view):
6652         * shell/ev-window.c: (update_total_pages), (ev_window_open),
6653         (update_current_page), (view_page_changed_cb), (goto_page_cb),
6654         (register_custom_actions), (ev_window_init):
6655
6656         Change page on PageUp/Down.
6657
6658 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
6659
6660         * pdf/xpdf/pdf-document.cc
6661         (pdf_document_thumbnails_get_thumbnail): initial stab at
6662         implementing thumbnail support for pdfs.  It only does documents
6663         with precached pdfs now.
6664
6665 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
6666
6667         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6668         thumbnail code into a time-based idle as well.  Also, turn off the
6669         shadow temporarily as it's really slow.
6670
6671 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
6672
6673         * backend/ev-document.c: (ev_document_class_init):
6674         * pdf/xpdf/pdf-document.cc:
6675         * shell/ev-window.c: (ev_window_open):
6676
6677         Fix document title bugs and fallback to
6678         filename when not available.
6679
6680 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
6681
6682         * backend/ev-document.c: (ev_document_get_type),
6683         (ev_document_class_init), (ev_document_load),
6684         (ev_document_get_title):
6685         * backend/ev-document.h:
6686         * pdf/xpdf/pdf-document.cc:
6687         * ps/ps-document.c: (ps_document_set_property),
6688         (ps_document_get_property), (ps_document_class_init),
6689         (document_load):
6690         * ps/ps-document.h:
6691         * ps/ps.h:
6692         * shell/ev-window.c: (update_window_title), (ev_window_open),
6693         (ev_window_init):
6694
6695         Initial support for document title. Not working yet.
6696
6697 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
6698
6699         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6700
6701         Grab focus on the view when clicking it
6702
6703 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
6704
6705         * shell/ev-marshal.list:
6706         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6707         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6708
6709         Add key bindings to the view. Now if the focus would work
6710         right...
6711
6712 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
6713
6714         * Makefile.am:
6715         * backend/Makefile.am:
6716         * data/Makefile.am:
6717         * dvi/Makefile.am:
6718         * dvi/dvilib/Makefile.am:
6719         * pdf/xpdf/Makefile.am:
6720         * po/POTFILES.in:
6721         * ps/Makefile.am:
6722
6723         Fix distcheck
6724
6725 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
6726
6727         * shell/ev-view.c: (ev_view_realize):
6728
6729         Fix mouse wheel scrolling
6730
6731 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
6732
6733         * ps/Makefile.am:
6734         * ps/gstypes.h:
6735         * ps/gtkgs.c:
6736         * ps/gtkgs.h:
6737         * ps/ps-document.c: (catchPipe), (ps_document_init),
6738         (ps_document_class_init), (ps_document_cleanup),
6739         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6740         (set_up_page), (close_pipe), (is_interpreter_ready),
6741         (interpreter_failed), (output), (input), (start_interpreter),
6742         (stop_interpreter), (file_length), (file_readable),
6743         (check_filecompressed), (check_pdf), (compute_xdpi),
6744         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6745         (ps_document_get_type), (ps_document_emit_error_msg),
6746         (document_load), (ps_document_next_page),
6747         (ps_document_get_current_page), (ps_document_get_page_count),
6748         (ps_document_goto_page), (ps_document_set_page_size),
6749         (ps_document_zoom_to_fit), (ps_document_set_zoom),
6750         (ps_document_load), (ps_document_get_n_pages),
6751         (ps_document_set_page), (ps_document_get_page),
6752         (ps_document_widget_event), (ps_document_set_target),
6753         (ps_document_set_scale), (ps_document_set_page_offset),
6754         (ps_document_get_page_size), (ps_document_render),
6755         (ps_document_document_iface_init):
6756         * ps/ps-document.h:
6757         * ps/ps.c:
6758         * shell/ev-window.c: (ev_window_open):
6759
6760         Rename GtkGS to PSDocument
6761
6762 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
6763
6764         * ps/gtkgs.c: (gtk_gs_class_init):
6765         * ps/gtkgs.h:
6766
6767         Some more leftover...
6768
6769 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
6770
6771         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6772         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6773         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6774         * ps/gtkgs.h:
6775
6776         Remove unused code and make a lot of stuff private
6777
6778 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
6779
6780         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6781         (gtk_gs_defaults_changed):
6782         * ps/gsdefaults.h:
6783         * ps/gtkgs.c:
6784         * ps/gtkgs.h:
6785         * ps/ps.h:
6786
6787         Cleanup headers dependencies
6788
6789 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
6790
6791         * ps/Makefile.am:
6792         * ps/ggvutils.c:
6793         * ps/ggvutils.h:
6794         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6795         * ps/gsdefaults.h:
6796         * ps/gtkgs.c: (file_length), (file_readable),
6797         (check_filecompressed), (check_pdf), (gtk_gs_load),
6798         (gtk_gs_get_postscript):
6799
6800         Get rid of ggvutils
6801
6802 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
6803
6804         * ps/ggvutils.c:
6805         * ps/ggvutils.h:
6806         * ps/gsio.h:
6807         * ps/gtkgs.c: (gtk_gs_set_zoom):
6808
6809         Cleanups
6810
6811 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
6812
6813         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6814
6815         Ensure the page is rerendered when changing zoom
6816
6817 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
6818
6819         * backend/ev-document.c: (ev_document_base_init),
6820         (ev_document_changed):
6821         * backend/ev-document.h:
6822
6823         Add a changed event that is emitted when the page content
6824         changes. This is necessary to deal with the fact that
6825         in ps backend rendering happen asycrounously.
6826         This makes the ps backend mostly work.
6827
6828         * pdf/xpdf/pdf-document.cc:
6829
6830         Emit changed event
6831
6832         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6833         (ps_document_set_target):
6834
6835         Emit changed event
6836
6837         * shell/ev-view.c: (document_changed_callback),
6838         (ev_view_set_document), (ev_view_set_page):
6839
6840         Redraw on the changed signal
6841
6842 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
6843
6844         * configure.ac: Added pt_BR to ALL_LINGUAS.
6845
6846 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
6847
6848         * backend/ev-document-bookmarks.c:
6849         (ev_document_bookmarks_get_child): *
6850         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6851         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6852         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6853         (ev_sidebar_bookmarks_destroy),
6854         (ev_sidebar_bookmarks_class_init),
6855         (ev_sidebar_bookmarks_construct), (stack_data_free),
6856         (do_one_iteration), (populate_bookmarks_idle),
6857         (ev_sidebar_bookmarks_clear_document),
6858         (ev_sidebar_bookmarks_set_document): *
6859         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6860         (ev_sidebar_add_page),
6861         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6862         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
6863         it displays both the topics and the page numbers.
6864
6865 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
6866
6867         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6868         toggle.
6869         * shell/ev-window.c (toggle_entries): Set sidebar default value to
6870         visible.
6871
6872 2004-12-23  Adam Weinberger  <adamw@gnome.org>
6873
6874         * configure.ac: Added en_CA to ALL_LINGUAS.
6875
6876 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
6877
6878         * ChangeLog: replace bottom of this ChangeLog (merged history of
6879         ggv and gpdf; where all paths were wrong and most of the files are
6880         not even in this tree) with ChangeLog (from arch) of the shell
6881         code.
6882
6883 2004-12-23  Havoc Pennington  <hp@redhat.com>
6884
6885         * shell/ev-window.c: hook up potentially-questionable "find
6886         results status text" feature - something involving the sidebar or
6887         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6888         might be better in the end.
6889
6890         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
6891         with corresponding signal when it should be updated
6892
6893         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6894
6895 2004-12-22  Havoc Pennington  <hp@redhat.com>
6896
6897         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6898         find stuff on other pages, sort of (only returns one result on
6899         invisible pages, to show they have results; updates full results
6900         for a page when you view it). Currently repaints the current page
6901         every time a new result is found on any page, which isn't so nice.
6902
6903 2004-12-22  Havoc Pennington  <hp@redhat.com>
6904
6905         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6906         the document doesn't support find (better ideas?)
6907         (find_bar_search_changed_cb): handle missing document or document
6908         that doesn't support find
6909
6910         * pdf/xpdf/pdf-document.cc: port to implement the new
6911         EvDocumentFindIface
6912
6913         * backend/ev-document-find.c: create a new interface for searching
6914
6915         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6916
6917 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
6918
6919         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6920         libevbackend.la.
6921
6922         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6923         EvPrintJob constructor arguments.
6924
6925         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6926         for documents that can export PostScript (page by page).
6927
6928         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6929         
6930         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6931         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6932         (pdf_document_ps_exporter_iface_init:
6933         Implement EvPSExporter.
6934
6935         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6936
6937 2004-12-22  Anders Carlsson  <andersca@gnome.org>
6938
6939         * backend/Makefile.am:
6940         * backend/ev-document-thumbnails.c:
6941         (ev_document_thumbnails_get_type),
6942         (ev_document_thumbnails_get_thumbnail):
6943         * backend/ev-document-thumbnails.h:
6944         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6945         (pixbuf_document_thumbnails_get_thumbnail),
6946         (pixbuf_document_document_thumbnails_iface_init):
6947         * shell/Makefile.am:
6948         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6949         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6950         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6951         * shell/ev-sidebar-thumbnails.h:
6952         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6953         (ev_sidebar_set_document):
6954         * shell/ev-utils.c: (gaussian), (create_blur_filter),
6955         (create_shadow), (ev_pixbuf_add_shadow):
6956         * shell/ev-utils.h:
6957         Add thumbnail support.
6958         
6959 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
6960
6961         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6962         (using_postscript_printer): Set up a print dialog for "PostScript
6963         injection" method.
6964
6965         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6966         EvPrintJob.
6967
6968         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6969
6970 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
6971
6972         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6973         (ps_document_set_target), (ps_document_get_page_size),
6974         (ps_document_render):
6975         * ps/gtkgs.h:
6976
6977         Fix a few bugs
6978
6979 2004-12-22  Christian Rose  <menthos@menthos.com>
6980
6981         * configure.ac: Added "sv" to ALL_LINGUAS.
6982
6983 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
6984
6985         * backend/ev-document-bookmarks.[ch]: new interface to indicate
6986         document supports bookmarks.
6987
6988 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
6989
6990         * ps/ggvutils.c: (ggv_file_readable):
6991         * ps/ggvutils.h:
6992         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6993         (gtk_gs_get_postscript):
6994
6995         Remove unused utils
6996
6997 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
6998
6999         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7000         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7001         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7002         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7003         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7004         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7005         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7006         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7007         (gtk_gs_set_antialiasing), (ps_document_load),
7008         (ps_document_render):
7009         * ps/gtkgs.h:
7010
7011         Another check point for the ps backend. Now I can get it to show
7012         pages!
7013
7014 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
7015
7016         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7017         document setting code.
7018
7019 2004-12-22  Anders Carlsson  <andersca@gnome.org>
7020
7021         * shell/eggfindbar.c: (entry_activate_callback):
7022         Animate the next button when activate is pressed.
7023         
7024 2004-12-22  Anders Carlsson  <andersca@gnome.org>
7025
7026         * shell/ev-window.c: (ev_window_cmd_edit_find),
7027         (update_fullscreen_popup), (ev_window_fullscreen),
7028         (ev_window_unfullscreen), (ev_window_state_event_cb),
7029         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7030         Fix bugs in fullscreen code.
7031         
7032 2004-12-22  Anders Carlsson  <andersca@gnome.org>
7033
7034         * Makefile.am:
7035         * configure.ac:
7036         * pixbuf/Makefile.am:
7037         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7038         (pixbuf_document_load), (pixbuf_document_get_n_pages),
7039         (pixbuf_document_set_page), (pixbuf_document_get_page),
7040         (pixbuf_document_set_target), (pixbuf_document_set_scale),
7041         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7042         (pixbuf_document_render), (pixbuf_document_begin_find),
7043         (pixbuf_document_end_find), (pixbuf_document_finalize),
7044         (pixbuf_document_class_init),
7045         (pixbuf_document_document_iface_init), (pixbuf_document_init):
7046         * pixbuf/pixbuf-document.h:
7047         * shell/Makefile.am:
7048         * shell/ev-application.c: (ev_application_open):
7049         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7050         (ev_window_open):
7051         Add pixbuf backend.
7052         
7053 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
7054
7055         * Makefile.am: 
7056         * dvi/dvilib/Makefile.am:
7057         * dvi/Makefile.am:
7058         * configure.ac: Auto*ify dvi and dvi/dvilib
7059
7060         * dvi/Makefile: Remove from CVS
7061         
7062         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7063         confusion.
7064
7065         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7066         
7067         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7068         
7069 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
7070
7071         * ps/Makefile.am:
7072         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7073         (gtk_gs_value_adjustment_changed), (compute_size),
7074         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7075         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7076         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7077         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7078         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7079         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7080         (ps_document_load), (ps_document_get_n_pages),
7081         (ps_document_set_page), (ps_document_get_page),
7082         (ps_document_set_target), (ps_document_set_scale),
7083         (ps_document_set_page_offset), (ps_document_get_page_size),
7084         (ps_document_render), (ps_document_begin_find),
7085         (ps_document_end_find), (ps_document_document_iface_init):
7086         * ps/gtkgs.h:
7087         * shell/Makefile.am:
7088         * shell/ev-window.c: (ev_window_open):
7089
7090         Some work to integrate gtkgs with EvDocument
7091
7092 2004-12-22  Anders Carlsson  <andersca@gnome.org>
7093
7094         * shell/ev-window.c: (update_fullscreen_popup),
7095         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7096         (exit_fullscreen_button_clicked_cb),
7097         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7098         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7099         (ev_window_state_event_cb), (ev_window_init):
7100         Add fullscreen support from Epiphany.
7101         
7102 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
7103
7104         * data/ev-stock-zoom-fit-width.png: fit-width
7105         stock icon from gpdf.
7106         
7107         * shell/ev-stock-icons.[ch]: copied from gpdf.
7108         
7109         * shell/main.c: (main): init stock icons.
7110         
7111         * shell/ev-window.c: use the fit-width icon.
7112         
7113         * data/evince-ui.xml: add zooming toolbar items.
7114
7115 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
7116
7117         * shell/ev-view.c: 
7118         (ev_view_best_fit), (ev_view_fit_width): because
7119         get_page_size() returns the scaled page size, we
7120         need to calculate the scale factor relative to
7121         the previous scale factor. Should really just
7122         add get_real_page_size().
7123
7124 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
7125
7126         * shell/ev-view.[ch]:
7127         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7128         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7129         add zooming.
7130         
7131         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7132         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7133         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7134         hook it up.
7135         
7136         * pdf/xpdf/pdf-document.cc:
7137         (pdf_document_begin_find),
7138         (pdf_document_end_find): make static.
7139
7140 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
7141
7142         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7143
7144         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7145         names to fontconfig patterns.
7146         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7147
7148         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7149         setupBaseFontsFc.
7150
7151 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
7152
7153         * Makefile.am:
7154         * configure.ac:
7155         * ps/Makefile.am:
7156         * ps/ggvutils.c:
7157         * ps/ggvutils.h:
7158         * ps/gsdefaults.c:
7159         * ps/gsdefaults.h:
7160         * ps/gsio.c:
7161         * ps/gsio.h:
7162         * ps/gtkgs.c:
7163         * ps/gtkgs.h:
7164         * ps/ps.c:
7165         * ps/ps.h:
7166
7167         Import ggv backend. Not hooked up yet.
7168
7169 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
7170
7171         * shell/main.c: (load_files), (main): load files
7172         from the command line.
7173
7174 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
7175
7176         * configure.ac: don't require bonobo.
7177         
7178         * cut-n-paste/recent-files/*: kill bonobo recent
7179         view.
7180
7181         * shell/ev-window.c:
7182         (ev_window_is_empty): upd.
7183         (unable_to_load), (ev_window_open): load backend
7184         based on the mime type.
7185
7186 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
7187
7188         * backend/.cvsignore: ignore generated marshalers source.
7189
7190         * shell/main.c (main): this is not epiphany.
7191
7192 2004-12-22  Havoc Pennington  <hp@redhat.com>
7193
7194         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7195         (expose_bin_window): draw find highlights
7196
7197         * shell/ev-window.c (find_bar_search_changed_cb): implement 
7198         
7199         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
7200         (pdf_document_end_find): implement this interface
7201
7202         * backend/ev-document.c (ev_document_found): add this to emit
7203         signal
7204
7205 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
7206
7207         * data/evince-ui.xml: Add a few more toolbar items.
7208
7209         * shell/ev-window.c: Hook up page navigation toolbar 
7210         items.
7211
7212         * shell/ev-view.[ch]: add ev_view_set/get_page and 
7213         a page-changed signal.
7214
7215         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7216         Add ev_document_get_page().
7217
7218         * shell/ev-window.c: Sensitize/desensitize navigation
7219         actions.
7220
7221 2004-12-21  Havoc Pennington  <hp@redhat.com>
7222
7223         * backend/ev-backend-marshal.c,
7224         backend/ev-backend-marshalers.list, backend/Makefile.am: add
7225         marshaler-generator thingy. I'm sure there's a better way to do
7226         this in the modern world.
7227
7228         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7229         end_find methods and "found" signal.
7230
7231         * configure.ac: find glib-genmarshal
7232
7233 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
7234
7235         * shell/ev-sidebar.c: Construct an actual sidebar.
7236         * shell/ev-sidebar-bookmarks.[ch]:
7237         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7238
7239 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
7240
7241         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7242         Redo size handling.
7243         
7244         * shell/ev-view.c: Track the size from the document.
7245
7246 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
7247
7248         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7249         constructor assumes ownership of the string passed in.
7250         
7251         * shell/ev-window.c (ev_window_open): Destroy the error
7252         dialog once we've displayed it.
7253
7254 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
7255
7256         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
7257         a bit, it works! (sort of)
7258
7259         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7260         Move to .cc since we need to use C++ in the implementation.
7261
7262         * shell/dummy.cc: Add a CC file to force evince
7263         to be linked as a C++ program.
7264
7265 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
7266
7267         * shell/ev-view.[ch]: Start of content-area widget.
7268
7269         * shell/ev-window.c: Create a EvView, update it
7270         as we change documents.
7271
7272         * shell/Makefile.am shell/ev-marshal.list: Add
7273         generated marshalers.
7274
7275 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
7276
7277         * Makefile.am (SUBDIRS): move shell.
7278
7279 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
7280
7281         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7282         .a to libtool convenience libraries.
7283
7284         * shell/ev-window.c (ev_window_open): Hard code loading
7285         a PDF document.
7286         
7287         * backend/ev-document.h: Add a boolean return to load(),
7288         fix GError * to GError **.
7289
7290         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7291         object for a PDF backend EvDocument.
7292
7293 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
7294
7295         * dvi/*: New directory with the beginning of a .dvi backend.
7296
7297 2004-12-21  Havoc Pennington  <hp@redhat.com>
7298
7299         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7300         previous/next instead of back/forward
7301
7302 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
7303
7304         * backend/ev-document.[ch]: Fix a couple of problems so
7305         it compile.
7306
7307 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
7308
7309         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
7310         to backend/ directory, rename EvViewer to EvDocument.
7311
7312 2004-12-21  Havoc Pennington  <hp@redhat.com>
7313
7314         * shell/ev-window.c: hook up the find bar widget; now we just need
7315         a document to find things in
7316
7317         * shell/eggfindbar.c: a find bar widget
7318
7319 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
7320
7321         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7322
7323 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
7324
7325         * pdf/**: Import of xpdf code from gpdf. 
7326
7327         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7328
7329         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7330         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
7331         Fix FreeType includes.
7332
7333         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7334         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7335         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7336         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7337         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7338         Include xpdfconfig.h
7339         
7340 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
7341
7342         * shell/ev-window.c (ev_window_dispose): dispose can be called
7343         multiple times.
7344
7345 2004-12-21  Havoc Pennington  <hp@redhat.com>
7346
7347         * shell/ev-window.c (ev_window_init): set title to Document Viewer
7348         rather than Evince
7349
7350         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7351         items; really they should be synced with the strings, etc. from
7352         current gpdf, but just getting the boring typing out of the way 
7353
7354 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
7355
7356         * po/POTFILES.in:
7357         * shell/ev-application.c: (window_destroy_cb):
7358         * shell/ev-window.c:
7359         * shell/main.c: (main):
7360
7361         Actually show the window...
7362
7363 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
7364
7365         * Makefile.am:
7366         * shell/Makefile.am:
7367         * shell/ev-application.c: (ev_application_class_init):
7368         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7369
7370         Make it build again
7371
7372 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
7373
7374         Import to gnome cvs.
7375         
7376         * Remove copies of gpdf and ggv trees.
7377         * Rip out all the recursive configure code.
7378         * Remove bonobo machinery.
7379         * viewer/*: GInterfaces that backends should/can implement.
7380
7381 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7382
7383         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7384         typo
7385
7386 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7387
7388         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7389         (ev_application_finalize, ev_application_class_init)
7390         (ev_application_init): use GType instance private data for priv.
7391     
7392         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7393         (ev_window_finalize, ev_window_class_init)
7394         (ev_window_init): ditto.
7395
7396 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7397
7398         * shell/ev-application.c (ev_application_new_window): make public
7399         (ev_application_show_initial_window): kill.
7400     
7401         * shell/ev-application.h: update prototypes.
7402     
7403         * shell/main.cc (main): inline ev_application_show_initial_window.
7404
7405 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7406
7407         * shell/ev-application.c (ev_application_new_window): impl.
7408         (ev_application_show_initial_window): use it.
7409         (is_window_empty, ev_application_get_empty_window): returns an
7410         existing empty window or a new one.
7411         (ev_application_open): from ev_window_cmd_file_open.
7412     
7413         * shell/ev-application.h: update prototypes
7414     
7415         * shell/ev-window.c (ev_window_is_empty): impl.
7416         (ev_window_open): make public.
7417         (ev_window_cmd_file_open): use ev_application_open
7418     
7419         * shell/ev-window.h: update prototypes, remove unused.
7420
7421 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7422
7423         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7424         move destroy handler out of here...
7425     
7426         * shell/ev-application.c, shell/ev-application.h: ...into this new
7427         class. Also handles initial window creation.
7428     
7429         * shell/main.cc (main): use EvApplication to create initial
7430         window.
7431
7432 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7433
7434         * Makefile.am (SUBDIRS): add cut-n-paste
7435     
7436         * cut-n-paste/Makefile.am: add
7437     
7438         * configure.ac: generate Makefiles in cut-n-paste
7439
7440 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7441
7442         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7443         (ev_window_class_init): install ev_window_dispose.
7444
7445 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7446
7447         * shell/ev-window.h, shell/ev-window.c: replace gchar with
7448         char (gchar looks stupid).
7449
7450 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7451
7452         * po/de.po: updated German translation.
7453
7454 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7455
7456         * configure.ac: add more pkg-config library checks for gnome-vfs,
7457         bonobo etc.
7458     
7459         * gpdf/configure.in: temporarily disable libpaper
7460         checks. Otherwise I'd have to add the checks for the shell, too.
7461
7462 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7463
7464         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7465         and * file filters to the file choose.
7466
7467 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7468
7469         * po/de.po: Updated German translation.
7470
7471 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7472
7473         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7474
7475 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7476
7477         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7478     
7479         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7480         (ev_window_init): implement those menuitems.
7481
7482 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7483
7484         * data/evince-ui.xml: add a toolbar (with FileOpen action)
7485     
7486         * shell/ev-window.c (ev_window_init): use the toolbar.
7487
7488 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7489
7490         * shell/ev-window.c (ev_window_init): use menu translations
7491
7492 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7493
7494         * configure.ac: add "de" to ALL_LINGUAS.
7495     
7496         * po/de.po: add German translation.
7497
7498 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7499
7500         * Makefile.am (SUBDIRS): add po
7501     
7502         * configure.ac: check intltool, glib-gettext etc, generate
7503         po/Makefile.in
7504     
7505         * po, po/POTFILES.in, po/POTFILES.skip: new.
7506
7507 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7508
7509         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7510         already use (#ifdef ENABLE_NLS)
7511     
7512         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7513         pointer indirection thinko.
7514     
7515         * shell/main.c: include gi18n.h for bindtextdomain etc.
7516
7517 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7518
7519         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7520         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7521         tooltips for menu items in the statusbar.
7522
7523 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7524
7525         * configure.ac, data/Makefile.am, shell/Makefile.am: use
7526         pkgdatadir drop UIDIR
7527
7528 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7529
7530         * data/evince-ui.xml: Add File->Open menu item
7531     
7532         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7533         chooser), hook it up in the ui manager.
7534
7535 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7536
7537         * shell/ev-window.c: fix Help->About tooltip.
7538
7539 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
7540
7541         * configure.ac: set CFLAGS for libevprivate.
7542     
7543         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7544         definitions, factory etc.
7545     
7546         * lib/Makefile.am: build libevprivate.a (only stock icon code).
7547     
7548         * shell/Makefile.am: link against libevprivate.a.
7549     
7550         * shell/ev-window.c (entries): add stock icon to Help->About.
7551     
7552         * shell/main.c (main): init stock icon code.
7553
7554 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7555
7556         * lib/recent-files: egg recent files code
7557     
7558         * lib/Makefile.am: add.
7559     
7560         * Makefile.am: add lib subdir.
7561     
7562         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7563         set CFLAGS for recent-files.
7564
7565 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7566
7567         * configure.ac: disable -ansi and -pedantic gcc flags. They
7568         disable POSIX stuff in stdio.h, but egg-recent uses them.
7569
7570 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
7571
7572         * configure.ac: add --disable-deprecated flag (defaults to on in
7573         "cvs" builds).
7574     
7575         * shell/Makefile.am (INCLUDES): use it.
7576
7577 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7578
7579         * shell/main.c: add missing #include.
7580     
7581         * shell/ev-window.c: fix for pedantic gcc.
7582         (ev_window_cmd_help_about): split license into paragraphs for
7583         translators and pedantic compilers.
7584
7585 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7586
7587         * configure.ac: add more warning flags if compiling with gcc from
7588         cvs (or explicitly requested with --enable-more-warnings).
7589
7590 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7591
7592         * data/evince-ui.xml: add File and File->Close menu.
7593     
7594         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7595         (ev_window_destroy): quit after destroy.
7596         (ev_window_class_init): override GtkObject::destroy.
7597         (entries): install close_window callback.
7598
7599 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7600
7601         * Makefile.am (SUBDIRS): add data subdir.
7602     
7603         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
7604         gtk+ 2.5.0 for GtkAboutDialog.
7605     
7606         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7607         main window.
7608     
7609         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7610     
7611         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7612         manager.
7613         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7614
7615 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7616
7617         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7618
7619 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7620
7621         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7622
7623 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7624
7625         * shell/*: Added shell directory boilerplate, build it.
7626
7627 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
7628
7629         * configure.ac, Makefile.am: Added top-level configure.ac and
7630         Makefile.am