1 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
3 * shell/ev-view.c: (ev_view_can_find_next):
5 Take all pages in consideration, not just current one
7 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
9 * shell/ev-page-cache.c:
10 * shell/ev-page-cache.h:
11 * shell/ev-view.c: (ev_view_binding_activated),
12 (ev_view_next_page), (ev_view_previous_page),
13 (ev_sizing_mode_get_type):
15 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
16 (ev_window_cmd_go_next_page):
18 Move page next/previous functions from page chace to
19 view and change it to move by 2 page steps in dual mode.
21 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
23 * shell/ev-window.c: (update_sidebar_visibility),
24 (setup_sidebar_from_metadata), (ev_window_setup_document),
25 (setup_view_from_metadata):
27 Show the index by default when there is one
29 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
31 * shell/ev-window-title.c: (ev_window_title_set_document):
35 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
37 * shell/ev-view.c: (view_update_range_and_current_page):
39 Allow display of last odd page in dual view. Fix for 316347.
41 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
43 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
45 Make close button default. Fix for 316383.
47 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
49 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
51 Mark close button as default. Fix for 316381.
53 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
55 * backend/ev-link.c: (ev_link_class_init):
57 Allow negative doubles in left/top properties
59 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
63 Remove a bunch of strings that was used only
66 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
68 * shell/ev-window-title.c: (get_filename_from_uri),
69 (ev_window_title_set_document):
71 When title has a confusing extension, show also
72 the document filename inside ()
74 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
77 * shell/ev-window-title.c: (ev_window_title_new),
78 (ev_window_title_update), (ev_window_title_set_type),
79 (ev_window_title_set_document), (ev_window_title_free):
80 * shell/ev-window-title.h:
81 * shell/ev-window.c: (ev_window_setup_document),
82 (password_dialog_response), (ev_window_popup_password_dialog),
83 (ev_window_dispose), (ev_window_init):
85 Factor out and cleanup window title code
87 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
89 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
92 Make dialog transient so it doesnt block other windows
94 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
98 Fix pdf thumbnails rendering.
100 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
102 * shell/ev-window.c: (fullscreen_set_timeout):
104 Increase timeout to hide full screen popup. Bug
107 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
109 * data/evince.schemas.in:
110 * shell/ev-window.c: (update_action_sensitivity):
112 Allow the user to override document restrictions. Fix for bug
115 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
117 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
118 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
119 (ev_window_class_init): Fix multihead behaviour of fullscreen
120 toolbar popup. Fixes bug #315451.
122 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
125 * data/evince-password.glade:
126 * shell/ev-password.c: (ev_password_dialog_set_property),
127 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
128 (ev_password_dialog_init), (ev_password_set_bad_password_label),
129 (ev_password_dialog_entry_changed_cb),
130 (ev_password_dialog_entry_activated_cb),
131 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
132 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
133 (ev_password_dialog_set_bad_pass):
134 * shell/ev-password.h:
135 * shell/ev-window.c: (password_dialog_response),
136 (ev_window_popup_password_dialog):
138 Support for gnome-keyring for encrypted PDF's.
140 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
142 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
143 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
144 (ev_view_enter_notify_event), (ev_view_class_init):
146 More precise handling of enter_notify/leave_notify events
147 in EvView. Fix for bug 315470.
149 2005-09-08 Christopher Aillon <caillon@redhat.com>
151 * shell/ev-window.c: (fullscreen_timeout_cb),
152 (fullscreen_set_timeout), (fullscreen_clear_timeout),
155 leak fix: unref fullscreen_timeout_source before clearing it
157 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
159 * configure.ac, dvi/mdvi/Makefile.am:
161 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
163 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
165 * backend/ev-link.c: (ev_link_new_page_xyz):
167 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
169 Fix some bugs with xyz links, respect zoom
171 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
173 * shell/ev-window.c: (page_changed_cb),
174 (setup_document_from_metadata), (update_sidebar_visibility),
175 (setup_view_from_metadata), (ev_window_run_fullscreen),
176 (ev_window_stop_fullscreen), (ev_window_run_presentation),
177 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
178 (ev_window_dual_mode_changed_cb),
179 (ev_window_sidebar_current_page_changed_cb):
181 null check uri before setting and getting metadata
183 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
186 * properties/Makefile.am:
188 * thumbnailer/Makefile.am:
190 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
192 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
194 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
195 (selection_changed_callback):
196 * shell/ev-sidebar-links.h:
198 Add a signal for link activation.
200 * shell/ev-view.c: (ev_view_goto_link),
201 (ev_view_button_release_event):
203 * shell/ev-window.c: (sidebar_links_link_activated_cb),
206 Implement the signal so that we can handle all link types.
208 * shell/ev-page-cache.c:
210 Remove unused set_link function
212 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
214 * lib/ev-tooltip.c: (ev_tooltip_set_position):
216 Add some space from the cursor, hardcoded but I couldnt
219 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
223 Use mozilla style vs gtk style, way better for links.
225 * shell/ev-view.c: (ev_view_motion_notify_event),
226 (ev_view_destroy), (ev_view_init):
228 Deactive tooltip when the link hovered is changed.
230 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
232 * backend/ev-document.h:
233 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
234 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
235 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
236 (ev_link_new_page), (ev_link_new_page_xyz):
239 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
240 (go_to_link), (tip_from_link):
242 Implement xyz links, still not functional. Links are a total
243 mess, will need to refactor and bugfix a lot :(
245 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
247 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
249 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
251 * data/evince-ui.xml:
252 * data/evince.schemas.in:
254 * shell/ev-window.c: (update_chrome_visibility),
255 (password_dialog_response), (ev_window_load_job_cb),
256 (ev_window_xfer_job_cb), (ev_window_open_uri),
257 (ev_window_class_init), (set_chrome_actions), (load_chrome),
260 Remove the statusbar. This regress loading feedback, need to
261 check with Bryan what we want to do there...
263 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
265 * lib/ev-tooltip.c: (ev_tooltip_init):
267 Fix tooltip border and size handling
269 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
271 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
272 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
273 (ev_tooltip_timeout), (ev_tooltip_activate),
274 (ev_tooltip_deactivate):
276 * shell/ev-view.c: (ev_view_motion_notify_event):
278 Delay popup showing. Mirror gtk logic/times.
280 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
283 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
284 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
285 (ev_tooltip_set_text), (ev_tooltip_set_position):
288 Simple widget to show tooltips at a custom position
290 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
293 Use it for links. First go, needs work
295 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
297 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
298 HIG fixes. Use title capitalization for window title. Use 12
299 pixels of space between the dialog's vbox and action area.
301 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
303 * shell/ev-window.c: (file_open_dialog_response_cb),
304 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
305 (ev_window_cmd_save_as):
307 Make file pickers not modal and refactor code some
309 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
311 * shell/ev-sidebar.h:
312 * shell/ev-sidebar.c: (ev_sidebar_set_property),
313 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
314 (ev_sidebar_class_init), (ev_sidebar_select_page),
315 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
316 (ev_sidebar_set_page):
318 Add a current page property and allow to get/set it
320 * shell/ev-window.c: (setup_view_from_metadata),
321 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
323 Persist current sidebar page per document
325 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
327 * data/evince.schemas.in:
328 * shell/ev-window.c: (update_chrome_visibility),
329 (setup_document_from_metadata), (update_sidebar_visibility),
330 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
331 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
332 (ev_window_run_presentation), (ev_window_stop_presentation),
333 (ev_window_view_sidebar_cb),
334 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
335 (load_chrome), (ev_window_init):
337 Persist size/visibility of sidebar per document
339 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
341 * shell/ev-view.c (draw_loading_text): Draw loading text.
343 2005-09-02 Dan Damian <dand@gnome.ro>
345 * configure.in: Added "ro" to ALL_LINGUAS.
347 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
349 * shell/ev-view.c: (clear_caches):
351 ev_page_cache_get doesnt return a reference,
352 dont try to unref it.
354 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
356 * shell/main.c: (load_files_remote):
358 Fix timestamp parameter with dbus <= 0.33
360 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
362 * data/evince.schemas.in:
364 Add missing full stop
366 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
368 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
369 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
371 Plug some memory leaks
373 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
376 * lib/ev-debug.c: (trap_handler):
378 Check for execinfo.h and use it only if it exists.
379 Ported from Epiphany (bug #314776).
381 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
383 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
385 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
387 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
388 * po/id.po : Added Indonesian translation
390 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
393 * shell/ev-application.c: Last minute GTK-2.6 fixes.
394 * NEWS: Release 0.4.0
396 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
398 * configure.ac: catch another gtk+-2.8ism
399 * shell/main.c: Make work with gtk+-2.6
401 2005-08-25 Ryan Lortie <desrt@desrt.ca>
403 * shell/ev-application-service.xml: Add 'timestamp' argument to
404 ev_application_open_window and ev_application_open_uri methods.
406 * shell/ev-application.h: Add 'timestamp' argument to
407 ev_application_open_window, ev_application_open_uri,
408 and ev_application_open_uri_list functions.
410 * shell/ev-application.c (ev_application_open_window,
411 ev_application_open_uri, ev_application_open_uri_list): Change
412 functions that show/present windows to use a timestamp if one
415 * shell/ev-window.c (ev_window_cmd_file_open,
416 ev_window_cmd_recent_file_activate, drag_data_received_cb):
417 * shell/main.c (load_files): Modify calls to ev_application to
418 include GDK_CURRENT_TIME as timestamp.
420 * shell/main.c (load_files_remote): Obtain timestamp for client
421 instance from GDK and pass to server instance so new windows are
422 focused properly. Fix dbus_g_proxy_call() calls by including second
427 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
429 * shell/ev-window.c (ev_window_finalize): Check for
430 avail. EvWindows when quiting to handle the finalize better,
433 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
435 * properties/ev-properties-view.c:
437 Set textdomain to libglade. Fixes translation problem in property page.
439 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
441 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
443 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
444 * dvi/mdvi-lib/Makefile.am:
446 Fix rotation of thumbnails, ported to new API. Moved library
447 dependencies earlier, probably it will fix linkage problem.
449 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
451 * backend/ev-document-misc.c:
452 (ev_document_misc_get_thumbnail_frame):
453 * backend/ev-document-misc.h:
457 * shell/ev-sidebar-thumbnails.c: (add_range),
458 (ev_sidebar_thumbnails_set_loading_icon),
459 (ev_sidebar_thumbnails_refresh),
460 (ev_sidebar_thumbnails_set_document):
461 * shell/ev-sidebar-thumbnails.h:
462 * shell/ev-view.c: (ev_view_motion_notify_event),
463 (ev_view_set_property), (ev_view_get_property),
464 (ev_view_class_init), (ev_view_set_rotation):
465 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
466 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
468 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
469 Redo rotation (again). prepare for 0.4.0
471 2005-08-24 Kristian Høgsberg <krh@redhat.com>
473 * configure.ac: Bump poppler requirement to 0.4.1.
475 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
476 argument to poppler_page_render_selection() call.
478 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
480 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
481 (djvu_document_thumbnails_get_thumbnail):
482 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
483 (dvi_document_thumbnails_get_thumbnail):
484 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
485 (pixbuf_document_thumbnails_get_thumbnail):
486 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
488 Update rotation direction of backends to fit with pdf and ps.
490 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
492 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
493 * backend/ev-async-renderer.h:
494 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
495 (setup_page), (ps_document_get_page_size),
496 (ps_async_renderer_render_pixbuf):
498 * shell/ev-jobs.c: (ev_job_render_run):
500 Fix orientation in the postscript document
502 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
505 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
506 * shell/ev-view.c: (highlight_find_results):
508 Adapt to the new poppler rotation API. Fix text maps on landscape
511 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
513 * shell/ev-view.c (compute_new_selection_text): get the correct
514 region when selecting in modes other than continuous.
516 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
518 * shell/main.c (main): remove redundant g_warnings.
520 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
522 * shell/Makefile.am: Don't include autogenerated
523 file ev-application-service.h into distribution, since
524 it causes dbus crash. Fix for bugs 313724 and 313443.
526 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
528 * configure.ac: Fix sed expression for FreeBSD. Thanks
529 to Joe Marcus Clark <marcus@freebsd.org>
531 * shell/eggfindbar.c: (entry_activate_callback),
532 (entry_changed_callback), (egg_find_bar_init),
533 (egg_find_bar_set_search_string):
535 Made findbar buttons unsensitive if there is no text in
536 entry. Fix for the bug 313285.
538 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
540 * ps/ps-document.c: Use g_filename_display_name for displaying
541 filenames and revert string freeze breackage
543 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
552 Add ev-application-service.xml to extra dist
554 * shell/ev-view.c: (find_page_at_location):
556 Remove unused function (fix warning)
558 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
560 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
561 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
563 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
566 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
568 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
572 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
574 * configure.ac: Update script to get dbus version.
575 Fix for the bug #313443.
577 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
579 * shell/ev-window.c: (ev_window_cmd_escape):
581 Return focus back to view on escape. Fix for bug 313295.
583 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
585 * shell/ev-window.c: (update_window_title),
586 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
587 (ev_window_cmd_save_as):
589 Correct conversion from uri to displayable string. Fix for
592 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
594 * ps/ps-document.c: convert filename to utf8 when there is an error
595 loading document. Fixes #309915
597 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
601 We depend on poppler 0.4.0
603 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
606 * NEWS: Release 0.3.3.
607 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
609 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
611 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
612 add a couple missing mnemonics to menu items, use title
613 capitalization for menu items and window titles, and add
614 ellipsis to open menu item.
616 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
619 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
620 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
621 (ev_view_get_rotation):
623 * shell/ev-window.c: (setup_view_from_metadata),
624 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
625 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
628 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
630 * configure.ac: Added tr to ALL_LINGUAS
632 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
634 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
635 requires several clicks to find word. Thanks to
636 Colin Slater <kiltedtaco@gmail.com>.
638 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
640 * data/evince.desktop.in.in: Hide menu entry and
641 rename it to "Document Viewer". Fix for bug
644 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
646 * shell/ev-page-action.c (ev_page_action_class_init):
648 Point to the correct function in constructor of the
649 activate_label signal
651 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
653 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
654 * shell/ev-jobs.h: Make thread safe.
656 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
658 * shell/ev-view.c: (view_update_range_and_current_page):
659 Don't update page range if we are scrolling to some document
662 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
664 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
665 when getting max_page_width, fix drawing in dual mode.
667 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
669 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
670 getting the area for select_all.
672 2005-08-06 Kristian Høgsberg <krh@redhat.com>
674 * backend/ev-selection.c: (ev_selection_render_selection):
675 * backend/ev-selection.h:
677 * shell/ev-jobs.c: (ev_job_render_new):
679 * shell/ev-pixbuf-cache.c: (get_selection_colors),
680 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
681 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
682 (ev_view_class_init):
684 Change selection color on focus in and focus out events. Also,
685 poppler now uses GdkColor for specifying the selection colors, so
686 drop some awkward conversion code.
688 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
690 * configure.ac: Added Hebrew translation
692 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
695 * backend/ev-selection.c: (ev_selection_render_selection):
696 * backend/ev-selection.h:
698 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
701 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
702 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
703 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
704 (ev_pixbuf_cache_style_changed),
705 (ev_pixbuf_cache_get_selection_pixbuf),
706 (ev_pixbuf_cache_set_selection_list),
707 (ev_pixbuf_cache_get_selection_list):
708 * shell/ev-pixbuf-cache.h:
709 * shell/ev-utils.c: (ev_print_region_contents):
711 * shell/ev-view.c: (ev_view_queue_draw_page),
712 (selection_update_idle_cb), (ev_view_motion_notify_event),
713 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
714 (setup_caches), (ev_view_find_next), (merge_selection_region),
716 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
718 Clean up selection to be much smoother!
720 2005-08-05 Kristian Høgsberg <krh@redhat.com>
722 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
723 to poppler_page_render_selection().
725 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
727 * ps/ps-document.c: (save_page_list): Use
728 unzipped document when printing. Thanks to
729 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
732 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
734 * shell/ev-window.c: (update_action_sensitivity):
736 Disable print and save respect to lockdown gconf keys. Fix
739 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
742 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
743 (write_to_temp_file), (ev_file_set_contents):
745 * shell/ev-window.c: (save_print_config_to_file):
747 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
750 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
752 * shell/ev-window.c: (load_print_config_from_file),
753 (save_print_config_to_file), (ev_window_print_range):
755 Persist the print settings. Fixes bug #311578.
757 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
759 * djvu/djvu-document.c: (djvu_document_get_page_size),
760 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
761 (djvu_document_thumbnails_get_thumbnail):
762 * dvi/dvi-document.c: (dvi_document_get_page_size),
763 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
764 (dvi_document_thumbnails_get_dimensions),
765 (dvi_document_thumbnails_get_thumbnail):
766 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
767 (pixbuf_document_render_pixbuf),
768 (pixbuf_document_document_iface_init),
769 (pixbuf_document_thumbnails_get_thumbnail):
771 Update backends to make them build with new rotation system.
773 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
775 * help/C/figures/evince_start_window.png:
777 Update documentation image from Luca Ferretti <elle.uca@libero.it>
779 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
781 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
782 * shell/ev-pixbuf-cache.h:
783 * shell/ev-sidebar-thumbnails.c:
784 (ev_sidebar_thumbnails_get_property), (add_range),
785 (adjustment_changed_cb):
786 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
787 pixbuf cache. Make thumbnailing work again. Also, fix bug where
788 we were thumbnailing the entire docment on startup, slowing us
791 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
793 * shell/ev-page-cache.c: (ev_page_cache_new):
794 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
797 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
799 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
800 (ev_view_rotate_left):
802 Account rotation in doc_rect_to_view_rect.
803 Ensure rotation doesnt go out of bounds.
805 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
807 * shell/ev-page-cache.c: (ev_page_cache_get_size):
809 Correct and cleanup w/h swapping
811 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
813 * backend/ev-document-thumbnails.c:
814 (ev_document_thumbnails_get_thumbnail):
815 * backend/ev-document-thumbnails.h:
816 * backend/ev-document.c:
817 * backend/ev-document.h:
818 * backend/ev-render-context.c: (ev_render_context_new),
819 (ev_render_context_set_rotation):
820 * backend/ev-render-context.h:
822 * ps/ps-document.c: (ps_document_document_iface_init):
823 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
825 * shell/ev-page-cache.c: (build_height_to_page),
826 (ev_page_cache_new), (ev_page_cache_get_size),
827 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
828 (ev_page_cache_get_height_to_page):
829 * shell/ev-page-cache.h:
830 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
831 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
832 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
833 (ev_pixbuf_cache_get_selection_pixbuf):
834 * shell/ev-pixbuf-cache.h:
835 * shell/ev-print-job.c: (idle_print_handler):
836 * shell/ev-sidebar-thumbnails.c: (add_range):
837 * shell/ev-view.c: (view_update_range_and_current_page),
838 (get_page_y_offset), (get_page_extents),
839 (ev_view_size_request_continuous_dual_page),
840 (ev_view_size_request_continuous),
841 (ev_view_size_request_dual_page),
842 (ev_view_size_request_single_page), (draw_one_page),
843 (ev_view_set_rotation), (ev_view_rotate_right),
844 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
845 (ev_view_zoom_for_size_continuous_and_dual_page),
846 (ev_view_zoom_for_size_continuous),
847 (ev_view_zoom_for_size_dual_page),
848 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
849 (ev_view_select_all):
850 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
851 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
852 (tiff_document_document_iface_init),
853 (tiff_document_thumbnails_get_thumbnail):
855 Use rotation rather than orientation. It's easier and enough
858 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
860 * shell/ev-page-cache.c: (build_height_to_page),
861 (ev_page_cache_new), (ev_page_cache_get_size),
862 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
863 (ev_page_cache_get_height_to_page):
864 * shell/ev-page-cache.h:
865 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
866 (ev_view_size_request_continuous_dual_page),
867 (ev_view_size_request_continuous),
868 (ev_view_zoom_for_size_continuous_and_dual_page),
869 (ev_view_zoom_for_size_continuous):
871 Make the page cache aware of page orientation.
873 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
875 * backend/ev-document-thumbnails.c:
876 (ev_document_thumbnails_get_thumbnail):
877 * backend/ev-document-thumbnails.h:
878 * backend/ev-document.c:
879 * backend/ev-document.h:
880 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
881 * backend/ev-ps-exporter.h:
883 * ps/ps-document.c: (ps_document_document_iface_init),
884 (ps_document_ps_export_do_page):
885 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
887 * shell/ev-page-cache.c: (ev_page_cache_get_size),
889 * shell/ev-page-cache.h:
890 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
891 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
892 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
893 * shell/ev-pixbuf-cache.h:
894 * shell/ev-print-job.c: (idle_print_handler):
895 * shell/ev-sidebar-thumbnails.c: (add_range):
896 * shell/ev-view.c: (view_update_range_and_current_page),
897 (get_page_extents), (ev_view_size_request_dual_page),
898 (ev_view_size_request_single_page), (draw_one_page),
899 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
900 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
901 (ev_view_zoom_for_size_dual_page),
902 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
903 (ev_view_select_all):
904 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
905 * tiff/tiff-document.c: (tiff_document_get_page_size),
906 (tiff_document_get_orientation), (rotate_pixbuf),
907 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
908 (tiff_document_thumbnails_get_thumbnail),
909 (tiff_document_ps_export_do_page), (tiff_document_init):
911 Really make use of the orientation bit of the render context.
912 Use the render context in a few more places in the backend API.
913 This regress orientation, but now it's done right. Will try to
916 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
918 * shell/ev-view.c: (ensure_rectangle_is_visible):
920 Patch by Nickolay V. Shmyrev to fix find flickering
922 2005-07-27 Martin Kretzschmar <martink@gnome.org>
924 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
925 duplex parameters to ::begin.
927 * tiff/tiff-document.c (tiff_document_ps_export_begin):
928 * shell/ev-print-job.c (idle_print_handler):
929 * ps/ps-document.c (ps_document_ps_export_begin):
930 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
931 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
932 implementations. Poppler backend needs poppler cvs. Rest has
935 2005-07-25 Martin Kretzschmar <martink@gnome.org>
937 * shell/ev-window.c (using_pdf_printer): new function.
938 (ev_window_print_range): print a less techy message if someone
939 tries to print to PDF.
941 2005-07-25 Martin Kretzschmar <martink@gnome.org>
943 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
944 from "unknown font" string. Bug #311431
946 2005-07-24 Martin Kretzschmar <martink@gnome.org>
948 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
950 2005-07-24 Martin Kretzschmar <martink@gnome.org>
954 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
955 name for PopplerFontTypes
956 (pdf_document_fonts_fill_model): add font type to the detail column
958 * backend/ev-document-fonts.h: added
959 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
961 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
962 font name and font details, add a little markup.
963 (ev_properties_fonts_init): use the new cell data func, specify ypad
964 property for the cell renderer.
965 (ev_properties_fonts_set_document): add the details column.
967 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
969 * configure.ac: Added "pl" to ALL_LINGUAS.
971 2005-07-24 Danilo Šegan <danilo@gnome.org>
973 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
975 2005-07-23 Tommi Vainikainen <thv@iki.fi>
977 * help/ChangeLog: Started this for translations of manual.
978 * configure.ac, autogen.sh, .cvsignore: Migrated to
979 gnome-doc-utils. Patch in bug #311222.
981 2005-07-22 Martin Kretzschmar <martink@gnome.org>
983 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
984 #ifdef this away to fix an unused-function warning.
986 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
988 * configure.ac: Added 'gl' to ALL_LINGUAS.
990 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
992 * configure.ac: Added ne in ALL_LINGUAS
994 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
996 * shell/ev-view.c: (ev_view_leave_notify_event):
998 Clear status message when pointer leaves view. Fix for bug
1001 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1003 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1005 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1007 * shell/ev-view.c: (ev_view_leave_notify_event),
1008 (ev_view_class_init):
1010 Set cursor to normal then leaving view.
1012 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1016 Fix required djvulibre version.
1018 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1020 *configure.ac: Hindi (hi) language added
1022 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1024 *configure.ac: Punjabi (pa) Language added
1026 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1028 * data/evince-ui.xml, shell/ev-window.c:
1030 Add keypad accelerators for zooming. Fix for bug 308128.
1032 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1035 * backend/Makefile.am:
1036 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1038 * shell/ev-document-types.c: (ev_document_types_add_filters):
1040 Allow to enable/disable the pixbuf backend.
1041 Default to off for now. If we want it enabled we should
1042 really put mime types in the desktop, implement properties etc.
1044 * properties/evince-properties.c:
1046 Initialize error to NULL.
1047 Check error is not NULL before freeing.
1049 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1051 * shell/ev-window.c:
1053 Use F5 as presentation accell
1055 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1057 * shell/ev-window.c: (update_chrome_visibility),
1058 (ev_window_create_fullscreen_popup), (ev_window_init):
1060 Do not leak the fullscreen toolbar
1062 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1064 * shell/ev-window.c: (view_actions_focus_in_cb),
1065 (view_actions_focus_out_cb):
1067 These has a return value! Fix totally random focus
1068 issues we was seeing.
1070 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1072 * shell/main.c: (load_files_remote):
1074 Allow open more than one file
1076 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1078 * shell/main.c: (load_files_remote):
1080 Fix for dbus 0.33. bug #309975
1082 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1084 * properties/ev-properties-main.c: (ev_properties_get_pages):
1086 Actually return NULL for types we dont support
1088 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1094 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1096 * backend/ev-document-factory.c:
1097 (ev_document_factory_get_document):
1099 Do not try to create the object if type
1102 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1104 * ps/ps-document.c: (ps_document_dispose),
1105 (ps_async_renderer_render_pixbuf):
1108 Do not leak the target window
1110 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1112 * shell/ev-application.c: (ev_application_init):
1114 Let tbe check file existence for us.
1115 Add a comment about eggrecent mime filter.
1117 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1119 * data/evince-ui.xml:
1120 * shell/ev-application.c: (ev_application_shutdown),
1121 (ev_application_init), (ev_application_get_toolbars_model),
1122 (ev_application_get_recent_model),
1123 (ev_application_save_toolbars_model):
1124 * shell/ev-application.h:
1125 * shell/ev-window.c: (ev_window_add_recent),
1126 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1127 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1130 Use common toolbar and recent models for all windows.
1131 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1133 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1135 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1136 successfully check for gtk_icon_view_get_visible_range.
1138 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1143 Fix djvu and dvi backend build.
1145 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1147 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1148 (new_separator_pixbuf):
1152 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1154 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1156 HIGification of toolbar editor dialogue.
1158 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1161 * shell/Makefile.am:
1163 Ever build metadata manager since it's just
1164 disabled at runtime now.
1166 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1168 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1169 (ev_metadata_manager_get), (ev_metadata_manager_set):
1170 * shell/ev-metadata-manager.h:
1172 Add an _init functions that enabled metadata management
1175 * shell/ev-window.c: (page_changed_cb),
1176 (setup_document_from_metadata), (ev_window_setup_document),
1177 (setup_view_from_metadata), (ev_window_open_uri),
1178 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1179 (ev_window_run_presentation), (ev_window_stop_presentation),
1180 (save_sizing_mode), (ev_window_zoom_changed_cb),
1181 (ev_window_continuous_changed_cb),
1182 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1183 (window_configure_event_cb):
1185 Remove all ugly metadata define since we deal with it
1188 * shell/main.c: (load_files_remote), (main):
1190 Add support for dbus cvs head. Hopefully didnt break one
1191 of the other versions now!
1193 If we dont get a response from the dbus server just
1194 give up with it and not enable metadata.
1196 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1199 * backend/Makefile.am:
1201 * cut-n-paste/recent-files/Makefile.am:
1202 * cut-n-paste/toolbar-editor/Makefile.am:
1203 * cut-n-paste/zoom-control/Makefile.am:
1206 * pixbuf/Makefile.am:
1207 * properties/Makefile.am:
1209 * shell/Makefile.am:
1210 * thumbnailer/Makefile.am:
1213 Make frontends depend on just libev.
1214 Rework and group CFLAGS/LIBS definitions.
1217 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1221 do not unnecessarily save zoom
1224 * lib/ev-file-helpers.c: (ev_dot_dir):
1225 * shell/Makefile.am:
1230 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1234 Remove unnecessary dependencies
1236 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1238 * properties/Makefile.am:
1239 * thumbnailer/Makefile.am:
1242 Some more cleanups. Was really necessary
1243 but I probably introduced bugs, feel free
1246 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1248 * backend/Makefile.am:
1250 * cut-n-paste/recent-files/Makefile.am:
1251 * cut-n-paste/toolbar-editor/Makefile.am:
1252 * cut-n-paste/zoom-control/Makefile.am:
1255 * pixbuf/Makefile.am:
1256 * properties/Makefile.am:
1258 * shell/Makefile.am:
1259 * thumbnailer/Makefile.am:
1262 Use gnome-common macros when possible.
1263 Cleanup dependencies.
1264 Actually disable deprecated where possible.
1266 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1269 * backend/Makefile.am:
1270 * properties/Makefile.am:
1271 * shell/Makefile.am:
1272 * thumbnailer/Makefile.am:
1274 This should solve the circular dep without
1275 requiring dir reorg!
1277 * shell/ev-window.c: (setup_view_from_metadata):
1279 Never restore window size/position when the
1280 window is already visible.
1282 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1284 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1286 Return a boolean from timeout func. Fix ported from gedit.
1288 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1290 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1292 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1294 * shell/ev-document-types.c: set "All Documents" as default filter in
1297 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1299 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1300 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1301 (ev_metadata_manager_set_boolean): fix value/val thinko.
1303 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1305 * shell/ev-window.c: (setup_view_from_metadata),
1306 (window_state_event_cb), (window_configure_event_cb),
1309 Remember window position and maximized state
1311 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1315 Fix DBUS configure checks.
1317 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1318 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1319 (ev_metadata_manager_set_boolean):
1323 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1324 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1325 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1326 (ev_window_continuous_changed_cb),
1327 (ev_window_dual_mode_changed_cb), (ev_window_new):
1329 Fix the build without DBUS.
1331 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1333 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1334 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1335 (ev_metadata_manager_set_string),
1336 (ev_metadata_manager_set_boolean):
1337 * shell/ev-metadata-manager.h:
1339 Add support for some more types
1341 * shell/ev-view.c: (scroll_to_current_page),
1342 (ev_view_get_continuous), (ev_view_set_continuous),
1343 (ev_view_get_dual_page):
1345 * shell/ev-window.c: (page_changed_cb),
1346 (setup_document_from_metadata), (ev_window_setup_document),
1347 (setup_view_from_metadata), (ev_window_open_uri),
1348 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1349 (ev_window_run_presentation), (ev_window_stop_presentation),
1350 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1351 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1352 (ev_window_update_dual_page_action),
1353 (ev_window_continuous_changed_cb),
1354 (ev_window_dual_mode_changed_cb), (ev_window_init):
1356 Remember a bunch of view/document properties. Prolly some
1357 are still missing but it's getting interesting.
1359 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1361 * configure.ac: check if dbus-binding-tool is installed. Not the
1362 case on current Ubuntu breezy, it seems.
1364 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1366 * data/evince.desktop.in.in:
1368 Allow open uri lists and add TryExec field.
1370 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1374 Enable dbus when available, do not require a configure
1377 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1381 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1384 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1385 Marco Pesenti Gritti <mpg@redhat.com>
1387 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1389 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1390 functions to the format required by dbus
1392 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1393 errors. Use the RPC parameters in the expected way
1395 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1398 * properties/Makefile.am:
1399 * properties/ev-properties-main.c: (ev_properties_get_pages):
1401 Support all mime types
1403 * shell/Makefile.am:
1404 * thumbnailer/Makefile.am:
1405 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1406 (evince_thumbnail_pngenc_get):
1408 Use the document factory
1410 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1412 * backend/Makefile.am:
1413 * backend/ev-document-factory.c:
1414 (mime_type_supported_by_gdk_pixbuf),
1415 (ev_document_type_get_from_mime),
1416 (ev_document_factory_get_document),
1417 (ev_document_factory_get_backend),
1418 (ev_document_factory_get_mime_types),
1419 (ev_document_factory_get_all_mime_types):
1420 * backend/ev-document-factory.h:
1421 * shell/Makefile.am:
1422 * shell/ev-document-types.c: (get_document_from_uri),
1423 (ev_document_types_get_document),
1424 (file_filter_add_mime_list_and_free),
1425 (ev_document_types_add_filters):
1426 * shell/ev-document-types.h:
1427 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1428 * shell/ev-properties-dialog.c:
1429 (ev_properties_dialog_set_document):
1430 * shell/ev-window.c: (ev_window_cmd_file_open),
1431 (ev_window_cmd_save_as):
1432 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1434 Rework document types managing to avoid code duplication
1435 and actually abstract from backend implementations.
1436 Also provide a minimal factory api that can be used by
1437 thumbnailer/properties.
1439 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1441 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1443 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1446 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1448 * shell/ev-properties-dialog.c
1449 (ev_properties_dialog_set_document): only call
1450 ev_properties_fonts_set_document() if the document implements the
1453 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1456 * properties/Makefile.am:
1457 * properties/ev-properties-view.c:
1458 (ev_properties_view_register_type):
1459 * properties/ev-properties-view.h:
1460 * properties/ev-properties-main.h:
1462 Implement nautilus plugin for properties.
1463 Works only for pdf atm, I need to rework the
1464 document types stuff to get this to work
1467 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1469 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1470 (ev_properties_fonts_set_document): use
1471 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1473 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1475 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1477 (PlaceImage, tiff2ps_process_page): use
1478 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1481 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1483 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1484 (main): to call gnome_authentication_manager_init. Should fix
1487 * configure.ac: that requires libgnomeui 2.6.0.
1489 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1491 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1492 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1493 use the new tiff2ps interfaces
1495 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1496 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1498 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1499 structure instead of global variables. Remove use of static
1500 variables in functions.
1502 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1504 * shell/ev-page-action.c: unref the completion after setting it to the
1507 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1509 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1512 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1514 * shell/ev-window.c (update_action_sensitivity): disable
1515 File->Print if the document does not implement the ps exporter
1518 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1522 * data/evince-properties.glade:
1523 * properties/.cvsignore:
1524 * properties/Makefile.am:
1525 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1526 (ev_properties_view_class_init), (ev_properties_view_format_date),
1527 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1528 (ev_properties_view_init), (ev_properties_view_new):
1529 * properties/ev-properties-view.h:
1530 * shell/Makefile.am:
1531 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1532 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1533 (ev_properties_dialog_new):
1534 * shell/ev-properties-dialog.h:
1535 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1536 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1537 (update_progress_label), (job_fonts_finished_cb),
1538 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1539 * shell/ev-properties-fonts.h:
1540 * shell/ev-properties.c:
1541 * shell/ev-properties.h:
1542 * shell/ev-window.c: (ev_window_setup_document),
1543 (ev_window_cmd_file_properties):
1545 Split the properties pages in two different objects, depend
1546 only on the backend where possible, use widgets instead
1547 of gobject for the glade part, reimplement the dialog
1549 I need this to implement nautilus properties page.
1551 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1553 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1554 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1555 (tiff_document_document_ps_exporter_iface_init): implement the ps
1556 exporter interface for tiff documents
1558 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1559 libtiff to implement TIFF postscript export
1561 * tiff/tiff2ps.h: added a header file for external tiff2ps
1564 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1567 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1569 * shell/ev-view.c: (scroll_to_current_page),
1570 (ev_view_set_fullscreen), (ev_view_set_presentation):
1572 Scroll to current page when exit from presentation
1574 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1576 * shell/ev-window.c: (update_document_mode),
1577 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1578 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1579 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1581 Exit from fullscreen mode when switch to presentation. Fix for
1584 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1586 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1587 return NULL if the document does not implement the selection
1590 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1592 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1593 reported height by using the resolution aspect ratio
1594 (tiff_document_render_pixbuf): scale the pixbuf using the
1595 resolution aspect ratio
1597 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1601 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1602 <kiltedaco@gmail.com>
1604 * djvu/djvu-document.c: (djvu_document_get_orientation),
1605 (djvu_document_set_orientation), (djvu_document_get_page_size),
1606 (rotate_pixbuf), (djvu_document_render_pixbuf),
1607 (djvu_document_document_iface_init):
1608 * dvi/dvi-document.c: (dvi_document_get_orientation),
1609 (dvi_document_set_orientation), (dvi_document_get_page_size),
1610 (rotate_pixbuf), (dvi_document_render_pixbuf),
1611 (dvi_document_document_iface_init):
1613 Dvi and djvu backends are ported to new API
1615 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1617 * backend/ev-selection.c: (ev_selection_get_selection_region),
1618 (ev_selection_get_selection_map):
1619 * backend/ev-selection.h:
1620 * pdf/ev-poppler.cc:
1621 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1623 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1624 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1625 (ev_pixbuf_cache_get_text_mapping):
1626 * shell/ev-pixbuf-cache.h:
1627 * shell/ev-view.c: (location_in_text),
1628 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1629 support to EvView. Now we can see where we can select! Sweet!
1631 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1633 * shell/ev-view.c (ev_view_button_press_event): Fix
1634 event->y + view->scroll_x typo.
1636 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1638 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1639 sub-GdkPixbuf instead of passing dest_x and dest_y.
1641 * shell/ev-view.c: (view_point_to_doc_point),
1642 (view_rect_to_doc_rect), (ev_view_button_press_event),
1643 (ev_view_motion_notify_event), (compute_new_selection_rect),
1644 (gdk_rectangle_point_in), (compute_new_selection_text),
1645 (compute_selections): Update selection code to keep the selection
1646 around as two points and not as a normalized rectangle, and fix
1647 page level selection in two-column mode.
1649 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1651 * shell/ev-window.c: (window_configure_event_cb):
1655 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1657 * pdf/ev-poppler.cc:
1661 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1663 * shell/Makefile.am:
1664 * shell/ev-metadata-manager.c: (item_free),
1665 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1666 (parse_value), (parseItem), (load_values),
1667 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1668 (save_values), (save_item), (get_oldest), (resize_items),
1669 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1670 * shell/ev-metadata-manager.h:
1672 Metadata manager from gedit but modified to use GValue, so that
1673 we dont need to keep converting from strings.
1677 ENABLE_METADATA conditional, on when dbus is on
1679 * shell/ev-application.c: (ev_application_open_uri):
1681 Show the window after load so that we can initialize
1682 window size before it's showed.
1684 * shell/ev-window.c: (ev_window_setup_from_metadata),
1685 (ev_window_open_uri), (window_configure_event_cb),
1688 Save and load metadata information about window size.
1689 Not yet keeping states in account.
1691 * shell/main.c: (main):
1693 Shutdown metadata manager.
1695 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1697 * shell/ev-application-service.xml:
1699 * shell/Makefile.am:
1700 * shell/ev-application.c:
1701 * shell/ev-application.h:
1702 * shell/ev-window.c:
1703 * shell/ev-window.h:
1706 Add an optional dbus interface (--enable-dbus).
1707 Rework application code, mainly to be easier to
1709 Do not open multiple windows with the same document,
1712 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1714 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1715 pixbuf iff it exists.
1717 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1720 * backend/ev-render-context.[ch]:
1721 * backend/ev-selection.[ch]:
1723 Massive changes. We now support text selection of pdfs, and not
1724 just rectangular selection. This is pretty broken still, but I
1725 want to get something into CVS.
1727 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1729 * pdf/ev-poppler.cc:
1731 Fix for Bug 309080: crash on window close.
1733 * shell/ev-page-action.c: (page_changed_cb):
1735 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1736 jensgr@gmx.net (Jens Granseuer).
1738 2005-06-25 Marcel Telka <marcel@telka.sk>
1740 * configure.in (ALL_LINGUAS): Added sk.
1742 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1744 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1747 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1754 * cut-n-paste/recent-files/Makefile.am:
1758 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1760 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1761 (pixbuf_document_set_orientation), (rotate_pixbuf),
1762 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1763 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1765 Implement rotation and cleanup the code a bit.
1767 * tiff/tiff-document.c: (tiff_document_get_page_size),
1768 (tiff_document_get_orientation), (tiff_document_set_orientation),
1769 (rotate_pixbuf), (tiff_document_render_pixbuf),
1770 (tiff_document_document_iface_init), (tiff_document_init):
1772 Implement rotation. Was the quicker solution for the release
1773 but we really need to share this code in the shell.
1775 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1777 * pdf/ev-poppler.cc:
1779 Enable rotation, require poppler cvs. Fix a leak.
1781 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1783 * shell/ev-window.c: (update_action_sensitivity):
1785 Make properties unsensitive if document backend doesn't provide
1788 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1790 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1791 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1792 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1793 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1794 (bitmap_flip_rotate_counter_clockwise):
1795 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1796 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1798 * dvi/mdvi-lib/common.h:
1799 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1800 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1801 (opendvi), (mdvi_reload), (mdvi_init_context),
1802 (mdvi_destroy_context), (mdvi_dopage), (special):
1803 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1804 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1805 (file_hash_free), (register_encoding), (parse_spec),
1806 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1807 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1808 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1809 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1810 (mdvi_register_font_type), (mdvi_unregister_font_type),
1811 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1812 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1813 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1814 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1815 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1816 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1817 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1818 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1819 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1820 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1821 (mdvi_unregister_special), (mdvi_flush_specials):
1822 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1824 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1825 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1826 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1827 (free_font_metrics), (flush_font_metrics):
1828 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1830 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1831 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1832 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1833 (dstring_insert), (dstring_new), (dstring_reset):
1834 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1836 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1837 avoid conflict with libtool on FC4
1839 * shell/ev-window.c: (ev_window_cmd_help_about):
1841 Update copyright year. Fix for bug 308828.
1843 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1845 * shell/ev-view.c: (add_scroll_binding_keypad),
1846 (ev_view_binding_activated), (ev_view_class_init),
1847 (on_adjustment_value_changed):
1849 Bug 170874: Arrow keys switch pages in presentation mode
1851 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1853 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1855 Fix for Bug 308265: Sidebar dissappears coming out of
1858 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1860 * shell/ev-application.c: (ev_application_open):
1861 * shell/ev-document-types.c: (ev_document_types_add_filters),
1862 (ev_document_types_add_filters_for_type):
1863 * shell/ev-document-types.h:
1864 * shell/ev-window.c: (ev_window_cmd_save_as):
1866 Suggest basename as template when saving, provide filters
1867 for save dialog. It's bug 308402
1869 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1871 * pdf/ev-poppler.cc:
1872 * shell/ev-sidebar-links.c: (job_finished_callback):
1873 * shell/ev-view.c: (update_find_status_message):
1877 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1879 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1880 (egg_recent_view_uimanager_set_list):
1882 Fix buglet in !show_numbers case.
1884 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1886 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1887 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1889 Use pango ellipsisation.
1891 * pdf/ev-poppler.cc:
1893 Fix refcount leak, from nsh.
1895 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1897 * cut-n-paste/recent-files/Makefile.am:
1898 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1899 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1901 Removed EggRecentViewGtk
1903 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1904 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1905 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1906 (ev_window_setup_recent):
1908 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1911 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1913 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1914 (egg_recent_view_gtk_finalize):
1918 * cut-n-paste/toolbar-editor/Makefile.am:
1920 Fix location of cursor icon.
1922 * pdf/ev-poppler.cc:
1923 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1924 (display_completion_text), (match_completion):
1925 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1926 (selection_changed_callback), (create_loading_model),
1927 (print_section_cb), (links_page_num_func),
1928 (update_page_callback_foreach):
1929 * shell/ev-window.c: (ev_window_dispose):
1931 Small memory fixes. Links model now store objects instead
1932 of pointers to improve memory management.
1934 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1936 * shell/ev-window.c: (zoom_control_changed_cb):
1938 Fix update of zoom control (bug 308268).
1940 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1942 * shell/ev-properties.c (set_property): escape the text correctly.
1943 Handles non-UTF-8 properties and escaped properties. Also, sets
1944 the text to "<i>None</i>" if the property isn't set.
1946 * data/evince-properties.glade: Change the label to be ellipsized,
1947 and give it a minimum size.
1949 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1951 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1952 * shell/ev-sidebar-links.c: (create_loading_model):
1953 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1954 * shell/ev-view.c: (ev_view_set_document):
1955 * shell/ev-window.c: (ev_window_dispose):
1957 Various small fixes, mostly memory leaks. Thanks to valgrind.
1959 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1961 * ps/ps-document.c: remove the locale.h include again ;-). And
1962 kill the (bogus) setlocale/savelocale business.
1964 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1968 Include locale.h to fix build
1970 * shell/ev-sidebar.c:
1972 Remove unnecessary includes
1974 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1976 * dvi/dvi-document.c: (dvi_document_load):
1977 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1980 Check for incorrect dvi files. Fix parsing dvi on AMD64
1981 platform. Thanks to tester@tester.ca (Olivier Crete).
1983 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1985 * shell/ev-page-action.c: (match_selected_cb),
1986 (display_completion_text), (match_completion), (update_model):
1987 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1988 (expand_open_links):
1989 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1990 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1991 (ev_sidebar_set_document):
1992 * shell/ev-window.c: (ev_window_xfer_job_cb),
1993 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1995 Fixed lot's of memory leaks, for example, memory leak on reload,
1996 described in bug 307793.
1998 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2000 * pdf/ev-poppler.cc:
2001 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2002 (update_visible_range), (adjustment_changed_cb),
2003 (ev_sidebar_thumbnails_fill_model),
2004 (ev_sidebar_thumbnails_refresh),
2005 (ev_sidebar_tree_selection_changed),
2006 (ev_sidebar_icon_selection_changed),
2007 (ev_sidebar_thumbnails_use_icon_view),
2008 (ev_sidebar_thumbnails_set_document):
2009 * shell/ev-sidebar-thumbnails.h:
2010 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2011 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2013 Refresh thumbnails when changing orientation. Not fully
2014 working yet becuase of a sidebar bug.
2016 Set page orientation to poppler page everywhere. This sucks
2017 really need to fix poppler.
2019 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2021 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2022 (egg_recent_view_gtk_new_menu_item),
2023 (egg_recent_view_gtk_set_property),
2024 (egg_recent_view_gtk_get_property),
2025 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2026 (egg_recent_view_gtk_set_tooltip_func),
2027 (egg_recent_view_gtk_set_label_width),
2028 (egg_recent_view_gtk_get_label_width):
2029 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2031 Sync with libegg (ellipsize labels)
2033 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2035 * data/evince-ui.xml:
2036 * shell/ev-window.c: (ev_window_cmd_go_forward),
2037 (ev_window_cmd_go_backward):
2039 Shift + PageUp moves 10 Pages. Fix for 306125
2041 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2043 * pdf/ev-poppler.cc:
2045 Add a flag to check if orientation has been overriden
2047 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2049 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2052 * ps/ps.h: add creator field to document.
2054 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2057 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2059 * data/evince-properties.glade:
2060 * shell/ev-properties.c: (ev_properties_set_document):
2062 s/PDF Version/Format
2064 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2066 * shell/ev-properties.c: (ev_properties_set_document):
2068 Remove unnecessary translations
2070 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2072 * cut-n-paste/toolbar-editor/Makefile.am:
2074 Correct library name
2076 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2079 * cut-n-paste/recent-files/egg-recent-model.c:
2080 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2081 (egg_recent_model_unlock_file):
2082 * cut-n-paste/recent-files/egg-recent-util.c:
2083 (egg_recent_util_get_unique_id):
2084 * cut-n-paste/recent-files/update-from-egg.sh:
2085 * cut-n-paste/toolbar-editor/Makefile.am:
2086 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2087 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2088 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2089 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2090 (egg_toolbars_model_get_type):
2091 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2093 Better makefile for toolbar editor and update everything
2096 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2098 * shell/ev-window.c: (update_document_mode):
2100 Prefer presentation mode when the document
2103 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2105 * data/evince-ui.xml:
2106 * shell/ev-window.c:
2108 Add control-equal for zooming
2110 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2112 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2114 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2116 * backend/ev-document.c: (ev_document_get_orientation):
2117 * backend/ev-document.h:
2118 * pdf/ev-poppler.cc:
2119 * ps/ps-document.c: (ps_document_get_orientation),
2120 (ps_document_set_orientation), (ps_document_document_iface_init):
2122 Add a get_orientation api. Improve set_orientation.
2124 * data/evince-ui.xml:
2125 * shell/ev-view.c: (ev_view_set_orientation),
2126 (ev_view_rotate_right), (ev_view_rotate_left):
2128 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2129 (ev_window_cmd_edit_rotate_right):
2131 Better ui for changing document orientation
2133 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2135 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2136 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2137 * shell/ev-sidebar-links.h:
2138 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2139 (ev_sidebar_page_iface_init):
2140 * shell/ev-sidebar-page.h:
2141 * shell/ev-sidebar-thumbnails.c:
2142 (ev_sidebar_thumbnails_get_property),
2143 (ev_sidebar_thumbnails_class_init),
2144 (ev_sidebar_thumbnails_set_document):
2145 * shell/ev-sidebar-thumbnails.h:
2146 * shell/ev-view.c: (ev_view_motion_notify_event):
2147 * shell/ev-window.c: (update_chrome_visibility),
2148 (ev_window_cmd_focus_page_selector),
2149 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2150 (sidebar_page_main_widget_update_cb), (ev_window_init):
2152 Autoraise toolbar on GoToPage binding and fix bindings in
2153 EvSidebarThumbnails page.
2155 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2157 * shell/ev-properties.c: (update_progress_label):
2159 Hide the progress label when finished; bug #307697.
2161 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2163 * pdf/ev-poppler.cc:
2165 Enable is_open for links, you will need poppler cvs
2167 * shell/ev-properties.c: (job_fonts_finished_cb):
2169 Get a lock on the document when filling the tree view
2171 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2173 * backend/ev-document-links.h:
2174 * pdf/ev-poppler.cc:
2175 * shell/ev-sidebar-links.c: (create_loading_model),
2176 (expand_open_links), (job_finished_callback):
2178 Expand links when specified by the document.
2179 Depend on a poppler api (defined out for now)
2181 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2183 * shell/ev-properties.c: (ev_properties_dispose),
2184 (ev_properties_class_init), (dialog_destroy_cb),
2185 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2186 (ev_properties_set_document), (ev_properties_new),
2187 (ev_properties_show):
2188 * shell/ev-properties.h:
2190 Make it an object, cleanup the code, api to show it as transient
2191 and to set the document.
2193 * shell/ev-window.c: (ev_window_setup_document),
2194 (ev_window_cmd_file_properties):
2196 Adapt to EvProperties changes, do not show multiple
2197 times, update it when document changes.
2199 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2202 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2203 (ps_document_set_orientation), (ps_document_document_iface_init):
2206 Implement orientation here too
2208 * shell/ev-properties.c: (ev_properties_new):
2209 * data/evince-properties.glade:
2211 Hide the fonts page for backends that doesnt
2214 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2216 * backend/ev-document.c: (ev_document_set_orientation):
2217 * backend/ev-document.h:
2218 * pdf/ev-poppler.cc:
2220 Add orientation api. Currently poppler api is not optimal,
2221 we need to set orientation every time we _get a page.
2222 I will try to fix that at some point.
2224 * data/evince-ui.xml:
2225 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2226 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2228 Add orientation menu items
2230 * shell/ev-page-cache.c: (ev_page_cache_clear):
2231 * shell/ev-page-cache.h:
2233 Add api to clear the cache
2235 * shell/ev-view.c: (setup_caches), (clear_caches),
2236 (ev_view_set_document), (ev_view_zoom_out),
2237 (ev_view_set_orientation):
2240 Implement orientation changing
2242 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2244 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2245 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2246 * backend/ev-document-fonts.h:
2248 Separate scan and fill so that we can incrementally fill from
2249 the main thread. Add a progress api.
2251 * data/evince-properties.glade:
2252 * pdf/ev-poppler.cc:
2253 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2255 * shell/ev-properties.c: (update_progress_label),
2256 (job_fonts_finished_cb), (setup_fonts_view):
2258 Incrementally feel the list and show the progress
2259 percentage in a label like acrobat does.
2261 You are going to need poppler cvs
2263 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2265 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2266 * backend/ev-document-fonts.h:
2267 * pdf/ev-poppler.cc:
2269 Make fonts model fill incrementally.
2271 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2272 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2273 (ev_job_queue_remove_job):
2274 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2275 (ev_job_fonts_new), (ev_job_fonts_run):
2278 New job for fonts scanning
2280 * shell/ev-properties.c: (job_fonts_finished_cb),
2281 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2282 * shell/ev-properties.h:
2283 * shell/ev-window.c: (ev_window_cmd_file_properties):
2285 Incrementally feel the treeview using the new job. Show Loading...
2286 message until scanning is completed.
2288 Hopefully I didnt break the build without the poppler patch.
2290 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2292 * shell/ev-application.c: (ev_application_open):
2293 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2294 (ev_document_type_get_type), (ev_document_type_lookup):
2295 * shell/ev-document-types.h:
2296 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2297 * shell/ev-job-xfer.h:
2298 * shell/ev-window.c: (ev_window_clear_local_uri),
2299 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2300 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2301 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2303 Transfer remote documents to tmp directory to display them later.
2305 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2307 * backend/ev-document-info.h:
2308 * shell/ev-properties.c: (ev_properties_new):
2310 s/GTime*/GTime. Not sure why we was using a pointer
2313 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2315 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2316 situations. That situation is that you're using GTK+-HEAD with
2317 the patch at #306726 is applied, and you have a document with <
2318 1500 pages in it. It's not quite as uniformly nice as the
2319 TreeView, but should be better in the long run.
2321 I'm pretty sure I guarded against breaking compilation with
2322 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2325 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2326 widget yet, so I commented that code out
2327 enable_view_actions_for_widget() for now. Need to figure this
2330 * shell/ev-page-action.c (match_selected_cb): emit the right
2331 signals. Our cool C-l completion now works.
2333 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2335 * backend/Makefile.am:
2336 * backend/ev-document-fonts.c:
2337 * backend/ev-document-links.c:
2338 * backend/ev-document.c: (ev_document_load):
2339 * backend/ev-document.h:
2340 * backend/ev-job-queue.c:
2341 * backend/ev-job-queue.h:
2342 * backend/ev-jobs.c:
2343 * backend/ev-jobs.h:
2344 * backend/ev-page-cache.c:
2345 * backend/ev-page-cache.h:
2347 EvPageCache and EvJobs are moved to shell.
2349 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2351 * lib/ev-file-helpers.h:
2353 New helper to work with temporary files
2355 * shell/Makefile.am:
2356 * shell/ev-application.c: (ev_application_open):
2357 * shell/ev-application.h:
2358 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2359 (remove_job_from_async_queue), (add_job_to_async_queue),
2360 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2361 (handle_job), (search_for_jobs_unlocked),
2362 (no_jobs_available_unlocked), (ev_render_thread),
2363 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2364 (ev_job_queue_add_job), (move_job_async), (move_job),
2365 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2366 * shell/ev-job-queue.h:
2367 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2368 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2369 * shell/ev-job-xfer.h:
2370 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2371 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2372 (ev_job_links_class_init), (ev_job_render_init),
2373 (ev_job_render_dispose), (ev_job_render_class_init),
2374 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2375 (ev_job_thumbnail_class_init), (ev_job_load_init),
2376 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2377 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2378 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2379 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2381 * shell/ev-page-action.c: (ev_page_action_set_document):
2382 * shell/ev-page-cache.c: (ev_page_cache_init),
2383 (ev_page_cache_class_init), (ev_page_cache_finalize),
2384 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2385 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2386 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2387 (ev_page_cache_get_title), (ev_page_cache_get_size),
2388 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2389 (ev_page_cache_get_height_to_page),
2390 (ev_page_cache_get_max_label_chars),
2391 (ev_page_cache_get_page_label),
2392 (ev_page_cache_has_nonnumeric_page_labels),
2393 (ev_page_cache_get_info), (ev_page_cache_next_page),
2394 (ev_page_cache_prev_page), (ev_page_cache_get):
2395 * shell/ev-page-cache.h:
2396 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2397 (ev_pixbuf_cache_clear_job_sizes),
2398 (ev_pixbuf_cache_add_jobs_if_needed),
2399 (ev_pixbuf_cache_set_page_range):
2400 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2401 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2402 * shell/ev-sidebar-thumbnails.c:
2403 (ev_sidebar_tree_selection_changed),
2404 (ev_sidebar_thumbnails_set_document):
2405 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2406 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2407 (ev_statusbar_get_context_id), (ev_statusbar_push),
2408 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2409 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2410 (ev_statusbar_set_progress):
2411 * shell/ev-statusbar.h:
2412 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2413 (ev_view_find_previous):
2414 * shell/ev-window.c: (ev_window_is_empty),
2415 (ev_window_setup_document), (password_dialog_response),
2416 (ev_window_clear_jobs), (ev_window_load_job_cb),
2417 (ev_window_xfer_job_cb), (ev_window_open_uri),
2418 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2419 (ev_window_print), (ev_window_print_range),
2420 (ev_window_state_event), (ev_window_cmd_view_reload),
2421 (menu_item_select_cb), (menu_item_deselect_cb),
2422 (view_status_changed_cb), (ev_window_dispose),
2423 (drag_data_received_cb), (ev_window_init):
2424 * shell/ev-window.h:
2425 * shell/main.c: (load_files):
2427 New statusbar to show progress on idle. Two new jobs -
2428 xfer job and load job to load document in background. And update
2429 of page_cache clients to new location of code.
2431 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2433 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2434 selection in open dialog. It also remembers the last visited directory
2435 in the current session.
2437 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2439 * shell/ev-properties.c: (ev_properties_new):
2440 * shell/ev-properties.h:
2441 * shell/ev-window.c: (ev_window_cmd_file_properties):
2443 Get document info from page cache instead of document itself.
2444 This should fix crash related to race conditions described in
2447 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2449 * ps/ps-document.c: (ps_document_init),
2450 (send_ps), (get_page_box), (output), (catchPipe), (input),
2451 (stop_interpreter), (file_length), (file_readable),
2452 (check_filecompressedb), (ps_document_enable_interpreter),
2453 (document_load), (ps_async_renderer_render_pixbuf):
2456 Big cleanup of the ps code
2458 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2460 * backend/Makefile.am:
2461 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2462 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2463 * backend/ev-async-renderer.h:
2465 Add an async renderer interface (method + callback) which
2466 is useful for backends like ps.
2468 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2469 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2470 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2471 (ev_job_queue_add_job), (move_job_async), (move_job),
2472 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2474 Add queues for async renderer, these are executed on the
2477 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2478 (ev_job_render_run):
2479 * backend/ev-jobs.h:
2481 If the backend support async renderer interface use it.
2483 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2484 (setup_pixmap), (ps_document_get_type),
2485 (ps_async_renderer_render_pixbuf),
2486 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2488 Implement async renderer interface.
2490 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2492 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2494 Cleanup links job on exit.
2496 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2498 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2499 (drag_data_get_cb), (drag_data_received_cb):
2500 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2501 (drag_data_get_cb), (parse_item_list),
2502 (egg_toolbar_editor_load_actions):
2503 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2504 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2505 (parse_item_list), (parse_toolbars):
2506 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2507 (dvi_pixbuf_put_pixel):
2509 Fix gcc 4.0 warnings
2511 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2513 * ps/ps-document.c: (start_interpreter):
2515 Fix warning when loading ps
2517 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2519 * ps/ps-document.c: (output):
2521 Fix crash when priting gs error messages.
2523 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2525 * backend/ev-page-cache.c: (_ev_page_cache_new):
2526 * backend/ev-page-cache.h:
2528 Use a const to return title so that we dont double
2529 free it. Small cleanup and fix a leak.
2531 * shell/ev-window.c: (update_window_title):
2533 strdup value from get_title.
2535 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2537 * shell/ev-sidebar-links.c: (job_finished_callback),
2538 (ev_sidebar_links_set_document):
2540 Cleanup the old job when changing document
2542 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2544 * shell/ev-stock-icons.c:
2545 * shell/ev-stock-icons.h:
2546 * shell/ev-window.c:
2548 Add stock icons for actions that can appear in toolbar. Fix for
2551 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2553 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2554 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2555 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2556 * backend/ev-page-cache.h:
2557 * shell/ev-view.c: (scroll_to_current_page),
2558 (view_update_range_and_current_page), (get_page_y_offset),
2559 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2560 (ev_view_size_request_continuous),
2561 (ev_view_zoom_for_size_continuous_and_dual_page),
2562 (ev_view_zoom_for_size_continuous):
2564 More compact EvView layout in document with pages of different size.
2566 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2568 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2571 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2573 * shell/ev-view.c: (view_set_adjustment_values):
2574 * shell/ev-window.c: (ev_window_cmd_file_properties):
2576 A bit different fix for rounding problem but it has no
2577 problems on startup. Make properties window transient to parent.
2579 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2581 * pdf/ev-poppler.cc:
2583 More commenting of font stuff.
2585 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2587 * pdf/ev-poppler.cc:
2589 Comment out some more fonts stuff. Should really
2590 work without the poppler patch now.
2592 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2594 * pdf/ev-poppler.cc:
2598 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2600 * data/evince-properties.glade:
2601 * pdf/ev-poppler.cc:
2602 * shell/ev-properties.c: (setup_fonts_view):
2604 Set the column title. Show the dialog only
2605 once everything is setup.
2606 Getting font info can be very slow... will
2607 prolly need to make this threaded too.
2609 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2611 * backend/Makefile.am:
2612 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2613 (ev_document_fonts_get_fonts_model):
2614 * backend/ev-document-fonts.h:
2615 * data/evince-properties.glade:
2616 * pdf/ev-poppler.cc:
2617 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2618 * shell/ev-properties.h:
2619 * shell/ev-window.c: (ev_window_cmd_file_properties):
2621 Implement fonts list. Defined out for now, since it depends
2622 on a not yet committed poppler patch.
2624 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2626 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2629 * shell/ev-window.c: Make sure we add the timeout when we get a
2632 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2633 adjustment->value before calculating the zoom factor to average
2634 out all of our rounding errors. The page no longer 'drifts' when
2637 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2639 * data/evince-properties.glade:
2640 * shell/ev-properties.c: (ev_properties_format_date),
2643 Labels don't expand when the dialogue is resized.
2644 strftime result needs to be converted to UTF-8. Thanks
2645 to Christian Persch <chpe@gnome.org>.
2647 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2649 * data/evince-properties.glade:
2653 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2655 * backend/ev-document-info.h:
2656 * backend/ev-document.c: (ev_document_info_free):
2657 * data/evince-properties.glade:
2658 * pdf/ev-poppler.cc:
2659 * ps/ps-document.c: (ps_document_get_info):
2660 * shell/ev-properties.c: (ev_properties_format_date),
2661 (set_property), (ev_properties_new):
2662 * shell/ev-properties.h:
2663 * shell/ev-window.c: (ev_window_cmd_file_properties):
2665 Rework properties code to take only EvPropertyInfo
2666 in the constructor so that it can be useful for
2667 nautilus plugin too.
2669 Deal with backends that doesnt support some properties.
2670 Make set property code generic.
2672 2005-06-04 Christian Persch <chpe@gnome.org>
2674 * data/evince-properties.glade:
2676 fix spacings, make resizeable, and make data labels
2677 selectable + ellipsised
2679 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2681 * backend/ev-document-info.h:
2683 * data/evince-ui.xml:
2684 * pdf/ev-poppler.cc:
2685 * shell/Makefile.am:
2686 * shell/ev-window.c: (update_action_sensitivity),
2687 (ev_window_cmd_file_properties):
2689 Initial go at file properties. Patch by
2690 Emil Soleyman-Zomalan <emil@soleyman.com>.
2691 Needs love see #169583
2693 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2695 * ps/ps-document.c: (output):
2696 * ps/ps.c: (psscan):
2698 Try to render even if psscan fails.
2700 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2702 * ps/ps.c: (psscan), (pscopydoc):
2704 Port buffered reading code from gv
2706 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2708 * ps/ps-document.c: (interpreter_message), (output):
2710 Do not fail on interpreter messages
2712 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2714 * backend/ev-document-misc.c:
2715 (ev_document_misc_get_thumbnail_frame):
2717 Pages can be 0 x 0, dont assert on this case
2719 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2721 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2722 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2724 Correctly manage our reference on document. Finally the reload
2725 huge leak is gone...
2727 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2729 * ps/ps-document.c: (ps_document_dispose):
2731 Forgot to chain it to the parent. Thanks chpe.
2733 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2735 * ps/ps-document.c: (ps_document_dispose),
2736 (ps_document_class_init), (stop_interpreter), (document_load):
2738 Cleanup dispose a bit. Dont leak the whole pixmap.
2740 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2742 * pdf/ev-poppler.cc:
2744 Release the poppler document on dispose
2746 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2748 * shell/ev-view.c: (ev_view_set_document):
2750 Release ref on the pixbuf cache when changing
2753 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2755 * ps/ps-document.c: (ps_document_get_info):
2759 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2761 * backend/ev-page-cache.c: (ev_page_cache_init),
2762 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2763 * backend/ev-page-cache.h:
2764 * shell/ev-page-action.c: (page_changed_cb):
2766 Set page action entry width depending on labels width. Fix
2769 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2771 * backend/ev-link.c: (ev_link_class_init):
2773 Allow -1 as page value (error)
2775 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2777 * shell/ev-sidebar-thumbnails.c:
2778 (ev_sidebar_thumbnails_set_document):
2779 * shell/ev-view.c: (scroll_to_current_page),
2780 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2781 (page_changed_cb), (on_adjustment_value_changed),
2782 (ev_view_set_document):
2784 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2787 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2790 * djvu/djvu-document.c: (djvu_document_get_page_size):
2792 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2795 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2797 * shell/ev-view.c (draw_one_page): modify the expose handling to
2800 * shell/ev-window.c (update_action_sensitivity): Respect
2801 permissions field. Kowtow to the man.
2803 * pdf/ev-poppler.cc: Get the permissions field.
2805 * tiff/*c: Make a tiny bit more robust.
2807 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2809 * djvu/djvu-document.c:
2811 Pop messages from djvu context message queue.
2813 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2815 * configure.ac, Makefile.am, shell/Makefile.am:
2816 * tiff/Makefile.am, shell/ev-document-types.c:
2818 Cleanup tiff configure checks. Fix for bug 305218.
2820 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2822 * configure.ac: Added "uk" to ALL_LINGUAS.
2824 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2826 * cut-n-paste/zoom-control/ephy-zoom.c:
2827 (ephy_zoom_get_changed_zoom_level):
2828 * cut-n-paste/zoom-control/ephy-zoom.h:
2829 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2830 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2831 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2832 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2833 (zoom_control_changed_cb), (ev_window_init):
2835 Fix minor points related to moving best fit up. Introduce
2836 "zoom" property and make zoom control change it's value on
2837 notify::zoom signals. Fix for 305080.
2839 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2841 * data/evince-ui.xml:
2842 * shell/ev-window.c: (set_view_actions_sensitivity):
2844 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2846 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2850 Depends on poppler 0.3.2
2852 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2854 * cut-n-paste/recent-files/egg-recent-item.c:
2855 (egg_recent_item_get_short_name):
2856 * cut-n-paste/toolbar-editor/Makefile.am:
2857 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2858 (new_pixbuf_from_widget):
2859 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2860 * cut-n-paste/toolbar-editor/egg-marshal.c:
2861 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2862 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2866 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2868 * tiff/tiff-document.c: Rough TIFF backend.
2870 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2874 * cut-n-paste/toolbar-editor/Makefile.am:
2878 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2880 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2881 (ev_view_find_next), (ev_view_find_previous):
2883 Remove the locks around get_n_results
2885 2005-05-21 Juerg Billeter <j@bitron.ch>
2887 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2889 Pass correct number of pages to poppler.
2891 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2895 * data/evince.desktop.in:
2896 * data/evince.desktop.in.in:
2899 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2901 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2903 * shell/ev-view.c: (view_update_adjustments),
2904 (view_set_adjustment_values): cast adjustmen->value to (int)
2905 before using it. Otherwise, we get off by a pixel in some
2908 (draw_one_page): Draw the border on expose.
2910 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2912 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2913 adjustment when the mode changes, #304923
2915 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2917 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2918 flickering on resize but still use gdk_window_scroll on
2921 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2923 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2926 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2928 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2929 second page on page_changed if possible, #304669
2931 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2933 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2934 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2936 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2939 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2940 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2941 (ev_view_zoom_for_size_presentation),
2942 (ev_view_zoom_for_size_continuous_and_dual_page),
2943 (ev_view_zoom_for_size_continuous),
2944 (ev_view_zoom_for_size_dual_page),
2945 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2947 * shell/ev-window.c: (update_view_size),
2948 (ev_window_sizing_mode_changed_cb):
2950 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2951 the scrollbars. It's not 100% right, but it's much closer. Kills
2952 an infinite loop, #304769
2955 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2957 * data/evince-ui.xml:
2958 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2959 * shell/ev-window.c: (set_view_actions_sensitivity):
2961 Make PgUp/Down behave like Space
2963 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2965 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2966 * backend/ev-ps-exporter.h:
2967 * pdf/ev-poppler.cc:
2968 * ps/ps-document.c: (ps_document_ps_export_begin):
2969 * shell/ev-print-job.c: (idle_print_handler):
2971 Adapt to new poppler api
2973 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2975 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2976 (ephy_zoom_control_init):
2978 Translate zoom levels
2980 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2982 * cut-n-paste/zoom-control/ephy-zoom.c:
2983 (ephy_zoom_get_zoom_level_index):
2985 Fix current zoom -> zoom control match
2987 2005-05-18 James Bowes <bowes@cs.dal.ca>
2989 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2990 rather than the scrolled_window that it's in. Fixes bug #304655.
2992 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2994 * shell/ev-view.c: (view_update_adjustments),
2995 (view_set_adjustment_values), (view_update_range_and_current_page),
2996 (view_scroll_to_page), (set_scroll_adjustment),
2997 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2998 (ev_view_scroll), (ev_view_scroll_view),
2999 (ensure_rectangle_is_visible), (find_page_at_location),
3000 (get_link_at_location), (go_to_link), (status_message_from_link),
3001 (ev_view_size_request_continuous_dual_page),
3002 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3003 (ev_view_unrealize), (ev_view_expose_event),
3004 (ev_view_button_press_event), (ev_view_motion_notify_event),
3005 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3006 (draw_rubberband), (highlight_find_results), (draw_one_page),
3007 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3008 (ev_view_init), (find_changed_cb), (page_changed_cb),
3009 (on_adjustment_value_changed), (ev_view_new),
3010 (ev_view_set_document), (ev_view_set_zoom),
3011 (ev_view_set_continuous), (ev_view_set_dual_page),
3012 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3013 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3014 (ev_view_zoom_for_size_presentation),
3015 (ev_view_zoom_for_size_continuous_dual_page),
3016 (ev_view_zoom_for_size_continuous),
3017 (ev_view_zoom_for_size_dual_page),
3018 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3019 (ev_view_get_status), (ev_view_set_status),
3020 (update_find_status_message), (ev_view_get_find_status),
3021 (ev_view_set_find_status), (jump_to_find_result),
3022 (jump_to_find_page), (compute_selections), (clear_selection),
3023 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3024 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3025 (ev_view_update_primary_selection),
3026 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3028 * shell/ev-window.c: (ev_window_open_page_label),
3029 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3031 * shell/ev-window.h:
3032 * shell/main.c: (load_files):
3034 Massive code clean up from Nickolay Shmyrev. Keep page offset
3035 when resizing. Remove the bin_window(). Also, patch from James
3036 Bowes to fix command line page, #300641
3038 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3040 * data/evince-ui.xml:
3043 * shell/ev-window.c: (update_action_sensitivity):
3045 Get rid of View->Normal Size, it's just confusing
3047 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3049 * backend/ev-document-info.h:
3050 * backend/ev-document.c: (ev_document_info_free): Free the
3053 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3054 (clear_range), (add_range), (update_visible_range),
3055 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3056 (ev_sidebar_thumbnails_set_document):
3057 * shell/ev-window.c: (ev_window_setup_document): Only render the
3058 visible thumbnails. It takes an instant to render, but it uses
3061 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3063 * shell/ev-sidebar-links.c: (popup_menu_cb):
3067 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3070 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3071 (button_press_cb), (ev_sidebar_links_construct):
3073 Show the popup menu also on keybindings
3075 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3077 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3078 * shell/ev-window.h:
3080 Expose api to print a range (with dialog). Make private _print use
3083 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3084 (ev_sidebar_links_construct):
3086 Show a print context menu on linkx, it prints the selected
3089 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3091 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3094 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3100 * shell/ev-window.c: (build_comments_string),
3101 (ev_window_cmd_help_about):
3103 Show poppler version/backend and authors
3105 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3107 * cut-n-paste/zoom-control/ephy-zoom.c:
3108 (ephy_zoom_get_zoom_level_index):
3109 * cut-n-paste/zoom-control/ephy-zoom.h:
3111 Move the best fit items at the top of the list
3113 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3115 * shell/ev-marshal.list:
3116 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3117 (activate_cb), (match_selected_cb), (activate_link_cb),
3118 (connect_proxy), (ev_page_action_class_init):
3119 * shell/ev-page-action.h:
3121 Use signals to notify action activation. Hopefully
3122 I did not break completion since I cant test...
3124 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3125 (register_custom_actions):
3127 Connect to page selector actions and also grab focus on
3128 the view when activated.
3130 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3132 * pdf/ev-poppler.cc:
3133 * backend/ev-page-cache.c: make page size calculation consistent
3134 and set it to (int)( width * scale + 0.5). This makes the weird
3135 line going through the middle of the page go away.
3137 * shell/ev-view.c: move painting the background page after
3138 checking the expose area covers us.
3140 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3142 * data/evince-password.glade:
3144 Mark labels as not translatable. Fix for bug 302842.
3146 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3148 * configure.ac: Added "es" to ALL_LINGUAS.
3150 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3152 * data/evince-toolbar.xml:
3153 * shell/ev-window.c: (update_action_sensitivity),
3154 (ev_window_setup_document), (ev_window_set_page_mode),
3157 Remove some leftover code from jrb first continous
3158 attempt. Use the new actions, we still need good icons
3161 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3163 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3165 Update label when connecting proxy. Fix a warning with NULL
3168 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3170 * data/evince-ui.xml:
3171 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3172 * shell/ev-page-action.h:
3173 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3175 Add mnemonic for edit toolbar.
3176 ctrl+l focus the page entry.
3178 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3181 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3183 * shell/main.c: (main):
3185 Put the toolbar xml in evince own dot dir
3187 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3189 * shell/ev-window.c: (ev_window_init):
3191 Make the toolbar not removable
3193 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3195 * data/evince-ui.xml:
3196 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3197 * shell/ev-sidebar-links.h:
3198 * shell/ev-sidebar-thumbnails.c:
3199 (ev_sidebar_thumbnails_get_treeview):
3200 * shell/ev-sidebar-thumbnails.h:
3201 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3202 (ev_view_class_init):
3204 * shell/ev-window.c: (update_action_sensitivity),
3205 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3206 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3207 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3210 This is evil... Make space/backspace global accelerators but
3211 enable them only for some widgets (sidebars and view).
3212 I dont like it, but I dont know a better way... :/
3214 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3216 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3217 (ev_page_action_widget_finalize),
3218 (ev_page_action_widget_class_init), (update_page_cache):
3220 Keep a weak reference on proxy->page_cache so that we
3221 dont try to disconnect the signal if the object is already
3222 gone. Maybe there is a better way to cleanup reference handling
3223 in page action though...
3225 2005-05-10 Juerg Billeter <j@bitron.ch>
3227 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3228 * backend/ev-ps-exporter.h:
3229 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3230 * ps/ps-document.c: (ps_document_ps_export_begin):
3232 Change api to pass print range to ps_exporter_begin. The pdf backend
3233 requires this information.
3235 * shell/ev-print-job.c: (idle_print_handler):
3239 2005-05-10 Juerg Billeter <j@bitron.ch>
3241 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3242 (idle_print_handler)
3243 * shell/ev-window.c: (ev_window_print):
3245 Support printing page range, based on patch by Amaury Jacquot
3247 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3249 * data/evince-toolbar.xml:
3251 Add zoom control to available items
3253 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3255 * shell/ev-window.c: (update_action_sensitivity):
3257 Set slash action insensitive when appropriate
3259 2005-05-10 Christian Persch <chpe@gnome.org>
3261 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3263 Fix warning on the overflow menu
3265 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3267 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3269 Check for uri correctness/existence
3271 2005-05-09 Juerg Billeter <j@bitron.ch>
3273 * shell/ev-window.c: (using_postscript_printer):
3275 LPD printers use postscript, too
3277 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3279 * shell/ev-window.c: (register_custom_actions):
3281 The zoom one is actually sort of useful,
3284 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3286 * shell/ev-window.c: (register_custom_actions):
3288 Hide page/zoom controls from overflow, they
3291 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3293 * cut-n-paste/update-from-egg.sh:
3295 Share it between all cut-n-paste subdirs
3297 * cut-n-paste/recent-files/Makefile.am:
3299 Fix to use "global" update-from-egg.sh
3301 * cut-n-paste/recent-files/egg-recent-model.c:
3302 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3303 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3304 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3305 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3309 * cut-n-paste/toolbar-editor/Makefile.am:
3311 Fix to use "global" update-from-egg.sh
3313 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3317 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3320 * cut-n-paste/Makefile.am:
3321 * cut-n-paste/recent-files/Makefile.am:
3322 * cut-n-paste/toolbar-editor/.cvsignore:
3323 * cut-n-paste/toolbar-editor/Makefile.am:
3324 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3325 (egg_editable_toolbar_get_type), (get_toolbar_position),
3326 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3327 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3328 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3329 (set_item_drag_source), (create_item_from_action), (create_item),
3330 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3331 (popup_toolbar_context_menu_cb), (free_dragged_item),
3332 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3333 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3334 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3335 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3336 (item_added_cb), (item_removed_cb),
3337 (egg_editable_toolbar_construct),
3338 (egg_editable_toolbar_disconnect_model),
3339 (egg_editable_toolbar_deconstruct),
3340 (egg_editable_toolbar_set_model),
3341 (egg_editable_toolbar_set_ui_manager),
3342 (egg_editable_toolbar_set_property),
3343 (egg_editable_toolbar_get_property),
3344 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3345 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3346 (egg_editable_toolbar_new_with_model),
3347 (egg_editable_toolbar_get_edit_mode),
3348 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3349 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3350 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3351 (new_pixbuf_from_widget), (new_separator_pixbuf),
3352 (update_separator_image), (style_set_cb),
3353 (_egg_editable_toolbar_new_separator_image),
3354 (egg_editable_toolbar_get_model):
3355 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3356 * cut-n-paste/toolbar-editor/egg-marshal.c:
3357 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3358 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3359 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3360 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3361 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3362 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3363 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3364 (editor_drag_data_delete_cb), (drag_data_get_cb),
3365 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3366 (editor_create_item), (update_editor_sheet), (setup_editor),
3367 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3368 (parse_item_list), (model_has_action), (update_actions_list),
3369 (egg_toolbar_editor_load_actions):
3370 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3371 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3372 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3373 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3374 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3375 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3376 (egg_toolbars_model_add_separator), (impl_add_item),
3377 (parse_item_list), (egg_toolbars_model_add_toolbar),
3378 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3379 (impl_get_item_data), (impl_get_item_type),
3380 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3381 (egg_toolbars_model_init), (free_toolbar),
3382 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3383 (egg_toolbars_model_remove_toolbar),
3384 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3385 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3386 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3387 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3388 (egg_toolbars_model_get_item_data),
3389 (egg_toolbars_model_get_item_type):
3390 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3391 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3393 * data/evince-toolbar.xml:
3394 * data/evince-ui.xml:
3395 * data/hand-open.png:
3397 * shell/Makefile.am:
3398 * shell/ev-window.c: (update_chrome_visibility),
3399 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3400 (ev_window_dispose), (ev_window_init):
3402 Implement epiphany like toolbar editor. Based on patch by
3403 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3405 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3407 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3409 Use set_cursor instead of set_selection, so that
3410 the keyboard focus moves too.
3412 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3414 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3416 Fix infinite loop when loading Type1 fonts
3418 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3420 * data/evince-ui.xml:
3421 * shell/ev-window.c:
3425 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3429 Make --disable really disable
3431 2005-05-07 Juerg Billeter <j@bitron.ch>
3433 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3435 Compare page labels even without has_labels set, fixes setting page
3438 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3440 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3441 (ev_view_set_cursor), (ev_view_button_press_event),
3442 (ev_view_motion_notify_event), (ev_view_button_release_event),
3445 Implement middle button scrolling. Based on a patch
3446 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3448 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3450 * shell/ev-document-types.c: (get_slow_mime_type),
3451 (get_document_type_from_mime), (ev_document_type_lookup):
3452 * shell/ev-document-types.h:
3454 Change api to lookup from uri. Do fast lookup first, if the
3455 type is unknown try with data sniffing.
3457 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3458 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3462 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3464 * thumbnailer/Makefile.am:
3468 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3475 * data/evince-ui.xml:
3477 Hide presentation mode for now
3479 * shell/ev-view.c: (highlight_find_results):
3481 Show current find selection only on current page
3483 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3485 * shell/ev-view.c: (ev_view_select_all):
3487 Compute size of the actual page, not of
3490 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3492 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3493 (view_rect_to_doc_rect), (compute_selections),
3494 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3495 (ev_view_copy), (ev_view_primary_get_cb),
3496 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3497 (ev_view_button_press_event), (ev_view_motion_notify_event),
3498 (ev_view_button_release_event), (page_changed_cb):
3502 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3504 * shell/ev-view.c: (compute_border), (get_page_extents),
3505 (doc_rect_to_view_rect), (highlight_find_results),
3506 (ev_view_bin_expose), (ev_view_select_all),
3507 (ev_view_motion_notify_event), (update_find_status_message),
3508 (jump_to_find_result), (jump_to_find_page):
3510 First go at fixing search, still buggy
3512 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3514 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3515 dropdown box and button at the top of the sidebar.
3517 2005-05-02 James Bowes <bowes@cs.dal.ca>
3519 * configure.ac: Output zoom-control Makefile.
3520 * cut-n-paste/Makefile.am: build zoom-control subdir.
3521 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3522 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3523 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3524 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3525 * cut-n-paste/zoom-control/ephy-zoom.c:
3526 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3527 from epiphany, and modified to add a separator into the menu.
3528 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3529 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3530 zoom-control action.
3531 * shell/Makefile.am: Include zoom-control flags.
3532 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3533 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3534 (ev_view_zoom_for_size_presentation),
3535 (ev_view_zoom_for_size_continuous_and_dual_page),
3536 (ev_view_zoom_for_size_continuous),
3537 (ev_view_zoom_for_size_dual_page),
3538 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3539 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3540 ev_view_get_zoom and ev_view_get_sizing_mode.
3542 * shell/ev-window.c: (update_action_sensitivity),
3543 (update_sizing_buttons), (zoom_control_changed_cb),
3544 (register_custom_actions): Initialize and use the zoom-control
3547 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3549 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3550 preview cache back to 1. Don't know when it got set to 0.
3552 * shell/ev-view.c: (compute_border), (ev_view_realize),
3553 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3554 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3555 (ev_view_get_fullscreen), (ev_view_set_presentation),
3556 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3557 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3559 * shell/ev-window.c:
3560 (update_chrome_visibility),
3561 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3562 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3563 (update_document_mode), (ev_window_update_fullscreen_action),
3564 (ev_window_fullscreen), (ev_window_unfullscreen),
3565 (ev_window_cmd_view_fullscreen),
3566 (ev_window_update_presentation_action),
3567 (ev_window_run_presentation), (ev_window_stop_presentation),
3568 (ev_window_cmd_view_presentation), (ev_window_state_event),
3569 (ev_window_focus_in_event), (ev_window_focus_out_event),
3570 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3571 * data/evince-ui.xml: Initial presentation mode. We should
3572 probably hide this until it's done, as it's quite rough. Also,
3573 change full-screen to fullscreen and add two getters to EvView.
3575 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3577 * shell/ev-page-action.c: (update_page_cache),
3578 (ev_page_action_dispose):
3579 * shell/ev-window.c: (destroy_fullscreen_popup),
3580 (ev_window_create_fullscreen_popup):
3582 Use connect_object rather than explicitly
3583 disconnect on dispose.
3585 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3587 * shell/ev-page-action.c: (update_page_cache),
3588 (ev_page_action_dispose):
3590 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3592 * backend/ev-page-cache.c: (_ev_page_cache_new),
3593 (ev_page_cache_set_page_label),
3594 (ev_page_cache_has_nonnumeric_page_labels):
3595 * backend/ev-page-cache.h:
3596 * shell/ev-page-action.c: (update_pages_label):
3598 If all page labels are numeric, fallback to default
3599 way to display number of pages. See bug 173185.
3601 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3603 * shell/ev-page-action.c: (ev_page_action_dispose):
3604 * shell/ev-view.c: (view_update_range_and_current_page):
3605 * shell/ev-window.c: (ev_window_dispose):
3607 Set page on scroll in continuous mode. Fixes bug 301986.
3608 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3610 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3614 Require poppler 0.3.0
3616 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3618 * shell/Makefile.am, configure.ac: Fix build problems
3619 with t1lib. Bug 301996.
3621 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3623 * shell/ev-view.c: (ev_view_scroll_event):
3625 Scroll up increase zoom
3627 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3629 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3630 (ev_view_set_sizing_mode),
3631 (ev_view_zoom_for_size_continuous_and_dual_page),
3632 (ev_view_zoom_for_size_continuous):
3633 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3634 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3635 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3638 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3639 Fix for 165473 and 165472.
3641 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3644 * thumbnailer/Makefile.am:
3645 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3646 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3647 * thumbnailer/evince-thumbnailer.schemas.in:
3649 Make thumbnailer schemas translatable. Fix for bug 301773
3651 * thumbnailer/evince-thumbnailer-djvu.schemas:
3652 * thumbnailer/evince-thumbnailer-dvi.schemas:
3653 * thumbnailer/evince-thumbnailer.schemas:
3657 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3659 * shell/ev-view.c (ev_view_init): forgot to set this.
3661 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3663 * shell/ev-view.c: (find_page_at_location),
3664 (get_link_at_location),
3665 (ev_view_set_show_border), (ev_view_set_spacing),
3666 (ev_view_zoom_for_size_continuous_and_dual_page),
3667 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3668 Also, add a quick fix measuring of widths. Also, removed
3669 ev_view_set_spacing and ev_view_set_show_border.
3671 * shell/ev-window.c: (ev_window_unfullscreen),
3672 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3674 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3676 * shell/ev-view.c: (view_update_range_and_current_page),
3679 Fix crash on exit and scrolling to page in continuous view.
3681 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3684 * backend/ev-page-cache.c: (_ev_page_cache_new),
3685 (ev_page_cache_get_max_width_size),
3686 (ev_page_cache_get_max_height_size):
3687 * backend/ev-page-cache.h:
3688 * data/evince-ui.xml:
3689 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3690 * shell/ev-view.c: (view_update_adjustments),
3691 (view_update_range_and_current_page), (get_bounding_box_size),
3692 (ev_view_size_request_continuous_and_dual_page),
3693 (ev_view_size_request_continuous),
3694 (ev_view_size_request_dual_page),
3695 (ev_view_size_request_single_page), (ev_view_size_request),
3696 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3697 (ev_view_bin_expose), (ev_view_expose_event),
3698 (ev_view_set_property), (ev_view_get_property),
3699 (ev_view_class_init), (ev_view_init), (ev_view_new),
3700 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3701 (ev_view_set_dual_page), (ev_view_set_full_screen),
3702 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3703 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3704 (ev_view_zoom_out), (zoom_for_size_fit_width),
3705 (zoom_for_size_best_fit),
3706 (ev_view_zoom_for_size_continuous_and_dual_page),
3707 (ev_view_zoom_for_size_continuous),
3708 (ev_view_zoom_for_size_dual_page),
3709 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3710 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3712 * shell/ev-window.c: (update_action_sensitivity),
3713 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3714 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3715 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3716 (ev_window_cmd_view_zoom_out), (update_view_size),
3717 (ev_window_set_sizing_mode), (ev_window_init):
3719 Add Continuous and Dual page modes.
3721 2005-04-23 James Bowes <bowes@cs.dal.ca>
3723 * dvi/dvi-document.c: (dvi_document_load),
3724 (dvi_document_thumbnails_get_thumbnail),
3725 (dvi_document_init_params): Fix up some mixups between
3726 width and height to correct thumbnail rendering.
3728 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3730 * dvi/mdvi-lib/private.h:
3731 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3733 Suppess output for kpathsea during font generation. Thanks to
3736 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3743 * Makefile.am: fix distcheck.
3745 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3747 * shell/ev-sidebar-links.c: (selection_changed_callback),
3748 (update_page_callback), (row_activated_callback),
3749 (job_finished_callback), (ev_sidebar_links_set_document):
3751 Fix for bug #169901. Double click on links expands tree.
3753 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3755 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3756 hard-coded style. Fix for bug 170111
3758 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3760 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3763 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3765 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3767 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3769 * pdf/ev-poppler.cc:
3770 * shell/ev-view.c: (highlight_find_results):
3772 Fix find on single page documents
3774 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3776 * data/evince.schemas.in: fix for bug 301390
3778 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3780 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3781 (ev_view_zoom_out), (ev_view_zoom_normal):
3783 * shell/ev-window.c: (update_action_sensitivity),
3784 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3785 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3786 (ev_window_cmd_view_normal_size):
3788 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3789 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3792 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3796 Depend on 2.57, 2.59 doesnt seem to be necessary
3798 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3800 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3803 Put back total number of pages as (1 of 1234)
3805 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3807 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3810 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3811 function. This helps debugging.
3813 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3815 * djvu/djvu-document.c: (djvu_document_class_init),
3816 (djvu_document_get_info), (djvu_document_document_iface_init):
3817 * dvi/dvi-document.c: (dvi_document_class_init),
3818 (dvi_document_get_info), (dvi_document_document_iface_init):
3820 Dummy implementation of get_info method for dvi and djvu. Fix
3821 crashes with those backends
3823 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3825 * data/evince.desktop.in:
3827 Add application/x-gzpostscript
3829 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3831 * data/evince.schemas.in: Added real long descriptions,
3834 * README: Added actual text, closes bug 171869
3836 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3838 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3842 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3844 * backend/ev-document-info.h:
3846 s/GDate */GDate so we can just use g_free
3848 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3850 * shell/ev-window.c: (update_document_mode),
3851 (ev_window_setup_document):
3853 Show the window in fullscreen when specified by
3856 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3858 * backend/ev-document.c: (ev_document_class_init),
3859 (ev_document_get_info), (ev_document_render_pixbuf):
3860 * backend/ev-document.h:
3861 * backend/ev-page-cache.c: (_ev_page_cache_new):
3862 * pdf/ev-poppler.cc:
3863 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3864 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3865 * ps/ps-document.c: (ps_document_class_init), (document_load),
3866 (ps_document_get_info), (ps_document_document_iface_init):
3868 Remove get_title from the interface, we can just use document info
3870 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3872 * backend/Makefile.am:
3873 * backend/ev-document.c: (ev_document_render_get_info):
3874 * backend/ev-document.h:
3875 * pdf/ev-poppler.cc:
3877 Initial support for document info. Based on jrb patch.
3879 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3881 * shell/ev-window.c: (ev_window_state_event),
3882 (ev_window_class_init), (ev_window_init):
3884 Doesn't show resize grip when maximized. See bug #301053
3886 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3890 ev-sidebar-thumbnails now has translatable labels
3892 * shell/Makefile.am:
3893 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3894 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3895 (ev_sidebar_links_page_iface_init):
3896 * shell/ev-sidebar-links.h:
3897 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3898 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3899 (ev_sidebar_page_get_label):
3900 * shell/ev-sidebar-page.h:
3901 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3902 (ev_sidebar_thumbnails_set_document),
3903 (ev_sidebar_thumbnails_support_document),
3904 (ev_sidebar_thumbnails_get_label),
3905 (ev_sidebar_thumbnails_page_iface_init):
3906 * shell/ev-sidebar-thumbnails.h:
3907 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3908 (ev_sidebar_set_document):
3909 * shell/ev-sidebar.h:
3910 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3912 Small rework of sidebar code. Now sidebar pages should implement
3913 EvSidebarPage interface. That makes page management in EvSidebar
3914 easier. See bug #164811 for details
3916 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3918 * shell/ev-application.c: (ev_application_open):
3919 * shell/ev-document-types.c:
3921 Fix build error and small problem with application exit
3923 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3925 * thumbnailer/Makefile.am:
3926 * thumbnailer/evince-thumbnailer-djvu.schemas:
3927 * thumbnailer/evince-thumbnailer-dvi.schemas:
3929 Conditionally install schemas for djvu/dvi thumbnailer
3931 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3933 * shell/ev-document-types.h:
3934 * shell/ev-document-types.c:
3935 New files, handling the mapping from mimetypes to backends
3937 * shell/ev-window.c:
3938 * thumbnailer/evince-thumbnailer.c:
3939 Use the ev-document-types code
3941 * shell/Makefile.am:
3942 Added new convenience library libevbackendfactory_la, containing
3943 the new mimetype->backend logic; moved the backends into it.
3945 * thumbnailer/Makefile.am:
3946 Make the thumbnailer link with the libevbackend.la convenience
3947 library, rather than having a duplicate of the backend logic here.
3949 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3951 * shell/ev-stock-icons.c: constify some vars.
3952 * shell/ev-window.c: ditto.
3954 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3956 * ps/ps-document.c (get_page_orientation):
3958 Respect document orientation
3960 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3964 * shell/Makefile.am:
3966 Move library dependencies to components.
3968 * shell/ev-window.c: (update_window_title),
3969 (start_loading_document):
3971 Fix display of uris with spaces. Bug 168358.
3973 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3975 * shell/ev-sidebar-links.c: (selection_changed_cb):
3976 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3977 (ev_view_button_release_event), (ev_view_set_document):
3979 * shell/ev-window.c: (find_bar_search_changed_cb):
3980 * shell/ev-window.h: Minor cleanups removing some dead code.
3982 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3984 * backend/ev-page-cache.c: (_ev_page_cache_new):
3986 Set current page to 0 if document has pages.
3988 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3990 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3992 Initialize GError to NULL, fix a crash when loading fails.
3994 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3996 * shell/ev-window.c: (update_view_size):
3998 Calculate shadow size only when there is actually
4001 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4003 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4006 Allow setting view spacing, default to 0
4008 * shell/ev-window.c: (ev_window_unfullscreen),
4009 (ev_window_cmd_view_fullscreen), (ev_window_init):
4011 Remove spacing in fullscreen mode
4013 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4015 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4016 (ev_view_size_request), (expose_bin_window),
4017 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4019 * shell/ev-window.c: (ev_window_unfullscreen),
4020 (ev_window_cmd_view_fullscreen):
4022 Do not draw the border in fulscreen
4024 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4026 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4027 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4028 (find_page_at_location), (page_changed_cb):
4030 Rework border calculation, so that I can more easily disable it.
4031 Code somewhat cleaner too.
4033 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4035 * backend/ev-page-cache.c: (ev_page_cache_init),
4036 (_ev_page_cache_new):
4038 Remove some assertions, documents can have 0 pages.
4039 Make initial current page -1.
4041 * shell/ev-page-action.c: (page_changed_cb):
4043 Show "" if current page is -1
4045 * shell/ev-window.c: (update_action_sensitivity),
4046 (ev_window_setup_document):
4048 When document has 0 pages do not set the view
4049 and make nearly everything insensitive.
4051 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4053 * shell/ev-page-view.c:
4054 * shell/ev-page-view.h:
4056 Remove unused files.
4058 * shell/ev-sidebar-thumbnails.c:
4059 (ev_sidebar_thumbnails_set_document):
4060 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4061 (ev_sidebar_supports_document):
4062 * shell/ev-sidebar.h:
4063 * shell/ev-window.c: (ev_window_setup_document):
4065 Doesn't show thumbnails if document has 1 page. Make
4066 sidebar menu entries sensitive only if if they have
4067 sense. Fix bug 164811.
4069 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4071 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4072 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4073 (ev_view_zoom_out), (ev_view_set_size):
4075 Rework sizing to deal with documents with not uniform page
4078 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4080 * backend/ev-page-cache.c: (_ev_page_cache_new):
4082 Fix several page size caching bugs
4084 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4086 * shell/ev-window.c: (set_action_properties):
4088 Make all toolbar items translatable
4090 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4092 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4093 (save_page_list), (ps_document_save),
4094 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4095 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4096 (ps_document_ps_exporter_iface_init):
4099 Based on a patch by J�rg Billeter <j@bitron.ch>
4101 Implement print and save a copy for the ps backend.
4103 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4105 * backend/ev-document.h:
4106 * djvu/djvu-document.c: (djvu_document_can_get_text),
4107 (djvu_document_document_iface_init):
4108 * dvi/dvi-document.c: (dvi_document_can_get_text),
4109 (dvi_document_document_iface_init):
4110 * pdf/ev-poppler.cc:
4111 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4112 (pixbuf_document_document_iface_init):
4113 * ps/ps-document.c: (ps_document_can_get_text),
4114 (ps_document_document_iface_init):
4115 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4116 * shell/ev-window.c: (update_action_sensitivity):
4118 Fix the crash when trying to copy in backends that doesnt
4119 support it. We can implement a better solution once we
4120 do real text selection.
4122 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4124 * data/evince-ui.xml:
4125 * shell/ev-window.c: (ev_window_cmd_escape):
4127 Work around the Escape conflict (find bar and unfullscreen)
4129 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4131 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4133 Fix for #300233. Next page correctly handles document end.
4135 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4136 (ev_sidebar_thumbnails_class_init),
4137 (ev_sidebar_thumbnails_set_document),
4138 (ev_sidebar_thumbnails_clear_job),
4139 (ev_sidebar_thumbnails_clear_model):
4141 Cleanup thumbnail jobs on document changes.
4143 * shell/ev-view.c: (add_scroll_binding_keypad),
4144 (add_scroll_binding_shifted), (ev_view_class_init):
4146 Shift + Space scrolls up. Fix for #173184
4148 * shell/ev-window.c: (ev_window_open_page),
4149 (ev_window_cmd_view_reload):
4151 Fix reload (Bug #300094)
4153 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4156 * dvi/mdvi-lib/assoc.c:
4157 * dvi/mdvi-lib/assoc.h: Removed garbage files
4159 * dvi/mdvi-lib/bitmap.c:
4160 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4161 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4162 * dvi/mdvi-lib/color.h: Antialias of rules
4164 * dvi/mdvi-lib/common.h:
4165 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4166 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4167 * dvi/mdvi-lib/files.c:
4168 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4169 * dvi/mdvi-lib/mdvi.h:
4170 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4171 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4172 * dvi/mdvi-lib/util.c: Fix compile warnings
4174 * dvi/dvi-document.c:
4175 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4176 (dvi_document_thumbnails_get_thumbnail),
4177 (dvi_document_document_thumbnails_iface_init):
4178 * dvi/mdvi-lib/Makefile.am:
4179 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4180 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4182 Dvi backend now renders thumbnails
4184 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4186 * shell/main.c: (main):
4188 Save accelerators on exit. Fixes bug #172095.
4190 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4192 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4193 update priority" comment.
4195 * backend/ev-job-queue.c: Give a way to change priority.
4197 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4199 * shell/ev-page-action.c: Fix logic.
4201 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4203 * shell/ev-view.c: (ev_view_can_find_next):
4204 * shell/ev-window.c: (ev_window_setup_document):
4206 Check that the document supports find
4208 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4210 * data/evince-ui.xml:
4211 * shell/ev-view.c: (ev_view_can_find_next):
4213 * shell/ev-window.c: (update_action_sensitivity),
4214 (find_changed_cb), (ev_window_setup_document),
4215 (ev_window_cmd_edit_find_next):
4219 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4221 * pdf/ev-poppler.cc:
4222 * shell/ev-print-job.c: (idle_print_handler):
4224 Make printing work again
4226 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4228 * shell/ev-page-action.h:
4229 * shell/ev-page-action.c: (ev_page_action_widget_init),
4230 (ev_page_action_widget_class_init), (page_changed_cb),
4231 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4232 (get_filter_model_from_model), (match_selected_cb),
4233 (display_completion_text), (match_completion), (update_model),
4234 (connect_proxy), (ev_page_action_set_property),
4235 (ev_page_action_get_property), (ev_page_action_set_document),
4236 (ev_page_action_set_model), (ev_page_action_class_init): Big
4237 reworking to make completions work iff we have >= GTK-2.7.0
4239 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4240 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4241 (job_finished_cb): We now have a 'model' property that is set when
4242 the links are loaded. This can be caught with "notify::model"
4244 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4245 listen for the model to be set, and propagate it to the action.
4247 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4249 * cut-n-paste/recent-files/egg-recent-item.c:
4250 (egg_recent_item_set_uri), (make_valid_utf8),
4251 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4252 * cut-n-paste/recent-files/egg-recent-item.h:
4254 Update egg-recent from libegg. This should fix long
4255 startup problem. For details see
4256 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4258 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4260 * cut-n-paste/recent-files/Makefile.am:
4261 * data/evince-ui.xml, shell/Makefile.am:
4262 * shell/ev-application.c, shell/ev-application.h:
4263 * shell/ev-window.c: Recent files support.
4265 * configure.ac: Added "ru" to ALL_LINGUAS.
4267 * dvju: new backend to support DJVU files.
4268 * dvi: new backend to support DVI.
4270 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4271 * ev-application.c: Support for new backends.
4273 * help, ev-window.c, main.c shell/Makefile.am:
4274 Evince user documentation.
4276 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4279 * shell/ev-window.c:
4280 * thumbnailer/evince-thumbnailer.c:
4282 s/pdf-document/ev-poppler
4284 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4291 * ps/ps-document.c: (setup_pixmap):
4295 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4297 * backend/ev-page-cache.c (ev_page_cache_next_page):
4298 * shell/ev-window.c (ev_window_cmd_go_next_page)
4299 (ev_window_cmd_go_first_page): Fix of by one errors.
4301 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4303 * ps/ps-document.c: (get_page_box):
4305 Fix page size calculation
4307 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4309 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4310 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4311 (get_page_orientation), (setup_page), (document_load),
4312 (ps_document_get_page_size), (render_pixbuf_idle):
4315 More refactoring to adapt to EvDocument changes
4317 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4319 * ps/ps-document.c: (start_interpreter):
4321 Actually add alpha args
4323 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4325 * pdf/ev-poppler.cc:
4327 Make clipboard work again
4329 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4331 Make searching work again.
4333 * backend/ev-document.c:
4334 * backend/ev-document.h:
4335 * backend/ev-document-find.c:
4336 * backend/ev-document-find.h: Change EvDocumentIface so we no
4337 longer store the current page or zoom level in the document. The
4338 consequence is that all calls that operate on the current page now
4339 instead take the page number as an extra argument, and all
4340 coordinates are now doubles in document coordinate system.
4342 * pdf/ev-poppler.cc:
4343 * pixbuf/pixbuf-document.c:
4344 * ps/ps-document.c: Update backends accordingly.
4346 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4350 Add required gettext version
4352 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4354 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4355 make F1 bring up non-existent help.
4357 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4358 epiphany's find bar, #167477
4360 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4361 <emil@nishra.com> to add space-bar scrolling,
4363 * shell/ev-window.c (static GtkActionEntry entries): add default
4364 keybinding for Help (F1)
4367 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4368 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4371 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4374 * pixbuf/pixbuf-document.c:
4376 Got pixbuf backend working again
4378 2005-04-01 Steve Murphy <murf@e-tools.com>
4380 * configure.in: Added "rw" to ALL_LINGUAS.
4382 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4384 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4385 model types, noticed by Martin Kretzschmar.
4387 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4389 * pdf/ev-poppler.cc: Implement search based on
4390 poppler_page_find_text(). Currently a bit crude since we remember
4391 all matches from all pages. Also, we grab the big document lock
4392 when we search since searching changes the underlying stream and
4393 thus conflicts with the rendering thread.
4395 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4396 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4397 (ev_view_find_previous): Fix some page indexes to be 0 based,
4398 offset rubber band by view offset,
4400 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4402 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4404 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4406 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4407 completely because I didn't understand GtkActions. I should
4408 read Marco's code more carefully in the future.
4410 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4413 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4415 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4416 PopplerRectangle change from poppler CVS.
4418 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4420 * backend/ev-document.c: (ev_document_get_page_label):
4421 * backend/ev-document.h:
4422 * backend/ev-page-cache.c: (_ev_page_cache_new),
4423 (ev_page_cache_get_page_label):
4424 * backend/ev-page-cache.h:
4425 * pdf/ev-poppler.cc:
4426 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4427 (links_page_num_func):
4428 * shell/ev-sidebar-thumbnails.c:
4429 (ev_sidebar_thumbnails_set_document):
4430 * shell/ev-view.c: (status_message_from_link),
4431 (ev_view_motion_notify_event):
4432 * shell/ev-window.c: (document_supports_sidebar): Add in page
4433 label support. It's not perfect yet, but it's the first 'feature'
4435 Also, fix a bogus comment noticed by crispin.
4437 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4439 * Makefile.am: Remove pixbuf backend for now
4441 * configure.ac: Require poppler-glib instead of just poppler.
4443 * backend/ev-document-thumbnails.h: Add a comment
4445 * backend/ev-document.h:
4446 * backend/ev-document.c: (ev_document_class_init),
4447 (ev_document_load), (ev_document_get_link),
4448 (ev_document_get_links): Remove 3 methods and add get_links.
4451 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4452 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4454 * backend/ev-link.c: (ev_link_set_title),
4455 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4456 (ev_link_mapping_find):
4457 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4459 * backend/ev-page-cache.c: (ev_page_cache_init),
4460 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4461 (ev_page_cache_get_size), (ev_page_cache_next_page),
4462 (ev_page_cache_prev_page): Fix to be 0 based.
4466 * pdf/ev-poppler.cc: New backend.
4468 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4469 (ps_document_get_page), (ps_document_document_iface_init):
4471 * shell/ev-pixbuf-cache.h:
4472 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4473 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4474 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4475 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4476 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4477 Fix up code to grab a page cache per each doc. Also, fix to be 0
4480 * shell/ev-sidebar-thumbnails.c:
4481 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4482 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4484 * shell/ev-view.c: (status_message_from_link),
4485 (find_page_at_location), (get_link_at_location),
4486 (ev_view_motion_notify_event), (ev_view_button_release_event),
4487 (ev_view_init): Use the new link code. Fix to be 0 based.
4489 * shell/ev-window.c: (update_action_sensitivity),
4490 (document_supports_sidebar): 0 based.
4492 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4494 * pdf/pdf-document.cc: Patch from Fernando Herrera
4495 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4498 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4500 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4501 1 to the page, as this seems to be 1 based. I thought we has this
4504 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4507 * backend/Makefile.am:
4508 * backend/ev-document-links.c:
4509 (ev_document_links_has_document_links),
4510 (ev_document_links_get_links_model):
4511 * backend/ev-document-links.h:
4512 * backend/ev-document.c: (ev_document_get_page_cache),
4513 (ev_document_get_doc_mutex), (ev_document_load),
4514 (ev_document_save), (ev_document_get_title),
4515 (ev_document_get_n_pages), (ev_document_set_page),
4516 (ev_document_get_page), (ev_document_set_target),
4517 (ev_document_set_scale), (ev_document_set_page_offset),
4518 (ev_document_get_page_size), (ev_document_get_text),
4519 (ev_document_get_link), (ev_document_render),
4520 (ev_document_render_pixbuf), (ev_document_scale_changed):
4521 * backend/ev-document.h:
4522 * backend/ev-job-queue.c: (remove_object_from_queue),
4523 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4524 (no_jobs_available_unlocked), (ev_render_thread),
4525 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4526 (ev_job_queue_remove_job):
4527 * backend/ev-job-queue.h:
4528 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4529 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4530 (ev_job_links_class_init), (ev_job_render_init),
4531 (ev_job_render_dispose), (ev_job_render_class_init),
4532 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4533 (ev_job_thumbnail_class_init), (ev_job_finished),
4534 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4535 (ev_job_render_run), (ev_job_thumbnail_new),
4536 (ev_job_thumbnail_run):
4537 * backend/ev-jobs.h:
4538 * backend/ev-link.c:
4539 * backend/ev-link.h:
4540 * backend/ev-page-cache.c: (ev_page_cache_init),
4541 (ev_page_cache_class_init), (ev_page_cache_finalize),
4542 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4543 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4544 (ev_page_cache_set_link), (ev_page_cache_get_title),
4545 (ev_page_cache_get_size), (ev_page_cache_next_page),
4546 (ev_page_cache_prev_page):
4547 * backend/ev-page-cache.h:
4548 * pdf/pdf-document.cc:
4551 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4552 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4553 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4554 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4555 (is_interpreter_ready), (output), (catchPipe), (input),
4556 (start_interpreter), (check_filecompressed), (compute_dimensions),
4557 (ps_document_enable_interpreter), (document_load),
4558 (ps_document_next_page), (render_page), (ps_document_set_page),
4559 (ps_document_set_scale), (render_pixbuf_idle),
4560 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4562 * shell/Makefile.am:
4563 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4564 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4565 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4566 (ev_pixbuf_cache_new), (job_finished_cb),
4567 (check_job_size_and_unref), (move_one_job),
4568 (ev_pixbuf_cache_update_range), (find_job_cache),
4569 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4570 (ev_pixbuf_cache_add_jobs_if_needed),
4571 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4572 * shell/ev-pixbuf-cache.h:
4573 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4574 (idle_print_handler):
4575 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4576 (selection_changed_cb), (create_loading_model),
4577 (ev_sidebar_links_construct), (links_page_num_func),
4578 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4579 (update_page_callback), (job_finished_cb),
4580 (ev_sidebar_links_set_document):
4581 * shell/ev-sidebar-thumbnails.c:
4582 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4583 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4584 (page_changed_cb), (thumbnail_job_completed_callback),
4585 (ev_sidebar_thumbnails_set_document):
4586 * shell/ev-sidebar-thumbnails.h:
4587 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4588 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4589 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4590 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4591 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4592 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4593 (ev_view_button_release_event), (ev_view_scroll_view),
4594 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4595 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4596 (ev_view_new), (job_finished_cb), (page_changed_cb),
4597 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4598 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4599 (ev_view_find_previous):
4601 * shell/ev-window.c: (update_action_sensitivity),
4602 (ev_window_open_page), (update_window_title), (update_total_pages),
4603 (page_changed_cb), (ev_window_setup_document),
4604 (password_dialog_response), (ev_window_cmd_save_as),
4605 (ev_window_print), (ev_window_cmd_go_previous_page),
4606 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4607 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4608 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4609 * shell/main.c: (main):
4611 Merge evince-threads branch
4613 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4615 * configure.ac: Added "lt" to ALL_LINGUAS.
4617 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4624 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4626 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4628 Fix here also the thumbnails 1-basedness :)
4630 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4637 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4639 * pdf/pdf-document.cc:
4640 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4641 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4643 Fix the mess we did with thumbnails and 1-basedness
4645 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4647 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4649 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4656 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4659 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4660 (gtk_gs_defaults_get_alpha_parameters),
4661 (gtk_gs_defaults_get_ungzip_cmd),
4662 (gtk_gs_defaults_get_unbzip2_cmd):
4664 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4665 (ps_document_get_orientation), (document_load),
4666 (ps_document_goto_page), (ps_document_set_page_size):
4669 Some more sanitization of the ps backend. Remove a lot
4670 of unused code and do not base our defaults on ggv
4673 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4675 * thumbnailer/evince-thumbnailer.schemas:
4676 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4677 (main): add -s option for thumbnail size.
4679 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4683 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4686 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4688 * pdf/pdf-document.cc:
4690 Remove 4 pixels of useless border from the
4693 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4695 * backend/ev-document-thumbnails.c:
4696 (ev_document_thumbnails_get_thumbnail):
4697 * backend/ev-document-thumbnails.h:
4699 Rework API a bit. Add a border flag and
4700 change sizing logic (now the size we specify
4701 applies to the bigger dimension).
4703 * pdf/pdf-document.cc:
4704 * pixbuf/pixbuf-document.c:
4705 (pixbuf_document_thumbnails_get_thumbnail):
4706 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4707 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4709 Adapt to the new API and do not draw a border for nautilus
4712 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4714 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4715 take thumbnails from page "0" instead of "1". Added a copyright header.
4717 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4719 * ps/ps-document.c: (set_up_page), (start_interpreter):
4721 Make it C89 compliant
4723 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4728 * pdf/pdf-document.cc:
4729 * thumbnailer/Makefile.am:
4730 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4732 * thumbnailer/evince-thumbnailer.schemas:
4733 * thumbnailer/pdf-icon.png:
4735 Add a nautilus thumbnailer.
4736 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4738 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4746 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4748 Use poppler instead of including xpdf source code. Poppler is a
4749 fork of xpdf to build it as a shared library. See
4750 http://freedesktop.org/wiki/Software/poppler.
4752 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4755 * pdf/Makefile.am: Build libpdfdocument.a here.
4757 * pdf/GDKSplashOutputDev.cc:
4758 * pdf/GDKSplashOutputDev.h:
4759 * pdf/GnomeVFSStream.cc:
4760 * pdf/GnomeVFSStream.h:
4763 * test-gdk-output-dev.cc
4765 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4768 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4770 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4772 Clear idle stack before unsetting the document
4774 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4776 * ps/ps-document.c: (ps_document_widget_event),
4777 (ps_document_set_target), (ps_document_finalize),
4778 (ps_document_get_page):
4780 Disconnect the widget event signal on finalize.
4783 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4785 * ps/ps-document.c: (set_up_page):
4787 If there is no bpixmap create one, even if size
4790 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4792 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4793 (set_up_page), (document_load), (ps_document_set_zoom):
4795 Default page is 0. Calculate size even when we have no
4798 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4800 * shell/ev-sidebar.c: expand the selection widget to be always as
4803 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4805 * shell/ev-sidebar-thumbnails.c:
4806 (ev_sidebar_thumbnails_set_document):
4808 Clear the list store when setting document
4810 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4812 * shell/ev-page-action.c: (update_entry), (sync_entry),
4813 (activate_cb), (entry_size_request_cb), (create_tool_item),
4816 Use an entry for the page control instead of spinbuttons
4818 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4820 * data/evince.schemas.in:
4822 Correct confusing string
4824 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4826 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4827 for real. Gosh, how long has this been broken.
4829 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4830 check for a NULL link. We crash otherwise.
4832 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4839 2005-02-25 Sebastien Bacher <seb128@debian.org>
4841 * configure.ac: add the french translation.
4843 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4845 * shell/ev-window.c:
4847 Remove unused header -> fix distcheck
4849 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4851 * shell/ev-window.c: (update_window_title),
4852 (ev_window_popup_password_dialog):
4854 Unescape filename for display
4856 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4858 * pdf/xpdf/pdf-document.cc:
4860 In get_page_size deal with rotation. Also
4861 cleanup the function a bit.
4863 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4865 * pdf/xpdf/pdf-document.cc:
4867 Fix crash when opening in new window
4869 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4873 Check ghostscript >= 7
4875 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4877 * shell/ev-window.c:
4879 Make page width the default sizing mode
4881 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4882 Marco Pesenti Gritti <marco@gnome.org>
4884 * shell/ev-window.c: Remember the sidebar size
4886 * data/evince.schemas.in: Add a new gconf key to store the size of
4889 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4891 * data/evince-ui.xml:
4892 * shell/ev-window.c: (update_action_sensitivity),
4893 (ev_window_cmd_view_reload):
4895 Add a "Reload" action and menu entry
4897 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4899 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4900 iff the type doesn't support thumbnailing and indexing.
4902 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4904 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4906 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4908 * pdf/splash/Splash.cc:
4910 Port fix for a crasher from kde bug
4911 http://bugs.kde.org/show_bug.cgi?id=97131
4913 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4915 * pdf/xpdf/pdf-document.cc:
4917 Return a link even if it's of an unrecognized
4918 type. Otherwise we go in an infinte cycle.
4920 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4922 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4923 (size_allocate_cb), (ev_window_set_sizing_mode):
4925 Update size when switching mode
4927 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4929 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4930 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4931 (ev_window_cmd_view_normal_size):
4933 Fix size toggle buttons behavior
4935 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4937 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4938 (doc_rect_to_view_rect), (ev_view_size_allocate),
4939 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4940 (scale_changed_callback):
4942 Do not cache offsets in size_allocate.
4944 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4946 * shell/ev-view.c: (ev_view_size_allocate):
4948 Calculate offsets before calling the parent
4949 class (which does a redraw)
4951 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4953 * pdf/xpdf/pdf-document.cc:
4955 Fix a crasher on exit. Unused code, put a TODO
4957 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4959 * backend/ev-document.c: (ev_document_class_init),
4960 (ev_document_page_changed), (ev_document_scale_changed):
4961 * backend/ev-document.h:
4963 Separate page/scale notifications
4965 * pdf/xpdf/pdf-document.cc:
4967 Emit the new signals.
4968 Do not display the pdf page in _render, do it
4969 when scale/page are requested.
4971 * ps/ps-document.c: (ps_document_set_zoom),
4972 (ps_document_widget_event):
4975 Emit the new signals.
4977 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4978 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4979 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4980 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4982 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4983 (ev_window_cmd_view_page_width), (size_allocate_cb),
4984 (ev_window_set_sizing_mode):
4986 Rework sizing to be pixel based.
4987 There are bugs but should be already way better.
4989 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4991 * shell/ev-window.c: (ev_window_init):
4993 Do not allow to shrink sidebar smaller then
4996 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4998 * shell/ev-sidebar.[ch]
4999 * shell/ev-window.c:
5001 Improved sidebar widget. Fixes #166683
5003 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5005 * shell/ev-view.c (update_find_status_message): Give translators
5006 more flexibility with ngettext plural handling.
5008 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5010 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5011 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5012 page when we get the page size.
5014 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5016 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5018 ps pages are 0 based, convert
5020 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5022 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5024 Initialize correct parent class. Set GError on document load
5026 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5028 * pdf/xpdf/pdf-document.cc:
5030 Fixup selection offset calculation
5032 * shell/ev-view.c: (view_rect_to_doc_rect),
5033 (doc_rect_to_view_rect), (ev_view_size_allocate),
5034 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5035 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5037 Store selection as document relative, so that zooming
5038 and offset changing doesnt break it.
5040 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5042 * shell/ev-view.c: (ev_view_best_fit):
5044 Do not try to best fit if the view is not realized
5046 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5048 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5050 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5052 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5054 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5056 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5057 the popup window. That prevents it resizing when in full screen
5060 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5061 multiple rerenders. This pretty much sucks.
5063 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5064 rest of the toolbar.
5066 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5068 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5070 2005-02-17 Alexander Shopov <ash@contact.bg>
5072 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5074 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5076 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5078 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5080 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5081 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5082 (set_document_page), (document_changed_callback),
5083 (ev_view_set_document), (ev_view_find_previous),
5084 (ev_view_hide_cursor), (ev_view_show_cursor):
5086 * shell/ev-window.c: (update_chrome_visibility),
5087 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5088 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5089 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5090 (ev_window_unfullscreen):
5091 * shell/main.c: (main):
5093 Automatically hide the fullscreen button.
5094 Patch by Kristian Høgsberg <krh@redhat.com>
5096 2005-02-16 Vincent Noel <vnoel@cox.net>
5098 * shell/main.c (main): Specify an icon for the window. Patch by
5099 Jaap A. Haitsma. Fixes #166177.
5101 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5103 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5105 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5107 * backend/ev-document-misc.h:
5108 * backend/ev-document-misc.c:
5109 (ev_document_misc_get_page_border_size),
5110 (ev_document_misc_paint_one_page): New function to canonicalize
5111 sizing/painting a border.
5113 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5116 * pdf/xpdf/pdf-document.cc: use new function
5118 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5119 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5120 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5121 shell/ev-window.c: (update_sizing_buttons),
5122 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5123 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5124 (ev_window_cmd_view_page_width), (size_allocate_cb),
5125 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5126 and "fit width" values act as toggle buttons so they stay
5127 toggled. It's not 100% perfect, and it's a little slow, but it's
5128 good enough to commit I think.
5130 2005-02-15 David Lodge <dave@cirt.net>
5132 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5134 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5136 * shell/ev-window.c (update_window_title): replace newlines in
5137 the title by spaces. Bug #166107.
5139 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5141 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5142 parameters providing allocation width and height without
5143 scrollbars and width of a possible vertical scrollbar. With this
5144 additional information the functions can work as
5145 intended. Unfortunately they're not idempotent. We should
5146 transform these commands to toggles. Fixes Bug #164976
5147 Initial patch by Stephane Loeuillet, then heavily modified.
5149 * shell/ev-view.h: update prototypes.
5151 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5152 (ev_window_cmd_view_page_width): provide EvView fit functions with
5153 all the information they need. Formulas to calculate this
5154 information taken from GtkScrolledWindow.
5156 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5158 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5159 created a thumbnail, the list store is updated to know
5160 that the thumbnail is set. Fixes bug #166792
5162 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5164 * shell/ev-window.c: fixed typo, closes bug 166897
5166 * TODO: updated TODO with bug numbers that are relevant
5168 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5170 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5172 2005-02-09 Vincent Noel <vnoel@cox.net>
5174 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5175 and "Next" toolbar buttons as important to make them stand out.
5177 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5181 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5182 (start_interpreter), (stop_interpreter), (document_load),
5183 (ps_document_next_page), (ps_document_goto_page),
5184 (ps_document_set_page_size), (ps_document_widget_event),
5185 (ps_document_render):
5186 * shell/ev-page-view.c: (ev_page_view_dispose):
5187 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5189 Fix compilation on non-gcc platforms
5191 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5198 * pdf/xpdf/Catalog.cc:
5201 Fix the fix for CAN-2004-0888
5203 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5206 * data/evince-ui.xml:
5207 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5208 * shell/ev-stock-icons.h:
5209 * shell/ev-window.c: (update_action_sensitivity),
5210 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5211 (set_action_properties):
5213 Improve toolbar layout/icons
5215 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5217 * pdf/xpdf/pdf-document.cc:
5219 Add warnings about unimplemented/unknown link
5222 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5224 * ps/ps-document.c: (set_up_page):
5228 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5230 * ps/ps-document.c: (start_interpreter):
5234 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5236 * shell/ev-page-view.c: (ev_page_view_dispose):
5237 * shell/ev-view.c: (ev_view_finalize):
5238 * shell/ev-window.c: (ev_window_setup_document),
5239 (ev_window_dispose), (ev_window_init):
5241 Solve more refs issues.
5243 I commented out the page_view initialization for now:
5244 it was never destroyed (because it's never added
5245 to a container). Because of that we was leaking
5246 gs processes. Couldnt think to a clean fix.
5247 We need to figure this out, password view has the
5248 same issue probably.
5250 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5252 * ps/ps-document.c: (ps_document_finalize),
5253 (ps_document_get_n_pages), (ps_document_get_page):
5255 Some cleanups, stop the interpreter on finalize
5257 * shell/ev-page-view.c: (ev_page_view_dispose),
5258 (ev_page_view_class_init):
5260 Release our reference on the document
5262 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5266 * doc/debugging.txt:
5269 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5270 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5271 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5274 Add debugging helpers
5277 * ps/ps-document.c: (set_up_page), (start_interpreter),
5278 (stop_interpreter), (document_load), (ps_document_next_page),
5279 (ps_document_goto_page), (ps_document_set_page_size),
5280 (ps_document_widget_event), (ps_document_render):
5281 * shell/Makefile.am:
5282 * shell/ev-view.c: (expose_bin_window):
5283 * shell/main.c: (main):
5287 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5289 * ps/ps-document.c: (ps_document_widget_event):
5291 Initialize message_window, this should make ps
5292 rendering really work! (Never noticed because I was
5293 testing with a ps that is causing gs to exit every time!)
5295 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5297 * data/evince.schemas.in: updated simple error in applyto closing tag
5299 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5305 * data/evince-ui.xml:
5306 A data/evince.schemas.in:
5308 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5309 * shell/ev-stock-icons.h:
5310 * shell/ev-window.c: (update_chrome_visibility),
5311 (update_chrome_flag), (ev_window_cmd_edit_find),
5312 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5313 (ev_window_unfullscreen), (ev_window_focus_in_event),
5314 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5315 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5316 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5317 (ev_window_dispose), (ev_window_class_init),
5318 (set_action_properties), (set_chrome_actions), (load_chrome),
5321 Implement fullscreen mode changes from bug #164776.
5322 Also implement persistent chrome toggles.
5324 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5326 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5328 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5334 Add another check for find interface
5338 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5340 * shell/ev-application.c: (ev_application_open):
5341 * shell/ev-window.c: (ev_window_open):
5343 Open gzipped ps documents
5345 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5348 * shell/ev-view.c: (set_document_page):
5350 Clamp page number, dont try to move to
5353 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5355 * backend/ev-document-find.c: (ev_document_find_changed):
5356 * backend/ev-document-find.h:
5357 * pdf/xpdf/pdf-document.cc:
5358 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5359 * shell/ev-window.c: (find_bar_search_changed_cb):
5361 Fix several bugs with find
5363 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5365 * shell/ev-sidebar-thumbnails.c
5366 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5367 document. Prevents warning from scroll_to_cell.
5369 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5371 * configure.ac: Add «nb» to ALL_LINGUAS too.
5373 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5375 * NOTES: New file with some random thoughts.
5379 * backend/ev-document-misc.c:
5380 (ev_document_misc_get_page_border_size): New function to
5381 canonicalize shadow drawing sizes. Possibly goofy.
5383 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5384 (ev_view_best_fit), (ev_view_fit_width):
5385 * pdf/xpdf/pdf-document.cc:
5386 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5387 * ps/ps-document.c: (ps_document_get_page_size):
5388 * backend/ev-document-misc.h:
5389 * backend/ev-document.c: (ev_document_get_page_size):
5390 * backend/ev-document.h: get_page_size now takes a page number
5391 parameter. Made all the backends/frontends honor it.
5393 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5394 see. Doesn't work yet.
5396 * shell/Makefile.am:
5397 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5398 Doesn't do anything yet.
5400 * shell/ev-sidebar-thumbnails.c:
5401 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5404 * shell/ev-window.c: (update_action_sensitivity),
5405 (ev_window_setup_document), (ev_window_set_page_mode),
5406 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5407 view-swapping code a bit so we can have multiple views on a
5408 document. Add the multi-page view, though it can't be turned on
5411 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5413 * shell/ev-application.c: (ev_application_open):
5414 * shell/ev-view.c: (expose_bin_window):
5415 * shell/ev-window.c: (ev_window_open):
5417 Support eps and check document supports find
5418 before drawing highlightings in expose.
5420 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5422 * pixbuf/pixbuf-document.c:
5423 (pixbuf_document_thumbnails_get_dimensions),
5424 (pixbuf_document_document_thumbnails_iface_init):
5426 implement get_dimensions
5428 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5435 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5437 * shell/ev-view.c: (set_document_page):
5439 Scroll at the top of the page when changing page
5441 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5443 * shell/ev-view.c: (ev_view_motion_notify_event):
5445 Do not redraw unnecessarily
5447 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5449 * pdf/xpdf/pdf-document.cc:
5450 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5451 (expose_bin_window), (find_changed_cb):
5453 Yay! find works now... Now to find bugs...
5455 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5457 * backend/ev-document-find.c: (ev_document_find_base_init),
5458 (ev_document_find_changed):
5459 * backend/ev-document-find.h:
5460 * pdf/xpdf/pdf-document.cc:
5461 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5462 (expose_bin_window), (ev_view_init), (set_document_page),
5463 (ensure_rectangle_is_visible), (jump_to_find_result),
5464 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5465 (ev_view_find_next), (ev_view_find_previous):
5467 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5469 More work on find implementation, mostly there now
5471 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5473 * backend/ev-backend-marshalers.list:
5474 * backend/ev-document-find.c: (ev_document_find_base_init),
5475 (ev_document_find_cancel), (ev_document_find_page_has_results),
5476 (ev_document_find_get_n_results), (ev_document_find_get_result),
5477 (ev_document_find_get_progress), (ev_document_find_changed):
5478 * backend/ev-document-find.h:
5480 Enanche the find interface to be really able to do
5483 * pdf/xpdf/pdf-document.cc:
5487 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5488 (expose_bin_window), (ev_view_init),
5489 (ev_view_get_find_status_message), (find_changed_cb),
5490 (ev_view_set_document), (set_document_page):
5492 Adapt to the new interface. A few things are regressed sorry,
5493 I will finish it soon.
5495 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5497 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5498 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5499 ev_sidebar_thumbnails_parent_class variable, don't define another
5500 parent_class variable.
5502 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5503 (ev_page_action_class_init): ditto.
5505 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5506 (pixbuf_document_class_init): ditto.
5508 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5511 * .cvsignore: ignore various valgrind output files.
5513 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5515 * data/evince-ui.xml:
5516 * shell/Makefile.am:
5517 * shell/ev-history.c:
5518 * shell/ev-history.h:
5519 * shell/ev-navigation-action.c:
5520 * shell/ev-navigation-action.h:
5521 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5522 (ev_view_set_page), (ev_view_fit_width):
5524 * shell/ev-window.c: (update_action_sensitivity),
5525 (ev_window_setup_document), (register_custom_actions):
5527 Kill session history
5529 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5531 * shell/ev-window.c: (update_action_sensitivity):
5533 Fix inverted up/down buttons
5535 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5537 * shell/ev-sidebar-thumbnails.c
5538 (ev_sidebar_thumbnails_select_page): make sure the selected
5539 thumbnail stays visible.
5541 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5543 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5544 scrolled window for Federico.
5546 2005-01-26 Ole Laursen <olau@hardworking.dk>
5548 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5550 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5553 * pdf/splash/SplashFTFontEngine.cc:
5555 Fix CID fonts with freetype 2.1.9
5557 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5559 * TODO: added item for desktop icon thumbnailer
5561 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5563 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5564 unloaded docs when the title is accessed.
5566 * shell/ev-password-view.[hc]: New widget for displaying password
5569 * shell/ev-window.[ch]: Refactor password handling code to handle
5572 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5580 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5582 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5583 ignore page offset here, to make search results independent of it,
5585 * shell/ev-view.c (expose_bin_window): but take offsets into
5586 account here. Bug #164932
5588 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5589 scale at the right time. Bug #164996
5591 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5593 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5594 fix the problem. Now I just removed the Adobe font names and hope
5595 that the URW fonts are always in outline format. Bug #164934
5597 * shell/ev-window.c (update_window_title): empty titles are
5598 useless, use filename in that case too.
5600 * NEWS: Add some content.
5602 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5604 * TODO: added one more TODO item and a TODONE section :)
5606 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5608 * ps/ps-document.h: add page_[xy]_offset fields.
5610 * ps/ps-document.c (ps_document_set_page_offset)
5611 (ps_document_render): Keep offset in consideration in a few
5612 places. Bug #164752 "postscript documents are not centered in
5615 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5616 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5618 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5619 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5620 stub out missing methods for complete EvDocument implementation.
5621 Fixes segfaults with Save A Copy and Copy actions.
5623 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5624 (ps_document_document_iface_init): ditto.
5626 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5630 * data/evince.desktop.in:
5634 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5636 * shell/ev-view.c: (ev_view_button_press_event),
5637 (ev_view_motion_notify_event):
5639 Make selection work in any direction
5641 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5644 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5646 Use shorter labels for some of the toolbars items
5648 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5650 * pdf/xpdf/pdf-document.cc:
5652 Check the links info is initialized before
5653 using it. Should fix a crash on startup.
5655 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5657 * pixbuf/pixbuf-document.c
5658 (pixbuf_document_thumbnails_get_dimensions): force floating point
5659 division to calculate page_ratio. Fixes crash with landscape
5662 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5664 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5666 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5668 * shell/ev-view.c (set_document_page): unset has_selection when
5670 (set_document_page): handle paper size changes when the page
5671 changes (test with Free Culture, page 2).
5673 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5675 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5676 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5678 Use normal style color for the widget background and
5679 draw a black box around the page.
5681 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5683 * pdf/xpdf/pdf-document.cc:
5685 Keep offset in consideration in a few places
5687 * shell/ev-view.c: (expose_bin_window):
5689 Set the offsets so that the document is ever centered
5691 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5693 * TODO: Added TODO items and finished off the first todo item
5695 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5696 reflect current authors
5698 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5700 * pdf/xpdf/pdf-document.cc:
5701 * shell/ev-view.c: (ev_view_set_cursor),
5702 (ev_view_motion_notify_event), (document_changed_callback),
5703 (set_document_page):
5705 Show a wait cursor while the page is rendering
5707 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5709 * shell/ev-sidebar-thumbnails.c:
5710 (ev_sidebar_tree_selection_changed),
5711 (ev_sidebar_thumbnails_select_page):
5712 * shell/ev-sidebar-thumbnails.h:
5713 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5714 (ev_view_can_go_forward):
5715 * shell/ev-window.c: (ev_window_open_page),
5716 (ev_window_setup_document), (update_current_page),
5717 (view_page_changed_cb), (ev_window_init):
5718 * shell/ev-window.h:
5720 Ensure thumbnails selection, toolbar page control and
5721 current page are in sync.
5723 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5729 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5731 * backend/Makefile.am:
5732 * backend/ev-document-links.h:
5733 * backend/ev-document-security.c: (ev_document_security_get_type),
5734 (ev_document_security_has_document_security),
5735 (ev_document_security_set_password):
5736 * backend/ev-document-security.h:
5737 * backend/ev-document.c: (ev_document_error_quark):
5738 * backend/ev-document.h:
5740 * data/evince-password.glade:
5741 * pdf/xpdf/pdf-document.cc:
5742 * shell/Makefile.am:
5743 * shell/ev-password.c: (ev_password_set_bad_password_label),
5744 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5745 (ev_password_dialog_get_password),
5746 (ev_password_dialog_set_bad_pass):
5747 * shell/ev-password.h:
5748 * shell/ev-window.c: (ev_window_get_attribute),
5749 (ev_window_set_property), (update_action_sensitivity),
5750 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5751 (ev_window_setup_document), (ev_window_get_password),
5752 (ev_window_open), (ev_window_cmd_save_as),
5753 (using_postscript_printer), (ev_window_print),
5754 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5755 (update_fullscreen_popup), (ev_window_fullscreen),
5756 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5757 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5758 (menu_item_select_cb), (find_bar_search_changed_cb),
5759 (ev_window_dispose), (ev_window_init):
5761 Add initial support for password-supported dialogs. This could be
5762 a lot cooler, but it'll do for now.
5764 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5766 * pdf/xpdf/pdf-document.cc:
5767 * shell/ev-view.c: (status_message_from_link),
5768 (ev_view_set_status), (ev_view_set_cursor),
5769 (ev_view_motion_notify_event), (ev_view_init):
5770 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5772 Fix bugs in the links implementation and change cursor
5773 when hovering a link.
5775 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5777 * viewer/.cvsignore: added cvsignore file for viewer directory
5779 * TODO: created TODO document
5781 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5784 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5785 new functions to help with implementation of sensitivity code
5786 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5787 of all actions that might require it. Fixes a crash when you
5788 click on the Zoom actions in a window lacking a document.
5790 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5792 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5795 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5797 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5798 (pixbuf_document_document_iface_init):
5799 * ps/ps-document.c: (ps_document_get_link),
5800 (ps_document_document_iface_init):
5801 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5802 (status_message_from_link), (ev_view_set_status),
5803 (ev_view_set_find_status), (ev_view_motion_notify_event),
5804 (ev_view_button_release_event), (ev_view_set_property),
5805 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5806 (ev_view_get_find_status_message), (update_find_results),
5807 (ev_view_get_status), (ev_view_get_find_status):
5809 * shell/ev-window.c: (view_status_changed_cb),
5810 (view_find_status_changed_cb), (ev_window_init):
5812 View status message support, use it to show the links.
5815 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5817 * backend/ev-document.c: (ev_document_get_link):
5818 * backend/ev-document.h:
5819 * pdf/xpdf/pdf-document.cc:
5820 * shell/ev-application.c: (ev_application_open):
5821 * shell/ev-application.h:
5822 * shell/ev-sidebar-links.c: (selection_changed_cb):
5823 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5824 (ev_view_go_to_link):
5826 Add support for document links
5828 2005-01-13 Anders Carlsson <andersca@gnome.org>
5830 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5832 Set the spin button limits correctly.
5834 * shell/ev-sidebar-thumbnails.c:
5835 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5836 Support changing pages by clicking on the thumbnails.
5838 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5840 * pixbuf/pixbuf-document.c:
5841 (pixbuf_document_thumbnails_get_dimensions),
5842 (pixbuf_document_document_thumbnails_iface_init):
5844 implement get_dimensions
5846 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5848 * ps/ps-document.c: (ps_document_goto_page):
5850 Fix page switching on multipage documents
5852 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5854 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5856 check for NULL before assigning to width and height parameters
5858 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5860 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5861 (pixbuf_document_set_property), (pixbuf_document_get_property):
5863 implement get/set properties
5865 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5867 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5869 return NULL instead of "Unknown", letting the title get set to
5870 the filename when the pdf has no title.
5872 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5874 * ps/ps-document.c: (ps_document_get_page_count),
5875 (ps_document_goto_page):
5877 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5879 * shell/ev-history.c: (ev_history_get_property),
5880 (ev_history_set_property), (ev_history_class_init),
5881 (ev_history_add_page), (ev_history_set_current_index):
5882 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5883 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5884 (ev_navigation_action_finalize):
5885 * shell/ev-navigation-action.h:
5886 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5887 (ev_view_go_forward), (ev_view_get_find_status_message),
5888 (history_index_changed_cb), (ev_view_set_history):
5890 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5891 (update_current_page), (register_custom_actions):
5893 Implement history dropdowns
5895 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5897 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5898 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5899 (ev_view_go_forward):
5900 * shell/ev-window.c: (register_custom_actions):
5902 Fix several history bugs
5904 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5906 * configure.ac: Add «nb» to ALL_LINGUAS.
5908 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5910 * backend/Makefile.am:
5911 * backend/ev-bookmark.c:
5912 * backend/ev-bookmark.h:
5913 * backend/ev-document-bookmarks.c:
5914 * backend/ev-document-bookmarks.h:
5915 * backend/ev-document-links.c: (ev_document_links_get_type),
5916 (ev_document_links_has_document_links),
5917 (ev_document_links_begin_read), (ev_document_links_get_link),
5918 (ev_document_links_get_child), (ev_document_links_next),
5919 (ev_document_links_free_iter):
5920 * backend/ev-document-links.h:
5921 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5922 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5923 (ev_link_get_link_type), (ev_link_set_link_type),
5924 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5925 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5926 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5927 (ev_link_new_external):
5928 * backend/ev-link.h:
5929 * pdf/xpdf/pdf-document.cc:
5930 * shell/Makefile.am:
5931 * shell/ev-application.c: (ev_application_open_link):
5932 * shell/ev-application.h:
5933 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5934 (ev_history_get_link_nth):
5935 * shell/ev-history.h:
5936 * shell/ev-sidebar-bookmarks.c:
5937 * shell/ev-sidebar-bookmarks.h:
5938 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5939 (ev_sidebar_links_class_init), (selection_changed_cb),
5940 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5941 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5942 (do_one_iteration), (populate_links_idle),
5943 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5944 * shell/ev-sidebar-links.h:
5945 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5946 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5949 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5950 * shell/ev-window.h:
5952 Rename bookmark to link, and use "Index" for the sidebar panel.
5954 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5956 * shell/Makefile.am:
5957 * shell/ev-application.c: (ev_application_open_bookmark):
5958 * shell/ev-application.h:
5959 * shell/ev-history.c: (ev_history_init), (free_links_list),
5960 (ev_history_finalize), (ev_history_class_init),
5961 (ev_history_add_link), (ev_history_add_page),
5962 (ev_history_get_link_nth), (ev_history_get_n_links),
5963 (ev_history_get_current_index), (ev_history_set_current_index),
5965 * shell/ev-history.h:
5966 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5967 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5968 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5969 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5972 * shell/ev-window.c: (ev_window_open_bookmark),
5973 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5974 (goto_page_cb), (register_custom_actions):
5975 * shell/ev-window.h:
5977 Initial history implementation. Needs work.
5979 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5981 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5983 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5985 * cut-n-paste/recent-files/egg-recent-item.c:
5986 * cut-n-paste/recent-files/egg-recent-item.h:
5987 * cut-n-paste/recent-files/egg-recent-model.c:
5988 * cut-n-paste/recent-files/egg-recent-util.c:
5989 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5990 * cut-n-paste/recent-files/egg-recent-view.c:
5994 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5996 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5997 (fillGlyph, fillImageMask, drawImage):
5998 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5999 pdf/splash/SplashTypes.h:
6000 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6001 packed mode for Splash.
6003 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6004 RGB8 packed mode, eliminates the pixbuf data creation loop.
6006 * shell/ev-print-job.c (ev_print_job_finalize)
6007 (ev_print_job_set_property, ev_print_job_get_property)
6008 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6009 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6010 (print_closure_finalize, ev_print_job_print): implement
6011 printing (for backends with EvPsExporter)
6013 * shell/ev_print_job.h: update prototypes.
6015 * shell/ev-window.c (ev_window_print): unref print job after
6018 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6019 unless the document implements the EvDocumentFind interface.
6021 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6023 * configure.ac: Added ja to ALL_LINGUAS.
6025 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6027 * pdf/xpdf/pdf-document.cc:
6029 add a FIXME. We should probably not allocate
6030 a bookmark object every time
6032 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6034 * shell/ev-application.c: (ev_application_open),
6035 (ev_application_open_bookmark):
6036 * shell/ev-application.h:
6038 Add a way to open bookmarks
6040 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6041 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6042 (ev_bookmark_set_property), (ev_bookmark_class_init),
6043 (ev_bookmark_new_title), (ev_bookmark_new_link),
6044 (ev_bookmark_new_external):
6046 Support for external uris, better constructors.
6048 * backend/ev-bookmark.h:
6049 * pdf/xpdf/pdf-document.cc:
6050 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6052 Handle external uris
6054 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6056 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6057 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6059 Hook up bookmarks navigation
6061 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6063 * backend/Makefile.am:
6064 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6065 (ev_bookmark_get_title), (ev_bookmark_set_title),
6066 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6067 (ev_bookmark_get_page), (ev_bookmark_set_page),
6068 (ev_bookmark_get_property), (ev_bookmark_set_property),
6069 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6071 * backend/ev-bookmark.h:
6072 * backend/ev-document-bookmarks.c:
6073 (ev_document_bookmarks_get_bookmark):
6074 * backend/ev-document-bookmarks.h:
6075 * pdf/xpdf/pdf-document.cc:
6076 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6078 Add a bookmark object to the backend and use it instead of get_values
6080 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6082 * data/evince-ui.xml:
6084 Cleanup and add select all.
6086 * shell/ev-view.c: (ev_view_select_all),
6087 (ev_view_button_press_event):
6089 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6092 Clear selection on click.
6094 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6096 * shell/ev-sidebar-thumbnails.c
6097 (ev_sidebar_thumbnails_set_document): forgot to unref the
6100 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6102 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6103 at the visible page, not just linearly. This makes it look fast.
6105 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6107 * backend/ev-document-misc.c
6108 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6110 * backend/ev-document-thumbnails.h: New interface to get the size
6113 2005-01-06 Jeremy Katz <katzj@redhat.com>
6115 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6118 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6120 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6121 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6124 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6126 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6128 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6129 fonts. Should fix font problems on systems that have the base
6130 fonts in bitmap format. Reported by James Henstridge
6131 <james@jamesh.id.au>.
6133 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6136 * pdf/xpdf/GfxState.cc:
6138 Fix for CAN-2004-1125
6140 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6142 * shell/ev-view.c: (ev_view_copy):
6144 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6146 Implement Edit->Copy
6148 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6150 * backend/ev-document.c: (ev_document_get_text):
6151 * backend/ev-document.h:
6152 * pdf/xpdf/pdf-document.cc:
6153 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6154 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6155 (ev_view_update_primary_selection), (ev_view_button_press_event),
6156 (ev_view_motion_notify_event), (ev_view_button_release_event):
6158 Beginnings of clipboard support. Incomplete but primary sort
6161 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6163 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6164 (expose_bin_window):
6166 Nicer rubberband drawing, from GtkIconView.
6168 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6170 * backend/ev-document.c: (ev_document_save):
6171 * backend/ev-document.h:
6172 * data/evince-ui.xml:
6173 * pdf/xpdf/pdf-document.cc:
6174 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6176 Implement "Save a copy..." menu item
6178 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6180 * shell/ev-view.c: (ev_view_zoom):
6182 Queue a resize when zoom changes
6184 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6186 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6189 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6192 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6194 * pdf/xpdf/pdf-document.cc
6195 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6197 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6199 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6200 It's slow, but I'll speed it up next!
6202 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6204 * shell/main.c (load_files):
6206 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6207 from the command line and because it seems more appropriate.
6209 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6211 * data/evince-ui.xml:
6212 * shell/ev-window.c: (update_action_sensitivity),
6213 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6215 s/next page/page down
6216 s/previous page/page up
6218 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6220 * data/evince-ui.xml:
6222 Change the layout to match clarkbw design.
6224 * shell/Makefile.am:
6225 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6226 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6227 (ev_navigation_action_finalize),
6228 (ev_navigation_action_set_property),
6229 (ev_navigation_action_get_property),
6230 (ev_navigation_action_class_init):
6231 * shell/ev-navigation-action.h:
6233 Implement clarkbw toolbar navigation controls (incomplete)
6235 * shell/ev-page-action.c: (update_label), (update_spin),
6236 (value_changed_cb), (create_tool_item), (connect_proxy),
6237 (ev_page_action_init), (ev_page_action_finalize),
6238 (ev_page_action_set_property), (ev_page_action_get_property),
6239 (ev_page_action_set_current_page),
6240 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6241 * shell/ev-page-action.h:
6243 Implement a page switcher in the toolbar
6245 * shell/ev-view.c: (ev_view_scroll_view):
6246 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6247 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6248 (register_custom_actions), (ev_window_init):
6250 Change page on PageUp/Down.
6252 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6254 * pdf/xpdf/pdf-document.cc
6255 (pdf_document_thumbnails_get_thumbnail): initial stab at
6256 implementing thumbnail support for pdfs. It only does documents
6257 with precached pdfs now.
6259 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6261 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6262 thumbnail code into a time-based idle as well. Also, turn off the
6263 shadow temporarily as it's really slow.
6265 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6267 * backend/ev-document.c: (ev_document_class_init):
6268 * pdf/xpdf/pdf-document.cc:
6269 * shell/ev-window.c: (ev_window_open):
6271 Fix document title bugs and fallback to
6272 filename when not available.
6274 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6276 * backend/ev-document.c: (ev_document_get_type),
6277 (ev_document_class_init), (ev_document_load),
6278 (ev_document_get_title):
6279 * backend/ev-document.h:
6280 * pdf/xpdf/pdf-document.cc:
6281 * ps/ps-document.c: (ps_document_set_property),
6282 (ps_document_get_property), (ps_document_class_init),
6286 * shell/ev-window.c: (update_window_title), (ev_window_open),
6289 Initial support for document title. Not working yet.
6291 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6293 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6295 Grab focus on the view when clicking it
6297 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6299 * shell/ev-marshal.list:
6300 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6301 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6303 Add key bindings to the view. Now if the focus would work
6306 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6309 * backend/Makefile.am:
6312 * dvi/dvilib/Makefile.am:
6313 * pdf/xpdf/Makefile.am:
6319 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6321 * shell/ev-view.c: (ev_view_realize):
6323 Fix mouse wheel scrolling
6325 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6331 * ps/ps-document.c: (catchPipe), (ps_document_init),
6332 (ps_document_class_init), (ps_document_cleanup),
6333 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6334 (set_up_page), (close_pipe), (is_interpreter_ready),
6335 (interpreter_failed), (output), (input), (start_interpreter),
6336 (stop_interpreter), (file_length), (file_readable),
6337 (check_filecompressed), (check_pdf), (compute_xdpi),
6338 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6339 (ps_document_get_type), (ps_document_emit_error_msg),
6340 (document_load), (ps_document_next_page),
6341 (ps_document_get_current_page), (ps_document_get_page_count),
6342 (ps_document_goto_page), (ps_document_set_page_size),
6343 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6344 (ps_document_load), (ps_document_get_n_pages),
6345 (ps_document_set_page), (ps_document_get_page),
6346 (ps_document_widget_event), (ps_document_set_target),
6347 (ps_document_set_scale), (ps_document_set_page_offset),
6348 (ps_document_get_page_size), (ps_document_render),
6349 (ps_document_document_iface_init):
6352 * shell/ev-window.c: (ev_window_open):
6354 Rename GtkGS to PSDocument
6356 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6358 * ps/gtkgs.c: (gtk_gs_class_init):
6361 Some more leftover...
6363 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6365 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6366 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6367 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6370 Remove unused code and make a lot of stuff private
6372 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6374 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6375 (gtk_gs_defaults_changed):
6381 Cleanup headers dependencies
6383 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6388 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6390 * ps/gtkgs.c: (file_length), (file_readable),
6391 (check_filecompressed), (check_pdf), (gtk_gs_load),
6392 (gtk_gs_get_postscript):
6396 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6401 * ps/gtkgs.c: (gtk_gs_set_zoom):
6405 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6407 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6409 Ensure the page is rerendered when changing zoom
6411 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6413 * backend/ev-document.c: (ev_document_base_init),
6414 (ev_document_changed):
6415 * backend/ev-document.h:
6417 Add a changed event that is emitted when the page content
6418 changes. This is necessary to deal with the fact that
6419 in ps backend rendering happen asycrounously.
6420 This makes the ps backend mostly work.
6422 * pdf/xpdf/pdf-document.cc:
6426 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6427 (ps_document_set_target):
6431 * shell/ev-view.c: (document_changed_callback),
6432 (ev_view_set_document), (ev_view_set_page):
6434 Redraw on the changed signal
6436 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6438 * configure.ac: Added pt_BR to ALL_LINGUAS.
6440 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6442 * backend/ev-document-bookmarks.c:
6443 (ev_document_bookmarks_get_child): *
6444 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6445 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6446 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6447 (ev_sidebar_bookmarks_destroy),
6448 (ev_sidebar_bookmarks_class_init),
6449 (ev_sidebar_bookmarks_construct), (stack_data_free),
6450 (do_one_iteration), (populate_bookmarks_idle),
6451 (ev_sidebar_bookmarks_clear_document),
6452 (ev_sidebar_bookmarks_set_document): *
6453 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6454 (ev_sidebar_add_page),
6455 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6456 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6457 it displays both the topics and the page numbers.
6459 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6461 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6463 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6466 2004-12-23 Adam Weinberger <adamw@gnome.org>
6468 * configure.ac: Added en_CA to ALL_LINGUAS.
6470 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6472 * ChangeLog: replace bottom of this ChangeLog (merged history of
6473 ggv and gpdf; where all paths were wrong and most of the files are
6474 not even in this tree) with ChangeLog (from arch) of the shell
6477 2004-12-23 Havoc Pennington <hp@redhat.com>
6479 * shell/ev-window.c: hook up potentially-questionable "find
6480 results status text" feature - something involving the sidebar or
6481 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6482 might be better in the end.
6484 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6485 with corresponding signal when it should be updated
6487 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6489 2004-12-22 Havoc Pennington <hp@redhat.com>
6491 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6492 find stuff on other pages, sort of (only returns one result on
6493 invisible pages, to show they have results; updates full results
6494 for a page when you view it). Currently repaints the current page
6495 every time a new result is found on any page, which isn't so nice.
6497 2004-12-22 Havoc Pennington <hp@redhat.com>
6499 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6500 the document doesn't support find (better ideas?)
6501 (find_bar_search_changed_cb): handle missing document or document
6502 that doesn't support find
6504 * pdf/xpdf/pdf-document.cc: port to implement the new
6507 * backend/ev-document-find.c: create a new interface for searching
6509 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6511 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6513 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6516 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6517 EvPrintJob constructor arguments.
6519 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6520 for documents that can export PostScript (page by page).
6522 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6524 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6525 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6526 (pdf_document_ps_exporter_iface_init:
6527 Implement EvPSExporter.
6529 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6531 2004-12-22 Anders Carlsson <andersca@gnome.org>
6533 * backend/Makefile.am:
6534 * backend/ev-document-thumbnails.c:
6535 (ev_document_thumbnails_get_type),
6536 (ev_document_thumbnails_get_thumbnail):
6537 * backend/ev-document-thumbnails.h:
6538 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6539 (pixbuf_document_thumbnails_get_thumbnail),
6540 (pixbuf_document_document_thumbnails_iface_init):
6541 * shell/Makefile.am:
6542 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6543 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6544 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6545 * shell/ev-sidebar-thumbnails.h:
6546 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6547 (ev_sidebar_set_document):
6548 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6549 (create_shadow), (ev_pixbuf_add_shadow):
6551 Add thumbnail support.
6553 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6555 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6556 (using_postscript_printer): Set up a print dialog for "PostScript
6559 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6562 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6564 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6566 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6567 (ps_document_set_target), (ps_document_get_page_size),
6568 (ps_document_render):
6573 2004-12-22 Christian Rose <menthos@menthos.com>
6575 * configure.ac: Added "sv" to ALL_LINGUAS.
6577 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6579 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6580 document supports bookmarks.
6582 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6584 * ps/ggvutils.c: (ggv_file_readable):
6586 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6587 (gtk_gs_get_postscript):
6591 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6593 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6594 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6595 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6596 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6597 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6598 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6599 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6600 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6601 (gtk_gs_set_antialiasing), (ps_document_load),
6602 (ps_document_render):
6605 Another check point for the ps backend. Now I can get it to show
6608 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6610 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6611 document setting code.
6613 2004-12-22 Anders Carlsson <andersca@gnome.org>
6615 * shell/eggfindbar.c: (entry_activate_callback):
6616 Animate the next button when activate is pressed.
6618 2004-12-22 Anders Carlsson <andersca@gnome.org>
6620 * shell/ev-window.c: (ev_window_cmd_edit_find),
6621 (update_fullscreen_popup), (ev_window_fullscreen),
6622 (ev_window_unfullscreen), (ev_window_state_event_cb),
6623 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6624 Fix bugs in fullscreen code.
6626 2004-12-22 Anders Carlsson <andersca@gnome.org>
6630 * pixbuf/Makefile.am:
6631 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6632 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6633 (pixbuf_document_set_page), (pixbuf_document_get_page),
6634 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6635 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6636 (pixbuf_document_render), (pixbuf_document_begin_find),
6637 (pixbuf_document_end_find), (pixbuf_document_finalize),
6638 (pixbuf_document_class_init),
6639 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6640 * pixbuf/pixbuf-document.h:
6641 * shell/Makefile.am:
6642 * shell/ev-application.c: (ev_application_open):
6643 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6647 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6650 * dvi/dvilib/Makefile.am:
6652 * configure.ac: Auto*ify dvi and dvi/dvilib
6654 * dvi/Makefile: Remove from CVS
6656 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6659 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6661 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6663 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6666 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6667 (gtk_gs_value_adjustment_changed), (compute_size),
6668 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6669 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6670 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6671 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6672 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6673 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6674 (ps_document_load), (ps_document_get_n_pages),
6675 (ps_document_set_page), (ps_document_get_page),
6676 (ps_document_set_target), (ps_document_set_scale),
6677 (ps_document_set_page_offset), (ps_document_get_page_size),
6678 (ps_document_render), (ps_document_begin_find),
6679 (ps_document_end_find), (ps_document_document_iface_init):
6681 * shell/Makefile.am:
6682 * shell/ev-window.c: (ev_window_open):
6684 Some work to integrate gtkgs with EvDocument
6686 2004-12-22 Anders Carlsson <andersca@gnome.org>
6688 * shell/ev-window.c: (update_fullscreen_popup),
6689 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6690 (exit_fullscreen_button_clicked_cb),
6691 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6692 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6693 (ev_window_state_event_cb), (ev_window_init):
6694 Add fullscreen support from Epiphany.
6696 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6698 * data/ev-stock-zoom-fit-width.png: fit-width
6699 stock icon from gpdf.
6701 * shell/ev-stock-icons.[ch]: copied from gpdf.
6703 * shell/main.c: (main): init stock icons.
6705 * shell/ev-window.c: use the fit-width icon.
6707 * data/evince-ui.xml: add zooming toolbar items.
6709 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6712 (ev_view_best_fit), (ev_view_fit_width): because
6713 get_page_size() returns the scaled page size, we
6714 need to calculate the scale factor relative to
6715 the previous scale factor. Should really just
6716 add get_real_page_size().
6718 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6720 * shell/ev-view.[ch]:
6721 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6722 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6725 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6726 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6727 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6730 * pdf/xpdf/pdf-document.cc:
6731 (pdf_document_begin_find),
6732 (pdf_document_end_find): make static.
6734 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6736 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6738 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6739 names to fontconfig patterns.
6740 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6742 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6745 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6761 Import ggv backend. Not hooked up yet.
6763 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6765 * shell/main.c: (load_files), (main): load files
6766 from the command line.
6768 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6770 * configure.ac: don't require bonobo.
6772 * cut-n-paste/recent-files/*: kill bonobo recent
6775 * shell/ev-window.c:
6776 (ev_window_is_empty): upd.
6777 (unable_to_load), (ev_window_open): load backend
6778 based on the mime type.
6780 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6782 * backend/.cvsignore: ignore generated marshalers source.
6784 * shell/main.c (main): this is not epiphany.
6786 2004-12-22 Havoc Pennington <hp@redhat.com>
6788 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6789 (expose_bin_window): draw find highlights
6791 * shell/ev-window.c (find_bar_search_changed_cb): implement
6793 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6794 (pdf_document_end_find): implement this interface
6796 * backend/ev-document.c (ev_document_found): add this to emit
6799 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6801 * data/evince-ui.xml: Add a few more toolbar items.
6803 * shell/ev-window.c: Hook up page navigation toolbar
6806 * shell/ev-view.[ch]: add ev_view_set/get_page and
6807 a page-changed signal.
6809 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6810 Add ev_document_get_page().
6812 * shell/ev-window.c: Sensitize/desensitize navigation
6815 2004-12-21 Havoc Pennington <hp@redhat.com>
6817 * backend/ev-backend-marshal.c,
6818 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6819 marshaler-generator thingy. I'm sure there's a better way to do
6820 this in the modern world.
6822 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6823 end_find methods and "found" signal.
6825 * configure.ac: find glib-genmarshal
6827 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6829 * shell/ev-sidebar.c: Construct an actual sidebar.
6830 * shell/ev-sidebar-bookmarks.[ch]:
6831 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6833 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6835 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6838 * shell/ev-view.c: Track the size from the document.
6840 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6842 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6843 constructor assumes ownership of the string passed in.
6845 * shell/ev-window.c (ev_window_open): Destroy the error
6846 dialog once we've displayed it.
6848 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6850 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6851 a bit, it works! (sort of)
6853 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6854 Move to .cc since we need to use C++ in the implementation.
6856 * shell/dummy.cc: Add a CC file to force evince
6857 to be linked as a C++ program.
6859 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6861 * shell/ev-view.[ch]: Start of content-area widget.
6863 * shell/ev-window.c: Create a EvView, update it
6864 as we change documents.
6866 * shell/Makefile.am shell/ev-marshal.list: Add
6867 generated marshalers.
6869 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6871 * Makefile.am (SUBDIRS): move shell.
6873 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6875 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6876 .a to libtool convenience libraries.
6878 * shell/ev-window.c (ev_window_open): Hard code loading
6881 * backend/ev-document.h: Add a boolean return to load(),
6882 fix GError * to GError **.
6884 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6885 object for a PDF backend EvDocument.
6887 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6889 * dvi/*: New directory with the beginning of a .dvi backend.
6891 2004-12-21 Havoc Pennington <hp@redhat.com>
6893 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6894 previous/next instead of back/forward
6896 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6898 * backend/ev-document.[ch]: Fix a couple of problems so
6901 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6903 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6904 to backend/ directory, rename EvViewer to EvDocument.
6906 2004-12-21 Havoc Pennington <hp@redhat.com>
6908 * shell/ev-window.c: hook up the find bar widget; now we just need
6909 a document to find things in
6911 * shell/eggfindbar.c: a find bar widget
6913 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6915 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6917 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6919 * pdf/**: Import of xpdf code from gpdf.
6921 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6923 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6924 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6925 Fix FreeType includes.
6927 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6928 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6929 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6930 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6931 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6932 Include xpdfconfig.h
6934 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6936 * shell/ev-window.c (ev_window_dispose): dispose can be called
6939 2004-12-21 Havoc Pennington <hp@redhat.com>
6941 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6944 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6945 items; really they should be synced with the strings, etc. from
6946 current gpdf, but just getting the boring typing out of the way
6948 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6951 * shell/ev-application.c: (window_destroy_cb):
6952 * shell/ev-window.c:
6953 * shell/main.c: (main):
6955 Actually show the window...
6957 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6960 * shell/Makefile.am:
6961 * shell/ev-application.c: (ev_application_class_init):
6962 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6966 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6968 Import to gnome cvs.
6970 * Remove copies of gpdf and ggv trees.
6971 * Rip out all the recursive configure code.
6972 * Remove bonobo machinery.
6973 * viewer/*: GInterfaces that backends should/can implement.
6975 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6977 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6980 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6982 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6983 (ev_application_finalize, ev_application_class_init)
6984 (ev_application_init): use GType instance private data for priv.
6986 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6987 (ev_window_finalize, ev_window_class_init)
6988 (ev_window_init): ditto.
6990 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6992 * shell/ev-application.c (ev_application_new_window): make public
6993 (ev_application_show_initial_window): kill.
6995 * shell/ev-application.h: update prototypes.
6997 * shell/main.cc (main): inline ev_application_show_initial_window.
6999 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7001 * shell/ev-application.c (ev_application_new_window): impl.
7002 (ev_application_show_initial_window): use it.
7003 (is_window_empty, ev_application_get_empty_window): returns an
7004 existing empty window or a new one.
7005 (ev_application_open): from ev_window_cmd_file_open.
7007 * shell/ev-application.h: update prototypes
7009 * shell/ev-window.c (ev_window_is_empty): impl.
7010 (ev_window_open): make public.
7011 (ev_window_cmd_file_open): use ev_application_open
7013 * shell/ev-window.h: update prototypes, remove unused.
7015 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7017 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7018 move destroy handler out of here...
7020 * shell/ev-application.c, shell/ev-application.h: ...into this new
7021 class. Also handles initial window creation.
7023 * shell/main.cc (main): use EvApplication to create initial
7026 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7028 * Makefile.am (SUBDIRS): add cut-n-paste
7030 * cut-n-paste/Makefile.am: add
7032 * configure.ac: generate Makefiles in cut-n-paste
7034 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7036 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7037 (ev_window_class_init): install ev_window_dispose.
7039 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7041 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7042 char (gchar looks stupid).
7044 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7046 * po/de.po: updated German translation.
7048 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7050 * configure.ac: add more pkg-config library checks for gnome-vfs,
7053 * gpdf/configure.in: temporarily disable libpaper
7054 checks. Otherwise I'd have to add the checks for the shell, too.
7056 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7058 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7059 and * file filters to the file choose.
7061 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7063 * po/de.po: Updated German translation.
7065 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7067 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7069 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7071 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7073 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7074 (ev_window_init): implement those menuitems.
7076 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7078 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7080 * shell/ev-window.c (ev_window_init): use the toolbar.
7082 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7084 * shell/ev-window.c (ev_window_init): use menu translations
7086 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7088 * configure.ac: add "de" to ALL_LINGUAS.
7090 * po/de.po: add German translation.
7092 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7094 * Makefile.am (SUBDIRS): add po
7096 * configure.ac: check intltool, glib-gettext etc, generate
7099 * po, po/POTFILES.in, po/POTFILES.skip: new.
7101 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7103 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7104 already use (#ifdef ENABLE_NLS)
7106 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7107 pointer indirection thinko.
7109 * shell/main.c: include gi18n.h for bindtextdomain etc.
7111 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7113 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7114 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7115 tooltips for menu items in the statusbar.
7117 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7119 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7120 pkgdatadir drop UIDIR
7122 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7124 * data/evince-ui.xml: Add File->Open menu item
7126 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7127 chooser), hook it up in the ui manager.
7129 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7131 * shell/ev-window.c: fix Help->About tooltip.
7133 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7135 * configure.ac: set CFLAGS for libevprivate.
7137 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7138 definitions, factory etc.
7140 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7142 * shell/Makefile.am: link against libevprivate.a.
7144 * shell/ev-window.c (entries): add stock icon to Help->About.
7146 * shell/main.c (main): init stock icon code.
7148 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7150 * lib/recent-files: egg recent files code
7152 * lib/Makefile.am: add.
7154 * Makefile.am: add lib subdir.
7156 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7157 set CFLAGS for recent-files.
7159 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7161 * configure.ac: disable -ansi and -pedantic gcc flags. They
7162 disable POSIX stuff in stdio.h, but egg-recent uses them.
7164 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7166 * configure.ac: add --disable-deprecated flag (defaults to on in
7169 * shell/Makefile.am (INCLUDES): use it.
7171 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7173 * shell/main.c: add missing #include.
7175 * shell/ev-window.c: fix for pedantic gcc.
7176 (ev_window_cmd_help_about): split license into paragraphs for
7177 translators and pedantic compilers.
7179 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7181 * configure.ac: add more warning flags if compiling with gcc from
7182 cvs (or explicitly requested with --enable-more-warnings).
7184 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7186 * data/evince-ui.xml: add File and File->Close menu.
7188 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7189 (ev_window_destroy): quit after destroy.
7190 (ev_window_class_init): override GtkObject::destroy.
7191 (entries): install close_window callback.
7193 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7195 * Makefile.am (SUBDIRS): add data subdir.
7197 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7198 gtk+ 2.5.0 for GtkAboutDialog.
7200 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7203 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7205 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7207 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7209 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7211 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7213 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7215 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7217 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7219 * shell/*: Added shell directory boilerplate, build it.
7221 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7223 * configure.ac, Makefile.am: Added top-level configure.ac and