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