1 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-view.c: (view_update_range_and_current_page):
5 Allow display of last odd page in dual view. Fix for 316347.
7 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
9 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
11 Make close button default. Fix for 316383.
13 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
15 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
17 Mark close button as default. Fix for 316381.
19 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
21 * backend/ev-link.c: (ev_link_class_init):
23 Allow negative doubles in left/top properties
25 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
29 Remove a bunch of strings that was used only
32 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
34 * shell/ev-window-title.c: (get_filename_from_uri),
35 (ev_window_title_set_document):
37 When title has a confusing extension, show also
38 the document filename inside ()
40 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
43 * shell/ev-window-title.c: (ev_window_title_new),
44 (ev_window_title_update), (ev_window_title_set_type),
45 (ev_window_title_set_document), (ev_window_title_free):
46 * shell/ev-window-title.h:
47 * shell/ev-window.c: (ev_window_setup_document),
48 (password_dialog_response), (ev_window_popup_password_dialog),
49 (ev_window_dispose), (ev_window_init):
51 Factor out and cleanup window title code
53 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
55 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
58 Make dialog transient so it doesnt block other windows
60 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
64 Fix pdf thumbnails rendering.
66 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
68 * shell/ev-window.c: (fullscreen_set_timeout):
70 Increase timeout to hide full screen popup. Bug
73 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
75 * data/evince.schemas.in:
76 * shell/ev-window.c: (update_action_sensitivity):
78 Allow the user to override document restrictions. Fix for bug
81 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
83 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
84 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
85 (ev_window_class_init): Fix multihead behaviour of fullscreen
86 toolbar popup. Fixes bug #315451.
88 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
91 * data/evince-password.glade:
92 * shell/ev-password.c: (ev_password_dialog_set_property),
93 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
94 (ev_password_dialog_init), (ev_password_set_bad_password_label),
95 (ev_password_dialog_entry_changed_cb),
96 (ev_password_dialog_entry_activated_cb),
97 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
98 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
99 (ev_password_dialog_set_bad_pass):
100 * shell/ev-password.h:
101 * shell/ev-window.c: (password_dialog_response),
102 (ev_window_popup_password_dialog):
104 Support for gnome-keyring for encrypted PDF's.
106 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
108 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
109 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
110 (ev_view_enter_notify_event), (ev_view_class_init):
112 More precise handling of enter_notify/leave_notify events
113 in EvView. Fix for bug 315470.
115 2005-09-08 Christopher Aillon <caillon@redhat.com>
117 * shell/ev-window.c: (fullscreen_timeout_cb),
118 (fullscreen_set_timeout), (fullscreen_clear_timeout),
121 leak fix: unref fullscreen_timeout_source before clearing it
123 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
125 * configure.ac, dvi/mdvi/Makefile.am:
127 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
129 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
131 * backend/ev-link.c: (ev_link_new_page_xyz):
133 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
135 Fix some bugs with xyz links, respect zoom
137 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
139 * shell/ev-window.c: (page_changed_cb),
140 (setup_document_from_metadata), (update_sidebar_visibility),
141 (setup_view_from_metadata), (ev_window_run_fullscreen),
142 (ev_window_stop_fullscreen), (ev_window_run_presentation),
143 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
144 (ev_window_dual_mode_changed_cb),
145 (ev_window_sidebar_current_page_changed_cb):
147 null check uri before setting and getting metadata
149 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
152 * properties/Makefile.am:
154 * thumbnailer/Makefile.am:
156 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
158 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
160 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
161 (selection_changed_callback):
162 * shell/ev-sidebar-links.h:
164 Add a signal for link activation.
166 * shell/ev-view.c: (ev_view_goto_link),
167 (ev_view_button_release_event):
169 * shell/ev-window.c: (sidebar_links_link_activated_cb),
172 Implement the signal so that we can handle all link types.
174 * shell/ev-page-cache.c:
176 Remove unused set_link function
178 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
180 * lib/ev-tooltip.c: (ev_tooltip_set_position):
182 Add some space from the cursor, hardcoded but I couldnt
185 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
189 Use mozilla style vs gtk style, way better for links.
191 * shell/ev-view.c: (ev_view_motion_notify_event),
192 (ev_view_destroy), (ev_view_init):
194 Deactive tooltip when the link hovered is changed.
196 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
198 * backend/ev-document.h:
199 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
200 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
201 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
202 (ev_link_new_page), (ev_link_new_page_xyz):
205 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
206 (go_to_link), (tip_from_link):
208 Implement xyz links, still not functional. Links are a total
209 mess, will need to refactor and bugfix a lot :(
211 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
213 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
215 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
217 * data/evince-ui.xml:
218 * data/evince.schemas.in:
220 * shell/ev-window.c: (update_chrome_visibility),
221 (password_dialog_response), (ev_window_load_job_cb),
222 (ev_window_xfer_job_cb), (ev_window_open_uri),
223 (ev_window_class_init), (set_chrome_actions), (load_chrome),
226 Remove the statusbar. This regress loading feedback, need to
227 check with Bryan what we want to do there...
229 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
231 * lib/ev-tooltip.c: (ev_tooltip_init):
233 Fix tooltip border and size handling
235 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
237 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
238 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
239 (ev_tooltip_timeout), (ev_tooltip_activate),
240 (ev_tooltip_deactivate):
242 * shell/ev-view.c: (ev_view_motion_notify_event):
244 Delay popup showing. Mirror gtk logic/times.
246 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
249 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
250 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
251 (ev_tooltip_set_text), (ev_tooltip_set_position):
254 Simple widget to show tooltips at a custom position
256 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
259 Use it for links. First go, needs work
261 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
263 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
264 HIG fixes. Use title capitalization for window title. Use 12
265 pixels of space between the dialog's vbox and action area.
267 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
269 * shell/ev-window.c: (file_open_dialog_response_cb),
270 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
271 (ev_window_cmd_save_as):
273 Make file pickers not modal and refactor code some
275 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
277 * shell/ev-sidebar.h:
278 * shell/ev-sidebar.c: (ev_sidebar_set_property),
279 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
280 (ev_sidebar_class_init), (ev_sidebar_select_page),
281 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
282 (ev_sidebar_set_page):
284 Add a current page property and allow to get/set it
286 * shell/ev-window.c: (setup_view_from_metadata),
287 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
289 Persist current sidebar page per document
291 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
293 * data/evince.schemas.in:
294 * shell/ev-window.c: (update_chrome_visibility),
295 (setup_document_from_metadata), (update_sidebar_visibility),
296 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
297 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
298 (ev_window_run_presentation), (ev_window_stop_presentation),
299 (ev_window_view_sidebar_cb),
300 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
301 (load_chrome), (ev_window_init):
303 Persist size/visibility of sidebar per document
305 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
307 * shell/ev-view.c (draw_loading_text): Draw loading text.
309 2005-09-02 Dan Damian <dand@gnome.ro>
311 * configure.in: Added "ro" to ALL_LINGUAS.
313 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
315 * shell/ev-view.c: (clear_caches):
317 ev_page_cache_get doesnt return a reference,
318 dont try to unref it.
320 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
322 * shell/main.c: (load_files_remote):
324 Fix timestamp parameter with dbus <= 0.33
326 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
328 * data/evince.schemas.in:
330 Add missing full stop
332 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
334 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
335 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
337 Plug some memory leaks
339 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
342 * lib/ev-debug.c: (trap_handler):
344 Check for execinfo.h and use it only if it exists.
345 Ported from Epiphany (bug #314776).
347 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
349 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
351 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
353 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
354 * po/id.po : Added Indonesian translation
356 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
359 * shell/ev-application.c: Last minute GTK-2.6 fixes.
360 * NEWS: Release 0.4.0
362 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
364 * configure.ac: catch another gtk+-2.8ism
365 * shell/main.c: Make work with gtk+-2.6
367 2005-08-25 Ryan Lortie <desrt@desrt.ca>
369 * shell/ev-application-service.xml: Add 'timestamp' argument to
370 ev_application_open_window and ev_application_open_uri methods.
372 * shell/ev-application.h: Add 'timestamp' argument to
373 ev_application_open_window, ev_application_open_uri,
374 and ev_application_open_uri_list functions.
376 * shell/ev-application.c (ev_application_open_window,
377 ev_application_open_uri, ev_application_open_uri_list): Change
378 functions that show/present windows to use a timestamp if one
381 * shell/ev-window.c (ev_window_cmd_file_open,
382 ev_window_cmd_recent_file_activate, drag_data_received_cb):
383 * shell/main.c (load_files): Modify calls to ev_application to
384 include GDK_CURRENT_TIME as timestamp.
386 * shell/main.c (load_files_remote): Obtain timestamp for client
387 instance from GDK and pass to server instance so new windows are
388 focused properly. Fix dbus_g_proxy_call() calls by including second
393 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
395 * shell/ev-window.c (ev_window_finalize): Check for
396 avail. EvWindows when quiting to handle the finalize better,
399 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
401 * properties/ev-properties-view.c:
403 Set textdomain to libglade. Fixes translation problem in property page.
405 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
407 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
409 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
410 * dvi/mdvi-lib/Makefile.am:
412 Fix rotation of thumbnails, ported to new API. Moved library
413 dependencies earlier, probably it will fix linkage problem.
415 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
417 * backend/ev-document-misc.c:
418 (ev_document_misc_get_thumbnail_frame):
419 * backend/ev-document-misc.h:
423 * shell/ev-sidebar-thumbnails.c: (add_range),
424 (ev_sidebar_thumbnails_set_loading_icon),
425 (ev_sidebar_thumbnails_refresh),
426 (ev_sidebar_thumbnails_set_document):
427 * shell/ev-sidebar-thumbnails.h:
428 * shell/ev-view.c: (ev_view_motion_notify_event),
429 (ev_view_set_property), (ev_view_get_property),
430 (ev_view_class_init), (ev_view_set_rotation):
431 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
432 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
434 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
435 Redo rotation (again). prepare for 0.4.0
437 2005-08-24 Kristian Høgsberg <krh@redhat.com>
439 * configure.ac: Bump poppler requirement to 0.4.1.
441 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
442 argument to poppler_page_render_selection() call.
444 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
446 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
447 (djvu_document_thumbnails_get_thumbnail):
448 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
449 (dvi_document_thumbnails_get_thumbnail):
450 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
451 (pixbuf_document_thumbnails_get_thumbnail):
452 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
454 Update rotation direction of backends to fit with pdf and ps.
456 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
458 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
459 * backend/ev-async-renderer.h:
460 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
461 (setup_page), (ps_document_get_page_size),
462 (ps_async_renderer_render_pixbuf):
464 * shell/ev-jobs.c: (ev_job_render_run):
466 Fix orientation in the postscript document
468 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
471 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
472 * shell/ev-view.c: (highlight_find_results):
474 Adapt to the new poppler rotation API. Fix text maps on landscape
477 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
479 * shell/ev-view.c (compute_new_selection_text): get the correct
480 region when selecting in modes other than continuous.
482 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
484 * shell/main.c (main): remove redundant g_warnings.
486 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
488 * shell/Makefile.am: Don't include autogenerated
489 file ev-application-service.h into distribution, since
490 it causes dbus crash. Fix for bugs 313724 and 313443.
492 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
494 * configure.ac: Fix sed expression for FreeBSD. Thanks
495 to Joe Marcus Clark <marcus@freebsd.org>
497 * shell/eggfindbar.c: (entry_activate_callback),
498 (entry_changed_callback), (egg_find_bar_init),
499 (egg_find_bar_set_search_string):
501 Made findbar buttons unsensitive if there is no text in
502 entry. Fix for the bug 313285.
504 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
506 * ps/ps-document.c: Use g_filename_display_name for displaying
507 filenames and revert string freeze breackage
509 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
518 Add ev-application-service.xml to extra dist
520 * shell/ev-view.c: (find_page_at_location):
522 Remove unused function (fix warning)
524 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
526 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
527 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
529 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
532 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
534 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
538 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
540 * configure.ac: Update script to get dbus version.
541 Fix for the bug #313443.
543 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
545 * shell/ev-window.c: (ev_window_cmd_escape):
547 Return focus back to view on escape. Fix for bug 313295.
549 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
551 * shell/ev-window.c: (update_window_title),
552 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
553 (ev_window_cmd_save_as):
555 Correct conversion from uri to displayable string. Fix for
558 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
560 * ps/ps-document.c: convert filename to utf8 when there is an error
561 loading document. Fixes #309915
563 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
567 We depend on poppler 0.4.0
569 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
572 * NEWS: Release 0.3.3.
573 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
575 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
577 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
578 add a couple missing mnemonics to menu items, use title
579 capitalization for menu items and window titles, and add
580 ellipsis to open menu item.
582 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
585 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
586 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
587 (ev_view_get_rotation):
589 * shell/ev-window.c: (setup_view_from_metadata),
590 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
591 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
594 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
596 * configure.ac: Added tr to ALL_LINGUAS
598 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
600 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
601 requires several clicks to find word. Thanks to
602 Colin Slater <kiltedtaco@gmail.com>.
604 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
606 * data/evince.desktop.in.in: Hide menu entry and
607 rename it to "Document Viewer". Fix for bug
610 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
612 * shell/ev-page-action.c (ev_page_action_class_init):
614 Point to the correct function in constructor of the
615 activate_label signal
617 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
619 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
620 * shell/ev-jobs.h: Make thread safe.
622 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
624 * shell/ev-view.c: (view_update_range_and_current_page):
625 Don't update page range if we are scrolling to some document
628 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
630 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
631 when getting max_page_width, fix drawing in dual mode.
633 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
635 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
636 getting the area for select_all.
638 2005-08-06 Kristian Høgsberg <krh@redhat.com>
640 * backend/ev-selection.c: (ev_selection_render_selection):
641 * backend/ev-selection.h:
643 * shell/ev-jobs.c: (ev_job_render_new):
645 * shell/ev-pixbuf-cache.c: (get_selection_colors),
646 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
647 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
648 (ev_view_class_init):
650 Change selection color on focus in and focus out events. Also,
651 poppler now uses GdkColor for specifying the selection colors, so
652 drop some awkward conversion code.
654 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
656 * configure.ac: Added Hebrew translation
658 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
661 * backend/ev-selection.c: (ev_selection_render_selection):
662 * backend/ev-selection.h:
664 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
667 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
668 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
669 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
670 (ev_pixbuf_cache_style_changed),
671 (ev_pixbuf_cache_get_selection_pixbuf),
672 (ev_pixbuf_cache_set_selection_list),
673 (ev_pixbuf_cache_get_selection_list):
674 * shell/ev-pixbuf-cache.h:
675 * shell/ev-utils.c: (ev_print_region_contents):
677 * shell/ev-view.c: (ev_view_queue_draw_page),
678 (selection_update_idle_cb), (ev_view_motion_notify_event),
679 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
680 (setup_caches), (ev_view_find_next), (merge_selection_region),
682 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
684 Clean up selection to be much smoother!
686 2005-08-05 Kristian Høgsberg <krh@redhat.com>
688 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
689 to poppler_page_render_selection().
691 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
693 * ps/ps-document.c: (save_page_list): Use
694 unzipped document when printing. Thanks to
695 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
698 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
700 * shell/ev-window.c: (update_action_sensitivity):
702 Disable print and save respect to lockdown gconf keys. Fix
705 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
708 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
709 (write_to_temp_file), (ev_file_set_contents):
711 * shell/ev-window.c: (save_print_config_to_file):
713 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
716 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
718 * shell/ev-window.c: (load_print_config_from_file),
719 (save_print_config_to_file), (ev_window_print_range):
721 Persist the print settings. Fixes bug #311578.
723 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
725 * djvu/djvu-document.c: (djvu_document_get_page_size),
726 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
727 (djvu_document_thumbnails_get_thumbnail):
728 * dvi/dvi-document.c: (dvi_document_get_page_size),
729 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
730 (dvi_document_thumbnails_get_dimensions),
731 (dvi_document_thumbnails_get_thumbnail):
732 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
733 (pixbuf_document_render_pixbuf),
734 (pixbuf_document_document_iface_init),
735 (pixbuf_document_thumbnails_get_thumbnail):
737 Update backends to make them build with new rotation system.
739 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
741 * help/C/figures/evince_start_window.png:
743 Update documentation image from Luca Ferretti <elle.uca@libero.it>
745 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
747 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
748 * shell/ev-pixbuf-cache.h:
749 * shell/ev-sidebar-thumbnails.c:
750 (ev_sidebar_thumbnails_get_property), (add_range),
751 (adjustment_changed_cb):
752 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
753 pixbuf cache. Make thumbnailing work again. Also, fix bug where
754 we were thumbnailing the entire docment on startup, slowing us
757 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
759 * shell/ev-page-cache.c: (ev_page_cache_new):
760 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
763 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
765 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
766 (ev_view_rotate_left):
768 Account rotation in doc_rect_to_view_rect.
769 Ensure rotation doesnt go out of bounds.
771 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
773 * shell/ev-page-cache.c: (ev_page_cache_get_size):
775 Correct and cleanup w/h swapping
777 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
779 * backend/ev-document-thumbnails.c:
780 (ev_document_thumbnails_get_thumbnail):
781 * backend/ev-document-thumbnails.h:
782 * backend/ev-document.c:
783 * backend/ev-document.h:
784 * backend/ev-render-context.c: (ev_render_context_new),
785 (ev_render_context_set_rotation):
786 * backend/ev-render-context.h:
788 * ps/ps-document.c: (ps_document_document_iface_init):
789 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
791 * shell/ev-page-cache.c: (build_height_to_page),
792 (ev_page_cache_new), (ev_page_cache_get_size),
793 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
794 (ev_page_cache_get_height_to_page):
795 * shell/ev-page-cache.h:
796 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
797 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
798 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
799 (ev_pixbuf_cache_get_selection_pixbuf):
800 * shell/ev-pixbuf-cache.h:
801 * shell/ev-print-job.c: (idle_print_handler):
802 * shell/ev-sidebar-thumbnails.c: (add_range):
803 * shell/ev-view.c: (view_update_range_and_current_page),
804 (get_page_y_offset), (get_page_extents),
805 (ev_view_size_request_continuous_dual_page),
806 (ev_view_size_request_continuous),
807 (ev_view_size_request_dual_page),
808 (ev_view_size_request_single_page), (draw_one_page),
809 (ev_view_set_rotation), (ev_view_rotate_right),
810 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
811 (ev_view_zoom_for_size_continuous_and_dual_page),
812 (ev_view_zoom_for_size_continuous),
813 (ev_view_zoom_for_size_dual_page),
814 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
815 (ev_view_select_all):
816 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
817 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
818 (tiff_document_document_iface_init),
819 (tiff_document_thumbnails_get_thumbnail):
821 Use rotation rather than orientation. It's easier and enough
824 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
826 * shell/ev-page-cache.c: (build_height_to_page),
827 (ev_page_cache_new), (ev_page_cache_get_size),
828 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
829 (ev_page_cache_get_height_to_page):
830 * shell/ev-page-cache.h:
831 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
832 (ev_view_size_request_continuous_dual_page),
833 (ev_view_size_request_continuous),
834 (ev_view_zoom_for_size_continuous_and_dual_page),
835 (ev_view_zoom_for_size_continuous):
837 Make the page cache aware of page orientation.
839 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
841 * backend/ev-document-thumbnails.c:
842 (ev_document_thumbnails_get_thumbnail):
843 * backend/ev-document-thumbnails.h:
844 * backend/ev-document.c:
845 * backend/ev-document.h:
846 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
847 * backend/ev-ps-exporter.h:
849 * ps/ps-document.c: (ps_document_document_iface_init),
850 (ps_document_ps_export_do_page):
851 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
853 * shell/ev-page-cache.c: (ev_page_cache_get_size),
855 * shell/ev-page-cache.h:
856 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
857 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
858 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
859 * shell/ev-pixbuf-cache.h:
860 * shell/ev-print-job.c: (idle_print_handler):
861 * shell/ev-sidebar-thumbnails.c: (add_range):
862 * shell/ev-view.c: (view_update_range_and_current_page),
863 (get_page_extents), (ev_view_size_request_dual_page),
864 (ev_view_size_request_single_page), (draw_one_page),
865 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
866 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
867 (ev_view_zoom_for_size_dual_page),
868 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
869 (ev_view_select_all):
870 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
871 * tiff/tiff-document.c: (tiff_document_get_page_size),
872 (tiff_document_get_orientation), (rotate_pixbuf),
873 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
874 (tiff_document_thumbnails_get_thumbnail),
875 (tiff_document_ps_export_do_page), (tiff_document_init):
877 Really make use of the orientation bit of the render context.
878 Use the render context in a few more places in the backend API.
879 This regress orientation, but now it's done right. Will try to
882 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
884 * shell/ev-view.c: (ensure_rectangle_is_visible):
886 Patch by Nickolay V. Shmyrev to fix find flickering
888 2005-07-27 Martin Kretzschmar <martink@gnome.org>
890 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
891 duplex parameters to ::begin.
893 * tiff/tiff-document.c (tiff_document_ps_export_begin):
894 * shell/ev-print-job.c (idle_print_handler):
895 * ps/ps-document.c (ps_document_ps_export_begin):
896 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
897 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
898 implementations. Poppler backend needs poppler cvs. Rest has
901 2005-07-25 Martin Kretzschmar <martink@gnome.org>
903 * shell/ev-window.c (using_pdf_printer): new function.
904 (ev_window_print_range): print a less techy message if someone
905 tries to print to PDF.
907 2005-07-25 Martin Kretzschmar <martink@gnome.org>
909 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
910 from "unknown font" string. Bug #311431
912 2005-07-24 Martin Kretzschmar <martink@gnome.org>
914 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
916 2005-07-24 Martin Kretzschmar <martink@gnome.org>
920 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
921 name for PopplerFontTypes
922 (pdf_document_fonts_fill_model): add font type to the detail column
924 * backend/ev-document-fonts.h: added
925 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
927 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
928 font name and font details, add a little markup.
929 (ev_properties_fonts_init): use the new cell data func, specify ypad
930 property for the cell renderer.
931 (ev_properties_fonts_set_document): add the details column.
933 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
935 * configure.ac: Added "pl" to ALL_LINGUAS.
937 2005-07-24 Danilo Šegan <danilo@gnome.org>
939 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
941 2005-07-23 Tommi Vainikainen <thv@iki.fi>
943 * help/ChangeLog: Started this for translations of manual.
944 * configure.ac, autogen.sh, .cvsignore: Migrated to
945 gnome-doc-utils. Patch in bug #311222.
947 2005-07-22 Martin Kretzschmar <martink@gnome.org>
949 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
950 #ifdef this away to fix an unused-function warning.
952 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
954 * configure.ac: Added 'gl' to ALL_LINGUAS.
956 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
958 * configure.ac: Added ne in ALL_LINGUAS
960 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
962 * shell/ev-view.c: (ev_view_leave_notify_event):
964 Clear status message when pointer leaves view. Fix for bug
967 2005-07-20 Ankit Patel <ankit644@yahoo.com>
969 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
971 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
973 * shell/ev-view.c: (ev_view_leave_notify_event),
974 (ev_view_class_init):
976 Set cursor to normal then leaving view.
978 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
982 Fix required djvulibre version.
984 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
986 *configure.ac: Hindi (hi) language added
988 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
990 *configure.ac: Punjabi (pa) Language added
992 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
994 * data/evince-ui.xml, shell/ev-window.c:
996 Add keypad accelerators for zooming. Fix for bug 308128.
998 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1001 * backend/Makefile.am:
1002 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1004 * shell/ev-document-types.c: (ev_document_types_add_filters):
1006 Allow to enable/disable the pixbuf backend.
1007 Default to off for now. If we want it enabled we should
1008 really put mime types in the desktop, implement properties etc.
1010 * properties/evince-properties.c:
1012 Initialize error to NULL.
1013 Check error is not NULL before freeing.
1015 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1017 * shell/ev-window.c:
1019 Use F5 as presentation accell
1021 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1023 * shell/ev-window.c: (update_chrome_visibility),
1024 (ev_window_create_fullscreen_popup), (ev_window_init):
1026 Do not leak the fullscreen toolbar
1028 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1030 * shell/ev-window.c: (view_actions_focus_in_cb),
1031 (view_actions_focus_out_cb):
1033 These has a return value! Fix totally random focus
1034 issues we was seeing.
1036 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1038 * shell/main.c: (load_files_remote):
1040 Allow open more than one file
1042 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1044 * shell/main.c: (load_files_remote):
1046 Fix for dbus 0.33. bug #309975
1048 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1050 * properties/ev-properties-main.c: (ev_properties_get_pages):
1052 Actually return NULL for types we dont support
1054 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1060 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1062 * backend/ev-document-factory.c:
1063 (ev_document_factory_get_document):
1065 Do not try to create the object if type
1068 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1070 * ps/ps-document.c: (ps_document_dispose),
1071 (ps_async_renderer_render_pixbuf):
1074 Do not leak the target window
1076 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1078 * shell/ev-application.c: (ev_application_init):
1080 Let tbe check file existence for us.
1081 Add a comment about eggrecent mime filter.
1083 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1085 * data/evince-ui.xml:
1086 * shell/ev-application.c: (ev_application_shutdown),
1087 (ev_application_init), (ev_application_get_toolbars_model),
1088 (ev_application_get_recent_model),
1089 (ev_application_save_toolbars_model):
1090 * shell/ev-application.h:
1091 * shell/ev-window.c: (ev_window_add_recent),
1092 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1093 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1096 Use common toolbar and recent models for all windows.
1097 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1099 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1101 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1102 successfully check for gtk_icon_view_get_visible_range.
1104 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1109 Fix djvu and dvi backend build.
1111 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1113 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1114 (new_separator_pixbuf):
1118 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1120 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1122 HIGification of toolbar editor dialogue.
1124 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1127 * shell/Makefile.am:
1129 Ever build metadata manager since it's just
1130 disabled at runtime now.
1132 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1134 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1135 (ev_metadata_manager_get), (ev_metadata_manager_set):
1136 * shell/ev-metadata-manager.h:
1138 Add an _init functions that enabled metadata management
1141 * shell/ev-window.c: (page_changed_cb),
1142 (setup_document_from_metadata), (ev_window_setup_document),
1143 (setup_view_from_metadata), (ev_window_open_uri),
1144 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1145 (ev_window_run_presentation), (ev_window_stop_presentation),
1146 (save_sizing_mode), (ev_window_zoom_changed_cb),
1147 (ev_window_continuous_changed_cb),
1148 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1149 (window_configure_event_cb):
1151 Remove all ugly metadata define since we deal with it
1154 * shell/main.c: (load_files_remote), (main):
1156 Add support for dbus cvs head. Hopefully didnt break one
1157 of the other versions now!
1159 If we dont get a response from the dbus server just
1160 give up with it and not enable metadata.
1162 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1165 * backend/Makefile.am:
1167 * cut-n-paste/recent-files/Makefile.am:
1168 * cut-n-paste/toolbar-editor/Makefile.am:
1169 * cut-n-paste/zoom-control/Makefile.am:
1172 * pixbuf/Makefile.am:
1173 * properties/Makefile.am:
1175 * shell/Makefile.am:
1176 * thumbnailer/Makefile.am:
1179 Make frontends depend on just libev.
1180 Rework and group CFLAGS/LIBS definitions.
1183 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1187 do not unnecessarily save zoom
1190 * lib/ev-file-helpers.c: (ev_dot_dir):
1191 * shell/Makefile.am:
1196 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1200 Remove unnecessary dependencies
1202 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1204 * properties/Makefile.am:
1205 * thumbnailer/Makefile.am:
1208 Some more cleanups. Was really necessary
1209 but I probably introduced bugs, feel free
1212 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1214 * backend/Makefile.am:
1216 * cut-n-paste/recent-files/Makefile.am:
1217 * cut-n-paste/toolbar-editor/Makefile.am:
1218 * cut-n-paste/zoom-control/Makefile.am:
1221 * pixbuf/Makefile.am:
1222 * properties/Makefile.am:
1224 * shell/Makefile.am:
1225 * thumbnailer/Makefile.am:
1228 Use gnome-common macros when possible.
1229 Cleanup dependencies.
1230 Actually disable deprecated where possible.
1232 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1235 * backend/Makefile.am:
1236 * properties/Makefile.am:
1237 * shell/Makefile.am:
1238 * thumbnailer/Makefile.am:
1240 This should solve the circular dep without
1241 requiring dir reorg!
1243 * shell/ev-window.c: (setup_view_from_metadata):
1245 Never restore window size/position when the
1246 window is already visible.
1248 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1250 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1252 Return a boolean from timeout func. Fix ported from gedit.
1254 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1256 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1258 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1260 * shell/ev-document-types.c: set "All Documents" as default filter in
1263 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1265 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1266 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1267 (ev_metadata_manager_set_boolean): fix value/val thinko.
1269 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1271 * shell/ev-window.c: (setup_view_from_metadata),
1272 (window_state_event_cb), (window_configure_event_cb),
1275 Remember window position and maximized state
1277 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1281 Fix DBUS configure checks.
1283 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1284 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1285 (ev_metadata_manager_set_boolean):
1289 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1290 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1291 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1292 (ev_window_continuous_changed_cb),
1293 (ev_window_dual_mode_changed_cb), (ev_window_new):
1295 Fix the build without DBUS.
1297 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1299 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1300 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1301 (ev_metadata_manager_set_string),
1302 (ev_metadata_manager_set_boolean):
1303 * shell/ev-metadata-manager.h:
1305 Add support for some more types
1307 * shell/ev-view.c: (scroll_to_current_page),
1308 (ev_view_get_continuous), (ev_view_set_continuous),
1309 (ev_view_get_dual_page):
1311 * shell/ev-window.c: (page_changed_cb),
1312 (setup_document_from_metadata), (ev_window_setup_document),
1313 (setup_view_from_metadata), (ev_window_open_uri),
1314 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1315 (ev_window_run_presentation), (ev_window_stop_presentation),
1316 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1317 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1318 (ev_window_update_dual_page_action),
1319 (ev_window_continuous_changed_cb),
1320 (ev_window_dual_mode_changed_cb), (ev_window_init):
1322 Remember a bunch of view/document properties. Prolly some
1323 are still missing but it's getting interesting.
1325 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1327 * configure.ac: check if dbus-binding-tool is installed. Not the
1328 case on current Ubuntu breezy, it seems.
1330 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1332 * data/evince.desktop.in.in:
1334 Allow open uri lists and add TryExec field.
1336 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1340 Enable dbus when available, do not require a configure
1343 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1347 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1350 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1351 Marco Pesenti Gritti <mpg@redhat.com>
1353 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1355 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1356 functions to the format required by dbus
1358 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1359 errors. Use the RPC parameters in the expected way
1361 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1364 * properties/Makefile.am:
1365 * properties/ev-properties-main.c: (ev_properties_get_pages):
1367 Support all mime types
1369 * shell/Makefile.am:
1370 * thumbnailer/Makefile.am:
1371 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1372 (evince_thumbnail_pngenc_get):
1374 Use the document factory
1376 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1378 * backend/Makefile.am:
1379 * backend/ev-document-factory.c:
1380 (mime_type_supported_by_gdk_pixbuf),
1381 (ev_document_type_get_from_mime),
1382 (ev_document_factory_get_document),
1383 (ev_document_factory_get_backend),
1384 (ev_document_factory_get_mime_types),
1385 (ev_document_factory_get_all_mime_types):
1386 * backend/ev-document-factory.h:
1387 * shell/Makefile.am:
1388 * shell/ev-document-types.c: (get_document_from_uri),
1389 (ev_document_types_get_document),
1390 (file_filter_add_mime_list_and_free),
1391 (ev_document_types_add_filters):
1392 * shell/ev-document-types.h:
1393 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1394 * shell/ev-properties-dialog.c:
1395 (ev_properties_dialog_set_document):
1396 * shell/ev-window.c: (ev_window_cmd_file_open),
1397 (ev_window_cmd_save_as):
1398 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1400 Rework document types managing to avoid code duplication
1401 and actually abstract from backend implementations.
1402 Also provide a minimal factory api that can be used by
1403 thumbnailer/properties.
1405 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1407 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1409 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1412 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1414 * shell/ev-properties-dialog.c
1415 (ev_properties_dialog_set_document): only call
1416 ev_properties_fonts_set_document() if the document implements the
1419 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1422 * properties/Makefile.am:
1423 * properties/ev-properties-view.c:
1424 (ev_properties_view_register_type):
1425 * properties/ev-properties-view.h:
1426 * properties/ev-properties-main.h:
1428 Implement nautilus plugin for properties.
1429 Works only for pdf atm, I need to rework the
1430 document types stuff to get this to work
1433 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1435 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1436 (ev_properties_fonts_set_document): use
1437 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1439 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1441 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1443 (PlaceImage, tiff2ps_process_page): use
1444 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1447 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1449 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1450 (main): to call gnome_authentication_manager_init. Should fix
1453 * configure.ac: that requires libgnomeui 2.6.0.
1455 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1457 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1458 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1459 use the new tiff2ps interfaces
1461 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1462 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1464 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1465 structure instead of global variables. Remove use of static
1466 variables in functions.
1468 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1470 * shell/ev-page-action.c: unref the completion after setting it to the
1473 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1475 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1478 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1480 * shell/ev-window.c (update_action_sensitivity): disable
1481 File->Print if the document does not implement the ps exporter
1484 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1488 * data/evince-properties.glade:
1489 * properties/.cvsignore:
1490 * properties/Makefile.am:
1491 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1492 (ev_properties_view_class_init), (ev_properties_view_format_date),
1493 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1494 (ev_properties_view_init), (ev_properties_view_new):
1495 * properties/ev-properties-view.h:
1496 * shell/Makefile.am:
1497 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1498 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1499 (ev_properties_dialog_new):
1500 * shell/ev-properties-dialog.h:
1501 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1502 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1503 (update_progress_label), (job_fonts_finished_cb),
1504 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1505 * shell/ev-properties-fonts.h:
1506 * shell/ev-properties.c:
1507 * shell/ev-properties.h:
1508 * shell/ev-window.c: (ev_window_setup_document),
1509 (ev_window_cmd_file_properties):
1511 Split the properties pages in two different objects, depend
1512 only on the backend where possible, use widgets instead
1513 of gobject for the glade part, reimplement the dialog
1515 I need this to implement nautilus properties page.
1517 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1519 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1520 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1521 (tiff_document_document_ps_exporter_iface_init): implement the ps
1522 exporter interface for tiff documents
1524 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1525 libtiff to implement TIFF postscript export
1527 * tiff/tiff2ps.h: added a header file for external tiff2ps
1530 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1533 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1535 * shell/ev-view.c: (scroll_to_current_page),
1536 (ev_view_set_fullscreen), (ev_view_set_presentation):
1538 Scroll to current page when exit from presentation
1540 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1542 * shell/ev-window.c: (update_document_mode),
1543 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1544 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1545 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1547 Exit from fullscreen mode when switch to presentation. Fix for
1550 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1552 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1553 return NULL if the document does not implement the selection
1556 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1558 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1559 reported height by using the resolution aspect ratio
1560 (tiff_document_render_pixbuf): scale the pixbuf using the
1561 resolution aspect ratio
1563 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1567 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1568 <kiltedaco@gmail.com>
1570 * djvu/djvu-document.c: (djvu_document_get_orientation),
1571 (djvu_document_set_orientation), (djvu_document_get_page_size),
1572 (rotate_pixbuf), (djvu_document_render_pixbuf),
1573 (djvu_document_document_iface_init):
1574 * dvi/dvi-document.c: (dvi_document_get_orientation),
1575 (dvi_document_set_orientation), (dvi_document_get_page_size),
1576 (rotate_pixbuf), (dvi_document_render_pixbuf),
1577 (dvi_document_document_iface_init):
1579 Dvi and djvu backends are ported to new API
1581 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1583 * backend/ev-selection.c: (ev_selection_get_selection_region),
1584 (ev_selection_get_selection_map):
1585 * backend/ev-selection.h:
1586 * pdf/ev-poppler.cc:
1587 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1589 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1590 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1591 (ev_pixbuf_cache_get_text_mapping):
1592 * shell/ev-pixbuf-cache.h:
1593 * shell/ev-view.c: (location_in_text),
1594 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1595 support to EvView. Now we can see where we can select! Sweet!
1597 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1599 * shell/ev-view.c (ev_view_button_press_event): Fix
1600 event->y + view->scroll_x typo.
1602 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1604 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1605 sub-GdkPixbuf instead of passing dest_x and dest_y.
1607 * shell/ev-view.c: (view_point_to_doc_point),
1608 (view_rect_to_doc_rect), (ev_view_button_press_event),
1609 (ev_view_motion_notify_event), (compute_new_selection_rect),
1610 (gdk_rectangle_point_in), (compute_new_selection_text),
1611 (compute_selections): Update selection code to keep the selection
1612 around as two points and not as a normalized rectangle, and fix
1613 page level selection in two-column mode.
1615 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1617 * shell/ev-window.c: (window_configure_event_cb):
1621 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1623 * pdf/ev-poppler.cc:
1627 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1629 * shell/Makefile.am:
1630 * shell/ev-metadata-manager.c: (item_free),
1631 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1632 (parse_value), (parseItem), (load_values),
1633 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1634 (save_values), (save_item), (get_oldest), (resize_items),
1635 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1636 * shell/ev-metadata-manager.h:
1638 Metadata manager from gedit but modified to use GValue, so that
1639 we dont need to keep converting from strings.
1643 ENABLE_METADATA conditional, on when dbus is on
1645 * shell/ev-application.c: (ev_application_open_uri):
1647 Show the window after load so that we can initialize
1648 window size before it's showed.
1650 * shell/ev-window.c: (ev_window_setup_from_metadata),
1651 (ev_window_open_uri), (window_configure_event_cb),
1654 Save and load metadata information about window size.
1655 Not yet keeping states in account.
1657 * shell/main.c: (main):
1659 Shutdown metadata manager.
1661 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1663 * shell/ev-application-service.xml:
1665 * shell/Makefile.am:
1666 * shell/ev-application.c:
1667 * shell/ev-application.h:
1668 * shell/ev-window.c:
1669 * shell/ev-window.h:
1672 Add an optional dbus interface (--enable-dbus).
1673 Rework application code, mainly to be easier to
1675 Do not open multiple windows with the same document,
1678 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1680 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1681 pixbuf iff it exists.
1683 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1686 * backend/ev-render-context.[ch]:
1687 * backend/ev-selection.[ch]:
1689 Massive changes. We now support text selection of pdfs, and not
1690 just rectangular selection. This is pretty broken still, but I
1691 want to get something into CVS.
1693 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1695 * pdf/ev-poppler.cc:
1697 Fix for Bug 309080: crash on window close.
1699 * shell/ev-page-action.c: (page_changed_cb):
1701 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1702 jensgr@gmx.net (Jens Granseuer).
1704 2005-06-25 Marcel Telka <marcel@telka.sk>
1706 * configure.in (ALL_LINGUAS): Added sk.
1708 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1710 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1713 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1720 * cut-n-paste/recent-files/Makefile.am:
1724 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1726 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1727 (pixbuf_document_set_orientation), (rotate_pixbuf),
1728 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1729 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1731 Implement rotation and cleanup the code a bit.
1733 * tiff/tiff-document.c: (tiff_document_get_page_size),
1734 (tiff_document_get_orientation), (tiff_document_set_orientation),
1735 (rotate_pixbuf), (tiff_document_render_pixbuf),
1736 (tiff_document_document_iface_init), (tiff_document_init):
1738 Implement rotation. Was the quicker solution for the release
1739 but we really need to share this code in the shell.
1741 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1743 * pdf/ev-poppler.cc:
1745 Enable rotation, require poppler cvs. Fix a leak.
1747 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1749 * shell/ev-window.c: (update_action_sensitivity):
1751 Make properties unsensitive if document backend doesn't provide
1754 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1756 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1757 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1758 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1759 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1760 (bitmap_flip_rotate_counter_clockwise):
1761 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1762 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1764 * dvi/mdvi-lib/common.h:
1765 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1766 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1767 (opendvi), (mdvi_reload), (mdvi_init_context),
1768 (mdvi_destroy_context), (mdvi_dopage), (special):
1769 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1770 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1771 (file_hash_free), (register_encoding), (parse_spec),
1772 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1773 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1774 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1775 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1776 (mdvi_register_font_type), (mdvi_unregister_font_type),
1777 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1778 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1779 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1780 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1781 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1782 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1783 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1784 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1785 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1786 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1787 (mdvi_unregister_special), (mdvi_flush_specials):
1788 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1790 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1791 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1792 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1793 (free_font_metrics), (flush_font_metrics):
1794 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1796 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1797 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1798 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1799 (dstring_insert), (dstring_new), (dstring_reset):
1800 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1802 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1803 avoid conflict with libtool on FC4
1805 * shell/ev-window.c: (ev_window_cmd_help_about):
1807 Update copyright year. Fix for bug 308828.
1809 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1811 * shell/ev-view.c: (add_scroll_binding_keypad),
1812 (ev_view_binding_activated), (ev_view_class_init),
1813 (on_adjustment_value_changed):
1815 Bug 170874: Arrow keys switch pages in presentation mode
1817 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1819 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1821 Fix for Bug 308265: Sidebar dissappears coming out of
1824 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1826 * shell/ev-application.c: (ev_application_open):
1827 * shell/ev-document-types.c: (ev_document_types_add_filters),
1828 (ev_document_types_add_filters_for_type):
1829 * shell/ev-document-types.h:
1830 * shell/ev-window.c: (ev_window_cmd_save_as):
1832 Suggest basename as template when saving, provide filters
1833 for save dialog. It's bug 308402
1835 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1837 * pdf/ev-poppler.cc:
1838 * shell/ev-sidebar-links.c: (job_finished_callback):
1839 * shell/ev-view.c: (update_find_status_message):
1843 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1845 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1846 (egg_recent_view_uimanager_set_list):
1848 Fix buglet in !show_numbers case.
1850 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1852 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1853 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1855 Use pango ellipsisation.
1857 * pdf/ev-poppler.cc:
1859 Fix refcount leak, from nsh.
1861 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1863 * cut-n-paste/recent-files/Makefile.am:
1864 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1865 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1867 Removed EggRecentViewGtk
1869 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1870 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1871 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1872 (ev_window_setup_recent):
1874 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1877 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1879 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1880 (egg_recent_view_gtk_finalize):
1884 * cut-n-paste/toolbar-editor/Makefile.am:
1886 Fix location of cursor icon.
1888 * pdf/ev-poppler.cc:
1889 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1890 (display_completion_text), (match_completion):
1891 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1892 (selection_changed_callback), (create_loading_model),
1893 (print_section_cb), (links_page_num_func),
1894 (update_page_callback_foreach):
1895 * shell/ev-window.c: (ev_window_dispose):
1897 Small memory fixes. Links model now store objects instead
1898 of pointers to improve memory management.
1900 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1902 * shell/ev-window.c: (zoom_control_changed_cb):
1904 Fix update of zoom control (bug 308268).
1906 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1908 * shell/ev-properties.c (set_property): escape the text correctly.
1909 Handles non-UTF-8 properties and escaped properties. Also, sets
1910 the text to "<i>None</i>" if the property isn't set.
1912 * data/evince-properties.glade: Change the label to be ellipsized,
1913 and give it a minimum size.
1915 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1917 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1918 * shell/ev-sidebar-links.c: (create_loading_model):
1919 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1920 * shell/ev-view.c: (ev_view_set_document):
1921 * shell/ev-window.c: (ev_window_dispose):
1923 Various small fixes, mostly memory leaks. Thanks to valgrind.
1925 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1927 * ps/ps-document.c: remove the locale.h include again ;-). And
1928 kill the (bogus) setlocale/savelocale business.
1930 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1934 Include locale.h to fix build
1936 * shell/ev-sidebar.c:
1938 Remove unnecessary includes
1940 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1942 * dvi/dvi-document.c: (dvi_document_load):
1943 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1946 Check for incorrect dvi files. Fix parsing dvi on AMD64
1947 platform. Thanks to tester@tester.ca (Olivier Crete).
1949 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1951 * shell/ev-page-action.c: (match_selected_cb),
1952 (display_completion_text), (match_completion), (update_model):
1953 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1954 (expand_open_links):
1955 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1956 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1957 (ev_sidebar_set_document):
1958 * shell/ev-window.c: (ev_window_xfer_job_cb),
1959 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1961 Fixed lot's of memory leaks, for example, memory leak on reload,
1962 described in bug 307793.
1964 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1966 * pdf/ev-poppler.cc:
1967 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1968 (update_visible_range), (adjustment_changed_cb),
1969 (ev_sidebar_thumbnails_fill_model),
1970 (ev_sidebar_thumbnails_refresh),
1971 (ev_sidebar_tree_selection_changed),
1972 (ev_sidebar_icon_selection_changed),
1973 (ev_sidebar_thumbnails_use_icon_view),
1974 (ev_sidebar_thumbnails_set_document):
1975 * shell/ev-sidebar-thumbnails.h:
1976 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1977 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1979 Refresh thumbnails when changing orientation. Not fully
1980 working yet becuase of a sidebar bug.
1982 Set page orientation to poppler page everywhere. This sucks
1983 really need to fix poppler.
1985 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1987 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1988 (egg_recent_view_gtk_new_menu_item),
1989 (egg_recent_view_gtk_set_property),
1990 (egg_recent_view_gtk_get_property),
1991 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1992 (egg_recent_view_gtk_set_tooltip_func),
1993 (egg_recent_view_gtk_set_label_width),
1994 (egg_recent_view_gtk_get_label_width):
1995 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1997 Sync with libegg (ellipsize labels)
1999 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2001 * data/evince-ui.xml:
2002 * shell/ev-window.c: (ev_window_cmd_go_forward),
2003 (ev_window_cmd_go_backward):
2005 Shift + PageUp moves 10 Pages. Fix for 306125
2007 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2009 * pdf/ev-poppler.cc:
2011 Add a flag to check if orientation has been overriden
2013 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2015 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2018 * ps/ps.h: add creator field to document.
2020 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2023 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2025 * data/evince-properties.glade:
2026 * shell/ev-properties.c: (ev_properties_set_document):
2028 s/PDF Version/Format
2030 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2032 * shell/ev-properties.c: (ev_properties_set_document):
2034 Remove unnecessary translations
2036 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2038 * cut-n-paste/toolbar-editor/Makefile.am:
2040 Correct library name
2042 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2045 * cut-n-paste/recent-files/egg-recent-model.c:
2046 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2047 (egg_recent_model_unlock_file):
2048 * cut-n-paste/recent-files/egg-recent-util.c:
2049 (egg_recent_util_get_unique_id):
2050 * cut-n-paste/recent-files/update-from-egg.sh:
2051 * cut-n-paste/toolbar-editor/Makefile.am:
2052 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2053 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2054 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2055 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2056 (egg_toolbars_model_get_type):
2057 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2059 Better makefile for toolbar editor and update everything
2062 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2064 * shell/ev-window.c: (update_document_mode):
2066 Prefer presentation mode when the document
2069 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2071 * data/evince-ui.xml:
2072 * shell/ev-window.c:
2074 Add control-equal for zooming
2076 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2078 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2080 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2082 * backend/ev-document.c: (ev_document_get_orientation):
2083 * backend/ev-document.h:
2084 * pdf/ev-poppler.cc:
2085 * ps/ps-document.c: (ps_document_get_orientation),
2086 (ps_document_set_orientation), (ps_document_document_iface_init):
2088 Add a get_orientation api. Improve set_orientation.
2090 * data/evince-ui.xml:
2091 * shell/ev-view.c: (ev_view_set_orientation),
2092 (ev_view_rotate_right), (ev_view_rotate_left):
2094 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2095 (ev_window_cmd_edit_rotate_right):
2097 Better ui for changing document orientation
2099 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2101 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2102 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2103 * shell/ev-sidebar-links.h:
2104 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2105 (ev_sidebar_page_iface_init):
2106 * shell/ev-sidebar-page.h:
2107 * shell/ev-sidebar-thumbnails.c:
2108 (ev_sidebar_thumbnails_get_property),
2109 (ev_sidebar_thumbnails_class_init),
2110 (ev_sidebar_thumbnails_set_document):
2111 * shell/ev-sidebar-thumbnails.h:
2112 * shell/ev-view.c: (ev_view_motion_notify_event):
2113 * shell/ev-window.c: (update_chrome_visibility),
2114 (ev_window_cmd_focus_page_selector),
2115 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2116 (sidebar_page_main_widget_update_cb), (ev_window_init):
2118 Autoraise toolbar on GoToPage binding and fix bindings in
2119 EvSidebarThumbnails page.
2121 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2123 * shell/ev-properties.c: (update_progress_label):
2125 Hide the progress label when finished; bug #307697.
2127 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2129 * pdf/ev-poppler.cc:
2131 Enable is_open for links, you will need poppler cvs
2133 * shell/ev-properties.c: (job_fonts_finished_cb):
2135 Get a lock on the document when filling the tree view
2137 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2139 * backend/ev-document-links.h:
2140 * pdf/ev-poppler.cc:
2141 * shell/ev-sidebar-links.c: (create_loading_model),
2142 (expand_open_links), (job_finished_callback):
2144 Expand links when specified by the document.
2145 Depend on a poppler api (defined out for now)
2147 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2149 * shell/ev-properties.c: (ev_properties_dispose),
2150 (ev_properties_class_init), (dialog_destroy_cb),
2151 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2152 (ev_properties_set_document), (ev_properties_new),
2153 (ev_properties_show):
2154 * shell/ev-properties.h:
2156 Make it an object, cleanup the code, api to show it as transient
2157 and to set the document.
2159 * shell/ev-window.c: (ev_window_setup_document),
2160 (ev_window_cmd_file_properties):
2162 Adapt to EvProperties changes, do not show multiple
2163 times, update it when document changes.
2165 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2168 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2169 (ps_document_set_orientation), (ps_document_document_iface_init):
2172 Implement orientation here too
2174 * shell/ev-properties.c: (ev_properties_new):
2175 * data/evince-properties.glade:
2177 Hide the fonts page for backends that doesnt
2180 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2182 * backend/ev-document.c: (ev_document_set_orientation):
2183 * backend/ev-document.h:
2184 * pdf/ev-poppler.cc:
2186 Add orientation api. Currently poppler api is not optimal,
2187 we need to set orientation every time we _get a page.
2188 I will try to fix that at some point.
2190 * data/evince-ui.xml:
2191 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2192 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2194 Add orientation menu items
2196 * shell/ev-page-cache.c: (ev_page_cache_clear):
2197 * shell/ev-page-cache.h:
2199 Add api to clear the cache
2201 * shell/ev-view.c: (setup_caches), (clear_caches),
2202 (ev_view_set_document), (ev_view_zoom_out),
2203 (ev_view_set_orientation):
2206 Implement orientation changing
2208 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2210 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2211 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2212 * backend/ev-document-fonts.h:
2214 Separate scan and fill so that we can incrementally fill from
2215 the main thread. Add a progress api.
2217 * data/evince-properties.glade:
2218 * pdf/ev-poppler.cc:
2219 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2221 * shell/ev-properties.c: (update_progress_label),
2222 (job_fonts_finished_cb), (setup_fonts_view):
2224 Incrementally feel the list and show the progress
2225 percentage in a label like acrobat does.
2227 You are going to need poppler cvs
2229 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2231 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2232 * backend/ev-document-fonts.h:
2233 * pdf/ev-poppler.cc:
2235 Make fonts model fill incrementally.
2237 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2238 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2239 (ev_job_queue_remove_job):
2240 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2241 (ev_job_fonts_new), (ev_job_fonts_run):
2244 New job for fonts scanning
2246 * shell/ev-properties.c: (job_fonts_finished_cb),
2247 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2248 * shell/ev-properties.h:
2249 * shell/ev-window.c: (ev_window_cmd_file_properties):
2251 Incrementally feel the treeview using the new job. Show Loading...
2252 message until scanning is completed.
2254 Hopefully I didnt break the build without the poppler patch.
2256 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2258 * shell/ev-application.c: (ev_application_open):
2259 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2260 (ev_document_type_get_type), (ev_document_type_lookup):
2261 * shell/ev-document-types.h:
2262 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2263 * shell/ev-job-xfer.h:
2264 * shell/ev-window.c: (ev_window_clear_local_uri),
2265 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2266 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2267 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2269 Transfer remote documents to tmp directory to display them later.
2271 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2273 * backend/ev-document-info.h:
2274 * shell/ev-properties.c: (ev_properties_new):
2276 s/GTime*/GTime. Not sure why we was using a pointer
2279 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2281 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2282 situations. That situation is that you're using GTK+-HEAD with
2283 the patch at #306726 is applied, and you have a document with <
2284 1500 pages in it. It's not quite as uniformly nice as the
2285 TreeView, but should be better in the long run.
2287 I'm pretty sure I guarded against breaking compilation with
2288 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2291 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2292 widget yet, so I commented that code out
2293 enable_view_actions_for_widget() for now. Need to figure this
2296 * shell/ev-page-action.c (match_selected_cb): emit the right
2297 signals. Our cool C-l completion now works.
2299 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2301 * backend/Makefile.am:
2302 * backend/ev-document-fonts.c:
2303 * backend/ev-document-links.c:
2304 * backend/ev-document.c: (ev_document_load):
2305 * backend/ev-document.h:
2306 * backend/ev-job-queue.c:
2307 * backend/ev-job-queue.h:
2308 * backend/ev-jobs.c:
2309 * backend/ev-jobs.h:
2310 * backend/ev-page-cache.c:
2311 * backend/ev-page-cache.h:
2313 EvPageCache and EvJobs are moved to shell.
2315 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2317 * lib/ev-file-helpers.h:
2319 New helper to work with temporary files
2321 * shell/Makefile.am:
2322 * shell/ev-application.c: (ev_application_open):
2323 * shell/ev-application.h:
2324 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2325 (remove_job_from_async_queue), (add_job_to_async_queue),
2326 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2327 (handle_job), (search_for_jobs_unlocked),
2328 (no_jobs_available_unlocked), (ev_render_thread),
2329 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2330 (ev_job_queue_add_job), (move_job_async), (move_job),
2331 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2332 * shell/ev-job-queue.h:
2333 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2334 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2335 * shell/ev-job-xfer.h:
2336 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2337 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2338 (ev_job_links_class_init), (ev_job_render_init),
2339 (ev_job_render_dispose), (ev_job_render_class_init),
2340 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2341 (ev_job_thumbnail_class_init), (ev_job_load_init),
2342 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2343 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2344 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2345 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2347 * shell/ev-page-action.c: (ev_page_action_set_document):
2348 * shell/ev-page-cache.c: (ev_page_cache_init),
2349 (ev_page_cache_class_init), (ev_page_cache_finalize),
2350 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2351 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2352 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2353 (ev_page_cache_get_title), (ev_page_cache_get_size),
2354 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2355 (ev_page_cache_get_height_to_page),
2356 (ev_page_cache_get_max_label_chars),
2357 (ev_page_cache_get_page_label),
2358 (ev_page_cache_has_nonnumeric_page_labels),
2359 (ev_page_cache_get_info), (ev_page_cache_next_page),
2360 (ev_page_cache_prev_page), (ev_page_cache_get):
2361 * shell/ev-page-cache.h:
2362 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2363 (ev_pixbuf_cache_clear_job_sizes),
2364 (ev_pixbuf_cache_add_jobs_if_needed),
2365 (ev_pixbuf_cache_set_page_range):
2366 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2367 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2368 * shell/ev-sidebar-thumbnails.c:
2369 (ev_sidebar_tree_selection_changed),
2370 (ev_sidebar_thumbnails_set_document):
2371 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2372 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2373 (ev_statusbar_get_context_id), (ev_statusbar_push),
2374 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2375 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2376 (ev_statusbar_set_progress):
2377 * shell/ev-statusbar.h:
2378 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2379 (ev_view_find_previous):
2380 * shell/ev-window.c: (ev_window_is_empty),
2381 (ev_window_setup_document), (password_dialog_response),
2382 (ev_window_clear_jobs), (ev_window_load_job_cb),
2383 (ev_window_xfer_job_cb), (ev_window_open_uri),
2384 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2385 (ev_window_print), (ev_window_print_range),
2386 (ev_window_state_event), (ev_window_cmd_view_reload),
2387 (menu_item_select_cb), (menu_item_deselect_cb),
2388 (view_status_changed_cb), (ev_window_dispose),
2389 (drag_data_received_cb), (ev_window_init):
2390 * shell/ev-window.h:
2391 * shell/main.c: (load_files):
2393 New statusbar to show progress on idle. Two new jobs -
2394 xfer job and load job to load document in background. And update
2395 of page_cache clients to new location of code.
2397 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2399 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2400 selection in open dialog. It also remembers the last visited directory
2401 in the current session.
2403 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2405 * shell/ev-properties.c: (ev_properties_new):
2406 * shell/ev-properties.h:
2407 * shell/ev-window.c: (ev_window_cmd_file_properties):
2409 Get document info from page cache instead of document itself.
2410 This should fix crash related to race conditions described in
2413 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2415 * ps/ps-document.c: (ps_document_init),
2416 (send_ps), (get_page_box), (output), (catchPipe), (input),
2417 (stop_interpreter), (file_length), (file_readable),
2418 (check_filecompressedb), (ps_document_enable_interpreter),
2419 (document_load), (ps_async_renderer_render_pixbuf):
2422 Big cleanup of the ps code
2424 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2426 * backend/Makefile.am:
2427 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2428 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2429 * backend/ev-async-renderer.h:
2431 Add an async renderer interface (method + callback) which
2432 is useful for backends like ps.
2434 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2435 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2436 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2437 (ev_job_queue_add_job), (move_job_async), (move_job),
2438 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2440 Add queues for async renderer, these are executed on the
2443 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2444 (ev_job_render_run):
2445 * backend/ev-jobs.h:
2447 If the backend support async renderer interface use it.
2449 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2450 (setup_pixmap), (ps_document_get_type),
2451 (ps_async_renderer_render_pixbuf),
2452 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2454 Implement async renderer interface.
2456 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2458 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2460 Cleanup links job on exit.
2462 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2464 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2465 (drag_data_get_cb), (drag_data_received_cb):
2466 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2467 (drag_data_get_cb), (parse_item_list),
2468 (egg_toolbar_editor_load_actions):
2469 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2470 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2471 (parse_item_list), (parse_toolbars):
2472 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2473 (dvi_pixbuf_put_pixel):
2475 Fix gcc 4.0 warnings
2477 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2479 * ps/ps-document.c: (start_interpreter):
2481 Fix warning when loading ps
2483 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2485 * ps/ps-document.c: (output):
2487 Fix crash when priting gs error messages.
2489 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2491 * backend/ev-page-cache.c: (_ev_page_cache_new):
2492 * backend/ev-page-cache.h:
2494 Use a const to return title so that we dont double
2495 free it. Small cleanup and fix a leak.
2497 * shell/ev-window.c: (update_window_title):
2499 strdup value from get_title.
2501 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2503 * shell/ev-sidebar-links.c: (job_finished_callback),
2504 (ev_sidebar_links_set_document):
2506 Cleanup the old job when changing document
2508 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2510 * shell/ev-stock-icons.c:
2511 * shell/ev-stock-icons.h:
2512 * shell/ev-window.c:
2514 Add stock icons for actions that can appear in toolbar. Fix for
2517 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2519 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2520 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2521 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2522 * backend/ev-page-cache.h:
2523 * shell/ev-view.c: (scroll_to_current_page),
2524 (view_update_range_and_current_page), (get_page_y_offset),
2525 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2526 (ev_view_size_request_continuous),
2527 (ev_view_zoom_for_size_continuous_and_dual_page),
2528 (ev_view_zoom_for_size_continuous):
2530 More compact EvView layout in document with pages of different size.
2532 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2534 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2537 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2539 * shell/ev-view.c: (view_set_adjustment_values):
2540 * shell/ev-window.c: (ev_window_cmd_file_properties):
2542 A bit different fix for rounding problem but it has no
2543 problems on startup. Make properties window transient to parent.
2545 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2547 * pdf/ev-poppler.cc:
2549 More commenting of font stuff.
2551 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2553 * pdf/ev-poppler.cc:
2555 Comment out some more fonts stuff. Should really
2556 work without the poppler patch now.
2558 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2560 * pdf/ev-poppler.cc:
2564 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2566 * data/evince-properties.glade:
2567 * pdf/ev-poppler.cc:
2568 * shell/ev-properties.c: (setup_fonts_view):
2570 Set the column title. Show the dialog only
2571 once everything is setup.
2572 Getting font info can be very slow... will
2573 prolly need to make this threaded too.
2575 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2577 * backend/Makefile.am:
2578 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2579 (ev_document_fonts_get_fonts_model):
2580 * backend/ev-document-fonts.h:
2581 * data/evince-properties.glade:
2582 * pdf/ev-poppler.cc:
2583 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2584 * shell/ev-properties.h:
2585 * shell/ev-window.c: (ev_window_cmd_file_properties):
2587 Implement fonts list. Defined out for now, since it depends
2588 on a not yet committed poppler patch.
2590 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2592 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2595 * shell/ev-window.c: Make sure we add the timeout when we get a
2598 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2599 adjustment->value before calculating the zoom factor to average
2600 out all of our rounding errors. The page no longer 'drifts' when
2603 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2605 * data/evince-properties.glade:
2606 * shell/ev-properties.c: (ev_properties_format_date),
2609 Labels don't expand when the dialogue is resized.
2610 strftime result needs to be converted to UTF-8. Thanks
2611 to Christian Persch <chpe@gnome.org>.
2613 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2615 * data/evince-properties.glade:
2619 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2621 * backend/ev-document-info.h:
2622 * backend/ev-document.c: (ev_document_info_free):
2623 * data/evince-properties.glade:
2624 * pdf/ev-poppler.cc:
2625 * ps/ps-document.c: (ps_document_get_info):
2626 * shell/ev-properties.c: (ev_properties_format_date),
2627 (set_property), (ev_properties_new):
2628 * shell/ev-properties.h:
2629 * shell/ev-window.c: (ev_window_cmd_file_properties):
2631 Rework properties code to take only EvPropertyInfo
2632 in the constructor so that it can be useful for
2633 nautilus plugin too.
2635 Deal with backends that doesnt support some properties.
2636 Make set property code generic.
2638 2005-06-04 Christian Persch <chpe@gnome.org>
2640 * data/evince-properties.glade:
2642 fix spacings, make resizeable, and make data labels
2643 selectable + ellipsised
2645 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2647 * backend/ev-document-info.h:
2649 * data/evince-ui.xml:
2650 * pdf/ev-poppler.cc:
2651 * shell/Makefile.am:
2652 * shell/ev-window.c: (update_action_sensitivity),
2653 (ev_window_cmd_file_properties):
2655 Initial go at file properties. Patch by
2656 Emil Soleyman-Zomalan <emil@soleyman.com>.
2657 Needs love see #169583
2659 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2661 * ps/ps-document.c: (output):
2662 * ps/ps.c: (psscan):
2664 Try to render even if psscan fails.
2666 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2668 * ps/ps.c: (psscan), (pscopydoc):
2670 Port buffered reading code from gv
2672 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2674 * ps/ps-document.c: (interpreter_message), (output):
2676 Do not fail on interpreter messages
2678 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2680 * backend/ev-document-misc.c:
2681 (ev_document_misc_get_thumbnail_frame):
2683 Pages can be 0 x 0, dont assert on this case
2685 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2687 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2688 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2690 Correctly manage our reference on document. Finally the reload
2691 huge leak is gone...
2693 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2695 * ps/ps-document.c: (ps_document_dispose):
2697 Forgot to chain it to the parent. Thanks chpe.
2699 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2701 * ps/ps-document.c: (ps_document_dispose),
2702 (ps_document_class_init), (stop_interpreter), (document_load):
2704 Cleanup dispose a bit. Dont leak the whole pixmap.
2706 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2708 * pdf/ev-poppler.cc:
2710 Release the poppler document on dispose
2712 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2714 * shell/ev-view.c: (ev_view_set_document):
2716 Release ref on the pixbuf cache when changing
2719 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2721 * ps/ps-document.c: (ps_document_get_info):
2725 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2727 * backend/ev-page-cache.c: (ev_page_cache_init),
2728 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2729 * backend/ev-page-cache.h:
2730 * shell/ev-page-action.c: (page_changed_cb):
2732 Set page action entry width depending on labels width. Fix
2735 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2737 * backend/ev-link.c: (ev_link_class_init):
2739 Allow -1 as page value (error)
2741 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2743 * shell/ev-sidebar-thumbnails.c:
2744 (ev_sidebar_thumbnails_set_document):
2745 * shell/ev-view.c: (scroll_to_current_page),
2746 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2747 (page_changed_cb), (on_adjustment_value_changed),
2748 (ev_view_set_document):
2750 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2753 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2756 * djvu/djvu-document.c: (djvu_document_get_page_size):
2758 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2761 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2763 * shell/ev-view.c (draw_one_page): modify the expose handling to
2766 * shell/ev-window.c (update_action_sensitivity): Respect
2767 permissions field. Kowtow to the man.
2769 * pdf/ev-poppler.cc: Get the permissions field.
2771 * tiff/*c: Make a tiny bit more robust.
2773 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2775 * djvu/djvu-document.c:
2777 Pop messages from djvu context message queue.
2779 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2781 * configure.ac, Makefile.am, shell/Makefile.am:
2782 * tiff/Makefile.am, shell/ev-document-types.c:
2784 Cleanup tiff configure checks. Fix for bug 305218.
2786 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2788 * configure.ac: Added "uk" to ALL_LINGUAS.
2790 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2792 * cut-n-paste/zoom-control/ephy-zoom.c:
2793 (ephy_zoom_get_changed_zoom_level):
2794 * cut-n-paste/zoom-control/ephy-zoom.h:
2795 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2796 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2797 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2798 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2799 (zoom_control_changed_cb), (ev_window_init):
2801 Fix minor points related to moving best fit up. Introduce
2802 "zoom" property and make zoom control change it's value on
2803 notify::zoom signals. Fix for 305080.
2805 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2807 * data/evince-ui.xml:
2808 * shell/ev-window.c: (set_view_actions_sensitivity):
2810 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2812 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2816 Depends on poppler 0.3.2
2818 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2820 * cut-n-paste/recent-files/egg-recent-item.c:
2821 (egg_recent_item_get_short_name):
2822 * cut-n-paste/toolbar-editor/Makefile.am:
2823 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2824 (new_pixbuf_from_widget):
2825 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2826 * cut-n-paste/toolbar-editor/egg-marshal.c:
2827 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2828 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2832 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2834 * tiff/tiff-document.c: Rough TIFF backend.
2836 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2840 * cut-n-paste/toolbar-editor/Makefile.am:
2844 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2846 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2847 (ev_view_find_next), (ev_view_find_previous):
2849 Remove the locks around get_n_results
2851 2005-05-21 Juerg Billeter <j@bitron.ch>
2853 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2855 Pass correct number of pages to poppler.
2857 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2861 * data/evince.desktop.in:
2862 * data/evince.desktop.in.in:
2865 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2867 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2869 * shell/ev-view.c: (view_update_adjustments),
2870 (view_set_adjustment_values): cast adjustmen->value to (int)
2871 before using it. Otherwise, we get off by a pixel in some
2874 (draw_one_page): Draw the border on expose.
2876 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2878 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2879 adjustment when the mode changes, #304923
2881 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2883 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2884 flickering on resize but still use gdk_window_scroll on
2887 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2889 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2892 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2894 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2895 second page on page_changed if possible, #304669
2897 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2899 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2900 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2902 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2905 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2906 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2907 (ev_view_zoom_for_size_presentation),
2908 (ev_view_zoom_for_size_continuous_and_dual_page),
2909 (ev_view_zoom_for_size_continuous),
2910 (ev_view_zoom_for_size_dual_page),
2911 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2913 * shell/ev-window.c: (update_view_size),
2914 (ev_window_sizing_mode_changed_cb):
2916 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2917 the scrollbars. It's not 100% right, but it's much closer. Kills
2918 an infinite loop, #304769
2921 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2923 * data/evince-ui.xml:
2924 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2925 * shell/ev-window.c: (set_view_actions_sensitivity):
2927 Make PgUp/Down behave like Space
2929 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2931 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2932 * backend/ev-ps-exporter.h:
2933 * pdf/ev-poppler.cc:
2934 * ps/ps-document.c: (ps_document_ps_export_begin):
2935 * shell/ev-print-job.c: (idle_print_handler):
2937 Adapt to new poppler api
2939 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2941 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2942 (ephy_zoom_control_init):
2944 Translate zoom levels
2946 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2948 * cut-n-paste/zoom-control/ephy-zoom.c:
2949 (ephy_zoom_get_zoom_level_index):
2951 Fix current zoom -> zoom control match
2953 2005-05-18 James Bowes <bowes@cs.dal.ca>
2955 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2956 rather than the scrolled_window that it's in. Fixes bug #304655.
2958 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2960 * shell/ev-view.c: (view_update_adjustments),
2961 (view_set_adjustment_values), (view_update_range_and_current_page),
2962 (view_scroll_to_page), (set_scroll_adjustment),
2963 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2964 (ev_view_scroll), (ev_view_scroll_view),
2965 (ensure_rectangle_is_visible), (find_page_at_location),
2966 (get_link_at_location), (go_to_link), (status_message_from_link),
2967 (ev_view_size_request_continuous_dual_page),
2968 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2969 (ev_view_unrealize), (ev_view_expose_event),
2970 (ev_view_button_press_event), (ev_view_motion_notify_event),
2971 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2972 (draw_rubberband), (highlight_find_results), (draw_one_page),
2973 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2974 (ev_view_init), (find_changed_cb), (page_changed_cb),
2975 (on_adjustment_value_changed), (ev_view_new),
2976 (ev_view_set_document), (ev_view_set_zoom),
2977 (ev_view_set_continuous), (ev_view_set_dual_page),
2978 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2979 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2980 (ev_view_zoom_for_size_presentation),
2981 (ev_view_zoom_for_size_continuous_dual_page),
2982 (ev_view_zoom_for_size_continuous),
2983 (ev_view_zoom_for_size_dual_page),
2984 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2985 (ev_view_get_status), (ev_view_set_status),
2986 (update_find_status_message), (ev_view_get_find_status),
2987 (ev_view_set_find_status), (jump_to_find_result),
2988 (jump_to_find_page), (compute_selections), (clear_selection),
2989 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2990 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2991 (ev_view_update_primary_selection),
2992 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2994 * shell/ev-window.c: (ev_window_open_page_label),
2995 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2997 * shell/ev-window.h:
2998 * shell/main.c: (load_files):
3000 Massive code clean up from Nickolay Shmyrev. Keep page offset
3001 when resizing. Remove the bin_window(). Also, patch from James
3002 Bowes to fix command line page, #300641
3004 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3006 * data/evince-ui.xml:
3009 * shell/ev-window.c: (update_action_sensitivity):
3011 Get rid of View->Normal Size, it's just confusing
3013 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3015 * backend/ev-document-info.h:
3016 * backend/ev-document.c: (ev_document_info_free): Free the
3019 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3020 (clear_range), (add_range), (update_visible_range),
3021 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3022 (ev_sidebar_thumbnails_set_document):
3023 * shell/ev-window.c: (ev_window_setup_document): Only render the
3024 visible thumbnails. It takes an instant to render, but it uses
3027 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3029 * shell/ev-sidebar-links.c: (popup_menu_cb):
3033 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3036 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3037 (button_press_cb), (ev_sidebar_links_construct):
3039 Show the popup menu also on keybindings
3041 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3043 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3044 * shell/ev-window.h:
3046 Expose api to print a range (with dialog). Make private _print use
3049 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3050 (ev_sidebar_links_construct):
3052 Show a print context menu on linkx, it prints the selected
3055 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3057 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3060 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3066 * shell/ev-window.c: (build_comments_string),
3067 (ev_window_cmd_help_about):
3069 Show poppler version/backend and authors
3071 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3073 * cut-n-paste/zoom-control/ephy-zoom.c:
3074 (ephy_zoom_get_zoom_level_index):
3075 * cut-n-paste/zoom-control/ephy-zoom.h:
3077 Move the best fit items at the top of the list
3079 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3081 * shell/ev-marshal.list:
3082 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3083 (activate_cb), (match_selected_cb), (activate_link_cb),
3084 (connect_proxy), (ev_page_action_class_init):
3085 * shell/ev-page-action.h:
3087 Use signals to notify action activation. Hopefully
3088 I did not break completion since I cant test...
3090 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3091 (register_custom_actions):
3093 Connect to page selector actions and also grab focus on
3094 the view when activated.
3096 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3098 * pdf/ev-poppler.cc:
3099 * backend/ev-page-cache.c: make page size calculation consistent
3100 and set it to (int)( width * scale + 0.5). This makes the weird
3101 line going through the middle of the page go away.
3103 * shell/ev-view.c: move painting the background page after
3104 checking the expose area covers us.
3106 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3108 * data/evince-password.glade:
3110 Mark labels as not translatable. Fix for bug 302842.
3112 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3114 * configure.ac: Added "es" to ALL_LINGUAS.
3116 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3118 * data/evince-toolbar.xml:
3119 * shell/ev-window.c: (update_action_sensitivity),
3120 (ev_window_setup_document), (ev_window_set_page_mode),
3123 Remove some leftover code from jrb first continous
3124 attempt. Use the new actions, we still need good icons
3127 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3129 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3131 Update label when connecting proxy. Fix a warning with NULL
3134 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3136 * data/evince-ui.xml:
3137 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3138 * shell/ev-page-action.h:
3139 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3141 Add mnemonic for edit toolbar.
3142 ctrl+l focus the page entry.
3144 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3147 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3149 * shell/main.c: (main):
3151 Put the toolbar xml in evince own dot dir
3153 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3155 * shell/ev-window.c: (ev_window_init):
3157 Make the toolbar not removable
3159 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3161 * data/evince-ui.xml:
3162 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3163 * shell/ev-sidebar-links.h:
3164 * shell/ev-sidebar-thumbnails.c:
3165 (ev_sidebar_thumbnails_get_treeview):
3166 * shell/ev-sidebar-thumbnails.h:
3167 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3168 (ev_view_class_init):
3170 * shell/ev-window.c: (update_action_sensitivity),
3171 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3172 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3173 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3176 This is evil... Make space/backspace global accelerators but
3177 enable them only for some widgets (sidebars and view).
3178 I dont like it, but I dont know a better way... :/
3180 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3182 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3183 (ev_page_action_widget_finalize),
3184 (ev_page_action_widget_class_init), (update_page_cache):
3186 Keep a weak reference on proxy->page_cache so that we
3187 dont try to disconnect the signal if the object is already
3188 gone. Maybe there is a better way to cleanup reference handling
3189 in page action though...
3191 2005-05-10 Juerg Billeter <j@bitron.ch>
3193 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3194 * backend/ev-ps-exporter.h:
3195 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3196 * ps/ps-document.c: (ps_document_ps_export_begin):
3198 Change api to pass print range to ps_exporter_begin. The pdf backend
3199 requires this information.
3201 * shell/ev-print-job.c: (idle_print_handler):
3205 2005-05-10 Juerg Billeter <j@bitron.ch>
3207 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3208 (idle_print_handler)
3209 * shell/ev-window.c: (ev_window_print):
3211 Support printing page range, based on patch by Amaury Jacquot
3213 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3215 * data/evince-toolbar.xml:
3217 Add zoom control to available items
3219 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3221 * shell/ev-window.c: (update_action_sensitivity):
3223 Set slash action insensitive when appropriate
3225 2005-05-10 Christian Persch <chpe@gnome.org>
3227 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3229 Fix warning on the overflow menu
3231 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3233 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3235 Check for uri correctness/existence
3237 2005-05-09 Juerg Billeter <j@bitron.ch>
3239 * shell/ev-window.c: (using_postscript_printer):
3241 LPD printers use postscript, too
3243 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3245 * shell/ev-window.c: (register_custom_actions):
3247 The zoom one is actually sort of useful,
3250 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3252 * shell/ev-window.c: (register_custom_actions):
3254 Hide page/zoom controls from overflow, they
3257 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3259 * cut-n-paste/update-from-egg.sh:
3261 Share it between all cut-n-paste subdirs
3263 * cut-n-paste/recent-files/Makefile.am:
3265 Fix to use "global" update-from-egg.sh
3267 * cut-n-paste/recent-files/egg-recent-model.c:
3268 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3269 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3270 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3271 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3275 * cut-n-paste/toolbar-editor/Makefile.am:
3277 Fix to use "global" update-from-egg.sh
3279 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3283 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3286 * cut-n-paste/Makefile.am:
3287 * cut-n-paste/recent-files/Makefile.am:
3288 * cut-n-paste/toolbar-editor/.cvsignore:
3289 * cut-n-paste/toolbar-editor/Makefile.am:
3290 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3291 (egg_editable_toolbar_get_type), (get_toolbar_position),
3292 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3293 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3294 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3295 (set_item_drag_source), (create_item_from_action), (create_item),
3296 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3297 (popup_toolbar_context_menu_cb), (free_dragged_item),
3298 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3299 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3300 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3301 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3302 (item_added_cb), (item_removed_cb),
3303 (egg_editable_toolbar_construct),
3304 (egg_editable_toolbar_disconnect_model),
3305 (egg_editable_toolbar_deconstruct),
3306 (egg_editable_toolbar_set_model),
3307 (egg_editable_toolbar_set_ui_manager),
3308 (egg_editable_toolbar_set_property),
3309 (egg_editable_toolbar_get_property),
3310 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3311 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3312 (egg_editable_toolbar_new_with_model),
3313 (egg_editable_toolbar_get_edit_mode),
3314 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3315 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3316 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3317 (new_pixbuf_from_widget), (new_separator_pixbuf),
3318 (update_separator_image), (style_set_cb),
3319 (_egg_editable_toolbar_new_separator_image),
3320 (egg_editable_toolbar_get_model):
3321 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3322 * cut-n-paste/toolbar-editor/egg-marshal.c:
3323 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3324 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3325 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3326 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3327 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3328 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3329 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3330 (editor_drag_data_delete_cb), (drag_data_get_cb),
3331 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3332 (editor_create_item), (update_editor_sheet), (setup_editor),
3333 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3334 (parse_item_list), (model_has_action), (update_actions_list),
3335 (egg_toolbar_editor_load_actions):
3336 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3337 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3338 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3339 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3340 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3341 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3342 (egg_toolbars_model_add_separator), (impl_add_item),
3343 (parse_item_list), (egg_toolbars_model_add_toolbar),
3344 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3345 (impl_get_item_data), (impl_get_item_type),
3346 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3347 (egg_toolbars_model_init), (free_toolbar),
3348 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3349 (egg_toolbars_model_remove_toolbar),
3350 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3351 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3352 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3353 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3354 (egg_toolbars_model_get_item_data),
3355 (egg_toolbars_model_get_item_type):
3356 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3357 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3359 * data/evince-toolbar.xml:
3360 * data/evince-ui.xml:
3361 * data/hand-open.png:
3363 * shell/Makefile.am:
3364 * shell/ev-window.c: (update_chrome_visibility),
3365 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3366 (ev_window_dispose), (ev_window_init):
3368 Implement epiphany like toolbar editor. Based on patch by
3369 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3371 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3373 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3375 Use set_cursor instead of set_selection, so that
3376 the keyboard focus moves too.
3378 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3380 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3382 Fix infinite loop when loading Type1 fonts
3384 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3386 * data/evince-ui.xml:
3387 * shell/ev-window.c:
3391 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3395 Make --disable really disable
3397 2005-05-07 Juerg Billeter <j@bitron.ch>
3399 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3401 Compare page labels even without has_labels set, fixes setting page
3404 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3406 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3407 (ev_view_set_cursor), (ev_view_button_press_event),
3408 (ev_view_motion_notify_event), (ev_view_button_release_event),
3411 Implement middle button scrolling. Based on a patch
3412 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3414 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3416 * shell/ev-document-types.c: (get_slow_mime_type),
3417 (get_document_type_from_mime), (ev_document_type_lookup):
3418 * shell/ev-document-types.h:
3420 Change api to lookup from uri. Do fast lookup first, if the
3421 type is unknown try with data sniffing.
3423 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3424 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3428 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3430 * thumbnailer/Makefile.am:
3434 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3441 * data/evince-ui.xml:
3443 Hide presentation mode for now
3445 * shell/ev-view.c: (highlight_find_results):
3447 Show current find selection only on current page
3449 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3451 * shell/ev-view.c: (ev_view_select_all):
3453 Compute size of the actual page, not of
3456 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3458 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3459 (view_rect_to_doc_rect), (compute_selections),
3460 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3461 (ev_view_copy), (ev_view_primary_get_cb),
3462 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3463 (ev_view_button_press_event), (ev_view_motion_notify_event),
3464 (ev_view_button_release_event), (page_changed_cb):
3468 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3470 * shell/ev-view.c: (compute_border), (get_page_extents),
3471 (doc_rect_to_view_rect), (highlight_find_results),
3472 (ev_view_bin_expose), (ev_view_select_all),
3473 (ev_view_motion_notify_event), (update_find_status_message),
3474 (jump_to_find_result), (jump_to_find_page):
3476 First go at fixing search, still buggy
3478 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3480 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3481 dropdown box and button at the top of the sidebar.
3483 2005-05-02 James Bowes <bowes@cs.dal.ca>
3485 * configure.ac: Output zoom-control Makefile.
3486 * cut-n-paste/Makefile.am: build zoom-control subdir.
3487 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3488 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3489 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3490 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3491 * cut-n-paste/zoom-control/ephy-zoom.c:
3492 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3493 from epiphany, and modified to add a separator into the menu.
3494 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3495 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3496 zoom-control action.
3497 * shell/Makefile.am: Include zoom-control flags.
3498 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3499 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3500 (ev_view_zoom_for_size_presentation),
3501 (ev_view_zoom_for_size_continuous_and_dual_page),
3502 (ev_view_zoom_for_size_continuous),
3503 (ev_view_zoom_for_size_dual_page),
3504 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3505 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3506 ev_view_get_zoom and ev_view_get_sizing_mode.
3508 * shell/ev-window.c: (update_action_sensitivity),
3509 (update_sizing_buttons), (zoom_control_changed_cb),
3510 (register_custom_actions): Initialize and use the zoom-control
3513 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3515 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3516 preview cache back to 1. Don't know when it got set to 0.
3518 * shell/ev-view.c: (compute_border), (ev_view_realize),
3519 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3520 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3521 (ev_view_get_fullscreen), (ev_view_set_presentation),
3522 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3523 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3525 * shell/ev-window.c:
3526 (update_chrome_visibility),
3527 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3528 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3529 (update_document_mode), (ev_window_update_fullscreen_action),
3530 (ev_window_fullscreen), (ev_window_unfullscreen),
3531 (ev_window_cmd_view_fullscreen),
3532 (ev_window_update_presentation_action),
3533 (ev_window_run_presentation), (ev_window_stop_presentation),
3534 (ev_window_cmd_view_presentation), (ev_window_state_event),
3535 (ev_window_focus_in_event), (ev_window_focus_out_event),
3536 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3537 * data/evince-ui.xml: Initial presentation mode. We should
3538 probably hide this until it's done, as it's quite rough. Also,
3539 change full-screen to fullscreen and add two getters to EvView.
3541 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3543 * shell/ev-page-action.c: (update_page_cache),
3544 (ev_page_action_dispose):
3545 * shell/ev-window.c: (destroy_fullscreen_popup),
3546 (ev_window_create_fullscreen_popup):
3548 Use connect_object rather than explicitly
3549 disconnect on dispose.
3551 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3553 * shell/ev-page-action.c: (update_page_cache),
3554 (ev_page_action_dispose):
3556 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3558 * backend/ev-page-cache.c: (_ev_page_cache_new),
3559 (ev_page_cache_set_page_label),
3560 (ev_page_cache_has_nonnumeric_page_labels):
3561 * backend/ev-page-cache.h:
3562 * shell/ev-page-action.c: (update_pages_label):
3564 If all page labels are numeric, fallback to default
3565 way to display number of pages. See bug 173185.
3567 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3569 * shell/ev-page-action.c: (ev_page_action_dispose):
3570 * shell/ev-view.c: (view_update_range_and_current_page):
3571 * shell/ev-window.c: (ev_window_dispose):
3573 Set page on scroll in continuous mode. Fixes bug 301986.
3574 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3576 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3580 Require poppler 0.3.0
3582 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3584 * shell/Makefile.am, configure.ac: Fix build problems
3585 with t1lib. Bug 301996.
3587 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3589 * shell/ev-view.c: (ev_view_scroll_event):
3591 Scroll up increase zoom
3593 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3595 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3596 (ev_view_set_sizing_mode),
3597 (ev_view_zoom_for_size_continuous_and_dual_page),
3598 (ev_view_zoom_for_size_continuous):
3599 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3600 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3601 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3604 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3605 Fix for 165473 and 165472.
3607 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3610 * thumbnailer/Makefile.am:
3611 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3612 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3613 * thumbnailer/evince-thumbnailer.schemas.in:
3615 Make thumbnailer schemas translatable. Fix for bug 301773
3617 * thumbnailer/evince-thumbnailer-djvu.schemas:
3618 * thumbnailer/evince-thumbnailer-dvi.schemas:
3619 * thumbnailer/evince-thumbnailer.schemas:
3623 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3625 * shell/ev-view.c (ev_view_init): forgot to set this.
3627 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3629 * shell/ev-view.c: (find_page_at_location),
3630 (get_link_at_location),
3631 (ev_view_set_show_border), (ev_view_set_spacing),
3632 (ev_view_zoom_for_size_continuous_and_dual_page),
3633 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3634 Also, add a quick fix measuring of widths. Also, removed
3635 ev_view_set_spacing and ev_view_set_show_border.
3637 * shell/ev-window.c: (ev_window_unfullscreen),
3638 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3640 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3642 * shell/ev-view.c: (view_update_range_and_current_page),
3645 Fix crash on exit and scrolling to page in continuous view.
3647 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3650 * backend/ev-page-cache.c: (_ev_page_cache_new),
3651 (ev_page_cache_get_max_width_size),
3652 (ev_page_cache_get_max_height_size):
3653 * backend/ev-page-cache.h:
3654 * data/evince-ui.xml:
3655 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3656 * shell/ev-view.c: (view_update_adjustments),
3657 (view_update_range_and_current_page), (get_bounding_box_size),
3658 (ev_view_size_request_continuous_and_dual_page),
3659 (ev_view_size_request_continuous),
3660 (ev_view_size_request_dual_page),
3661 (ev_view_size_request_single_page), (ev_view_size_request),
3662 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3663 (ev_view_bin_expose), (ev_view_expose_event),
3664 (ev_view_set_property), (ev_view_get_property),
3665 (ev_view_class_init), (ev_view_init), (ev_view_new),
3666 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3667 (ev_view_set_dual_page), (ev_view_set_full_screen),
3668 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3669 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3670 (ev_view_zoom_out), (zoom_for_size_fit_width),
3671 (zoom_for_size_best_fit),
3672 (ev_view_zoom_for_size_continuous_and_dual_page),
3673 (ev_view_zoom_for_size_continuous),
3674 (ev_view_zoom_for_size_dual_page),
3675 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3676 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3678 * shell/ev-window.c: (update_action_sensitivity),
3679 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3680 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3681 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3682 (ev_window_cmd_view_zoom_out), (update_view_size),
3683 (ev_window_set_sizing_mode), (ev_window_init):
3685 Add Continuous and Dual page modes.
3687 2005-04-23 James Bowes <bowes@cs.dal.ca>
3689 * dvi/dvi-document.c: (dvi_document_load),
3690 (dvi_document_thumbnails_get_thumbnail),
3691 (dvi_document_init_params): Fix up some mixups between
3692 width and height to correct thumbnail rendering.
3694 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3696 * dvi/mdvi-lib/private.h:
3697 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3699 Suppess output for kpathsea during font generation. Thanks to
3702 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3709 * Makefile.am: fix distcheck.
3711 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3713 * shell/ev-sidebar-links.c: (selection_changed_callback),
3714 (update_page_callback), (row_activated_callback),
3715 (job_finished_callback), (ev_sidebar_links_set_document):
3717 Fix for bug #169901. Double click on links expands tree.
3719 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3721 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3722 hard-coded style. Fix for bug 170111
3724 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3726 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3729 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3731 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3733 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3735 * pdf/ev-poppler.cc:
3736 * shell/ev-view.c: (highlight_find_results):
3738 Fix find on single page documents
3740 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3742 * data/evince.schemas.in: fix for bug 301390
3744 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3746 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3747 (ev_view_zoom_out), (ev_view_zoom_normal):
3749 * shell/ev-window.c: (update_action_sensitivity),
3750 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3751 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3752 (ev_window_cmd_view_normal_size):
3754 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3755 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3758 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3762 Depend on 2.57, 2.59 doesnt seem to be necessary
3764 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3766 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3769 Put back total number of pages as (1 of 1234)
3771 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3773 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3776 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3777 function. This helps debugging.
3779 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3781 * djvu/djvu-document.c: (djvu_document_class_init),
3782 (djvu_document_get_info), (djvu_document_document_iface_init):
3783 * dvi/dvi-document.c: (dvi_document_class_init),
3784 (dvi_document_get_info), (dvi_document_document_iface_init):
3786 Dummy implementation of get_info method for dvi and djvu. Fix
3787 crashes with those backends
3789 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3791 * data/evince.desktop.in:
3793 Add application/x-gzpostscript
3795 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3797 * data/evince.schemas.in: Added real long descriptions,
3800 * README: Added actual text, closes bug 171869
3802 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3804 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3808 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3810 * backend/ev-document-info.h:
3812 s/GDate */GDate so we can just use g_free
3814 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3816 * shell/ev-window.c: (update_document_mode),
3817 (ev_window_setup_document):
3819 Show the window in fullscreen when specified by
3822 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3824 * backend/ev-document.c: (ev_document_class_init),
3825 (ev_document_get_info), (ev_document_render_pixbuf):
3826 * backend/ev-document.h:
3827 * backend/ev-page-cache.c: (_ev_page_cache_new):
3828 * pdf/ev-poppler.cc:
3829 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3830 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3831 * ps/ps-document.c: (ps_document_class_init), (document_load),
3832 (ps_document_get_info), (ps_document_document_iface_init):
3834 Remove get_title from the interface, we can just use document info
3836 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3838 * backend/Makefile.am:
3839 * backend/ev-document.c: (ev_document_render_get_info):
3840 * backend/ev-document.h:
3841 * pdf/ev-poppler.cc:
3843 Initial support for document info. Based on jrb patch.
3845 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3847 * shell/ev-window.c: (ev_window_state_event),
3848 (ev_window_class_init), (ev_window_init):
3850 Doesn't show resize grip when maximized. See bug #301053
3852 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3856 ev-sidebar-thumbnails now has translatable labels
3858 * shell/Makefile.am:
3859 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3860 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3861 (ev_sidebar_links_page_iface_init):
3862 * shell/ev-sidebar-links.h:
3863 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3864 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3865 (ev_sidebar_page_get_label):
3866 * shell/ev-sidebar-page.h:
3867 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3868 (ev_sidebar_thumbnails_set_document),
3869 (ev_sidebar_thumbnails_support_document),
3870 (ev_sidebar_thumbnails_get_label),
3871 (ev_sidebar_thumbnails_page_iface_init):
3872 * shell/ev-sidebar-thumbnails.h:
3873 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3874 (ev_sidebar_set_document):
3875 * shell/ev-sidebar.h:
3876 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3878 Small rework of sidebar code. Now sidebar pages should implement
3879 EvSidebarPage interface. That makes page management in EvSidebar
3880 easier. See bug #164811 for details
3882 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3884 * shell/ev-application.c: (ev_application_open):
3885 * shell/ev-document-types.c:
3887 Fix build error and small problem with application exit
3889 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3891 * thumbnailer/Makefile.am:
3892 * thumbnailer/evince-thumbnailer-djvu.schemas:
3893 * thumbnailer/evince-thumbnailer-dvi.schemas:
3895 Conditionally install schemas for djvu/dvi thumbnailer
3897 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3899 * shell/ev-document-types.h:
3900 * shell/ev-document-types.c:
3901 New files, handling the mapping from mimetypes to backends
3903 * shell/ev-window.c:
3904 * thumbnailer/evince-thumbnailer.c:
3905 Use the ev-document-types code
3907 * shell/Makefile.am:
3908 Added new convenience library libevbackendfactory_la, containing
3909 the new mimetype->backend logic; moved the backends into it.
3911 * thumbnailer/Makefile.am:
3912 Make the thumbnailer link with the libevbackend.la convenience
3913 library, rather than having a duplicate of the backend logic here.
3915 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3917 * shell/ev-stock-icons.c: constify some vars.
3918 * shell/ev-window.c: ditto.
3920 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3922 * ps/ps-document.c (get_page_orientation):
3924 Respect document orientation
3926 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3930 * shell/Makefile.am:
3932 Move library dependencies to components.
3934 * shell/ev-window.c: (update_window_title),
3935 (start_loading_document):
3937 Fix display of uris with spaces. Bug 168358.
3939 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3941 * shell/ev-sidebar-links.c: (selection_changed_cb):
3942 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3943 (ev_view_button_release_event), (ev_view_set_document):
3945 * shell/ev-window.c: (find_bar_search_changed_cb):
3946 * shell/ev-window.h: Minor cleanups removing some dead code.
3948 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3950 * backend/ev-page-cache.c: (_ev_page_cache_new):
3952 Set current page to 0 if document has pages.
3954 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3956 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3958 Initialize GError to NULL, fix a crash when loading fails.
3960 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3962 * shell/ev-window.c: (update_view_size):
3964 Calculate shadow size only when there is actually
3967 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3969 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3972 Allow setting view spacing, default to 0
3974 * shell/ev-window.c: (ev_window_unfullscreen),
3975 (ev_window_cmd_view_fullscreen), (ev_window_init):
3977 Remove spacing in fullscreen mode
3979 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3981 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3982 (ev_view_size_request), (expose_bin_window),
3983 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3985 * shell/ev-window.c: (ev_window_unfullscreen),
3986 (ev_window_cmd_view_fullscreen):
3988 Do not draw the border in fulscreen
3990 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3992 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3993 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3994 (find_page_at_location), (page_changed_cb):
3996 Rework border calculation, so that I can more easily disable it.
3997 Code somewhat cleaner too.
3999 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4001 * backend/ev-page-cache.c: (ev_page_cache_init),
4002 (_ev_page_cache_new):
4004 Remove some assertions, documents can have 0 pages.
4005 Make initial current page -1.
4007 * shell/ev-page-action.c: (page_changed_cb):
4009 Show "" if current page is -1
4011 * shell/ev-window.c: (update_action_sensitivity),
4012 (ev_window_setup_document):
4014 When document has 0 pages do not set the view
4015 and make nearly everything insensitive.
4017 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4019 * shell/ev-page-view.c:
4020 * shell/ev-page-view.h:
4022 Remove unused files.
4024 * shell/ev-sidebar-thumbnails.c:
4025 (ev_sidebar_thumbnails_set_document):
4026 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4027 (ev_sidebar_supports_document):
4028 * shell/ev-sidebar.h:
4029 * shell/ev-window.c: (ev_window_setup_document):
4031 Doesn't show thumbnails if document has 1 page. Make
4032 sidebar menu entries sensitive only if if they have
4033 sense. Fix bug 164811.
4035 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4037 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4038 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4039 (ev_view_zoom_out), (ev_view_set_size):
4041 Rework sizing to deal with documents with not uniform page
4044 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4046 * backend/ev-page-cache.c: (_ev_page_cache_new):
4048 Fix several page size caching bugs
4050 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4052 * shell/ev-window.c: (set_action_properties):
4054 Make all toolbar items translatable
4056 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4058 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4059 (save_page_list), (ps_document_save),
4060 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4061 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4062 (ps_document_ps_exporter_iface_init):
4065 Based on a patch by J�rg Billeter <j@bitron.ch>
4067 Implement print and save a copy for the ps backend.
4069 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4071 * backend/ev-document.h:
4072 * djvu/djvu-document.c: (djvu_document_can_get_text),
4073 (djvu_document_document_iface_init):
4074 * dvi/dvi-document.c: (dvi_document_can_get_text),
4075 (dvi_document_document_iface_init):
4076 * pdf/ev-poppler.cc:
4077 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4078 (pixbuf_document_document_iface_init):
4079 * ps/ps-document.c: (ps_document_can_get_text),
4080 (ps_document_document_iface_init):
4081 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4082 * shell/ev-window.c: (update_action_sensitivity):
4084 Fix the crash when trying to copy in backends that doesnt
4085 support it. We can implement a better solution once we
4086 do real text selection.
4088 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4090 * data/evince-ui.xml:
4091 * shell/ev-window.c: (ev_window_cmd_escape):
4093 Work around the Escape conflict (find bar and unfullscreen)
4095 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4097 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4099 Fix for #300233. Next page correctly handles document end.
4101 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4102 (ev_sidebar_thumbnails_class_init),
4103 (ev_sidebar_thumbnails_set_document),
4104 (ev_sidebar_thumbnails_clear_job),
4105 (ev_sidebar_thumbnails_clear_model):
4107 Cleanup thumbnail jobs on document changes.
4109 * shell/ev-view.c: (add_scroll_binding_keypad),
4110 (add_scroll_binding_shifted), (ev_view_class_init):
4112 Shift + Space scrolls up. Fix for #173184
4114 * shell/ev-window.c: (ev_window_open_page),
4115 (ev_window_cmd_view_reload):
4117 Fix reload (Bug #300094)
4119 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4122 * dvi/mdvi-lib/assoc.c:
4123 * dvi/mdvi-lib/assoc.h: Removed garbage files
4125 * dvi/mdvi-lib/bitmap.c:
4126 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4127 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4128 * dvi/mdvi-lib/color.h: Antialias of rules
4130 * dvi/mdvi-lib/common.h:
4131 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4132 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4133 * dvi/mdvi-lib/files.c:
4134 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4135 * dvi/mdvi-lib/mdvi.h:
4136 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4137 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4138 * dvi/mdvi-lib/util.c: Fix compile warnings
4140 * dvi/dvi-document.c:
4141 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4142 (dvi_document_thumbnails_get_thumbnail),
4143 (dvi_document_document_thumbnails_iface_init):
4144 * dvi/mdvi-lib/Makefile.am:
4145 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4146 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4148 Dvi backend now renders thumbnails
4150 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4152 * shell/main.c: (main):
4154 Save accelerators on exit. Fixes bug #172095.
4156 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4158 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4159 update priority" comment.
4161 * backend/ev-job-queue.c: Give a way to change priority.
4163 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4165 * shell/ev-page-action.c: Fix logic.
4167 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4169 * shell/ev-view.c: (ev_view_can_find_next):
4170 * shell/ev-window.c: (ev_window_setup_document):
4172 Check that the document supports find
4174 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4176 * data/evince-ui.xml:
4177 * shell/ev-view.c: (ev_view_can_find_next):
4179 * shell/ev-window.c: (update_action_sensitivity),
4180 (find_changed_cb), (ev_window_setup_document),
4181 (ev_window_cmd_edit_find_next):
4185 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4187 * pdf/ev-poppler.cc:
4188 * shell/ev-print-job.c: (idle_print_handler):
4190 Make printing work again
4192 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4194 * shell/ev-page-action.h:
4195 * shell/ev-page-action.c: (ev_page_action_widget_init),
4196 (ev_page_action_widget_class_init), (page_changed_cb),
4197 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4198 (get_filter_model_from_model), (match_selected_cb),
4199 (display_completion_text), (match_completion), (update_model),
4200 (connect_proxy), (ev_page_action_set_property),
4201 (ev_page_action_get_property), (ev_page_action_set_document),
4202 (ev_page_action_set_model), (ev_page_action_class_init): Big
4203 reworking to make completions work iff we have >= GTK-2.7.0
4205 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4206 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4207 (job_finished_cb): We now have a 'model' property that is set when
4208 the links are loaded. This can be caught with "notify::model"
4210 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4211 listen for the model to be set, and propagate it to the action.
4213 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4215 * cut-n-paste/recent-files/egg-recent-item.c:
4216 (egg_recent_item_set_uri), (make_valid_utf8),
4217 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4218 * cut-n-paste/recent-files/egg-recent-item.h:
4220 Update egg-recent from libegg. This should fix long
4221 startup problem. For details see
4222 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4224 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4226 * cut-n-paste/recent-files/Makefile.am:
4227 * data/evince-ui.xml, shell/Makefile.am:
4228 * shell/ev-application.c, shell/ev-application.h:
4229 * shell/ev-window.c: Recent files support.
4231 * configure.ac: Added "ru" to ALL_LINGUAS.
4233 * dvju: new backend to support DJVU files.
4234 * dvi: new backend to support DVI.
4236 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4237 * ev-application.c: Support for new backends.
4239 * help, ev-window.c, main.c shell/Makefile.am:
4240 Evince user documentation.
4242 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4245 * shell/ev-window.c:
4246 * thumbnailer/evince-thumbnailer.c:
4248 s/pdf-document/ev-poppler
4250 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4257 * ps/ps-document.c: (setup_pixmap):
4261 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4263 * backend/ev-page-cache.c (ev_page_cache_next_page):
4264 * shell/ev-window.c (ev_window_cmd_go_next_page)
4265 (ev_window_cmd_go_first_page): Fix of by one errors.
4267 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4269 * ps/ps-document.c: (get_page_box):
4271 Fix page size calculation
4273 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4275 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4276 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4277 (get_page_orientation), (setup_page), (document_load),
4278 (ps_document_get_page_size), (render_pixbuf_idle):
4281 More refactoring to adapt to EvDocument changes
4283 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4285 * ps/ps-document.c: (start_interpreter):
4287 Actually add alpha args
4289 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4291 * pdf/ev-poppler.cc:
4293 Make clipboard work again
4295 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4297 Make searching work again.
4299 * backend/ev-document.c:
4300 * backend/ev-document.h:
4301 * backend/ev-document-find.c:
4302 * backend/ev-document-find.h: Change EvDocumentIface so we no
4303 longer store the current page or zoom level in the document. The
4304 consequence is that all calls that operate on the current page now
4305 instead take the page number as an extra argument, and all
4306 coordinates are now doubles in document coordinate system.
4308 * pdf/ev-poppler.cc:
4309 * pixbuf/pixbuf-document.c:
4310 * ps/ps-document.c: Update backends accordingly.
4312 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4316 Add required gettext version
4318 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4320 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4321 make F1 bring up non-existent help.
4323 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4324 epiphany's find bar, #167477
4326 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4327 <emil@nishra.com> to add space-bar scrolling,
4329 * shell/ev-window.c (static GtkActionEntry entries): add default
4330 keybinding for Help (F1)
4333 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4334 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4337 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4340 * pixbuf/pixbuf-document.c:
4342 Got pixbuf backend working again
4344 2005-04-01 Steve Murphy <murf@e-tools.com>
4346 * configure.in: Added "rw" to ALL_LINGUAS.
4348 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4350 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4351 model types, noticed by Martin Kretzschmar.
4353 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4355 * pdf/ev-poppler.cc: Implement search based on
4356 poppler_page_find_text(). Currently a bit crude since we remember
4357 all matches from all pages. Also, we grab the big document lock
4358 when we search since searching changes the underlying stream and
4359 thus conflicts with the rendering thread.
4361 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4362 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4363 (ev_view_find_previous): Fix some page indexes to be 0 based,
4364 offset rubber band by view offset,
4366 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4368 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4370 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4372 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4373 completely because I didn't understand GtkActions. I should
4374 read Marco's code more carefully in the future.
4376 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4379 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4381 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4382 PopplerRectangle change from poppler CVS.
4384 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4386 * backend/ev-document.c: (ev_document_get_page_label):
4387 * backend/ev-document.h:
4388 * backend/ev-page-cache.c: (_ev_page_cache_new),
4389 (ev_page_cache_get_page_label):
4390 * backend/ev-page-cache.h:
4391 * pdf/ev-poppler.cc:
4392 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4393 (links_page_num_func):
4394 * shell/ev-sidebar-thumbnails.c:
4395 (ev_sidebar_thumbnails_set_document):
4396 * shell/ev-view.c: (status_message_from_link),
4397 (ev_view_motion_notify_event):
4398 * shell/ev-window.c: (document_supports_sidebar): Add in page
4399 label support. It's not perfect yet, but it's the first 'feature'
4401 Also, fix a bogus comment noticed by crispin.
4403 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4405 * Makefile.am: Remove pixbuf backend for now
4407 * configure.ac: Require poppler-glib instead of just poppler.
4409 * backend/ev-document-thumbnails.h: Add a comment
4411 * backend/ev-document.h:
4412 * backend/ev-document.c: (ev_document_class_init),
4413 (ev_document_load), (ev_document_get_link),
4414 (ev_document_get_links): Remove 3 methods and add get_links.
4417 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4418 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4420 * backend/ev-link.c: (ev_link_set_title),
4421 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4422 (ev_link_mapping_find):
4423 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4425 * backend/ev-page-cache.c: (ev_page_cache_init),
4426 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4427 (ev_page_cache_get_size), (ev_page_cache_next_page),
4428 (ev_page_cache_prev_page): Fix to be 0 based.
4432 * pdf/ev-poppler.cc: New backend.
4434 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4435 (ps_document_get_page), (ps_document_document_iface_init):
4437 * shell/ev-pixbuf-cache.h:
4438 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4439 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4440 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4441 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4442 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4443 Fix up code to grab a page cache per each doc. Also, fix to be 0
4446 * shell/ev-sidebar-thumbnails.c:
4447 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4448 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4450 * shell/ev-view.c: (status_message_from_link),
4451 (find_page_at_location), (get_link_at_location),
4452 (ev_view_motion_notify_event), (ev_view_button_release_event),
4453 (ev_view_init): Use the new link code. Fix to be 0 based.
4455 * shell/ev-window.c: (update_action_sensitivity),
4456 (document_supports_sidebar): 0 based.
4458 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4460 * pdf/pdf-document.cc: Patch from Fernando Herrera
4461 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4464 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4466 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4467 1 to the page, as this seems to be 1 based. I thought we has this
4470 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4473 * backend/Makefile.am:
4474 * backend/ev-document-links.c:
4475 (ev_document_links_has_document_links),
4476 (ev_document_links_get_links_model):
4477 * backend/ev-document-links.h:
4478 * backend/ev-document.c: (ev_document_get_page_cache),
4479 (ev_document_get_doc_mutex), (ev_document_load),
4480 (ev_document_save), (ev_document_get_title),
4481 (ev_document_get_n_pages), (ev_document_set_page),
4482 (ev_document_get_page), (ev_document_set_target),
4483 (ev_document_set_scale), (ev_document_set_page_offset),
4484 (ev_document_get_page_size), (ev_document_get_text),
4485 (ev_document_get_link), (ev_document_render),
4486 (ev_document_render_pixbuf), (ev_document_scale_changed):
4487 * backend/ev-document.h:
4488 * backend/ev-job-queue.c: (remove_object_from_queue),
4489 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4490 (no_jobs_available_unlocked), (ev_render_thread),
4491 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4492 (ev_job_queue_remove_job):
4493 * backend/ev-job-queue.h:
4494 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4495 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4496 (ev_job_links_class_init), (ev_job_render_init),
4497 (ev_job_render_dispose), (ev_job_render_class_init),
4498 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4499 (ev_job_thumbnail_class_init), (ev_job_finished),
4500 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4501 (ev_job_render_run), (ev_job_thumbnail_new),
4502 (ev_job_thumbnail_run):
4503 * backend/ev-jobs.h:
4504 * backend/ev-link.c:
4505 * backend/ev-link.h:
4506 * backend/ev-page-cache.c: (ev_page_cache_init),
4507 (ev_page_cache_class_init), (ev_page_cache_finalize),
4508 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4509 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4510 (ev_page_cache_set_link), (ev_page_cache_get_title),
4511 (ev_page_cache_get_size), (ev_page_cache_next_page),
4512 (ev_page_cache_prev_page):
4513 * backend/ev-page-cache.h:
4514 * pdf/pdf-document.cc:
4517 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4518 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4519 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4520 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4521 (is_interpreter_ready), (output), (catchPipe), (input),
4522 (start_interpreter), (check_filecompressed), (compute_dimensions),
4523 (ps_document_enable_interpreter), (document_load),
4524 (ps_document_next_page), (render_page), (ps_document_set_page),
4525 (ps_document_set_scale), (render_pixbuf_idle),
4526 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4528 * shell/Makefile.am:
4529 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4530 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4531 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4532 (ev_pixbuf_cache_new), (job_finished_cb),
4533 (check_job_size_and_unref), (move_one_job),
4534 (ev_pixbuf_cache_update_range), (find_job_cache),
4535 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4536 (ev_pixbuf_cache_add_jobs_if_needed),
4537 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4538 * shell/ev-pixbuf-cache.h:
4539 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4540 (idle_print_handler):
4541 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4542 (selection_changed_cb), (create_loading_model),
4543 (ev_sidebar_links_construct), (links_page_num_func),
4544 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4545 (update_page_callback), (job_finished_cb),
4546 (ev_sidebar_links_set_document):
4547 * shell/ev-sidebar-thumbnails.c:
4548 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4549 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4550 (page_changed_cb), (thumbnail_job_completed_callback),
4551 (ev_sidebar_thumbnails_set_document):
4552 * shell/ev-sidebar-thumbnails.h:
4553 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4554 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4555 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4556 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4557 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4558 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4559 (ev_view_button_release_event), (ev_view_scroll_view),
4560 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4561 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4562 (ev_view_new), (job_finished_cb), (page_changed_cb),
4563 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4564 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4565 (ev_view_find_previous):
4567 * shell/ev-window.c: (update_action_sensitivity),
4568 (ev_window_open_page), (update_window_title), (update_total_pages),
4569 (page_changed_cb), (ev_window_setup_document),
4570 (password_dialog_response), (ev_window_cmd_save_as),
4571 (ev_window_print), (ev_window_cmd_go_previous_page),
4572 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4573 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4574 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4575 * shell/main.c: (main):
4577 Merge evince-threads branch
4579 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4581 * configure.ac: Added "lt" to ALL_LINGUAS.
4583 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4590 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4592 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4594 Fix here also the thumbnails 1-basedness :)
4596 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4603 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4605 * pdf/pdf-document.cc:
4606 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4607 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4609 Fix the mess we did with thumbnails and 1-basedness
4611 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4613 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4615 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4622 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4625 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4626 (gtk_gs_defaults_get_alpha_parameters),
4627 (gtk_gs_defaults_get_ungzip_cmd),
4628 (gtk_gs_defaults_get_unbzip2_cmd):
4630 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4631 (ps_document_get_orientation), (document_load),
4632 (ps_document_goto_page), (ps_document_set_page_size):
4635 Some more sanitization of the ps backend. Remove a lot
4636 of unused code and do not base our defaults on ggv
4639 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4641 * thumbnailer/evince-thumbnailer.schemas:
4642 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4643 (main): add -s option for thumbnail size.
4645 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4649 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4652 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4654 * pdf/pdf-document.cc:
4656 Remove 4 pixels of useless border from the
4659 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4661 * backend/ev-document-thumbnails.c:
4662 (ev_document_thumbnails_get_thumbnail):
4663 * backend/ev-document-thumbnails.h:
4665 Rework API a bit. Add a border flag and
4666 change sizing logic (now the size we specify
4667 applies to the bigger dimension).
4669 * pdf/pdf-document.cc:
4670 * pixbuf/pixbuf-document.c:
4671 (pixbuf_document_thumbnails_get_thumbnail):
4672 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4673 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4675 Adapt to the new API and do not draw a border for nautilus
4678 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4680 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4681 take thumbnails from page "0" instead of "1". Added a copyright header.
4683 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4685 * ps/ps-document.c: (set_up_page), (start_interpreter):
4687 Make it C89 compliant
4689 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4694 * pdf/pdf-document.cc:
4695 * thumbnailer/Makefile.am:
4696 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4698 * thumbnailer/evince-thumbnailer.schemas:
4699 * thumbnailer/pdf-icon.png:
4701 Add a nautilus thumbnailer.
4702 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4704 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4712 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4714 Use poppler instead of including xpdf source code. Poppler is a
4715 fork of xpdf to build it as a shared library. See
4716 http://freedesktop.org/wiki/Software/poppler.
4718 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4721 * pdf/Makefile.am: Build libpdfdocument.a here.
4723 * pdf/GDKSplashOutputDev.cc:
4724 * pdf/GDKSplashOutputDev.h:
4725 * pdf/GnomeVFSStream.cc:
4726 * pdf/GnomeVFSStream.h:
4729 * test-gdk-output-dev.cc
4731 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4734 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4736 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4738 Clear idle stack before unsetting the document
4740 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4742 * ps/ps-document.c: (ps_document_widget_event),
4743 (ps_document_set_target), (ps_document_finalize),
4744 (ps_document_get_page):
4746 Disconnect the widget event signal on finalize.
4749 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4751 * ps/ps-document.c: (set_up_page):
4753 If there is no bpixmap create one, even if size
4756 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4758 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4759 (set_up_page), (document_load), (ps_document_set_zoom):
4761 Default page is 0. Calculate size even when we have no
4764 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4766 * shell/ev-sidebar.c: expand the selection widget to be always as
4769 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4771 * shell/ev-sidebar-thumbnails.c:
4772 (ev_sidebar_thumbnails_set_document):
4774 Clear the list store when setting document
4776 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4778 * shell/ev-page-action.c: (update_entry), (sync_entry),
4779 (activate_cb), (entry_size_request_cb), (create_tool_item),
4782 Use an entry for the page control instead of spinbuttons
4784 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4786 * data/evince.schemas.in:
4788 Correct confusing string
4790 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4792 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4793 for real. Gosh, how long has this been broken.
4795 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4796 check for a NULL link. We crash otherwise.
4798 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4805 2005-02-25 Sebastien Bacher <seb128@debian.org>
4807 * configure.ac: add the french translation.
4809 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4811 * shell/ev-window.c:
4813 Remove unused header -> fix distcheck
4815 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4817 * shell/ev-window.c: (update_window_title),
4818 (ev_window_popup_password_dialog):
4820 Unescape filename for display
4822 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4824 * pdf/xpdf/pdf-document.cc:
4826 In get_page_size deal with rotation. Also
4827 cleanup the function a bit.
4829 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4831 * pdf/xpdf/pdf-document.cc:
4833 Fix crash when opening in new window
4835 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4839 Check ghostscript >= 7
4841 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4843 * shell/ev-window.c:
4845 Make page width the default sizing mode
4847 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4848 Marco Pesenti Gritti <marco@gnome.org>
4850 * shell/ev-window.c: Remember the sidebar size
4852 * data/evince.schemas.in: Add a new gconf key to store the size of
4855 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4857 * data/evince-ui.xml:
4858 * shell/ev-window.c: (update_action_sensitivity),
4859 (ev_window_cmd_view_reload):
4861 Add a "Reload" action and menu entry
4863 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4865 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4866 iff the type doesn't support thumbnailing and indexing.
4868 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4870 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4872 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4874 * pdf/splash/Splash.cc:
4876 Port fix for a crasher from kde bug
4877 http://bugs.kde.org/show_bug.cgi?id=97131
4879 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4881 * pdf/xpdf/pdf-document.cc:
4883 Return a link even if it's of an unrecognized
4884 type. Otherwise we go in an infinte cycle.
4886 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4888 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4889 (size_allocate_cb), (ev_window_set_sizing_mode):
4891 Update size when switching mode
4893 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4895 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4896 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4897 (ev_window_cmd_view_normal_size):
4899 Fix size toggle buttons behavior
4901 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4903 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4904 (doc_rect_to_view_rect), (ev_view_size_allocate),
4905 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4906 (scale_changed_callback):
4908 Do not cache offsets in size_allocate.
4910 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4912 * shell/ev-view.c: (ev_view_size_allocate):
4914 Calculate offsets before calling the parent
4915 class (which does a redraw)
4917 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4919 * pdf/xpdf/pdf-document.cc:
4921 Fix a crasher on exit. Unused code, put a TODO
4923 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4925 * backend/ev-document.c: (ev_document_class_init),
4926 (ev_document_page_changed), (ev_document_scale_changed):
4927 * backend/ev-document.h:
4929 Separate page/scale notifications
4931 * pdf/xpdf/pdf-document.cc:
4933 Emit the new signals.
4934 Do not display the pdf page in _render, do it
4935 when scale/page are requested.
4937 * ps/ps-document.c: (ps_document_set_zoom),
4938 (ps_document_widget_event):
4941 Emit the new signals.
4943 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4944 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4945 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4946 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4948 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4949 (ev_window_cmd_view_page_width), (size_allocate_cb),
4950 (ev_window_set_sizing_mode):
4952 Rework sizing to be pixel based.
4953 There are bugs but should be already way better.
4955 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4957 * shell/ev-window.c: (ev_window_init):
4959 Do not allow to shrink sidebar smaller then
4962 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4964 * shell/ev-sidebar.[ch]
4965 * shell/ev-window.c:
4967 Improved sidebar widget. Fixes #166683
4969 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4971 * shell/ev-view.c (update_find_status_message): Give translators
4972 more flexibility with ngettext plural handling.
4974 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4976 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4977 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4978 page when we get the page size.
4980 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4982 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4984 ps pages are 0 based, convert
4986 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4988 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4990 Initialize correct parent class. Set GError on document load
4992 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4994 * pdf/xpdf/pdf-document.cc:
4996 Fixup selection offset calculation
4998 * shell/ev-view.c: (view_rect_to_doc_rect),
4999 (doc_rect_to_view_rect), (ev_view_size_allocate),
5000 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5001 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5003 Store selection as document relative, so that zooming
5004 and offset changing doesnt break it.
5006 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5008 * shell/ev-view.c: (ev_view_best_fit):
5010 Do not try to best fit if the view is not realized
5012 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5014 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5016 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5018 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5020 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5022 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5023 the popup window. That prevents it resizing when in full screen
5026 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5027 multiple rerenders. This pretty much sucks.
5029 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5030 rest of the toolbar.
5032 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5034 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5036 2005-02-17 Alexander Shopov <ash@contact.bg>
5038 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5040 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5042 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5044 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5046 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5047 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5048 (set_document_page), (document_changed_callback),
5049 (ev_view_set_document), (ev_view_find_previous),
5050 (ev_view_hide_cursor), (ev_view_show_cursor):
5052 * shell/ev-window.c: (update_chrome_visibility),
5053 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5054 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5055 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5056 (ev_window_unfullscreen):
5057 * shell/main.c: (main):
5059 Automatically hide the fullscreen button.
5060 Patch by Kristian Høgsberg <krh@redhat.com>
5062 2005-02-16 Vincent Noel <vnoel@cox.net>
5064 * shell/main.c (main): Specify an icon for the window. Patch by
5065 Jaap A. Haitsma. Fixes #166177.
5067 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5069 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5071 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5073 * backend/ev-document-misc.h:
5074 * backend/ev-document-misc.c:
5075 (ev_document_misc_get_page_border_size),
5076 (ev_document_misc_paint_one_page): New function to canonicalize
5077 sizing/painting a border.
5079 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5082 * pdf/xpdf/pdf-document.cc: use new function
5084 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5085 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5086 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5087 shell/ev-window.c: (update_sizing_buttons),
5088 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5089 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5090 (ev_window_cmd_view_page_width), (size_allocate_cb),
5091 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5092 and "fit width" values act as toggle buttons so they stay
5093 toggled. It's not 100% perfect, and it's a little slow, but it's
5094 good enough to commit I think.
5096 2005-02-15 David Lodge <dave@cirt.net>
5098 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5100 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5102 * shell/ev-window.c (update_window_title): replace newlines in
5103 the title by spaces. Bug #166107.
5105 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5107 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5108 parameters providing allocation width and height without
5109 scrollbars and width of a possible vertical scrollbar. With this
5110 additional information the functions can work as
5111 intended. Unfortunately they're not idempotent. We should
5112 transform these commands to toggles. Fixes Bug #164976
5113 Initial patch by Stephane Loeuillet, then heavily modified.
5115 * shell/ev-view.h: update prototypes.
5117 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5118 (ev_window_cmd_view_page_width): provide EvView fit functions with
5119 all the information they need. Formulas to calculate this
5120 information taken from GtkScrolledWindow.
5122 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5124 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5125 created a thumbnail, the list store is updated to know
5126 that the thumbnail is set. Fixes bug #166792
5128 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5130 * shell/ev-window.c: fixed typo, closes bug 166897
5132 * TODO: updated TODO with bug numbers that are relevant
5134 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5136 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5138 2005-02-09 Vincent Noel <vnoel@cox.net>
5140 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5141 and "Next" toolbar buttons as important to make them stand out.
5143 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5147 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5148 (start_interpreter), (stop_interpreter), (document_load),
5149 (ps_document_next_page), (ps_document_goto_page),
5150 (ps_document_set_page_size), (ps_document_widget_event),
5151 (ps_document_render):
5152 * shell/ev-page-view.c: (ev_page_view_dispose):
5153 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5155 Fix compilation on non-gcc platforms
5157 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5164 * pdf/xpdf/Catalog.cc:
5167 Fix the fix for CAN-2004-0888
5169 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5172 * data/evince-ui.xml:
5173 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5174 * shell/ev-stock-icons.h:
5175 * shell/ev-window.c: (update_action_sensitivity),
5176 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5177 (set_action_properties):
5179 Improve toolbar layout/icons
5181 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5183 * pdf/xpdf/pdf-document.cc:
5185 Add warnings about unimplemented/unknown link
5188 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5190 * ps/ps-document.c: (set_up_page):
5194 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5196 * ps/ps-document.c: (start_interpreter):
5200 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5202 * shell/ev-page-view.c: (ev_page_view_dispose):
5203 * shell/ev-view.c: (ev_view_finalize):
5204 * shell/ev-window.c: (ev_window_setup_document),
5205 (ev_window_dispose), (ev_window_init):
5207 Solve more refs issues.
5209 I commented out the page_view initialization for now:
5210 it was never destroyed (because it's never added
5211 to a container). Because of that we was leaking
5212 gs processes. Couldnt think to a clean fix.
5213 We need to figure this out, password view has the
5214 same issue probably.
5216 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5218 * ps/ps-document.c: (ps_document_finalize),
5219 (ps_document_get_n_pages), (ps_document_get_page):
5221 Some cleanups, stop the interpreter on finalize
5223 * shell/ev-page-view.c: (ev_page_view_dispose),
5224 (ev_page_view_class_init):
5226 Release our reference on the document
5228 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5232 * doc/debugging.txt:
5235 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5236 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5237 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5240 Add debugging helpers
5243 * ps/ps-document.c: (set_up_page), (start_interpreter),
5244 (stop_interpreter), (document_load), (ps_document_next_page),
5245 (ps_document_goto_page), (ps_document_set_page_size),
5246 (ps_document_widget_event), (ps_document_render):
5247 * shell/Makefile.am:
5248 * shell/ev-view.c: (expose_bin_window):
5249 * shell/main.c: (main):
5253 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5255 * ps/ps-document.c: (ps_document_widget_event):
5257 Initialize message_window, this should make ps
5258 rendering really work! (Never noticed because I was
5259 testing with a ps that is causing gs to exit every time!)
5261 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5263 * data/evince.schemas.in: updated simple error in applyto closing tag
5265 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5271 * data/evince-ui.xml:
5272 A data/evince.schemas.in:
5274 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5275 * shell/ev-stock-icons.h:
5276 * shell/ev-window.c: (update_chrome_visibility),
5277 (update_chrome_flag), (ev_window_cmd_edit_find),
5278 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5279 (ev_window_unfullscreen), (ev_window_focus_in_event),
5280 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5281 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5282 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5283 (ev_window_dispose), (ev_window_class_init),
5284 (set_action_properties), (set_chrome_actions), (load_chrome),
5287 Implement fullscreen mode changes from bug #164776.
5288 Also implement persistent chrome toggles.
5290 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5292 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5294 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5300 Add another check for find interface
5304 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5306 * shell/ev-application.c: (ev_application_open):
5307 * shell/ev-window.c: (ev_window_open):
5309 Open gzipped ps documents
5311 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5314 * shell/ev-view.c: (set_document_page):
5316 Clamp page number, dont try to move to
5319 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5321 * backend/ev-document-find.c: (ev_document_find_changed):
5322 * backend/ev-document-find.h:
5323 * pdf/xpdf/pdf-document.cc:
5324 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5325 * shell/ev-window.c: (find_bar_search_changed_cb):
5327 Fix several bugs with find
5329 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5331 * shell/ev-sidebar-thumbnails.c
5332 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5333 document. Prevents warning from scroll_to_cell.
5335 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5337 * configure.ac: Add «nb» to ALL_LINGUAS too.
5339 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5341 * NOTES: New file with some random thoughts.
5345 * backend/ev-document-misc.c:
5346 (ev_document_misc_get_page_border_size): New function to
5347 canonicalize shadow drawing sizes. Possibly goofy.
5349 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5350 (ev_view_best_fit), (ev_view_fit_width):
5351 * pdf/xpdf/pdf-document.cc:
5352 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5353 * ps/ps-document.c: (ps_document_get_page_size):
5354 * backend/ev-document-misc.h:
5355 * backend/ev-document.c: (ev_document_get_page_size):
5356 * backend/ev-document.h: get_page_size now takes a page number
5357 parameter. Made all the backends/frontends honor it.
5359 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5360 see. Doesn't work yet.
5362 * shell/Makefile.am:
5363 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5364 Doesn't do anything yet.
5366 * shell/ev-sidebar-thumbnails.c:
5367 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5370 * shell/ev-window.c: (update_action_sensitivity),
5371 (ev_window_setup_document), (ev_window_set_page_mode),
5372 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5373 view-swapping code a bit so we can have multiple views on a
5374 document. Add the multi-page view, though it can't be turned on
5377 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5379 * shell/ev-application.c: (ev_application_open):
5380 * shell/ev-view.c: (expose_bin_window):
5381 * shell/ev-window.c: (ev_window_open):
5383 Support eps and check document supports find
5384 before drawing highlightings in expose.
5386 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5388 * pixbuf/pixbuf-document.c:
5389 (pixbuf_document_thumbnails_get_dimensions),
5390 (pixbuf_document_document_thumbnails_iface_init):
5392 implement get_dimensions
5394 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5401 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5403 * shell/ev-view.c: (set_document_page):
5405 Scroll at the top of the page when changing page
5407 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5409 * shell/ev-view.c: (ev_view_motion_notify_event):
5411 Do not redraw unnecessarily
5413 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5415 * pdf/xpdf/pdf-document.cc:
5416 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5417 (expose_bin_window), (find_changed_cb):
5419 Yay! find works now... Now to find bugs...
5421 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5423 * backend/ev-document-find.c: (ev_document_find_base_init),
5424 (ev_document_find_changed):
5425 * backend/ev-document-find.h:
5426 * pdf/xpdf/pdf-document.cc:
5427 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5428 (expose_bin_window), (ev_view_init), (set_document_page),
5429 (ensure_rectangle_is_visible), (jump_to_find_result),
5430 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5431 (ev_view_find_next), (ev_view_find_previous):
5433 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5435 More work on find implementation, mostly there now
5437 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5439 * backend/ev-backend-marshalers.list:
5440 * backend/ev-document-find.c: (ev_document_find_base_init),
5441 (ev_document_find_cancel), (ev_document_find_page_has_results),
5442 (ev_document_find_get_n_results), (ev_document_find_get_result),
5443 (ev_document_find_get_progress), (ev_document_find_changed):
5444 * backend/ev-document-find.h:
5446 Enanche the find interface to be really able to do
5449 * pdf/xpdf/pdf-document.cc:
5453 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5454 (expose_bin_window), (ev_view_init),
5455 (ev_view_get_find_status_message), (find_changed_cb),
5456 (ev_view_set_document), (set_document_page):
5458 Adapt to the new interface. A few things are regressed sorry,
5459 I will finish it soon.
5461 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5463 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5464 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5465 ev_sidebar_thumbnails_parent_class variable, don't define another
5466 parent_class variable.
5468 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5469 (ev_page_action_class_init): ditto.
5471 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5472 (pixbuf_document_class_init): ditto.
5474 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5477 * .cvsignore: ignore various valgrind output files.
5479 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5481 * data/evince-ui.xml:
5482 * shell/Makefile.am:
5483 * shell/ev-history.c:
5484 * shell/ev-history.h:
5485 * shell/ev-navigation-action.c:
5486 * shell/ev-navigation-action.h:
5487 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5488 (ev_view_set_page), (ev_view_fit_width):
5490 * shell/ev-window.c: (update_action_sensitivity),
5491 (ev_window_setup_document), (register_custom_actions):
5493 Kill session history
5495 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5497 * shell/ev-window.c: (update_action_sensitivity):
5499 Fix inverted up/down buttons
5501 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5503 * shell/ev-sidebar-thumbnails.c
5504 (ev_sidebar_thumbnails_select_page): make sure the selected
5505 thumbnail stays visible.
5507 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5509 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5510 scrolled window for Federico.
5512 2005-01-26 Ole Laursen <olau@hardworking.dk>
5514 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5516 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5519 * pdf/splash/SplashFTFontEngine.cc:
5521 Fix CID fonts with freetype 2.1.9
5523 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5525 * TODO: added item for desktop icon thumbnailer
5527 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5529 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5530 unloaded docs when the title is accessed.
5532 * shell/ev-password-view.[hc]: New widget for displaying password
5535 * shell/ev-window.[ch]: Refactor password handling code to handle
5538 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5546 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5548 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5549 ignore page offset here, to make search results independent of it,
5551 * shell/ev-view.c (expose_bin_window): but take offsets into
5552 account here. Bug #164932
5554 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5555 scale at the right time. Bug #164996
5557 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5559 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5560 fix the problem. Now I just removed the Adobe font names and hope
5561 that the URW fonts are always in outline format. Bug #164934
5563 * shell/ev-window.c (update_window_title): empty titles are
5564 useless, use filename in that case too.
5566 * NEWS: Add some content.
5568 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5570 * TODO: added one more TODO item and a TODONE section :)
5572 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5574 * ps/ps-document.h: add page_[xy]_offset fields.
5576 * ps/ps-document.c (ps_document_set_page_offset)
5577 (ps_document_render): Keep offset in consideration in a few
5578 places. Bug #164752 "postscript documents are not centered in
5581 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5582 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5584 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5585 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5586 stub out missing methods for complete EvDocument implementation.
5587 Fixes segfaults with Save A Copy and Copy actions.
5589 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5590 (ps_document_document_iface_init): ditto.
5592 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5596 * data/evince.desktop.in:
5600 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5602 * shell/ev-view.c: (ev_view_button_press_event),
5603 (ev_view_motion_notify_event):
5605 Make selection work in any direction
5607 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5610 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5612 Use shorter labels for some of the toolbars items
5614 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5616 * pdf/xpdf/pdf-document.cc:
5618 Check the links info is initialized before
5619 using it. Should fix a crash on startup.
5621 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5623 * pixbuf/pixbuf-document.c
5624 (pixbuf_document_thumbnails_get_dimensions): force floating point
5625 division to calculate page_ratio. Fixes crash with landscape
5628 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5630 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5632 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5634 * shell/ev-view.c (set_document_page): unset has_selection when
5636 (set_document_page): handle paper size changes when the page
5637 changes (test with Free Culture, page 2).
5639 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5641 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5642 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5644 Use normal style color for the widget background and
5645 draw a black box around the page.
5647 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5649 * pdf/xpdf/pdf-document.cc:
5651 Keep offset in consideration in a few places
5653 * shell/ev-view.c: (expose_bin_window):
5655 Set the offsets so that the document is ever centered
5657 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5659 * TODO: Added TODO items and finished off the first todo item
5661 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5662 reflect current authors
5664 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5666 * pdf/xpdf/pdf-document.cc:
5667 * shell/ev-view.c: (ev_view_set_cursor),
5668 (ev_view_motion_notify_event), (document_changed_callback),
5669 (set_document_page):
5671 Show a wait cursor while the page is rendering
5673 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5675 * shell/ev-sidebar-thumbnails.c:
5676 (ev_sidebar_tree_selection_changed),
5677 (ev_sidebar_thumbnails_select_page):
5678 * shell/ev-sidebar-thumbnails.h:
5679 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5680 (ev_view_can_go_forward):
5681 * shell/ev-window.c: (ev_window_open_page),
5682 (ev_window_setup_document), (update_current_page),
5683 (view_page_changed_cb), (ev_window_init):
5684 * shell/ev-window.h:
5686 Ensure thumbnails selection, toolbar page control and
5687 current page are in sync.
5689 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5695 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5697 * backend/Makefile.am:
5698 * backend/ev-document-links.h:
5699 * backend/ev-document-security.c: (ev_document_security_get_type),
5700 (ev_document_security_has_document_security),
5701 (ev_document_security_set_password):
5702 * backend/ev-document-security.h:
5703 * backend/ev-document.c: (ev_document_error_quark):
5704 * backend/ev-document.h:
5706 * data/evince-password.glade:
5707 * pdf/xpdf/pdf-document.cc:
5708 * shell/Makefile.am:
5709 * shell/ev-password.c: (ev_password_set_bad_password_label),
5710 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5711 (ev_password_dialog_get_password),
5712 (ev_password_dialog_set_bad_pass):
5713 * shell/ev-password.h:
5714 * shell/ev-window.c: (ev_window_get_attribute),
5715 (ev_window_set_property), (update_action_sensitivity),
5716 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5717 (ev_window_setup_document), (ev_window_get_password),
5718 (ev_window_open), (ev_window_cmd_save_as),
5719 (using_postscript_printer), (ev_window_print),
5720 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5721 (update_fullscreen_popup), (ev_window_fullscreen),
5722 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5723 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5724 (menu_item_select_cb), (find_bar_search_changed_cb),
5725 (ev_window_dispose), (ev_window_init):
5727 Add initial support for password-supported dialogs. This could be
5728 a lot cooler, but it'll do for now.
5730 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5732 * pdf/xpdf/pdf-document.cc:
5733 * shell/ev-view.c: (status_message_from_link),
5734 (ev_view_set_status), (ev_view_set_cursor),
5735 (ev_view_motion_notify_event), (ev_view_init):
5736 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5738 Fix bugs in the links implementation and change cursor
5739 when hovering a link.
5741 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5743 * viewer/.cvsignore: added cvsignore file for viewer directory
5745 * TODO: created TODO document
5747 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5750 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5751 new functions to help with implementation of sensitivity code
5752 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5753 of all actions that might require it. Fixes a crash when you
5754 click on the Zoom actions in a window lacking a document.
5756 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5758 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5761 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5763 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5764 (pixbuf_document_document_iface_init):
5765 * ps/ps-document.c: (ps_document_get_link),
5766 (ps_document_document_iface_init):
5767 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5768 (status_message_from_link), (ev_view_set_status),
5769 (ev_view_set_find_status), (ev_view_motion_notify_event),
5770 (ev_view_button_release_event), (ev_view_set_property),
5771 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5772 (ev_view_get_find_status_message), (update_find_results),
5773 (ev_view_get_status), (ev_view_get_find_status):
5775 * shell/ev-window.c: (view_status_changed_cb),
5776 (view_find_status_changed_cb), (ev_window_init):
5778 View status message support, use it to show the links.
5781 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5783 * backend/ev-document.c: (ev_document_get_link):
5784 * backend/ev-document.h:
5785 * pdf/xpdf/pdf-document.cc:
5786 * shell/ev-application.c: (ev_application_open):
5787 * shell/ev-application.h:
5788 * shell/ev-sidebar-links.c: (selection_changed_cb):
5789 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5790 (ev_view_go_to_link):
5792 Add support for document links
5794 2005-01-13 Anders Carlsson <andersca@gnome.org>
5796 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5798 Set the spin button limits correctly.
5800 * shell/ev-sidebar-thumbnails.c:
5801 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5802 Support changing pages by clicking on the thumbnails.
5804 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5806 * pixbuf/pixbuf-document.c:
5807 (pixbuf_document_thumbnails_get_dimensions),
5808 (pixbuf_document_document_thumbnails_iface_init):
5810 implement get_dimensions
5812 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5814 * ps/ps-document.c: (ps_document_goto_page):
5816 Fix page switching on multipage documents
5818 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5820 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5822 check for NULL before assigning to width and height parameters
5824 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5826 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5827 (pixbuf_document_set_property), (pixbuf_document_get_property):
5829 implement get/set properties
5831 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5833 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5835 return NULL instead of "Unknown", letting the title get set to
5836 the filename when the pdf has no title.
5838 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5840 * ps/ps-document.c: (ps_document_get_page_count),
5841 (ps_document_goto_page):
5843 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5845 * shell/ev-history.c: (ev_history_get_property),
5846 (ev_history_set_property), (ev_history_class_init),
5847 (ev_history_add_page), (ev_history_set_current_index):
5848 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5849 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5850 (ev_navigation_action_finalize):
5851 * shell/ev-navigation-action.h:
5852 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5853 (ev_view_go_forward), (ev_view_get_find_status_message),
5854 (history_index_changed_cb), (ev_view_set_history):
5856 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5857 (update_current_page), (register_custom_actions):
5859 Implement history dropdowns
5861 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5863 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5864 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5865 (ev_view_go_forward):
5866 * shell/ev-window.c: (register_custom_actions):
5868 Fix several history bugs
5870 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5872 * configure.ac: Add «nb» to ALL_LINGUAS.
5874 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5876 * backend/Makefile.am:
5877 * backend/ev-bookmark.c:
5878 * backend/ev-bookmark.h:
5879 * backend/ev-document-bookmarks.c:
5880 * backend/ev-document-bookmarks.h:
5881 * backend/ev-document-links.c: (ev_document_links_get_type),
5882 (ev_document_links_has_document_links),
5883 (ev_document_links_begin_read), (ev_document_links_get_link),
5884 (ev_document_links_get_child), (ev_document_links_next),
5885 (ev_document_links_free_iter):
5886 * backend/ev-document-links.h:
5887 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5888 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5889 (ev_link_get_link_type), (ev_link_set_link_type),
5890 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5891 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5892 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5893 (ev_link_new_external):
5894 * backend/ev-link.h:
5895 * pdf/xpdf/pdf-document.cc:
5896 * shell/Makefile.am:
5897 * shell/ev-application.c: (ev_application_open_link):
5898 * shell/ev-application.h:
5899 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5900 (ev_history_get_link_nth):
5901 * shell/ev-history.h:
5902 * shell/ev-sidebar-bookmarks.c:
5903 * shell/ev-sidebar-bookmarks.h:
5904 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5905 (ev_sidebar_links_class_init), (selection_changed_cb),
5906 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5907 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5908 (do_one_iteration), (populate_links_idle),
5909 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5910 * shell/ev-sidebar-links.h:
5911 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5912 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5915 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5916 * shell/ev-window.h:
5918 Rename bookmark to link, and use "Index" for the sidebar panel.
5920 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5922 * shell/Makefile.am:
5923 * shell/ev-application.c: (ev_application_open_bookmark):
5924 * shell/ev-application.h:
5925 * shell/ev-history.c: (ev_history_init), (free_links_list),
5926 (ev_history_finalize), (ev_history_class_init),
5927 (ev_history_add_link), (ev_history_add_page),
5928 (ev_history_get_link_nth), (ev_history_get_n_links),
5929 (ev_history_get_current_index), (ev_history_set_current_index),
5931 * shell/ev-history.h:
5932 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5933 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5934 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5935 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5938 * shell/ev-window.c: (ev_window_open_bookmark),
5939 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5940 (goto_page_cb), (register_custom_actions):
5941 * shell/ev-window.h:
5943 Initial history implementation. Needs work.
5945 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5947 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5949 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5951 * cut-n-paste/recent-files/egg-recent-item.c:
5952 * cut-n-paste/recent-files/egg-recent-item.h:
5953 * cut-n-paste/recent-files/egg-recent-model.c:
5954 * cut-n-paste/recent-files/egg-recent-util.c:
5955 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5956 * cut-n-paste/recent-files/egg-recent-view.c:
5960 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5962 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5963 (fillGlyph, fillImageMask, drawImage):
5964 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5965 pdf/splash/SplashTypes.h:
5966 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5967 packed mode for Splash.
5969 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5970 RGB8 packed mode, eliminates the pixbuf data creation loop.
5972 * shell/ev-print-job.c (ev_print_job_finalize)
5973 (ev_print_job_set_property, ev_print_job_get_property)
5974 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5975 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5976 (print_closure_finalize, ev_print_job_print): implement
5977 printing (for backends with EvPsExporter)
5979 * shell/ev_print_job.h: update prototypes.
5981 * shell/ev-window.c (ev_window_print): unref print job after
5984 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5985 unless the document implements the EvDocumentFind interface.
5987 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5989 * configure.ac: Added ja to ALL_LINGUAS.
5991 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5993 * pdf/xpdf/pdf-document.cc:
5995 add a FIXME. We should probably not allocate
5996 a bookmark object every time
5998 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6000 * shell/ev-application.c: (ev_application_open),
6001 (ev_application_open_bookmark):
6002 * shell/ev-application.h:
6004 Add a way to open bookmarks
6006 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6007 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6008 (ev_bookmark_set_property), (ev_bookmark_class_init),
6009 (ev_bookmark_new_title), (ev_bookmark_new_link),
6010 (ev_bookmark_new_external):
6012 Support for external uris, better constructors.
6014 * backend/ev-bookmark.h:
6015 * pdf/xpdf/pdf-document.cc:
6016 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6018 Handle external uris
6020 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6022 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6023 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6025 Hook up bookmarks navigation
6027 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6029 * backend/Makefile.am:
6030 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6031 (ev_bookmark_get_title), (ev_bookmark_set_title),
6032 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6033 (ev_bookmark_get_page), (ev_bookmark_set_page),
6034 (ev_bookmark_get_property), (ev_bookmark_set_property),
6035 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6037 * backend/ev-bookmark.h:
6038 * backend/ev-document-bookmarks.c:
6039 (ev_document_bookmarks_get_bookmark):
6040 * backend/ev-document-bookmarks.h:
6041 * pdf/xpdf/pdf-document.cc:
6042 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6044 Add a bookmark object to the backend and use it instead of get_values
6046 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6048 * data/evince-ui.xml:
6050 Cleanup and add select all.
6052 * shell/ev-view.c: (ev_view_select_all),
6053 (ev_view_button_press_event):
6055 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6058 Clear selection on click.
6060 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6062 * shell/ev-sidebar-thumbnails.c
6063 (ev_sidebar_thumbnails_set_document): forgot to unref the
6066 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6068 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6069 at the visible page, not just linearly. This makes it look fast.
6071 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6073 * backend/ev-document-misc.c
6074 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6076 * backend/ev-document-thumbnails.h: New interface to get the size
6079 2005-01-06 Jeremy Katz <katzj@redhat.com>
6081 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6084 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6086 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6087 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6090 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6092 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6094 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6095 fonts. Should fix font problems on systems that have the base
6096 fonts in bitmap format. Reported by James Henstridge
6097 <james@jamesh.id.au>.
6099 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6102 * pdf/xpdf/GfxState.cc:
6104 Fix for CAN-2004-1125
6106 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6108 * shell/ev-view.c: (ev_view_copy):
6110 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6112 Implement Edit->Copy
6114 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6116 * backend/ev-document.c: (ev_document_get_text):
6117 * backend/ev-document.h:
6118 * pdf/xpdf/pdf-document.cc:
6119 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6120 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6121 (ev_view_update_primary_selection), (ev_view_button_press_event),
6122 (ev_view_motion_notify_event), (ev_view_button_release_event):
6124 Beginnings of clipboard support. Incomplete but primary sort
6127 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6129 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6130 (expose_bin_window):
6132 Nicer rubberband drawing, from GtkIconView.
6134 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6136 * backend/ev-document.c: (ev_document_save):
6137 * backend/ev-document.h:
6138 * data/evince-ui.xml:
6139 * pdf/xpdf/pdf-document.cc:
6140 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6142 Implement "Save a copy..." menu item
6144 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6146 * shell/ev-view.c: (ev_view_zoom):
6148 Queue a resize when zoom changes
6150 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6152 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6155 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6158 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6160 * pdf/xpdf/pdf-document.cc
6161 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6163 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6165 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6166 It's slow, but I'll speed it up next!
6168 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6170 * shell/main.c (load_files):
6172 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6173 from the command line and because it seems more appropriate.
6175 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6177 * data/evince-ui.xml:
6178 * shell/ev-window.c: (update_action_sensitivity),
6179 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6181 s/next page/page down
6182 s/previous page/page up
6184 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6186 * data/evince-ui.xml:
6188 Change the layout to match clarkbw design.
6190 * shell/Makefile.am:
6191 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6192 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6193 (ev_navigation_action_finalize),
6194 (ev_navigation_action_set_property),
6195 (ev_navigation_action_get_property),
6196 (ev_navigation_action_class_init):
6197 * shell/ev-navigation-action.h:
6199 Implement clarkbw toolbar navigation controls (incomplete)
6201 * shell/ev-page-action.c: (update_label), (update_spin),
6202 (value_changed_cb), (create_tool_item), (connect_proxy),
6203 (ev_page_action_init), (ev_page_action_finalize),
6204 (ev_page_action_set_property), (ev_page_action_get_property),
6205 (ev_page_action_set_current_page),
6206 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6207 * shell/ev-page-action.h:
6209 Implement a page switcher in the toolbar
6211 * shell/ev-view.c: (ev_view_scroll_view):
6212 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6213 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6214 (register_custom_actions), (ev_window_init):
6216 Change page on PageUp/Down.
6218 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6220 * pdf/xpdf/pdf-document.cc
6221 (pdf_document_thumbnails_get_thumbnail): initial stab at
6222 implementing thumbnail support for pdfs. It only does documents
6223 with precached pdfs now.
6225 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6227 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6228 thumbnail code into a time-based idle as well. Also, turn off the
6229 shadow temporarily as it's really slow.
6231 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6233 * backend/ev-document.c: (ev_document_class_init):
6234 * pdf/xpdf/pdf-document.cc:
6235 * shell/ev-window.c: (ev_window_open):
6237 Fix document title bugs and fallback to
6238 filename when not available.
6240 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6242 * backend/ev-document.c: (ev_document_get_type),
6243 (ev_document_class_init), (ev_document_load),
6244 (ev_document_get_title):
6245 * backend/ev-document.h:
6246 * pdf/xpdf/pdf-document.cc:
6247 * ps/ps-document.c: (ps_document_set_property),
6248 (ps_document_get_property), (ps_document_class_init),
6252 * shell/ev-window.c: (update_window_title), (ev_window_open),
6255 Initial support for document title. Not working yet.
6257 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6259 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6261 Grab focus on the view when clicking it
6263 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6265 * shell/ev-marshal.list:
6266 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6267 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6269 Add key bindings to the view. Now if the focus would work
6272 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6275 * backend/Makefile.am:
6278 * dvi/dvilib/Makefile.am:
6279 * pdf/xpdf/Makefile.am:
6285 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6287 * shell/ev-view.c: (ev_view_realize):
6289 Fix mouse wheel scrolling
6291 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6297 * ps/ps-document.c: (catchPipe), (ps_document_init),
6298 (ps_document_class_init), (ps_document_cleanup),
6299 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6300 (set_up_page), (close_pipe), (is_interpreter_ready),
6301 (interpreter_failed), (output), (input), (start_interpreter),
6302 (stop_interpreter), (file_length), (file_readable),
6303 (check_filecompressed), (check_pdf), (compute_xdpi),
6304 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6305 (ps_document_get_type), (ps_document_emit_error_msg),
6306 (document_load), (ps_document_next_page),
6307 (ps_document_get_current_page), (ps_document_get_page_count),
6308 (ps_document_goto_page), (ps_document_set_page_size),
6309 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6310 (ps_document_load), (ps_document_get_n_pages),
6311 (ps_document_set_page), (ps_document_get_page),
6312 (ps_document_widget_event), (ps_document_set_target),
6313 (ps_document_set_scale), (ps_document_set_page_offset),
6314 (ps_document_get_page_size), (ps_document_render),
6315 (ps_document_document_iface_init):
6318 * shell/ev-window.c: (ev_window_open):
6320 Rename GtkGS to PSDocument
6322 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6324 * ps/gtkgs.c: (gtk_gs_class_init):
6327 Some more leftover...
6329 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6331 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6332 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6333 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6336 Remove unused code and make a lot of stuff private
6338 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6340 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6341 (gtk_gs_defaults_changed):
6347 Cleanup headers dependencies
6349 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6354 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6356 * ps/gtkgs.c: (file_length), (file_readable),
6357 (check_filecompressed), (check_pdf), (gtk_gs_load),
6358 (gtk_gs_get_postscript):
6362 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6367 * ps/gtkgs.c: (gtk_gs_set_zoom):
6371 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6373 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6375 Ensure the page is rerendered when changing zoom
6377 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6379 * backend/ev-document.c: (ev_document_base_init),
6380 (ev_document_changed):
6381 * backend/ev-document.h:
6383 Add a changed event that is emitted when the page content
6384 changes. This is necessary to deal with the fact that
6385 in ps backend rendering happen asycrounously.
6386 This makes the ps backend mostly work.
6388 * pdf/xpdf/pdf-document.cc:
6392 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6393 (ps_document_set_target):
6397 * shell/ev-view.c: (document_changed_callback),
6398 (ev_view_set_document), (ev_view_set_page):
6400 Redraw on the changed signal
6402 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6404 * configure.ac: Added pt_BR to ALL_LINGUAS.
6406 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6408 * backend/ev-document-bookmarks.c:
6409 (ev_document_bookmarks_get_child): *
6410 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6411 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6412 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6413 (ev_sidebar_bookmarks_destroy),
6414 (ev_sidebar_bookmarks_class_init),
6415 (ev_sidebar_bookmarks_construct), (stack_data_free),
6416 (do_one_iteration), (populate_bookmarks_idle),
6417 (ev_sidebar_bookmarks_clear_document),
6418 (ev_sidebar_bookmarks_set_document): *
6419 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6420 (ev_sidebar_add_page),
6421 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6422 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6423 it displays both the topics and the page numbers.
6425 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6427 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6429 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6432 2004-12-23 Adam Weinberger <adamw@gnome.org>
6434 * configure.ac: Added en_CA to ALL_LINGUAS.
6436 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6438 * ChangeLog: replace bottom of this ChangeLog (merged history of
6439 ggv and gpdf; where all paths were wrong and most of the files are
6440 not even in this tree) with ChangeLog (from arch) of the shell
6443 2004-12-23 Havoc Pennington <hp@redhat.com>
6445 * shell/ev-window.c: hook up potentially-questionable "find
6446 results status text" feature - something involving the sidebar or
6447 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6448 might be better in the end.
6450 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6451 with corresponding signal when it should be updated
6453 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6455 2004-12-22 Havoc Pennington <hp@redhat.com>
6457 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6458 find stuff on other pages, sort of (only returns one result on
6459 invisible pages, to show they have results; updates full results
6460 for a page when you view it). Currently repaints the current page
6461 every time a new result is found on any page, which isn't so nice.
6463 2004-12-22 Havoc Pennington <hp@redhat.com>
6465 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6466 the document doesn't support find (better ideas?)
6467 (find_bar_search_changed_cb): handle missing document or document
6468 that doesn't support find
6470 * pdf/xpdf/pdf-document.cc: port to implement the new
6473 * backend/ev-document-find.c: create a new interface for searching
6475 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6477 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6479 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6482 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6483 EvPrintJob constructor arguments.
6485 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6486 for documents that can export PostScript (page by page).
6488 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6490 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6491 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6492 (pdf_document_ps_exporter_iface_init:
6493 Implement EvPSExporter.
6495 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6497 2004-12-22 Anders Carlsson <andersca@gnome.org>
6499 * backend/Makefile.am:
6500 * backend/ev-document-thumbnails.c:
6501 (ev_document_thumbnails_get_type),
6502 (ev_document_thumbnails_get_thumbnail):
6503 * backend/ev-document-thumbnails.h:
6504 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6505 (pixbuf_document_thumbnails_get_thumbnail),
6506 (pixbuf_document_document_thumbnails_iface_init):
6507 * shell/Makefile.am:
6508 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6509 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6510 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6511 * shell/ev-sidebar-thumbnails.h:
6512 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6513 (ev_sidebar_set_document):
6514 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6515 (create_shadow), (ev_pixbuf_add_shadow):
6517 Add thumbnail support.
6519 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6521 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6522 (using_postscript_printer): Set up a print dialog for "PostScript
6525 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6528 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6530 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6532 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6533 (ps_document_set_target), (ps_document_get_page_size),
6534 (ps_document_render):
6539 2004-12-22 Christian Rose <menthos@menthos.com>
6541 * configure.ac: Added "sv" to ALL_LINGUAS.
6543 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6545 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6546 document supports bookmarks.
6548 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6550 * ps/ggvutils.c: (ggv_file_readable):
6552 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6553 (gtk_gs_get_postscript):
6557 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6559 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6560 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6561 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6562 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6563 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6564 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6565 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6566 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6567 (gtk_gs_set_antialiasing), (ps_document_load),
6568 (ps_document_render):
6571 Another check point for the ps backend. Now I can get it to show
6574 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6576 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6577 document setting code.
6579 2004-12-22 Anders Carlsson <andersca@gnome.org>
6581 * shell/eggfindbar.c: (entry_activate_callback):
6582 Animate the next button when activate is pressed.
6584 2004-12-22 Anders Carlsson <andersca@gnome.org>
6586 * shell/ev-window.c: (ev_window_cmd_edit_find),
6587 (update_fullscreen_popup), (ev_window_fullscreen),
6588 (ev_window_unfullscreen), (ev_window_state_event_cb),
6589 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6590 Fix bugs in fullscreen code.
6592 2004-12-22 Anders Carlsson <andersca@gnome.org>
6596 * pixbuf/Makefile.am:
6597 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6598 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6599 (pixbuf_document_set_page), (pixbuf_document_get_page),
6600 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6601 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6602 (pixbuf_document_render), (pixbuf_document_begin_find),
6603 (pixbuf_document_end_find), (pixbuf_document_finalize),
6604 (pixbuf_document_class_init),
6605 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6606 * pixbuf/pixbuf-document.h:
6607 * shell/Makefile.am:
6608 * shell/ev-application.c: (ev_application_open):
6609 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6613 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6616 * dvi/dvilib/Makefile.am:
6618 * configure.ac: Auto*ify dvi and dvi/dvilib
6620 * dvi/Makefile: Remove from CVS
6622 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6625 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6627 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6629 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6632 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6633 (gtk_gs_value_adjustment_changed), (compute_size),
6634 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6635 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6636 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6637 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6638 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6639 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6640 (ps_document_load), (ps_document_get_n_pages),
6641 (ps_document_set_page), (ps_document_get_page),
6642 (ps_document_set_target), (ps_document_set_scale),
6643 (ps_document_set_page_offset), (ps_document_get_page_size),
6644 (ps_document_render), (ps_document_begin_find),
6645 (ps_document_end_find), (ps_document_document_iface_init):
6647 * shell/Makefile.am:
6648 * shell/ev-window.c: (ev_window_open):
6650 Some work to integrate gtkgs with EvDocument
6652 2004-12-22 Anders Carlsson <andersca@gnome.org>
6654 * shell/ev-window.c: (update_fullscreen_popup),
6655 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6656 (exit_fullscreen_button_clicked_cb),
6657 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6658 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6659 (ev_window_state_event_cb), (ev_window_init):
6660 Add fullscreen support from Epiphany.
6662 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6664 * data/ev-stock-zoom-fit-width.png: fit-width
6665 stock icon from gpdf.
6667 * shell/ev-stock-icons.[ch]: copied from gpdf.
6669 * shell/main.c: (main): init stock icons.
6671 * shell/ev-window.c: use the fit-width icon.
6673 * data/evince-ui.xml: add zooming toolbar items.
6675 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6678 (ev_view_best_fit), (ev_view_fit_width): because
6679 get_page_size() returns the scaled page size, we
6680 need to calculate the scale factor relative to
6681 the previous scale factor. Should really just
6682 add get_real_page_size().
6684 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6686 * shell/ev-view.[ch]:
6687 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6688 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6691 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6692 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6693 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6696 * pdf/xpdf/pdf-document.cc:
6697 (pdf_document_begin_find),
6698 (pdf_document_end_find): make static.
6700 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6702 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6704 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6705 names to fontconfig patterns.
6706 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6708 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6711 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6727 Import ggv backend. Not hooked up yet.
6729 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6731 * shell/main.c: (load_files), (main): load files
6732 from the command line.
6734 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6736 * configure.ac: don't require bonobo.
6738 * cut-n-paste/recent-files/*: kill bonobo recent
6741 * shell/ev-window.c:
6742 (ev_window_is_empty): upd.
6743 (unable_to_load), (ev_window_open): load backend
6744 based on the mime type.
6746 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6748 * backend/.cvsignore: ignore generated marshalers source.
6750 * shell/main.c (main): this is not epiphany.
6752 2004-12-22 Havoc Pennington <hp@redhat.com>
6754 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6755 (expose_bin_window): draw find highlights
6757 * shell/ev-window.c (find_bar_search_changed_cb): implement
6759 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6760 (pdf_document_end_find): implement this interface
6762 * backend/ev-document.c (ev_document_found): add this to emit
6765 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6767 * data/evince-ui.xml: Add a few more toolbar items.
6769 * shell/ev-window.c: Hook up page navigation toolbar
6772 * shell/ev-view.[ch]: add ev_view_set/get_page and
6773 a page-changed signal.
6775 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6776 Add ev_document_get_page().
6778 * shell/ev-window.c: Sensitize/desensitize navigation
6781 2004-12-21 Havoc Pennington <hp@redhat.com>
6783 * backend/ev-backend-marshal.c,
6784 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6785 marshaler-generator thingy. I'm sure there's a better way to do
6786 this in the modern world.
6788 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6789 end_find methods and "found" signal.
6791 * configure.ac: find glib-genmarshal
6793 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6795 * shell/ev-sidebar.c: Construct an actual sidebar.
6796 * shell/ev-sidebar-bookmarks.[ch]:
6797 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6799 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6801 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6804 * shell/ev-view.c: Track the size from the document.
6806 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6808 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6809 constructor assumes ownership of the string passed in.
6811 * shell/ev-window.c (ev_window_open): Destroy the error
6812 dialog once we've displayed it.
6814 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6816 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6817 a bit, it works! (sort of)
6819 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6820 Move to .cc since we need to use C++ in the implementation.
6822 * shell/dummy.cc: Add a CC file to force evince
6823 to be linked as a C++ program.
6825 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6827 * shell/ev-view.[ch]: Start of content-area widget.
6829 * shell/ev-window.c: Create a EvView, update it
6830 as we change documents.
6832 * shell/Makefile.am shell/ev-marshal.list: Add
6833 generated marshalers.
6835 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6837 * Makefile.am (SUBDIRS): move shell.
6839 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6841 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6842 .a to libtool convenience libraries.
6844 * shell/ev-window.c (ev_window_open): Hard code loading
6847 * backend/ev-document.h: Add a boolean return to load(),
6848 fix GError * to GError **.
6850 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6851 object for a PDF backend EvDocument.
6853 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6855 * dvi/*: New directory with the beginning of a .dvi backend.
6857 2004-12-21 Havoc Pennington <hp@redhat.com>
6859 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6860 previous/next instead of back/forward
6862 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6864 * backend/ev-document.[ch]: Fix a couple of problems so
6867 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6869 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6870 to backend/ directory, rename EvViewer to EvDocument.
6872 2004-12-21 Havoc Pennington <hp@redhat.com>
6874 * shell/ev-window.c: hook up the find bar widget; now we just need
6875 a document to find things in
6877 * shell/eggfindbar.c: a find bar widget
6879 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6881 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6883 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6885 * pdf/**: Import of xpdf code from gpdf.
6887 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6889 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6890 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6891 Fix FreeType includes.
6893 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6894 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6895 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6896 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6897 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6898 Include xpdfconfig.h
6900 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6902 * shell/ev-window.c (ev_window_dispose): dispose can be called
6905 2004-12-21 Havoc Pennington <hp@redhat.com>
6907 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6910 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6911 items; really they should be synced with the strings, etc. from
6912 current gpdf, but just getting the boring typing out of the way
6914 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6917 * shell/ev-application.c: (window_destroy_cb):
6918 * shell/ev-window.c:
6919 * shell/main.c: (main):
6921 Actually show the window...
6923 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6926 * shell/Makefile.am:
6927 * shell/ev-application.c: (ev_application_class_init):
6928 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6932 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6934 Import to gnome cvs.
6936 * Remove copies of gpdf and ggv trees.
6937 * Rip out all the recursive configure code.
6938 * Remove bonobo machinery.
6939 * viewer/*: GInterfaces that backends should/can implement.
6941 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6943 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6946 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6948 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6949 (ev_application_finalize, ev_application_class_init)
6950 (ev_application_init): use GType instance private data for priv.
6952 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6953 (ev_window_finalize, ev_window_class_init)
6954 (ev_window_init): ditto.
6956 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6958 * shell/ev-application.c (ev_application_new_window): make public
6959 (ev_application_show_initial_window): kill.
6961 * shell/ev-application.h: update prototypes.
6963 * shell/main.cc (main): inline ev_application_show_initial_window.
6965 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6967 * shell/ev-application.c (ev_application_new_window): impl.
6968 (ev_application_show_initial_window): use it.
6969 (is_window_empty, ev_application_get_empty_window): returns an
6970 existing empty window or a new one.
6971 (ev_application_open): from ev_window_cmd_file_open.
6973 * shell/ev-application.h: update prototypes
6975 * shell/ev-window.c (ev_window_is_empty): impl.
6976 (ev_window_open): make public.
6977 (ev_window_cmd_file_open): use ev_application_open
6979 * shell/ev-window.h: update prototypes, remove unused.
6981 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6983 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6984 move destroy handler out of here...
6986 * shell/ev-application.c, shell/ev-application.h: ...into this new
6987 class. Also handles initial window creation.
6989 * shell/main.cc (main): use EvApplication to create initial
6992 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6994 * Makefile.am (SUBDIRS): add cut-n-paste
6996 * cut-n-paste/Makefile.am: add
6998 * configure.ac: generate Makefiles in cut-n-paste
7000 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7002 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7003 (ev_window_class_init): install ev_window_dispose.
7005 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7007 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7008 char (gchar looks stupid).
7010 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7012 * po/de.po: updated German translation.
7014 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7016 * configure.ac: add more pkg-config library checks for gnome-vfs,
7019 * gpdf/configure.in: temporarily disable libpaper
7020 checks. Otherwise I'd have to add the checks for the shell, too.
7022 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7024 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7025 and * file filters to the file choose.
7027 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7029 * po/de.po: Updated German translation.
7031 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7033 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7035 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7037 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7039 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7040 (ev_window_init): implement those menuitems.
7042 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7044 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7046 * shell/ev-window.c (ev_window_init): use the toolbar.
7048 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7050 * shell/ev-window.c (ev_window_init): use menu translations
7052 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7054 * configure.ac: add "de" to ALL_LINGUAS.
7056 * po/de.po: add German translation.
7058 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7060 * Makefile.am (SUBDIRS): add po
7062 * configure.ac: check intltool, glib-gettext etc, generate
7065 * po, po/POTFILES.in, po/POTFILES.skip: new.
7067 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7069 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7070 already use (#ifdef ENABLE_NLS)
7072 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7073 pointer indirection thinko.
7075 * shell/main.c: include gi18n.h for bindtextdomain etc.
7077 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7079 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7080 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7081 tooltips for menu items in the statusbar.
7083 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7085 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7086 pkgdatadir drop UIDIR
7088 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7090 * data/evince-ui.xml: Add File->Open menu item
7092 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7093 chooser), hook it up in the ui manager.
7095 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7097 * shell/ev-window.c: fix Help->About tooltip.
7099 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7101 * configure.ac: set CFLAGS for libevprivate.
7103 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7104 definitions, factory etc.
7106 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7108 * shell/Makefile.am: link against libevprivate.a.
7110 * shell/ev-window.c (entries): add stock icon to Help->About.
7112 * shell/main.c (main): init stock icon code.
7114 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7116 * lib/recent-files: egg recent files code
7118 * lib/Makefile.am: add.
7120 * Makefile.am: add lib subdir.
7122 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7123 set CFLAGS for recent-files.
7125 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7127 * configure.ac: disable -ansi and -pedantic gcc flags. They
7128 disable POSIX stuff in stdio.h, but egg-recent uses them.
7130 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7132 * configure.ac: add --disable-deprecated flag (defaults to on in
7135 * shell/Makefile.am (INCLUDES): use it.
7137 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7139 * shell/main.c: add missing #include.
7141 * shell/ev-window.c: fix for pedantic gcc.
7142 (ev_window_cmd_help_about): split license into paragraphs for
7143 translators and pedantic compilers.
7145 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7147 * configure.ac: add more warning flags if compiling with gcc from
7148 cvs (or explicitly requested with --enable-more-warnings).
7150 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7152 * data/evince-ui.xml: add File and File->Close menu.
7154 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7155 (ev_window_destroy): quit after destroy.
7156 (ev_window_class_init): override GtkObject::destroy.
7157 (entries): install close_window callback.
7159 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7161 * Makefile.am (SUBDIRS): add data subdir.
7163 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7164 gtk+ 2.5.0 for GtkAboutDialog.
7166 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7169 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7171 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7173 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7175 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7177 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7179 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7181 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7183 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7185 * shell/*: Added shell directory boilerplate, build it.
7187 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7189 * configure.ac, Makefile.am: Added top-level configure.ac and