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