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