1 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-password.c: (ev_password_item_created_callback),
4 (ev_password_dialog_save_password):
6 Fix for bug 316972. Use async gnome-keyring API.
8 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
10 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
11 Remove unused unrealize handler. Add scroll handling to
12 ev_view_scroll_event for presentation mode (bug #316708),
13 and fix the event state checks there.
15 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
17 * shell/ev-page-action.c: (page_changed_cb):
19 "marco, maybe we should be crazy and jump right to 6! :)"
23 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
25 * ps/ps-document.c: (save_document), (ps_document_save),
26 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
27 (ps_document_ps_export_end):
29 Fix unstructured documents save and print
31 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
33 * shell/ev-application.c: (ev_application_open_uri):
35 Fix window size persistance
37 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
39 * shell/ev-view.c: (ev_view_button_release_event):
41 Based on a patch from carlosgc@gnome.org. Mouse buttons
42 switch pages in presentation mode.
44 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
46 * shell/ev-page-cache.c: (ev_page_cache_get_size):
48 Dont cast to int before scaling
50 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
52 * backend/ev-link.c: (ev_link_type_get_type),
53 (ev_link_new_page_xyz), (ev_link_new_page_fit),
54 (ev_link_new_page_fith):
57 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
59 Implement FIT and FITH links
61 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
65 Return 0 results when search is not in progress.
67 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
68 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
70 Update menu sensitivity when cancelling search
72 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
74 * shell/ev-view.c: (ev_view_can_find_next):
76 Take all pages in consideration, not just current one
78 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
80 * shell/ev-page-cache.c:
81 * shell/ev-page-cache.h:
82 * shell/ev-view.c: (ev_view_binding_activated),
83 (ev_view_next_page), (ev_view_previous_page),
84 (ev_sizing_mode_get_type):
86 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
87 (ev_window_cmd_go_next_page):
89 Move page next/previous functions from page chace to
90 view and change it to move by 2 page steps in dual mode.
92 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
94 * shell/ev-window.c: (update_sidebar_visibility),
95 (setup_sidebar_from_metadata), (ev_window_setup_document),
96 (setup_view_from_metadata):
98 Show the index by default when there is one
100 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
102 * shell/ev-window-title.c: (ev_window_title_set_document):
106 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
108 * shell/ev-view.c: (view_update_range_and_current_page):
110 Allow display of last odd page in dual view. Fix for 316347.
112 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
114 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
116 Make close button default. Fix for 316383.
118 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
120 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
122 Mark close button as default. Fix for 316381.
124 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
126 * backend/ev-link.c: (ev_link_class_init):
128 Allow negative doubles in left/top properties
130 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
134 Remove a bunch of strings that was used only
137 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
139 * shell/ev-window-title.c: (get_filename_from_uri),
140 (ev_window_title_set_document):
142 When title has a confusing extension, show also
143 the document filename inside ()
145 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
148 * shell/ev-window-title.c: (ev_window_title_new),
149 (ev_window_title_update), (ev_window_title_set_type),
150 (ev_window_title_set_document), (ev_window_title_free):
151 * shell/ev-window-title.h:
152 * shell/ev-window.c: (ev_window_setup_document),
153 (password_dialog_response), (ev_window_popup_password_dialog),
154 (ev_window_dispose), (ev_window_init):
156 Factor out and cleanup window title code
158 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
160 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
163 Make dialog transient so it doesnt block other windows
165 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
169 Fix pdf thumbnails rendering.
171 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
173 * shell/ev-window.c: (fullscreen_set_timeout):
175 Increase timeout to hide full screen popup. Bug
178 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
180 * data/evince.schemas.in:
181 * shell/ev-window.c: (update_action_sensitivity):
183 Allow the user to override document restrictions. Fix for bug
186 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
188 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
189 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
190 (ev_window_class_init): Fix multihead behaviour of fullscreen
191 toolbar popup. Fixes bug #315451.
193 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
196 * data/evince-password.glade:
197 * shell/ev-password.c: (ev_password_dialog_set_property),
198 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
199 (ev_password_dialog_init), (ev_password_set_bad_password_label),
200 (ev_password_dialog_entry_changed_cb),
201 (ev_password_dialog_entry_activated_cb),
202 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
203 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
204 (ev_password_dialog_set_bad_pass):
205 * shell/ev-password.h:
206 * shell/ev-window.c: (password_dialog_response),
207 (ev_window_popup_password_dialog):
209 Support for gnome-keyring for encrypted PDF's.
211 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
213 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
214 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
215 (ev_view_enter_notify_event), (ev_view_class_init):
217 More precise handling of enter_notify/leave_notify events
218 in EvView. Fix for bug 315470.
220 2005-09-08 Christopher Aillon <caillon@redhat.com>
222 * shell/ev-window.c: (fullscreen_timeout_cb),
223 (fullscreen_set_timeout), (fullscreen_clear_timeout),
226 leak fix: unref fullscreen_timeout_source before clearing it
228 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
230 * configure.ac, dvi/mdvi/Makefile.am:
232 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
234 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
236 * backend/ev-link.c: (ev_link_new_page_xyz):
238 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
240 Fix some bugs with xyz links, respect zoom
242 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
244 * shell/ev-window.c: (page_changed_cb),
245 (setup_document_from_metadata), (update_sidebar_visibility),
246 (setup_view_from_metadata), (ev_window_run_fullscreen),
247 (ev_window_stop_fullscreen), (ev_window_run_presentation),
248 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
249 (ev_window_dual_mode_changed_cb),
250 (ev_window_sidebar_current_page_changed_cb):
252 null check uri before setting and getting metadata
254 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
257 * properties/Makefile.am:
259 * thumbnailer/Makefile.am:
261 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
263 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
265 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
266 (selection_changed_callback):
267 * shell/ev-sidebar-links.h:
269 Add a signal for link activation.
271 * shell/ev-view.c: (ev_view_goto_link),
272 (ev_view_button_release_event):
274 * shell/ev-window.c: (sidebar_links_link_activated_cb),
277 Implement the signal so that we can handle all link types.
279 * shell/ev-page-cache.c:
281 Remove unused set_link function
283 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
285 * lib/ev-tooltip.c: (ev_tooltip_set_position):
287 Add some space from the cursor, hardcoded but I couldnt
290 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
294 Use mozilla style vs gtk style, way better for links.
296 * shell/ev-view.c: (ev_view_motion_notify_event),
297 (ev_view_destroy), (ev_view_init):
299 Deactive tooltip when the link hovered is changed.
301 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
303 * backend/ev-document.h:
304 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
305 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
306 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
307 (ev_link_new_page), (ev_link_new_page_xyz):
310 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
311 (go_to_link), (tip_from_link):
313 Implement xyz links, still not functional. Links are a total
314 mess, will need to refactor and bugfix a lot :(
316 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
318 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
320 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
322 * data/evince-ui.xml:
323 * data/evince.schemas.in:
325 * shell/ev-window.c: (update_chrome_visibility),
326 (password_dialog_response), (ev_window_load_job_cb),
327 (ev_window_xfer_job_cb), (ev_window_open_uri),
328 (ev_window_class_init), (set_chrome_actions), (load_chrome),
331 Remove the statusbar. This regress loading feedback, need to
332 check with Bryan what we want to do there...
334 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
336 * lib/ev-tooltip.c: (ev_tooltip_init):
338 Fix tooltip border and size handling
340 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
342 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
343 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
344 (ev_tooltip_timeout), (ev_tooltip_activate),
345 (ev_tooltip_deactivate):
347 * shell/ev-view.c: (ev_view_motion_notify_event):
349 Delay popup showing. Mirror gtk logic/times.
351 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
354 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
355 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
356 (ev_tooltip_set_text), (ev_tooltip_set_position):
359 Simple widget to show tooltips at a custom position
361 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
364 Use it for links. First go, needs work
366 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
368 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
369 HIG fixes. Use title capitalization for window title. Use 12
370 pixels of space between the dialog's vbox and action area.
372 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
374 * shell/ev-window.c: (file_open_dialog_response_cb),
375 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
376 (ev_window_cmd_save_as):
378 Make file pickers not modal and refactor code some
380 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
382 * shell/ev-sidebar.h:
383 * shell/ev-sidebar.c: (ev_sidebar_set_property),
384 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
385 (ev_sidebar_class_init), (ev_sidebar_select_page),
386 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
387 (ev_sidebar_set_page):
389 Add a current page property and allow to get/set it
391 * shell/ev-window.c: (setup_view_from_metadata),
392 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
394 Persist current sidebar page per document
396 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
398 * data/evince.schemas.in:
399 * shell/ev-window.c: (update_chrome_visibility),
400 (setup_document_from_metadata), (update_sidebar_visibility),
401 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
402 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
403 (ev_window_run_presentation), (ev_window_stop_presentation),
404 (ev_window_view_sidebar_cb),
405 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
406 (load_chrome), (ev_window_init):
408 Persist size/visibility of sidebar per document
410 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
412 * shell/ev-view.c (draw_loading_text): Draw loading text.
414 2005-09-02 Dan Damian <dand@gnome.ro>
416 * configure.in: Added "ro" to ALL_LINGUAS.
418 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
420 * shell/ev-view.c: (clear_caches):
422 ev_page_cache_get doesnt return a reference,
423 dont try to unref it.
425 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
427 * shell/main.c: (load_files_remote):
429 Fix timestamp parameter with dbus <= 0.33
431 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
433 * data/evince.schemas.in:
435 Add missing full stop
437 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
439 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
440 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
442 Plug some memory leaks
444 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
447 * lib/ev-debug.c: (trap_handler):
449 Check for execinfo.h and use it only if it exists.
450 Ported from Epiphany (bug #314776).
452 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
454 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
456 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
458 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
459 * po/id.po : Added Indonesian translation
461 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
464 * shell/ev-application.c: Last minute GTK-2.6 fixes.
465 * NEWS: Release 0.4.0
467 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
469 * configure.ac: catch another gtk+-2.8ism
470 * shell/main.c: Make work with gtk+-2.6
472 2005-08-25 Ryan Lortie <desrt@desrt.ca>
474 * shell/ev-application-service.xml: Add 'timestamp' argument to
475 ev_application_open_window and ev_application_open_uri methods.
477 * shell/ev-application.h: Add 'timestamp' argument to
478 ev_application_open_window, ev_application_open_uri,
479 and ev_application_open_uri_list functions.
481 * shell/ev-application.c (ev_application_open_window,
482 ev_application_open_uri, ev_application_open_uri_list): Change
483 functions that show/present windows to use a timestamp if one
486 * shell/ev-window.c (ev_window_cmd_file_open,
487 ev_window_cmd_recent_file_activate, drag_data_received_cb):
488 * shell/main.c (load_files): Modify calls to ev_application to
489 include GDK_CURRENT_TIME as timestamp.
491 * shell/main.c (load_files_remote): Obtain timestamp for client
492 instance from GDK and pass to server instance so new windows are
493 focused properly. Fix dbus_g_proxy_call() calls by including second
498 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
500 * shell/ev-window.c (ev_window_finalize): Check for
501 avail. EvWindows when quiting to handle the finalize better,
504 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
506 * properties/ev-properties-view.c:
508 Set textdomain to libglade. Fixes translation problem in property page.
510 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
512 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
514 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
515 * dvi/mdvi-lib/Makefile.am:
517 Fix rotation of thumbnails, ported to new API. Moved library
518 dependencies earlier, probably it will fix linkage problem.
520 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
522 * backend/ev-document-misc.c:
523 (ev_document_misc_get_thumbnail_frame):
524 * backend/ev-document-misc.h:
528 * shell/ev-sidebar-thumbnails.c: (add_range),
529 (ev_sidebar_thumbnails_set_loading_icon),
530 (ev_sidebar_thumbnails_refresh),
531 (ev_sidebar_thumbnails_set_document):
532 * shell/ev-sidebar-thumbnails.h:
533 * shell/ev-view.c: (ev_view_motion_notify_event),
534 (ev_view_set_property), (ev_view_get_property),
535 (ev_view_class_init), (ev_view_set_rotation):
536 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
537 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
539 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
540 Redo rotation (again). prepare for 0.4.0
542 2005-08-24 Kristian Høgsberg <krh@redhat.com>
544 * configure.ac: Bump poppler requirement to 0.4.1.
546 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
547 argument to poppler_page_render_selection() call.
549 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
551 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
552 (djvu_document_thumbnails_get_thumbnail):
553 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
554 (dvi_document_thumbnails_get_thumbnail):
555 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
556 (pixbuf_document_thumbnails_get_thumbnail):
557 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
559 Update rotation direction of backends to fit with pdf and ps.
561 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
563 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
564 * backend/ev-async-renderer.h:
565 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
566 (setup_page), (ps_document_get_page_size),
567 (ps_async_renderer_render_pixbuf):
569 * shell/ev-jobs.c: (ev_job_render_run):
571 Fix orientation in the postscript document
573 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
576 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
577 * shell/ev-view.c: (highlight_find_results):
579 Adapt to the new poppler rotation API. Fix text maps on landscape
582 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
584 * shell/ev-view.c (compute_new_selection_text): get the correct
585 region when selecting in modes other than continuous.
587 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
589 * shell/main.c (main): remove redundant g_warnings.
591 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
593 * shell/Makefile.am: Don't include autogenerated
594 file ev-application-service.h into distribution, since
595 it causes dbus crash. Fix for bugs 313724 and 313443.
597 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
599 * configure.ac: Fix sed expression for FreeBSD. Thanks
600 to Joe Marcus Clark <marcus@freebsd.org>
602 * shell/eggfindbar.c: (entry_activate_callback),
603 (entry_changed_callback), (egg_find_bar_init),
604 (egg_find_bar_set_search_string):
606 Made findbar buttons unsensitive if there is no text in
607 entry. Fix for the bug 313285.
609 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
611 * ps/ps-document.c: Use g_filename_display_name for displaying
612 filenames and revert string freeze breackage
614 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
623 Add ev-application-service.xml to extra dist
625 * shell/ev-view.c: (find_page_at_location):
627 Remove unused function (fix warning)
629 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
631 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
632 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
634 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
637 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
639 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
643 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
645 * configure.ac: Update script to get dbus version.
646 Fix for the bug #313443.
648 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
650 * shell/ev-window.c: (ev_window_cmd_escape):
652 Return focus back to view on escape. Fix for bug 313295.
654 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
656 * shell/ev-window.c: (update_window_title),
657 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
658 (ev_window_cmd_save_as):
660 Correct conversion from uri to displayable string. Fix for
663 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
665 * ps/ps-document.c: convert filename to utf8 when there is an error
666 loading document. Fixes #309915
668 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
672 We depend on poppler 0.4.0
674 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
677 * NEWS: Release 0.3.3.
678 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
680 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
682 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
683 add a couple missing mnemonics to menu items, use title
684 capitalization for menu items and window titles, and add
685 ellipsis to open menu item.
687 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
690 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
691 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
692 (ev_view_get_rotation):
694 * shell/ev-window.c: (setup_view_from_metadata),
695 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
696 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
699 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
701 * configure.ac: Added tr to ALL_LINGUAS
703 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
705 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
706 requires several clicks to find word. Thanks to
707 Colin Slater <kiltedtaco@gmail.com>.
709 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
711 * data/evince.desktop.in.in: Hide menu entry and
712 rename it to "Document Viewer". Fix for bug
715 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
717 * shell/ev-page-action.c (ev_page_action_class_init):
719 Point to the correct function in constructor of the
720 activate_label signal
722 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
724 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
725 * shell/ev-jobs.h: Make thread safe.
727 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
729 * shell/ev-view.c: (view_update_range_and_current_page):
730 Don't update page range if we are scrolling to some document
733 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
735 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
736 when getting max_page_width, fix drawing in dual mode.
738 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
740 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
741 getting the area for select_all.
743 2005-08-06 Kristian Høgsberg <krh@redhat.com>
745 * backend/ev-selection.c: (ev_selection_render_selection):
746 * backend/ev-selection.h:
748 * shell/ev-jobs.c: (ev_job_render_new):
750 * shell/ev-pixbuf-cache.c: (get_selection_colors),
751 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
752 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
753 (ev_view_class_init):
755 Change selection color on focus in and focus out events. Also,
756 poppler now uses GdkColor for specifying the selection colors, so
757 drop some awkward conversion code.
759 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
761 * configure.ac: Added Hebrew translation
763 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
766 * backend/ev-selection.c: (ev_selection_render_selection):
767 * backend/ev-selection.h:
769 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
772 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
773 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
774 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
775 (ev_pixbuf_cache_style_changed),
776 (ev_pixbuf_cache_get_selection_pixbuf),
777 (ev_pixbuf_cache_set_selection_list),
778 (ev_pixbuf_cache_get_selection_list):
779 * shell/ev-pixbuf-cache.h:
780 * shell/ev-utils.c: (ev_print_region_contents):
782 * shell/ev-view.c: (ev_view_queue_draw_page),
783 (selection_update_idle_cb), (ev_view_motion_notify_event),
784 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
785 (setup_caches), (ev_view_find_next), (merge_selection_region),
787 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
789 Clean up selection to be much smoother!
791 2005-08-05 Kristian Høgsberg <krh@redhat.com>
793 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
794 to poppler_page_render_selection().
796 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
798 * ps/ps-document.c: (save_page_list): Use
799 unzipped document when printing. Thanks to
800 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
803 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
805 * shell/ev-window.c: (update_action_sensitivity):
807 Disable print and save respect to lockdown gconf keys. Fix
810 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
813 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
814 (write_to_temp_file), (ev_file_set_contents):
816 * shell/ev-window.c: (save_print_config_to_file):
818 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
821 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
823 * shell/ev-window.c: (load_print_config_from_file),
824 (save_print_config_to_file), (ev_window_print_range):
826 Persist the print settings. Fixes bug #311578.
828 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
830 * djvu/djvu-document.c: (djvu_document_get_page_size),
831 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
832 (djvu_document_thumbnails_get_thumbnail):
833 * dvi/dvi-document.c: (dvi_document_get_page_size),
834 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
835 (dvi_document_thumbnails_get_dimensions),
836 (dvi_document_thumbnails_get_thumbnail):
837 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
838 (pixbuf_document_render_pixbuf),
839 (pixbuf_document_document_iface_init),
840 (pixbuf_document_thumbnails_get_thumbnail):
842 Update backends to make them build with new rotation system.
844 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
846 * help/C/figures/evince_start_window.png:
848 Update documentation image from Luca Ferretti <elle.uca@libero.it>
850 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
852 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
853 * shell/ev-pixbuf-cache.h:
854 * shell/ev-sidebar-thumbnails.c:
855 (ev_sidebar_thumbnails_get_property), (add_range),
856 (adjustment_changed_cb):
857 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
858 pixbuf cache. Make thumbnailing work again. Also, fix bug where
859 we were thumbnailing the entire docment on startup, slowing us
862 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
864 * shell/ev-page-cache.c: (ev_page_cache_new):
865 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
868 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
870 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
871 (ev_view_rotate_left):
873 Account rotation in doc_rect_to_view_rect.
874 Ensure rotation doesnt go out of bounds.
876 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
878 * shell/ev-page-cache.c: (ev_page_cache_get_size):
880 Correct and cleanup w/h swapping
882 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
884 * backend/ev-document-thumbnails.c:
885 (ev_document_thumbnails_get_thumbnail):
886 * backend/ev-document-thumbnails.h:
887 * backend/ev-document.c:
888 * backend/ev-document.h:
889 * backend/ev-render-context.c: (ev_render_context_new),
890 (ev_render_context_set_rotation):
891 * backend/ev-render-context.h:
893 * ps/ps-document.c: (ps_document_document_iface_init):
894 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
896 * shell/ev-page-cache.c: (build_height_to_page),
897 (ev_page_cache_new), (ev_page_cache_get_size),
898 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
899 (ev_page_cache_get_height_to_page):
900 * shell/ev-page-cache.h:
901 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
902 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
903 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
904 (ev_pixbuf_cache_get_selection_pixbuf):
905 * shell/ev-pixbuf-cache.h:
906 * shell/ev-print-job.c: (idle_print_handler):
907 * shell/ev-sidebar-thumbnails.c: (add_range):
908 * shell/ev-view.c: (view_update_range_and_current_page),
909 (get_page_y_offset), (get_page_extents),
910 (ev_view_size_request_continuous_dual_page),
911 (ev_view_size_request_continuous),
912 (ev_view_size_request_dual_page),
913 (ev_view_size_request_single_page), (draw_one_page),
914 (ev_view_set_rotation), (ev_view_rotate_right),
915 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
916 (ev_view_zoom_for_size_continuous_and_dual_page),
917 (ev_view_zoom_for_size_continuous),
918 (ev_view_zoom_for_size_dual_page),
919 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
920 (ev_view_select_all):
921 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
922 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
923 (tiff_document_document_iface_init),
924 (tiff_document_thumbnails_get_thumbnail):
926 Use rotation rather than orientation. It's easier and enough
929 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
931 * shell/ev-page-cache.c: (build_height_to_page),
932 (ev_page_cache_new), (ev_page_cache_get_size),
933 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
934 (ev_page_cache_get_height_to_page):
935 * shell/ev-page-cache.h:
936 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
937 (ev_view_size_request_continuous_dual_page),
938 (ev_view_size_request_continuous),
939 (ev_view_zoom_for_size_continuous_and_dual_page),
940 (ev_view_zoom_for_size_continuous):
942 Make the page cache aware of page orientation.
944 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
946 * backend/ev-document-thumbnails.c:
947 (ev_document_thumbnails_get_thumbnail):
948 * backend/ev-document-thumbnails.h:
949 * backend/ev-document.c:
950 * backend/ev-document.h:
951 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
952 * backend/ev-ps-exporter.h:
954 * ps/ps-document.c: (ps_document_document_iface_init),
955 (ps_document_ps_export_do_page):
956 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
958 * shell/ev-page-cache.c: (ev_page_cache_get_size),
960 * shell/ev-page-cache.h:
961 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
962 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
963 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
964 * shell/ev-pixbuf-cache.h:
965 * shell/ev-print-job.c: (idle_print_handler):
966 * shell/ev-sidebar-thumbnails.c: (add_range):
967 * shell/ev-view.c: (view_update_range_and_current_page),
968 (get_page_extents), (ev_view_size_request_dual_page),
969 (ev_view_size_request_single_page), (draw_one_page),
970 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
971 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
972 (ev_view_zoom_for_size_dual_page),
973 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
974 (ev_view_select_all):
975 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
976 * tiff/tiff-document.c: (tiff_document_get_page_size),
977 (tiff_document_get_orientation), (rotate_pixbuf),
978 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
979 (tiff_document_thumbnails_get_thumbnail),
980 (tiff_document_ps_export_do_page), (tiff_document_init):
982 Really make use of the orientation bit of the render context.
983 Use the render context in a few more places in the backend API.
984 This regress orientation, but now it's done right. Will try to
987 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
989 * shell/ev-view.c: (ensure_rectangle_is_visible):
991 Patch by Nickolay V. Shmyrev to fix find flickering
993 2005-07-27 Martin Kretzschmar <martink@gnome.org>
995 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
996 duplex parameters to ::begin.
998 * tiff/tiff-document.c (tiff_document_ps_export_begin):
999 * shell/ev-print-job.c (idle_print_handler):
1000 * ps/ps-document.c (ps_document_ps_export_begin):
1001 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1002 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1003 implementations. Poppler backend needs poppler cvs. Rest has
1006 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1008 * shell/ev-window.c (using_pdf_printer): new function.
1009 (ev_window_print_range): print a less techy message if someone
1010 tries to print to PDF.
1012 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1014 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1015 from "unknown font" string. Bug #311431
1017 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1019 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1021 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1025 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1026 name for PopplerFontTypes
1027 (pdf_document_fonts_fill_model): add font type to the detail column
1029 * backend/ev-document-fonts.h: added
1030 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1032 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1033 font name and font details, add a little markup.
1034 (ev_properties_fonts_init): use the new cell data func, specify ypad
1035 property for the cell renderer.
1036 (ev_properties_fonts_set_document): add the details column.
1038 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1040 * configure.ac: Added "pl" to ALL_LINGUAS.
1042 2005-07-24 Danilo Šegan <danilo@gnome.org>
1044 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1046 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1048 * help/ChangeLog: Started this for translations of manual.
1049 * configure.ac, autogen.sh, .cvsignore: Migrated to
1050 gnome-doc-utils. Patch in bug #311222.
1052 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1054 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1055 #ifdef this away to fix an unused-function warning.
1057 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1059 * configure.ac: Added 'gl' to ALL_LINGUAS.
1061 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1063 * configure.ac: Added ne in ALL_LINGUAS
1065 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1067 * shell/ev-view.c: (ev_view_leave_notify_event):
1069 Clear status message when pointer leaves view. Fix for bug
1072 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1074 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1076 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1078 * shell/ev-view.c: (ev_view_leave_notify_event),
1079 (ev_view_class_init):
1081 Set cursor to normal then leaving view.
1083 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1087 Fix required djvulibre version.
1089 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1091 *configure.ac: Hindi (hi) language added
1093 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1095 *configure.ac: Punjabi (pa) Language added
1097 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1099 * data/evince-ui.xml, shell/ev-window.c:
1101 Add keypad accelerators for zooming. Fix for bug 308128.
1103 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1106 * backend/Makefile.am:
1107 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1109 * shell/ev-document-types.c: (ev_document_types_add_filters):
1111 Allow to enable/disable the pixbuf backend.
1112 Default to off for now. If we want it enabled we should
1113 really put mime types in the desktop, implement properties etc.
1115 * properties/evince-properties.c:
1117 Initialize error to NULL.
1118 Check error is not NULL before freeing.
1120 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1122 * shell/ev-window.c:
1124 Use F5 as presentation accell
1126 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1128 * shell/ev-window.c: (update_chrome_visibility),
1129 (ev_window_create_fullscreen_popup), (ev_window_init):
1131 Do not leak the fullscreen toolbar
1133 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1135 * shell/ev-window.c: (view_actions_focus_in_cb),
1136 (view_actions_focus_out_cb):
1138 These has a return value! Fix totally random focus
1139 issues we was seeing.
1141 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1143 * shell/main.c: (load_files_remote):
1145 Allow open more than one file
1147 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1149 * shell/main.c: (load_files_remote):
1151 Fix for dbus 0.33. bug #309975
1153 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1155 * properties/ev-properties-main.c: (ev_properties_get_pages):
1157 Actually return NULL for types we dont support
1159 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1165 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1167 * backend/ev-document-factory.c:
1168 (ev_document_factory_get_document):
1170 Do not try to create the object if type
1173 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1175 * ps/ps-document.c: (ps_document_dispose),
1176 (ps_async_renderer_render_pixbuf):
1179 Do not leak the target window
1181 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1183 * shell/ev-application.c: (ev_application_init):
1185 Let tbe check file existence for us.
1186 Add a comment about eggrecent mime filter.
1188 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1190 * data/evince-ui.xml:
1191 * shell/ev-application.c: (ev_application_shutdown),
1192 (ev_application_init), (ev_application_get_toolbars_model),
1193 (ev_application_get_recent_model),
1194 (ev_application_save_toolbars_model):
1195 * shell/ev-application.h:
1196 * shell/ev-window.c: (ev_window_add_recent),
1197 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1198 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1201 Use common toolbar and recent models for all windows.
1202 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1204 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1206 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1207 successfully check for gtk_icon_view_get_visible_range.
1209 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1214 Fix djvu and dvi backend build.
1216 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1218 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1219 (new_separator_pixbuf):
1223 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1225 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1227 HIGification of toolbar editor dialogue.
1229 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1232 * shell/Makefile.am:
1234 Ever build metadata manager since it's just
1235 disabled at runtime now.
1237 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1239 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1240 (ev_metadata_manager_get), (ev_metadata_manager_set):
1241 * shell/ev-metadata-manager.h:
1243 Add an _init functions that enabled metadata management
1246 * shell/ev-window.c: (page_changed_cb),
1247 (setup_document_from_metadata), (ev_window_setup_document),
1248 (setup_view_from_metadata), (ev_window_open_uri),
1249 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1250 (ev_window_run_presentation), (ev_window_stop_presentation),
1251 (save_sizing_mode), (ev_window_zoom_changed_cb),
1252 (ev_window_continuous_changed_cb),
1253 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1254 (window_configure_event_cb):
1256 Remove all ugly metadata define since we deal with it
1259 * shell/main.c: (load_files_remote), (main):
1261 Add support for dbus cvs head. Hopefully didnt break one
1262 of the other versions now!
1264 If we dont get a response from the dbus server just
1265 give up with it and not enable metadata.
1267 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1270 * backend/Makefile.am:
1272 * cut-n-paste/recent-files/Makefile.am:
1273 * cut-n-paste/toolbar-editor/Makefile.am:
1274 * cut-n-paste/zoom-control/Makefile.am:
1277 * pixbuf/Makefile.am:
1278 * properties/Makefile.am:
1280 * shell/Makefile.am:
1281 * thumbnailer/Makefile.am:
1284 Make frontends depend on just libev.
1285 Rework and group CFLAGS/LIBS definitions.
1288 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1292 do not unnecessarily save zoom
1295 * lib/ev-file-helpers.c: (ev_dot_dir):
1296 * shell/Makefile.am:
1301 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1305 Remove unnecessary dependencies
1307 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1309 * properties/Makefile.am:
1310 * thumbnailer/Makefile.am:
1313 Some more cleanups. Was really necessary
1314 but I probably introduced bugs, feel free
1317 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1319 * backend/Makefile.am:
1321 * cut-n-paste/recent-files/Makefile.am:
1322 * cut-n-paste/toolbar-editor/Makefile.am:
1323 * cut-n-paste/zoom-control/Makefile.am:
1326 * pixbuf/Makefile.am:
1327 * properties/Makefile.am:
1329 * shell/Makefile.am:
1330 * thumbnailer/Makefile.am:
1333 Use gnome-common macros when possible.
1334 Cleanup dependencies.
1335 Actually disable deprecated where possible.
1337 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1340 * backend/Makefile.am:
1341 * properties/Makefile.am:
1342 * shell/Makefile.am:
1343 * thumbnailer/Makefile.am:
1345 This should solve the circular dep without
1346 requiring dir reorg!
1348 * shell/ev-window.c: (setup_view_from_metadata):
1350 Never restore window size/position when the
1351 window is already visible.
1353 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1355 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1357 Return a boolean from timeout func. Fix ported from gedit.
1359 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1361 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1363 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1365 * shell/ev-document-types.c: set "All Documents" as default filter in
1368 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1370 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1371 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1372 (ev_metadata_manager_set_boolean): fix value/val thinko.
1374 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1376 * shell/ev-window.c: (setup_view_from_metadata),
1377 (window_state_event_cb), (window_configure_event_cb),
1380 Remember window position and maximized state
1382 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1386 Fix DBUS configure checks.
1388 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1389 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1390 (ev_metadata_manager_set_boolean):
1394 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1395 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1396 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1397 (ev_window_continuous_changed_cb),
1398 (ev_window_dual_mode_changed_cb), (ev_window_new):
1400 Fix the build without DBUS.
1402 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1404 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1405 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1406 (ev_metadata_manager_set_string),
1407 (ev_metadata_manager_set_boolean):
1408 * shell/ev-metadata-manager.h:
1410 Add support for some more types
1412 * shell/ev-view.c: (scroll_to_current_page),
1413 (ev_view_get_continuous), (ev_view_set_continuous),
1414 (ev_view_get_dual_page):
1416 * shell/ev-window.c: (page_changed_cb),
1417 (setup_document_from_metadata), (ev_window_setup_document),
1418 (setup_view_from_metadata), (ev_window_open_uri),
1419 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1420 (ev_window_run_presentation), (ev_window_stop_presentation),
1421 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1422 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1423 (ev_window_update_dual_page_action),
1424 (ev_window_continuous_changed_cb),
1425 (ev_window_dual_mode_changed_cb), (ev_window_init):
1427 Remember a bunch of view/document properties. Prolly some
1428 are still missing but it's getting interesting.
1430 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1432 * configure.ac: check if dbus-binding-tool is installed. Not the
1433 case on current Ubuntu breezy, it seems.
1435 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1437 * data/evince.desktop.in.in:
1439 Allow open uri lists and add TryExec field.
1441 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1445 Enable dbus when available, do not require a configure
1448 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1452 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1455 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1456 Marco Pesenti Gritti <mpg@redhat.com>
1458 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1460 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1461 functions to the format required by dbus
1463 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1464 errors. Use the RPC parameters in the expected way
1466 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1469 * properties/Makefile.am:
1470 * properties/ev-properties-main.c: (ev_properties_get_pages):
1472 Support all mime types
1474 * shell/Makefile.am:
1475 * thumbnailer/Makefile.am:
1476 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1477 (evince_thumbnail_pngenc_get):
1479 Use the document factory
1481 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1483 * backend/Makefile.am:
1484 * backend/ev-document-factory.c:
1485 (mime_type_supported_by_gdk_pixbuf),
1486 (ev_document_type_get_from_mime),
1487 (ev_document_factory_get_document),
1488 (ev_document_factory_get_backend),
1489 (ev_document_factory_get_mime_types),
1490 (ev_document_factory_get_all_mime_types):
1491 * backend/ev-document-factory.h:
1492 * shell/Makefile.am:
1493 * shell/ev-document-types.c: (get_document_from_uri),
1494 (ev_document_types_get_document),
1495 (file_filter_add_mime_list_and_free),
1496 (ev_document_types_add_filters):
1497 * shell/ev-document-types.h:
1498 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1499 * shell/ev-properties-dialog.c:
1500 (ev_properties_dialog_set_document):
1501 * shell/ev-window.c: (ev_window_cmd_file_open),
1502 (ev_window_cmd_save_as):
1503 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1505 Rework document types managing to avoid code duplication
1506 and actually abstract from backend implementations.
1507 Also provide a minimal factory api that can be used by
1508 thumbnailer/properties.
1510 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1512 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1514 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1517 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1519 * shell/ev-properties-dialog.c
1520 (ev_properties_dialog_set_document): only call
1521 ev_properties_fonts_set_document() if the document implements the
1524 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1527 * properties/Makefile.am:
1528 * properties/ev-properties-view.c:
1529 (ev_properties_view_register_type):
1530 * properties/ev-properties-view.h:
1531 * properties/ev-properties-main.h:
1533 Implement nautilus plugin for properties.
1534 Works only for pdf atm, I need to rework the
1535 document types stuff to get this to work
1538 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1540 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1541 (ev_properties_fonts_set_document): use
1542 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1544 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1546 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1548 (PlaceImage, tiff2ps_process_page): use
1549 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1552 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1554 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1555 (main): to call gnome_authentication_manager_init. Should fix
1558 * configure.ac: that requires libgnomeui 2.6.0.
1560 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1562 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1563 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1564 use the new tiff2ps interfaces
1566 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1567 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1569 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1570 structure instead of global variables. Remove use of static
1571 variables in functions.
1573 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1575 * shell/ev-page-action.c: unref the completion after setting it to the
1578 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1580 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1583 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1585 * shell/ev-window.c (update_action_sensitivity): disable
1586 File->Print if the document does not implement the ps exporter
1589 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1593 * data/evince-properties.glade:
1594 * properties/.cvsignore:
1595 * properties/Makefile.am:
1596 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1597 (ev_properties_view_class_init), (ev_properties_view_format_date),
1598 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1599 (ev_properties_view_init), (ev_properties_view_new):
1600 * properties/ev-properties-view.h:
1601 * shell/Makefile.am:
1602 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1603 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1604 (ev_properties_dialog_new):
1605 * shell/ev-properties-dialog.h:
1606 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1607 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1608 (update_progress_label), (job_fonts_finished_cb),
1609 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1610 * shell/ev-properties-fonts.h:
1611 * shell/ev-properties.c:
1612 * shell/ev-properties.h:
1613 * shell/ev-window.c: (ev_window_setup_document),
1614 (ev_window_cmd_file_properties):
1616 Split the properties pages in two different objects, depend
1617 only on the backend where possible, use widgets instead
1618 of gobject for the glade part, reimplement the dialog
1620 I need this to implement nautilus properties page.
1622 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1624 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1625 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1626 (tiff_document_document_ps_exporter_iface_init): implement the ps
1627 exporter interface for tiff documents
1629 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1630 libtiff to implement TIFF postscript export
1632 * tiff/tiff2ps.h: added a header file for external tiff2ps
1635 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1638 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1640 * shell/ev-view.c: (scroll_to_current_page),
1641 (ev_view_set_fullscreen), (ev_view_set_presentation):
1643 Scroll to current page when exit from presentation
1645 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1647 * shell/ev-window.c: (update_document_mode),
1648 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1649 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1650 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1652 Exit from fullscreen mode when switch to presentation. Fix for
1655 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1657 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1658 return NULL if the document does not implement the selection
1661 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1663 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1664 reported height by using the resolution aspect ratio
1665 (tiff_document_render_pixbuf): scale the pixbuf using the
1666 resolution aspect ratio
1668 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1672 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1673 <kiltedaco@gmail.com>
1675 * djvu/djvu-document.c: (djvu_document_get_orientation),
1676 (djvu_document_set_orientation), (djvu_document_get_page_size),
1677 (rotate_pixbuf), (djvu_document_render_pixbuf),
1678 (djvu_document_document_iface_init):
1679 * dvi/dvi-document.c: (dvi_document_get_orientation),
1680 (dvi_document_set_orientation), (dvi_document_get_page_size),
1681 (rotate_pixbuf), (dvi_document_render_pixbuf),
1682 (dvi_document_document_iface_init):
1684 Dvi and djvu backends are ported to new API
1686 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1688 * backend/ev-selection.c: (ev_selection_get_selection_region),
1689 (ev_selection_get_selection_map):
1690 * backend/ev-selection.h:
1691 * pdf/ev-poppler.cc:
1692 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1694 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1695 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1696 (ev_pixbuf_cache_get_text_mapping):
1697 * shell/ev-pixbuf-cache.h:
1698 * shell/ev-view.c: (location_in_text),
1699 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1700 support to EvView. Now we can see where we can select! Sweet!
1702 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1704 * shell/ev-view.c (ev_view_button_press_event): Fix
1705 event->y + view->scroll_x typo.
1707 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1709 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1710 sub-GdkPixbuf instead of passing dest_x and dest_y.
1712 * shell/ev-view.c: (view_point_to_doc_point),
1713 (view_rect_to_doc_rect), (ev_view_button_press_event),
1714 (ev_view_motion_notify_event), (compute_new_selection_rect),
1715 (gdk_rectangle_point_in), (compute_new_selection_text),
1716 (compute_selections): Update selection code to keep the selection
1717 around as two points and not as a normalized rectangle, and fix
1718 page level selection in two-column mode.
1720 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1722 * shell/ev-window.c: (window_configure_event_cb):
1726 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1728 * pdf/ev-poppler.cc:
1732 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1734 * shell/Makefile.am:
1735 * shell/ev-metadata-manager.c: (item_free),
1736 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1737 (parse_value), (parseItem), (load_values),
1738 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1739 (save_values), (save_item), (get_oldest), (resize_items),
1740 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1741 * shell/ev-metadata-manager.h:
1743 Metadata manager from gedit but modified to use GValue, so that
1744 we dont need to keep converting from strings.
1748 ENABLE_METADATA conditional, on when dbus is on
1750 * shell/ev-application.c: (ev_application_open_uri):
1752 Show the window after load so that we can initialize
1753 window size before it's showed.
1755 * shell/ev-window.c: (ev_window_setup_from_metadata),
1756 (ev_window_open_uri), (window_configure_event_cb),
1759 Save and load metadata information about window size.
1760 Not yet keeping states in account.
1762 * shell/main.c: (main):
1764 Shutdown metadata manager.
1766 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1768 * shell/ev-application-service.xml:
1770 * shell/Makefile.am:
1771 * shell/ev-application.c:
1772 * shell/ev-application.h:
1773 * shell/ev-window.c:
1774 * shell/ev-window.h:
1777 Add an optional dbus interface (--enable-dbus).
1778 Rework application code, mainly to be easier to
1780 Do not open multiple windows with the same document,
1783 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1785 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1786 pixbuf iff it exists.
1788 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1791 * backend/ev-render-context.[ch]:
1792 * backend/ev-selection.[ch]:
1794 Massive changes. We now support text selection of pdfs, and not
1795 just rectangular selection. This is pretty broken still, but I
1796 want to get something into CVS.
1798 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1800 * pdf/ev-poppler.cc:
1802 Fix for Bug 309080: crash on window close.
1804 * shell/ev-page-action.c: (page_changed_cb):
1806 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1807 jensgr@gmx.net (Jens Granseuer).
1809 2005-06-25 Marcel Telka <marcel@telka.sk>
1811 * configure.in (ALL_LINGUAS): Added sk.
1813 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1815 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1818 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1825 * cut-n-paste/recent-files/Makefile.am:
1829 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1831 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1832 (pixbuf_document_set_orientation), (rotate_pixbuf),
1833 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1834 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1836 Implement rotation and cleanup the code a bit.
1838 * tiff/tiff-document.c: (tiff_document_get_page_size),
1839 (tiff_document_get_orientation), (tiff_document_set_orientation),
1840 (rotate_pixbuf), (tiff_document_render_pixbuf),
1841 (tiff_document_document_iface_init), (tiff_document_init):
1843 Implement rotation. Was the quicker solution for the release
1844 but we really need to share this code in the shell.
1846 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1848 * pdf/ev-poppler.cc:
1850 Enable rotation, require poppler cvs. Fix a leak.
1852 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1854 * shell/ev-window.c: (update_action_sensitivity):
1856 Make properties unsensitive if document backend doesn't provide
1859 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1861 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1862 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1863 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1864 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1865 (bitmap_flip_rotate_counter_clockwise):
1866 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1867 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1869 * dvi/mdvi-lib/common.h:
1870 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1871 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1872 (opendvi), (mdvi_reload), (mdvi_init_context),
1873 (mdvi_destroy_context), (mdvi_dopage), (special):
1874 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1875 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1876 (file_hash_free), (register_encoding), (parse_spec),
1877 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1878 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1879 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1880 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1881 (mdvi_register_font_type), (mdvi_unregister_font_type),
1882 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1883 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1884 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1885 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1886 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1887 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1888 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1889 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1890 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1891 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1892 (mdvi_unregister_special), (mdvi_flush_specials):
1893 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1895 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1896 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1897 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1898 (free_font_metrics), (flush_font_metrics):
1899 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1901 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1902 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1903 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1904 (dstring_insert), (dstring_new), (dstring_reset):
1905 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1907 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1908 avoid conflict with libtool on FC4
1910 * shell/ev-window.c: (ev_window_cmd_help_about):
1912 Update copyright year. Fix for bug 308828.
1914 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1916 * shell/ev-view.c: (add_scroll_binding_keypad),
1917 (ev_view_binding_activated), (ev_view_class_init),
1918 (on_adjustment_value_changed):
1920 Bug 170874: Arrow keys switch pages in presentation mode
1922 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1924 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1926 Fix for Bug 308265: Sidebar dissappears coming out of
1929 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1931 * shell/ev-application.c: (ev_application_open):
1932 * shell/ev-document-types.c: (ev_document_types_add_filters),
1933 (ev_document_types_add_filters_for_type):
1934 * shell/ev-document-types.h:
1935 * shell/ev-window.c: (ev_window_cmd_save_as):
1937 Suggest basename as template when saving, provide filters
1938 for save dialog. It's bug 308402
1940 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1942 * pdf/ev-poppler.cc:
1943 * shell/ev-sidebar-links.c: (job_finished_callback):
1944 * shell/ev-view.c: (update_find_status_message):
1948 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1950 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1951 (egg_recent_view_uimanager_set_list):
1953 Fix buglet in !show_numbers case.
1955 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1957 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1958 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1960 Use pango ellipsisation.
1962 * pdf/ev-poppler.cc:
1964 Fix refcount leak, from nsh.
1966 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1968 * cut-n-paste/recent-files/Makefile.am:
1969 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1970 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1972 Removed EggRecentViewGtk
1974 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1975 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1976 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1977 (ev_window_setup_recent):
1979 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1982 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1984 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1985 (egg_recent_view_gtk_finalize):
1989 * cut-n-paste/toolbar-editor/Makefile.am:
1991 Fix location of cursor icon.
1993 * pdf/ev-poppler.cc:
1994 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1995 (display_completion_text), (match_completion):
1996 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1997 (selection_changed_callback), (create_loading_model),
1998 (print_section_cb), (links_page_num_func),
1999 (update_page_callback_foreach):
2000 * shell/ev-window.c: (ev_window_dispose):
2002 Small memory fixes. Links model now store objects instead
2003 of pointers to improve memory management.
2005 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2007 * shell/ev-window.c: (zoom_control_changed_cb):
2009 Fix update of zoom control (bug 308268).
2011 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2013 * shell/ev-properties.c (set_property): escape the text correctly.
2014 Handles non-UTF-8 properties and escaped properties. Also, sets
2015 the text to "<i>None</i>" if the property isn't set.
2017 * data/evince-properties.glade: Change the label to be ellipsized,
2018 and give it a minimum size.
2020 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2022 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2023 * shell/ev-sidebar-links.c: (create_loading_model):
2024 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2025 * shell/ev-view.c: (ev_view_set_document):
2026 * shell/ev-window.c: (ev_window_dispose):
2028 Various small fixes, mostly memory leaks. Thanks to valgrind.
2030 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2032 * ps/ps-document.c: remove the locale.h include again ;-). And
2033 kill the (bogus) setlocale/savelocale business.
2035 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2039 Include locale.h to fix build
2041 * shell/ev-sidebar.c:
2043 Remove unnecessary includes
2045 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2047 * dvi/dvi-document.c: (dvi_document_load):
2048 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2051 Check for incorrect dvi files. Fix parsing dvi on AMD64
2052 platform. Thanks to tester@tester.ca (Olivier Crete).
2054 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2056 * shell/ev-page-action.c: (match_selected_cb),
2057 (display_completion_text), (match_completion), (update_model):
2058 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2059 (expand_open_links):
2060 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2061 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2062 (ev_sidebar_set_document):
2063 * shell/ev-window.c: (ev_window_xfer_job_cb),
2064 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2066 Fixed lot's of memory leaks, for example, memory leak on reload,
2067 described in bug 307793.
2069 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2071 * pdf/ev-poppler.cc:
2072 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2073 (update_visible_range), (adjustment_changed_cb),
2074 (ev_sidebar_thumbnails_fill_model),
2075 (ev_sidebar_thumbnails_refresh),
2076 (ev_sidebar_tree_selection_changed),
2077 (ev_sidebar_icon_selection_changed),
2078 (ev_sidebar_thumbnails_use_icon_view),
2079 (ev_sidebar_thumbnails_set_document):
2080 * shell/ev-sidebar-thumbnails.h:
2081 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2082 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2084 Refresh thumbnails when changing orientation. Not fully
2085 working yet becuase of a sidebar bug.
2087 Set page orientation to poppler page everywhere. This sucks
2088 really need to fix poppler.
2090 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2092 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2093 (egg_recent_view_gtk_new_menu_item),
2094 (egg_recent_view_gtk_set_property),
2095 (egg_recent_view_gtk_get_property),
2096 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2097 (egg_recent_view_gtk_set_tooltip_func),
2098 (egg_recent_view_gtk_set_label_width),
2099 (egg_recent_view_gtk_get_label_width):
2100 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2102 Sync with libegg (ellipsize labels)
2104 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2106 * data/evince-ui.xml:
2107 * shell/ev-window.c: (ev_window_cmd_go_forward),
2108 (ev_window_cmd_go_backward):
2110 Shift + PageUp moves 10 Pages. Fix for 306125
2112 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2114 * pdf/ev-poppler.cc:
2116 Add a flag to check if orientation has been overriden
2118 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2120 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2123 * ps/ps.h: add creator field to document.
2125 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2128 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2130 * data/evince-properties.glade:
2131 * shell/ev-properties.c: (ev_properties_set_document):
2133 s/PDF Version/Format
2135 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2137 * shell/ev-properties.c: (ev_properties_set_document):
2139 Remove unnecessary translations
2141 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2143 * cut-n-paste/toolbar-editor/Makefile.am:
2145 Correct library name
2147 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2150 * cut-n-paste/recent-files/egg-recent-model.c:
2151 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2152 (egg_recent_model_unlock_file):
2153 * cut-n-paste/recent-files/egg-recent-util.c:
2154 (egg_recent_util_get_unique_id):
2155 * cut-n-paste/recent-files/update-from-egg.sh:
2156 * cut-n-paste/toolbar-editor/Makefile.am:
2157 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2158 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2159 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2160 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2161 (egg_toolbars_model_get_type):
2162 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2164 Better makefile for toolbar editor and update everything
2167 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2169 * shell/ev-window.c: (update_document_mode):
2171 Prefer presentation mode when the document
2174 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2176 * data/evince-ui.xml:
2177 * shell/ev-window.c:
2179 Add control-equal for zooming
2181 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2183 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2185 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2187 * backend/ev-document.c: (ev_document_get_orientation):
2188 * backend/ev-document.h:
2189 * pdf/ev-poppler.cc:
2190 * ps/ps-document.c: (ps_document_get_orientation),
2191 (ps_document_set_orientation), (ps_document_document_iface_init):
2193 Add a get_orientation api. Improve set_orientation.
2195 * data/evince-ui.xml:
2196 * shell/ev-view.c: (ev_view_set_orientation),
2197 (ev_view_rotate_right), (ev_view_rotate_left):
2199 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2200 (ev_window_cmd_edit_rotate_right):
2202 Better ui for changing document orientation
2204 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2206 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2207 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2208 * shell/ev-sidebar-links.h:
2209 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2210 (ev_sidebar_page_iface_init):
2211 * shell/ev-sidebar-page.h:
2212 * shell/ev-sidebar-thumbnails.c:
2213 (ev_sidebar_thumbnails_get_property),
2214 (ev_sidebar_thumbnails_class_init),
2215 (ev_sidebar_thumbnails_set_document):
2216 * shell/ev-sidebar-thumbnails.h:
2217 * shell/ev-view.c: (ev_view_motion_notify_event):
2218 * shell/ev-window.c: (update_chrome_visibility),
2219 (ev_window_cmd_focus_page_selector),
2220 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2221 (sidebar_page_main_widget_update_cb), (ev_window_init):
2223 Autoraise toolbar on GoToPage binding and fix bindings in
2224 EvSidebarThumbnails page.
2226 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2228 * shell/ev-properties.c: (update_progress_label):
2230 Hide the progress label when finished; bug #307697.
2232 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2234 * pdf/ev-poppler.cc:
2236 Enable is_open for links, you will need poppler cvs
2238 * shell/ev-properties.c: (job_fonts_finished_cb):
2240 Get a lock on the document when filling the tree view
2242 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2244 * backend/ev-document-links.h:
2245 * pdf/ev-poppler.cc:
2246 * shell/ev-sidebar-links.c: (create_loading_model),
2247 (expand_open_links), (job_finished_callback):
2249 Expand links when specified by the document.
2250 Depend on a poppler api (defined out for now)
2252 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2254 * shell/ev-properties.c: (ev_properties_dispose),
2255 (ev_properties_class_init), (dialog_destroy_cb),
2256 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2257 (ev_properties_set_document), (ev_properties_new),
2258 (ev_properties_show):
2259 * shell/ev-properties.h:
2261 Make it an object, cleanup the code, api to show it as transient
2262 and to set the document.
2264 * shell/ev-window.c: (ev_window_setup_document),
2265 (ev_window_cmd_file_properties):
2267 Adapt to EvProperties changes, do not show multiple
2268 times, update it when document changes.
2270 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2273 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2274 (ps_document_set_orientation), (ps_document_document_iface_init):
2277 Implement orientation here too
2279 * shell/ev-properties.c: (ev_properties_new):
2280 * data/evince-properties.glade:
2282 Hide the fonts page for backends that doesnt
2285 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2287 * backend/ev-document.c: (ev_document_set_orientation):
2288 * backend/ev-document.h:
2289 * pdf/ev-poppler.cc:
2291 Add orientation api. Currently poppler api is not optimal,
2292 we need to set orientation every time we _get a page.
2293 I will try to fix that at some point.
2295 * data/evince-ui.xml:
2296 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2297 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2299 Add orientation menu items
2301 * shell/ev-page-cache.c: (ev_page_cache_clear):
2302 * shell/ev-page-cache.h:
2304 Add api to clear the cache
2306 * shell/ev-view.c: (setup_caches), (clear_caches),
2307 (ev_view_set_document), (ev_view_zoom_out),
2308 (ev_view_set_orientation):
2311 Implement orientation changing
2313 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2315 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2316 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2317 * backend/ev-document-fonts.h:
2319 Separate scan and fill so that we can incrementally fill from
2320 the main thread. Add a progress api.
2322 * data/evince-properties.glade:
2323 * pdf/ev-poppler.cc:
2324 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2326 * shell/ev-properties.c: (update_progress_label),
2327 (job_fonts_finished_cb), (setup_fonts_view):
2329 Incrementally feel the list and show the progress
2330 percentage in a label like acrobat does.
2332 You are going to need poppler cvs
2334 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2336 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2337 * backend/ev-document-fonts.h:
2338 * pdf/ev-poppler.cc:
2340 Make fonts model fill incrementally.
2342 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2343 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2344 (ev_job_queue_remove_job):
2345 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2346 (ev_job_fonts_new), (ev_job_fonts_run):
2349 New job for fonts scanning
2351 * shell/ev-properties.c: (job_fonts_finished_cb),
2352 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2353 * shell/ev-properties.h:
2354 * shell/ev-window.c: (ev_window_cmd_file_properties):
2356 Incrementally feel the treeview using the new job. Show Loading...
2357 message until scanning is completed.
2359 Hopefully I didnt break the build without the poppler patch.
2361 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2363 * shell/ev-application.c: (ev_application_open):
2364 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2365 (ev_document_type_get_type), (ev_document_type_lookup):
2366 * shell/ev-document-types.h:
2367 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2368 * shell/ev-job-xfer.h:
2369 * shell/ev-window.c: (ev_window_clear_local_uri),
2370 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2371 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2372 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2374 Transfer remote documents to tmp directory to display them later.
2376 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2378 * backend/ev-document-info.h:
2379 * shell/ev-properties.c: (ev_properties_new):
2381 s/GTime*/GTime. Not sure why we was using a pointer
2384 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2386 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2387 situations. That situation is that you're using GTK+-HEAD with
2388 the patch at #306726 is applied, and you have a document with <
2389 1500 pages in it. It's not quite as uniformly nice as the
2390 TreeView, but should be better in the long run.
2392 I'm pretty sure I guarded against breaking compilation with
2393 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2396 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2397 widget yet, so I commented that code out
2398 enable_view_actions_for_widget() for now. Need to figure this
2401 * shell/ev-page-action.c (match_selected_cb): emit the right
2402 signals. Our cool C-l completion now works.
2404 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2406 * backend/Makefile.am:
2407 * backend/ev-document-fonts.c:
2408 * backend/ev-document-links.c:
2409 * backend/ev-document.c: (ev_document_load):
2410 * backend/ev-document.h:
2411 * backend/ev-job-queue.c:
2412 * backend/ev-job-queue.h:
2413 * backend/ev-jobs.c:
2414 * backend/ev-jobs.h:
2415 * backend/ev-page-cache.c:
2416 * backend/ev-page-cache.h:
2418 EvPageCache and EvJobs are moved to shell.
2420 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2422 * lib/ev-file-helpers.h:
2424 New helper to work with temporary files
2426 * shell/Makefile.am:
2427 * shell/ev-application.c: (ev_application_open):
2428 * shell/ev-application.h:
2429 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2430 (remove_job_from_async_queue), (add_job_to_async_queue),
2431 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2432 (handle_job), (search_for_jobs_unlocked),
2433 (no_jobs_available_unlocked), (ev_render_thread),
2434 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2435 (ev_job_queue_add_job), (move_job_async), (move_job),
2436 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2437 * shell/ev-job-queue.h:
2438 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2439 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2440 * shell/ev-job-xfer.h:
2441 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2442 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2443 (ev_job_links_class_init), (ev_job_render_init),
2444 (ev_job_render_dispose), (ev_job_render_class_init),
2445 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2446 (ev_job_thumbnail_class_init), (ev_job_load_init),
2447 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2448 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2449 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2450 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2452 * shell/ev-page-action.c: (ev_page_action_set_document):
2453 * shell/ev-page-cache.c: (ev_page_cache_init),
2454 (ev_page_cache_class_init), (ev_page_cache_finalize),
2455 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2456 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2457 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2458 (ev_page_cache_get_title), (ev_page_cache_get_size),
2459 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2460 (ev_page_cache_get_height_to_page),
2461 (ev_page_cache_get_max_label_chars),
2462 (ev_page_cache_get_page_label),
2463 (ev_page_cache_has_nonnumeric_page_labels),
2464 (ev_page_cache_get_info), (ev_page_cache_next_page),
2465 (ev_page_cache_prev_page), (ev_page_cache_get):
2466 * shell/ev-page-cache.h:
2467 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2468 (ev_pixbuf_cache_clear_job_sizes),
2469 (ev_pixbuf_cache_add_jobs_if_needed),
2470 (ev_pixbuf_cache_set_page_range):
2471 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2472 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2473 * shell/ev-sidebar-thumbnails.c:
2474 (ev_sidebar_tree_selection_changed),
2475 (ev_sidebar_thumbnails_set_document):
2476 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2477 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2478 (ev_statusbar_get_context_id), (ev_statusbar_push),
2479 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2480 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2481 (ev_statusbar_set_progress):
2482 * shell/ev-statusbar.h:
2483 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2484 (ev_view_find_previous):
2485 * shell/ev-window.c: (ev_window_is_empty),
2486 (ev_window_setup_document), (password_dialog_response),
2487 (ev_window_clear_jobs), (ev_window_load_job_cb),
2488 (ev_window_xfer_job_cb), (ev_window_open_uri),
2489 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2490 (ev_window_print), (ev_window_print_range),
2491 (ev_window_state_event), (ev_window_cmd_view_reload),
2492 (menu_item_select_cb), (menu_item_deselect_cb),
2493 (view_status_changed_cb), (ev_window_dispose),
2494 (drag_data_received_cb), (ev_window_init):
2495 * shell/ev-window.h:
2496 * shell/main.c: (load_files):
2498 New statusbar to show progress on idle. Two new jobs -
2499 xfer job and load job to load document in background. And update
2500 of page_cache clients to new location of code.
2502 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2504 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2505 selection in open dialog. It also remembers the last visited directory
2506 in the current session.
2508 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2510 * shell/ev-properties.c: (ev_properties_new):
2511 * shell/ev-properties.h:
2512 * shell/ev-window.c: (ev_window_cmd_file_properties):
2514 Get document info from page cache instead of document itself.
2515 This should fix crash related to race conditions described in
2518 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2520 * ps/ps-document.c: (ps_document_init),
2521 (send_ps), (get_page_box), (output), (catchPipe), (input),
2522 (stop_interpreter), (file_length), (file_readable),
2523 (check_filecompressedb), (ps_document_enable_interpreter),
2524 (document_load), (ps_async_renderer_render_pixbuf):
2527 Big cleanup of the ps code
2529 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2531 * backend/Makefile.am:
2532 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2533 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2534 * backend/ev-async-renderer.h:
2536 Add an async renderer interface (method + callback) which
2537 is useful for backends like ps.
2539 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2540 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2541 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2542 (ev_job_queue_add_job), (move_job_async), (move_job),
2543 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2545 Add queues for async renderer, these are executed on the
2548 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2549 (ev_job_render_run):
2550 * backend/ev-jobs.h:
2552 If the backend support async renderer interface use it.
2554 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2555 (setup_pixmap), (ps_document_get_type),
2556 (ps_async_renderer_render_pixbuf),
2557 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2559 Implement async renderer interface.
2561 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2563 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2565 Cleanup links job on exit.
2567 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2569 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2570 (drag_data_get_cb), (drag_data_received_cb):
2571 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2572 (drag_data_get_cb), (parse_item_list),
2573 (egg_toolbar_editor_load_actions):
2574 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2575 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2576 (parse_item_list), (parse_toolbars):
2577 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2578 (dvi_pixbuf_put_pixel):
2580 Fix gcc 4.0 warnings
2582 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2584 * ps/ps-document.c: (start_interpreter):
2586 Fix warning when loading ps
2588 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2590 * ps/ps-document.c: (output):
2592 Fix crash when priting gs error messages.
2594 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2596 * backend/ev-page-cache.c: (_ev_page_cache_new):
2597 * backend/ev-page-cache.h:
2599 Use a const to return title so that we dont double
2600 free it. Small cleanup and fix a leak.
2602 * shell/ev-window.c: (update_window_title):
2604 strdup value from get_title.
2606 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2608 * shell/ev-sidebar-links.c: (job_finished_callback),
2609 (ev_sidebar_links_set_document):
2611 Cleanup the old job when changing document
2613 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2615 * shell/ev-stock-icons.c:
2616 * shell/ev-stock-icons.h:
2617 * shell/ev-window.c:
2619 Add stock icons for actions that can appear in toolbar. Fix for
2622 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2624 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2625 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2626 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2627 * backend/ev-page-cache.h:
2628 * shell/ev-view.c: (scroll_to_current_page),
2629 (view_update_range_and_current_page), (get_page_y_offset),
2630 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2631 (ev_view_size_request_continuous),
2632 (ev_view_zoom_for_size_continuous_and_dual_page),
2633 (ev_view_zoom_for_size_continuous):
2635 More compact EvView layout in document with pages of different size.
2637 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2639 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2642 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2644 * shell/ev-view.c: (view_set_adjustment_values):
2645 * shell/ev-window.c: (ev_window_cmd_file_properties):
2647 A bit different fix for rounding problem but it has no
2648 problems on startup. Make properties window transient to parent.
2650 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2652 * pdf/ev-poppler.cc:
2654 More commenting of font stuff.
2656 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2658 * pdf/ev-poppler.cc:
2660 Comment out some more fonts stuff. Should really
2661 work without the poppler patch now.
2663 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2665 * pdf/ev-poppler.cc:
2669 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2671 * data/evince-properties.glade:
2672 * pdf/ev-poppler.cc:
2673 * shell/ev-properties.c: (setup_fonts_view):
2675 Set the column title. Show the dialog only
2676 once everything is setup.
2677 Getting font info can be very slow... will
2678 prolly need to make this threaded too.
2680 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2682 * backend/Makefile.am:
2683 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2684 (ev_document_fonts_get_fonts_model):
2685 * backend/ev-document-fonts.h:
2686 * data/evince-properties.glade:
2687 * pdf/ev-poppler.cc:
2688 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2689 * shell/ev-properties.h:
2690 * shell/ev-window.c: (ev_window_cmd_file_properties):
2692 Implement fonts list. Defined out for now, since it depends
2693 on a not yet committed poppler patch.
2695 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2697 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2700 * shell/ev-window.c: Make sure we add the timeout when we get a
2703 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2704 adjustment->value before calculating the zoom factor to average
2705 out all of our rounding errors. The page no longer 'drifts' when
2708 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2710 * data/evince-properties.glade:
2711 * shell/ev-properties.c: (ev_properties_format_date),
2714 Labels don't expand when the dialogue is resized.
2715 strftime result needs to be converted to UTF-8. Thanks
2716 to Christian Persch <chpe@gnome.org>.
2718 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2720 * data/evince-properties.glade:
2724 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2726 * backend/ev-document-info.h:
2727 * backend/ev-document.c: (ev_document_info_free):
2728 * data/evince-properties.glade:
2729 * pdf/ev-poppler.cc:
2730 * ps/ps-document.c: (ps_document_get_info):
2731 * shell/ev-properties.c: (ev_properties_format_date),
2732 (set_property), (ev_properties_new):
2733 * shell/ev-properties.h:
2734 * shell/ev-window.c: (ev_window_cmd_file_properties):
2736 Rework properties code to take only EvPropertyInfo
2737 in the constructor so that it can be useful for
2738 nautilus plugin too.
2740 Deal with backends that doesnt support some properties.
2741 Make set property code generic.
2743 2005-06-04 Christian Persch <chpe@gnome.org>
2745 * data/evince-properties.glade:
2747 fix spacings, make resizeable, and make data labels
2748 selectable + ellipsised
2750 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2752 * backend/ev-document-info.h:
2754 * data/evince-ui.xml:
2755 * pdf/ev-poppler.cc:
2756 * shell/Makefile.am:
2757 * shell/ev-window.c: (update_action_sensitivity),
2758 (ev_window_cmd_file_properties):
2760 Initial go at file properties. Patch by
2761 Emil Soleyman-Zomalan <emil@soleyman.com>.
2762 Needs love see #169583
2764 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2766 * ps/ps-document.c: (output):
2767 * ps/ps.c: (psscan):
2769 Try to render even if psscan fails.
2771 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2773 * ps/ps.c: (psscan), (pscopydoc):
2775 Port buffered reading code from gv
2777 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2779 * ps/ps-document.c: (interpreter_message), (output):
2781 Do not fail on interpreter messages
2783 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2785 * backend/ev-document-misc.c:
2786 (ev_document_misc_get_thumbnail_frame):
2788 Pages can be 0 x 0, dont assert on this case
2790 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2792 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2793 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2795 Correctly manage our reference on document. Finally the reload
2796 huge leak is gone...
2798 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2800 * ps/ps-document.c: (ps_document_dispose):
2802 Forgot to chain it to the parent. Thanks chpe.
2804 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2806 * ps/ps-document.c: (ps_document_dispose),
2807 (ps_document_class_init), (stop_interpreter), (document_load):
2809 Cleanup dispose a bit. Dont leak the whole pixmap.
2811 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2813 * pdf/ev-poppler.cc:
2815 Release the poppler document on dispose
2817 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2819 * shell/ev-view.c: (ev_view_set_document):
2821 Release ref on the pixbuf cache when changing
2824 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2826 * ps/ps-document.c: (ps_document_get_info):
2830 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2832 * backend/ev-page-cache.c: (ev_page_cache_init),
2833 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2834 * backend/ev-page-cache.h:
2835 * shell/ev-page-action.c: (page_changed_cb):
2837 Set page action entry width depending on labels width. Fix
2840 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2842 * backend/ev-link.c: (ev_link_class_init):
2844 Allow -1 as page value (error)
2846 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2848 * shell/ev-sidebar-thumbnails.c:
2849 (ev_sidebar_thumbnails_set_document):
2850 * shell/ev-view.c: (scroll_to_current_page),
2851 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2852 (page_changed_cb), (on_adjustment_value_changed),
2853 (ev_view_set_document):
2855 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2858 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2861 * djvu/djvu-document.c: (djvu_document_get_page_size):
2863 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2866 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2868 * shell/ev-view.c (draw_one_page): modify the expose handling to
2871 * shell/ev-window.c (update_action_sensitivity): Respect
2872 permissions field. Kowtow to the man.
2874 * pdf/ev-poppler.cc: Get the permissions field.
2876 * tiff/*c: Make a tiny bit more robust.
2878 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2880 * djvu/djvu-document.c:
2882 Pop messages from djvu context message queue.
2884 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2886 * configure.ac, Makefile.am, shell/Makefile.am:
2887 * tiff/Makefile.am, shell/ev-document-types.c:
2889 Cleanup tiff configure checks. Fix for bug 305218.
2891 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2893 * configure.ac: Added "uk" to ALL_LINGUAS.
2895 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2897 * cut-n-paste/zoom-control/ephy-zoom.c:
2898 (ephy_zoom_get_changed_zoom_level):
2899 * cut-n-paste/zoom-control/ephy-zoom.h:
2900 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2901 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2902 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2903 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2904 (zoom_control_changed_cb), (ev_window_init):
2906 Fix minor points related to moving best fit up. Introduce
2907 "zoom" property and make zoom control change it's value on
2908 notify::zoom signals. Fix for 305080.
2910 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2912 * data/evince-ui.xml:
2913 * shell/ev-window.c: (set_view_actions_sensitivity):
2915 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2917 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2921 Depends on poppler 0.3.2
2923 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2925 * cut-n-paste/recent-files/egg-recent-item.c:
2926 (egg_recent_item_get_short_name):
2927 * cut-n-paste/toolbar-editor/Makefile.am:
2928 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2929 (new_pixbuf_from_widget):
2930 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2931 * cut-n-paste/toolbar-editor/egg-marshal.c:
2932 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2933 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2937 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2939 * tiff/tiff-document.c: Rough TIFF backend.
2941 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2945 * cut-n-paste/toolbar-editor/Makefile.am:
2949 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2951 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2952 (ev_view_find_next), (ev_view_find_previous):
2954 Remove the locks around get_n_results
2956 2005-05-21 Juerg Billeter <j@bitron.ch>
2958 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2960 Pass correct number of pages to poppler.
2962 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2966 * data/evince.desktop.in:
2967 * data/evince.desktop.in.in:
2970 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2972 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2974 * shell/ev-view.c: (view_update_adjustments),
2975 (view_set_adjustment_values): cast adjustmen->value to (int)
2976 before using it. Otherwise, we get off by a pixel in some
2979 (draw_one_page): Draw the border on expose.
2981 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2983 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2984 adjustment when the mode changes, #304923
2986 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2988 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2989 flickering on resize but still use gdk_window_scroll on
2992 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2994 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2997 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2999 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3000 second page on page_changed if possible, #304669
3002 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3004 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3005 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3007 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3010 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3011 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3012 (ev_view_zoom_for_size_presentation),
3013 (ev_view_zoom_for_size_continuous_and_dual_page),
3014 (ev_view_zoom_for_size_continuous),
3015 (ev_view_zoom_for_size_dual_page),
3016 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3018 * shell/ev-window.c: (update_view_size),
3019 (ev_window_sizing_mode_changed_cb):
3021 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3022 the scrollbars. It's not 100% right, but it's much closer. Kills
3023 an infinite loop, #304769
3026 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3028 * data/evince-ui.xml:
3029 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3030 * shell/ev-window.c: (set_view_actions_sensitivity):
3032 Make PgUp/Down behave like Space
3034 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3036 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3037 * backend/ev-ps-exporter.h:
3038 * pdf/ev-poppler.cc:
3039 * ps/ps-document.c: (ps_document_ps_export_begin):
3040 * shell/ev-print-job.c: (idle_print_handler):
3042 Adapt to new poppler api
3044 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3046 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3047 (ephy_zoom_control_init):
3049 Translate zoom levels
3051 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3053 * cut-n-paste/zoom-control/ephy-zoom.c:
3054 (ephy_zoom_get_zoom_level_index):
3056 Fix current zoom -> zoom control match
3058 2005-05-18 James Bowes <bowes@cs.dal.ca>
3060 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3061 rather than the scrolled_window that it's in. Fixes bug #304655.
3063 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3065 * shell/ev-view.c: (view_update_adjustments),
3066 (view_set_adjustment_values), (view_update_range_and_current_page),
3067 (view_scroll_to_page), (set_scroll_adjustment),
3068 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3069 (ev_view_scroll), (ev_view_scroll_view),
3070 (ensure_rectangle_is_visible), (find_page_at_location),
3071 (get_link_at_location), (go_to_link), (status_message_from_link),
3072 (ev_view_size_request_continuous_dual_page),
3073 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3074 (ev_view_unrealize), (ev_view_expose_event),
3075 (ev_view_button_press_event), (ev_view_motion_notify_event),
3076 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3077 (draw_rubberband), (highlight_find_results), (draw_one_page),
3078 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3079 (ev_view_init), (find_changed_cb), (page_changed_cb),
3080 (on_adjustment_value_changed), (ev_view_new),
3081 (ev_view_set_document), (ev_view_set_zoom),
3082 (ev_view_set_continuous), (ev_view_set_dual_page),
3083 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3084 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3085 (ev_view_zoom_for_size_presentation),
3086 (ev_view_zoom_for_size_continuous_dual_page),
3087 (ev_view_zoom_for_size_continuous),
3088 (ev_view_zoom_for_size_dual_page),
3089 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3090 (ev_view_get_status), (ev_view_set_status),
3091 (update_find_status_message), (ev_view_get_find_status),
3092 (ev_view_set_find_status), (jump_to_find_result),
3093 (jump_to_find_page), (compute_selections), (clear_selection),
3094 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3095 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3096 (ev_view_update_primary_selection),
3097 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3099 * shell/ev-window.c: (ev_window_open_page_label),
3100 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3102 * shell/ev-window.h:
3103 * shell/main.c: (load_files):
3105 Massive code clean up from Nickolay Shmyrev. Keep page offset
3106 when resizing. Remove the bin_window(). Also, patch from James
3107 Bowes to fix command line page, #300641
3109 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3111 * data/evince-ui.xml:
3114 * shell/ev-window.c: (update_action_sensitivity):
3116 Get rid of View->Normal Size, it's just confusing
3118 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3120 * backend/ev-document-info.h:
3121 * backend/ev-document.c: (ev_document_info_free): Free the
3124 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3125 (clear_range), (add_range), (update_visible_range),
3126 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3127 (ev_sidebar_thumbnails_set_document):
3128 * shell/ev-window.c: (ev_window_setup_document): Only render the
3129 visible thumbnails. It takes an instant to render, but it uses
3132 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3134 * shell/ev-sidebar-links.c: (popup_menu_cb):
3138 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3141 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3142 (button_press_cb), (ev_sidebar_links_construct):
3144 Show the popup menu also on keybindings
3146 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3148 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3149 * shell/ev-window.h:
3151 Expose api to print a range (with dialog). Make private _print use
3154 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3155 (ev_sidebar_links_construct):
3157 Show a print context menu on linkx, it prints the selected
3160 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3162 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3165 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3171 * shell/ev-window.c: (build_comments_string),
3172 (ev_window_cmd_help_about):
3174 Show poppler version/backend and authors
3176 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3178 * cut-n-paste/zoom-control/ephy-zoom.c:
3179 (ephy_zoom_get_zoom_level_index):
3180 * cut-n-paste/zoom-control/ephy-zoom.h:
3182 Move the best fit items at the top of the list
3184 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3186 * shell/ev-marshal.list:
3187 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3188 (activate_cb), (match_selected_cb), (activate_link_cb),
3189 (connect_proxy), (ev_page_action_class_init):
3190 * shell/ev-page-action.h:
3192 Use signals to notify action activation. Hopefully
3193 I did not break completion since I cant test...
3195 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3196 (register_custom_actions):
3198 Connect to page selector actions and also grab focus on
3199 the view when activated.
3201 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3203 * pdf/ev-poppler.cc:
3204 * backend/ev-page-cache.c: make page size calculation consistent
3205 and set it to (int)( width * scale + 0.5). This makes the weird
3206 line going through the middle of the page go away.
3208 * shell/ev-view.c: move painting the background page after
3209 checking the expose area covers us.
3211 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3213 * data/evince-password.glade:
3215 Mark labels as not translatable. Fix for bug 302842.
3217 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3219 * configure.ac: Added "es" to ALL_LINGUAS.
3221 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3223 * data/evince-toolbar.xml:
3224 * shell/ev-window.c: (update_action_sensitivity),
3225 (ev_window_setup_document), (ev_window_set_page_mode),
3228 Remove some leftover code from jrb first continous
3229 attempt. Use the new actions, we still need good icons
3232 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3234 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3236 Update label when connecting proxy. Fix a warning with NULL
3239 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3241 * data/evince-ui.xml:
3242 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3243 * shell/ev-page-action.h:
3244 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3246 Add mnemonic for edit toolbar.
3247 ctrl+l focus the page entry.
3249 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3252 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3254 * shell/main.c: (main):
3256 Put the toolbar xml in evince own dot dir
3258 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3260 * shell/ev-window.c: (ev_window_init):
3262 Make the toolbar not removable
3264 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3266 * data/evince-ui.xml:
3267 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3268 * shell/ev-sidebar-links.h:
3269 * shell/ev-sidebar-thumbnails.c:
3270 (ev_sidebar_thumbnails_get_treeview):
3271 * shell/ev-sidebar-thumbnails.h:
3272 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3273 (ev_view_class_init):
3275 * shell/ev-window.c: (update_action_sensitivity),
3276 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3277 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3278 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3281 This is evil... Make space/backspace global accelerators but
3282 enable them only for some widgets (sidebars and view).
3283 I dont like it, but I dont know a better way... :/
3285 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3287 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3288 (ev_page_action_widget_finalize),
3289 (ev_page_action_widget_class_init), (update_page_cache):
3291 Keep a weak reference on proxy->page_cache so that we
3292 dont try to disconnect the signal if the object is already
3293 gone. Maybe there is a better way to cleanup reference handling
3294 in page action though...
3296 2005-05-10 Juerg Billeter <j@bitron.ch>
3298 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3299 * backend/ev-ps-exporter.h:
3300 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3301 * ps/ps-document.c: (ps_document_ps_export_begin):
3303 Change api to pass print range to ps_exporter_begin. The pdf backend
3304 requires this information.
3306 * shell/ev-print-job.c: (idle_print_handler):
3310 2005-05-10 Juerg Billeter <j@bitron.ch>
3312 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3313 (idle_print_handler)
3314 * shell/ev-window.c: (ev_window_print):
3316 Support printing page range, based on patch by Amaury Jacquot
3318 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3320 * data/evince-toolbar.xml:
3322 Add zoom control to available items
3324 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3326 * shell/ev-window.c: (update_action_sensitivity):
3328 Set slash action insensitive when appropriate
3330 2005-05-10 Christian Persch <chpe@gnome.org>
3332 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3334 Fix warning on the overflow menu
3336 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3338 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3340 Check for uri correctness/existence
3342 2005-05-09 Juerg Billeter <j@bitron.ch>
3344 * shell/ev-window.c: (using_postscript_printer):
3346 LPD printers use postscript, too
3348 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3350 * shell/ev-window.c: (register_custom_actions):
3352 The zoom one is actually sort of useful,
3355 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3357 * shell/ev-window.c: (register_custom_actions):
3359 Hide page/zoom controls from overflow, they
3362 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3364 * cut-n-paste/update-from-egg.sh:
3366 Share it between all cut-n-paste subdirs
3368 * cut-n-paste/recent-files/Makefile.am:
3370 Fix to use "global" update-from-egg.sh
3372 * cut-n-paste/recent-files/egg-recent-model.c:
3373 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3374 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3375 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3376 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3380 * cut-n-paste/toolbar-editor/Makefile.am:
3382 Fix to use "global" update-from-egg.sh
3384 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3388 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3391 * cut-n-paste/Makefile.am:
3392 * cut-n-paste/recent-files/Makefile.am:
3393 * cut-n-paste/toolbar-editor/.cvsignore:
3394 * cut-n-paste/toolbar-editor/Makefile.am:
3395 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3396 (egg_editable_toolbar_get_type), (get_toolbar_position),
3397 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3398 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3399 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3400 (set_item_drag_source), (create_item_from_action), (create_item),
3401 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3402 (popup_toolbar_context_menu_cb), (free_dragged_item),
3403 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3404 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3405 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3406 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3407 (item_added_cb), (item_removed_cb),
3408 (egg_editable_toolbar_construct),
3409 (egg_editable_toolbar_disconnect_model),
3410 (egg_editable_toolbar_deconstruct),
3411 (egg_editable_toolbar_set_model),
3412 (egg_editable_toolbar_set_ui_manager),
3413 (egg_editable_toolbar_set_property),
3414 (egg_editable_toolbar_get_property),
3415 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3416 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3417 (egg_editable_toolbar_new_with_model),
3418 (egg_editable_toolbar_get_edit_mode),
3419 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3420 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3421 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3422 (new_pixbuf_from_widget), (new_separator_pixbuf),
3423 (update_separator_image), (style_set_cb),
3424 (_egg_editable_toolbar_new_separator_image),
3425 (egg_editable_toolbar_get_model):
3426 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3427 * cut-n-paste/toolbar-editor/egg-marshal.c:
3428 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3429 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3430 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3431 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3432 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3433 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3434 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3435 (editor_drag_data_delete_cb), (drag_data_get_cb),
3436 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3437 (editor_create_item), (update_editor_sheet), (setup_editor),
3438 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3439 (parse_item_list), (model_has_action), (update_actions_list),
3440 (egg_toolbar_editor_load_actions):
3441 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3442 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3443 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3444 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3445 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3446 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3447 (egg_toolbars_model_add_separator), (impl_add_item),
3448 (parse_item_list), (egg_toolbars_model_add_toolbar),
3449 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3450 (impl_get_item_data), (impl_get_item_type),
3451 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3452 (egg_toolbars_model_init), (free_toolbar),
3453 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3454 (egg_toolbars_model_remove_toolbar),
3455 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3456 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3457 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3458 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3459 (egg_toolbars_model_get_item_data),
3460 (egg_toolbars_model_get_item_type):
3461 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3462 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3464 * data/evince-toolbar.xml:
3465 * data/evince-ui.xml:
3466 * data/hand-open.png:
3468 * shell/Makefile.am:
3469 * shell/ev-window.c: (update_chrome_visibility),
3470 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3471 (ev_window_dispose), (ev_window_init):
3473 Implement epiphany like toolbar editor. Based on patch by
3474 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3476 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3478 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3480 Use set_cursor instead of set_selection, so that
3481 the keyboard focus moves too.
3483 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3485 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3487 Fix infinite loop when loading Type1 fonts
3489 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3491 * data/evince-ui.xml:
3492 * shell/ev-window.c:
3496 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3500 Make --disable really disable
3502 2005-05-07 Juerg Billeter <j@bitron.ch>
3504 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3506 Compare page labels even without has_labels set, fixes setting page
3509 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3511 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3512 (ev_view_set_cursor), (ev_view_button_press_event),
3513 (ev_view_motion_notify_event), (ev_view_button_release_event),
3516 Implement middle button scrolling. Based on a patch
3517 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3519 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3521 * shell/ev-document-types.c: (get_slow_mime_type),
3522 (get_document_type_from_mime), (ev_document_type_lookup):
3523 * shell/ev-document-types.h:
3525 Change api to lookup from uri. Do fast lookup first, if the
3526 type is unknown try with data sniffing.
3528 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3529 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3533 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3535 * thumbnailer/Makefile.am:
3539 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3546 * data/evince-ui.xml:
3548 Hide presentation mode for now
3550 * shell/ev-view.c: (highlight_find_results):
3552 Show current find selection only on current page
3554 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3556 * shell/ev-view.c: (ev_view_select_all):
3558 Compute size of the actual page, not of
3561 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3563 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3564 (view_rect_to_doc_rect), (compute_selections),
3565 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3566 (ev_view_copy), (ev_view_primary_get_cb),
3567 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3568 (ev_view_button_press_event), (ev_view_motion_notify_event),
3569 (ev_view_button_release_event), (page_changed_cb):
3573 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3575 * shell/ev-view.c: (compute_border), (get_page_extents),
3576 (doc_rect_to_view_rect), (highlight_find_results),
3577 (ev_view_bin_expose), (ev_view_select_all),
3578 (ev_view_motion_notify_event), (update_find_status_message),
3579 (jump_to_find_result), (jump_to_find_page):
3581 First go at fixing search, still buggy
3583 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3585 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3586 dropdown box and button at the top of the sidebar.
3588 2005-05-02 James Bowes <bowes@cs.dal.ca>
3590 * configure.ac: Output zoom-control Makefile.
3591 * cut-n-paste/Makefile.am: build zoom-control subdir.
3592 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3593 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3594 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3595 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3596 * cut-n-paste/zoom-control/ephy-zoom.c:
3597 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3598 from epiphany, and modified to add a separator into the menu.
3599 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3600 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3601 zoom-control action.
3602 * shell/Makefile.am: Include zoom-control flags.
3603 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3604 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3605 (ev_view_zoom_for_size_presentation),
3606 (ev_view_zoom_for_size_continuous_and_dual_page),
3607 (ev_view_zoom_for_size_continuous),
3608 (ev_view_zoom_for_size_dual_page),
3609 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3610 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3611 ev_view_get_zoom and ev_view_get_sizing_mode.
3613 * shell/ev-window.c: (update_action_sensitivity),
3614 (update_sizing_buttons), (zoom_control_changed_cb),
3615 (register_custom_actions): Initialize and use the zoom-control
3618 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3620 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3621 preview cache back to 1. Don't know when it got set to 0.
3623 * shell/ev-view.c: (compute_border), (ev_view_realize),
3624 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3625 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3626 (ev_view_get_fullscreen), (ev_view_set_presentation),
3627 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3628 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3630 * shell/ev-window.c:
3631 (update_chrome_visibility),
3632 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3633 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3634 (update_document_mode), (ev_window_update_fullscreen_action),
3635 (ev_window_fullscreen), (ev_window_unfullscreen),
3636 (ev_window_cmd_view_fullscreen),
3637 (ev_window_update_presentation_action),
3638 (ev_window_run_presentation), (ev_window_stop_presentation),
3639 (ev_window_cmd_view_presentation), (ev_window_state_event),
3640 (ev_window_focus_in_event), (ev_window_focus_out_event),
3641 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3642 * data/evince-ui.xml: Initial presentation mode. We should
3643 probably hide this until it's done, as it's quite rough. Also,
3644 change full-screen to fullscreen and add two getters to EvView.
3646 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3648 * shell/ev-page-action.c: (update_page_cache),
3649 (ev_page_action_dispose):
3650 * shell/ev-window.c: (destroy_fullscreen_popup),
3651 (ev_window_create_fullscreen_popup):
3653 Use connect_object rather than explicitly
3654 disconnect on dispose.
3656 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3658 * shell/ev-page-action.c: (update_page_cache),
3659 (ev_page_action_dispose):
3661 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3663 * backend/ev-page-cache.c: (_ev_page_cache_new),
3664 (ev_page_cache_set_page_label),
3665 (ev_page_cache_has_nonnumeric_page_labels):
3666 * backend/ev-page-cache.h:
3667 * shell/ev-page-action.c: (update_pages_label):
3669 If all page labels are numeric, fallback to default
3670 way to display number of pages. See bug 173185.
3672 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3674 * shell/ev-page-action.c: (ev_page_action_dispose):
3675 * shell/ev-view.c: (view_update_range_and_current_page):
3676 * shell/ev-window.c: (ev_window_dispose):
3678 Set page on scroll in continuous mode. Fixes bug 301986.
3679 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3681 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3685 Require poppler 0.3.0
3687 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3689 * shell/Makefile.am, configure.ac: Fix build problems
3690 with t1lib. Bug 301996.
3692 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3694 * shell/ev-view.c: (ev_view_scroll_event):
3696 Scroll up increase zoom
3698 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3700 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3701 (ev_view_set_sizing_mode),
3702 (ev_view_zoom_for_size_continuous_and_dual_page),
3703 (ev_view_zoom_for_size_continuous):
3704 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3705 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3706 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3709 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3710 Fix for 165473 and 165472.
3712 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3715 * thumbnailer/Makefile.am:
3716 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3717 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3718 * thumbnailer/evince-thumbnailer.schemas.in:
3720 Make thumbnailer schemas translatable. Fix for bug 301773
3722 * thumbnailer/evince-thumbnailer-djvu.schemas:
3723 * thumbnailer/evince-thumbnailer-dvi.schemas:
3724 * thumbnailer/evince-thumbnailer.schemas:
3728 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3730 * shell/ev-view.c (ev_view_init): forgot to set this.
3732 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3734 * shell/ev-view.c: (find_page_at_location),
3735 (get_link_at_location),
3736 (ev_view_set_show_border), (ev_view_set_spacing),
3737 (ev_view_zoom_for_size_continuous_and_dual_page),
3738 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3739 Also, add a quick fix measuring of widths. Also, removed
3740 ev_view_set_spacing and ev_view_set_show_border.
3742 * shell/ev-window.c: (ev_window_unfullscreen),
3743 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3745 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3747 * shell/ev-view.c: (view_update_range_and_current_page),
3750 Fix crash on exit and scrolling to page in continuous view.
3752 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3755 * backend/ev-page-cache.c: (_ev_page_cache_new),
3756 (ev_page_cache_get_max_width_size),
3757 (ev_page_cache_get_max_height_size):
3758 * backend/ev-page-cache.h:
3759 * data/evince-ui.xml:
3760 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3761 * shell/ev-view.c: (view_update_adjustments),
3762 (view_update_range_and_current_page), (get_bounding_box_size),
3763 (ev_view_size_request_continuous_and_dual_page),
3764 (ev_view_size_request_continuous),
3765 (ev_view_size_request_dual_page),
3766 (ev_view_size_request_single_page), (ev_view_size_request),
3767 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3768 (ev_view_bin_expose), (ev_view_expose_event),
3769 (ev_view_set_property), (ev_view_get_property),
3770 (ev_view_class_init), (ev_view_init), (ev_view_new),
3771 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3772 (ev_view_set_dual_page), (ev_view_set_full_screen),
3773 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3774 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3775 (ev_view_zoom_out), (zoom_for_size_fit_width),
3776 (zoom_for_size_best_fit),
3777 (ev_view_zoom_for_size_continuous_and_dual_page),
3778 (ev_view_zoom_for_size_continuous),
3779 (ev_view_zoom_for_size_dual_page),
3780 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3781 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3783 * shell/ev-window.c: (update_action_sensitivity),
3784 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3785 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3786 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3787 (ev_window_cmd_view_zoom_out), (update_view_size),
3788 (ev_window_set_sizing_mode), (ev_window_init):
3790 Add Continuous and Dual page modes.
3792 2005-04-23 James Bowes <bowes@cs.dal.ca>
3794 * dvi/dvi-document.c: (dvi_document_load),
3795 (dvi_document_thumbnails_get_thumbnail),
3796 (dvi_document_init_params): Fix up some mixups between
3797 width and height to correct thumbnail rendering.
3799 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3801 * dvi/mdvi-lib/private.h:
3802 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3804 Suppess output for kpathsea during font generation. Thanks to
3807 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3814 * Makefile.am: fix distcheck.
3816 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3818 * shell/ev-sidebar-links.c: (selection_changed_callback),
3819 (update_page_callback), (row_activated_callback),
3820 (job_finished_callback), (ev_sidebar_links_set_document):
3822 Fix for bug #169901. Double click on links expands tree.
3824 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3826 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3827 hard-coded style. Fix for bug 170111
3829 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3831 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3834 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3836 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3838 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3840 * pdf/ev-poppler.cc:
3841 * shell/ev-view.c: (highlight_find_results):
3843 Fix find on single page documents
3845 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3847 * data/evince.schemas.in: fix for bug 301390
3849 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3851 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3852 (ev_view_zoom_out), (ev_view_zoom_normal):
3854 * shell/ev-window.c: (update_action_sensitivity),
3855 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3856 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3857 (ev_window_cmd_view_normal_size):
3859 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3860 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3863 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3867 Depend on 2.57, 2.59 doesnt seem to be necessary
3869 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3871 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3874 Put back total number of pages as (1 of 1234)
3876 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3878 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3881 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3882 function. This helps debugging.
3884 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3886 * djvu/djvu-document.c: (djvu_document_class_init),
3887 (djvu_document_get_info), (djvu_document_document_iface_init):
3888 * dvi/dvi-document.c: (dvi_document_class_init),
3889 (dvi_document_get_info), (dvi_document_document_iface_init):
3891 Dummy implementation of get_info method for dvi and djvu. Fix
3892 crashes with those backends
3894 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3896 * data/evince.desktop.in:
3898 Add application/x-gzpostscript
3900 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3902 * data/evince.schemas.in: Added real long descriptions,
3905 * README: Added actual text, closes bug 171869
3907 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3909 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3913 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3915 * backend/ev-document-info.h:
3917 s/GDate */GDate so we can just use g_free
3919 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3921 * shell/ev-window.c: (update_document_mode),
3922 (ev_window_setup_document):
3924 Show the window in fullscreen when specified by
3927 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3929 * backend/ev-document.c: (ev_document_class_init),
3930 (ev_document_get_info), (ev_document_render_pixbuf):
3931 * backend/ev-document.h:
3932 * backend/ev-page-cache.c: (_ev_page_cache_new):
3933 * pdf/ev-poppler.cc:
3934 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3935 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3936 * ps/ps-document.c: (ps_document_class_init), (document_load),
3937 (ps_document_get_info), (ps_document_document_iface_init):
3939 Remove get_title from the interface, we can just use document info
3941 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3943 * backend/Makefile.am:
3944 * backend/ev-document.c: (ev_document_render_get_info):
3945 * backend/ev-document.h:
3946 * pdf/ev-poppler.cc:
3948 Initial support for document info. Based on jrb patch.
3950 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3952 * shell/ev-window.c: (ev_window_state_event),
3953 (ev_window_class_init), (ev_window_init):
3955 Doesn't show resize grip when maximized. See bug #301053
3957 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3961 ev-sidebar-thumbnails now has translatable labels
3963 * shell/Makefile.am:
3964 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3965 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3966 (ev_sidebar_links_page_iface_init):
3967 * shell/ev-sidebar-links.h:
3968 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3969 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3970 (ev_sidebar_page_get_label):
3971 * shell/ev-sidebar-page.h:
3972 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3973 (ev_sidebar_thumbnails_set_document),
3974 (ev_sidebar_thumbnails_support_document),
3975 (ev_sidebar_thumbnails_get_label),
3976 (ev_sidebar_thumbnails_page_iface_init):
3977 * shell/ev-sidebar-thumbnails.h:
3978 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3979 (ev_sidebar_set_document):
3980 * shell/ev-sidebar.h:
3981 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3983 Small rework of sidebar code. Now sidebar pages should implement
3984 EvSidebarPage interface. That makes page management in EvSidebar
3985 easier. See bug #164811 for details
3987 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3989 * shell/ev-application.c: (ev_application_open):
3990 * shell/ev-document-types.c:
3992 Fix build error and small problem with application exit
3994 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3996 * thumbnailer/Makefile.am:
3997 * thumbnailer/evince-thumbnailer-djvu.schemas:
3998 * thumbnailer/evince-thumbnailer-dvi.schemas:
4000 Conditionally install schemas for djvu/dvi thumbnailer
4002 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4004 * shell/ev-document-types.h:
4005 * shell/ev-document-types.c:
4006 New files, handling the mapping from mimetypes to backends
4008 * shell/ev-window.c:
4009 * thumbnailer/evince-thumbnailer.c:
4010 Use the ev-document-types code
4012 * shell/Makefile.am:
4013 Added new convenience library libevbackendfactory_la, containing
4014 the new mimetype->backend logic; moved the backends into it.
4016 * thumbnailer/Makefile.am:
4017 Make the thumbnailer link with the libevbackend.la convenience
4018 library, rather than having a duplicate of the backend logic here.
4020 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4022 * shell/ev-stock-icons.c: constify some vars.
4023 * shell/ev-window.c: ditto.
4025 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4027 * ps/ps-document.c (get_page_orientation):
4029 Respect document orientation
4031 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4035 * shell/Makefile.am:
4037 Move library dependencies to components.
4039 * shell/ev-window.c: (update_window_title),
4040 (start_loading_document):
4042 Fix display of uris with spaces. Bug 168358.
4044 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4046 * shell/ev-sidebar-links.c: (selection_changed_cb):
4047 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4048 (ev_view_button_release_event), (ev_view_set_document):
4050 * shell/ev-window.c: (find_bar_search_changed_cb):
4051 * shell/ev-window.h: Minor cleanups removing some dead code.
4053 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4055 * backend/ev-page-cache.c: (_ev_page_cache_new):
4057 Set current page to 0 if document has pages.
4059 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4061 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4063 Initialize GError to NULL, fix a crash when loading fails.
4065 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4067 * shell/ev-window.c: (update_view_size):
4069 Calculate shadow size only when there is actually
4072 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4074 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4077 Allow setting view spacing, default to 0
4079 * shell/ev-window.c: (ev_window_unfullscreen),
4080 (ev_window_cmd_view_fullscreen), (ev_window_init):
4082 Remove spacing in fullscreen mode
4084 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4086 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4087 (ev_view_size_request), (expose_bin_window),
4088 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4090 * shell/ev-window.c: (ev_window_unfullscreen),
4091 (ev_window_cmd_view_fullscreen):
4093 Do not draw the border in fulscreen
4095 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4097 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4098 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4099 (find_page_at_location), (page_changed_cb):
4101 Rework border calculation, so that I can more easily disable it.
4102 Code somewhat cleaner too.
4104 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4106 * backend/ev-page-cache.c: (ev_page_cache_init),
4107 (_ev_page_cache_new):
4109 Remove some assertions, documents can have 0 pages.
4110 Make initial current page -1.
4112 * shell/ev-page-action.c: (page_changed_cb):
4114 Show "" if current page is -1
4116 * shell/ev-window.c: (update_action_sensitivity),
4117 (ev_window_setup_document):
4119 When document has 0 pages do not set the view
4120 and make nearly everything insensitive.
4122 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4124 * shell/ev-page-view.c:
4125 * shell/ev-page-view.h:
4127 Remove unused files.
4129 * shell/ev-sidebar-thumbnails.c:
4130 (ev_sidebar_thumbnails_set_document):
4131 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4132 (ev_sidebar_supports_document):
4133 * shell/ev-sidebar.h:
4134 * shell/ev-window.c: (ev_window_setup_document):
4136 Doesn't show thumbnails if document has 1 page. Make
4137 sidebar menu entries sensitive only if if they have
4138 sense. Fix bug 164811.
4140 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4142 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4143 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4144 (ev_view_zoom_out), (ev_view_set_size):
4146 Rework sizing to deal with documents with not uniform page
4149 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4151 * backend/ev-page-cache.c: (_ev_page_cache_new):
4153 Fix several page size caching bugs
4155 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4157 * shell/ev-window.c: (set_action_properties):
4159 Make all toolbar items translatable
4161 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4163 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4164 (save_page_list), (ps_document_save),
4165 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4166 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4167 (ps_document_ps_exporter_iface_init):
4170 Based on a patch by J�rg Billeter <j@bitron.ch>
4172 Implement print and save a copy for the ps backend.
4174 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4176 * backend/ev-document.h:
4177 * djvu/djvu-document.c: (djvu_document_can_get_text),
4178 (djvu_document_document_iface_init):
4179 * dvi/dvi-document.c: (dvi_document_can_get_text),
4180 (dvi_document_document_iface_init):
4181 * pdf/ev-poppler.cc:
4182 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4183 (pixbuf_document_document_iface_init):
4184 * ps/ps-document.c: (ps_document_can_get_text),
4185 (ps_document_document_iface_init):
4186 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4187 * shell/ev-window.c: (update_action_sensitivity):
4189 Fix the crash when trying to copy in backends that doesnt
4190 support it. We can implement a better solution once we
4191 do real text selection.
4193 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4195 * data/evince-ui.xml:
4196 * shell/ev-window.c: (ev_window_cmd_escape):
4198 Work around the Escape conflict (find bar and unfullscreen)
4200 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4202 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4204 Fix for #300233. Next page correctly handles document end.
4206 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4207 (ev_sidebar_thumbnails_class_init),
4208 (ev_sidebar_thumbnails_set_document),
4209 (ev_sidebar_thumbnails_clear_job),
4210 (ev_sidebar_thumbnails_clear_model):
4212 Cleanup thumbnail jobs on document changes.
4214 * shell/ev-view.c: (add_scroll_binding_keypad),
4215 (add_scroll_binding_shifted), (ev_view_class_init):
4217 Shift + Space scrolls up. Fix for #173184
4219 * shell/ev-window.c: (ev_window_open_page),
4220 (ev_window_cmd_view_reload):
4222 Fix reload (Bug #300094)
4224 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4227 * dvi/mdvi-lib/assoc.c:
4228 * dvi/mdvi-lib/assoc.h: Removed garbage files
4230 * dvi/mdvi-lib/bitmap.c:
4231 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4232 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4233 * dvi/mdvi-lib/color.h: Antialias of rules
4235 * dvi/mdvi-lib/common.h:
4236 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4237 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4238 * dvi/mdvi-lib/files.c:
4239 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4240 * dvi/mdvi-lib/mdvi.h:
4241 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4242 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4243 * dvi/mdvi-lib/util.c: Fix compile warnings
4245 * dvi/dvi-document.c:
4246 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4247 (dvi_document_thumbnails_get_thumbnail),
4248 (dvi_document_document_thumbnails_iface_init):
4249 * dvi/mdvi-lib/Makefile.am:
4250 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4251 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4253 Dvi backend now renders thumbnails
4255 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4257 * shell/main.c: (main):
4259 Save accelerators on exit. Fixes bug #172095.
4261 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4263 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4264 update priority" comment.
4266 * backend/ev-job-queue.c: Give a way to change priority.
4268 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4270 * shell/ev-page-action.c: Fix logic.
4272 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4274 * shell/ev-view.c: (ev_view_can_find_next):
4275 * shell/ev-window.c: (ev_window_setup_document):
4277 Check that the document supports find
4279 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4281 * data/evince-ui.xml:
4282 * shell/ev-view.c: (ev_view_can_find_next):
4284 * shell/ev-window.c: (update_action_sensitivity),
4285 (find_changed_cb), (ev_window_setup_document),
4286 (ev_window_cmd_edit_find_next):
4290 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4292 * pdf/ev-poppler.cc:
4293 * shell/ev-print-job.c: (idle_print_handler):
4295 Make printing work again
4297 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4299 * shell/ev-page-action.h:
4300 * shell/ev-page-action.c: (ev_page_action_widget_init),
4301 (ev_page_action_widget_class_init), (page_changed_cb),
4302 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4303 (get_filter_model_from_model), (match_selected_cb),
4304 (display_completion_text), (match_completion), (update_model),
4305 (connect_proxy), (ev_page_action_set_property),
4306 (ev_page_action_get_property), (ev_page_action_set_document),
4307 (ev_page_action_set_model), (ev_page_action_class_init): Big
4308 reworking to make completions work iff we have >= GTK-2.7.0
4310 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4311 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4312 (job_finished_cb): We now have a 'model' property that is set when
4313 the links are loaded. This can be caught with "notify::model"
4315 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4316 listen for the model to be set, and propagate it to the action.
4318 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4320 * cut-n-paste/recent-files/egg-recent-item.c:
4321 (egg_recent_item_set_uri), (make_valid_utf8),
4322 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4323 * cut-n-paste/recent-files/egg-recent-item.h:
4325 Update egg-recent from libegg. This should fix long
4326 startup problem. For details see
4327 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4329 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4331 * cut-n-paste/recent-files/Makefile.am:
4332 * data/evince-ui.xml, shell/Makefile.am:
4333 * shell/ev-application.c, shell/ev-application.h:
4334 * shell/ev-window.c: Recent files support.
4336 * configure.ac: Added "ru" to ALL_LINGUAS.
4338 * dvju: new backend to support DJVU files.
4339 * dvi: new backend to support DVI.
4341 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4342 * ev-application.c: Support for new backends.
4344 * help, ev-window.c, main.c shell/Makefile.am:
4345 Evince user documentation.
4347 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4350 * shell/ev-window.c:
4351 * thumbnailer/evince-thumbnailer.c:
4353 s/pdf-document/ev-poppler
4355 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4362 * ps/ps-document.c: (setup_pixmap):
4366 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4368 * backend/ev-page-cache.c (ev_page_cache_next_page):
4369 * shell/ev-window.c (ev_window_cmd_go_next_page)
4370 (ev_window_cmd_go_first_page): Fix of by one errors.
4372 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4374 * ps/ps-document.c: (get_page_box):
4376 Fix page size calculation
4378 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4380 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4381 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4382 (get_page_orientation), (setup_page), (document_load),
4383 (ps_document_get_page_size), (render_pixbuf_idle):
4386 More refactoring to adapt to EvDocument changes
4388 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4390 * ps/ps-document.c: (start_interpreter):
4392 Actually add alpha args
4394 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4396 * pdf/ev-poppler.cc:
4398 Make clipboard work again
4400 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4402 Make searching work again.
4404 * backend/ev-document.c:
4405 * backend/ev-document.h:
4406 * backend/ev-document-find.c:
4407 * backend/ev-document-find.h: Change EvDocumentIface so we no
4408 longer store the current page or zoom level in the document. The
4409 consequence is that all calls that operate on the current page now
4410 instead take the page number as an extra argument, and all
4411 coordinates are now doubles in document coordinate system.
4413 * pdf/ev-poppler.cc:
4414 * pixbuf/pixbuf-document.c:
4415 * ps/ps-document.c: Update backends accordingly.
4417 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4421 Add required gettext version
4423 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4425 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4426 make F1 bring up non-existent help.
4428 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4429 epiphany's find bar, #167477
4431 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4432 <emil@nishra.com> to add space-bar scrolling,
4434 * shell/ev-window.c (static GtkActionEntry entries): add default
4435 keybinding for Help (F1)
4438 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4439 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4442 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4445 * pixbuf/pixbuf-document.c:
4447 Got pixbuf backend working again
4449 2005-04-01 Steve Murphy <murf@e-tools.com>
4451 * configure.in: Added "rw" to ALL_LINGUAS.
4453 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4455 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4456 model types, noticed by Martin Kretzschmar.
4458 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4460 * pdf/ev-poppler.cc: Implement search based on
4461 poppler_page_find_text(). Currently a bit crude since we remember
4462 all matches from all pages. Also, we grab the big document lock
4463 when we search since searching changes the underlying stream and
4464 thus conflicts with the rendering thread.
4466 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4467 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4468 (ev_view_find_previous): Fix some page indexes to be 0 based,
4469 offset rubber band by view offset,
4471 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4473 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4475 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4477 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4478 completely because I didn't understand GtkActions. I should
4479 read Marco's code more carefully in the future.
4481 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4484 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4486 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4487 PopplerRectangle change from poppler CVS.
4489 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4491 * backend/ev-document.c: (ev_document_get_page_label):
4492 * backend/ev-document.h:
4493 * backend/ev-page-cache.c: (_ev_page_cache_new),
4494 (ev_page_cache_get_page_label):
4495 * backend/ev-page-cache.h:
4496 * pdf/ev-poppler.cc:
4497 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4498 (links_page_num_func):
4499 * shell/ev-sidebar-thumbnails.c:
4500 (ev_sidebar_thumbnails_set_document):
4501 * shell/ev-view.c: (status_message_from_link),
4502 (ev_view_motion_notify_event):
4503 * shell/ev-window.c: (document_supports_sidebar): Add in page
4504 label support. It's not perfect yet, but it's the first 'feature'
4506 Also, fix a bogus comment noticed by crispin.
4508 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4510 * Makefile.am: Remove pixbuf backend for now
4512 * configure.ac: Require poppler-glib instead of just poppler.
4514 * backend/ev-document-thumbnails.h: Add a comment
4516 * backend/ev-document.h:
4517 * backend/ev-document.c: (ev_document_class_init),
4518 (ev_document_load), (ev_document_get_link),
4519 (ev_document_get_links): Remove 3 methods and add get_links.
4522 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4523 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4525 * backend/ev-link.c: (ev_link_set_title),
4526 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4527 (ev_link_mapping_find):
4528 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4530 * backend/ev-page-cache.c: (ev_page_cache_init),
4531 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4532 (ev_page_cache_get_size), (ev_page_cache_next_page),
4533 (ev_page_cache_prev_page): Fix to be 0 based.
4537 * pdf/ev-poppler.cc: New backend.
4539 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4540 (ps_document_get_page), (ps_document_document_iface_init):
4542 * shell/ev-pixbuf-cache.h:
4543 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4544 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4545 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4546 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4547 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4548 Fix up code to grab a page cache per each doc. Also, fix to be 0
4551 * shell/ev-sidebar-thumbnails.c:
4552 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4553 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4555 * shell/ev-view.c: (status_message_from_link),
4556 (find_page_at_location), (get_link_at_location),
4557 (ev_view_motion_notify_event), (ev_view_button_release_event),
4558 (ev_view_init): Use the new link code. Fix to be 0 based.
4560 * shell/ev-window.c: (update_action_sensitivity),
4561 (document_supports_sidebar): 0 based.
4563 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4565 * pdf/pdf-document.cc: Patch from Fernando Herrera
4566 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4569 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4571 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4572 1 to the page, as this seems to be 1 based. I thought we has this
4575 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4578 * backend/Makefile.am:
4579 * backend/ev-document-links.c:
4580 (ev_document_links_has_document_links),
4581 (ev_document_links_get_links_model):
4582 * backend/ev-document-links.h:
4583 * backend/ev-document.c: (ev_document_get_page_cache),
4584 (ev_document_get_doc_mutex), (ev_document_load),
4585 (ev_document_save), (ev_document_get_title),
4586 (ev_document_get_n_pages), (ev_document_set_page),
4587 (ev_document_get_page), (ev_document_set_target),
4588 (ev_document_set_scale), (ev_document_set_page_offset),
4589 (ev_document_get_page_size), (ev_document_get_text),
4590 (ev_document_get_link), (ev_document_render),
4591 (ev_document_render_pixbuf), (ev_document_scale_changed):
4592 * backend/ev-document.h:
4593 * backend/ev-job-queue.c: (remove_object_from_queue),
4594 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4595 (no_jobs_available_unlocked), (ev_render_thread),
4596 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4597 (ev_job_queue_remove_job):
4598 * backend/ev-job-queue.h:
4599 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4600 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4601 (ev_job_links_class_init), (ev_job_render_init),
4602 (ev_job_render_dispose), (ev_job_render_class_init),
4603 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4604 (ev_job_thumbnail_class_init), (ev_job_finished),
4605 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4606 (ev_job_render_run), (ev_job_thumbnail_new),
4607 (ev_job_thumbnail_run):
4608 * backend/ev-jobs.h:
4609 * backend/ev-link.c:
4610 * backend/ev-link.h:
4611 * backend/ev-page-cache.c: (ev_page_cache_init),
4612 (ev_page_cache_class_init), (ev_page_cache_finalize),
4613 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4614 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4615 (ev_page_cache_set_link), (ev_page_cache_get_title),
4616 (ev_page_cache_get_size), (ev_page_cache_next_page),
4617 (ev_page_cache_prev_page):
4618 * backend/ev-page-cache.h:
4619 * pdf/pdf-document.cc:
4622 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4623 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4624 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4625 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4626 (is_interpreter_ready), (output), (catchPipe), (input),
4627 (start_interpreter), (check_filecompressed), (compute_dimensions),
4628 (ps_document_enable_interpreter), (document_load),
4629 (ps_document_next_page), (render_page), (ps_document_set_page),
4630 (ps_document_set_scale), (render_pixbuf_idle),
4631 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4633 * shell/Makefile.am:
4634 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4635 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4636 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4637 (ev_pixbuf_cache_new), (job_finished_cb),
4638 (check_job_size_and_unref), (move_one_job),
4639 (ev_pixbuf_cache_update_range), (find_job_cache),
4640 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4641 (ev_pixbuf_cache_add_jobs_if_needed),
4642 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4643 * shell/ev-pixbuf-cache.h:
4644 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4645 (idle_print_handler):
4646 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4647 (selection_changed_cb), (create_loading_model),
4648 (ev_sidebar_links_construct), (links_page_num_func),
4649 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4650 (update_page_callback), (job_finished_cb),
4651 (ev_sidebar_links_set_document):
4652 * shell/ev-sidebar-thumbnails.c:
4653 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4654 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4655 (page_changed_cb), (thumbnail_job_completed_callback),
4656 (ev_sidebar_thumbnails_set_document):
4657 * shell/ev-sidebar-thumbnails.h:
4658 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4659 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4660 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4661 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4662 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4663 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4664 (ev_view_button_release_event), (ev_view_scroll_view),
4665 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4666 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4667 (ev_view_new), (job_finished_cb), (page_changed_cb),
4668 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4669 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4670 (ev_view_find_previous):
4672 * shell/ev-window.c: (update_action_sensitivity),
4673 (ev_window_open_page), (update_window_title), (update_total_pages),
4674 (page_changed_cb), (ev_window_setup_document),
4675 (password_dialog_response), (ev_window_cmd_save_as),
4676 (ev_window_print), (ev_window_cmd_go_previous_page),
4677 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4678 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4679 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4680 * shell/main.c: (main):
4682 Merge evince-threads branch
4684 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4686 * configure.ac: Added "lt" to ALL_LINGUAS.
4688 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4695 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4697 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4699 Fix here also the thumbnails 1-basedness :)
4701 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4708 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4710 * pdf/pdf-document.cc:
4711 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4712 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4714 Fix the mess we did with thumbnails and 1-basedness
4716 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4718 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4720 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4727 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4730 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4731 (gtk_gs_defaults_get_alpha_parameters),
4732 (gtk_gs_defaults_get_ungzip_cmd),
4733 (gtk_gs_defaults_get_unbzip2_cmd):
4735 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4736 (ps_document_get_orientation), (document_load),
4737 (ps_document_goto_page), (ps_document_set_page_size):
4740 Some more sanitization of the ps backend. Remove a lot
4741 of unused code and do not base our defaults on ggv
4744 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4746 * thumbnailer/evince-thumbnailer.schemas:
4747 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4748 (main): add -s option for thumbnail size.
4750 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4754 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4757 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4759 * pdf/pdf-document.cc:
4761 Remove 4 pixels of useless border from the
4764 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4766 * backend/ev-document-thumbnails.c:
4767 (ev_document_thumbnails_get_thumbnail):
4768 * backend/ev-document-thumbnails.h:
4770 Rework API a bit. Add a border flag and
4771 change sizing logic (now the size we specify
4772 applies to the bigger dimension).
4774 * pdf/pdf-document.cc:
4775 * pixbuf/pixbuf-document.c:
4776 (pixbuf_document_thumbnails_get_thumbnail):
4777 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4778 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4780 Adapt to the new API and do not draw a border for nautilus
4783 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4785 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4786 take thumbnails from page "0" instead of "1". Added a copyright header.
4788 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4790 * ps/ps-document.c: (set_up_page), (start_interpreter):
4792 Make it C89 compliant
4794 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4799 * pdf/pdf-document.cc:
4800 * thumbnailer/Makefile.am:
4801 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4803 * thumbnailer/evince-thumbnailer.schemas:
4804 * thumbnailer/pdf-icon.png:
4806 Add a nautilus thumbnailer.
4807 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4809 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4817 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4819 Use poppler instead of including xpdf source code. Poppler is a
4820 fork of xpdf to build it as a shared library. See
4821 http://freedesktop.org/wiki/Software/poppler.
4823 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4826 * pdf/Makefile.am: Build libpdfdocument.a here.
4828 * pdf/GDKSplashOutputDev.cc:
4829 * pdf/GDKSplashOutputDev.h:
4830 * pdf/GnomeVFSStream.cc:
4831 * pdf/GnomeVFSStream.h:
4834 * test-gdk-output-dev.cc
4836 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4839 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4841 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4843 Clear idle stack before unsetting the document
4845 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4847 * ps/ps-document.c: (ps_document_widget_event),
4848 (ps_document_set_target), (ps_document_finalize),
4849 (ps_document_get_page):
4851 Disconnect the widget event signal on finalize.
4854 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4856 * ps/ps-document.c: (set_up_page):
4858 If there is no bpixmap create one, even if size
4861 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4863 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4864 (set_up_page), (document_load), (ps_document_set_zoom):
4866 Default page is 0. Calculate size even when we have no
4869 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4871 * shell/ev-sidebar.c: expand the selection widget to be always as
4874 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4876 * shell/ev-sidebar-thumbnails.c:
4877 (ev_sidebar_thumbnails_set_document):
4879 Clear the list store when setting document
4881 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4883 * shell/ev-page-action.c: (update_entry), (sync_entry),
4884 (activate_cb), (entry_size_request_cb), (create_tool_item),
4887 Use an entry for the page control instead of spinbuttons
4889 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4891 * data/evince.schemas.in:
4893 Correct confusing string
4895 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4897 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4898 for real. Gosh, how long has this been broken.
4900 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4901 check for a NULL link. We crash otherwise.
4903 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4910 2005-02-25 Sebastien Bacher <seb128@debian.org>
4912 * configure.ac: add the french translation.
4914 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4916 * shell/ev-window.c:
4918 Remove unused header -> fix distcheck
4920 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4922 * shell/ev-window.c: (update_window_title),
4923 (ev_window_popup_password_dialog):
4925 Unescape filename for display
4927 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4929 * pdf/xpdf/pdf-document.cc:
4931 In get_page_size deal with rotation. Also
4932 cleanup the function a bit.
4934 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4936 * pdf/xpdf/pdf-document.cc:
4938 Fix crash when opening in new window
4940 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4944 Check ghostscript >= 7
4946 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4948 * shell/ev-window.c:
4950 Make page width the default sizing mode
4952 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4953 Marco Pesenti Gritti <marco@gnome.org>
4955 * shell/ev-window.c: Remember the sidebar size
4957 * data/evince.schemas.in: Add a new gconf key to store the size of
4960 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4962 * data/evince-ui.xml:
4963 * shell/ev-window.c: (update_action_sensitivity),
4964 (ev_window_cmd_view_reload):
4966 Add a "Reload" action and menu entry
4968 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4970 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4971 iff the type doesn't support thumbnailing and indexing.
4973 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4975 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4977 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4979 * pdf/splash/Splash.cc:
4981 Port fix for a crasher from kde bug
4982 http://bugs.kde.org/show_bug.cgi?id=97131
4984 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4986 * pdf/xpdf/pdf-document.cc:
4988 Return a link even if it's of an unrecognized
4989 type. Otherwise we go in an infinte cycle.
4991 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4993 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4994 (size_allocate_cb), (ev_window_set_sizing_mode):
4996 Update size when switching mode
4998 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5000 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5001 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5002 (ev_window_cmd_view_normal_size):
5004 Fix size toggle buttons behavior
5006 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5008 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5009 (doc_rect_to_view_rect), (ev_view_size_allocate),
5010 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5011 (scale_changed_callback):
5013 Do not cache offsets in size_allocate.
5015 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5017 * shell/ev-view.c: (ev_view_size_allocate):
5019 Calculate offsets before calling the parent
5020 class (which does a redraw)
5022 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5024 * pdf/xpdf/pdf-document.cc:
5026 Fix a crasher on exit. Unused code, put a TODO
5028 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5030 * backend/ev-document.c: (ev_document_class_init),
5031 (ev_document_page_changed), (ev_document_scale_changed):
5032 * backend/ev-document.h:
5034 Separate page/scale notifications
5036 * pdf/xpdf/pdf-document.cc:
5038 Emit the new signals.
5039 Do not display the pdf page in _render, do it
5040 when scale/page are requested.
5042 * ps/ps-document.c: (ps_document_set_zoom),
5043 (ps_document_widget_event):
5046 Emit the new signals.
5048 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5049 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5050 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5051 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5053 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5054 (ev_window_cmd_view_page_width), (size_allocate_cb),
5055 (ev_window_set_sizing_mode):
5057 Rework sizing to be pixel based.
5058 There are bugs but should be already way better.
5060 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5062 * shell/ev-window.c: (ev_window_init):
5064 Do not allow to shrink sidebar smaller then
5067 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5069 * shell/ev-sidebar.[ch]
5070 * shell/ev-window.c:
5072 Improved sidebar widget. Fixes #166683
5074 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5076 * shell/ev-view.c (update_find_status_message): Give translators
5077 more flexibility with ngettext plural handling.
5079 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5081 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5082 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5083 page when we get the page size.
5085 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5087 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5089 ps pages are 0 based, convert
5091 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5093 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5095 Initialize correct parent class. Set GError on document load
5097 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5099 * pdf/xpdf/pdf-document.cc:
5101 Fixup selection offset calculation
5103 * shell/ev-view.c: (view_rect_to_doc_rect),
5104 (doc_rect_to_view_rect), (ev_view_size_allocate),
5105 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5106 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5108 Store selection as document relative, so that zooming
5109 and offset changing doesnt break it.
5111 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5113 * shell/ev-view.c: (ev_view_best_fit):
5115 Do not try to best fit if the view is not realized
5117 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5119 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5121 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5123 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5125 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5127 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5128 the popup window. That prevents it resizing when in full screen
5131 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5132 multiple rerenders. This pretty much sucks.
5134 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5135 rest of the toolbar.
5137 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5139 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5141 2005-02-17 Alexander Shopov <ash@contact.bg>
5143 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5145 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5147 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5149 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5151 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5152 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5153 (set_document_page), (document_changed_callback),
5154 (ev_view_set_document), (ev_view_find_previous),
5155 (ev_view_hide_cursor), (ev_view_show_cursor):
5157 * shell/ev-window.c: (update_chrome_visibility),
5158 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5159 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5160 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5161 (ev_window_unfullscreen):
5162 * shell/main.c: (main):
5164 Automatically hide the fullscreen button.
5165 Patch by Kristian Høgsberg <krh@redhat.com>
5167 2005-02-16 Vincent Noel <vnoel@cox.net>
5169 * shell/main.c (main): Specify an icon for the window. Patch by
5170 Jaap A. Haitsma. Fixes #166177.
5172 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5174 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5176 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5178 * backend/ev-document-misc.h:
5179 * backend/ev-document-misc.c:
5180 (ev_document_misc_get_page_border_size),
5181 (ev_document_misc_paint_one_page): New function to canonicalize
5182 sizing/painting a border.
5184 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5187 * pdf/xpdf/pdf-document.cc: use new function
5189 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5190 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5191 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5192 shell/ev-window.c: (update_sizing_buttons),
5193 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5194 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5195 (ev_window_cmd_view_page_width), (size_allocate_cb),
5196 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5197 and "fit width" values act as toggle buttons so they stay
5198 toggled. It's not 100% perfect, and it's a little slow, but it's
5199 good enough to commit I think.
5201 2005-02-15 David Lodge <dave@cirt.net>
5203 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5205 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5207 * shell/ev-window.c (update_window_title): replace newlines in
5208 the title by spaces. Bug #166107.
5210 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5212 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5213 parameters providing allocation width and height without
5214 scrollbars and width of a possible vertical scrollbar. With this
5215 additional information the functions can work as
5216 intended. Unfortunately they're not idempotent. We should
5217 transform these commands to toggles. Fixes Bug #164976
5218 Initial patch by Stephane Loeuillet, then heavily modified.
5220 * shell/ev-view.h: update prototypes.
5222 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5223 (ev_window_cmd_view_page_width): provide EvView fit functions with
5224 all the information they need. Formulas to calculate this
5225 information taken from GtkScrolledWindow.
5227 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5229 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5230 created a thumbnail, the list store is updated to know
5231 that the thumbnail is set. Fixes bug #166792
5233 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5235 * shell/ev-window.c: fixed typo, closes bug 166897
5237 * TODO: updated TODO with bug numbers that are relevant
5239 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5241 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5243 2005-02-09 Vincent Noel <vnoel@cox.net>
5245 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5246 and "Next" toolbar buttons as important to make them stand out.
5248 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5252 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5253 (start_interpreter), (stop_interpreter), (document_load),
5254 (ps_document_next_page), (ps_document_goto_page),
5255 (ps_document_set_page_size), (ps_document_widget_event),
5256 (ps_document_render):
5257 * shell/ev-page-view.c: (ev_page_view_dispose):
5258 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5260 Fix compilation on non-gcc platforms
5262 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5269 * pdf/xpdf/Catalog.cc:
5272 Fix the fix for CAN-2004-0888
5274 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5277 * data/evince-ui.xml:
5278 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5279 * shell/ev-stock-icons.h:
5280 * shell/ev-window.c: (update_action_sensitivity),
5281 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5282 (set_action_properties):
5284 Improve toolbar layout/icons
5286 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5288 * pdf/xpdf/pdf-document.cc:
5290 Add warnings about unimplemented/unknown link
5293 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5295 * ps/ps-document.c: (set_up_page):
5299 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5301 * ps/ps-document.c: (start_interpreter):
5305 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5307 * shell/ev-page-view.c: (ev_page_view_dispose):
5308 * shell/ev-view.c: (ev_view_finalize):
5309 * shell/ev-window.c: (ev_window_setup_document),
5310 (ev_window_dispose), (ev_window_init):
5312 Solve more refs issues.
5314 I commented out the page_view initialization for now:
5315 it was never destroyed (because it's never added
5316 to a container). Because of that we was leaking
5317 gs processes. Couldnt think to a clean fix.
5318 We need to figure this out, password view has the
5319 same issue probably.
5321 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5323 * ps/ps-document.c: (ps_document_finalize),
5324 (ps_document_get_n_pages), (ps_document_get_page):
5326 Some cleanups, stop the interpreter on finalize
5328 * shell/ev-page-view.c: (ev_page_view_dispose),
5329 (ev_page_view_class_init):
5331 Release our reference on the document
5333 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5337 * doc/debugging.txt:
5340 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5341 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5342 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5345 Add debugging helpers
5348 * ps/ps-document.c: (set_up_page), (start_interpreter),
5349 (stop_interpreter), (document_load), (ps_document_next_page),
5350 (ps_document_goto_page), (ps_document_set_page_size),
5351 (ps_document_widget_event), (ps_document_render):
5352 * shell/Makefile.am:
5353 * shell/ev-view.c: (expose_bin_window):
5354 * shell/main.c: (main):
5358 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5360 * ps/ps-document.c: (ps_document_widget_event):
5362 Initialize message_window, this should make ps
5363 rendering really work! (Never noticed because I was
5364 testing with a ps that is causing gs to exit every time!)
5366 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5368 * data/evince.schemas.in: updated simple error in applyto closing tag
5370 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5376 * data/evince-ui.xml:
5377 A data/evince.schemas.in:
5379 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5380 * shell/ev-stock-icons.h:
5381 * shell/ev-window.c: (update_chrome_visibility),
5382 (update_chrome_flag), (ev_window_cmd_edit_find),
5383 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5384 (ev_window_unfullscreen), (ev_window_focus_in_event),
5385 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5386 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5387 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5388 (ev_window_dispose), (ev_window_class_init),
5389 (set_action_properties), (set_chrome_actions), (load_chrome),
5392 Implement fullscreen mode changes from bug #164776.
5393 Also implement persistent chrome toggles.
5395 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5397 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5399 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5405 Add another check for find interface
5409 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5411 * shell/ev-application.c: (ev_application_open):
5412 * shell/ev-window.c: (ev_window_open):
5414 Open gzipped ps documents
5416 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5419 * shell/ev-view.c: (set_document_page):
5421 Clamp page number, dont try to move to
5424 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5426 * backend/ev-document-find.c: (ev_document_find_changed):
5427 * backend/ev-document-find.h:
5428 * pdf/xpdf/pdf-document.cc:
5429 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5430 * shell/ev-window.c: (find_bar_search_changed_cb):
5432 Fix several bugs with find
5434 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5436 * shell/ev-sidebar-thumbnails.c
5437 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5438 document. Prevents warning from scroll_to_cell.
5440 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5442 * configure.ac: Add «nb» to ALL_LINGUAS too.
5444 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5446 * NOTES: New file with some random thoughts.
5450 * backend/ev-document-misc.c:
5451 (ev_document_misc_get_page_border_size): New function to
5452 canonicalize shadow drawing sizes. Possibly goofy.
5454 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5455 (ev_view_best_fit), (ev_view_fit_width):
5456 * pdf/xpdf/pdf-document.cc:
5457 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5458 * ps/ps-document.c: (ps_document_get_page_size):
5459 * backend/ev-document-misc.h:
5460 * backend/ev-document.c: (ev_document_get_page_size):
5461 * backend/ev-document.h: get_page_size now takes a page number
5462 parameter. Made all the backends/frontends honor it.
5464 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5465 see. Doesn't work yet.
5467 * shell/Makefile.am:
5468 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5469 Doesn't do anything yet.
5471 * shell/ev-sidebar-thumbnails.c:
5472 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5475 * shell/ev-window.c: (update_action_sensitivity),
5476 (ev_window_setup_document), (ev_window_set_page_mode),
5477 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5478 view-swapping code a bit so we can have multiple views on a
5479 document. Add the multi-page view, though it can't be turned on
5482 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5484 * shell/ev-application.c: (ev_application_open):
5485 * shell/ev-view.c: (expose_bin_window):
5486 * shell/ev-window.c: (ev_window_open):
5488 Support eps and check document supports find
5489 before drawing highlightings in expose.
5491 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5493 * pixbuf/pixbuf-document.c:
5494 (pixbuf_document_thumbnails_get_dimensions),
5495 (pixbuf_document_document_thumbnails_iface_init):
5497 implement get_dimensions
5499 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5506 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5508 * shell/ev-view.c: (set_document_page):
5510 Scroll at the top of the page when changing page
5512 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5514 * shell/ev-view.c: (ev_view_motion_notify_event):
5516 Do not redraw unnecessarily
5518 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5520 * pdf/xpdf/pdf-document.cc:
5521 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5522 (expose_bin_window), (find_changed_cb):
5524 Yay! find works now... Now to find bugs...
5526 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5528 * backend/ev-document-find.c: (ev_document_find_base_init),
5529 (ev_document_find_changed):
5530 * backend/ev-document-find.h:
5531 * pdf/xpdf/pdf-document.cc:
5532 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5533 (expose_bin_window), (ev_view_init), (set_document_page),
5534 (ensure_rectangle_is_visible), (jump_to_find_result),
5535 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5536 (ev_view_find_next), (ev_view_find_previous):
5538 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5540 More work on find implementation, mostly there now
5542 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5544 * backend/ev-backend-marshalers.list:
5545 * backend/ev-document-find.c: (ev_document_find_base_init),
5546 (ev_document_find_cancel), (ev_document_find_page_has_results),
5547 (ev_document_find_get_n_results), (ev_document_find_get_result),
5548 (ev_document_find_get_progress), (ev_document_find_changed):
5549 * backend/ev-document-find.h:
5551 Enanche the find interface to be really able to do
5554 * pdf/xpdf/pdf-document.cc:
5558 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5559 (expose_bin_window), (ev_view_init),
5560 (ev_view_get_find_status_message), (find_changed_cb),
5561 (ev_view_set_document), (set_document_page):
5563 Adapt to the new interface. A few things are regressed sorry,
5564 I will finish it soon.
5566 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5568 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5569 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5570 ev_sidebar_thumbnails_parent_class variable, don't define another
5571 parent_class variable.
5573 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5574 (ev_page_action_class_init): ditto.
5576 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5577 (pixbuf_document_class_init): ditto.
5579 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5582 * .cvsignore: ignore various valgrind output files.
5584 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5586 * data/evince-ui.xml:
5587 * shell/Makefile.am:
5588 * shell/ev-history.c:
5589 * shell/ev-history.h:
5590 * shell/ev-navigation-action.c:
5591 * shell/ev-navigation-action.h:
5592 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5593 (ev_view_set_page), (ev_view_fit_width):
5595 * shell/ev-window.c: (update_action_sensitivity),
5596 (ev_window_setup_document), (register_custom_actions):
5598 Kill session history
5600 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5602 * shell/ev-window.c: (update_action_sensitivity):
5604 Fix inverted up/down buttons
5606 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5608 * shell/ev-sidebar-thumbnails.c
5609 (ev_sidebar_thumbnails_select_page): make sure the selected
5610 thumbnail stays visible.
5612 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5614 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5615 scrolled window for Federico.
5617 2005-01-26 Ole Laursen <olau@hardworking.dk>
5619 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5621 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5624 * pdf/splash/SplashFTFontEngine.cc:
5626 Fix CID fonts with freetype 2.1.9
5628 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5630 * TODO: added item for desktop icon thumbnailer
5632 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5634 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5635 unloaded docs when the title is accessed.
5637 * shell/ev-password-view.[hc]: New widget for displaying password
5640 * shell/ev-window.[ch]: Refactor password handling code to handle
5643 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5651 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5653 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5654 ignore page offset here, to make search results independent of it,
5656 * shell/ev-view.c (expose_bin_window): but take offsets into
5657 account here. Bug #164932
5659 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5660 scale at the right time. Bug #164996
5662 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5664 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5665 fix the problem. Now I just removed the Adobe font names and hope
5666 that the URW fonts are always in outline format. Bug #164934
5668 * shell/ev-window.c (update_window_title): empty titles are
5669 useless, use filename in that case too.
5671 * NEWS: Add some content.
5673 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5675 * TODO: added one more TODO item and a TODONE section :)
5677 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5679 * ps/ps-document.h: add page_[xy]_offset fields.
5681 * ps/ps-document.c (ps_document_set_page_offset)
5682 (ps_document_render): Keep offset in consideration in a few
5683 places. Bug #164752 "postscript documents are not centered in
5686 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5687 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5689 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5690 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5691 stub out missing methods for complete EvDocument implementation.
5692 Fixes segfaults with Save A Copy and Copy actions.
5694 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5695 (ps_document_document_iface_init): ditto.
5697 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5701 * data/evince.desktop.in:
5705 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5707 * shell/ev-view.c: (ev_view_button_press_event),
5708 (ev_view_motion_notify_event):
5710 Make selection work in any direction
5712 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5715 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5717 Use shorter labels for some of the toolbars items
5719 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5721 * pdf/xpdf/pdf-document.cc:
5723 Check the links info is initialized before
5724 using it. Should fix a crash on startup.
5726 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5728 * pixbuf/pixbuf-document.c
5729 (pixbuf_document_thumbnails_get_dimensions): force floating point
5730 division to calculate page_ratio. Fixes crash with landscape
5733 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5735 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5737 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5739 * shell/ev-view.c (set_document_page): unset has_selection when
5741 (set_document_page): handle paper size changes when the page
5742 changes (test with Free Culture, page 2).
5744 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5746 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5747 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5749 Use normal style color for the widget background and
5750 draw a black box around the page.
5752 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5754 * pdf/xpdf/pdf-document.cc:
5756 Keep offset in consideration in a few places
5758 * shell/ev-view.c: (expose_bin_window):
5760 Set the offsets so that the document is ever centered
5762 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5764 * TODO: Added TODO items and finished off the first todo item
5766 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5767 reflect current authors
5769 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5771 * pdf/xpdf/pdf-document.cc:
5772 * shell/ev-view.c: (ev_view_set_cursor),
5773 (ev_view_motion_notify_event), (document_changed_callback),
5774 (set_document_page):
5776 Show a wait cursor while the page is rendering
5778 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5780 * shell/ev-sidebar-thumbnails.c:
5781 (ev_sidebar_tree_selection_changed),
5782 (ev_sidebar_thumbnails_select_page):
5783 * shell/ev-sidebar-thumbnails.h:
5784 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5785 (ev_view_can_go_forward):
5786 * shell/ev-window.c: (ev_window_open_page),
5787 (ev_window_setup_document), (update_current_page),
5788 (view_page_changed_cb), (ev_window_init):
5789 * shell/ev-window.h:
5791 Ensure thumbnails selection, toolbar page control and
5792 current page are in sync.
5794 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5800 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5802 * backend/Makefile.am:
5803 * backend/ev-document-links.h:
5804 * backend/ev-document-security.c: (ev_document_security_get_type),
5805 (ev_document_security_has_document_security),
5806 (ev_document_security_set_password):
5807 * backend/ev-document-security.h:
5808 * backend/ev-document.c: (ev_document_error_quark):
5809 * backend/ev-document.h:
5811 * data/evince-password.glade:
5812 * pdf/xpdf/pdf-document.cc:
5813 * shell/Makefile.am:
5814 * shell/ev-password.c: (ev_password_set_bad_password_label),
5815 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5816 (ev_password_dialog_get_password),
5817 (ev_password_dialog_set_bad_pass):
5818 * shell/ev-password.h:
5819 * shell/ev-window.c: (ev_window_get_attribute),
5820 (ev_window_set_property), (update_action_sensitivity),
5821 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5822 (ev_window_setup_document), (ev_window_get_password),
5823 (ev_window_open), (ev_window_cmd_save_as),
5824 (using_postscript_printer), (ev_window_print),
5825 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5826 (update_fullscreen_popup), (ev_window_fullscreen),
5827 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5828 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5829 (menu_item_select_cb), (find_bar_search_changed_cb),
5830 (ev_window_dispose), (ev_window_init):
5832 Add initial support for password-supported dialogs. This could be
5833 a lot cooler, but it'll do for now.
5835 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5837 * pdf/xpdf/pdf-document.cc:
5838 * shell/ev-view.c: (status_message_from_link),
5839 (ev_view_set_status), (ev_view_set_cursor),
5840 (ev_view_motion_notify_event), (ev_view_init):
5841 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5843 Fix bugs in the links implementation and change cursor
5844 when hovering a link.
5846 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5848 * viewer/.cvsignore: added cvsignore file for viewer directory
5850 * TODO: created TODO document
5852 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5855 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5856 new functions to help with implementation of sensitivity code
5857 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5858 of all actions that might require it. Fixes a crash when you
5859 click on the Zoom actions in a window lacking a document.
5861 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5863 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5866 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5868 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5869 (pixbuf_document_document_iface_init):
5870 * ps/ps-document.c: (ps_document_get_link),
5871 (ps_document_document_iface_init):
5872 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5873 (status_message_from_link), (ev_view_set_status),
5874 (ev_view_set_find_status), (ev_view_motion_notify_event),
5875 (ev_view_button_release_event), (ev_view_set_property),
5876 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5877 (ev_view_get_find_status_message), (update_find_results),
5878 (ev_view_get_status), (ev_view_get_find_status):
5880 * shell/ev-window.c: (view_status_changed_cb),
5881 (view_find_status_changed_cb), (ev_window_init):
5883 View status message support, use it to show the links.
5886 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5888 * backend/ev-document.c: (ev_document_get_link):
5889 * backend/ev-document.h:
5890 * pdf/xpdf/pdf-document.cc:
5891 * shell/ev-application.c: (ev_application_open):
5892 * shell/ev-application.h:
5893 * shell/ev-sidebar-links.c: (selection_changed_cb):
5894 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5895 (ev_view_go_to_link):
5897 Add support for document links
5899 2005-01-13 Anders Carlsson <andersca@gnome.org>
5901 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5903 Set the spin button limits correctly.
5905 * shell/ev-sidebar-thumbnails.c:
5906 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5907 Support changing pages by clicking on the thumbnails.
5909 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5911 * pixbuf/pixbuf-document.c:
5912 (pixbuf_document_thumbnails_get_dimensions),
5913 (pixbuf_document_document_thumbnails_iface_init):
5915 implement get_dimensions
5917 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5919 * ps/ps-document.c: (ps_document_goto_page):
5921 Fix page switching on multipage documents
5923 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5925 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5927 check for NULL before assigning to width and height parameters
5929 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5931 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5932 (pixbuf_document_set_property), (pixbuf_document_get_property):
5934 implement get/set properties
5936 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5938 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5940 return NULL instead of "Unknown", letting the title get set to
5941 the filename when the pdf has no title.
5943 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5945 * ps/ps-document.c: (ps_document_get_page_count),
5946 (ps_document_goto_page):
5948 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5950 * shell/ev-history.c: (ev_history_get_property),
5951 (ev_history_set_property), (ev_history_class_init),
5952 (ev_history_add_page), (ev_history_set_current_index):
5953 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5954 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5955 (ev_navigation_action_finalize):
5956 * shell/ev-navigation-action.h:
5957 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5958 (ev_view_go_forward), (ev_view_get_find_status_message),
5959 (history_index_changed_cb), (ev_view_set_history):
5961 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5962 (update_current_page), (register_custom_actions):
5964 Implement history dropdowns
5966 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5968 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5969 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5970 (ev_view_go_forward):
5971 * shell/ev-window.c: (register_custom_actions):
5973 Fix several history bugs
5975 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5977 * configure.ac: Add «nb» to ALL_LINGUAS.
5979 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5981 * backend/Makefile.am:
5982 * backend/ev-bookmark.c:
5983 * backend/ev-bookmark.h:
5984 * backend/ev-document-bookmarks.c:
5985 * backend/ev-document-bookmarks.h:
5986 * backend/ev-document-links.c: (ev_document_links_get_type),
5987 (ev_document_links_has_document_links),
5988 (ev_document_links_begin_read), (ev_document_links_get_link),
5989 (ev_document_links_get_child), (ev_document_links_next),
5990 (ev_document_links_free_iter):
5991 * backend/ev-document-links.h:
5992 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5993 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5994 (ev_link_get_link_type), (ev_link_set_link_type),
5995 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5996 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5997 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5998 (ev_link_new_external):
5999 * backend/ev-link.h:
6000 * pdf/xpdf/pdf-document.cc:
6001 * shell/Makefile.am:
6002 * shell/ev-application.c: (ev_application_open_link):
6003 * shell/ev-application.h:
6004 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6005 (ev_history_get_link_nth):
6006 * shell/ev-history.h:
6007 * shell/ev-sidebar-bookmarks.c:
6008 * shell/ev-sidebar-bookmarks.h:
6009 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6010 (ev_sidebar_links_class_init), (selection_changed_cb),
6011 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6012 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6013 (do_one_iteration), (populate_links_idle),
6014 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6015 * shell/ev-sidebar-links.h:
6016 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6017 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6020 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6021 * shell/ev-window.h:
6023 Rename bookmark to link, and use "Index" for the sidebar panel.
6025 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6027 * shell/Makefile.am:
6028 * shell/ev-application.c: (ev_application_open_bookmark):
6029 * shell/ev-application.h:
6030 * shell/ev-history.c: (ev_history_init), (free_links_list),
6031 (ev_history_finalize), (ev_history_class_init),
6032 (ev_history_add_link), (ev_history_add_page),
6033 (ev_history_get_link_nth), (ev_history_get_n_links),
6034 (ev_history_get_current_index), (ev_history_set_current_index),
6036 * shell/ev-history.h:
6037 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6038 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6039 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6040 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6043 * shell/ev-window.c: (ev_window_open_bookmark),
6044 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6045 (goto_page_cb), (register_custom_actions):
6046 * shell/ev-window.h:
6048 Initial history implementation. Needs work.
6050 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6052 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6054 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6056 * cut-n-paste/recent-files/egg-recent-item.c:
6057 * cut-n-paste/recent-files/egg-recent-item.h:
6058 * cut-n-paste/recent-files/egg-recent-model.c:
6059 * cut-n-paste/recent-files/egg-recent-util.c:
6060 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6061 * cut-n-paste/recent-files/egg-recent-view.c:
6065 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6067 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6068 (fillGlyph, fillImageMask, drawImage):
6069 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6070 pdf/splash/SplashTypes.h:
6071 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6072 packed mode for Splash.
6074 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6075 RGB8 packed mode, eliminates the pixbuf data creation loop.
6077 * shell/ev-print-job.c (ev_print_job_finalize)
6078 (ev_print_job_set_property, ev_print_job_get_property)
6079 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6080 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6081 (print_closure_finalize, ev_print_job_print): implement
6082 printing (for backends with EvPsExporter)
6084 * shell/ev_print_job.h: update prototypes.
6086 * shell/ev-window.c (ev_window_print): unref print job after
6089 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6090 unless the document implements the EvDocumentFind interface.
6092 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6094 * configure.ac: Added ja to ALL_LINGUAS.
6096 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6098 * pdf/xpdf/pdf-document.cc:
6100 add a FIXME. We should probably not allocate
6101 a bookmark object every time
6103 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6105 * shell/ev-application.c: (ev_application_open),
6106 (ev_application_open_bookmark):
6107 * shell/ev-application.h:
6109 Add a way to open bookmarks
6111 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6112 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6113 (ev_bookmark_set_property), (ev_bookmark_class_init),
6114 (ev_bookmark_new_title), (ev_bookmark_new_link),
6115 (ev_bookmark_new_external):
6117 Support for external uris, better constructors.
6119 * backend/ev-bookmark.h:
6120 * pdf/xpdf/pdf-document.cc:
6121 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6123 Handle external uris
6125 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6127 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6128 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6130 Hook up bookmarks navigation
6132 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6134 * backend/Makefile.am:
6135 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6136 (ev_bookmark_get_title), (ev_bookmark_set_title),
6137 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6138 (ev_bookmark_get_page), (ev_bookmark_set_page),
6139 (ev_bookmark_get_property), (ev_bookmark_set_property),
6140 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6142 * backend/ev-bookmark.h:
6143 * backend/ev-document-bookmarks.c:
6144 (ev_document_bookmarks_get_bookmark):
6145 * backend/ev-document-bookmarks.h:
6146 * pdf/xpdf/pdf-document.cc:
6147 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6149 Add a bookmark object to the backend and use it instead of get_values
6151 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6153 * data/evince-ui.xml:
6155 Cleanup and add select all.
6157 * shell/ev-view.c: (ev_view_select_all),
6158 (ev_view_button_press_event):
6160 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6163 Clear selection on click.
6165 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6167 * shell/ev-sidebar-thumbnails.c
6168 (ev_sidebar_thumbnails_set_document): forgot to unref the
6171 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6173 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6174 at the visible page, not just linearly. This makes it look fast.
6176 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6178 * backend/ev-document-misc.c
6179 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6181 * backend/ev-document-thumbnails.h: New interface to get the size
6184 2005-01-06 Jeremy Katz <katzj@redhat.com>
6186 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6189 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6191 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6192 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6195 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6197 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6199 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6200 fonts. Should fix font problems on systems that have the base
6201 fonts in bitmap format. Reported by James Henstridge
6202 <james@jamesh.id.au>.
6204 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6207 * pdf/xpdf/GfxState.cc:
6209 Fix for CAN-2004-1125
6211 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6213 * shell/ev-view.c: (ev_view_copy):
6215 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6217 Implement Edit->Copy
6219 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6221 * backend/ev-document.c: (ev_document_get_text):
6222 * backend/ev-document.h:
6223 * pdf/xpdf/pdf-document.cc:
6224 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6225 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6226 (ev_view_update_primary_selection), (ev_view_button_press_event),
6227 (ev_view_motion_notify_event), (ev_view_button_release_event):
6229 Beginnings of clipboard support. Incomplete but primary sort
6232 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6234 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6235 (expose_bin_window):
6237 Nicer rubberband drawing, from GtkIconView.
6239 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6241 * backend/ev-document.c: (ev_document_save):
6242 * backend/ev-document.h:
6243 * data/evince-ui.xml:
6244 * pdf/xpdf/pdf-document.cc:
6245 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6247 Implement "Save a copy..." menu item
6249 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6251 * shell/ev-view.c: (ev_view_zoom):
6253 Queue a resize when zoom changes
6255 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6257 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6260 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6263 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6265 * pdf/xpdf/pdf-document.cc
6266 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6268 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6270 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6271 It's slow, but I'll speed it up next!
6273 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6275 * shell/main.c (load_files):
6277 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6278 from the command line and because it seems more appropriate.
6280 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6282 * data/evince-ui.xml:
6283 * shell/ev-window.c: (update_action_sensitivity),
6284 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6286 s/next page/page down
6287 s/previous page/page up
6289 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6291 * data/evince-ui.xml:
6293 Change the layout to match clarkbw design.
6295 * shell/Makefile.am:
6296 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6297 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6298 (ev_navigation_action_finalize),
6299 (ev_navigation_action_set_property),
6300 (ev_navigation_action_get_property),
6301 (ev_navigation_action_class_init):
6302 * shell/ev-navigation-action.h:
6304 Implement clarkbw toolbar navigation controls (incomplete)
6306 * shell/ev-page-action.c: (update_label), (update_spin),
6307 (value_changed_cb), (create_tool_item), (connect_proxy),
6308 (ev_page_action_init), (ev_page_action_finalize),
6309 (ev_page_action_set_property), (ev_page_action_get_property),
6310 (ev_page_action_set_current_page),
6311 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6312 * shell/ev-page-action.h:
6314 Implement a page switcher in the toolbar
6316 * shell/ev-view.c: (ev_view_scroll_view):
6317 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6318 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6319 (register_custom_actions), (ev_window_init):
6321 Change page on PageUp/Down.
6323 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6325 * pdf/xpdf/pdf-document.cc
6326 (pdf_document_thumbnails_get_thumbnail): initial stab at
6327 implementing thumbnail support for pdfs. It only does documents
6328 with precached pdfs now.
6330 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6332 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6333 thumbnail code into a time-based idle as well. Also, turn off the
6334 shadow temporarily as it's really slow.
6336 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6338 * backend/ev-document.c: (ev_document_class_init):
6339 * pdf/xpdf/pdf-document.cc:
6340 * shell/ev-window.c: (ev_window_open):
6342 Fix document title bugs and fallback to
6343 filename when not available.
6345 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6347 * backend/ev-document.c: (ev_document_get_type),
6348 (ev_document_class_init), (ev_document_load),
6349 (ev_document_get_title):
6350 * backend/ev-document.h:
6351 * pdf/xpdf/pdf-document.cc:
6352 * ps/ps-document.c: (ps_document_set_property),
6353 (ps_document_get_property), (ps_document_class_init),
6357 * shell/ev-window.c: (update_window_title), (ev_window_open),
6360 Initial support for document title. Not working yet.
6362 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6364 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6366 Grab focus on the view when clicking it
6368 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6370 * shell/ev-marshal.list:
6371 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6372 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6374 Add key bindings to the view. Now if the focus would work
6377 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6380 * backend/Makefile.am:
6383 * dvi/dvilib/Makefile.am:
6384 * pdf/xpdf/Makefile.am:
6390 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6392 * shell/ev-view.c: (ev_view_realize):
6394 Fix mouse wheel scrolling
6396 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6402 * ps/ps-document.c: (catchPipe), (ps_document_init),
6403 (ps_document_class_init), (ps_document_cleanup),
6404 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6405 (set_up_page), (close_pipe), (is_interpreter_ready),
6406 (interpreter_failed), (output), (input), (start_interpreter),
6407 (stop_interpreter), (file_length), (file_readable),
6408 (check_filecompressed), (check_pdf), (compute_xdpi),
6409 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6410 (ps_document_get_type), (ps_document_emit_error_msg),
6411 (document_load), (ps_document_next_page),
6412 (ps_document_get_current_page), (ps_document_get_page_count),
6413 (ps_document_goto_page), (ps_document_set_page_size),
6414 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6415 (ps_document_load), (ps_document_get_n_pages),
6416 (ps_document_set_page), (ps_document_get_page),
6417 (ps_document_widget_event), (ps_document_set_target),
6418 (ps_document_set_scale), (ps_document_set_page_offset),
6419 (ps_document_get_page_size), (ps_document_render),
6420 (ps_document_document_iface_init):
6423 * shell/ev-window.c: (ev_window_open):
6425 Rename GtkGS to PSDocument
6427 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6429 * ps/gtkgs.c: (gtk_gs_class_init):
6432 Some more leftover...
6434 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6436 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6437 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6438 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6441 Remove unused code and make a lot of stuff private
6443 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6445 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6446 (gtk_gs_defaults_changed):
6452 Cleanup headers dependencies
6454 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6459 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6461 * ps/gtkgs.c: (file_length), (file_readable),
6462 (check_filecompressed), (check_pdf), (gtk_gs_load),
6463 (gtk_gs_get_postscript):
6467 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6472 * ps/gtkgs.c: (gtk_gs_set_zoom):
6476 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6478 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6480 Ensure the page is rerendered when changing zoom
6482 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6484 * backend/ev-document.c: (ev_document_base_init),
6485 (ev_document_changed):
6486 * backend/ev-document.h:
6488 Add a changed event that is emitted when the page content
6489 changes. This is necessary to deal with the fact that
6490 in ps backend rendering happen asycrounously.
6491 This makes the ps backend mostly work.
6493 * pdf/xpdf/pdf-document.cc:
6497 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6498 (ps_document_set_target):
6502 * shell/ev-view.c: (document_changed_callback),
6503 (ev_view_set_document), (ev_view_set_page):
6505 Redraw on the changed signal
6507 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6509 * configure.ac: Added pt_BR to ALL_LINGUAS.
6511 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6513 * backend/ev-document-bookmarks.c:
6514 (ev_document_bookmarks_get_child): *
6515 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6516 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6517 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6518 (ev_sidebar_bookmarks_destroy),
6519 (ev_sidebar_bookmarks_class_init),
6520 (ev_sidebar_bookmarks_construct), (stack_data_free),
6521 (do_one_iteration), (populate_bookmarks_idle),
6522 (ev_sidebar_bookmarks_clear_document),
6523 (ev_sidebar_bookmarks_set_document): *
6524 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6525 (ev_sidebar_add_page),
6526 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6527 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6528 it displays both the topics and the page numbers.
6530 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6532 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6534 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6537 2004-12-23 Adam Weinberger <adamw@gnome.org>
6539 * configure.ac: Added en_CA to ALL_LINGUAS.
6541 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6543 * ChangeLog: replace bottom of this ChangeLog (merged history of
6544 ggv and gpdf; where all paths were wrong and most of the files are
6545 not even in this tree) with ChangeLog (from arch) of the shell
6548 2004-12-23 Havoc Pennington <hp@redhat.com>
6550 * shell/ev-window.c: hook up potentially-questionable "find
6551 results status text" feature - something involving the sidebar or
6552 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6553 might be better in the end.
6555 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6556 with corresponding signal when it should be updated
6558 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6560 2004-12-22 Havoc Pennington <hp@redhat.com>
6562 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6563 find stuff on other pages, sort of (only returns one result on
6564 invisible pages, to show they have results; updates full results
6565 for a page when you view it). Currently repaints the current page
6566 every time a new result is found on any page, which isn't so nice.
6568 2004-12-22 Havoc Pennington <hp@redhat.com>
6570 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6571 the document doesn't support find (better ideas?)
6572 (find_bar_search_changed_cb): handle missing document or document
6573 that doesn't support find
6575 * pdf/xpdf/pdf-document.cc: port to implement the new
6578 * backend/ev-document-find.c: create a new interface for searching
6580 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6582 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6584 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6587 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6588 EvPrintJob constructor arguments.
6590 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6591 for documents that can export PostScript (page by page).
6593 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6595 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6596 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6597 (pdf_document_ps_exporter_iface_init:
6598 Implement EvPSExporter.
6600 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6602 2004-12-22 Anders Carlsson <andersca@gnome.org>
6604 * backend/Makefile.am:
6605 * backend/ev-document-thumbnails.c:
6606 (ev_document_thumbnails_get_type),
6607 (ev_document_thumbnails_get_thumbnail):
6608 * backend/ev-document-thumbnails.h:
6609 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6610 (pixbuf_document_thumbnails_get_thumbnail),
6611 (pixbuf_document_document_thumbnails_iface_init):
6612 * shell/Makefile.am:
6613 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6614 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6615 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6616 * shell/ev-sidebar-thumbnails.h:
6617 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6618 (ev_sidebar_set_document):
6619 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6620 (create_shadow), (ev_pixbuf_add_shadow):
6622 Add thumbnail support.
6624 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6626 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6627 (using_postscript_printer): Set up a print dialog for "PostScript
6630 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6633 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6635 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6637 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6638 (ps_document_set_target), (ps_document_get_page_size),
6639 (ps_document_render):
6644 2004-12-22 Christian Rose <menthos@menthos.com>
6646 * configure.ac: Added "sv" to ALL_LINGUAS.
6648 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6650 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6651 document supports bookmarks.
6653 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6655 * ps/ggvutils.c: (ggv_file_readable):
6657 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6658 (gtk_gs_get_postscript):
6662 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6664 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6665 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6666 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6667 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6668 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6669 (gtk_gs_load), (gtk_gs_goto_page), (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_set_antialiasing), (ps_document_load),
6673 (ps_document_render):
6676 Another check point for the ps backend. Now I can get it to show
6679 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6681 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6682 document setting code.
6684 2004-12-22 Anders Carlsson <andersca@gnome.org>
6686 * shell/eggfindbar.c: (entry_activate_callback):
6687 Animate the next button when activate is pressed.
6689 2004-12-22 Anders Carlsson <andersca@gnome.org>
6691 * shell/ev-window.c: (ev_window_cmd_edit_find),
6692 (update_fullscreen_popup), (ev_window_fullscreen),
6693 (ev_window_unfullscreen), (ev_window_state_event_cb),
6694 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6695 Fix bugs in fullscreen code.
6697 2004-12-22 Anders Carlsson <andersca@gnome.org>
6701 * pixbuf/Makefile.am:
6702 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6703 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6704 (pixbuf_document_set_page), (pixbuf_document_get_page),
6705 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6706 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6707 (pixbuf_document_render), (pixbuf_document_begin_find),
6708 (pixbuf_document_end_find), (pixbuf_document_finalize),
6709 (pixbuf_document_class_init),
6710 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6711 * pixbuf/pixbuf-document.h:
6712 * shell/Makefile.am:
6713 * shell/ev-application.c: (ev_application_open):
6714 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6718 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6721 * dvi/dvilib/Makefile.am:
6723 * configure.ac: Auto*ify dvi and dvi/dvilib
6725 * dvi/Makefile: Remove from CVS
6727 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6730 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6732 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6734 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6737 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6738 (gtk_gs_value_adjustment_changed), (compute_size),
6739 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6740 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6741 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6742 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6743 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6744 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6745 (ps_document_load), (ps_document_get_n_pages),
6746 (ps_document_set_page), (ps_document_get_page),
6747 (ps_document_set_target), (ps_document_set_scale),
6748 (ps_document_set_page_offset), (ps_document_get_page_size),
6749 (ps_document_render), (ps_document_begin_find),
6750 (ps_document_end_find), (ps_document_document_iface_init):
6752 * shell/Makefile.am:
6753 * shell/ev-window.c: (ev_window_open):
6755 Some work to integrate gtkgs with EvDocument
6757 2004-12-22 Anders Carlsson <andersca@gnome.org>
6759 * shell/ev-window.c: (update_fullscreen_popup),
6760 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6761 (exit_fullscreen_button_clicked_cb),
6762 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6763 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6764 (ev_window_state_event_cb), (ev_window_init):
6765 Add fullscreen support from Epiphany.
6767 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6769 * data/ev-stock-zoom-fit-width.png: fit-width
6770 stock icon from gpdf.
6772 * shell/ev-stock-icons.[ch]: copied from gpdf.
6774 * shell/main.c: (main): init stock icons.
6776 * shell/ev-window.c: use the fit-width icon.
6778 * data/evince-ui.xml: add zooming toolbar items.
6780 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6783 (ev_view_best_fit), (ev_view_fit_width): because
6784 get_page_size() returns the scaled page size, we
6785 need to calculate the scale factor relative to
6786 the previous scale factor. Should really just
6787 add get_real_page_size().
6789 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6791 * shell/ev-view.[ch]:
6792 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6793 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6796 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6797 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6798 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6801 * pdf/xpdf/pdf-document.cc:
6802 (pdf_document_begin_find),
6803 (pdf_document_end_find): make static.
6805 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6807 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6809 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6810 names to fontconfig patterns.
6811 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6813 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6816 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6832 Import ggv backend. Not hooked up yet.
6834 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6836 * shell/main.c: (load_files), (main): load files
6837 from the command line.
6839 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6841 * configure.ac: don't require bonobo.
6843 * cut-n-paste/recent-files/*: kill bonobo recent
6846 * shell/ev-window.c:
6847 (ev_window_is_empty): upd.
6848 (unable_to_load), (ev_window_open): load backend
6849 based on the mime type.
6851 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6853 * backend/.cvsignore: ignore generated marshalers source.
6855 * shell/main.c (main): this is not epiphany.
6857 2004-12-22 Havoc Pennington <hp@redhat.com>
6859 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6860 (expose_bin_window): draw find highlights
6862 * shell/ev-window.c (find_bar_search_changed_cb): implement
6864 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6865 (pdf_document_end_find): implement this interface
6867 * backend/ev-document.c (ev_document_found): add this to emit
6870 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6872 * data/evince-ui.xml: Add a few more toolbar items.
6874 * shell/ev-window.c: Hook up page navigation toolbar
6877 * shell/ev-view.[ch]: add ev_view_set/get_page and
6878 a page-changed signal.
6880 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6881 Add ev_document_get_page().
6883 * shell/ev-window.c: Sensitize/desensitize navigation
6886 2004-12-21 Havoc Pennington <hp@redhat.com>
6888 * backend/ev-backend-marshal.c,
6889 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6890 marshaler-generator thingy. I'm sure there's a better way to do
6891 this in the modern world.
6893 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6894 end_find methods and "found" signal.
6896 * configure.ac: find glib-genmarshal
6898 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6900 * shell/ev-sidebar.c: Construct an actual sidebar.
6901 * shell/ev-sidebar-bookmarks.[ch]:
6902 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6904 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6906 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6909 * shell/ev-view.c: Track the size from the document.
6911 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6913 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6914 constructor assumes ownership of the string passed in.
6916 * shell/ev-window.c (ev_window_open): Destroy the error
6917 dialog once we've displayed it.
6919 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6921 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6922 a bit, it works! (sort of)
6924 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6925 Move to .cc since we need to use C++ in the implementation.
6927 * shell/dummy.cc: Add a CC file to force evince
6928 to be linked as a C++ program.
6930 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6932 * shell/ev-view.[ch]: Start of content-area widget.
6934 * shell/ev-window.c: Create a EvView, update it
6935 as we change documents.
6937 * shell/Makefile.am shell/ev-marshal.list: Add
6938 generated marshalers.
6940 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6942 * Makefile.am (SUBDIRS): move shell.
6944 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6946 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6947 .a to libtool convenience libraries.
6949 * shell/ev-window.c (ev_window_open): Hard code loading
6952 * backend/ev-document.h: Add a boolean return to load(),
6953 fix GError * to GError **.
6955 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6956 object for a PDF backend EvDocument.
6958 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6960 * dvi/*: New directory with the beginning of a .dvi backend.
6962 2004-12-21 Havoc Pennington <hp@redhat.com>
6964 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6965 previous/next instead of back/forward
6967 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6969 * backend/ev-document.[ch]: Fix a couple of problems so
6972 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6974 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6975 to backend/ directory, rename EvViewer to EvDocument.
6977 2004-12-21 Havoc Pennington <hp@redhat.com>
6979 * shell/ev-window.c: hook up the find bar widget; now we just need
6980 a document to find things in
6982 * shell/eggfindbar.c: a find bar widget
6984 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6986 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6988 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6990 * pdf/**: Import of xpdf code from gpdf.
6992 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6994 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6995 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6996 Fix FreeType includes.
6998 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6999 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7000 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7001 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7002 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7003 Include xpdfconfig.h
7005 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7007 * shell/ev-window.c (ev_window_dispose): dispose can be called
7010 2004-12-21 Havoc Pennington <hp@redhat.com>
7012 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7015 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7016 items; really they should be synced with the strings, etc. from
7017 current gpdf, but just getting the boring typing out of the way
7019 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7022 * shell/ev-application.c: (window_destroy_cb):
7023 * shell/ev-window.c:
7024 * shell/main.c: (main):
7026 Actually show the window...
7028 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7031 * shell/Makefile.am:
7032 * shell/ev-application.c: (ev_application_class_init):
7033 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7037 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7039 Import to gnome cvs.
7041 * Remove copies of gpdf and ggv trees.
7042 * Rip out all the recursive configure code.
7043 * Remove bonobo machinery.
7044 * viewer/*: GInterfaces that backends should/can implement.
7046 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7048 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7051 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7053 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7054 (ev_application_finalize, ev_application_class_init)
7055 (ev_application_init): use GType instance private data for priv.
7057 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7058 (ev_window_finalize, ev_window_class_init)
7059 (ev_window_init): ditto.
7061 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7063 * shell/ev-application.c (ev_application_new_window): make public
7064 (ev_application_show_initial_window): kill.
7066 * shell/ev-application.h: update prototypes.
7068 * shell/main.cc (main): inline ev_application_show_initial_window.
7070 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7072 * shell/ev-application.c (ev_application_new_window): impl.
7073 (ev_application_show_initial_window): use it.
7074 (is_window_empty, ev_application_get_empty_window): returns an
7075 existing empty window or a new one.
7076 (ev_application_open): from ev_window_cmd_file_open.
7078 * shell/ev-application.h: update prototypes
7080 * shell/ev-window.c (ev_window_is_empty): impl.
7081 (ev_window_open): make public.
7082 (ev_window_cmd_file_open): use ev_application_open
7084 * shell/ev-window.h: update prototypes, remove unused.
7086 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7088 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7089 move destroy handler out of here...
7091 * shell/ev-application.c, shell/ev-application.h: ...into this new
7092 class. Also handles initial window creation.
7094 * shell/main.cc (main): use EvApplication to create initial
7097 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7099 * Makefile.am (SUBDIRS): add cut-n-paste
7101 * cut-n-paste/Makefile.am: add
7103 * configure.ac: generate Makefiles in cut-n-paste
7105 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7107 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7108 (ev_window_class_init): install ev_window_dispose.
7110 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7112 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7113 char (gchar looks stupid).
7115 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7117 * po/de.po: updated German translation.
7119 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7121 * configure.ac: add more pkg-config library checks for gnome-vfs,
7124 * gpdf/configure.in: temporarily disable libpaper
7125 checks. Otherwise I'd have to add the checks for the shell, too.
7127 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7129 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7130 and * file filters to the file choose.
7132 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7134 * po/de.po: Updated German translation.
7136 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7138 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7140 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7142 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7144 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7145 (ev_window_init): implement those menuitems.
7147 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7149 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7151 * shell/ev-window.c (ev_window_init): use the toolbar.
7153 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7155 * shell/ev-window.c (ev_window_init): use menu translations
7157 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7159 * configure.ac: add "de" to ALL_LINGUAS.
7161 * po/de.po: add German translation.
7163 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7165 * Makefile.am (SUBDIRS): add po
7167 * configure.ac: check intltool, glib-gettext etc, generate
7170 * po, po/POTFILES.in, po/POTFILES.skip: new.
7172 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7174 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7175 already use (#ifdef ENABLE_NLS)
7177 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7178 pointer indirection thinko.
7180 * shell/main.c: include gi18n.h for bindtextdomain etc.
7182 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7184 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7185 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7186 tooltips for menu items in the statusbar.
7188 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7190 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7191 pkgdatadir drop UIDIR
7193 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7195 * data/evince-ui.xml: Add File->Open menu item
7197 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7198 chooser), hook it up in the ui manager.
7200 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7202 * shell/ev-window.c: fix Help->About tooltip.
7204 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7206 * configure.ac: set CFLAGS for libevprivate.
7208 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7209 definitions, factory etc.
7211 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7213 * shell/Makefile.am: link against libevprivate.a.
7215 * shell/ev-window.c (entries): add stock icon to Help->About.
7217 * shell/main.c (main): init stock icon code.
7219 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7221 * lib/recent-files: egg recent files code
7223 * lib/Makefile.am: add.
7225 * Makefile.am: add lib subdir.
7227 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7228 set CFLAGS for recent-files.
7230 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7232 * configure.ac: disable -ansi and -pedantic gcc flags. They
7233 disable POSIX stuff in stdio.h, but egg-recent uses them.
7235 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7237 * configure.ac: add --disable-deprecated flag (defaults to on in
7240 * shell/Makefile.am (INCLUDES): use it.
7242 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7244 * shell/main.c: add missing #include.
7246 * shell/ev-window.c: fix for pedantic gcc.
7247 (ev_window_cmd_help_about): split license into paragraphs for
7248 translators and pedantic compilers.
7250 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7252 * configure.ac: add more warning flags if compiling with gcc from
7253 cvs (or explicitly requested with --enable-more-warnings).
7255 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7257 * data/evince-ui.xml: add File and File->Close menu.
7259 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7260 (ev_window_destroy): quit after destroy.
7261 (ev_window_class_init): override GtkObject::destroy.
7262 (entries): install close_window callback.
7264 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7266 * Makefile.am (SUBDIRS): add data subdir.
7268 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7269 gtk+ 2.5.0 for GtkAboutDialog.
7271 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7274 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7276 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7278 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7280 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7282 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7284 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7286 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7288 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7290 * shell/*: Added shell directory boilerplate, build it.
7292 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7294 * configure.ac, Makefile.am: Added top-level configure.ac and