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