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