1 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
3 * shell/ev-application.c: (ev_application_open_uri):
5 Fix window size persistance
7 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
9 * shell/ev-view.c: (ev_view_button_release_event):
11 Based on a patch from carlosgc@gnome.org. Mouse buttons
12 switch pages in presentation mode.
14 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
16 * shell/ev-page-cache.c: (ev_page_cache_get_size):
18 Dont cast to int before scaling
20 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
22 * backend/ev-link.c: (ev_link_type_get_type),
23 (ev_link_new_page_xyz), (ev_link_new_page_fit),
24 (ev_link_new_page_fith):
27 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
29 Implement FIT and FITH links
31 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
35 Return 0 results when search is not in progress.
37 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
38 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
40 Update menu sensitivity when cancelling search
42 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
44 * shell/ev-view.c: (ev_view_can_find_next):
46 Take all pages in consideration, not just current one
48 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
50 * shell/ev-page-cache.c:
51 * shell/ev-page-cache.h:
52 * shell/ev-view.c: (ev_view_binding_activated),
53 (ev_view_next_page), (ev_view_previous_page),
54 (ev_sizing_mode_get_type):
56 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
57 (ev_window_cmd_go_next_page):
59 Move page next/previous functions from page chace to
60 view and change it to move by 2 page steps in dual mode.
62 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
64 * shell/ev-window.c: (update_sidebar_visibility),
65 (setup_sidebar_from_metadata), (ev_window_setup_document),
66 (setup_view_from_metadata):
68 Show the index by default when there is one
70 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
72 * shell/ev-window-title.c: (ev_window_title_set_document):
76 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
78 * shell/ev-view.c: (view_update_range_and_current_page):
80 Allow display of last odd page in dual view. Fix for 316347.
82 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
84 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
86 Make close button default. Fix for 316383.
88 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
90 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
92 Mark close button as default. Fix for 316381.
94 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
96 * backend/ev-link.c: (ev_link_class_init):
98 Allow negative doubles in left/top properties
100 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
104 Remove a bunch of strings that was used only
107 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
109 * shell/ev-window-title.c: (get_filename_from_uri),
110 (ev_window_title_set_document):
112 When title has a confusing extension, show also
113 the document filename inside ()
115 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
118 * shell/ev-window-title.c: (ev_window_title_new),
119 (ev_window_title_update), (ev_window_title_set_type),
120 (ev_window_title_set_document), (ev_window_title_free):
121 * shell/ev-window-title.h:
122 * shell/ev-window.c: (ev_window_setup_document),
123 (password_dialog_response), (ev_window_popup_password_dialog),
124 (ev_window_dispose), (ev_window_init):
126 Factor out and cleanup window title code
128 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
130 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
133 Make dialog transient so it doesnt block other windows
135 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
139 Fix pdf thumbnails rendering.
141 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
143 * shell/ev-window.c: (fullscreen_set_timeout):
145 Increase timeout to hide full screen popup. Bug
148 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
150 * data/evince.schemas.in:
151 * shell/ev-window.c: (update_action_sensitivity):
153 Allow the user to override document restrictions. Fix for bug
156 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
158 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
159 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
160 (ev_window_class_init): Fix multihead behaviour of fullscreen
161 toolbar popup. Fixes bug #315451.
163 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
166 * data/evince-password.glade:
167 * shell/ev-password.c: (ev_password_dialog_set_property),
168 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
169 (ev_password_dialog_init), (ev_password_set_bad_password_label),
170 (ev_password_dialog_entry_changed_cb),
171 (ev_password_dialog_entry_activated_cb),
172 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
173 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
174 (ev_password_dialog_set_bad_pass):
175 * shell/ev-password.h:
176 * shell/ev-window.c: (password_dialog_response),
177 (ev_window_popup_password_dialog):
179 Support for gnome-keyring for encrypted PDF's.
181 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
183 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
184 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
185 (ev_view_enter_notify_event), (ev_view_class_init):
187 More precise handling of enter_notify/leave_notify events
188 in EvView. Fix for bug 315470.
190 2005-09-08 Christopher Aillon <caillon@redhat.com>
192 * shell/ev-window.c: (fullscreen_timeout_cb),
193 (fullscreen_set_timeout), (fullscreen_clear_timeout),
196 leak fix: unref fullscreen_timeout_source before clearing it
198 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
200 * configure.ac, dvi/mdvi/Makefile.am:
202 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
204 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
206 * backend/ev-link.c: (ev_link_new_page_xyz):
208 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
210 Fix some bugs with xyz links, respect zoom
212 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
214 * shell/ev-window.c: (page_changed_cb),
215 (setup_document_from_metadata), (update_sidebar_visibility),
216 (setup_view_from_metadata), (ev_window_run_fullscreen),
217 (ev_window_stop_fullscreen), (ev_window_run_presentation),
218 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
219 (ev_window_dual_mode_changed_cb),
220 (ev_window_sidebar_current_page_changed_cb):
222 null check uri before setting and getting metadata
224 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
227 * properties/Makefile.am:
229 * thumbnailer/Makefile.am:
231 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
233 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
235 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
236 (selection_changed_callback):
237 * shell/ev-sidebar-links.h:
239 Add a signal for link activation.
241 * shell/ev-view.c: (ev_view_goto_link),
242 (ev_view_button_release_event):
244 * shell/ev-window.c: (sidebar_links_link_activated_cb),
247 Implement the signal so that we can handle all link types.
249 * shell/ev-page-cache.c:
251 Remove unused set_link function
253 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
255 * lib/ev-tooltip.c: (ev_tooltip_set_position):
257 Add some space from the cursor, hardcoded but I couldnt
260 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
264 Use mozilla style vs gtk style, way better for links.
266 * shell/ev-view.c: (ev_view_motion_notify_event),
267 (ev_view_destroy), (ev_view_init):
269 Deactive tooltip when the link hovered is changed.
271 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
273 * backend/ev-document.h:
274 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
275 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
276 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
277 (ev_link_new_page), (ev_link_new_page_xyz):
280 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
281 (go_to_link), (tip_from_link):
283 Implement xyz links, still not functional. Links are a total
284 mess, will need to refactor and bugfix a lot :(
286 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
288 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
290 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
292 * data/evince-ui.xml:
293 * data/evince.schemas.in:
295 * shell/ev-window.c: (update_chrome_visibility),
296 (password_dialog_response), (ev_window_load_job_cb),
297 (ev_window_xfer_job_cb), (ev_window_open_uri),
298 (ev_window_class_init), (set_chrome_actions), (load_chrome),
301 Remove the statusbar. This regress loading feedback, need to
302 check with Bryan what we want to do there...
304 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
306 * lib/ev-tooltip.c: (ev_tooltip_init):
308 Fix tooltip border and size handling
310 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
312 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
313 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
314 (ev_tooltip_timeout), (ev_tooltip_activate),
315 (ev_tooltip_deactivate):
317 * shell/ev-view.c: (ev_view_motion_notify_event):
319 Delay popup showing. Mirror gtk logic/times.
321 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
324 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
325 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
326 (ev_tooltip_set_text), (ev_tooltip_set_position):
329 Simple widget to show tooltips at a custom position
331 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
334 Use it for links. First go, needs work
336 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
338 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
339 HIG fixes. Use title capitalization for window title. Use 12
340 pixels of space between the dialog's vbox and action area.
342 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
344 * shell/ev-window.c: (file_open_dialog_response_cb),
345 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
346 (ev_window_cmd_save_as):
348 Make file pickers not modal and refactor code some
350 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
352 * shell/ev-sidebar.h:
353 * shell/ev-sidebar.c: (ev_sidebar_set_property),
354 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
355 (ev_sidebar_class_init), (ev_sidebar_select_page),
356 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
357 (ev_sidebar_set_page):
359 Add a current page property and allow to get/set it
361 * shell/ev-window.c: (setup_view_from_metadata),
362 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
364 Persist current sidebar page per document
366 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
368 * data/evince.schemas.in:
369 * shell/ev-window.c: (update_chrome_visibility),
370 (setup_document_from_metadata), (update_sidebar_visibility),
371 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
372 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
373 (ev_window_run_presentation), (ev_window_stop_presentation),
374 (ev_window_view_sidebar_cb),
375 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
376 (load_chrome), (ev_window_init):
378 Persist size/visibility of sidebar per document
380 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
382 * shell/ev-view.c (draw_loading_text): Draw loading text.
384 2005-09-02 Dan Damian <dand@gnome.ro>
386 * configure.in: Added "ro" to ALL_LINGUAS.
388 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
390 * shell/ev-view.c: (clear_caches):
392 ev_page_cache_get doesnt return a reference,
393 dont try to unref it.
395 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
397 * shell/main.c: (load_files_remote):
399 Fix timestamp parameter with dbus <= 0.33
401 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
403 * data/evince.schemas.in:
405 Add missing full stop
407 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
409 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
410 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
412 Plug some memory leaks
414 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
417 * lib/ev-debug.c: (trap_handler):
419 Check for execinfo.h and use it only if it exists.
420 Ported from Epiphany (bug #314776).
422 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
424 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
426 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
428 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
429 * po/id.po : Added Indonesian translation
431 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
434 * shell/ev-application.c: Last minute GTK-2.6 fixes.
435 * NEWS: Release 0.4.0
437 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
439 * configure.ac: catch another gtk+-2.8ism
440 * shell/main.c: Make work with gtk+-2.6
442 2005-08-25 Ryan Lortie <desrt@desrt.ca>
444 * shell/ev-application-service.xml: Add 'timestamp' argument to
445 ev_application_open_window and ev_application_open_uri methods.
447 * shell/ev-application.h: Add 'timestamp' argument to
448 ev_application_open_window, ev_application_open_uri,
449 and ev_application_open_uri_list functions.
451 * shell/ev-application.c (ev_application_open_window,
452 ev_application_open_uri, ev_application_open_uri_list): Change
453 functions that show/present windows to use a timestamp if one
456 * shell/ev-window.c (ev_window_cmd_file_open,
457 ev_window_cmd_recent_file_activate, drag_data_received_cb):
458 * shell/main.c (load_files): Modify calls to ev_application to
459 include GDK_CURRENT_TIME as timestamp.
461 * shell/main.c (load_files_remote): Obtain timestamp for client
462 instance from GDK and pass to server instance so new windows are
463 focused properly. Fix dbus_g_proxy_call() calls by including second
468 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
470 * shell/ev-window.c (ev_window_finalize): Check for
471 avail. EvWindows when quiting to handle the finalize better,
474 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
476 * properties/ev-properties-view.c:
478 Set textdomain to libglade. Fixes translation problem in property page.
480 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
482 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
484 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
485 * dvi/mdvi-lib/Makefile.am:
487 Fix rotation of thumbnails, ported to new API. Moved library
488 dependencies earlier, probably it will fix linkage problem.
490 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
492 * backend/ev-document-misc.c:
493 (ev_document_misc_get_thumbnail_frame):
494 * backend/ev-document-misc.h:
498 * shell/ev-sidebar-thumbnails.c: (add_range),
499 (ev_sidebar_thumbnails_set_loading_icon),
500 (ev_sidebar_thumbnails_refresh),
501 (ev_sidebar_thumbnails_set_document):
502 * shell/ev-sidebar-thumbnails.h:
503 * shell/ev-view.c: (ev_view_motion_notify_event),
504 (ev_view_set_property), (ev_view_get_property),
505 (ev_view_class_init), (ev_view_set_rotation):
506 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
507 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
509 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
510 Redo rotation (again). prepare for 0.4.0
512 2005-08-24 Kristian Høgsberg <krh@redhat.com>
514 * configure.ac: Bump poppler requirement to 0.4.1.
516 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
517 argument to poppler_page_render_selection() call.
519 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
521 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
522 (djvu_document_thumbnails_get_thumbnail):
523 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
524 (dvi_document_thumbnails_get_thumbnail):
525 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
526 (pixbuf_document_thumbnails_get_thumbnail):
527 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
529 Update rotation direction of backends to fit with pdf and ps.
531 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
533 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
534 * backend/ev-async-renderer.h:
535 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
536 (setup_page), (ps_document_get_page_size),
537 (ps_async_renderer_render_pixbuf):
539 * shell/ev-jobs.c: (ev_job_render_run):
541 Fix orientation in the postscript document
543 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
546 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
547 * shell/ev-view.c: (highlight_find_results):
549 Adapt to the new poppler rotation API. Fix text maps on landscape
552 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
554 * shell/ev-view.c (compute_new_selection_text): get the correct
555 region when selecting in modes other than continuous.
557 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
559 * shell/main.c (main): remove redundant g_warnings.
561 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
563 * shell/Makefile.am: Don't include autogenerated
564 file ev-application-service.h into distribution, since
565 it causes dbus crash. Fix for bugs 313724 and 313443.
567 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
569 * configure.ac: Fix sed expression for FreeBSD. Thanks
570 to Joe Marcus Clark <marcus@freebsd.org>
572 * shell/eggfindbar.c: (entry_activate_callback),
573 (entry_changed_callback), (egg_find_bar_init),
574 (egg_find_bar_set_search_string):
576 Made findbar buttons unsensitive if there is no text in
577 entry. Fix for the bug 313285.
579 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
581 * ps/ps-document.c: Use g_filename_display_name for displaying
582 filenames and revert string freeze breackage
584 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
593 Add ev-application-service.xml to extra dist
595 * shell/ev-view.c: (find_page_at_location):
597 Remove unused function (fix warning)
599 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
601 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
602 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
604 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
607 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
609 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
613 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
615 * configure.ac: Update script to get dbus version.
616 Fix for the bug #313443.
618 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
620 * shell/ev-window.c: (ev_window_cmd_escape):
622 Return focus back to view on escape. Fix for bug 313295.
624 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
626 * shell/ev-window.c: (update_window_title),
627 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
628 (ev_window_cmd_save_as):
630 Correct conversion from uri to displayable string. Fix for
633 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
635 * ps/ps-document.c: convert filename to utf8 when there is an error
636 loading document. Fixes #309915
638 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
642 We depend on poppler 0.4.0
644 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
647 * NEWS: Release 0.3.3.
648 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
650 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
652 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
653 add a couple missing mnemonics to menu items, use title
654 capitalization for menu items and window titles, and add
655 ellipsis to open menu item.
657 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
660 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
661 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
662 (ev_view_get_rotation):
664 * shell/ev-window.c: (setup_view_from_metadata),
665 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
666 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
669 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
671 * configure.ac: Added tr to ALL_LINGUAS
673 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
675 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
676 requires several clicks to find word. Thanks to
677 Colin Slater <kiltedtaco@gmail.com>.
679 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
681 * data/evince.desktop.in.in: Hide menu entry and
682 rename it to "Document Viewer". Fix for bug
685 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
687 * shell/ev-page-action.c (ev_page_action_class_init):
689 Point to the correct function in constructor of the
690 activate_label signal
692 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
694 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
695 * shell/ev-jobs.h: Make thread safe.
697 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
699 * shell/ev-view.c: (view_update_range_and_current_page):
700 Don't update page range if we are scrolling to some document
703 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
705 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
706 when getting max_page_width, fix drawing in dual mode.
708 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
710 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
711 getting the area for select_all.
713 2005-08-06 Kristian Høgsberg <krh@redhat.com>
715 * backend/ev-selection.c: (ev_selection_render_selection):
716 * backend/ev-selection.h:
718 * shell/ev-jobs.c: (ev_job_render_new):
720 * shell/ev-pixbuf-cache.c: (get_selection_colors),
721 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
722 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
723 (ev_view_class_init):
725 Change selection color on focus in and focus out events. Also,
726 poppler now uses GdkColor for specifying the selection colors, so
727 drop some awkward conversion code.
729 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
731 * configure.ac: Added Hebrew translation
733 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
736 * backend/ev-selection.c: (ev_selection_render_selection):
737 * backend/ev-selection.h:
739 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
742 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
743 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
744 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
745 (ev_pixbuf_cache_style_changed),
746 (ev_pixbuf_cache_get_selection_pixbuf),
747 (ev_pixbuf_cache_set_selection_list),
748 (ev_pixbuf_cache_get_selection_list):
749 * shell/ev-pixbuf-cache.h:
750 * shell/ev-utils.c: (ev_print_region_contents):
752 * shell/ev-view.c: (ev_view_queue_draw_page),
753 (selection_update_idle_cb), (ev_view_motion_notify_event),
754 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
755 (setup_caches), (ev_view_find_next), (merge_selection_region),
757 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
759 Clean up selection to be much smoother!
761 2005-08-05 Kristian Høgsberg <krh@redhat.com>
763 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
764 to poppler_page_render_selection().
766 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
768 * ps/ps-document.c: (save_page_list): Use
769 unzipped document when printing. Thanks to
770 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
773 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
775 * shell/ev-window.c: (update_action_sensitivity):
777 Disable print and save respect to lockdown gconf keys. Fix
780 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
783 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
784 (write_to_temp_file), (ev_file_set_contents):
786 * shell/ev-window.c: (save_print_config_to_file):
788 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
791 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
793 * shell/ev-window.c: (load_print_config_from_file),
794 (save_print_config_to_file), (ev_window_print_range):
796 Persist the print settings. Fixes bug #311578.
798 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
800 * djvu/djvu-document.c: (djvu_document_get_page_size),
801 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
802 (djvu_document_thumbnails_get_thumbnail):
803 * dvi/dvi-document.c: (dvi_document_get_page_size),
804 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
805 (dvi_document_thumbnails_get_dimensions),
806 (dvi_document_thumbnails_get_thumbnail):
807 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
808 (pixbuf_document_render_pixbuf),
809 (pixbuf_document_document_iface_init),
810 (pixbuf_document_thumbnails_get_thumbnail):
812 Update backends to make them build with new rotation system.
814 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
816 * help/C/figures/evince_start_window.png:
818 Update documentation image from Luca Ferretti <elle.uca@libero.it>
820 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
822 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
823 * shell/ev-pixbuf-cache.h:
824 * shell/ev-sidebar-thumbnails.c:
825 (ev_sidebar_thumbnails_get_property), (add_range),
826 (adjustment_changed_cb):
827 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
828 pixbuf cache. Make thumbnailing work again. Also, fix bug where
829 we were thumbnailing the entire docment on startup, slowing us
832 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
834 * shell/ev-page-cache.c: (ev_page_cache_new):
835 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
838 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
840 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
841 (ev_view_rotate_left):
843 Account rotation in doc_rect_to_view_rect.
844 Ensure rotation doesnt go out of bounds.
846 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
848 * shell/ev-page-cache.c: (ev_page_cache_get_size):
850 Correct and cleanup w/h swapping
852 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
854 * backend/ev-document-thumbnails.c:
855 (ev_document_thumbnails_get_thumbnail):
856 * backend/ev-document-thumbnails.h:
857 * backend/ev-document.c:
858 * backend/ev-document.h:
859 * backend/ev-render-context.c: (ev_render_context_new),
860 (ev_render_context_set_rotation):
861 * backend/ev-render-context.h:
863 * ps/ps-document.c: (ps_document_document_iface_init):
864 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
866 * shell/ev-page-cache.c: (build_height_to_page),
867 (ev_page_cache_new), (ev_page_cache_get_size),
868 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
869 (ev_page_cache_get_height_to_page):
870 * shell/ev-page-cache.h:
871 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
872 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
873 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
874 (ev_pixbuf_cache_get_selection_pixbuf):
875 * shell/ev-pixbuf-cache.h:
876 * shell/ev-print-job.c: (idle_print_handler):
877 * shell/ev-sidebar-thumbnails.c: (add_range):
878 * shell/ev-view.c: (view_update_range_and_current_page),
879 (get_page_y_offset), (get_page_extents),
880 (ev_view_size_request_continuous_dual_page),
881 (ev_view_size_request_continuous),
882 (ev_view_size_request_dual_page),
883 (ev_view_size_request_single_page), (draw_one_page),
884 (ev_view_set_rotation), (ev_view_rotate_right),
885 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
886 (ev_view_zoom_for_size_continuous_and_dual_page),
887 (ev_view_zoom_for_size_continuous),
888 (ev_view_zoom_for_size_dual_page),
889 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
890 (ev_view_select_all):
891 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
892 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
893 (tiff_document_document_iface_init),
894 (tiff_document_thumbnails_get_thumbnail):
896 Use rotation rather than orientation. It's easier and enough
899 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
901 * shell/ev-page-cache.c: (build_height_to_page),
902 (ev_page_cache_new), (ev_page_cache_get_size),
903 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
904 (ev_page_cache_get_height_to_page):
905 * shell/ev-page-cache.h:
906 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
907 (ev_view_size_request_continuous_dual_page),
908 (ev_view_size_request_continuous),
909 (ev_view_zoom_for_size_continuous_and_dual_page),
910 (ev_view_zoom_for_size_continuous):
912 Make the page cache aware of page orientation.
914 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
916 * backend/ev-document-thumbnails.c:
917 (ev_document_thumbnails_get_thumbnail):
918 * backend/ev-document-thumbnails.h:
919 * backend/ev-document.c:
920 * backend/ev-document.h:
921 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
922 * backend/ev-ps-exporter.h:
924 * ps/ps-document.c: (ps_document_document_iface_init),
925 (ps_document_ps_export_do_page):
926 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
928 * shell/ev-page-cache.c: (ev_page_cache_get_size),
930 * shell/ev-page-cache.h:
931 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
932 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
933 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
934 * shell/ev-pixbuf-cache.h:
935 * shell/ev-print-job.c: (idle_print_handler):
936 * shell/ev-sidebar-thumbnails.c: (add_range):
937 * shell/ev-view.c: (view_update_range_and_current_page),
938 (get_page_extents), (ev_view_size_request_dual_page),
939 (ev_view_size_request_single_page), (draw_one_page),
940 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
941 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
942 (ev_view_zoom_for_size_dual_page),
943 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
944 (ev_view_select_all):
945 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
946 * tiff/tiff-document.c: (tiff_document_get_page_size),
947 (tiff_document_get_orientation), (rotate_pixbuf),
948 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
949 (tiff_document_thumbnails_get_thumbnail),
950 (tiff_document_ps_export_do_page), (tiff_document_init):
952 Really make use of the orientation bit of the render context.
953 Use the render context in a few more places in the backend API.
954 This regress orientation, but now it's done right. Will try to
957 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
959 * shell/ev-view.c: (ensure_rectangle_is_visible):
961 Patch by Nickolay V. Shmyrev to fix find flickering
963 2005-07-27 Martin Kretzschmar <martink@gnome.org>
965 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
966 duplex parameters to ::begin.
968 * tiff/tiff-document.c (tiff_document_ps_export_begin):
969 * shell/ev-print-job.c (idle_print_handler):
970 * ps/ps-document.c (ps_document_ps_export_begin):
971 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
972 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
973 implementations. Poppler backend needs poppler cvs. Rest has
976 2005-07-25 Martin Kretzschmar <martink@gnome.org>
978 * shell/ev-window.c (using_pdf_printer): new function.
979 (ev_window_print_range): print a less techy message if someone
980 tries to print to PDF.
982 2005-07-25 Martin Kretzschmar <martink@gnome.org>
984 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
985 from "unknown font" string. Bug #311431
987 2005-07-24 Martin Kretzschmar <martink@gnome.org>
989 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
991 2005-07-24 Martin Kretzschmar <martink@gnome.org>
995 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
996 name for PopplerFontTypes
997 (pdf_document_fonts_fill_model): add font type to the detail column
999 * backend/ev-document-fonts.h: added
1000 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1002 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1003 font name and font details, add a little markup.
1004 (ev_properties_fonts_init): use the new cell data func, specify ypad
1005 property for the cell renderer.
1006 (ev_properties_fonts_set_document): add the details column.
1008 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1010 * configure.ac: Added "pl" to ALL_LINGUAS.
1012 2005-07-24 Danilo Šegan <danilo@gnome.org>
1014 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1016 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1018 * help/ChangeLog: Started this for translations of manual.
1019 * configure.ac, autogen.sh, .cvsignore: Migrated to
1020 gnome-doc-utils. Patch in bug #311222.
1022 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1024 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1025 #ifdef this away to fix an unused-function warning.
1027 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1029 * configure.ac: Added 'gl' to ALL_LINGUAS.
1031 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1033 * configure.ac: Added ne in ALL_LINGUAS
1035 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1037 * shell/ev-view.c: (ev_view_leave_notify_event):
1039 Clear status message when pointer leaves view. Fix for bug
1042 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1044 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1046 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1048 * shell/ev-view.c: (ev_view_leave_notify_event),
1049 (ev_view_class_init):
1051 Set cursor to normal then leaving view.
1053 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1057 Fix required djvulibre version.
1059 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1061 *configure.ac: Hindi (hi) language added
1063 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1065 *configure.ac: Punjabi (pa) Language added
1067 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1069 * data/evince-ui.xml, shell/ev-window.c:
1071 Add keypad accelerators for zooming. Fix for bug 308128.
1073 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1076 * backend/Makefile.am:
1077 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1079 * shell/ev-document-types.c: (ev_document_types_add_filters):
1081 Allow to enable/disable the pixbuf backend.
1082 Default to off for now. If we want it enabled we should
1083 really put mime types in the desktop, implement properties etc.
1085 * properties/evince-properties.c:
1087 Initialize error to NULL.
1088 Check error is not NULL before freeing.
1090 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1092 * shell/ev-window.c:
1094 Use F5 as presentation accell
1096 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1098 * shell/ev-window.c: (update_chrome_visibility),
1099 (ev_window_create_fullscreen_popup), (ev_window_init):
1101 Do not leak the fullscreen toolbar
1103 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1105 * shell/ev-window.c: (view_actions_focus_in_cb),
1106 (view_actions_focus_out_cb):
1108 These has a return value! Fix totally random focus
1109 issues we was seeing.
1111 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1113 * shell/main.c: (load_files_remote):
1115 Allow open more than one file
1117 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1119 * shell/main.c: (load_files_remote):
1121 Fix for dbus 0.33. bug #309975
1123 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1125 * properties/ev-properties-main.c: (ev_properties_get_pages):
1127 Actually return NULL for types we dont support
1129 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1135 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1137 * backend/ev-document-factory.c:
1138 (ev_document_factory_get_document):
1140 Do not try to create the object if type
1143 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1145 * ps/ps-document.c: (ps_document_dispose),
1146 (ps_async_renderer_render_pixbuf):
1149 Do not leak the target window
1151 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1153 * shell/ev-application.c: (ev_application_init):
1155 Let tbe check file existence for us.
1156 Add a comment about eggrecent mime filter.
1158 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1160 * data/evince-ui.xml:
1161 * shell/ev-application.c: (ev_application_shutdown),
1162 (ev_application_init), (ev_application_get_toolbars_model),
1163 (ev_application_get_recent_model),
1164 (ev_application_save_toolbars_model):
1165 * shell/ev-application.h:
1166 * shell/ev-window.c: (ev_window_add_recent),
1167 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1168 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1171 Use common toolbar and recent models for all windows.
1172 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1174 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1176 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1177 successfully check for gtk_icon_view_get_visible_range.
1179 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1184 Fix djvu and dvi backend build.
1186 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1188 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1189 (new_separator_pixbuf):
1193 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1195 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1197 HIGification of toolbar editor dialogue.
1199 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1202 * shell/Makefile.am:
1204 Ever build metadata manager since it's just
1205 disabled at runtime now.
1207 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1209 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1210 (ev_metadata_manager_get), (ev_metadata_manager_set):
1211 * shell/ev-metadata-manager.h:
1213 Add an _init functions that enabled metadata management
1216 * shell/ev-window.c: (page_changed_cb),
1217 (setup_document_from_metadata), (ev_window_setup_document),
1218 (setup_view_from_metadata), (ev_window_open_uri),
1219 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1220 (ev_window_run_presentation), (ev_window_stop_presentation),
1221 (save_sizing_mode), (ev_window_zoom_changed_cb),
1222 (ev_window_continuous_changed_cb),
1223 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1224 (window_configure_event_cb):
1226 Remove all ugly metadata define since we deal with it
1229 * shell/main.c: (load_files_remote), (main):
1231 Add support for dbus cvs head. Hopefully didnt break one
1232 of the other versions now!
1234 If we dont get a response from the dbus server just
1235 give up with it and not enable metadata.
1237 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1240 * backend/Makefile.am:
1242 * cut-n-paste/recent-files/Makefile.am:
1243 * cut-n-paste/toolbar-editor/Makefile.am:
1244 * cut-n-paste/zoom-control/Makefile.am:
1247 * pixbuf/Makefile.am:
1248 * properties/Makefile.am:
1250 * shell/Makefile.am:
1251 * thumbnailer/Makefile.am:
1254 Make frontends depend on just libev.
1255 Rework and group CFLAGS/LIBS definitions.
1258 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1262 do not unnecessarily save zoom
1265 * lib/ev-file-helpers.c: (ev_dot_dir):
1266 * shell/Makefile.am:
1271 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1275 Remove unnecessary dependencies
1277 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1279 * properties/Makefile.am:
1280 * thumbnailer/Makefile.am:
1283 Some more cleanups. Was really necessary
1284 but I probably introduced bugs, feel free
1287 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1289 * backend/Makefile.am:
1291 * cut-n-paste/recent-files/Makefile.am:
1292 * cut-n-paste/toolbar-editor/Makefile.am:
1293 * cut-n-paste/zoom-control/Makefile.am:
1296 * pixbuf/Makefile.am:
1297 * properties/Makefile.am:
1299 * shell/Makefile.am:
1300 * thumbnailer/Makefile.am:
1303 Use gnome-common macros when possible.
1304 Cleanup dependencies.
1305 Actually disable deprecated where possible.
1307 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1310 * backend/Makefile.am:
1311 * properties/Makefile.am:
1312 * shell/Makefile.am:
1313 * thumbnailer/Makefile.am:
1315 This should solve the circular dep without
1316 requiring dir reorg!
1318 * shell/ev-window.c: (setup_view_from_metadata):
1320 Never restore window size/position when the
1321 window is already visible.
1323 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1325 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1327 Return a boolean from timeout func. Fix ported from gedit.
1329 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1331 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1333 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1335 * shell/ev-document-types.c: set "All Documents" as default filter in
1338 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1340 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1341 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1342 (ev_metadata_manager_set_boolean): fix value/val thinko.
1344 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1346 * shell/ev-window.c: (setup_view_from_metadata),
1347 (window_state_event_cb), (window_configure_event_cb),
1350 Remember window position and maximized state
1352 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1356 Fix DBUS configure checks.
1358 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1359 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1360 (ev_metadata_manager_set_boolean):
1364 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1365 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1366 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1367 (ev_window_continuous_changed_cb),
1368 (ev_window_dual_mode_changed_cb), (ev_window_new):
1370 Fix the build without DBUS.
1372 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1374 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1375 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1376 (ev_metadata_manager_set_string),
1377 (ev_metadata_manager_set_boolean):
1378 * shell/ev-metadata-manager.h:
1380 Add support for some more types
1382 * shell/ev-view.c: (scroll_to_current_page),
1383 (ev_view_get_continuous), (ev_view_set_continuous),
1384 (ev_view_get_dual_page):
1386 * shell/ev-window.c: (page_changed_cb),
1387 (setup_document_from_metadata), (ev_window_setup_document),
1388 (setup_view_from_metadata), (ev_window_open_uri),
1389 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1390 (ev_window_run_presentation), (ev_window_stop_presentation),
1391 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1392 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1393 (ev_window_update_dual_page_action),
1394 (ev_window_continuous_changed_cb),
1395 (ev_window_dual_mode_changed_cb), (ev_window_init):
1397 Remember a bunch of view/document properties. Prolly some
1398 are still missing but it's getting interesting.
1400 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1402 * configure.ac: check if dbus-binding-tool is installed. Not the
1403 case on current Ubuntu breezy, it seems.
1405 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1407 * data/evince.desktop.in.in:
1409 Allow open uri lists and add TryExec field.
1411 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1415 Enable dbus when available, do not require a configure
1418 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1422 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1425 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1426 Marco Pesenti Gritti <mpg@redhat.com>
1428 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1430 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1431 functions to the format required by dbus
1433 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1434 errors. Use the RPC parameters in the expected way
1436 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1439 * properties/Makefile.am:
1440 * properties/ev-properties-main.c: (ev_properties_get_pages):
1442 Support all mime types
1444 * shell/Makefile.am:
1445 * thumbnailer/Makefile.am:
1446 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1447 (evince_thumbnail_pngenc_get):
1449 Use the document factory
1451 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1453 * backend/Makefile.am:
1454 * backend/ev-document-factory.c:
1455 (mime_type_supported_by_gdk_pixbuf),
1456 (ev_document_type_get_from_mime),
1457 (ev_document_factory_get_document),
1458 (ev_document_factory_get_backend),
1459 (ev_document_factory_get_mime_types),
1460 (ev_document_factory_get_all_mime_types):
1461 * backend/ev-document-factory.h:
1462 * shell/Makefile.am:
1463 * shell/ev-document-types.c: (get_document_from_uri),
1464 (ev_document_types_get_document),
1465 (file_filter_add_mime_list_and_free),
1466 (ev_document_types_add_filters):
1467 * shell/ev-document-types.h:
1468 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1469 * shell/ev-properties-dialog.c:
1470 (ev_properties_dialog_set_document):
1471 * shell/ev-window.c: (ev_window_cmd_file_open),
1472 (ev_window_cmd_save_as):
1473 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1475 Rework document types managing to avoid code duplication
1476 and actually abstract from backend implementations.
1477 Also provide a minimal factory api that can be used by
1478 thumbnailer/properties.
1480 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1482 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1484 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1487 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1489 * shell/ev-properties-dialog.c
1490 (ev_properties_dialog_set_document): only call
1491 ev_properties_fonts_set_document() if the document implements the
1494 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1497 * properties/Makefile.am:
1498 * properties/ev-properties-view.c:
1499 (ev_properties_view_register_type):
1500 * properties/ev-properties-view.h:
1501 * properties/ev-properties-main.h:
1503 Implement nautilus plugin for properties.
1504 Works only for pdf atm, I need to rework the
1505 document types stuff to get this to work
1508 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1510 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1511 (ev_properties_fonts_set_document): use
1512 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1514 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1516 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1518 (PlaceImage, tiff2ps_process_page): use
1519 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1522 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1524 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1525 (main): to call gnome_authentication_manager_init. Should fix
1528 * configure.ac: that requires libgnomeui 2.6.0.
1530 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1532 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1533 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1534 use the new tiff2ps interfaces
1536 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1537 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1539 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1540 structure instead of global variables. Remove use of static
1541 variables in functions.
1543 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1545 * shell/ev-page-action.c: unref the completion after setting it to the
1548 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1550 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1553 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1555 * shell/ev-window.c (update_action_sensitivity): disable
1556 File->Print if the document does not implement the ps exporter
1559 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1563 * data/evince-properties.glade:
1564 * properties/.cvsignore:
1565 * properties/Makefile.am:
1566 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1567 (ev_properties_view_class_init), (ev_properties_view_format_date),
1568 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1569 (ev_properties_view_init), (ev_properties_view_new):
1570 * properties/ev-properties-view.h:
1571 * shell/Makefile.am:
1572 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1573 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1574 (ev_properties_dialog_new):
1575 * shell/ev-properties-dialog.h:
1576 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1577 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1578 (update_progress_label), (job_fonts_finished_cb),
1579 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1580 * shell/ev-properties-fonts.h:
1581 * shell/ev-properties.c:
1582 * shell/ev-properties.h:
1583 * shell/ev-window.c: (ev_window_setup_document),
1584 (ev_window_cmd_file_properties):
1586 Split the properties pages in two different objects, depend
1587 only on the backend where possible, use widgets instead
1588 of gobject for the glade part, reimplement the dialog
1590 I need this to implement nautilus properties page.
1592 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1594 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1595 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1596 (tiff_document_document_ps_exporter_iface_init): implement the ps
1597 exporter interface for tiff documents
1599 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1600 libtiff to implement TIFF postscript export
1602 * tiff/tiff2ps.h: added a header file for external tiff2ps
1605 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1608 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1610 * shell/ev-view.c: (scroll_to_current_page),
1611 (ev_view_set_fullscreen), (ev_view_set_presentation):
1613 Scroll to current page when exit from presentation
1615 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1617 * shell/ev-window.c: (update_document_mode),
1618 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1619 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1620 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1622 Exit from fullscreen mode when switch to presentation. Fix for
1625 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1627 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1628 return NULL if the document does not implement the selection
1631 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1633 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1634 reported height by using the resolution aspect ratio
1635 (tiff_document_render_pixbuf): scale the pixbuf using the
1636 resolution aspect ratio
1638 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1642 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1643 <kiltedaco@gmail.com>
1645 * djvu/djvu-document.c: (djvu_document_get_orientation),
1646 (djvu_document_set_orientation), (djvu_document_get_page_size),
1647 (rotate_pixbuf), (djvu_document_render_pixbuf),
1648 (djvu_document_document_iface_init):
1649 * dvi/dvi-document.c: (dvi_document_get_orientation),
1650 (dvi_document_set_orientation), (dvi_document_get_page_size),
1651 (rotate_pixbuf), (dvi_document_render_pixbuf),
1652 (dvi_document_document_iface_init):
1654 Dvi and djvu backends are ported to new API
1656 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1658 * backend/ev-selection.c: (ev_selection_get_selection_region),
1659 (ev_selection_get_selection_map):
1660 * backend/ev-selection.h:
1661 * pdf/ev-poppler.cc:
1662 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1664 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1665 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1666 (ev_pixbuf_cache_get_text_mapping):
1667 * shell/ev-pixbuf-cache.h:
1668 * shell/ev-view.c: (location_in_text),
1669 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1670 support to EvView. Now we can see where we can select! Sweet!
1672 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1674 * shell/ev-view.c (ev_view_button_press_event): Fix
1675 event->y + view->scroll_x typo.
1677 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1679 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1680 sub-GdkPixbuf instead of passing dest_x and dest_y.
1682 * shell/ev-view.c: (view_point_to_doc_point),
1683 (view_rect_to_doc_rect), (ev_view_button_press_event),
1684 (ev_view_motion_notify_event), (compute_new_selection_rect),
1685 (gdk_rectangle_point_in), (compute_new_selection_text),
1686 (compute_selections): Update selection code to keep the selection
1687 around as two points and not as a normalized rectangle, and fix
1688 page level selection in two-column mode.
1690 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1692 * shell/ev-window.c: (window_configure_event_cb):
1696 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1698 * pdf/ev-poppler.cc:
1702 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1704 * shell/Makefile.am:
1705 * shell/ev-metadata-manager.c: (item_free),
1706 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1707 (parse_value), (parseItem), (load_values),
1708 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1709 (save_values), (save_item), (get_oldest), (resize_items),
1710 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1711 * shell/ev-metadata-manager.h:
1713 Metadata manager from gedit but modified to use GValue, so that
1714 we dont need to keep converting from strings.
1718 ENABLE_METADATA conditional, on when dbus is on
1720 * shell/ev-application.c: (ev_application_open_uri):
1722 Show the window after load so that we can initialize
1723 window size before it's showed.
1725 * shell/ev-window.c: (ev_window_setup_from_metadata),
1726 (ev_window_open_uri), (window_configure_event_cb),
1729 Save and load metadata information about window size.
1730 Not yet keeping states in account.
1732 * shell/main.c: (main):
1734 Shutdown metadata manager.
1736 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1738 * shell/ev-application-service.xml:
1740 * shell/Makefile.am:
1741 * shell/ev-application.c:
1742 * shell/ev-application.h:
1743 * shell/ev-window.c:
1744 * shell/ev-window.h:
1747 Add an optional dbus interface (--enable-dbus).
1748 Rework application code, mainly to be easier to
1750 Do not open multiple windows with the same document,
1753 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1755 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1756 pixbuf iff it exists.
1758 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1761 * backend/ev-render-context.[ch]:
1762 * backend/ev-selection.[ch]:
1764 Massive changes. We now support text selection of pdfs, and not
1765 just rectangular selection. This is pretty broken still, but I
1766 want to get something into CVS.
1768 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1770 * pdf/ev-poppler.cc:
1772 Fix for Bug 309080: crash on window close.
1774 * shell/ev-page-action.c: (page_changed_cb):
1776 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1777 jensgr@gmx.net (Jens Granseuer).
1779 2005-06-25 Marcel Telka <marcel@telka.sk>
1781 * configure.in (ALL_LINGUAS): Added sk.
1783 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1785 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1788 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1795 * cut-n-paste/recent-files/Makefile.am:
1799 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1801 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1802 (pixbuf_document_set_orientation), (rotate_pixbuf),
1803 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1804 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1806 Implement rotation and cleanup the code a bit.
1808 * tiff/tiff-document.c: (tiff_document_get_page_size),
1809 (tiff_document_get_orientation), (tiff_document_set_orientation),
1810 (rotate_pixbuf), (tiff_document_render_pixbuf),
1811 (tiff_document_document_iface_init), (tiff_document_init):
1813 Implement rotation. Was the quicker solution for the release
1814 but we really need to share this code in the shell.
1816 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1818 * pdf/ev-poppler.cc:
1820 Enable rotation, require poppler cvs. Fix a leak.
1822 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1824 * shell/ev-window.c: (update_action_sensitivity):
1826 Make properties unsensitive if document backend doesn't provide
1829 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1831 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1832 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1833 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1834 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1835 (bitmap_flip_rotate_counter_clockwise):
1836 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1837 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1839 * dvi/mdvi-lib/common.h:
1840 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1841 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1842 (opendvi), (mdvi_reload), (mdvi_init_context),
1843 (mdvi_destroy_context), (mdvi_dopage), (special):
1844 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1845 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1846 (file_hash_free), (register_encoding), (parse_spec),
1847 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1848 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1849 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1850 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1851 (mdvi_register_font_type), (mdvi_unregister_font_type),
1852 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1853 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1854 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1855 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1856 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1857 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1858 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1859 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1860 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1861 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1862 (mdvi_unregister_special), (mdvi_flush_specials):
1863 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1865 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1866 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1867 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1868 (free_font_metrics), (flush_font_metrics):
1869 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1871 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1872 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1873 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1874 (dstring_insert), (dstring_new), (dstring_reset):
1875 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1877 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1878 avoid conflict with libtool on FC4
1880 * shell/ev-window.c: (ev_window_cmd_help_about):
1882 Update copyright year. Fix for bug 308828.
1884 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1886 * shell/ev-view.c: (add_scroll_binding_keypad),
1887 (ev_view_binding_activated), (ev_view_class_init),
1888 (on_adjustment_value_changed):
1890 Bug 170874: Arrow keys switch pages in presentation mode
1892 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1894 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1896 Fix for Bug 308265: Sidebar dissappears coming out of
1899 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1901 * shell/ev-application.c: (ev_application_open):
1902 * shell/ev-document-types.c: (ev_document_types_add_filters),
1903 (ev_document_types_add_filters_for_type):
1904 * shell/ev-document-types.h:
1905 * shell/ev-window.c: (ev_window_cmd_save_as):
1907 Suggest basename as template when saving, provide filters
1908 for save dialog. It's bug 308402
1910 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1912 * pdf/ev-poppler.cc:
1913 * shell/ev-sidebar-links.c: (job_finished_callback):
1914 * shell/ev-view.c: (update_find_status_message):
1918 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1920 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1921 (egg_recent_view_uimanager_set_list):
1923 Fix buglet in !show_numbers case.
1925 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1927 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1928 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1930 Use pango ellipsisation.
1932 * pdf/ev-poppler.cc:
1934 Fix refcount leak, from nsh.
1936 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1938 * cut-n-paste/recent-files/Makefile.am:
1939 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1940 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1942 Removed EggRecentViewGtk
1944 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1945 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1946 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1947 (ev_window_setup_recent):
1949 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1952 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1954 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1955 (egg_recent_view_gtk_finalize):
1959 * cut-n-paste/toolbar-editor/Makefile.am:
1961 Fix location of cursor icon.
1963 * pdf/ev-poppler.cc:
1964 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1965 (display_completion_text), (match_completion):
1966 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1967 (selection_changed_callback), (create_loading_model),
1968 (print_section_cb), (links_page_num_func),
1969 (update_page_callback_foreach):
1970 * shell/ev-window.c: (ev_window_dispose):
1972 Small memory fixes. Links model now store objects instead
1973 of pointers to improve memory management.
1975 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1977 * shell/ev-window.c: (zoom_control_changed_cb):
1979 Fix update of zoom control (bug 308268).
1981 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1983 * shell/ev-properties.c (set_property): escape the text correctly.
1984 Handles non-UTF-8 properties and escaped properties. Also, sets
1985 the text to "<i>None</i>" if the property isn't set.
1987 * data/evince-properties.glade: Change the label to be ellipsized,
1988 and give it a minimum size.
1990 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1992 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1993 * shell/ev-sidebar-links.c: (create_loading_model):
1994 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1995 * shell/ev-view.c: (ev_view_set_document):
1996 * shell/ev-window.c: (ev_window_dispose):
1998 Various small fixes, mostly memory leaks. Thanks to valgrind.
2000 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2002 * ps/ps-document.c: remove the locale.h include again ;-). And
2003 kill the (bogus) setlocale/savelocale business.
2005 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2009 Include locale.h to fix build
2011 * shell/ev-sidebar.c:
2013 Remove unnecessary includes
2015 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2017 * dvi/dvi-document.c: (dvi_document_load):
2018 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2021 Check for incorrect dvi files. Fix parsing dvi on AMD64
2022 platform. Thanks to tester@tester.ca (Olivier Crete).
2024 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2026 * shell/ev-page-action.c: (match_selected_cb),
2027 (display_completion_text), (match_completion), (update_model):
2028 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2029 (expand_open_links):
2030 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2031 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2032 (ev_sidebar_set_document):
2033 * shell/ev-window.c: (ev_window_xfer_job_cb),
2034 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2036 Fixed lot's of memory leaks, for example, memory leak on reload,
2037 described in bug 307793.
2039 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2041 * pdf/ev-poppler.cc:
2042 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2043 (update_visible_range), (adjustment_changed_cb),
2044 (ev_sidebar_thumbnails_fill_model),
2045 (ev_sidebar_thumbnails_refresh),
2046 (ev_sidebar_tree_selection_changed),
2047 (ev_sidebar_icon_selection_changed),
2048 (ev_sidebar_thumbnails_use_icon_view),
2049 (ev_sidebar_thumbnails_set_document):
2050 * shell/ev-sidebar-thumbnails.h:
2051 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2052 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2054 Refresh thumbnails when changing orientation. Not fully
2055 working yet becuase of a sidebar bug.
2057 Set page orientation to poppler page everywhere. This sucks
2058 really need to fix poppler.
2060 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2062 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2063 (egg_recent_view_gtk_new_menu_item),
2064 (egg_recent_view_gtk_set_property),
2065 (egg_recent_view_gtk_get_property),
2066 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2067 (egg_recent_view_gtk_set_tooltip_func),
2068 (egg_recent_view_gtk_set_label_width),
2069 (egg_recent_view_gtk_get_label_width):
2070 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2072 Sync with libegg (ellipsize labels)
2074 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2076 * data/evince-ui.xml:
2077 * shell/ev-window.c: (ev_window_cmd_go_forward),
2078 (ev_window_cmd_go_backward):
2080 Shift + PageUp moves 10 Pages. Fix for 306125
2082 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2084 * pdf/ev-poppler.cc:
2086 Add a flag to check if orientation has been overriden
2088 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2090 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2093 * ps/ps.h: add creator field to document.
2095 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2098 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2100 * data/evince-properties.glade:
2101 * shell/ev-properties.c: (ev_properties_set_document):
2103 s/PDF Version/Format
2105 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2107 * shell/ev-properties.c: (ev_properties_set_document):
2109 Remove unnecessary translations
2111 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2113 * cut-n-paste/toolbar-editor/Makefile.am:
2115 Correct library name
2117 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2120 * cut-n-paste/recent-files/egg-recent-model.c:
2121 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2122 (egg_recent_model_unlock_file):
2123 * cut-n-paste/recent-files/egg-recent-util.c:
2124 (egg_recent_util_get_unique_id):
2125 * cut-n-paste/recent-files/update-from-egg.sh:
2126 * cut-n-paste/toolbar-editor/Makefile.am:
2127 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2128 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2129 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2130 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2131 (egg_toolbars_model_get_type):
2132 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2134 Better makefile for toolbar editor and update everything
2137 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2139 * shell/ev-window.c: (update_document_mode):
2141 Prefer presentation mode when the document
2144 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2146 * data/evince-ui.xml:
2147 * shell/ev-window.c:
2149 Add control-equal for zooming
2151 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2153 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2155 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2157 * backend/ev-document.c: (ev_document_get_orientation):
2158 * backend/ev-document.h:
2159 * pdf/ev-poppler.cc:
2160 * ps/ps-document.c: (ps_document_get_orientation),
2161 (ps_document_set_orientation), (ps_document_document_iface_init):
2163 Add a get_orientation api. Improve set_orientation.
2165 * data/evince-ui.xml:
2166 * shell/ev-view.c: (ev_view_set_orientation),
2167 (ev_view_rotate_right), (ev_view_rotate_left):
2169 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2170 (ev_window_cmd_edit_rotate_right):
2172 Better ui for changing document orientation
2174 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2176 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2177 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2178 * shell/ev-sidebar-links.h:
2179 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2180 (ev_sidebar_page_iface_init):
2181 * shell/ev-sidebar-page.h:
2182 * shell/ev-sidebar-thumbnails.c:
2183 (ev_sidebar_thumbnails_get_property),
2184 (ev_sidebar_thumbnails_class_init),
2185 (ev_sidebar_thumbnails_set_document):
2186 * shell/ev-sidebar-thumbnails.h:
2187 * shell/ev-view.c: (ev_view_motion_notify_event):
2188 * shell/ev-window.c: (update_chrome_visibility),
2189 (ev_window_cmd_focus_page_selector),
2190 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2191 (sidebar_page_main_widget_update_cb), (ev_window_init):
2193 Autoraise toolbar on GoToPage binding and fix bindings in
2194 EvSidebarThumbnails page.
2196 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2198 * shell/ev-properties.c: (update_progress_label):
2200 Hide the progress label when finished; bug #307697.
2202 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2204 * pdf/ev-poppler.cc:
2206 Enable is_open for links, you will need poppler cvs
2208 * shell/ev-properties.c: (job_fonts_finished_cb):
2210 Get a lock on the document when filling the tree view
2212 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2214 * backend/ev-document-links.h:
2215 * pdf/ev-poppler.cc:
2216 * shell/ev-sidebar-links.c: (create_loading_model),
2217 (expand_open_links), (job_finished_callback):
2219 Expand links when specified by the document.
2220 Depend on a poppler api (defined out for now)
2222 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2224 * shell/ev-properties.c: (ev_properties_dispose),
2225 (ev_properties_class_init), (dialog_destroy_cb),
2226 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2227 (ev_properties_set_document), (ev_properties_new),
2228 (ev_properties_show):
2229 * shell/ev-properties.h:
2231 Make it an object, cleanup the code, api to show it as transient
2232 and to set the document.
2234 * shell/ev-window.c: (ev_window_setup_document),
2235 (ev_window_cmd_file_properties):
2237 Adapt to EvProperties changes, do not show multiple
2238 times, update it when document changes.
2240 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2243 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2244 (ps_document_set_orientation), (ps_document_document_iface_init):
2247 Implement orientation here too
2249 * shell/ev-properties.c: (ev_properties_new):
2250 * data/evince-properties.glade:
2252 Hide the fonts page for backends that doesnt
2255 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2257 * backend/ev-document.c: (ev_document_set_orientation):
2258 * backend/ev-document.h:
2259 * pdf/ev-poppler.cc:
2261 Add orientation api. Currently poppler api is not optimal,
2262 we need to set orientation every time we _get a page.
2263 I will try to fix that at some point.
2265 * data/evince-ui.xml:
2266 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2267 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2269 Add orientation menu items
2271 * shell/ev-page-cache.c: (ev_page_cache_clear):
2272 * shell/ev-page-cache.h:
2274 Add api to clear the cache
2276 * shell/ev-view.c: (setup_caches), (clear_caches),
2277 (ev_view_set_document), (ev_view_zoom_out),
2278 (ev_view_set_orientation):
2281 Implement orientation changing
2283 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2285 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2286 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2287 * backend/ev-document-fonts.h:
2289 Separate scan and fill so that we can incrementally fill from
2290 the main thread. Add a progress api.
2292 * data/evince-properties.glade:
2293 * pdf/ev-poppler.cc:
2294 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2296 * shell/ev-properties.c: (update_progress_label),
2297 (job_fonts_finished_cb), (setup_fonts_view):
2299 Incrementally feel the list and show the progress
2300 percentage in a label like acrobat does.
2302 You are going to need poppler cvs
2304 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2306 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2307 * backend/ev-document-fonts.h:
2308 * pdf/ev-poppler.cc:
2310 Make fonts model fill incrementally.
2312 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2313 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2314 (ev_job_queue_remove_job):
2315 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2316 (ev_job_fonts_new), (ev_job_fonts_run):
2319 New job for fonts scanning
2321 * shell/ev-properties.c: (job_fonts_finished_cb),
2322 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2323 * shell/ev-properties.h:
2324 * shell/ev-window.c: (ev_window_cmd_file_properties):
2326 Incrementally feel the treeview using the new job. Show Loading...
2327 message until scanning is completed.
2329 Hopefully I didnt break the build without the poppler patch.
2331 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2333 * shell/ev-application.c: (ev_application_open):
2334 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2335 (ev_document_type_get_type), (ev_document_type_lookup):
2336 * shell/ev-document-types.h:
2337 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2338 * shell/ev-job-xfer.h:
2339 * shell/ev-window.c: (ev_window_clear_local_uri),
2340 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2341 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2342 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2344 Transfer remote documents to tmp directory to display them later.
2346 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2348 * backend/ev-document-info.h:
2349 * shell/ev-properties.c: (ev_properties_new):
2351 s/GTime*/GTime. Not sure why we was using a pointer
2354 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2356 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2357 situations. That situation is that you're using GTK+-HEAD with
2358 the patch at #306726 is applied, and you have a document with <
2359 1500 pages in it. It's not quite as uniformly nice as the
2360 TreeView, but should be better in the long run.
2362 I'm pretty sure I guarded against breaking compilation with
2363 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2366 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2367 widget yet, so I commented that code out
2368 enable_view_actions_for_widget() for now. Need to figure this
2371 * shell/ev-page-action.c (match_selected_cb): emit the right
2372 signals. Our cool C-l completion now works.
2374 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2376 * backend/Makefile.am:
2377 * backend/ev-document-fonts.c:
2378 * backend/ev-document-links.c:
2379 * backend/ev-document.c: (ev_document_load):
2380 * backend/ev-document.h:
2381 * backend/ev-job-queue.c:
2382 * backend/ev-job-queue.h:
2383 * backend/ev-jobs.c:
2384 * backend/ev-jobs.h:
2385 * backend/ev-page-cache.c:
2386 * backend/ev-page-cache.h:
2388 EvPageCache and EvJobs are moved to shell.
2390 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2392 * lib/ev-file-helpers.h:
2394 New helper to work with temporary files
2396 * shell/Makefile.am:
2397 * shell/ev-application.c: (ev_application_open):
2398 * shell/ev-application.h:
2399 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2400 (remove_job_from_async_queue), (add_job_to_async_queue),
2401 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2402 (handle_job), (search_for_jobs_unlocked),
2403 (no_jobs_available_unlocked), (ev_render_thread),
2404 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2405 (ev_job_queue_add_job), (move_job_async), (move_job),
2406 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2407 * shell/ev-job-queue.h:
2408 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2409 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2410 * shell/ev-job-xfer.h:
2411 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2412 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2413 (ev_job_links_class_init), (ev_job_render_init),
2414 (ev_job_render_dispose), (ev_job_render_class_init),
2415 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2416 (ev_job_thumbnail_class_init), (ev_job_load_init),
2417 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2418 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2419 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2420 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2422 * shell/ev-page-action.c: (ev_page_action_set_document):
2423 * shell/ev-page-cache.c: (ev_page_cache_init),
2424 (ev_page_cache_class_init), (ev_page_cache_finalize),
2425 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2426 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2427 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2428 (ev_page_cache_get_title), (ev_page_cache_get_size),
2429 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2430 (ev_page_cache_get_height_to_page),
2431 (ev_page_cache_get_max_label_chars),
2432 (ev_page_cache_get_page_label),
2433 (ev_page_cache_has_nonnumeric_page_labels),
2434 (ev_page_cache_get_info), (ev_page_cache_next_page),
2435 (ev_page_cache_prev_page), (ev_page_cache_get):
2436 * shell/ev-page-cache.h:
2437 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2438 (ev_pixbuf_cache_clear_job_sizes),
2439 (ev_pixbuf_cache_add_jobs_if_needed),
2440 (ev_pixbuf_cache_set_page_range):
2441 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2442 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2443 * shell/ev-sidebar-thumbnails.c:
2444 (ev_sidebar_tree_selection_changed),
2445 (ev_sidebar_thumbnails_set_document):
2446 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2447 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2448 (ev_statusbar_get_context_id), (ev_statusbar_push),
2449 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2450 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2451 (ev_statusbar_set_progress):
2452 * shell/ev-statusbar.h:
2453 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2454 (ev_view_find_previous):
2455 * shell/ev-window.c: (ev_window_is_empty),
2456 (ev_window_setup_document), (password_dialog_response),
2457 (ev_window_clear_jobs), (ev_window_load_job_cb),
2458 (ev_window_xfer_job_cb), (ev_window_open_uri),
2459 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2460 (ev_window_print), (ev_window_print_range),
2461 (ev_window_state_event), (ev_window_cmd_view_reload),
2462 (menu_item_select_cb), (menu_item_deselect_cb),
2463 (view_status_changed_cb), (ev_window_dispose),
2464 (drag_data_received_cb), (ev_window_init):
2465 * shell/ev-window.h:
2466 * shell/main.c: (load_files):
2468 New statusbar to show progress on idle. Two new jobs -
2469 xfer job and load job to load document in background. And update
2470 of page_cache clients to new location of code.
2472 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2474 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2475 selection in open dialog. It also remembers the last visited directory
2476 in the current session.
2478 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2480 * shell/ev-properties.c: (ev_properties_new):
2481 * shell/ev-properties.h:
2482 * shell/ev-window.c: (ev_window_cmd_file_properties):
2484 Get document info from page cache instead of document itself.
2485 This should fix crash related to race conditions described in
2488 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2490 * ps/ps-document.c: (ps_document_init),
2491 (send_ps), (get_page_box), (output), (catchPipe), (input),
2492 (stop_interpreter), (file_length), (file_readable),
2493 (check_filecompressedb), (ps_document_enable_interpreter),
2494 (document_load), (ps_async_renderer_render_pixbuf):
2497 Big cleanup of the ps code
2499 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2501 * backend/Makefile.am:
2502 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2503 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2504 * backend/ev-async-renderer.h:
2506 Add an async renderer interface (method + callback) which
2507 is useful for backends like ps.
2509 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2510 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2511 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2512 (ev_job_queue_add_job), (move_job_async), (move_job),
2513 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2515 Add queues for async renderer, these are executed on the
2518 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2519 (ev_job_render_run):
2520 * backend/ev-jobs.h:
2522 If the backend support async renderer interface use it.
2524 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2525 (setup_pixmap), (ps_document_get_type),
2526 (ps_async_renderer_render_pixbuf),
2527 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2529 Implement async renderer interface.
2531 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2533 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2535 Cleanup links job on exit.
2537 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2539 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2540 (drag_data_get_cb), (drag_data_received_cb):
2541 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2542 (drag_data_get_cb), (parse_item_list),
2543 (egg_toolbar_editor_load_actions):
2544 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2545 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2546 (parse_item_list), (parse_toolbars):
2547 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2548 (dvi_pixbuf_put_pixel):
2550 Fix gcc 4.0 warnings
2552 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2554 * ps/ps-document.c: (start_interpreter):
2556 Fix warning when loading ps
2558 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2560 * ps/ps-document.c: (output):
2562 Fix crash when priting gs error messages.
2564 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2566 * backend/ev-page-cache.c: (_ev_page_cache_new):
2567 * backend/ev-page-cache.h:
2569 Use a const to return title so that we dont double
2570 free it. Small cleanup and fix a leak.
2572 * shell/ev-window.c: (update_window_title):
2574 strdup value from get_title.
2576 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2578 * shell/ev-sidebar-links.c: (job_finished_callback),
2579 (ev_sidebar_links_set_document):
2581 Cleanup the old job when changing document
2583 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2585 * shell/ev-stock-icons.c:
2586 * shell/ev-stock-icons.h:
2587 * shell/ev-window.c:
2589 Add stock icons for actions that can appear in toolbar. Fix for
2592 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2594 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2595 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2596 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2597 * backend/ev-page-cache.h:
2598 * shell/ev-view.c: (scroll_to_current_page),
2599 (view_update_range_and_current_page), (get_page_y_offset),
2600 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2601 (ev_view_size_request_continuous),
2602 (ev_view_zoom_for_size_continuous_and_dual_page),
2603 (ev_view_zoom_for_size_continuous):
2605 More compact EvView layout in document with pages of different size.
2607 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2609 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2612 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2614 * shell/ev-view.c: (view_set_adjustment_values):
2615 * shell/ev-window.c: (ev_window_cmd_file_properties):
2617 A bit different fix for rounding problem but it has no
2618 problems on startup. Make properties window transient to parent.
2620 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2622 * pdf/ev-poppler.cc:
2624 More commenting of font stuff.
2626 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2628 * pdf/ev-poppler.cc:
2630 Comment out some more fonts stuff. Should really
2631 work without the poppler patch now.
2633 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2635 * pdf/ev-poppler.cc:
2639 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2641 * data/evince-properties.glade:
2642 * pdf/ev-poppler.cc:
2643 * shell/ev-properties.c: (setup_fonts_view):
2645 Set the column title. Show the dialog only
2646 once everything is setup.
2647 Getting font info can be very slow... will
2648 prolly need to make this threaded too.
2650 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2652 * backend/Makefile.am:
2653 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2654 (ev_document_fonts_get_fonts_model):
2655 * backend/ev-document-fonts.h:
2656 * data/evince-properties.glade:
2657 * pdf/ev-poppler.cc:
2658 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2659 * shell/ev-properties.h:
2660 * shell/ev-window.c: (ev_window_cmd_file_properties):
2662 Implement fonts list. Defined out for now, since it depends
2663 on a not yet committed poppler patch.
2665 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2667 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2670 * shell/ev-window.c: Make sure we add the timeout when we get a
2673 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2674 adjustment->value before calculating the zoom factor to average
2675 out all of our rounding errors. The page no longer 'drifts' when
2678 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2680 * data/evince-properties.glade:
2681 * shell/ev-properties.c: (ev_properties_format_date),
2684 Labels don't expand when the dialogue is resized.
2685 strftime result needs to be converted to UTF-8. Thanks
2686 to Christian Persch <chpe@gnome.org>.
2688 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2690 * data/evince-properties.glade:
2694 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2696 * backend/ev-document-info.h:
2697 * backend/ev-document.c: (ev_document_info_free):
2698 * data/evince-properties.glade:
2699 * pdf/ev-poppler.cc:
2700 * ps/ps-document.c: (ps_document_get_info):
2701 * shell/ev-properties.c: (ev_properties_format_date),
2702 (set_property), (ev_properties_new):
2703 * shell/ev-properties.h:
2704 * shell/ev-window.c: (ev_window_cmd_file_properties):
2706 Rework properties code to take only EvPropertyInfo
2707 in the constructor so that it can be useful for
2708 nautilus plugin too.
2710 Deal with backends that doesnt support some properties.
2711 Make set property code generic.
2713 2005-06-04 Christian Persch <chpe@gnome.org>
2715 * data/evince-properties.glade:
2717 fix spacings, make resizeable, and make data labels
2718 selectable + ellipsised
2720 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2722 * backend/ev-document-info.h:
2724 * data/evince-ui.xml:
2725 * pdf/ev-poppler.cc:
2726 * shell/Makefile.am:
2727 * shell/ev-window.c: (update_action_sensitivity),
2728 (ev_window_cmd_file_properties):
2730 Initial go at file properties. Patch by
2731 Emil Soleyman-Zomalan <emil@soleyman.com>.
2732 Needs love see #169583
2734 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2736 * ps/ps-document.c: (output):
2737 * ps/ps.c: (psscan):
2739 Try to render even if psscan fails.
2741 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2743 * ps/ps.c: (psscan), (pscopydoc):
2745 Port buffered reading code from gv
2747 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2749 * ps/ps-document.c: (interpreter_message), (output):
2751 Do not fail on interpreter messages
2753 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2755 * backend/ev-document-misc.c:
2756 (ev_document_misc_get_thumbnail_frame):
2758 Pages can be 0 x 0, dont assert on this case
2760 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2762 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2763 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2765 Correctly manage our reference on document. Finally the reload
2766 huge leak is gone...
2768 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2770 * ps/ps-document.c: (ps_document_dispose):
2772 Forgot to chain it to the parent. Thanks chpe.
2774 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2776 * ps/ps-document.c: (ps_document_dispose),
2777 (ps_document_class_init), (stop_interpreter), (document_load):
2779 Cleanup dispose a bit. Dont leak the whole pixmap.
2781 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2783 * pdf/ev-poppler.cc:
2785 Release the poppler document on dispose
2787 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2789 * shell/ev-view.c: (ev_view_set_document):
2791 Release ref on the pixbuf cache when changing
2794 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2796 * ps/ps-document.c: (ps_document_get_info):
2800 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2802 * backend/ev-page-cache.c: (ev_page_cache_init),
2803 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2804 * backend/ev-page-cache.h:
2805 * shell/ev-page-action.c: (page_changed_cb):
2807 Set page action entry width depending on labels width. Fix
2810 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2812 * backend/ev-link.c: (ev_link_class_init):
2814 Allow -1 as page value (error)
2816 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2818 * shell/ev-sidebar-thumbnails.c:
2819 (ev_sidebar_thumbnails_set_document):
2820 * shell/ev-view.c: (scroll_to_current_page),
2821 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2822 (page_changed_cb), (on_adjustment_value_changed),
2823 (ev_view_set_document):
2825 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2828 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2831 * djvu/djvu-document.c: (djvu_document_get_page_size):
2833 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2836 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2838 * shell/ev-view.c (draw_one_page): modify the expose handling to
2841 * shell/ev-window.c (update_action_sensitivity): Respect
2842 permissions field. Kowtow to the man.
2844 * pdf/ev-poppler.cc: Get the permissions field.
2846 * tiff/*c: Make a tiny bit more robust.
2848 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2850 * djvu/djvu-document.c:
2852 Pop messages from djvu context message queue.
2854 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2856 * configure.ac, Makefile.am, shell/Makefile.am:
2857 * tiff/Makefile.am, shell/ev-document-types.c:
2859 Cleanup tiff configure checks. Fix for bug 305218.
2861 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2863 * configure.ac: Added "uk" to ALL_LINGUAS.
2865 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2867 * cut-n-paste/zoom-control/ephy-zoom.c:
2868 (ephy_zoom_get_changed_zoom_level):
2869 * cut-n-paste/zoom-control/ephy-zoom.h:
2870 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2871 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2872 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2873 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2874 (zoom_control_changed_cb), (ev_window_init):
2876 Fix minor points related to moving best fit up. Introduce
2877 "zoom" property and make zoom control change it's value on
2878 notify::zoom signals. Fix for 305080.
2880 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2882 * data/evince-ui.xml:
2883 * shell/ev-window.c: (set_view_actions_sensitivity):
2885 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2887 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2891 Depends on poppler 0.3.2
2893 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2895 * cut-n-paste/recent-files/egg-recent-item.c:
2896 (egg_recent_item_get_short_name):
2897 * cut-n-paste/toolbar-editor/Makefile.am:
2898 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2899 (new_pixbuf_from_widget):
2900 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2901 * cut-n-paste/toolbar-editor/egg-marshal.c:
2902 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2903 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2907 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2909 * tiff/tiff-document.c: Rough TIFF backend.
2911 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2915 * cut-n-paste/toolbar-editor/Makefile.am:
2919 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2921 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2922 (ev_view_find_next), (ev_view_find_previous):
2924 Remove the locks around get_n_results
2926 2005-05-21 Juerg Billeter <j@bitron.ch>
2928 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2930 Pass correct number of pages to poppler.
2932 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2936 * data/evince.desktop.in:
2937 * data/evince.desktop.in.in:
2940 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2942 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2944 * shell/ev-view.c: (view_update_adjustments),
2945 (view_set_adjustment_values): cast adjustmen->value to (int)
2946 before using it. Otherwise, we get off by a pixel in some
2949 (draw_one_page): Draw the border on expose.
2951 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2953 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2954 adjustment when the mode changes, #304923
2956 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2958 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2959 flickering on resize but still use gdk_window_scroll on
2962 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2964 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2967 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2969 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2970 second page on page_changed if possible, #304669
2972 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2974 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2975 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2977 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2980 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2981 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2982 (ev_view_zoom_for_size_presentation),
2983 (ev_view_zoom_for_size_continuous_and_dual_page),
2984 (ev_view_zoom_for_size_continuous),
2985 (ev_view_zoom_for_size_dual_page),
2986 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2988 * shell/ev-window.c: (update_view_size),
2989 (ev_window_sizing_mode_changed_cb):
2991 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2992 the scrollbars. It's not 100% right, but it's much closer. Kills
2993 an infinite loop, #304769
2996 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2998 * data/evince-ui.xml:
2999 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3000 * shell/ev-window.c: (set_view_actions_sensitivity):
3002 Make PgUp/Down behave like Space
3004 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3006 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3007 * backend/ev-ps-exporter.h:
3008 * pdf/ev-poppler.cc:
3009 * ps/ps-document.c: (ps_document_ps_export_begin):
3010 * shell/ev-print-job.c: (idle_print_handler):
3012 Adapt to new poppler api
3014 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3016 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3017 (ephy_zoom_control_init):
3019 Translate zoom levels
3021 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3023 * cut-n-paste/zoom-control/ephy-zoom.c:
3024 (ephy_zoom_get_zoom_level_index):
3026 Fix current zoom -> zoom control match
3028 2005-05-18 James Bowes <bowes@cs.dal.ca>
3030 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3031 rather than the scrolled_window that it's in. Fixes bug #304655.
3033 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3035 * shell/ev-view.c: (view_update_adjustments),
3036 (view_set_adjustment_values), (view_update_range_and_current_page),
3037 (view_scroll_to_page), (set_scroll_adjustment),
3038 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3039 (ev_view_scroll), (ev_view_scroll_view),
3040 (ensure_rectangle_is_visible), (find_page_at_location),
3041 (get_link_at_location), (go_to_link), (status_message_from_link),
3042 (ev_view_size_request_continuous_dual_page),
3043 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3044 (ev_view_unrealize), (ev_view_expose_event),
3045 (ev_view_button_press_event), (ev_view_motion_notify_event),
3046 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3047 (draw_rubberband), (highlight_find_results), (draw_one_page),
3048 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3049 (ev_view_init), (find_changed_cb), (page_changed_cb),
3050 (on_adjustment_value_changed), (ev_view_new),
3051 (ev_view_set_document), (ev_view_set_zoom),
3052 (ev_view_set_continuous), (ev_view_set_dual_page),
3053 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3054 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3055 (ev_view_zoom_for_size_presentation),
3056 (ev_view_zoom_for_size_continuous_dual_page),
3057 (ev_view_zoom_for_size_continuous),
3058 (ev_view_zoom_for_size_dual_page),
3059 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3060 (ev_view_get_status), (ev_view_set_status),
3061 (update_find_status_message), (ev_view_get_find_status),
3062 (ev_view_set_find_status), (jump_to_find_result),
3063 (jump_to_find_page), (compute_selections), (clear_selection),
3064 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3065 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3066 (ev_view_update_primary_selection),
3067 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3069 * shell/ev-window.c: (ev_window_open_page_label),
3070 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3072 * shell/ev-window.h:
3073 * shell/main.c: (load_files):
3075 Massive code clean up from Nickolay Shmyrev. Keep page offset
3076 when resizing. Remove the bin_window(). Also, patch from James
3077 Bowes to fix command line page, #300641
3079 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3081 * data/evince-ui.xml:
3084 * shell/ev-window.c: (update_action_sensitivity):
3086 Get rid of View->Normal Size, it's just confusing
3088 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3090 * backend/ev-document-info.h:
3091 * backend/ev-document.c: (ev_document_info_free): Free the
3094 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3095 (clear_range), (add_range), (update_visible_range),
3096 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3097 (ev_sidebar_thumbnails_set_document):
3098 * shell/ev-window.c: (ev_window_setup_document): Only render the
3099 visible thumbnails. It takes an instant to render, but it uses
3102 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3104 * shell/ev-sidebar-links.c: (popup_menu_cb):
3108 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3111 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3112 (button_press_cb), (ev_sidebar_links_construct):
3114 Show the popup menu also on keybindings
3116 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3118 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3119 * shell/ev-window.h:
3121 Expose api to print a range (with dialog). Make private _print use
3124 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3125 (ev_sidebar_links_construct):
3127 Show a print context menu on linkx, it prints the selected
3130 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3132 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3135 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3141 * shell/ev-window.c: (build_comments_string),
3142 (ev_window_cmd_help_about):
3144 Show poppler version/backend and authors
3146 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3148 * cut-n-paste/zoom-control/ephy-zoom.c:
3149 (ephy_zoom_get_zoom_level_index):
3150 * cut-n-paste/zoom-control/ephy-zoom.h:
3152 Move the best fit items at the top of the list
3154 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3156 * shell/ev-marshal.list:
3157 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3158 (activate_cb), (match_selected_cb), (activate_link_cb),
3159 (connect_proxy), (ev_page_action_class_init):
3160 * shell/ev-page-action.h:
3162 Use signals to notify action activation. Hopefully
3163 I did not break completion since I cant test...
3165 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3166 (register_custom_actions):
3168 Connect to page selector actions and also grab focus on
3169 the view when activated.
3171 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3173 * pdf/ev-poppler.cc:
3174 * backend/ev-page-cache.c: make page size calculation consistent
3175 and set it to (int)( width * scale + 0.5). This makes the weird
3176 line going through the middle of the page go away.
3178 * shell/ev-view.c: move painting the background page after
3179 checking the expose area covers us.
3181 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3183 * data/evince-password.glade:
3185 Mark labels as not translatable. Fix for bug 302842.
3187 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3189 * configure.ac: Added "es" to ALL_LINGUAS.
3191 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3193 * data/evince-toolbar.xml:
3194 * shell/ev-window.c: (update_action_sensitivity),
3195 (ev_window_setup_document), (ev_window_set_page_mode),
3198 Remove some leftover code from jrb first continous
3199 attempt. Use the new actions, we still need good icons
3202 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3204 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3206 Update label when connecting proxy. Fix a warning with NULL
3209 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3211 * data/evince-ui.xml:
3212 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3213 * shell/ev-page-action.h:
3214 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3216 Add mnemonic for edit toolbar.
3217 ctrl+l focus the page entry.
3219 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3222 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3224 * shell/main.c: (main):
3226 Put the toolbar xml in evince own dot dir
3228 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3230 * shell/ev-window.c: (ev_window_init):
3232 Make the toolbar not removable
3234 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3236 * data/evince-ui.xml:
3237 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3238 * shell/ev-sidebar-links.h:
3239 * shell/ev-sidebar-thumbnails.c:
3240 (ev_sidebar_thumbnails_get_treeview):
3241 * shell/ev-sidebar-thumbnails.h:
3242 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3243 (ev_view_class_init):
3245 * shell/ev-window.c: (update_action_sensitivity),
3246 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3247 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3248 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3251 This is evil... Make space/backspace global accelerators but
3252 enable them only for some widgets (sidebars and view).
3253 I dont like it, but I dont know a better way... :/
3255 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3257 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3258 (ev_page_action_widget_finalize),
3259 (ev_page_action_widget_class_init), (update_page_cache):
3261 Keep a weak reference on proxy->page_cache so that we
3262 dont try to disconnect the signal if the object is already
3263 gone. Maybe there is a better way to cleanup reference handling
3264 in page action though...
3266 2005-05-10 Juerg Billeter <j@bitron.ch>
3268 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3269 * backend/ev-ps-exporter.h:
3270 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3271 * ps/ps-document.c: (ps_document_ps_export_begin):
3273 Change api to pass print range to ps_exporter_begin. The pdf backend
3274 requires this information.
3276 * shell/ev-print-job.c: (idle_print_handler):
3280 2005-05-10 Juerg Billeter <j@bitron.ch>
3282 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3283 (idle_print_handler)
3284 * shell/ev-window.c: (ev_window_print):
3286 Support printing page range, based on patch by Amaury Jacquot
3288 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3290 * data/evince-toolbar.xml:
3292 Add zoom control to available items
3294 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3296 * shell/ev-window.c: (update_action_sensitivity):
3298 Set slash action insensitive when appropriate
3300 2005-05-10 Christian Persch <chpe@gnome.org>
3302 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3304 Fix warning on the overflow menu
3306 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3308 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3310 Check for uri correctness/existence
3312 2005-05-09 Juerg Billeter <j@bitron.ch>
3314 * shell/ev-window.c: (using_postscript_printer):
3316 LPD printers use postscript, too
3318 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3320 * shell/ev-window.c: (register_custom_actions):
3322 The zoom one is actually sort of useful,
3325 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3327 * shell/ev-window.c: (register_custom_actions):
3329 Hide page/zoom controls from overflow, they
3332 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3334 * cut-n-paste/update-from-egg.sh:
3336 Share it between all cut-n-paste subdirs
3338 * cut-n-paste/recent-files/Makefile.am:
3340 Fix to use "global" update-from-egg.sh
3342 * cut-n-paste/recent-files/egg-recent-model.c:
3343 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3344 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3345 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3346 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3350 * cut-n-paste/toolbar-editor/Makefile.am:
3352 Fix to use "global" update-from-egg.sh
3354 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3358 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3361 * cut-n-paste/Makefile.am:
3362 * cut-n-paste/recent-files/Makefile.am:
3363 * cut-n-paste/toolbar-editor/.cvsignore:
3364 * cut-n-paste/toolbar-editor/Makefile.am:
3365 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3366 (egg_editable_toolbar_get_type), (get_toolbar_position),
3367 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3368 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3369 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3370 (set_item_drag_source), (create_item_from_action), (create_item),
3371 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3372 (popup_toolbar_context_menu_cb), (free_dragged_item),
3373 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3374 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3375 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3376 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3377 (item_added_cb), (item_removed_cb),
3378 (egg_editable_toolbar_construct),
3379 (egg_editable_toolbar_disconnect_model),
3380 (egg_editable_toolbar_deconstruct),
3381 (egg_editable_toolbar_set_model),
3382 (egg_editable_toolbar_set_ui_manager),
3383 (egg_editable_toolbar_set_property),
3384 (egg_editable_toolbar_get_property),
3385 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3386 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3387 (egg_editable_toolbar_new_with_model),
3388 (egg_editable_toolbar_get_edit_mode),
3389 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3390 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3391 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3392 (new_pixbuf_from_widget), (new_separator_pixbuf),
3393 (update_separator_image), (style_set_cb),
3394 (_egg_editable_toolbar_new_separator_image),
3395 (egg_editable_toolbar_get_model):
3396 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3397 * cut-n-paste/toolbar-editor/egg-marshal.c:
3398 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3399 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3400 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3401 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3402 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3403 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3404 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3405 (editor_drag_data_delete_cb), (drag_data_get_cb),
3406 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3407 (editor_create_item), (update_editor_sheet), (setup_editor),
3408 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3409 (parse_item_list), (model_has_action), (update_actions_list),
3410 (egg_toolbar_editor_load_actions):
3411 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3412 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3413 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3414 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3415 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3416 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3417 (egg_toolbars_model_add_separator), (impl_add_item),
3418 (parse_item_list), (egg_toolbars_model_add_toolbar),
3419 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3420 (impl_get_item_data), (impl_get_item_type),
3421 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3422 (egg_toolbars_model_init), (free_toolbar),
3423 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3424 (egg_toolbars_model_remove_toolbar),
3425 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3426 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3427 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3428 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3429 (egg_toolbars_model_get_item_data),
3430 (egg_toolbars_model_get_item_type):
3431 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3432 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3434 * data/evince-toolbar.xml:
3435 * data/evince-ui.xml:
3436 * data/hand-open.png:
3438 * shell/Makefile.am:
3439 * shell/ev-window.c: (update_chrome_visibility),
3440 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3441 (ev_window_dispose), (ev_window_init):
3443 Implement epiphany like toolbar editor. Based on patch by
3444 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3446 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3448 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3450 Use set_cursor instead of set_selection, so that
3451 the keyboard focus moves too.
3453 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3455 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3457 Fix infinite loop when loading Type1 fonts
3459 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3461 * data/evince-ui.xml:
3462 * shell/ev-window.c:
3466 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3470 Make --disable really disable
3472 2005-05-07 Juerg Billeter <j@bitron.ch>
3474 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3476 Compare page labels even without has_labels set, fixes setting page
3479 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3481 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3482 (ev_view_set_cursor), (ev_view_button_press_event),
3483 (ev_view_motion_notify_event), (ev_view_button_release_event),
3486 Implement middle button scrolling. Based on a patch
3487 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3489 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3491 * shell/ev-document-types.c: (get_slow_mime_type),
3492 (get_document_type_from_mime), (ev_document_type_lookup):
3493 * shell/ev-document-types.h:
3495 Change api to lookup from uri. Do fast lookup first, if the
3496 type is unknown try with data sniffing.
3498 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3499 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3503 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3505 * thumbnailer/Makefile.am:
3509 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3516 * data/evince-ui.xml:
3518 Hide presentation mode for now
3520 * shell/ev-view.c: (highlight_find_results):
3522 Show current find selection only on current page
3524 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3526 * shell/ev-view.c: (ev_view_select_all):
3528 Compute size of the actual page, not of
3531 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3533 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3534 (view_rect_to_doc_rect), (compute_selections),
3535 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3536 (ev_view_copy), (ev_view_primary_get_cb),
3537 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3538 (ev_view_button_press_event), (ev_view_motion_notify_event),
3539 (ev_view_button_release_event), (page_changed_cb):
3543 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3545 * shell/ev-view.c: (compute_border), (get_page_extents),
3546 (doc_rect_to_view_rect), (highlight_find_results),
3547 (ev_view_bin_expose), (ev_view_select_all),
3548 (ev_view_motion_notify_event), (update_find_status_message),
3549 (jump_to_find_result), (jump_to_find_page):
3551 First go at fixing search, still buggy
3553 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3555 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3556 dropdown box and button at the top of the sidebar.
3558 2005-05-02 James Bowes <bowes@cs.dal.ca>
3560 * configure.ac: Output zoom-control Makefile.
3561 * cut-n-paste/Makefile.am: build zoom-control subdir.
3562 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3563 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3564 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3565 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3566 * cut-n-paste/zoom-control/ephy-zoom.c:
3567 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3568 from epiphany, and modified to add a separator into the menu.
3569 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3570 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3571 zoom-control action.
3572 * shell/Makefile.am: Include zoom-control flags.
3573 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3574 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3575 (ev_view_zoom_for_size_presentation),
3576 (ev_view_zoom_for_size_continuous_and_dual_page),
3577 (ev_view_zoom_for_size_continuous),
3578 (ev_view_zoom_for_size_dual_page),
3579 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3580 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3581 ev_view_get_zoom and ev_view_get_sizing_mode.
3583 * shell/ev-window.c: (update_action_sensitivity),
3584 (update_sizing_buttons), (zoom_control_changed_cb),
3585 (register_custom_actions): Initialize and use the zoom-control
3588 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3590 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3591 preview cache back to 1. Don't know when it got set to 0.
3593 * shell/ev-view.c: (compute_border), (ev_view_realize),
3594 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3595 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3596 (ev_view_get_fullscreen), (ev_view_set_presentation),
3597 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3598 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3600 * shell/ev-window.c:
3601 (update_chrome_visibility),
3602 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3603 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3604 (update_document_mode), (ev_window_update_fullscreen_action),
3605 (ev_window_fullscreen), (ev_window_unfullscreen),
3606 (ev_window_cmd_view_fullscreen),
3607 (ev_window_update_presentation_action),
3608 (ev_window_run_presentation), (ev_window_stop_presentation),
3609 (ev_window_cmd_view_presentation), (ev_window_state_event),
3610 (ev_window_focus_in_event), (ev_window_focus_out_event),
3611 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3612 * data/evince-ui.xml: Initial presentation mode. We should
3613 probably hide this until it's done, as it's quite rough. Also,
3614 change full-screen to fullscreen and add two getters to EvView.
3616 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3618 * shell/ev-page-action.c: (update_page_cache),
3619 (ev_page_action_dispose):
3620 * shell/ev-window.c: (destroy_fullscreen_popup),
3621 (ev_window_create_fullscreen_popup):
3623 Use connect_object rather than explicitly
3624 disconnect on dispose.
3626 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3628 * shell/ev-page-action.c: (update_page_cache),
3629 (ev_page_action_dispose):
3631 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3633 * backend/ev-page-cache.c: (_ev_page_cache_new),
3634 (ev_page_cache_set_page_label),
3635 (ev_page_cache_has_nonnumeric_page_labels):
3636 * backend/ev-page-cache.h:
3637 * shell/ev-page-action.c: (update_pages_label):
3639 If all page labels are numeric, fallback to default
3640 way to display number of pages. See bug 173185.
3642 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3644 * shell/ev-page-action.c: (ev_page_action_dispose):
3645 * shell/ev-view.c: (view_update_range_and_current_page):
3646 * shell/ev-window.c: (ev_window_dispose):
3648 Set page on scroll in continuous mode. Fixes bug 301986.
3649 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3651 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3655 Require poppler 0.3.0
3657 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3659 * shell/Makefile.am, configure.ac: Fix build problems
3660 with t1lib. Bug 301996.
3662 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3664 * shell/ev-view.c: (ev_view_scroll_event):
3666 Scroll up increase zoom
3668 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3670 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3671 (ev_view_set_sizing_mode),
3672 (ev_view_zoom_for_size_continuous_and_dual_page),
3673 (ev_view_zoom_for_size_continuous):
3674 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3675 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3676 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3679 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3680 Fix for 165473 and 165472.
3682 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3685 * thumbnailer/Makefile.am:
3686 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3687 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3688 * thumbnailer/evince-thumbnailer.schemas.in:
3690 Make thumbnailer schemas translatable. Fix for bug 301773
3692 * thumbnailer/evince-thumbnailer-djvu.schemas:
3693 * thumbnailer/evince-thumbnailer-dvi.schemas:
3694 * thumbnailer/evince-thumbnailer.schemas:
3698 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3700 * shell/ev-view.c (ev_view_init): forgot to set this.
3702 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3704 * shell/ev-view.c: (find_page_at_location),
3705 (get_link_at_location),
3706 (ev_view_set_show_border), (ev_view_set_spacing),
3707 (ev_view_zoom_for_size_continuous_and_dual_page),
3708 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3709 Also, add a quick fix measuring of widths. Also, removed
3710 ev_view_set_spacing and ev_view_set_show_border.
3712 * shell/ev-window.c: (ev_window_unfullscreen),
3713 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3715 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3717 * shell/ev-view.c: (view_update_range_and_current_page),
3720 Fix crash on exit and scrolling to page in continuous view.
3722 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3725 * backend/ev-page-cache.c: (_ev_page_cache_new),
3726 (ev_page_cache_get_max_width_size),
3727 (ev_page_cache_get_max_height_size):
3728 * backend/ev-page-cache.h:
3729 * data/evince-ui.xml:
3730 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3731 * shell/ev-view.c: (view_update_adjustments),
3732 (view_update_range_and_current_page), (get_bounding_box_size),
3733 (ev_view_size_request_continuous_and_dual_page),
3734 (ev_view_size_request_continuous),
3735 (ev_view_size_request_dual_page),
3736 (ev_view_size_request_single_page), (ev_view_size_request),
3737 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3738 (ev_view_bin_expose), (ev_view_expose_event),
3739 (ev_view_set_property), (ev_view_get_property),
3740 (ev_view_class_init), (ev_view_init), (ev_view_new),
3741 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3742 (ev_view_set_dual_page), (ev_view_set_full_screen),
3743 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3744 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3745 (ev_view_zoom_out), (zoom_for_size_fit_width),
3746 (zoom_for_size_best_fit),
3747 (ev_view_zoom_for_size_continuous_and_dual_page),
3748 (ev_view_zoom_for_size_continuous),
3749 (ev_view_zoom_for_size_dual_page),
3750 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3751 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3753 * shell/ev-window.c: (update_action_sensitivity),
3754 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3755 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3756 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3757 (ev_window_cmd_view_zoom_out), (update_view_size),
3758 (ev_window_set_sizing_mode), (ev_window_init):
3760 Add Continuous and Dual page modes.
3762 2005-04-23 James Bowes <bowes@cs.dal.ca>
3764 * dvi/dvi-document.c: (dvi_document_load),
3765 (dvi_document_thumbnails_get_thumbnail),
3766 (dvi_document_init_params): Fix up some mixups between
3767 width and height to correct thumbnail rendering.
3769 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3771 * dvi/mdvi-lib/private.h:
3772 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3774 Suppess output for kpathsea during font generation. Thanks to
3777 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3784 * Makefile.am: fix distcheck.
3786 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3788 * shell/ev-sidebar-links.c: (selection_changed_callback),
3789 (update_page_callback), (row_activated_callback),
3790 (job_finished_callback), (ev_sidebar_links_set_document):
3792 Fix for bug #169901. Double click on links expands tree.
3794 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3796 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3797 hard-coded style. Fix for bug 170111
3799 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3801 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3804 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3806 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3808 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3810 * pdf/ev-poppler.cc:
3811 * shell/ev-view.c: (highlight_find_results):
3813 Fix find on single page documents
3815 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3817 * data/evince.schemas.in: fix for bug 301390
3819 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3821 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3822 (ev_view_zoom_out), (ev_view_zoom_normal):
3824 * shell/ev-window.c: (update_action_sensitivity),
3825 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3826 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3827 (ev_window_cmd_view_normal_size):
3829 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3830 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3833 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3837 Depend on 2.57, 2.59 doesnt seem to be necessary
3839 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3841 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3844 Put back total number of pages as (1 of 1234)
3846 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3848 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3851 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3852 function. This helps debugging.
3854 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3856 * djvu/djvu-document.c: (djvu_document_class_init),
3857 (djvu_document_get_info), (djvu_document_document_iface_init):
3858 * dvi/dvi-document.c: (dvi_document_class_init),
3859 (dvi_document_get_info), (dvi_document_document_iface_init):
3861 Dummy implementation of get_info method for dvi and djvu. Fix
3862 crashes with those backends
3864 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3866 * data/evince.desktop.in:
3868 Add application/x-gzpostscript
3870 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3872 * data/evince.schemas.in: Added real long descriptions,
3875 * README: Added actual text, closes bug 171869
3877 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3879 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3883 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3885 * backend/ev-document-info.h:
3887 s/GDate */GDate so we can just use g_free
3889 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3891 * shell/ev-window.c: (update_document_mode),
3892 (ev_window_setup_document):
3894 Show the window in fullscreen when specified by
3897 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3899 * backend/ev-document.c: (ev_document_class_init),
3900 (ev_document_get_info), (ev_document_render_pixbuf):
3901 * backend/ev-document.h:
3902 * backend/ev-page-cache.c: (_ev_page_cache_new):
3903 * pdf/ev-poppler.cc:
3904 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3905 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3906 * ps/ps-document.c: (ps_document_class_init), (document_load),
3907 (ps_document_get_info), (ps_document_document_iface_init):
3909 Remove get_title from the interface, we can just use document info
3911 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3913 * backend/Makefile.am:
3914 * backend/ev-document.c: (ev_document_render_get_info):
3915 * backend/ev-document.h:
3916 * pdf/ev-poppler.cc:
3918 Initial support for document info. Based on jrb patch.
3920 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3922 * shell/ev-window.c: (ev_window_state_event),
3923 (ev_window_class_init), (ev_window_init):
3925 Doesn't show resize grip when maximized. See bug #301053
3927 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3931 ev-sidebar-thumbnails now has translatable labels
3933 * shell/Makefile.am:
3934 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3935 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3936 (ev_sidebar_links_page_iface_init):
3937 * shell/ev-sidebar-links.h:
3938 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3939 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3940 (ev_sidebar_page_get_label):
3941 * shell/ev-sidebar-page.h:
3942 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3943 (ev_sidebar_thumbnails_set_document),
3944 (ev_sidebar_thumbnails_support_document),
3945 (ev_sidebar_thumbnails_get_label),
3946 (ev_sidebar_thumbnails_page_iface_init):
3947 * shell/ev-sidebar-thumbnails.h:
3948 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3949 (ev_sidebar_set_document):
3950 * shell/ev-sidebar.h:
3951 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3953 Small rework of sidebar code. Now sidebar pages should implement
3954 EvSidebarPage interface. That makes page management in EvSidebar
3955 easier. See bug #164811 for details
3957 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3959 * shell/ev-application.c: (ev_application_open):
3960 * shell/ev-document-types.c:
3962 Fix build error and small problem with application exit
3964 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3966 * thumbnailer/Makefile.am:
3967 * thumbnailer/evince-thumbnailer-djvu.schemas:
3968 * thumbnailer/evince-thumbnailer-dvi.schemas:
3970 Conditionally install schemas for djvu/dvi thumbnailer
3972 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3974 * shell/ev-document-types.h:
3975 * shell/ev-document-types.c:
3976 New files, handling the mapping from mimetypes to backends
3978 * shell/ev-window.c:
3979 * thumbnailer/evince-thumbnailer.c:
3980 Use the ev-document-types code
3982 * shell/Makefile.am:
3983 Added new convenience library libevbackendfactory_la, containing
3984 the new mimetype->backend logic; moved the backends into it.
3986 * thumbnailer/Makefile.am:
3987 Make the thumbnailer link with the libevbackend.la convenience
3988 library, rather than having a duplicate of the backend logic here.
3990 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3992 * shell/ev-stock-icons.c: constify some vars.
3993 * shell/ev-window.c: ditto.
3995 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3997 * ps/ps-document.c (get_page_orientation):
3999 Respect document orientation
4001 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4005 * shell/Makefile.am:
4007 Move library dependencies to components.
4009 * shell/ev-window.c: (update_window_title),
4010 (start_loading_document):
4012 Fix display of uris with spaces. Bug 168358.
4014 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4016 * shell/ev-sidebar-links.c: (selection_changed_cb):
4017 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4018 (ev_view_button_release_event), (ev_view_set_document):
4020 * shell/ev-window.c: (find_bar_search_changed_cb):
4021 * shell/ev-window.h: Minor cleanups removing some dead code.
4023 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4025 * backend/ev-page-cache.c: (_ev_page_cache_new):
4027 Set current page to 0 if document has pages.
4029 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4031 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4033 Initialize GError to NULL, fix a crash when loading fails.
4035 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4037 * shell/ev-window.c: (update_view_size):
4039 Calculate shadow size only when there is actually
4042 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4044 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4047 Allow setting view spacing, default to 0
4049 * shell/ev-window.c: (ev_window_unfullscreen),
4050 (ev_window_cmd_view_fullscreen), (ev_window_init):
4052 Remove spacing in fullscreen mode
4054 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4056 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4057 (ev_view_size_request), (expose_bin_window),
4058 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4060 * shell/ev-window.c: (ev_window_unfullscreen),
4061 (ev_window_cmd_view_fullscreen):
4063 Do not draw the border in fulscreen
4065 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4067 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4068 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4069 (find_page_at_location), (page_changed_cb):
4071 Rework border calculation, so that I can more easily disable it.
4072 Code somewhat cleaner too.
4074 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4076 * backend/ev-page-cache.c: (ev_page_cache_init),
4077 (_ev_page_cache_new):
4079 Remove some assertions, documents can have 0 pages.
4080 Make initial current page -1.
4082 * shell/ev-page-action.c: (page_changed_cb):
4084 Show "" if current page is -1
4086 * shell/ev-window.c: (update_action_sensitivity),
4087 (ev_window_setup_document):
4089 When document has 0 pages do not set the view
4090 and make nearly everything insensitive.
4092 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4094 * shell/ev-page-view.c:
4095 * shell/ev-page-view.h:
4097 Remove unused files.
4099 * shell/ev-sidebar-thumbnails.c:
4100 (ev_sidebar_thumbnails_set_document):
4101 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4102 (ev_sidebar_supports_document):
4103 * shell/ev-sidebar.h:
4104 * shell/ev-window.c: (ev_window_setup_document):
4106 Doesn't show thumbnails if document has 1 page. Make
4107 sidebar menu entries sensitive only if if they have
4108 sense. Fix bug 164811.
4110 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4112 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4113 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4114 (ev_view_zoom_out), (ev_view_set_size):
4116 Rework sizing to deal with documents with not uniform page
4119 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4121 * backend/ev-page-cache.c: (_ev_page_cache_new):
4123 Fix several page size caching bugs
4125 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4127 * shell/ev-window.c: (set_action_properties):
4129 Make all toolbar items translatable
4131 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4133 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4134 (save_page_list), (ps_document_save),
4135 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4136 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4137 (ps_document_ps_exporter_iface_init):
4140 Based on a patch by J�rg Billeter <j@bitron.ch>
4142 Implement print and save a copy for the ps backend.
4144 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4146 * backend/ev-document.h:
4147 * djvu/djvu-document.c: (djvu_document_can_get_text),
4148 (djvu_document_document_iface_init):
4149 * dvi/dvi-document.c: (dvi_document_can_get_text),
4150 (dvi_document_document_iface_init):
4151 * pdf/ev-poppler.cc:
4152 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4153 (pixbuf_document_document_iface_init):
4154 * ps/ps-document.c: (ps_document_can_get_text),
4155 (ps_document_document_iface_init):
4156 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4157 * shell/ev-window.c: (update_action_sensitivity):
4159 Fix the crash when trying to copy in backends that doesnt
4160 support it. We can implement a better solution once we
4161 do real text selection.
4163 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4165 * data/evince-ui.xml:
4166 * shell/ev-window.c: (ev_window_cmd_escape):
4168 Work around the Escape conflict (find bar and unfullscreen)
4170 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4172 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4174 Fix for #300233. Next page correctly handles document end.
4176 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4177 (ev_sidebar_thumbnails_class_init),
4178 (ev_sidebar_thumbnails_set_document),
4179 (ev_sidebar_thumbnails_clear_job),
4180 (ev_sidebar_thumbnails_clear_model):
4182 Cleanup thumbnail jobs on document changes.
4184 * shell/ev-view.c: (add_scroll_binding_keypad),
4185 (add_scroll_binding_shifted), (ev_view_class_init):
4187 Shift + Space scrolls up. Fix for #173184
4189 * shell/ev-window.c: (ev_window_open_page),
4190 (ev_window_cmd_view_reload):
4192 Fix reload (Bug #300094)
4194 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4197 * dvi/mdvi-lib/assoc.c:
4198 * dvi/mdvi-lib/assoc.h: Removed garbage files
4200 * dvi/mdvi-lib/bitmap.c:
4201 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4202 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4203 * dvi/mdvi-lib/color.h: Antialias of rules
4205 * dvi/mdvi-lib/common.h:
4206 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4207 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4208 * dvi/mdvi-lib/files.c:
4209 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4210 * dvi/mdvi-lib/mdvi.h:
4211 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4212 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4213 * dvi/mdvi-lib/util.c: Fix compile warnings
4215 * dvi/dvi-document.c:
4216 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4217 (dvi_document_thumbnails_get_thumbnail),
4218 (dvi_document_document_thumbnails_iface_init):
4219 * dvi/mdvi-lib/Makefile.am:
4220 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4221 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4223 Dvi backend now renders thumbnails
4225 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4227 * shell/main.c: (main):
4229 Save accelerators on exit. Fixes bug #172095.
4231 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4233 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4234 update priority" comment.
4236 * backend/ev-job-queue.c: Give a way to change priority.
4238 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4240 * shell/ev-page-action.c: Fix logic.
4242 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4244 * shell/ev-view.c: (ev_view_can_find_next):
4245 * shell/ev-window.c: (ev_window_setup_document):
4247 Check that the document supports find
4249 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4251 * data/evince-ui.xml:
4252 * shell/ev-view.c: (ev_view_can_find_next):
4254 * shell/ev-window.c: (update_action_sensitivity),
4255 (find_changed_cb), (ev_window_setup_document),
4256 (ev_window_cmd_edit_find_next):
4260 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4262 * pdf/ev-poppler.cc:
4263 * shell/ev-print-job.c: (idle_print_handler):
4265 Make printing work again
4267 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4269 * shell/ev-page-action.h:
4270 * shell/ev-page-action.c: (ev_page_action_widget_init),
4271 (ev_page_action_widget_class_init), (page_changed_cb),
4272 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4273 (get_filter_model_from_model), (match_selected_cb),
4274 (display_completion_text), (match_completion), (update_model),
4275 (connect_proxy), (ev_page_action_set_property),
4276 (ev_page_action_get_property), (ev_page_action_set_document),
4277 (ev_page_action_set_model), (ev_page_action_class_init): Big
4278 reworking to make completions work iff we have >= GTK-2.7.0
4280 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4281 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4282 (job_finished_cb): We now have a 'model' property that is set when
4283 the links are loaded. This can be caught with "notify::model"
4285 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4286 listen for the model to be set, and propagate it to the action.
4288 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4290 * cut-n-paste/recent-files/egg-recent-item.c:
4291 (egg_recent_item_set_uri), (make_valid_utf8),
4292 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4293 * cut-n-paste/recent-files/egg-recent-item.h:
4295 Update egg-recent from libegg. This should fix long
4296 startup problem. For details see
4297 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4299 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4301 * cut-n-paste/recent-files/Makefile.am:
4302 * data/evince-ui.xml, shell/Makefile.am:
4303 * shell/ev-application.c, shell/ev-application.h:
4304 * shell/ev-window.c: Recent files support.
4306 * configure.ac: Added "ru" to ALL_LINGUAS.
4308 * dvju: new backend to support DJVU files.
4309 * dvi: new backend to support DVI.
4311 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4312 * ev-application.c: Support for new backends.
4314 * help, ev-window.c, main.c shell/Makefile.am:
4315 Evince user documentation.
4317 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4320 * shell/ev-window.c:
4321 * thumbnailer/evince-thumbnailer.c:
4323 s/pdf-document/ev-poppler
4325 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4332 * ps/ps-document.c: (setup_pixmap):
4336 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4338 * backend/ev-page-cache.c (ev_page_cache_next_page):
4339 * shell/ev-window.c (ev_window_cmd_go_next_page)
4340 (ev_window_cmd_go_first_page): Fix of by one errors.
4342 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4344 * ps/ps-document.c: (get_page_box):
4346 Fix page size calculation
4348 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4350 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4351 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4352 (get_page_orientation), (setup_page), (document_load),
4353 (ps_document_get_page_size), (render_pixbuf_idle):
4356 More refactoring to adapt to EvDocument changes
4358 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4360 * ps/ps-document.c: (start_interpreter):
4362 Actually add alpha args
4364 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4366 * pdf/ev-poppler.cc:
4368 Make clipboard work again
4370 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4372 Make searching work again.
4374 * backend/ev-document.c:
4375 * backend/ev-document.h:
4376 * backend/ev-document-find.c:
4377 * backend/ev-document-find.h: Change EvDocumentIface so we no
4378 longer store the current page or zoom level in the document. The
4379 consequence is that all calls that operate on the current page now
4380 instead take the page number as an extra argument, and all
4381 coordinates are now doubles in document coordinate system.
4383 * pdf/ev-poppler.cc:
4384 * pixbuf/pixbuf-document.c:
4385 * ps/ps-document.c: Update backends accordingly.
4387 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4391 Add required gettext version
4393 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4395 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4396 make F1 bring up non-existent help.
4398 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4399 epiphany's find bar, #167477
4401 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4402 <emil@nishra.com> to add space-bar scrolling,
4404 * shell/ev-window.c (static GtkActionEntry entries): add default
4405 keybinding for Help (F1)
4408 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4409 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4412 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4415 * pixbuf/pixbuf-document.c:
4417 Got pixbuf backend working again
4419 2005-04-01 Steve Murphy <murf@e-tools.com>
4421 * configure.in: Added "rw" to ALL_LINGUAS.
4423 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4425 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4426 model types, noticed by Martin Kretzschmar.
4428 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4430 * pdf/ev-poppler.cc: Implement search based on
4431 poppler_page_find_text(). Currently a bit crude since we remember
4432 all matches from all pages. Also, we grab the big document lock
4433 when we search since searching changes the underlying stream and
4434 thus conflicts with the rendering thread.
4436 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4437 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4438 (ev_view_find_previous): Fix some page indexes to be 0 based,
4439 offset rubber band by view offset,
4441 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4443 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4445 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4447 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4448 completely because I didn't understand GtkActions. I should
4449 read Marco's code more carefully in the future.
4451 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4454 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4456 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4457 PopplerRectangle change from poppler CVS.
4459 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4461 * backend/ev-document.c: (ev_document_get_page_label):
4462 * backend/ev-document.h:
4463 * backend/ev-page-cache.c: (_ev_page_cache_new),
4464 (ev_page_cache_get_page_label):
4465 * backend/ev-page-cache.h:
4466 * pdf/ev-poppler.cc:
4467 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4468 (links_page_num_func):
4469 * shell/ev-sidebar-thumbnails.c:
4470 (ev_sidebar_thumbnails_set_document):
4471 * shell/ev-view.c: (status_message_from_link),
4472 (ev_view_motion_notify_event):
4473 * shell/ev-window.c: (document_supports_sidebar): Add in page
4474 label support. It's not perfect yet, but it's the first 'feature'
4476 Also, fix a bogus comment noticed by crispin.
4478 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4480 * Makefile.am: Remove pixbuf backend for now
4482 * configure.ac: Require poppler-glib instead of just poppler.
4484 * backend/ev-document-thumbnails.h: Add a comment
4486 * backend/ev-document.h:
4487 * backend/ev-document.c: (ev_document_class_init),
4488 (ev_document_load), (ev_document_get_link),
4489 (ev_document_get_links): Remove 3 methods and add get_links.
4492 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4493 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4495 * backend/ev-link.c: (ev_link_set_title),
4496 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4497 (ev_link_mapping_find):
4498 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4500 * backend/ev-page-cache.c: (ev_page_cache_init),
4501 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4502 (ev_page_cache_get_size), (ev_page_cache_next_page),
4503 (ev_page_cache_prev_page): Fix to be 0 based.
4507 * pdf/ev-poppler.cc: New backend.
4509 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4510 (ps_document_get_page), (ps_document_document_iface_init):
4512 * shell/ev-pixbuf-cache.h:
4513 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4514 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4515 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4516 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4517 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4518 Fix up code to grab a page cache per each doc. Also, fix to be 0
4521 * shell/ev-sidebar-thumbnails.c:
4522 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4523 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4525 * shell/ev-view.c: (status_message_from_link),
4526 (find_page_at_location), (get_link_at_location),
4527 (ev_view_motion_notify_event), (ev_view_button_release_event),
4528 (ev_view_init): Use the new link code. Fix to be 0 based.
4530 * shell/ev-window.c: (update_action_sensitivity),
4531 (document_supports_sidebar): 0 based.
4533 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4535 * pdf/pdf-document.cc: Patch from Fernando Herrera
4536 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4539 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4541 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4542 1 to the page, as this seems to be 1 based. I thought we has this
4545 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4548 * backend/Makefile.am:
4549 * backend/ev-document-links.c:
4550 (ev_document_links_has_document_links),
4551 (ev_document_links_get_links_model):
4552 * backend/ev-document-links.h:
4553 * backend/ev-document.c: (ev_document_get_page_cache),
4554 (ev_document_get_doc_mutex), (ev_document_load),
4555 (ev_document_save), (ev_document_get_title),
4556 (ev_document_get_n_pages), (ev_document_set_page),
4557 (ev_document_get_page), (ev_document_set_target),
4558 (ev_document_set_scale), (ev_document_set_page_offset),
4559 (ev_document_get_page_size), (ev_document_get_text),
4560 (ev_document_get_link), (ev_document_render),
4561 (ev_document_render_pixbuf), (ev_document_scale_changed):
4562 * backend/ev-document.h:
4563 * backend/ev-job-queue.c: (remove_object_from_queue),
4564 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4565 (no_jobs_available_unlocked), (ev_render_thread),
4566 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4567 (ev_job_queue_remove_job):
4568 * backend/ev-job-queue.h:
4569 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4570 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4571 (ev_job_links_class_init), (ev_job_render_init),
4572 (ev_job_render_dispose), (ev_job_render_class_init),
4573 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4574 (ev_job_thumbnail_class_init), (ev_job_finished),
4575 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4576 (ev_job_render_run), (ev_job_thumbnail_new),
4577 (ev_job_thumbnail_run):
4578 * backend/ev-jobs.h:
4579 * backend/ev-link.c:
4580 * backend/ev-link.h:
4581 * backend/ev-page-cache.c: (ev_page_cache_init),
4582 (ev_page_cache_class_init), (ev_page_cache_finalize),
4583 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4584 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4585 (ev_page_cache_set_link), (ev_page_cache_get_title),
4586 (ev_page_cache_get_size), (ev_page_cache_next_page),
4587 (ev_page_cache_prev_page):
4588 * backend/ev-page-cache.h:
4589 * pdf/pdf-document.cc:
4592 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4593 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4594 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4595 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4596 (is_interpreter_ready), (output), (catchPipe), (input),
4597 (start_interpreter), (check_filecompressed), (compute_dimensions),
4598 (ps_document_enable_interpreter), (document_load),
4599 (ps_document_next_page), (render_page), (ps_document_set_page),
4600 (ps_document_set_scale), (render_pixbuf_idle),
4601 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4603 * shell/Makefile.am:
4604 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4605 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4606 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4607 (ev_pixbuf_cache_new), (job_finished_cb),
4608 (check_job_size_and_unref), (move_one_job),
4609 (ev_pixbuf_cache_update_range), (find_job_cache),
4610 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4611 (ev_pixbuf_cache_add_jobs_if_needed),
4612 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4613 * shell/ev-pixbuf-cache.h:
4614 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4615 (idle_print_handler):
4616 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4617 (selection_changed_cb), (create_loading_model),
4618 (ev_sidebar_links_construct), (links_page_num_func),
4619 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4620 (update_page_callback), (job_finished_cb),
4621 (ev_sidebar_links_set_document):
4622 * shell/ev-sidebar-thumbnails.c:
4623 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4624 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4625 (page_changed_cb), (thumbnail_job_completed_callback),
4626 (ev_sidebar_thumbnails_set_document):
4627 * shell/ev-sidebar-thumbnails.h:
4628 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4629 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4630 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4631 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4632 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4633 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4634 (ev_view_button_release_event), (ev_view_scroll_view),
4635 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4636 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4637 (ev_view_new), (job_finished_cb), (page_changed_cb),
4638 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4639 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4640 (ev_view_find_previous):
4642 * shell/ev-window.c: (update_action_sensitivity),
4643 (ev_window_open_page), (update_window_title), (update_total_pages),
4644 (page_changed_cb), (ev_window_setup_document),
4645 (password_dialog_response), (ev_window_cmd_save_as),
4646 (ev_window_print), (ev_window_cmd_go_previous_page),
4647 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4648 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4649 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4650 * shell/main.c: (main):
4652 Merge evince-threads branch
4654 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4656 * configure.ac: Added "lt" to ALL_LINGUAS.
4658 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4665 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4667 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4669 Fix here also the thumbnails 1-basedness :)
4671 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4678 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4680 * pdf/pdf-document.cc:
4681 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4682 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4684 Fix the mess we did with thumbnails and 1-basedness
4686 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4688 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4690 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4697 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4700 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4701 (gtk_gs_defaults_get_alpha_parameters),
4702 (gtk_gs_defaults_get_ungzip_cmd),
4703 (gtk_gs_defaults_get_unbzip2_cmd):
4705 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4706 (ps_document_get_orientation), (document_load),
4707 (ps_document_goto_page), (ps_document_set_page_size):
4710 Some more sanitization of the ps backend. Remove a lot
4711 of unused code and do not base our defaults on ggv
4714 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4716 * thumbnailer/evince-thumbnailer.schemas:
4717 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4718 (main): add -s option for thumbnail size.
4720 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4724 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4727 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4729 * pdf/pdf-document.cc:
4731 Remove 4 pixels of useless border from the
4734 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4736 * backend/ev-document-thumbnails.c:
4737 (ev_document_thumbnails_get_thumbnail):
4738 * backend/ev-document-thumbnails.h:
4740 Rework API a bit. Add a border flag and
4741 change sizing logic (now the size we specify
4742 applies to the bigger dimension).
4744 * pdf/pdf-document.cc:
4745 * pixbuf/pixbuf-document.c:
4746 (pixbuf_document_thumbnails_get_thumbnail):
4747 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4748 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4750 Adapt to the new API and do not draw a border for nautilus
4753 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4755 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4756 take thumbnails from page "0" instead of "1". Added a copyright header.
4758 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4760 * ps/ps-document.c: (set_up_page), (start_interpreter):
4762 Make it C89 compliant
4764 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4769 * pdf/pdf-document.cc:
4770 * thumbnailer/Makefile.am:
4771 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4773 * thumbnailer/evince-thumbnailer.schemas:
4774 * thumbnailer/pdf-icon.png:
4776 Add a nautilus thumbnailer.
4777 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4779 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4787 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4789 Use poppler instead of including xpdf source code. Poppler is a
4790 fork of xpdf to build it as a shared library. See
4791 http://freedesktop.org/wiki/Software/poppler.
4793 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4796 * pdf/Makefile.am: Build libpdfdocument.a here.
4798 * pdf/GDKSplashOutputDev.cc:
4799 * pdf/GDKSplashOutputDev.h:
4800 * pdf/GnomeVFSStream.cc:
4801 * pdf/GnomeVFSStream.h:
4804 * test-gdk-output-dev.cc
4806 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4809 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4811 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4813 Clear idle stack before unsetting the document
4815 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4817 * ps/ps-document.c: (ps_document_widget_event),
4818 (ps_document_set_target), (ps_document_finalize),
4819 (ps_document_get_page):
4821 Disconnect the widget event signal on finalize.
4824 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4826 * ps/ps-document.c: (set_up_page):
4828 If there is no bpixmap create one, even if size
4831 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4833 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4834 (set_up_page), (document_load), (ps_document_set_zoom):
4836 Default page is 0. Calculate size even when we have no
4839 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4841 * shell/ev-sidebar.c: expand the selection widget to be always as
4844 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4846 * shell/ev-sidebar-thumbnails.c:
4847 (ev_sidebar_thumbnails_set_document):
4849 Clear the list store when setting document
4851 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4853 * shell/ev-page-action.c: (update_entry), (sync_entry),
4854 (activate_cb), (entry_size_request_cb), (create_tool_item),
4857 Use an entry for the page control instead of spinbuttons
4859 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4861 * data/evince.schemas.in:
4863 Correct confusing string
4865 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4867 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4868 for real. Gosh, how long has this been broken.
4870 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4871 check for a NULL link. We crash otherwise.
4873 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4880 2005-02-25 Sebastien Bacher <seb128@debian.org>
4882 * configure.ac: add the french translation.
4884 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4886 * shell/ev-window.c:
4888 Remove unused header -> fix distcheck
4890 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4892 * shell/ev-window.c: (update_window_title),
4893 (ev_window_popup_password_dialog):
4895 Unescape filename for display
4897 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4899 * pdf/xpdf/pdf-document.cc:
4901 In get_page_size deal with rotation. Also
4902 cleanup the function a bit.
4904 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4906 * pdf/xpdf/pdf-document.cc:
4908 Fix crash when opening in new window
4910 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4914 Check ghostscript >= 7
4916 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4918 * shell/ev-window.c:
4920 Make page width the default sizing mode
4922 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4923 Marco Pesenti Gritti <marco@gnome.org>
4925 * shell/ev-window.c: Remember the sidebar size
4927 * data/evince.schemas.in: Add a new gconf key to store the size of
4930 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4932 * data/evince-ui.xml:
4933 * shell/ev-window.c: (update_action_sensitivity),
4934 (ev_window_cmd_view_reload):
4936 Add a "Reload" action and menu entry
4938 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4940 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4941 iff the type doesn't support thumbnailing and indexing.
4943 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4945 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4947 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4949 * pdf/splash/Splash.cc:
4951 Port fix for a crasher from kde bug
4952 http://bugs.kde.org/show_bug.cgi?id=97131
4954 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4956 * pdf/xpdf/pdf-document.cc:
4958 Return a link even if it's of an unrecognized
4959 type. Otherwise we go in an infinte cycle.
4961 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4963 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4964 (size_allocate_cb), (ev_window_set_sizing_mode):
4966 Update size when switching mode
4968 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4970 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4971 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4972 (ev_window_cmd_view_normal_size):
4974 Fix size toggle buttons behavior
4976 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4978 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4979 (doc_rect_to_view_rect), (ev_view_size_allocate),
4980 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4981 (scale_changed_callback):
4983 Do not cache offsets in size_allocate.
4985 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4987 * shell/ev-view.c: (ev_view_size_allocate):
4989 Calculate offsets before calling the parent
4990 class (which does a redraw)
4992 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4994 * pdf/xpdf/pdf-document.cc:
4996 Fix a crasher on exit. Unused code, put a TODO
4998 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5000 * backend/ev-document.c: (ev_document_class_init),
5001 (ev_document_page_changed), (ev_document_scale_changed):
5002 * backend/ev-document.h:
5004 Separate page/scale notifications
5006 * pdf/xpdf/pdf-document.cc:
5008 Emit the new signals.
5009 Do not display the pdf page in _render, do it
5010 when scale/page are requested.
5012 * ps/ps-document.c: (ps_document_set_zoom),
5013 (ps_document_widget_event):
5016 Emit the new signals.
5018 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5019 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5020 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5021 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5023 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5024 (ev_window_cmd_view_page_width), (size_allocate_cb),
5025 (ev_window_set_sizing_mode):
5027 Rework sizing to be pixel based.
5028 There are bugs but should be already way better.
5030 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5032 * shell/ev-window.c: (ev_window_init):
5034 Do not allow to shrink sidebar smaller then
5037 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5039 * shell/ev-sidebar.[ch]
5040 * shell/ev-window.c:
5042 Improved sidebar widget. Fixes #166683
5044 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5046 * shell/ev-view.c (update_find_status_message): Give translators
5047 more flexibility with ngettext plural handling.
5049 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5051 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5052 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5053 page when we get the page size.
5055 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5057 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5059 ps pages are 0 based, convert
5061 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5063 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5065 Initialize correct parent class. Set GError on document load
5067 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5069 * pdf/xpdf/pdf-document.cc:
5071 Fixup selection offset calculation
5073 * shell/ev-view.c: (view_rect_to_doc_rect),
5074 (doc_rect_to_view_rect), (ev_view_size_allocate),
5075 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5076 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5078 Store selection as document relative, so that zooming
5079 and offset changing doesnt break it.
5081 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5083 * shell/ev-view.c: (ev_view_best_fit):
5085 Do not try to best fit if the view is not realized
5087 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5089 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5091 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5093 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5095 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5097 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5098 the popup window. That prevents it resizing when in full screen
5101 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5102 multiple rerenders. This pretty much sucks.
5104 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5105 rest of the toolbar.
5107 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5109 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5111 2005-02-17 Alexander Shopov <ash@contact.bg>
5113 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5115 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5117 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5119 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5121 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5122 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5123 (set_document_page), (document_changed_callback),
5124 (ev_view_set_document), (ev_view_find_previous),
5125 (ev_view_hide_cursor), (ev_view_show_cursor):
5127 * shell/ev-window.c: (update_chrome_visibility),
5128 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5129 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5130 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5131 (ev_window_unfullscreen):
5132 * shell/main.c: (main):
5134 Automatically hide the fullscreen button.
5135 Patch by Kristian Høgsberg <krh@redhat.com>
5137 2005-02-16 Vincent Noel <vnoel@cox.net>
5139 * shell/main.c (main): Specify an icon for the window. Patch by
5140 Jaap A. Haitsma. Fixes #166177.
5142 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5144 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5146 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5148 * backend/ev-document-misc.h:
5149 * backend/ev-document-misc.c:
5150 (ev_document_misc_get_page_border_size),
5151 (ev_document_misc_paint_one_page): New function to canonicalize
5152 sizing/painting a border.
5154 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5157 * pdf/xpdf/pdf-document.cc: use new function
5159 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5160 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5161 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5162 shell/ev-window.c: (update_sizing_buttons),
5163 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5164 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5165 (ev_window_cmd_view_page_width), (size_allocate_cb),
5166 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5167 and "fit width" values act as toggle buttons so they stay
5168 toggled. It's not 100% perfect, and it's a little slow, but it's
5169 good enough to commit I think.
5171 2005-02-15 David Lodge <dave@cirt.net>
5173 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5175 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5177 * shell/ev-window.c (update_window_title): replace newlines in
5178 the title by spaces. Bug #166107.
5180 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5182 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5183 parameters providing allocation width and height without
5184 scrollbars and width of a possible vertical scrollbar. With this
5185 additional information the functions can work as
5186 intended. Unfortunately they're not idempotent. We should
5187 transform these commands to toggles. Fixes Bug #164976
5188 Initial patch by Stephane Loeuillet, then heavily modified.
5190 * shell/ev-view.h: update prototypes.
5192 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5193 (ev_window_cmd_view_page_width): provide EvView fit functions with
5194 all the information they need. Formulas to calculate this
5195 information taken from GtkScrolledWindow.
5197 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5199 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5200 created a thumbnail, the list store is updated to know
5201 that the thumbnail is set. Fixes bug #166792
5203 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5205 * shell/ev-window.c: fixed typo, closes bug 166897
5207 * TODO: updated TODO with bug numbers that are relevant
5209 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5211 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5213 2005-02-09 Vincent Noel <vnoel@cox.net>
5215 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5216 and "Next" toolbar buttons as important to make them stand out.
5218 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5222 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5223 (start_interpreter), (stop_interpreter), (document_load),
5224 (ps_document_next_page), (ps_document_goto_page),
5225 (ps_document_set_page_size), (ps_document_widget_event),
5226 (ps_document_render):
5227 * shell/ev-page-view.c: (ev_page_view_dispose):
5228 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5230 Fix compilation on non-gcc platforms
5232 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5239 * pdf/xpdf/Catalog.cc:
5242 Fix the fix for CAN-2004-0888
5244 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5247 * data/evince-ui.xml:
5248 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5249 * shell/ev-stock-icons.h:
5250 * shell/ev-window.c: (update_action_sensitivity),
5251 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5252 (set_action_properties):
5254 Improve toolbar layout/icons
5256 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5258 * pdf/xpdf/pdf-document.cc:
5260 Add warnings about unimplemented/unknown link
5263 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5265 * ps/ps-document.c: (set_up_page):
5269 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5271 * ps/ps-document.c: (start_interpreter):
5275 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5277 * shell/ev-page-view.c: (ev_page_view_dispose):
5278 * shell/ev-view.c: (ev_view_finalize):
5279 * shell/ev-window.c: (ev_window_setup_document),
5280 (ev_window_dispose), (ev_window_init):
5282 Solve more refs issues.
5284 I commented out the page_view initialization for now:
5285 it was never destroyed (because it's never added
5286 to a container). Because of that we was leaking
5287 gs processes. Couldnt think to a clean fix.
5288 We need to figure this out, password view has the
5289 same issue probably.
5291 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5293 * ps/ps-document.c: (ps_document_finalize),
5294 (ps_document_get_n_pages), (ps_document_get_page):
5296 Some cleanups, stop the interpreter on finalize
5298 * shell/ev-page-view.c: (ev_page_view_dispose),
5299 (ev_page_view_class_init):
5301 Release our reference on the document
5303 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5307 * doc/debugging.txt:
5310 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5311 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5312 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5315 Add debugging helpers
5318 * ps/ps-document.c: (set_up_page), (start_interpreter),
5319 (stop_interpreter), (document_load), (ps_document_next_page),
5320 (ps_document_goto_page), (ps_document_set_page_size),
5321 (ps_document_widget_event), (ps_document_render):
5322 * shell/Makefile.am:
5323 * shell/ev-view.c: (expose_bin_window):
5324 * shell/main.c: (main):
5328 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5330 * ps/ps-document.c: (ps_document_widget_event):
5332 Initialize message_window, this should make ps
5333 rendering really work! (Never noticed because I was
5334 testing with a ps that is causing gs to exit every time!)
5336 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5338 * data/evince.schemas.in: updated simple error in applyto closing tag
5340 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5346 * data/evince-ui.xml:
5347 A data/evince.schemas.in:
5349 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5350 * shell/ev-stock-icons.h:
5351 * shell/ev-window.c: (update_chrome_visibility),
5352 (update_chrome_flag), (ev_window_cmd_edit_find),
5353 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5354 (ev_window_unfullscreen), (ev_window_focus_in_event),
5355 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5356 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5357 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5358 (ev_window_dispose), (ev_window_class_init),
5359 (set_action_properties), (set_chrome_actions), (load_chrome),
5362 Implement fullscreen mode changes from bug #164776.
5363 Also implement persistent chrome toggles.
5365 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5367 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5369 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5375 Add another check for find interface
5379 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5381 * shell/ev-application.c: (ev_application_open):
5382 * shell/ev-window.c: (ev_window_open):
5384 Open gzipped ps documents
5386 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5389 * shell/ev-view.c: (set_document_page):
5391 Clamp page number, dont try to move to
5394 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5396 * backend/ev-document-find.c: (ev_document_find_changed):
5397 * backend/ev-document-find.h:
5398 * pdf/xpdf/pdf-document.cc:
5399 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5400 * shell/ev-window.c: (find_bar_search_changed_cb):
5402 Fix several bugs with find
5404 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5406 * shell/ev-sidebar-thumbnails.c
5407 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5408 document. Prevents warning from scroll_to_cell.
5410 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5412 * configure.ac: Add «nb» to ALL_LINGUAS too.
5414 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5416 * NOTES: New file with some random thoughts.
5420 * backend/ev-document-misc.c:
5421 (ev_document_misc_get_page_border_size): New function to
5422 canonicalize shadow drawing sizes. Possibly goofy.
5424 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5425 (ev_view_best_fit), (ev_view_fit_width):
5426 * pdf/xpdf/pdf-document.cc:
5427 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5428 * ps/ps-document.c: (ps_document_get_page_size):
5429 * backend/ev-document-misc.h:
5430 * backend/ev-document.c: (ev_document_get_page_size):
5431 * backend/ev-document.h: get_page_size now takes a page number
5432 parameter. Made all the backends/frontends honor it.
5434 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5435 see. Doesn't work yet.
5437 * shell/Makefile.am:
5438 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5439 Doesn't do anything yet.
5441 * shell/ev-sidebar-thumbnails.c:
5442 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5445 * shell/ev-window.c: (update_action_sensitivity),
5446 (ev_window_setup_document), (ev_window_set_page_mode),
5447 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5448 view-swapping code a bit so we can have multiple views on a
5449 document. Add the multi-page view, though it can't be turned on
5452 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5454 * shell/ev-application.c: (ev_application_open):
5455 * shell/ev-view.c: (expose_bin_window):
5456 * shell/ev-window.c: (ev_window_open):
5458 Support eps and check document supports find
5459 before drawing highlightings in expose.
5461 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5463 * pixbuf/pixbuf-document.c:
5464 (pixbuf_document_thumbnails_get_dimensions),
5465 (pixbuf_document_document_thumbnails_iface_init):
5467 implement get_dimensions
5469 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5476 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5478 * shell/ev-view.c: (set_document_page):
5480 Scroll at the top of the page when changing page
5482 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5484 * shell/ev-view.c: (ev_view_motion_notify_event):
5486 Do not redraw unnecessarily
5488 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5490 * pdf/xpdf/pdf-document.cc:
5491 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5492 (expose_bin_window), (find_changed_cb):
5494 Yay! find works now... Now to find bugs...
5496 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5498 * backend/ev-document-find.c: (ev_document_find_base_init),
5499 (ev_document_find_changed):
5500 * backend/ev-document-find.h:
5501 * pdf/xpdf/pdf-document.cc:
5502 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5503 (expose_bin_window), (ev_view_init), (set_document_page),
5504 (ensure_rectangle_is_visible), (jump_to_find_result),
5505 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5506 (ev_view_find_next), (ev_view_find_previous):
5508 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5510 More work on find implementation, mostly there now
5512 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5514 * backend/ev-backend-marshalers.list:
5515 * backend/ev-document-find.c: (ev_document_find_base_init),
5516 (ev_document_find_cancel), (ev_document_find_page_has_results),
5517 (ev_document_find_get_n_results), (ev_document_find_get_result),
5518 (ev_document_find_get_progress), (ev_document_find_changed):
5519 * backend/ev-document-find.h:
5521 Enanche the find interface to be really able to do
5524 * pdf/xpdf/pdf-document.cc:
5528 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5529 (expose_bin_window), (ev_view_init),
5530 (ev_view_get_find_status_message), (find_changed_cb),
5531 (ev_view_set_document), (set_document_page):
5533 Adapt to the new interface. A few things are regressed sorry,
5534 I will finish it soon.
5536 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5538 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5539 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5540 ev_sidebar_thumbnails_parent_class variable, don't define another
5541 parent_class variable.
5543 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5544 (ev_page_action_class_init): ditto.
5546 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5547 (pixbuf_document_class_init): ditto.
5549 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5552 * .cvsignore: ignore various valgrind output files.
5554 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5556 * data/evince-ui.xml:
5557 * shell/Makefile.am:
5558 * shell/ev-history.c:
5559 * shell/ev-history.h:
5560 * shell/ev-navigation-action.c:
5561 * shell/ev-navigation-action.h:
5562 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5563 (ev_view_set_page), (ev_view_fit_width):
5565 * shell/ev-window.c: (update_action_sensitivity),
5566 (ev_window_setup_document), (register_custom_actions):
5568 Kill session history
5570 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5572 * shell/ev-window.c: (update_action_sensitivity):
5574 Fix inverted up/down buttons
5576 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5578 * shell/ev-sidebar-thumbnails.c
5579 (ev_sidebar_thumbnails_select_page): make sure the selected
5580 thumbnail stays visible.
5582 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5584 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5585 scrolled window for Federico.
5587 2005-01-26 Ole Laursen <olau@hardworking.dk>
5589 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5591 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5594 * pdf/splash/SplashFTFontEngine.cc:
5596 Fix CID fonts with freetype 2.1.9
5598 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5600 * TODO: added item for desktop icon thumbnailer
5602 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5604 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5605 unloaded docs when the title is accessed.
5607 * shell/ev-password-view.[hc]: New widget for displaying password
5610 * shell/ev-window.[ch]: Refactor password handling code to handle
5613 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5621 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5623 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5624 ignore page offset here, to make search results independent of it,
5626 * shell/ev-view.c (expose_bin_window): but take offsets into
5627 account here. Bug #164932
5629 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5630 scale at the right time. Bug #164996
5632 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5634 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5635 fix the problem. Now I just removed the Adobe font names and hope
5636 that the URW fonts are always in outline format. Bug #164934
5638 * shell/ev-window.c (update_window_title): empty titles are
5639 useless, use filename in that case too.
5641 * NEWS: Add some content.
5643 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5645 * TODO: added one more TODO item and a TODONE section :)
5647 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5649 * ps/ps-document.h: add page_[xy]_offset fields.
5651 * ps/ps-document.c (ps_document_set_page_offset)
5652 (ps_document_render): Keep offset in consideration in a few
5653 places. Bug #164752 "postscript documents are not centered in
5656 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5657 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5659 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5660 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5661 stub out missing methods for complete EvDocument implementation.
5662 Fixes segfaults with Save A Copy and Copy actions.
5664 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5665 (ps_document_document_iface_init): ditto.
5667 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5671 * data/evince.desktop.in:
5675 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5677 * shell/ev-view.c: (ev_view_button_press_event),
5678 (ev_view_motion_notify_event):
5680 Make selection work in any direction
5682 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5685 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5687 Use shorter labels for some of the toolbars items
5689 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5691 * pdf/xpdf/pdf-document.cc:
5693 Check the links info is initialized before
5694 using it. Should fix a crash on startup.
5696 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5698 * pixbuf/pixbuf-document.c
5699 (pixbuf_document_thumbnails_get_dimensions): force floating point
5700 division to calculate page_ratio. Fixes crash with landscape
5703 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5705 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5707 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5709 * shell/ev-view.c (set_document_page): unset has_selection when
5711 (set_document_page): handle paper size changes when the page
5712 changes (test with Free Culture, page 2).
5714 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5716 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5717 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5719 Use normal style color for the widget background and
5720 draw a black box around the page.
5722 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5724 * pdf/xpdf/pdf-document.cc:
5726 Keep offset in consideration in a few places
5728 * shell/ev-view.c: (expose_bin_window):
5730 Set the offsets so that the document is ever centered
5732 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5734 * TODO: Added TODO items and finished off the first todo item
5736 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5737 reflect current authors
5739 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5741 * pdf/xpdf/pdf-document.cc:
5742 * shell/ev-view.c: (ev_view_set_cursor),
5743 (ev_view_motion_notify_event), (document_changed_callback),
5744 (set_document_page):
5746 Show a wait cursor while the page is rendering
5748 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5750 * shell/ev-sidebar-thumbnails.c:
5751 (ev_sidebar_tree_selection_changed),
5752 (ev_sidebar_thumbnails_select_page):
5753 * shell/ev-sidebar-thumbnails.h:
5754 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5755 (ev_view_can_go_forward):
5756 * shell/ev-window.c: (ev_window_open_page),
5757 (ev_window_setup_document), (update_current_page),
5758 (view_page_changed_cb), (ev_window_init):
5759 * shell/ev-window.h:
5761 Ensure thumbnails selection, toolbar page control and
5762 current page are in sync.
5764 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5770 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5772 * backend/Makefile.am:
5773 * backend/ev-document-links.h:
5774 * backend/ev-document-security.c: (ev_document_security_get_type),
5775 (ev_document_security_has_document_security),
5776 (ev_document_security_set_password):
5777 * backend/ev-document-security.h:
5778 * backend/ev-document.c: (ev_document_error_quark):
5779 * backend/ev-document.h:
5781 * data/evince-password.glade:
5782 * pdf/xpdf/pdf-document.cc:
5783 * shell/Makefile.am:
5784 * shell/ev-password.c: (ev_password_set_bad_password_label),
5785 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5786 (ev_password_dialog_get_password),
5787 (ev_password_dialog_set_bad_pass):
5788 * shell/ev-password.h:
5789 * shell/ev-window.c: (ev_window_get_attribute),
5790 (ev_window_set_property), (update_action_sensitivity),
5791 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5792 (ev_window_setup_document), (ev_window_get_password),
5793 (ev_window_open), (ev_window_cmd_save_as),
5794 (using_postscript_printer), (ev_window_print),
5795 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5796 (update_fullscreen_popup), (ev_window_fullscreen),
5797 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5798 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5799 (menu_item_select_cb), (find_bar_search_changed_cb),
5800 (ev_window_dispose), (ev_window_init):
5802 Add initial support for password-supported dialogs. This could be
5803 a lot cooler, but it'll do for now.
5805 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5807 * pdf/xpdf/pdf-document.cc:
5808 * shell/ev-view.c: (status_message_from_link),
5809 (ev_view_set_status), (ev_view_set_cursor),
5810 (ev_view_motion_notify_event), (ev_view_init):
5811 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5813 Fix bugs in the links implementation and change cursor
5814 when hovering a link.
5816 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5818 * viewer/.cvsignore: added cvsignore file for viewer directory
5820 * TODO: created TODO document
5822 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5825 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5826 new functions to help with implementation of sensitivity code
5827 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5828 of all actions that might require it. Fixes a crash when you
5829 click on the Zoom actions in a window lacking a document.
5831 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5833 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5836 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5838 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5839 (pixbuf_document_document_iface_init):
5840 * ps/ps-document.c: (ps_document_get_link),
5841 (ps_document_document_iface_init):
5842 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5843 (status_message_from_link), (ev_view_set_status),
5844 (ev_view_set_find_status), (ev_view_motion_notify_event),
5845 (ev_view_button_release_event), (ev_view_set_property),
5846 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5847 (ev_view_get_find_status_message), (update_find_results),
5848 (ev_view_get_status), (ev_view_get_find_status):
5850 * shell/ev-window.c: (view_status_changed_cb),
5851 (view_find_status_changed_cb), (ev_window_init):
5853 View status message support, use it to show the links.
5856 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5858 * backend/ev-document.c: (ev_document_get_link):
5859 * backend/ev-document.h:
5860 * pdf/xpdf/pdf-document.cc:
5861 * shell/ev-application.c: (ev_application_open):
5862 * shell/ev-application.h:
5863 * shell/ev-sidebar-links.c: (selection_changed_cb):
5864 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5865 (ev_view_go_to_link):
5867 Add support for document links
5869 2005-01-13 Anders Carlsson <andersca@gnome.org>
5871 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5873 Set the spin button limits correctly.
5875 * shell/ev-sidebar-thumbnails.c:
5876 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5877 Support changing pages by clicking on the thumbnails.
5879 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5881 * pixbuf/pixbuf-document.c:
5882 (pixbuf_document_thumbnails_get_dimensions),
5883 (pixbuf_document_document_thumbnails_iface_init):
5885 implement get_dimensions
5887 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5889 * ps/ps-document.c: (ps_document_goto_page):
5891 Fix page switching on multipage documents
5893 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5895 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5897 check for NULL before assigning to width and height parameters
5899 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5901 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5902 (pixbuf_document_set_property), (pixbuf_document_get_property):
5904 implement get/set properties
5906 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5908 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5910 return NULL instead of "Unknown", letting the title get set to
5911 the filename when the pdf has no title.
5913 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5915 * ps/ps-document.c: (ps_document_get_page_count),
5916 (ps_document_goto_page):
5918 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5920 * shell/ev-history.c: (ev_history_get_property),
5921 (ev_history_set_property), (ev_history_class_init),
5922 (ev_history_add_page), (ev_history_set_current_index):
5923 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5924 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5925 (ev_navigation_action_finalize):
5926 * shell/ev-navigation-action.h:
5927 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5928 (ev_view_go_forward), (ev_view_get_find_status_message),
5929 (history_index_changed_cb), (ev_view_set_history):
5931 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5932 (update_current_page), (register_custom_actions):
5934 Implement history dropdowns
5936 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5938 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5939 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5940 (ev_view_go_forward):
5941 * shell/ev-window.c: (register_custom_actions):
5943 Fix several history bugs
5945 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5947 * configure.ac: Add «nb» to ALL_LINGUAS.
5949 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5951 * backend/Makefile.am:
5952 * backend/ev-bookmark.c:
5953 * backend/ev-bookmark.h:
5954 * backend/ev-document-bookmarks.c:
5955 * backend/ev-document-bookmarks.h:
5956 * backend/ev-document-links.c: (ev_document_links_get_type),
5957 (ev_document_links_has_document_links),
5958 (ev_document_links_begin_read), (ev_document_links_get_link),
5959 (ev_document_links_get_child), (ev_document_links_next),
5960 (ev_document_links_free_iter):
5961 * backend/ev-document-links.h:
5962 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5963 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5964 (ev_link_get_link_type), (ev_link_set_link_type),
5965 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5966 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5967 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5968 (ev_link_new_external):
5969 * backend/ev-link.h:
5970 * pdf/xpdf/pdf-document.cc:
5971 * shell/Makefile.am:
5972 * shell/ev-application.c: (ev_application_open_link):
5973 * shell/ev-application.h:
5974 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5975 (ev_history_get_link_nth):
5976 * shell/ev-history.h:
5977 * shell/ev-sidebar-bookmarks.c:
5978 * shell/ev-sidebar-bookmarks.h:
5979 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5980 (ev_sidebar_links_class_init), (selection_changed_cb),
5981 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5982 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5983 (do_one_iteration), (populate_links_idle),
5984 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5985 * shell/ev-sidebar-links.h:
5986 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5987 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5990 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5991 * shell/ev-window.h:
5993 Rename bookmark to link, and use "Index" for the sidebar panel.
5995 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5997 * shell/Makefile.am:
5998 * shell/ev-application.c: (ev_application_open_bookmark):
5999 * shell/ev-application.h:
6000 * shell/ev-history.c: (ev_history_init), (free_links_list),
6001 (ev_history_finalize), (ev_history_class_init),
6002 (ev_history_add_link), (ev_history_add_page),
6003 (ev_history_get_link_nth), (ev_history_get_n_links),
6004 (ev_history_get_current_index), (ev_history_set_current_index),
6006 * shell/ev-history.h:
6007 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6008 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6009 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6010 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6013 * shell/ev-window.c: (ev_window_open_bookmark),
6014 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6015 (goto_page_cb), (register_custom_actions):
6016 * shell/ev-window.h:
6018 Initial history implementation. Needs work.
6020 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6022 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6024 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6026 * cut-n-paste/recent-files/egg-recent-item.c:
6027 * cut-n-paste/recent-files/egg-recent-item.h:
6028 * cut-n-paste/recent-files/egg-recent-model.c:
6029 * cut-n-paste/recent-files/egg-recent-util.c:
6030 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6031 * cut-n-paste/recent-files/egg-recent-view.c:
6035 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6037 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6038 (fillGlyph, fillImageMask, drawImage):
6039 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6040 pdf/splash/SplashTypes.h:
6041 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6042 packed mode for Splash.
6044 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6045 RGB8 packed mode, eliminates the pixbuf data creation loop.
6047 * shell/ev-print-job.c (ev_print_job_finalize)
6048 (ev_print_job_set_property, ev_print_job_get_property)
6049 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6050 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6051 (print_closure_finalize, ev_print_job_print): implement
6052 printing (for backends with EvPsExporter)
6054 * shell/ev_print_job.h: update prototypes.
6056 * shell/ev-window.c (ev_window_print): unref print job after
6059 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6060 unless the document implements the EvDocumentFind interface.
6062 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6064 * configure.ac: Added ja to ALL_LINGUAS.
6066 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6068 * pdf/xpdf/pdf-document.cc:
6070 add a FIXME. We should probably not allocate
6071 a bookmark object every time
6073 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6075 * shell/ev-application.c: (ev_application_open),
6076 (ev_application_open_bookmark):
6077 * shell/ev-application.h:
6079 Add a way to open bookmarks
6081 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6082 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6083 (ev_bookmark_set_property), (ev_bookmark_class_init),
6084 (ev_bookmark_new_title), (ev_bookmark_new_link),
6085 (ev_bookmark_new_external):
6087 Support for external uris, better constructors.
6089 * backend/ev-bookmark.h:
6090 * pdf/xpdf/pdf-document.cc:
6091 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6093 Handle external uris
6095 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6097 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6098 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6100 Hook up bookmarks navigation
6102 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6104 * backend/Makefile.am:
6105 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6106 (ev_bookmark_get_title), (ev_bookmark_set_title),
6107 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6108 (ev_bookmark_get_page), (ev_bookmark_set_page),
6109 (ev_bookmark_get_property), (ev_bookmark_set_property),
6110 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6112 * backend/ev-bookmark.h:
6113 * backend/ev-document-bookmarks.c:
6114 (ev_document_bookmarks_get_bookmark):
6115 * backend/ev-document-bookmarks.h:
6116 * pdf/xpdf/pdf-document.cc:
6117 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6119 Add a bookmark object to the backend and use it instead of get_values
6121 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6123 * data/evince-ui.xml:
6125 Cleanup and add select all.
6127 * shell/ev-view.c: (ev_view_select_all),
6128 (ev_view_button_press_event):
6130 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6133 Clear selection on click.
6135 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6137 * shell/ev-sidebar-thumbnails.c
6138 (ev_sidebar_thumbnails_set_document): forgot to unref the
6141 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6143 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6144 at the visible page, not just linearly. This makes it look fast.
6146 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6148 * backend/ev-document-misc.c
6149 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6151 * backend/ev-document-thumbnails.h: New interface to get the size
6154 2005-01-06 Jeremy Katz <katzj@redhat.com>
6156 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6159 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6161 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6162 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6165 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6167 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6169 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6170 fonts. Should fix font problems on systems that have the base
6171 fonts in bitmap format. Reported by James Henstridge
6172 <james@jamesh.id.au>.
6174 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6177 * pdf/xpdf/GfxState.cc:
6179 Fix for CAN-2004-1125
6181 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6183 * shell/ev-view.c: (ev_view_copy):
6185 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6187 Implement Edit->Copy
6189 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6191 * backend/ev-document.c: (ev_document_get_text):
6192 * backend/ev-document.h:
6193 * pdf/xpdf/pdf-document.cc:
6194 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6195 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6196 (ev_view_update_primary_selection), (ev_view_button_press_event),
6197 (ev_view_motion_notify_event), (ev_view_button_release_event):
6199 Beginnings of clipboard support. Incomplete but primary sort
6202 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6204 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6205 (expose_bin_window):
6207 Nicer rubberband drawing, from GtkIconView.
6209 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6211 * backend/ev-document.c: (ev_document_save):
6212 * backend/ev-document.h:
6213 * data/evince-ui.xml:
6214 * pdf/xpdf/pdf-document.cc:
6215 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6217 Implement "Save a copy..." menu item
6219 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6221 * shell/ev-view.c: (ev_view_zoom):
6223 Queue a resize when zoom changes
6225 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6227 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6230 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6233 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6235 * pdf/xpdf/pdf-document.cc
6236 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6238 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6240 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6241 It's slow, but I'll speed it up next!
6243 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6245 * shell/main.c (load_files):
6247 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6248 from the command line and because it seems more appropriate.
6250 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6252 * data/evince-ui.xml:
6253 * shell/ev-window.c: (update_action_sensitivity),
6254 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6256 s/next page/page down
6257 s/previous page/page up
6259 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6261 * data/evince-ui.xml:
6263 Change the layout to match clarkbw design.
6265 * shell/Makefile.am:
6266 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6267 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6268 (ev_navigation_action_finalize),
6269 (ev_navigation_action_set_property),
6270 (ev_navigation_action_get_property),
6271 (ev_navigation_action_class_init):
6272 * shell/ev-navigation-action.h:
6274 Implement clarkbw toolbar navigation controls (incomplete)
6276 * shell/ev-page-action.c: (update_label), (update_spin),
6277 (value_changed_cb), (create_tool_item), (connect_proxy),
6278 (ev_page_action_init), (ev_page_action_finalize),
6279 (ev_page_action_set_property), (ev_page_action_get_property),
6280 (ev_page_action_set_current_page),
6281 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6282 * shell/ev-page-action.h:
6284 Implement a page switcher in the toolbar
6286 * shell/ev-view.c: (ev_view_scroll_view):
6287 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6288 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6289 (register_custom_actions), (ev_window_init):
6291 Change page on PageUp/Down.
6293 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6295 * pdf/xpdf/pdf-document.cc
6296 (pdf_document_thumbnails_get_thumbnail): initial stab at
6297 implementing thumbnail support for pdfs. It only does documents
6298 with precached pdfs now.
6300 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6302 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6303 thumbnail code into a time-based idle as well. Also, turn off the
6304 shadow temporarily as it's really slow.
6306 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6308 * backend/ev-document.c: (ev_document_class_init):
6309 * pdf/xpdf/pdf-document.cc:
6310 * shell/ev-window.c: (ev_window_open):
6312 Fix document title bugs and fallback to
6313 filename when not available.
6315 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6317 * backend/ev-document.c: (ev_document_get_type),
6318 (ev_document_class_init), (ev_document_load),
6319 (ev_document_get_title):
6320 * backend/ev-document.h:
6321 * pdf/xpdf/pdf-document.cc:
6322 * ps/ps-document.c: (ps_document_set_property),
6323 (ps_document_get_property), (ps_document_class_init),
6327 * shell/ev-window.c: (update_window_title), (ev_window_open),
6330 Initial support for document title. Not working yet.
6332 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6334 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6336 Grab focus on the view when clicking it
6338 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6340 * shell/ev-marshal.list:
6341 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6342 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6344 Add key bindings to the view. Now if the focus would work
6347 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6350 * backend/Makefile.am:
6353 * dvi/dvilib/Makefile.am:
6354 * pdf/xpdf/Makefile.am:
6360 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6362 * shell/ev-view.c: (ev_view_realize):
6364 Fix mouse wheel scrolling
6366 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6372 * ps/ps-document.c: (catchPipe), (ps_document_init),
6373 (ps_document_class_init), (ps_document_cleanup),
6374 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6375 (set_up_page), (close_pipe), (is_interpreter_ready),
6376 (interpreter_failed), (output), (input), (start_interpreter),
6377 (stop_interpreter), (file_length), (file_readable),
6378 (check_filecompressed), (check_pdf), (compute_xdpi),
6379 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6380 (ps_document_get_type), (ps_document_emit_error_msg),
6381 (document_load), (ps_document_next_page),
6382 (ps_document_get_current_page), (ps_document_get_page_count),
6383 (ps_document_goto_page), (ps_document_set_page_size),
6384 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6385 (ps_document_load), (ps_document_get_n_pages),
6386 (ps_document_set_page), (ps_document_get_page),
6387 (ps_document_widget_event), (ps_document_set_target),
6388 (ps_document_set_scale), (ps_document_set_page_offset),
6389 (ps_document_get_page_size), (ps_document_render),
6390 (ps_document_document_iface_init):
6393 * shell/ev-window.c: (ev_window_open):
6395 Rename GtkGS to PSDocument
6397 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6399 * ps/gtkgs.c: (gtk_gs_class_init):
6402 Some more leftover...
6404 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6406 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6407 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6408 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6411 Remove unused code and make a lot of stuff private
6413 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6415 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6416 (gtk_gs_defaults_changed):
6422 Cleanup headers dependencies
6424 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6429 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6431 * ps/gtkgs.c: (file_length), (file_readable),
6432 (check_filecompressed), (check_pdf), (gtk_gs_load),
6433 (gtk_gs_get_postscript):
6437 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6442 * ps/gtkgs.c: (gtk_gs_set_zoom):
6446 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6448 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6450 Ensure the page is rerendered when changing zoom
6452 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6454 * backend/ev-document.c: (ev_document_base_init),
6455 (ev_document_changed):
6456 * backend/ev-document.h:
6458 Add a changed event that is emitted when the page content
6459 changes. This is necessary to deal with the fact that
6460 in ps backend rendering happen asycrounously.
6461 This makes the ps backend mostly work.
6463 * pdf/xpdf/pdf-document.cc:
6467 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6468 (ps_document_set_target):
6472 * shell/ev-view.c: (document_changed_callback),
6473 (ev_view_set_document), (ev_view_set_page):
6475 Redraw on the changed signal
6477 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6479 * configure.ac: Added pt_BR to ALL_LINGUAS.
6481 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6483 * backend/ev-document-bookmarks.c:
6484 (ev_document_bookmarks_get_child): *
6485 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6486 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6487 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6488 (ev_sidebar_bookmarks_destroy),
6489 (ev_sidebar_bookmarks_class_init),
6490 (ev_sidebar_bookmarks_construct), (stack_data_free),
6491 (do_one_iteration), (populate_bookmarks_idle),
6492 (ev_sidebar_bookmarks_clear_document),
6493 (ev_sidebar_bookmarks_set_document): *
6494 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6495 (ev_sidebar_add_page),
6496 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6497 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6498 it displays both the topics and the page numbers.
6500 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6502 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6504 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6507 2004-12-23 Adam Weinberger <adamw@gnome.org>
6509 * configure.ac: Added en_CA to ALL_LINGUAS.
6511 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6513 * ChangeLog: replace bottom of this ChangeLog (merged history of
6514 ggv and gpdf; where all paths were wrong and most of the files are
6515 not even in this tree) with ChangeLog (from arch) of the shell
6518 2004-12-23 Havoc Pennington <hp@redhat.com>
6520 * shell/ev-window.c: hook up potentially-questionable "find
6521 results status text" feature - something involving the sidebar or
6522 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6523 might be better in the end.
6525 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6526 with corresponding signal when it should be updated
6528 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6530 2004-12-22 Havoc Pennington <hp@redhat.com>
6532 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6533 find stuff on other pages, sort of (only returns one result on
6534 invisible pages, to show they have results; updates full results
6535 for a page when you view it). Currently repaints the current page
6536 every time a new result is found on any page, which isn't so nice.
6538 2004-12-22 Havoc Pennington <hp@redhat.com>
6540 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6541 the document doesn't support find (better ideas?)
6542 (find_bar_search_changed_cb): handle missing document or document
6543 that doesn't support find
6545 * pdf/xpdf/pdf-document.cc: port to implement the new
6548 * backend/ev-document-find.c: create a new interface for searching
6550 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6552 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6554 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6557 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6558 EvPrintJob constructor arguments.
6560 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6561 for documents that can export PostScript (page by page).
6563 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6565 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6566 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6567 (pdf_document_ps_exporter_iface_init:
6568 Implement EvPSExporter.
6570 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6572 2004-12-22 Anders Carlsson <andersca@gnome.org>
6574 * backend/Makefile.am:
6575 * backend/ev-document-thumbnails.c:
6576 (ev_document_thumbnails_get_type),
6577 (ev_document_thumbnails_get_thumbnail):
6578 * backend/ev-document-thumbnails.h:
6579 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6580 (pixbuf_document_thumbnails_get_thumbnail),
6581 (pixbuf_document_document_thumbnails_iface_init):
6582 * shell/Makefile.am:
6583 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6584 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6585 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6586 * shell/ev-sidebar-thumbnails.h:
6587 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6588 (ev_sidebar_set_document):
6589 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6590 (create_shadow), (ev_pixbuf_add_shadow):
6592 Add thumbnail support.
6594 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6596 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6597 (using_postscript_printer): Set up a print dialog for "PostScript
6600 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6603 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6605 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6607 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6608 (ps_document_set_target), (ps_document_get_page_size),
6609 (ps_document_render):
6614 2004-12-22 Christian Rose <menthos@menthos.com>
6616 * configure.ac: Added "sv" to ALL_LINGUAS.
6618 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6620 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6621 document supports bookmarks.
6623 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6625 * ps/ggvutils.c: (ggv_file_readable):
6627 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6628 (gtk_gs_get_postscript):
6632 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6634 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6635 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6636 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6637 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6638 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6639 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6640 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6641 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6642 (gtk_gs_set_antialiasing), (ps_document_load),
6643 (ps_document_render):
6646 Another check point for the ps backend. Now I can get it to show
6649 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6651 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6652 document setting code.
6654 2004-12-22 Anders Carlsson <andersca@gnome.org>
6656 * shell/eggfindbar.c: (entry_activate_callback):
6657 Animate the next button when activate is pressed.
6659 2004-12-22 Anders Carlsson <andersca@gnome.org>
6661 * shell/ev-window.c: (ev_window_cmd_edit_find),
6662 (update_fullscreen_popup), (ev_window_fullscreen),
6663 (ev_window_unfullscreen), (ev_window_state_event_cb),
6664 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6665 Fix bugs in fullscreen code.
6667 2004-12-22 Anders Carlsson <andersca@gnome.org>
6671 * pixbuf/Makefile.am:
6672 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6673 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6674 (pixbuf_document_set_page), (pixbuf_document_get_page),
6675 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6676 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6677 (pixbuf_document_render), (pixbuf_document_begin_find),
6678 (pixbuf_document_end_find), (pixbuf_document_finalize),
6679 (pixbuf_document_class_init),
6680 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6681 * pixbuf/pixbuf-document.h:
6682 * shell/Makefile.am:
6683 * shell/ev-application.c: (ev_application_open):
6684 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6688 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6691 * dvi/dvilib/Makefile.am:
6693 * configure.ac: Auto*ify dvi and dvi/dvilib
6695 * dvi/Makefile: Remove from CVS
6697 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6700 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6702 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6704 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6707 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6708 (gtk_gs_value_adjustment_changed), (compute_size),
6709 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6710 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6711 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6712 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6713 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6714 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6715 (ps_document_load), (ps_document_get_n_pages),
6716 (ps_document_set_page), (ps_document_get_page),
6717 (ps_document_set_target), (ps_document_set_scale),
6718 (ps_document_set_page_offset), (ps_document_get_page_size),
6719 (ps_document_render), (ps_document_begin_find),
6720 (ps_document_end_find), (ps_document_document_iface_init):
6722 * shell/Makefile.am:
6723 * shell/ev-window.c: (ev_window_open):
6725 Some work to integrate gtkgs with EvDocument
6727 2004-12-22 Anders Carlsson <andersca@gnome.org>
6729 * shell/ev-window.c: (update_fullscreen_popup),
6730 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6731 (exit_fullscreen_button_clicked_cb),
6732 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6733 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6734 (ev_window_state_event_cb), (ev_window_init):
6735 Add fullscreen support from Epiphany.
6737 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6739 * data/ev-stock-zoom-fit-width.png: fit-width
6740 stock icon from gpdf.
6742 * shell/ev-stock-icons.[ch]: copied from gpdf.
6744 * shell/main.c: (main): init stock icons.
6746 * shell/ev-window.c: use the fit-width icon.
6748 * data/evince-ui.xml: add zooming toolbar items.
6750 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6753 (ev_view_best_fit), (ev_view_fit_width): because
6754 get_page_size() returns the scaled page size, we
6755 need to calculate the scale factor relative to
6756 the previous scale factor. Should really just
6757 add get_real_page_size().
6759 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6761 * shell/ev-view.[ch]:
6762 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6763 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6766 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6767 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6768 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6771 * pdf/xpdf/pdf-document.cc:
6772 (pdf_document_begin_find),
6773 (pdf_document_end_find): make static.
6775 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6777 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6779 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6780 names to fontconfig patterns.
6781 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6783 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6786 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6802 Import ggv backend. Not hooked up yet.
6804 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6806 * shell/main.c: (load_files), (main): load files
6807 from the command line.
6809 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6811 * configure.ac: don't require bonobo.
6813 * cut-n-paste/recent-files/*: kill bonobo recent
6816 * shell/ev-window.c:
6817 (ev_window_is_empty): upd.
6818 (unable_to_load), (ev_window_open): load backend
6819 based on the mime type.
6821 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6823 * backend/.cvsignore: ignore generated marshalers source.
6825 * shell/main.c (main): this is not epiphany.
6827 2004-12-22 Havoc Pennington <hp@redhat.com>
6829 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6830 (expose_bin_window): draw find highlights
6832 * shell/ev-window.c (find_bar_search_changed_cb): implement
6834 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6835 (pdf_document_end_find): implement this interface
6837 * backend/ev-document.c (ev_document_found): add this to emit
6840 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6842 * data/evince-ui.xml: Add a few more toolbar items.
6844 * shell/ev-window.c: Hook up page navigation toolbar
6847 * shell/ev-view.[ch]: add ev_view_set/get_page and
6848 a page-changed signal.
6850 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6851 Add ev_document_get_page().
6853 * shell/ev-window.c: Sensitize/desensitize navigation
6856 2004-12-21 Havoc Pennington <hp@redhat.com>
6858 * backend/ev-backend-marshal.c,
6859 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6860 marshaler-generator thingy. I'm sure there's a better way to do
6861 this in the modern world.
6863 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6864 end_find methods and "found" signal.
6866 * configure.ac: find glib-genmarshal
6868 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6870 * shell/ev-sidebar.c: Construct an actual sidebar.
6871 * shell/ev-sidebar-bookmarks.[ch]:
6872 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6874 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6876 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6879 * shell/ev-view.c: Track the size from the document.
6881 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6883 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6884 constructor assumes ownership of the string passed in.
6886 * shell/ev-window.c (ev_window_open): Destroy the error
6887 dialog once we've displayed it.
6889 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6891 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6892 a bit, it works! (sort of)
6894 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6895 Move to .cc since we need to use C++ in the implementation.
6897 * shell/dummy.cc: Add a CC file to force evince
6898 to be linked as a C++ program.
6900 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6902 * shell/ev-view.[ch]: Start of content-area widget.
6904 * shell/ev-window.c: Create a EvView, update it
6905 as we change documents.
6907 * shell/Makefile.am shell/ev-marshal.list: Add
6908 generated marshalers.
6910 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6912 * Makefile.am (SUBDIRS): move shell.
6914 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6916 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6917 .a to libtool convenience libraries.
6919 * shell/ev-window.c (ev_window_open): Hard code loading
6922 * backend/ev-document.h: Add a boolean return to load(),
6923 fix GError * to GError **.
6925 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6926 object for a PDF backend EvDocument.
6928 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6930 * dvi/*: New directory with the beginning of a .dvi backend.
6932 2004-12-21 Havoc Pennington <hp@redhat.com>
6934 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6935 previous/next instead of back/forward
6937 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6939 * backend/ev-document.[ch]: Fix a couple of problems so
6942 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6944 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6945 to backend/ directory, rename EvViewer to EvDocument.
6947 2004-12-21 Havoc Pennington <hp@redhat.com>
6949 * shell/ev-window.c: hook up the find bar widget; now we just need
6950 a document to find things in
6952 * shell/eggfindbar.c: a find bar widget
6954 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6956 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6958 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6960 * pdf/**: Import of xpdf code from gpdf.
6962 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6964 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6965 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6966 Fix FreeType includes.
6968 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6969 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6970 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6971 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6972 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6973 Include xpdfconfig.h
6975 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6977 * shell/ev-window.c (ev_window_dispose): dispose can be called
6980 2004-12-21 Havoc Pennington <hp@redhat.com>
6982 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6985 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6986 items; really they should be synced with the strings, etc. from
6987 current gpdf, but just getting the boring typing out of the way
6989 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6992 * shell/ev-application.c: (window_destroy_cb):
6993 * shell/ev-window.c:
6994 * shell/main.c: (main):
6996 Actually show the window...
6998 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7001 * shell/Makefile.am:
7002 * shell/ev-application.c: (ev_application_class_init):
7003 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7007 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7009 Import to gnome cvs.
7011 * Remove copies of gpdf and ggv trees.
7012 * Rip out all the recursive configure code.
7013 * Remove bonobo machinery.
7014 * viewer/*: GInterfaces that backends should/can implement.
7016 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7018 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7021 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7023 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7024 (ev_application_finalize, ev_application_class_init)
7025 (ev_application_init): use GType instance private data for priv.
7027 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7028 (ev_window_finalize, ev_window_class_init)
7029 (ev_window_init): ditto.
7031 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7033 * shell/ev-application.c (ev_application_new_window): make public
7034 (ev_application_show_initial_window): kill.
7036 * shell/ev-application.h: update prototypes.
7038 * shell/main.cc (main): inline ev_application_show_initial_window.
7040 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7042 * shell/ev-application.c (ev_application_new_window): impl.
7043 (ev_application_show_initial_window): use it.
7044 (is_window_empty, ev_application_get_empty_window): returns an
7045 existing empty window or a new one.
7046 (ev_application_open): from ev_window_cmd_file_open.
7048 * shell/ev-application.h: update prototypes
7050 * shell/ev-window.c (ev_window_is_empty): impl.
7051 (ev_window_open): make public.
7052 (ev_window_cmd_file_open): use ev_application_open
7054 * shell/ev-window.h: update prototypes, remove unused.
7056 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7058 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7059 move destroy handler out of here...
7061 * shell/ev-application.c, shell/ev-application.h: ...into this new
7062 class. Also handles initial window creation.
7064 * shell/main.cc (main): use EvApplication to create initial
7067 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7069 * Makefile.am (SUBDIRS): add cut-n-paste
7071 * cut-n-paste/Makefile.am: add
7073 * configure.ac: generate Makefiles in cut-n-paste
7075 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7077 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7078 (ev_window_class_init): install ev_window_dispose.
7080 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7082 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7083 char (gchar looks stupid).
7085 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7087 * po/de.po: updated German translation.
7089 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7091 * configure.ac: add more pkg-config library checks for gnome-vfs,
7094 * gpdf/configure.in: temporarily disable libpaper
7095 checks. Otherwise I'd have to add the checks for the shell, too.
7097 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7099 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7100 and * file filters to the file choose.
7102 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7104 * po/de.po: Updated German translation.
7106 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7108 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7110 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7112 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7114 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7115 (ev_window_init): implement those menuitems.
7117 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7119 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7121 * shell/ev-window.c (ev_window_init): use the toolbar.
7123 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7125 * shell/ev-window.c (ev_window_init): use menu translations
7127 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7129 * configure.ac: add "de" to ALL_LINGUAS.
7131 * po/de.po: add German translation.
7133 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7135 * Makefile.am (SUBDIRS): add po
7137 * configure.ac: check intltool, glib-gettext etc, generate
7140 * po, po/POTFILES.in, po/POTFILES.skip: new.
7142 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7144 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7145 already use (#ifdef ENABLE_NLS)
7147 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7148 pointer indirection thinko.
7150 * shell/main.c: include gi18n.h for bindtextdomain etc.
7152 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7154 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7155 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7156 tooltips for menu items in the statusbar.
7158 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7160 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7161 pkgdatadir drop UIDIR
7163 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7165 * data/evince-ui.xml: Add File->Open menu item
7167 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7168 chooser), hook it up in the ui manager.
7170 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7172 * shell/ev-window.c: fix Help->About tooltip.
7174 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7176 * configure.ac: set CFLAGS for libevprivate.
7178 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7179 definitions, factory etc.
7181 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7183 * shell/Makefile.am: link against libevprivate.a.
7185 * shell/ev-window.c (entries): add stock icon to Help->About.
7187 * shell/main.c (main): init stock icon code.
7189 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7191 * lib/recent-files: egg recent files code
7193 * lib/Makefile.am: add.
7195 * Makefile.am: add lib subdir.
7197 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7198 set CFLAGS for recent-files.
7200 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7202 * configure.ac: disable -ansi and -pedantic gcc flags. They
7203 disable POSIX stuff in stdio.h, but egg-recent uses them.
7205 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7207 * configure.ac: add --disable-deprecated flag (defaults to on in
7210 * shell/Makefile.am (INCLUDES): use it.
7212 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7214 * shell/main.c: add missing #include.
7216 * shell/ev-window.c: fix for pedantic gcc.
7217 (ev_window_cmd_help_about): split license into paragraphs for
7218 translators and pedantic compilers.
7220 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7222 * configure.ac: add more warning flags if compiling with gcc from
7223 cvs (or explicitly requested with --enable-more-warnings).
7225 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7227 * data/evince-ui.xml: add File and File->Close menu.
7229 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7230 (ev_window_destroy): quit after destroy.
7231 (ev_window_class_init): override GtkObject::destroy.
7232 (entries): install close_window callback.
7234 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7236 * Makefile.am (SUBDIRS): add data subdir.
7238 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7239 gtk+ 2.5.0 for GtkAboutDialog.
7241 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7244 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7246 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7248 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7250 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7252 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7254 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7256 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7258 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7260 * shell/*: Added shell directory boilerplate, build it.
7262 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7264 * configure.ac, Makefile.am: Added top-level configure.ac and