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