1 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
3 * shell/ev-window.c: (fullscreen_set_timeout):
5 Increase timeout to hide full screen popup. Bug
8 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
10 * data/evince.schemas.in:
11 * shell/ev-window.c: (update_action_sensitivity):
13 Allow the user to override document restrictions. Fix for bug
16 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
18 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
19 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
20 (ev_window_class_init): Fix multihead behaviour of fullscreen
21 toolbar popup. Fixes bug #315451.
23 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
26 * data/evince-password.glade:
27 * shell/ev-password.c: (ev_password_dialog_set_property),
28 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
29 (ev_password_dialog_init), (ev_password_set_bad_password_label),
30 (ev_password_dialog_entry_changed_cb),
31 (ev_password_dialog_entry_activated_cb),
32 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
33 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
34 (ev_password_dialog_set_bad_pass):
35 * shell/ev-password.h:
36 * shell/ev-window.c: (password_dialog_response),
37 (ev_window_popup_password_dialog):
39 Support for gnome-keyring for encrypted PDF's.
41 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
43 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
44 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
45 (ev_view_enter_notify_event), (ev_view_class_init):
47 More precise handling of enter_notify/leave_notify events
48 in EvView. Fix for bug 315470.
50 2005-09-08 Christopher Aillon <caillon@redhat.com>
52 * shell/ev-window.c: (fullscreen_timeout_cb),
53 (fullscreen_set_timeout), (fullscreen_clear_timeout),
56 leak fix: unref fullscreen_timeout_source before clearing it
58 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
60 * configure.ac, dvi/mdvi/Makefile.am:
62 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
64 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
66 * backend/ev-link.c: (ev_link_new_page_xyz):
68 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
70 Fix some bugs with xyz links, respect zoom
72 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
74 * shell/ev-window.c: (page_changed_cb),
75 (setup_document_from_metadata), (update_sidebar_visibility),
76 (setup_view_from_metadata), (ev_window_run_fullscreen),
77 (ev_window_stop_fullscreen), (ev_window_run_presentation),
78 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
79 (ev_window_dual_mode_changed_cb),
80 (ev_window_sidebar_current_page_changed_cb):
82 null check uri before setting and getting metadata
84 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
87 * properties/Makefile.am:
89 * thumbnailer/Makefile.am:
91 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
93 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
95 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
96 (selection_changed_callback):
97 * shell/ev-sidebar-links.h:
99 Add a signal for link activation.
101 * shell/ev-view.c: (ev_view_goto_link),
102 (ev_view_button_release_event):
104 * shell/ev-window.c: (sidebar_links_link_activated_cb),
107 Implement the signal so that we can handle all link types.
109 * shell/ev-page-cache.c:
111 Remove unused set_link function
113 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
115 * lib/ev-tooltip.c: (ev_tooltip_set_position):
117 Add some space from the cursor, hardcoded but I couldnt
120 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
124 Use mozilla style vs gtk style, way better for links.
126 * shell/ev-view.c: (ev_view_motion_notify_event),
127 (ev_view_destroy), (ev_view_init):
129 Deactive tooltip when the link hovered is changed.
131 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
133 * backend/ev-document.h:
134 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
135 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
136 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
137 (ev_link_new_page), (ev_link_new_page_xyz):
140 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
141 (go_to_link), (tip_from_link):
143 Implement xyz links, still not functional. Links are a total
144 mess, will need to refactor and bugfix a lot :(
146 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
148 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
150 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
152 * data/evince-ui.xml:
153 * data/evince.schemas.in:
155 * shell/ev-window.c: (update_chrome_visibility),
156 (password_dialog_response), (ev_window_load_job_cb),
157 (ev_window_xfer_job_cb), (ev_window_open_uri),
158 (ev_window_class_init), (set_chrome_actions), (load_chrome),
161 Remove the statusbar. This regress loading feedback, need to
162 check with Bryan what we want to do there...
164 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
166 * lib/ev-tooltip.c: (ev_tooltip_init):
168 Fix tooltip border and size handling
170 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
172 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
173 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
174 (ev_tooltip_timeout), (ev_tooltip_activate),
175 (ev_tooltip_deactivate):
177 * shell/ev-view.c: (ev_view_motion_notify_event):
179 Delay popup showing. Mirror gtk logic/times.
181 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
184 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
185 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
186 (ev_tooltip_set_text), (ev_tooltip_set_position):
189 Simple widget to show tooltips at a custom position
191 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
194 Use it for links. First go, needs work
196 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
198 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
199 HIG fixes. Use title capitalization for window title. Use 12
200 pixels of space between the dialog's vbox and action area.
202 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
204 * shell/ev-window.c: (file_open_dialog_response_cb),
205 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
206 (ev_window_cmd_save_as):
208 Make file pickers not modal and refactor code some
210 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
212 * shell/ev-sidebar.h:
213 * shell/ev-sidebar.c: (ev_sidebar_set_property),
214 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
215 (ev_sidebar_class_init), (ev_sidebar_select_page),
216 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
217 (ev_sidebar_set_page):
219 Add a current page property and allow to get/set it
221 * shell/ev-window.c: (setup_view_from_metadata),
222 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
224 Persist current sidebar page per document
226 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
228 * data/evince.schemas.in:
229 * shell/ev-window.c: (update_chrome_visibility),
230 (setup_document_from_metadata), (update_sidebar_visibility),
231 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
232 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
233 (ev_window_run_presentation), (ev_window_stop_presentation),
234 (ev_window_view_sidebar_cb),
235 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
236 (load_chrome), (ev_window_init):
238 Persist size/visibility of sidebar per document
240 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
242 * shell/ev-view.c (draw_loading_text): Draw loading text.
244 2005-09-02 Dan Damian <dand@gnome.ro>
246 * configure.in: Added "ro" to ALL_LINGUAS.
248 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
250 * shell/ev-view.c: (clear_caches):
252 ev_page_cache_get doesnt return a reference,
253 dont try to unref it.
255 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
257 * shell/main.c: (load_files_remote):
259 Fix timestamp parameter with dbus <= 0.33
261 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
263 * data/evince.schemas.in:
265 Add missing full stop
267 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
269 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
270 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
272 Plug some memory leaks
274 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
277 * lib/ev-debug.c: (trap_handler):
279 Check for execinfo.h and use it only if it exists.
280 Ported from Epiphany (bug #314776).
282 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
284 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
286 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
288 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
289 * po/id.po : Added Indonesian translation
291 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
294 * shell/ev-application.c: Last minute GTK-2.6 fixes.
295 * NEWS: Release 0.4.0
297 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
299 * configure.ac: catch another gtk+-2.8ism
300 * shell/main.c: Make work with gtk+-2.6
302 2005-08-25 Ryan Lortie <desrt@desrt.ca>
304 * shell/ev-application-service.xml: Add 'timestamp' argument to
305 ev_application_open_window and ev_application_open_uri methods.
307 * shell/ev-application.h: Add 'timestamp' argument to
308 ev_application_open_window, ev_application_open_uri,
309 and ev_application_open_uri_list functions.
311 * shell/ev-application.c (ev_application_open_window,
312 ev_application_open_uri, ev_application_open_uri_list): Change
313 functions that show/present windows to use a timestamp if one
316 * shell/ev-window.c (ev_window_cmd_file_open,
317 ev_window_cmd_recent_file_activate, drag_data_received_cb):
318 * shell/main.c (load_files): Modify calls to ev_application to
319 include GDK_CURRENT_TIME as timestamp.
321 * shell/main.c (load_files_remote): Obtain timestamp for client
322 instance from GDK and pass to server instance so new windows are
323 focused properly. Fix dbus_g_proxy_call() calls by including second
328 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
330 * shell/ev-window.c (ev_window_finalize): Check for
331 avail. EvWindows when quiting to handle the finalize better,
334 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
336 * properties/ev-properties-view.c:
338 Set textdomain to libglade. Fixes translation problem in property page.
340 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
342 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
344 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
345 * dvi/mdvi-lib/Makefile.am:
347 Fix rotation of thumbnails, ported to new API. Moved library
348 dependencies earlier, probably it will fix linkage problem.
350 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
352 * backend/ev-document-misc.c:
353 (ev_document_misc_get_thumbnail_frame):
354 * backend/ev-document-misc.h:
358 * shell/ev-sidebar-thumbnails.c: (add_range),
359 (ev_sidebar_thumbnails_set_loading_icon),
360 (ev_sidebar_thumbnails_refresh),
361 (ev_sidebar_thumbnails_set_document):
362 * shell/ev-sidebar-thumbnails.h:
363 * shell/ev-view.c: (ev_view_motion_notify_event),
364 (ev_view_set_property), (ev_view_get_property),
365 (ev_view_class_init), (ev_view_set_rotation):
366 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
367 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
369 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
370 Redo rotation (again). prepare for 0.4.0
372 2005-08-24 Kristian Høgsberg <krh@redhat.com>
374 * configure.ac: Bump poppler requirement to 0.4.1.
376 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
377 argument to poppler_page_render_selection() call.
379 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
381 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
382 (djvu_document_thumbnails_get_thumbnail):
383 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
384 (dvi_document_thumbnails_get_thumbnail):
385 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
386 (pixbuf_document_thumbnails_get_thumbnail):
387 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
389 Update rotation direction of backends to fit with pdf and ps.
391 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
393 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
394 * backend/ev-async-renderer.h:
395 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
396 (setup_page), (ps_document_get_page_size),
397 (ps_async_renderer_render_pixbuf):
399 * shell/ev-jobs.c: (ev_job_render_run):
401 Fix orientation in the postscript document
403 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
406 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
407 * shell/ev-view.c: (highlight_find_results):
409 Adapt to the new poppler rotation API. Fix text maps on landscape
412 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
414 * shell/ev-view.c (compute_new_selection_text): get the correct
415 region when selecting in modes other than continuous.
417 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
419 * shell/main.c (main): remove redundant g_warnings.
421 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
423 * shell/Makefile.am: Don't include autogenerated
424 file ev-application-service.h into distribution, since
425 it causes dbus crash. Fix for bugs 313724 and 313443.
427 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
429 * configure.ac: Fix sed expression for FreeBSD. Thanks
430 to Joe Marcus Clark <marcus@freebsd.org>
432 * shell/eggfindbar.c: (entry_activate_callback),
433 (entry_changed_callback), (egg_find_bar_init),
434 (egg_find_bar_set_search_string):
436 Made findbar buttons unsensitive if there is no text in
437 entry. Fix for the bug 313285.
439 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
441 * ps/ps-document.c: Use g_filename_display_name for displaying
442 filenames and revert string freeze breackage
444 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
453 Add ev-application-service.xml to extra dist
455 * shell/ev-view.c: (find_page_at_location):
457 Remove unused function (fix warning)
459 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
461 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
462 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
464 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
467 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
469 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
473 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
475 * configure.ac: Update script to get dbus version.
476 Fix for the bug #313443.
478 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
480 * shell/ev-window.c: (ev_window_cmd_escape):
482 Return focus back to view on escape. Fix for bug 313295.
484 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
486 * shell/ev-window.c: (update_window_title),
487 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
488 (ev_window_cmd_save_as):
490 Correct conversion from uri to displayable string. Fix for
493 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
495 * ps/ps-document.c: convert filename to utf8 when there is an error
496 loading document. Fixes #309915
498 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
502 We depend on poppler 0.4.0
504 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
507 * NEWS: Release 0.3.3.
508 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
510 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
512 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
513 add a couple missing mnemonics to menu items, use title
514 capitalization for menu items and window titles, and add
515 ellipsis to open menu item.
517 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
520 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
521 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
522 (ev_view_get_rotation):
524 * shell/ev-window.c: (setup_view_from_metadata),
525 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
526 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
529 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
531 * configure.ac: Added tr to ALL_LINGUAS
533 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
535 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
536 requires several clicks to find word. Thanks to
537 Colin Slater <kiltedtaco@gmail.com>.
539 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
541 * data/evince.desktop.in.in: Hide menu entry and
542 rename it to "Document Viewer". Fix for bug
545 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
547 * shell/ev-page-action.c (ev_page_action_class_init):
549 Point to the correct function in constructor of the
550 activate_label signal
552 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
554 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
555 * shell/ev-jobs.h: Make thread safe.
557 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
559 * shell/ev-view.c: (view_update_range_and_current_page):
560 Don't update page range if we are scrolling to some document
563 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
565 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
566 when getting max_page_width, fix drawing in dual mode.
568 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
570 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
571 getting the area for select_all.
573 2005-08-06 Kristian Høgsberg <krh@redhat.com>
575 * backend/ev-selection.c: (ev_selection_render_selection):
576 * backend/ev-selection.h:
578 * shell/ev-jobs.c: (ev_job_render_new):
580 * shell/ev-pixbuf-cache.c: (get_selection_colors),
581 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
582 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
583 (ev_view_class_init):
585 Change selection color on focus in and focus out events. Also,
586 poppler now uses GdkColor for specifying the selection colors, so
587 drop some awkward conversion code.
589 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
591 * configure.ac: Added Hebrew translation
593 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
596 * backend/ev-selection.c: (ev_selection_render_selection):
597 * backend/ev-selection.h:
599 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
602 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
603 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
604 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
605 (ev_pixbuf_cache_style_changed),
606 (ev_pixbuf_cache_get_selection_pixbuf),
607 (ev_pixbuf_cache_set_selection_list),
608 (ev_pixbuf_cache_get_selection_list):
609 * shell/ev-pixbuf-cache.h:
610 * shell/ev-utils.c: (ev_print_region_contents):
612 * shell/ev-view.c: (ev_view_queue_draw_page),
613 (selection_update_idle_cb), (ev_view_motion_notify_event),
614 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
615 (setup_caches), (ev_view_find_next), (merge_selection_region),
617 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
619 Clean up selection to be much smoother!
621 2005-08-05 Kristian Høgsberg <krh@redhat.com>
623 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
624 to poppler_page_render_selection().
626 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
628 * ps/ps-document.c: (save_page_list): Use
629 unzipped document when printing. Thanks to
630 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
633 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
635 * shell/ev-window.c: (update_action_sensitivity):
637 Disable print and save respect to lockdown gconf keys. Fix
640 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
643 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
644 (write_to_temp_file), (ev_file_set_contents):
646 * shell/ev-window.c: (save_print_config_to_file):
648 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
651 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
653 * shell/ev-window.c: (load_print_config_from_file),
654 (save_print_config_to_file), (ev_window_print_range):
656 Persist the print settings. Fixes bug #311578.
658 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
660 * djvu/djvu-document.c: (djvu_document_get_page_size),
661 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
662 (djvu_document_thumbnails_get_thumbnail):
663 * dvi/dvi-document.c: (dvi_document_get_page_size),
664 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
665 (dvi_document_thumbnails_get_dimensions),
666 (dvi_document_thumbnails_get_thumbnail):
667 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
668 (pixbuf_document_render_pixbuf),
669 (pixbuf_document_document_iface_init),
670 (pixbuf_document_thumbnails_get_thumbnail):
672 Update backends to make them build with new rotation system.
674 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
676 * help/C/figures/evince_start_window.png:
678 Update documentation image from Luca Ferretti <elle.uca@libero.it>
680 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
682 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
683 * shell/ev-pixbuf-cache.h:
684 * shell/ev-sidebar-thumbnails.c:
685 (ev_sidebar_thumbnails_get_property), (add_range),
686 (adjustment_changed_cb):
687 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
688 pixbuf cache. Make thumbnailing work again. Also, fix bug where
689 we were thumbnailing the entire docment on startup, slowing us
692 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
694 * shell/ev-page-cache.c: (ev_page_cache_new):
695 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
698 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
700 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
701 (ev_view_rotate_left):
703 Account rotation in doc_rect_to_view_rect.
704 Ensure rotation doesnt go out of bounds.
706 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
708 * shell/ev-page-cache.c: (ev_page_cache_get_size):
710 Correct and cleanup w/h swapping
712 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
714 * backend/ev-document-thumbnails.c:
715 (ev_document_thumbnails_get_thumbnail):
716 * backend/ev-document-thumbnails.h:
717 * backend/ev-document.c:
718 * backend/ev-document.h:
719 * backend/ev-render-context.c: (ev_render_context_new),
720 (ev_render_context_set_rotation):
721 * backend/ev-render-context.h:
723 * ps/ps-document.c: (ps_document_document_iface_init):
724 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
726 * shell/ev-page-cache.c: (build_height_to_page),
727 (ev_page_cache_new), (ev_page_cache_get_size),
728 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
729 (ev_page_cache_get_height_to_page):
730 * shell/ev-page-cache.h:
731 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
732 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
733 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
734 (ev_pixbuf_cache_get_selection_pixbuf):
735 * shell/ev-pixbuf-cache.h:
736 * shell/ev-print-job.c: (idle_print_handler):
737 * shell/ev-sidebar-thumbnails.c: (add_range):
738 * shell/ev-view.c: (view_update_range_and_current_page),
739 (get_page_y_offset), (get_page_extents),
740 (ev_view_size_request_continuous_dual_page),
741 (ev_view_size_request_continuous),
742 (ev_view_size_request_dual_page),
743 (ev_view_size_request_single_page), (draw_one_page),
744 (ev_view_set_rotation), (ev_view_rotate_right),
745 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
746 (ev_view_zoom_for_size_continuous_and_dual_page),
747 (ev_view_zoom_for_size_continuous),
748 (ev_view_zoom_for_size_dual_page),
749 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
750 (ev_view_select_all):
751 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
752 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
753 (tiff_document_document_iface_init),
754 (tiff_document_thumbnails_get_thumbnail):
756 Use rotation rather than orientation. It's easier and enough
759 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
761 * shell/ev-page-cache.c: (build_height_to_page),
762 (ev_page_cache_new), (ev_page_cache_get_size),
763 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
764 (ev_page_cache_get_height_to_page):
765 * shell/ev-page-cache.h:
766 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
767 (ev_view_size_request_continuous_dual_page),
768 (ev_view_size_request_continuous),
769 (ev_view_zoom_for_size_continuous_and_dual_page),
770 (ev_view_zoom_for_size_continuous):
772 Make the page cache aware of page orientation.
774 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
776 * backend/ev-document-thumbnails.c:
777 (ev_document_thumbnails_get_thumbnail):
778 * backend/ev-document-thumbnails.h:
779 * backend/ev-document.c:
780 * backend/ev-document.h:
781 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
782 * backend/ev-ps-exporter.h:
784 * ps/ps-document.c: (ps_document_document_iface_init),
785 (ps_document_ps_export_do_page):
786 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
788 * shell/ev-page-cache.c: (ev_page_cache_get_size),
790 * shell/ev-page-cache.h:
791 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
792 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
793 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
794 * shell/ev-pixbuf-cache.h:
795 * shell/ev-print-job.c: (idle_print_handler):
796 * shell/ev-sidebar-thumbnails.c: (add_range):
797 * shell/ev-view.c: (view_update_range_and_current_page),
798 (get_page_extents), (ev_view_size_request_dual_page),
799 (ev_view_size_request_single_page), (draw_one_page),
800 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
801 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
802 (ev_view_zoom_for_size_dual_page),
803 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
804 (ev_view_select_all):
805 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
806 * tiff/tiff-document.c: (tiff_document_get_page_size),
807 (tiff_document_get_orientation), (rotate_pixbuf),
808 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
809 (tiff_document_thumbnails_get_thumbnail),
810 (tiff_document_ps_export_do_page), (tiff_document_init):
812 Really make use of the orientation bit of the render context.
813 Use the render context in a few more places in the backend API.
814 This regress orientation, but now it's done right. Will try to
817 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
819 * shell/ev-view.c: (ensure_rectangle_is_visible):
821 Patch by Nickolay V. Shmyrev to fix find flickering
823 2005-07-27 Martin Kretzschmar <martink@gnome.org>
825 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
826 duplex parameters to ::begin.
828 * tiff/tiff-document.c (tiff_document_ps_export_begin):
829 * shell/ev-print-job.c (idle_print_handler):
830 * ps/ps-document.c (ps_document_ps_export_begin):
831 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
832 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
833 implementations. Poppler backend needs poppler cvs. Rest has
836 2005-07-25 Martin Kretzschmar <martink@gnome.org>
838 * shell/ev-window.c (using_pdf_printer): new function.
839 (ev_window_print_range): print a less techy message if someone
840 tries to print to PDF.
842 2005-07-25 Martin Kretzschmar <martink@gnome.org>
844 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
845 from "unknown font" string. Bug #311431
847 2005-07-24 Martin Kretzschmar <martink@gnome.org>
849 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
851 2005-07-24 Martin Kretzschmar <martink@gnome.org>
855 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
856 name for PopplerFontTypes
857 (pdf_document_fonts_fill_model): add font type to the detail column
859 * backend/ev-document-fonts.h: added
860 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
862 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
863 font name and font details, add a little markup.
864 (ev_properties_fonts_init): use the new cell data func, specify ypad
865 property for the cell renderer.
866 (ev_properties_fonts_set_document): add the details column.
868 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
870 * configure.ac: Added "pl" to ALL_LINGUAS.
872 2005-07-24 Danilo Šegan <danilo@gnome.org>
874 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
876 2005-07-23 Tommi Vainikainen <thv@iki.fi>
878 * help/ChangeLog: Started this for translations of manual.
879 * configure.ac, autogen.sh, .cvsignore: Migrated to
880 gnome-doc-utils. Patch in bug #311222.
882 2005-07-22 Martin Kretzschmar <martink@gnome.org>
884 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
885 #ifdef this away to fix an unused-function warning.
887 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
889 * configure.ac: Added 'gl' to ALL_LINGUAS.
891 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
893 * configure.ac: Added ne in ALL_LINGUAS
895 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
897 * shell/ev-view.c: (ev_view_leave_notify_event):
899 Clear status message when pointer leaves view. Fix for bug
902 2005-07-20 Ankit Patel <ankit644@yahoo.com>
904 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
906 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
908 * shell/ev-view.c: (ev_view_leave_notify_event),
909 (ev_view_class_init):
911 Set cursor to normal then leaving view.
913 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
917 Fix required djvulibre version.
919 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
921 *configure.ac: Hindi (hi) language added
923 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
925 *configure.ac: Punjabi (pa) Language added
927 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
929 * data/evince-ui.xml, shell/ev-window.c:
931 Add keypad accelerators for zooming. Fix for bug 308128.
933 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
936 * backend/Makefile.am:
937 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
939 * shell/ev-document-types.c: (ev_document_types_add_filters):
941 Allow to enable/disable the pixbuf backend.
942 Default to off for now. If we want it enabled we should
943 really put mime types in the desktop, implement properties etc.
945 * properties/evince-properties.c:
947 Initialize error to NULL.
948 Check error is not NULL before freeing.
950 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
954 Use F5 as presentation accell
956 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
958 * shell/ev-window.c: (update_chrome_visibility),
959 (ev_window_create_fullscreen_popup), (ev_window_init):
961 Do not leak the fullscreen toolbar
963 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
965 * shell/ev-window.c: (view_actions_focus_in_cb),
966 (view_actions_focus_out_cb):
968 These has a return value! Fix totally random focus
969 issues we was seeing.
971 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
973 * shell/main.c: (load_files_remote):
975 Allow open more than one file
977 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
979 * shell/main.c: (load_files_remote):
981 Fix for dbus 0.33. bug #309975
983 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
985 * properties/ev-properties-main.c: (ev_properties_get_pages):
987 Actually return NULL for types we dont support
989 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
995 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
997 * backend/ev-document-factory.c:
998 (ev_document_factory_get_document):
1000 Do not try to create the object if type
1003 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1005 * ps/ps-document.c: (ps_document_dispose),
1006 (ps_async_renderer_render_pixbuf):
1009 Do not leak the target window
1011 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1013 * shell/ev-application.c: (ev_application_init):
1015 Let tbe check file existence for us.
1016 Add a comment about eggrecent mime filter.
1018 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1020 * data/evince-ui.xml:
1021 * shell/ev-application.c: (ev_application_shutdown),
1022 (ev_application_init), (ev_application_get_toolbars_model),
1023 (ev_application_get_recent_model),
1024 (ev_application_save_toolbars_model):
1025 * shell/ev-application.h:
1026 * shell/ev-window.c: (ev_window_add_recent),
1027 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1028 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1031 Use common toolbar and recent models for all windows.
1032 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1034 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1036 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1037 successfully check for gtk_icon_view_get_visible_range.
1039 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1044 Fix djvu and dvi backend build.
1046 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1048 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1049 (new_separator_pixbuf):
1053 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1055 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1057 HIGification of toolbar editor dialogue.
1059 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1062 * shell/Makefile.am:
1064 Ever build metadata manager since it's just
1065 disabled at runtime now.
1067 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1069 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1070 (ev_metadata_manager_get), (ev_metadata_manager_set):
1071 * shell/ev-metadata-manager.h:
1073 Add an _init functions that enabled metadata management
1076 * shell/ev-window.c: (page_changed_cb),
1077 (setup_document_from_metadata), (ev_window_setup_document),
1078 (setup_view_from_metadata), (ev_window_open_uri),
1079 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1080 (ev_window_run_presentation), (ev_window_stop_presentation),
1081 (save_sizing_mode), (ev_window_zoom_changed_cb),
1082 (ev_window_continuous_changed_cb),
1083 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1084 (window_configure_event_cb):
1086 Remove all ugly metadata define since we deal with it
1089 * shell/main.c: (load_files_remote), (main):
1091 Add support for dbus cvs head. Hopefully didnt break one
1092 of the other versions now!
1094 If we dont get a response from the dbus server just
1095 give up with it and not enable metadata.
1097 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1100 * backend/Makefile.am:
1102 * cut-n-paste/recent-files/Makefile.am:
1103 * cut-n-paste/toolbar-editor/Makefile.am:
1104 * cut-n-paste/zoom-control/Makefile.am:
1107 * pixbuf/Makefile.am:
1108 * properties/Makefile.am:
1110 * shell/Makefile.am:
1111 * thumbnailer/Makefile.am:
1114 Make frontends depend on just libev.
1115 Rework and group CFLAGS/LIBS definitions.
1118 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1122 do not unnecessarily save zoom
1125 * lib/ev-file-helpers.c: (ev_dot_dir):
1126 * shell/Makefile.am:
1131 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1135 Remove unnecessary dependencies
1137 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1139 * properties/Makefile.am:
1140 * thumbnailer/Makefile.am:
1143 Some more cleanups. Was really necessary
1144 but I probably introduced bugs, feel free
1147 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1149 * backend/Makefile.am:
1151 * cut-n-paste/recent-files/Makefile.am:
1152 * cut-n-paste/toolbar-editor/Makefile.am:
1153 * cut-n-paste/zoom-control/Makefile.am:
1156 * pixbuf/Makefile.am:
1157 * properties/Makefile.am:
1159 * shell/Makefile.am:
1160 * thumbnailer/Makefile.am:
1163 Use gnome-common macros when possible.
1164 Cleanup dependencies.
1165 Actually disable deprecated where possible.
1167 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1170 * backend/Makefile.am:
1171 * properties/Makefile.am:
1172 * shell/Makefile.am:
1173 * thumbnailer/Makefile.am:
1175 This should solve the circular dep without
1176 requiring dir reorg!
1178 * shell/ev-window.c: (setup_view_from_metadata):
1180 Never restore window size/position when the
1181 window is already visible.
1183 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1185 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1187 Return a boolean from timeout func. Fix ported from gedit.
1189 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1191 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1193 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1195 * shell/ev-document-types.c: set "All Documents" as default filter in
1198 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1200 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1201 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1202 (ev_metadata_manager_set_boolean): fix value/val thinko.
1204 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1206 * shell/ev-window.c: (setup_view_from_metadata),
1207 (window_state_event_cb), (window_configure_event_cb),
1210 Remember window position and maximized state
1212 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1216 Fix DBUS configure checks.
1218 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1219 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1220 (ev_metadata_manager_set_boolean):
1224 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1225 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1226 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1227 (ev_window_continuous_changed_cb),
1228 (ev_window_dual_mode_changed_cb), (ev_window_new):
1230 Fix the build without DBUS.
1232 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1234 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1235 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1236 (ev_metadata_manager_set_string),
1237 (ev_metadata_manager_set_boolean):
1238 * shell/ev-metadata-manager.h:
1240 Add support for some more types
1242 * shell/ev-view.c: (scroll_to_current_page),
1243 (ev_view_get_continuous), (ev_view_set_continuous),
1244 (ev_view_get_dual_page):
1246 * shell/ev-window.c: (page_changed_cb),
1247 (setup_document_from_metadata), (ev_window_setup_document),
1248 (setup_view_from_metadata), (ev_window_open_uri),
1249 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1250 (ev_window_run_presentation), (ev_window_stop_presentation),
1251 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1252 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1253 (ev_window_update_dual_page_action),
1254 (ev_window_continuous_changed_cb),
1255 (ev_window_dual_mode_changed_cb), (ev_window_init):
1257 Remember a bunch of view/document properties. Prolly some
1258 are still missing but it's getting interesting.
1260 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1262 * configure.ac: check if dbus-binding-tool is installed. Not the
1263 case on current Ubuntu breezy, it seems.
1265 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1267 * data/evince.desktop.in.in:
1269 Allow open uri lists and add TryExec field.
1271 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1275 Enable dbus when available, do not require a configure
1278 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1282 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1285 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1286 Marco Pesenti Gritti <mpg@redhat.com>
1288 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1290 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1291 functions to the format required by dbus
1293 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1294 errors. Use the RPC parameters in the expected way
1296 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1299 * properties/Makefile.am:
1300 * properties/ev-properties-main.c: (ev_properties_get_pages):
1302 Support all mime types
1304 * shell/Makefile.am:
1305 * thumbnailer/Makefile.am:
1306 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1307 (evince_thumbnail_pngenc_get):
1309 Use the document factory
1311 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1313 * backend/Makefile.am:
1314 * backend/ev-document-factory.c:
1315 (mime_type_supported_by_gdk_pixbuf),
1316 (ev_document_type_get_from_mime),
1317 (ev_document_factory_get_document),
1318 (ev_document_factory_get_backend),
1319 (ev_document_factory_get_mime_types),
1320 (ev_document_factory_get_all_mime_types):
1321 * backend/ev-document-factory.h:
1322 * shell/Makefile.am:
1323 * shell/ev-document-types.c: (get_document_from_uri),
1324 (ev_document_types_get_document),
1325 (file_filter_add_mime_list_and_free),
1326 (ev_document_types_add_filters):
1327 * shell/ev-document-types.h:
1328 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1329 * shell/ev-properties-dialog.c:
1330 (ev_properties_dialog_set_document):
1331 * shell/ev-window.c: (ev_window_cmd_file_open),
1332 (ev_window_cmd_save_as):
1333 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1335 Rework document types managing to avoid code duplication
1336 and actually abstract from backend implementations.
1337 Also provide a minimal factory api that can be used by
1338 thumbnailer/properties.
1340 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1342 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1344 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1347 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1349 * shell/ev-properties-dialog.c
1350 (ev_properties_dialog_set_document): only call
1351 ev_properties_fonts_set_document() if the document implements the
1354 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1357 * properties/Makefile.am:
1358 * properties/ev-properties-view.c:
1359 (ev_properties_view_register_type):
1360 * properties/ev-properties-view.h:
1361 * properties/ev-properties-main.h:
1363 Implement nautilus plugin for properties.
1364 Works only for pdf atm, I need to rework the
1365 document types stuff to get this to work
1368 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1370 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1371 (ev_properties_fonts_set_document): use
1372 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1374 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1376 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1378 (PlaceImage, tiff2ps_process_page): use
1379 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1382 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1384 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1385 (main): to call gnome_authentication_manager_init. Should fix
1388 * configure.ac: that requires libgnomeui 2.6.0.
1390 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1392 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1393 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1394 use the new tiff2ps interfaces
1396 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1397 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1399 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1400 structure instead of global variables. Remove use of static
1401 variables in functions.
1403 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1405 * shell/ev-page-action.c: unref the completion after setting it to the
1408 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1410 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1413 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1415 * shell/ev-window.c (update_action_sensitivity): disable
1416 File->Print if the document does not implement the ps exporter
1419 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1423 * data/evince-properties.glade:
1424 * properties/.cvsignore:
1425 * properties/Makefile.am:
1426 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1427 (ev_properties_view_class_init), (ev_properties_view_format_date),
1428 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1429 (ev_properties_view_init), (ev_properties_view_new):
1430 * properties/ev-properties-view.h:
1431 * shell/Makefile.am:
1432 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1433 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1434 (ev_properties_dialog_new):
1435 * shell/ev-properties-dialog.h:
1436 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1437 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1438 (update_progress_label), (job_fonts_finished_cb),
1439 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1440 * shell/ev-properties-fonts.h:
1441 * shell/ev-properties.c:
1442 * shell/ev-properties.h:
1443 * shell/ev-window.c: (ev_window_setup_document),
1444 (ev_window_cmd_file_properties):
1446 Split the properties pages in two different objects, depend
1447 only on the backend where possible, use widgets instead
1448 of gobject for the glade part, reimplement the dialog
1450 I need this to implement nautilus properties page.
1452 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1454 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1455 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1456 (tiff_document_document_ps_exporter_iface_init): implement the ps
1457 exporter interface for tiff documents
1459 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1460 libtiff to implement TIFF postscript export
1462 * tiff/tiff2ps.h: added a header file for external tiff2ps
1465 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1468 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1470 * shell/ev-view.c: (scroll_to_current_page),
1471 (ev_view_set_fullscreen), (ev_view_set_presentation):
1473 Scroll to current page when exit from presentation
1475 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1477 * shell/ev-window.c: (update_document_mode),
1478 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1479 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1480 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1482 Exit from fullscreen mode when switch to presentation. Fix for
1485 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1487 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1488 return NULL if the document does not implement the selection
1491 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1493 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1494 reported height by using the resolution aspect ratio
1495 (tiff_document_render_pixbuf): scale the pixbuf using the
1496 resolution aspect ratio
1498 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1502 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1503 <kiltedaco@gmail.com>
1505 * djvu/djvu-document.c: (djvu_document_get_orientation),
1506 (djvu_document_set_orientation), (djvu_document_get_page_size),
1507 (rotate_pixbuf), (djvu_document_render_pixbuf),
1508 (djvu_document_document_iface_init):
1509 * dvi/dvi-document.c: (dvi_document_get_orientation),
1510 (dvi_document_set_orientation), (dvi_document_get_page_size),
1511 (rotate_pixbuf), (dvi_document_render_pixbuf),
1512 (dvi_document_document_iface_init):
1514 Dvi and djvu backends are ported to new API
1516 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1518 * backend/ev-selection.c: (ev_selection_get_selection_region),
1519 (ev_selection_get_selection_map):
1520 * backend/ev-selection.h:
1521 * pdf/ev-poppler.cc:
1522 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1524 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1525 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1526 (ev_pixbuf_cache_get_text_mapping):
1527 * shell/ev-pixbuf-cache.h:
1528 * shell/ev-view.c: (location_in_text),
1529 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1530 support to EvView. Now we can see where we can select! Sweet!
1532 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1534 * shell/ev-view.c (ev_view_button_press_event): Fix
1535 event->y + view->scroll_x typo.
1537 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1539 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1540 sub-GdkPixbuf instead of passing dest_x and dest_y.
1542 * shell/ev-view.c: (view_point_to_doc_point),
1543 (view_rect_to_doc_rect), (ev_view_button_press_event),
1544 (ev_view_motion_notify_event), (compute_new_selection_rect),
1545 (gdk_rectangle_point_in), (compute_new_selection_text),
1546 (compute_selections): Update selection code to keep the selection
1547 around as two points and not as a normalized rectangle, and fix
1548 page level selection in two-column mode.
1550 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1552 * shell/ev-window.c: (window_configure_event_cb):
1556 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1558 * pdf/ev-poppler.cc:
1562 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1564 * shell/Makefile.am:
1565 * shell/ev-metadata-manager.c: (item_free),
1566 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1567 (parse_value), (parseItem), (load_values),
1568 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1569 (save_values), (save_item), (get_oldest), (resize_items),
1570 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1571 * shell/ev-metadata-manager.h:
1573 Metadata manager from gedit but modified to use GValue, so that
1574 we dont need to keep converting from strings.
1578 ENABLE_METADATA conditional, on when dbus is on
1580 * shell/ev-application.c: (ev_application_open_uri):
1582 Show the window after load so that we can initialize
1583 window size before it's showed.
1585 * shell/ev-window.c: (ev_window_setup_from_metadata),
1586 (ev_window_open_uri), (window_configure_event_cb),
1589 Save and load metadata information about window size.
1590 Not yet keeping states in account.
1592 * shell/main.c: (main):
1594 Shutdown metadata manager.
1596 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1598 * shell/ev-application-service.xml:
1600 * shell/Makefile.am:
1601 * shell/ev-application.c:
1602 * shell/ev-application.h:
1603 * shell/ev-window.c:
1604 * shell/ev-window.h:
1607 Add an optional dbus interface (--enable-dbus).
1608 Rework application code, mainly to be easier to
1610 Do not open multiple windows with the same document,
1613 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1615 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1616 pixbuf iff it exists.
1618 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1621 * backend/ev-render-context.[ch]:
1622 * backend/ev-selection.[ch]:
1624 Massive changes. We now support text selection of pdfs, and not
1625 just rectangular selection. This is pretty broken still, but I
1626 want to get something into CVS.
1628 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1630 * pdf/ev-poppler.cc:
1632 Fix for Bug 309080: crash on window close.
1634 * shell/ev-page-action.c: (page_changed_cb):
1636 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1637 jensgr@gmx.net (Jens Granseuer).
1639 2005-06-25 Marcel Telka <marcel@telka.sk>
1641 * configure.in (ALL_LINGUAS): Added sk.
1643 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1645 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1648 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1655 * cut-n-paste/recent-files/Makefile.am:
1659 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1661 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1662 (pixbuf_document_set_orientation), (rotate_pixbuf),
1663 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1664 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1666 Implement rotation and cleanup the code a bit.
1668 * tiff/tiff-document.c: (tiff_document_get_page_size),
1669 (tiff_document_get_orientation), (tiff_document_set_orientation),
1670 (rotate_pixbuf), (tiff_document_render_pixbuf),
1671 (tiff_document_document_iface_init), (tiff_document_init):
1673 Implement rotation. Was the quicker solution for the release
1674 but we really need to share this code in the shell.
1676 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1678 * pdf/ev-poppler.cc:
1680 Enable rotation, require poppler cvs. Fix a leak.
1682 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1684 * shell/ev-window.c: (update_action_sensitivity):
1686 Make properties unsensitive if document backend doesn't provide
1689 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1691 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1692 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1693 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1694 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1695 (bitmap_flip_rotate_counter_clockwise):
1696 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1697 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1699 * dvi/mdvi-lib/common.h:
1700 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1701 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1702 (opendvi), (mdvi_reload), (mdvi_init_context),
1703 (mdvi_destroy_context), (mdvi_dopage), (special):
1704 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1705 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1706 (file_hash_free), (register_encoding), (parse_spec),
1707 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1708 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1709 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1710 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1711 (mdvi_register_font_type), (mdvi_unregister_font_type),
1712 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1713 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1714 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1715 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1716 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1717 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1718 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1719 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1720 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1721 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1722 (mdvi_unregister_special), (mdvi_flush_specials):
1723 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1725 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1726 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1727 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1728 (free_font_metrics), (flush_font_metrics):
1729 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1731 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1732 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1733 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1734 (dstring_insert), (dstring_new), (dstring_reset):
1735 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1737 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1738 avoid conflict with libtool on FC4
1740 * shell/ev-window.c: (ev_window_cmd_help_about):
1742 Update copyright year. Fix for bug 308828.
1744 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1746 * shell/ev-view.c: (add_scroll_binding_keypad),
1747 (ev_view_binding_activated), (ev_view_class_init),
1748 (on_adjustment_value_changed):
1750 Bug 170874: Arrow keys switch pages in presentation mode
1752 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1754 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1756 Fix for Bug 308265: Sidebar dissappears coming out of
1759 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1761 * shell/ev-application.c: (ev_application_open):
1762 * shell/ev-document-types.c: (ev_document_types_add_filters),
1763 (ev_document_types_add_filters_for_type):
1764 * shell/ev-document-types.h:
1765 * shell/ev-window.c: (ev_window_cmd_save_as):
1767 Suggest basename as template when saving, provide filters
1768 for save dialog. It's bug 308402
1770 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1772 * pdf/ev-poppler.cc:
1773 * shell/ev-sidebar-links.c: (job_finished_callback):
1774 * shell/ev-view.c: (update_find_status_message):
1778 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1780 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1781 (egg_recent_view_uimanager_set_list):
1783 Fix buglet in !show_numbers case.
1785 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1787 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1788 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1790 Use pango ellipsisation.
1792 * pdf/ev-poppler.cc:
1794 Fix refcount leak, from nsh.
1796 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1798 * cut-n-paste/recent-files/Makefile.am:
1799 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1800 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1802 Removed EggRecentViewGtk
1804 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1805 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1806 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1807 (ev_window_setup_recent):
1809 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1812 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1814 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1815 (egg_recent_view_gtk_finalize):
1819 * cut-n-paste/toolbar-editor/Makefile.am:
1821 Fix location of cursor icon.
1823 * pdf/ev-poppler.cc:
1824 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1825 (display_completion_text), (match_completion):
1826 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1827 (selection_changed_callback), (create_loading_model),
1828 (print_section_cb), (links_page_num_func),
1829 (update_page_callback_foreach):
1830 * shell/ev-window.c: (ev_window_dispose):
1832 Small memory fixes. Links model now store objects instead
1833 of pointers to improve memory management.
1835 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1837 * shell/ev-window.c: (zoom_control_changed_cb):
1839 Fix update of zoom control (bug 308268).
1841 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1843 * shell/ev-properties.c (set_property): escape the text correctly.
1844 Handles non-UTF-8 properties and escaped properties. Also, sets
1845 the text to "<i>None</i>" if the property isn't set.
1847 * data/evince-properties.glade: Change the label to be ellipsized,
1848 and give it a minimum size.
1850 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1852 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1853 * shell/ev-sidebar-links.c: (create_loading_model):
1854 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1855 * shell/ev-view.c: (ev_view_set_document):
1856 * shell/ev-window.c: (ev_window_dispose):
1858 Various small fixes, mostly memory leaks. Thanks to valgrind.
1860 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1862 * ps/ps-document.c: remove the locale.h include again ;-). And
1863 kill the (bogus) setlocale/savelocale business.
1865 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1869 Include locale.h to fix build
1871 * shell/ev-sidebar.c:
1873 Remove unnecessary includes
1875 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1877 * dvi/dvi-document.c: (dvi_document_load):
1878 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1881 Check for incorrect dvi files. Fix parsing dvi on AMD64
1882 platform. Thanks to tester@tester.ca (Olivier Crete).
1884 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1886 * shell/ev-page-action.c: (match_selected_cb),
1887 (display_completion_text), (match_completion), (update_model):
1888 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1889 (expand_open_links):
1890 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1891 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1892 (ev_sidebar_set_document):
1893 * shell/ev-window.c: (ev_window_xfer_job_cb),
1894 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1896 Fixed lot's of memory leaks, for example, memory leak on reload,
1897 described in bug 307793.
1899 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1901 * pdf/ev-poppler.cc:
1902 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1903 (update_visible_range), (adjustment_changed_cb),
1904 (ev_sidebar_thumbnails_fill_model),
1905 (ev_sidebar_thumbnails_refresh),
1906 (ev_sidebar_tree_selection_changed),
1907 (ev_sidebar_icon_selection_changed),
1908 (ev_sidebar_thumbnails_use_icon_view),
1909 (ev_sidebar_thumbnails_set_document):
1910 * shell/ev-sidebar-thumbnails.h:
1911 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1912 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1914 Refresh thumbnails when changing orientation. Not fully
1915 working yet becuase of a sidebar bug.
1917 Set page orientation to poppler page everywhere. This sucks
1918 really need to fix poppler.
1920 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1922 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1923 (egg_recent_view_gtk_new_menu_item),
1924 (egg_recent_view_gtk_set_property),
1925 (egg_recent_view_gtk_get_property),
1926 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1927 (egg_recent_view_gtk_set_tooltip_func),
1928 (egg_recent_view_gtk_set_label_width),
1929 (egg_recent_view_gtk_get_label_width):
1930 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1932 Sync with libegg (ellipsize labels)
1934 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1936 * data/evince-ui.xml:
1937 * shell/ev-window.c: (ev_window_cmd_go_forward),
1938 (ev_window_cmd_go_backward):
1940 Shift + PageUp moves 10 Pages. Fix for 306125
1942 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1944 * pdf/ev-poppler.cc:
1946 Add a flag to check if orientation has been overriden
1948 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1950 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1953 * ps/ps.h: add creator field to document.
1955 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1958 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1960 * data/evince-properties.glade:
1961 * shell/ev-properties.c: (ev_properties_set_document):
1963 s/PDF Version/Format
1965 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1967 * shell/ev-properties.c: (ev_properties_set_document):
1969 Remove unnecessary translations
1971 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1973 * cut-n-paste/toolbar-editor/Makefile.am:
1975 Correct library name
1977 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1980 * cut-n-paste/recent-files/egg-recent-model.c:
1981 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1982 (egg_recent_model_unlock_file):
1983 * cut-n-paste/recent-files/egg-recent-util.c:
1984 (egg_recent_util_get_unique_id):
1985 * cut-n-paste/recent-files/update-from-egg.sh:
1986 * cut-n-paste/toolbar-editor/Makefile.am:
1987 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1988 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1989 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1990 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1991 (egg_toolbars_model_get_type):
1992 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1994 Better makefile for toolbar editor and update everything
1997 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1999 * shell/ev-window.c: (update_document_mode):
2001 Prefer presentation mode when the document
2004 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2006 * data/evince-ui.xml:
2007 * shell/ev-window.c:
2009 Add control-equal for zooming
2011 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2013 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2015 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2017 * backend/ev-document.c: (ev_document_get_orientation):
2018 * backend/ev-document.h:
2019 * pdf/ev-poppler.cc:
2020 * ps/ps-document.c: (ps_document_get_orientation),
2021 (ps_document_set_orientation), (ps_document_document_iface_init):
2023 Add a get_orientation api. Improve set_orientation.
2025 * data/evince-ui.xml:
2026 * shell/ev-view.c: (ev_view_set_orientation),
2027 (ev_view_rotate_right), (ev_view_rotate_left):
2029 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2030 (ev_window_cmd_edit_rotate_right):
2032 Better ui for changing document orientation
2034 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2036 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2037 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2038 * shell/ev-sidebar-links.h:
2039 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2040 (ev_sidebar_page_iface_init):
2041 * shell/ev-sidebar-page.h:
2042 * shell/ev-sidebar-thumbnails.c:
2043 (ev_sidebar_thumbnails_get_property),
2044 (ev_sidebar_thumbnails_class_init),
2045 (ev_sidebar_thumbnails_set_document):
2046 * shell/ev-sidebar-thumbnails.h:
2047 * shell/ev-view.c: (ev_view_motion_notify_event):
2048 * shell/ev-window.c: (update_chrome_visibility),
2049 (ev_window_cmd_focus_page_selector),
2050 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2051 (sidebar_page_main_widget_update_cb), (ev_window_init):
2053 Autoraise toolbar on GoToPage binding and fix bindings in
2054 EvSidebarThumbnails page.
2056 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2058 * shell/ev-properties.c: (update_progress_label):
2060 Hide the progress label when finished; bug #307697.
2062 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2064 * pdf/ev-poppler.cc:
2066 Enable is_open for links, you will need poppler cvs
2068 * shell/ev-properties.c: (job_fonts_finished_cb):
2070 Get a lock on the document when filling the tree view
2072 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2074 * backend/ev-document-links.h:
2075 * pdf/ev-poppler.cc:
2076 * shell/ev-sidebar-links.c: (create_loading_model),
2077 (expand_open_links), (job_finished_callback):
2079 Expand links when specified by the document.
2080 Depend on a poppler api (defined out for now)
2082 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2084 * shell/ev-properties.c: (ev_properties_dispose),
2085 (ev_properties_class_init), (dialog_destroy_cb),
2086 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2087 (ev_properties_set_document), (ev_properties_new),
2088 (ev_properties_show):
2089 * shell/ev-properties.h:
2091 Make it an object, cleanup the code, api to show it as transient
2092 and to set the document.
2094 * shell/ev-window.c: (ev_window_setup_document),
2095 (ev_window_cmd_file_properties):
2097 Adapt to EvProperties changes, do not show multiple
2098 times, update it when document changes.
2100 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2103 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2104 (ps_document_set_orientation), (ps_document_document_iface_init):
2107 Implement orientation here too
2109 * shell/ev-properties.c: (ev_properties_new):
2110 * data/evince-properties.glade:
2112 Hide the fonts page for backends that doesnt
2115 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2117 * backend/ev-document.c: (ev_document_set_orientation):
2118 * backend/ev-document.h:
2119 * pdf/ev-poppler.cc:
2121 Add orientation api. Currently poppler api is not optimal,
2122 we need to set orientation every time we _get a page.
2123 I will try to fix that at some point.
2125 * data/evince-ui.xml:
2126 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2127 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2129 Add orientation menu items
2131 * shell/ev-page-cache.c: (ev_page_cache_clear):
2132 * shell/ev-page-cache.h:
2134 Add api to clear the cache
2136 * shell/ev-view.c: (setup_caches), (clear_caches),
2137 (ev_view_set_document), (ev_view_zoom_out),
2138 (ev_view_set_orientation):
2141 Implement orientation changing
2143 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2145 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2146 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2147 * backend/ev-document-fonts.h:
2149 Separate scan and fill so that we can incrementally fill from
2150 the main thread. Add a progress api.
2152 * data/evince-properties.glade:
2153 * pdf/ev-poppler.cc:
2154 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2156 * shell/ev-properties.c: (update_progress_label),
2157 (job_fonts_finished_cb), (setup_fonts_view):
2159 Incrementally feel the list and show the progress
2160 percentage in a label like acrobat does.
2162 You are going to need poppler cvs
2164 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2166 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2167 * backend/ev-document-fonts.h:
2168 * pdf/ev-poppler.cc:
2170 Make fonts model fill incrementally.
2172 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2173 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2174 (ev_job_queue_remove_job):
2175 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2176 (ev_job_fonts_new), (ev_job_fonts_run):
2179 New job for fonts scanning
2181 * shell/ev-properties.c: (job_fonts_finished_cb),
2182 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2183 * shell/ev-properties.h:
2184 * shell/ev-window.c: (ev_window_cmd_file_properties):
2186 Incrementally feel the treeview using the new job. Show Loading...
2187 message until scanning is completed.
2189 Hopefully I didnt break the build without the poppler patch.
2191 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2193 * shell/ev-application.c: (ev_application_open):
2194 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2195 (ev_document_type_get_type), (ev_document_type_lookup):
2196 * shell/ev-document-types.h:
2197 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2198 * shell/ev-job-xfer.h:
2199 * shell/ev-window.c: (ev_window_clear_local_uri),
2200 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2201 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2202 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2204 Transfer remote documents to tmp directory to display them later.
2206 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2208 * backend/ev-document-info.h:
2209 * shell/ev-properties.c: (ev_properties_new):
2211 s/GTime*/GTime. Not sure why we was using a pointer
2214 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2216 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2217 situations. That situation is that you're using GTK+-HEAD with
2218 the patch at #306726 is applied, and you have a document with <
2219 1500 pages in it. It's not quite as uniformly nice as the
2220 TreeView, but should be better in the long run.
2222 I'm pretty sure I guarded against breaking compilation with
2223 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2226 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2227 widget yet, so I commented that code out
2228 enable_view_actions_for_widget() for now. Need to figure this
2231 * shell/ev-page-action.c (match_selected_cb): emit the right
2232 signals. Our cool C-l completion now works.
2234 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2236 * backend/Makefile.am:
2237 * backend/ev-document-fonts.c:
2238 * backend/ev-document-links.c:
2239 * backend/ev-document.c: (ev_document_load):
2240 * backend/ev-document.h:
2241 * backend/ev-job-queue.c:
2242 * backend/ev-job-queue.h:
2243 * backend/ev-jobs.c:
2244 * backend/ev-jobs.h:
2245 * backend/ev-page-cache.c:
2246 * backend/ev-page-cache.h:
2248 EvPageCache and EvJobs are moved to shell.
2250 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2252 * lib/ev-file-helpers.h:
2254 New helper to work with temporary files
2256 * shell/Makefile.am:
2257 * shell/ev-application.c: (ev_application_open):
2258 * shell/ev-application.h:
2259 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2260 (remove_job_from_async_queue), (add_job_to_async_queue),
2261 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2262 (handle_job), (search_for_jobs_unlocked),
2263 (no_jobs_available_unlocked), (ev_render_thread),
2264 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2265 (ev_job_queue_add_job), (move_job_async), (move_job),
2266 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2267 * shell/ev-job-queue.h:
2268 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2269 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2270 * shell/ev-job-xfer.h:
2271 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2272 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2273 (ev_job_links_class_init), (ev_job_render_init),
2274 (ev_job_render_dispose), (ev_job_render_class_init),
2275 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2276 (ev_job_thumbnail_class_init), (ev_job_load_init),
2277 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2278 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2279 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2280 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2282 * shell/ev-page-action.c: (ev_page_action_set_document):
2283 * shell/ev-page-cache.c: (ev_page_cache_init),
2284 (ev_page_cache_class_init), (ev_page_cache_finalize),
2285 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2286 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2287 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2288 (ev_page_cache_get_title), (ev_page_cache_get_size),
2289 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2290 (ev_page_cache_get_height_to_page),
2291 (ev_page_cache_get_max_label_chars),
2292 (ev_page_cache_get_page_label),
2293 (ev_page_cache_has_nonnumeric_page_labels),
2294 (ev_page_cache_get_info), (ev_page_cache_next_page),
2295 (ev_page_cache_prev_page), (ev_page_cache_get):
2296 * shell/ev-page-cache.h:
2297 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2298 (ev_pixbuf_cache_clear_job_sizes),
2299 (ev_pixbuf_cache_add_jobs_if_needed),
2300 (ev_pixbuf_cache_set_page_range):
2301 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2302 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2303 * shell/ev-sidebar-thumbnails.c:
2304 (ev_sidebar_tree_selection_changed),
2305 (ev_sidebar_thumbnails_set_document):
2306 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2307 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2308 (ev_statusbar_get_context_id), (ev_statusbar_push),
2309 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2310 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2311 (ev_statusbar_set_progress):
2312 * shell/ev-statusbar.h:
2313 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2314 (ev_view_find_previous):
2315 * shell/ev-window.c: (ev_window_is_empty),
2316 (ev_window_setup_document), (password_dialog_response),
2317 (ev_window_clear_jobs), (ev_window_load_job_cb),
2318 (ev_window_xfer_job_cb), (ev_window_open_uri),
2319 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2320 (ev_window_print), (ev_window_print_range),
2321 (ev_window_state_event), (ev_window_cmd_view_reload),
2322 (menu_item_select_cb), (menu_item_deselect_cb),
2323 (view_status_changed_cb), (ev_window_dispose),
2324 (drag_data_received_cb), (ev_window_init):
2325 * shell/ev-window.h:
2326 * shell/main.c: (load_files):
2328 New statusbar to show progress on idle. Two new jobs -
2329 xfer job and load job to load document in background. And update
2330 of page_cache clients to new location of code.
2332 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2334 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2335 selection in open dialog. It also remembers the last visited directory
2336 in the current session.
2338 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2340 * shell/ev-properties.c: (ev_properties_new):
2341 * shell/ev-properties.h:
2342 * shell/ev-window.c: (ev_window_cmd_file_properties):
2344 Get document info from page cache instead of document itself.
2345 This should fix crash related to race conditions described in
2348 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2350 * ps/ps-document.c: (ps_document_init),
2351 (send_ps), (get_page_box), (output), (catchPipe), (input),
2352 (stop_interpreter), (file_length), (file_readable),
2353 (check_filecompressedb), (ps_document_enable_interpreter),
2354 (document_load), (ps_async_renderer_render_pixbuf):
2357 Big cleanup of the ps code
2359 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2361 * backend/Makefile.am:
2362 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2363 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2364 * backend/ev-async-renderer.h:
2366 Add an async renderer interface (method + callback) which
2367 is useful for backends like ps.
2369 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2370 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2371 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2372 (ev_job_queue_add_job), (move_job_async), (move_job),
2373 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2375 Add queues for async renderer, these are executed on the
2378 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2379 (ev_job_render_run):
2380 * backend/ev-jobs.h:
2382 If the backend support async renderer interface use it.
2384 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2385 (setup_pixmap), (ps_document_get_type),
2386 (ps_async_renderer_render_pixbuf),
2387 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2389 Implement async renderer interface.
2391 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2393 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2395 Cleanup links job on exit.
2397 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2399 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2400 (drag_data_get_cb), (drag_data_received_cb):
2401 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2402 (drag_data_get_cb), (parse_item_list),
2403 (egg_toolbar_editor_load_actions):
2404 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2405 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2406 (parse_item_list), (parse_toolbars):
2407 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2408 (dvi_pixbuf_put_pixel):
2410 Fix gcc 4.0 warnings
2412 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2414 * ps/ps-document.c: (start_interpreter):
2416 Fix warning when loading ps
2418 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2420 * ps/ps-document.c: (output):
2422 Fix crash when priting gs error messages.
2424 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2426 * backend/ev-page-cache.c: (_ev_page_cache_new):
2427 * backend/ev-page-cache.h:
2429 Use a const to return title so that we dont double
2430 free it. Small cleanup and fix a leak.
2432 * shell/ev-window.c: (update_window_title):
2434 strdup value from get_title.
2436 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2438 * shell/ev-sidebar-links.c: (job_finished_callback),
2439 (ev_sidebar_links_set_document):
2441 Cleanup the old job when changing document
2443 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2445 * shell/ev-stock-icons.c:
2446 * shell/ev-stock-icons.h:
2447 * shell/ev-window.c:
2449 Add stock icons for actions that can appear in toolbar. Fix for
2452 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2454 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2455 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2456 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2457 * backend/ev-page-cache.h:
2458 * shell/ev-view.c: (scroll_to_current_page),
2459 (view_update_range_and_current_page), (get_page_y_offset),
2460 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2461 (ev_view_size_request_continuous),
2462 (ev_view_zoom_for_size_continuous_and_dual_page),
2463 (ev_view_zoom_for_size_continuous):
2465 More compact EvView layout in document with pages of different size.
2467 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2469 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2472 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2474 * shell/ev-view.c: (view_set_adjustment_values):
2475 * shell/ev-window.c: (ev_window_cmd_file_properties):
2477 A bit different fix for rounding problem but it has no
2478 problems on startup. Make properties window transient to parent.
2480 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2482 * pdf/ev-poppler.cc:
2484 More commenting of font stuff.
2486 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2488 * pdf/ev-poppler.cc:
2490 Comment out some more fonts stuff. Should really
2491 work without the poppler patch now.
2493 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2495 * pdf/ev-poppler.cc:
2499 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2501 * data/evince-properties.glade:
2502 * pdf/ev-poppler.cc:
2503 * shell/ev-properties.c: (setup_fonts_view):
2505 Set the column title. Show the dialog only
2506 once everything is setup.
2507 Getting font info can be very slow... will
2508 prolly need to make this threaded too.
2510 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2512 * backend/Makefile.am:
2513 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2514 (ev_document_fonts_get_fonts_model):
2515 * backend/ev-document-fonts.h:
2516 * data/evince-properties.glade:
2517 * pdf/ev-poppler.cc:
2518 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2519 * shell/ev-properties.h:
2520 * shell/ev-window.c: (ev_window_cmd_file_properties):
2522 Implement fonts list. Defined out for now, since it depends
2523 on a not yet committed poppler patch.
2525 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2527 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2530 * shell/ev-window.c: Make sure we add the timeout when we get a
2533 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2534 adjustment->value before calculating the zoom factor to average
2535 out all of our rounding errors. The page no longer 'drifts' when
2538 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2540 * data/evince-properties.glade:
2541 * shell/ev-properties.c: (ev_properties_format_date),
2544 Labels don't expand when the dialogue is resized.
2545 strftime result needs to be converted to UTF-8. Thanks
2546 to Christian Persch <chpe@gnome.org>.
2548 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2550 * data/evince-properties.glade:
2554 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2556 * backend/ev-document-info.h:
2557 * backend/ev-document.c: (ev_document_info_free):
2558 * data/evince-properties.glade:
2559 * pdf/ev-poppler.cc:
2560 * ps/ps-document.c: (ps_document_get_info):
2561 * shell/ev-properties.c: (ev_properties_format_date),
2562 (set_property), (ev_properties_new):
2563 * shell/ev-properties.h:
2564 * shell/ev-window.c: (ev_window_cmd_file_properties):
2566 Rework properties code to take only EvPropertyInfo
2567 in the constructor so that it can be useful for
2568 nautilus plugin too.
2570 Deal with backends that doesnt support some properties.
2571 Make set property code generic.
2573 2005-06-04 Christian Persch <chpe@gnome.org>
2575 * data/evince-properties.glade:
2577 fix spacings, make resizeable, and make data labels
2578 selectable + ellipsised
2580 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2582 * backend/ev-document-info.h:
2584 * data/evince-ui.xml:
2585 * pdf/ev-poppler.cc:
2586 * shell/Makefile.am:
2587 * shell/ev-window.c: (update_action_sensitivity),
2588 (ev_window_cmd_file_properties):
2590 Initial go at file properties. Patch by
2591 Emil Soleyman-Zomalan <emil@soleyman.com>.
2592 Needs love see #169583
2594 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2596 * ps/ps-document.c: (output):
2597 * ps/ps.c: (psscan):
2599 Try to render even if psscan fails.
2601 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2603 * ps/ps.c: (psscan), (pscopydoc):
2605 Port buffered reading code from gv
2607 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2609 * ps/ps-document.c: (interpreter_message), (output):
2611 Do not fail on interpreter messages
2613 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2615 * backend/ev-document-misc.c:
2616 (ev_document_misc_get_thumbnail_frame):
2618 Pages can be 0 x 0, dont assert on this case
2620 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2622 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2623 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2625 Correctly manage our reference on document. Finally the reload
2626 huge leak is gone...
2628 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2630 * ps/ps-document.c: (ps_document_dispose):
2632 Forgot to chain it to the parent. Thanks chpe.
2634 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2636 * ps/ps-document.c: (ps_document_dispose),
2637 (ps_document_class_init), (stop_interpreter), (document_load):
2639 Cleanup dispose a bit. Dont leak the whole pixmap.
2641 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2643 * pdf/ev-poppler.cc:
2645 Release the poppler document on dispose
2647 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2649 * shell/ev-view.c: (ev_view_set_document):
2651 Release ref on the pixbuf cache when changing
2654 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2656 * ps/ps-document.c: (ps_document_get_info):
2660 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2662 * backend/ev-page-cache.c: (ev_page_cache_init),
2663 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2664 * backend/ev-page-cache.h:
2665 * shell/ev-page-action.c: (page_changed_cb):
2667 Set page action entry width depending on labels width. Fix
2670 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2672 * backend/ev-link.c: (ev_link_class_init):
2674 Allow -1 as page value (error)
2676 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2678 * shell/ev-sidebar-thumbnails.c:
2679 (ev_sidebar_thumbnails_set_document):
2680 * shell/ev-view.c: (scroll_to_current_page),
2681 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2682 (page_changed_cb), (on_adjustment_value_changed),
2683 (ev_view_set_document):
2685 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2688 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2691 * djvu/djvu-document.c: (djvu_document_get_page_size):
2693 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2696 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2698 * shell/ev-view.c (draw_one_page): modify the expose handling to
2701 * shell/ev-window.c (update_action_sensitivity): Respect
2702 permissions field. Kowtow to the man.
2704 * pdf/ev-poppler.cc: Get the permissions field.
2706 * tiff/*c: Make a tiny bit more robust.
2708 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2710 * djvu/djvu-document.c:
2712 Pop messages from djvu context message queue.
2714 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2716 * configure.ac, Makefile.am, shell/Makefile.am:
2717 * tiff/Makefile.am, shell/ev-document-types.c:
2719 Cleanup tiff configure checks. Fix for bug 305218.
2721 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2723 * configure.ac: Added "uk" to ALL_LINGUAS.
2725 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2727 * cut-n-paste/zoom-control/ephy-zoom.c:
2728 (ephy_zoom_get_changed_zoom_level):
2729 * cut-n-paste/zoom-control/ephy-zoom.h:
2730 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2731 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2732 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2733 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2734 (zoom_control_changed_cb), (ev_window_init):
2736 Fix minor points related to moving best fit up. Introduce
2737 "zoom" property and make zoom control change it's value on
2738 notify::zoom signals. Fix for 305080.
2740 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2742 * data/evince-ui.xml:
2743 * shell/ev-window.c: (set_view_actions_sensitivity):
2745 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2747 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2751 Depends on poppler 0.3.2
2753 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2755 * cut-n-paste/recent-files/egg-recent-item.c:
2756 (egg_recent_item_get_short_name):
2757 * cut-n-paste/toolbar-editor/Makefile.am:
2758 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2759 (new_pixbuf_from_widget):
2760 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2761 * cut-n-paste/toolbar-editor/egg-marshal.c:
2762 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2763 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2767 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2769 * tiff/tiff-document.c: Rough TIFF backend.
2771 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2775 * cut-n-paste/toolbar-editor/Makefile.am:
2779 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2781 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2782 (ev_view_find_next), (ev_view_find_previous):
2784 Remove the locks around get_n_results
2786 2005-05-21 Juerg Billeter <j@bitron.ch>
2788 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2790 Pass correct number of pages to poppler.
2792 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2796 * data/evince.desktop.in:
2797 * data/evince.desktop.in.in:
2800 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2802 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2804 * shell/ev-view.c: (view_update_adjustments),
2805 (view_set_adjustment_values): cast adjustmen->value to (int)
2806 before using it. Otherwise, we get off by a pixel in some
2809 (draw_one_page): Draw the border on expose.
2811 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2813 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2814 adjustment when the mode changes, #304923
2816 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2818 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2819 flickering on resize but still use gdk_window_scroll on
2822 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2824 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2827 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2829 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2830 second page on page_changed if possible, #304669
2832 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2834 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2835 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2837 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2840 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2841 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2842 (ev_view_zoom_for_size_presentation),
2843 (ev_view_zoom_for_size_continuous_and_dual_page),
2844 (ev_view_zoom_for_size_continuous),
2845 (ev_view_zoom_for_size_dual_page),
2846 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2848 * shell/ev-window.c: (update_view_size),
2849 (ev_window_sizing_mode_changed_cb):
2851 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2852 the scrollbars. It's not 100% right, but it's much closer. Kills
2853 an infinite loop, #304769
2856 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2858 * data/evince-ui.xml:
2859 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2860 * shell/ev-window.c: (set_view_actions_sensitivity):
2862 Make PgUp/Down behave like Space
2864 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2866 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2867 * backend/ev-ps-exporter.h:
2868 * pdf/ev-poppler.cc:
2869 * ps/ps-document.c: (ps_document_ps_export_begin):
2870 * shell/ev-print-job.c: (idle_print_handler):
2872 Adapt to new poppler api
2874 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2876 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2877 (ephy_zoom_control_init):
2879 Translate zoom levels
2881 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2883 * cut-n-paste/zoom-control/ephy-zoom.c:
2884 (ephy_zoom_get_zoom_level_index):
2886 Fix current zoom -> zoom control match
2888 2005-05-18 James Bowes <bowes@cs.dal.ca>
2890 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2891 rather than the scrolled_window that it's in. Fixes bug #304655.
2893 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2895 * shell/ev-view.c: (view_update_adjustments),
2896 (view_set_adjustment_values), (view_update_range_and_current_page),
2897 (view_scroll_to_page), (set_scroll_adjustment),
2898 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2899 (ev_view_scroll), (ev_view_scroll_view),
2900 (ensure_rectangle_is_visible), (find_page_at_location),
2901 (get_link_at_location), (go_to_link), (status_message_from_link),
2902 (ev_view_size_request_continuous_dual_page),
2903 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2904 (ev_view_unrealize), (ev_view_expose_event),
2905 (ev_view_button_press_event), (ev_view_motion_notify_event),
2906 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2907 (draw_rubberband), (highlight_find_results), (draw_one_page),
2908 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2909 (ev_view_init), (find_changed_cb), (page_changed_cb),
2910 (on_adjustment_value_changed), (ev_view_new),
2911 (ev_view_set_document), (ev_view_set_zoom),
2912 (ev_view_set_continuous), (ev_view_set_dual_page),
2913 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2914 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2915 (ev_view_zoom_for_size_presentation),
2916 (ev_view_zoom_for_size_continuous_dual_page),
2917 (ev_view_zoom_for_size_continuous),
2918 (ev_view_zoom_for_size_dual_page),
2919 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2920 (ev_view_get_status), (ev_view_set_status),
2921 (update_find_status_message), (ev_view_get_find_status),
2922 (ev_view_set_find_status), (jump_to_find_result),
2923 (jump_to_find_page), (compute_selections), (clear_selection),
2924 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2925 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2926 (ev_view_update_primary_selection),
2927 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2929 * shell/ev-window.c: (ev_window_open_page_label),
2930 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2932 * shell/ev-window.h:
2933 * shell/main.c: (load_files):
2935 Massive code clean up from Nickolay Shmyrev. Keep page offset
2936 when resizing. Remove the bin_window(). Also, patch from James
2937 Bowes to fix command line page, #300641
2939 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2941 * data/evince-ui.xml:
2944 * shell/ev-window.c: (update_action_sensitivity):
2946 Get rid of View->Normal Size, it's just confusing
2948 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2950 * backend/ev-document-info.h:
2951 * backend/ev-document.c: (ev_document_info_free): Free the
2954 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2955 (clear_range), (add_range), (update_visible_range),
2956 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2957 (ev_sidebar_thumbnails_set_document):
2958 * shell/ev-window.c: (ev_window_setup_document): Only render the
2959 visible thumbnails. It takes an instant to render, but it uses
2962 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2964 * shell/ev-sidebar-links.c: (popup_menu_cb):
2968 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2971 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2972 (button_press_cb), (ev_sidebar_links_construct):
2974 Show the popup menu also on keybindings
2976 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2978 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2979 * shell/ev-window.h:
2981 Expose api to print a range (with dialog). Make private _print use
2984 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2985 (ev_sidebar_links_construct):
2987 Show a print context menu on linkx, it prints the selected
2990 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2992 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2995 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3001 * shell/ev-window.c: (build_comments_string),
3002 (ev_window_cmd_help_about):
3004 Show poppler version/backend and authors
3006 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3008 * cut-n-paste/zoom-control/ephy-zoom.c:
3009 (ephy_zoom_get_zoom_level_index):
3010 * cut-n-paste/zoom-control/ephy-zoom.h:
3012 Move the best fit items at the top of the list
3014 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3016 * shell/ev-marshal.list:
3017 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3018 (activate_cb), (match_selected_cb), (activate_link_cb),
3019 (connect_proxy), (ev_page_action_class_init):
3020 * shell/ev-page-action.h:
3022 Use signals to notify action activation. Hopefully
3023 I did not break completion since I cant test...
3025 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3026 (register_custom_actions):
3028 Connect to page selector actions and also grab focus on
3029 the view when activated.
3031 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3033 * pdf/ev-poppler.cc:
3034 * backend/ev-page-cache.c: make page size calculation consistent
3035 and set it to (int)( width * scale + 0.5). This makes the weird
3036 line going through the middle of the page go away.
3038 * shell/ev-view.c: move painting the background page after
3039 checking the expose area covers us.
3041 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3043 * data/evince-password.glade:
3045 Mark labels as not translatable. Fix for bug 302842.
3047 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3049 * configure.ac: Added "es" to ALL_LINGUAS.
3051 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3053 * data/evince-toolbar.xml:
3054 * shell/ev-window.c: (update_action_sensitivity),
3055 (ev_window_setup_document), (ev_window_set_page_mode),
3058 Remove some leftover code from jrb first continous
3059 attempt. Use the new actions, we still need good icons
3062 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3064 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3066 Update label when connecting proxy. Fix a warning with NULL
3069 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3071 * data/evince-ui.xml:
3072 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3073 * shell/ev-page-action.h:
3074 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3076 Add mnemonic for edit toolbar.
3077 ctrl+l focus the page entry.
3079 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3082 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3084 * shell/main.c: (main):
3086 Put the toolbar xml in evince own dot dir
3088 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3090 * shell/ev-window.c: (ev_window_init):
3092 Make the toolbar not removable
3094 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3096 * data/evince-ui.xml:
3097 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3098 * shell/ev-sidebar-links.h:
3099 * shell/ev-sidebar-thumbnails.c:
3100 (ev_sidebar_thumbnails_get_treeview):
3101 * shell/ev-sidebar-thumbnails.h:
3102 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3103 (ev_view_class_init):
3105 * shell/ev-window.c: (update_action_sensitivity),
3106 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3107 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3108 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3111 This is evil... Make space/backspace global accelerators but
3112 enable them only for some widgets (sidebars and view).
3113 I dont like it, but I dont know a better way... :/
3115 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3117 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3118 (ev_page_action_widget_finalize),
3119 (ev_page_action_widget_class_init), (update_page_cache):
3121 Keep a weak reference on proxy->page_cache so that we
3122 dont try to disconnect the signal if the object is already
3123 gone. Maybe there is a better way to cleanup reference handling
3124 in page action though...
3126 2005-05-10 Juerg Billeter <j@bitron.ch>
3128 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3129 * backend/ev-ps-exporter.h:
3130 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3131 * ps/ps-document.c: (ps_document_ps_export_begin):
3133 Change api to pass print range to ps_exporter_begin. The pdf backend
3134 requires this information.
3136 * shell/ev-print-job.c: (idle_print_handler):
3140 2005-05-10 Juerg Billeter <j@bitron.ch>
3142 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3143 (idle_print_handler)
3144 * shell/ev-window.c: (ev_window_print):
3146 Support printing page range, based on patch by Amaury Jacquot
3148 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3150 * data/evince-toolbar.xml:
3152 Add zoom control to available items
3154 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3156 * shell/ev-window.c: (update_action_sensitivity):
3158 Set slash action insensitive when appropriate
3160 2005-05-10 Christian Persch <chpe@gnome.org>
3162 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3164 Fix warning on the overflow menu
3166 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3168 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3170 Check for uri correctness/existence
3172 2005-05-09 Juerg Billeter <j@bitron.ch>
3174 * shell/ev-window.c: (using_postscript_printer):
3176 LPD printers use postscript, too
3178 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3180 * shell/ev-window.c: (register_custom_actions):
3182 The zoom one is actually sort of useful,
3185 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3187 * shell/ev-window.c: (register_custom_actions):
3189 Hide page/zoom controls from overflow, they
3192 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3194 * cut-n-paste/update-from-egg.sh:
3196 Share it between all cut-n-paste subdirs
3198 * cut-n-paste/recent-files/Makefile.am:
3200 Fix to use "global" update-from-egg.sh
3202 * cut-n-paste/recent-files/egg-recent-model.c:
3203 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3204 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3205 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3206 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3210 * cut-n-paste/toolbar-editor/Makefile.am:
3212 Fix to use "global" update-from-egg.sh
3214 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3218 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3221 * cut-n-paste/Makefile.am:
3222 * cut-n-paste/recent-files/Makefile.am:
3223 * cut-n-paste/toolbar-editor/.cvsignore:
3224 * cut-n-paste/toolbar-editor/Makefile.am:
3225 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3226 (egg_editable_toolbar_get_type), (get_toolbar_position),
3227 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3228 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3229 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3230 (set_item_drag_source), (create_item_from_action), (create_item),
3231 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3232 (popup_toolbar_context_menu_cb), (free_dragged_item),
3233 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3234 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3235 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3236 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3237 (item_added_cb), (item_removed_cb),
3238 (egg_editable_toolbar_construct),
3239 (egg_editable_toolbar_disconnect_model),
3240 (egg_editable_toolbar_deconstruct),
3241 (egg_editable_toolbar_set_model),
3242 (egg_editable_toolbar_set_ui_manager),
3243 (egg_editable_toolbar_set_property),
3244 (egg_editable_toolbar_get_property),
3245 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3246 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3247 (egg_editable_toolbar_new_with_model),
3248 (egg_editable_toolbar_get_edit_mode),
3249 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3250 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3251 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3252 (new_pixbuf_from_widget), (new_separator_pixbuf),
3253 (update_separator_image), (style_set_cb),
3254 (_egg_editable_toolbar_new_separator_image),
3255 (egg_editable_toolbar_get_model):
3256 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3257 * cut-n-paste/toolbar-editor/egg-marshal.c:
3258 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3259 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3260 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3261 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3262 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3263 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3264 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3265 (editor_drag_data_delete_cb), (drag_data_get_cb),
3266 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3267 (editor_create_item), (update_editor_sheet), (setup_editor),
3268 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3269 (parse_item_list), (model_has_action), (update_actions_list),
3270 (egg_toolbar_editor_load_actions):
3271 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3272 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3273 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3274 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3275 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3276 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3277 (egg_toolbars_model_add_separator), (impl_add_item),
3278 (parse_item_list), (egg_toolbars_model_add_toolbar),
3279 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3280 (impl_get_item_data), (impl_get_item_type),
3281 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3282 (egg_toolbars_model_init), (free_toolbar),
3283 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3284 (egg_toolbars_model_remove_toolbar),
3285 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3286 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3287 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3288 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3289 (egg_toolbars_model_get_item_data),
3290 (egg_toolbars_model_get_item_type):
3291 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3292 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3294 * data/evince-toolbar.xml:
3295 * data/evince-ui.xml:
3296 * data/hand-open.png:
3298 * shell/Makefile.am:
3299 * shell/ev-window.c: (update_chrome_visibility),
3300 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3301 (ev_window_dispose), (ev_window_init):
3303 Implement epiphany like toolbar editor. Based on patch by
3304 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3306 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3308 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3310 Use set_cursor instead of set_selection, so that
3311 the keyboard focus moves too.
3313 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3315 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3317 Fix infinite loop when loading Type1 fonts
3319 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3321 * data/evince-ui.xml:
3322 * shell/ev-window.c:
3326 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3330 Make --disable really disable
3332 2005-05-07 Juerg Billeter <j@bitron.ch>
3334 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3336 Compare page labels even without has_labels set, fixes setting page
3339 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3341 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3342 (ev_view_set_cursor), (ev_view_button_press_event),
3343 (ev_view_motion_notify_event), (ev_view_button_release_event),
3346 Implement middle button scrolling. Based on a patch
3347 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3349 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3351 * shell/ev-document-types.c: (get_slow_mime_type),
3352 (get_document_type_from_mime), (ev_document_type_lookup):
3353 * shell/ev-document-types.h:
3355 Change api to lookup from uri. Do fast lookup first, if the
3356 type is unknown try with data sniffing.
3358 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3359 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3363 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3365 * thumbnailer/Makefile.am:
3369 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3376 * data/evince-ui.xml:
3378 Hide presentation mode for now
3380 * shell/ev-view.c: (highlight_find_results):
3382 Show current find selection only on current page
3384 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3386 * shell/ev-view.c: (ev_view_select_all):
3388 Compute size of the actual page, not of
3391 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3393 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3394 (view_rect_to_doc_rect), (compute_selections),
3395 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3396 (ev_view_copy), (ev_view_primary_get_cb),
3397 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3398 (ev_view_button_press_event), (ev_view_motion_notify_event),
3399 (ev_view_button_release_event), (page_changed_cb):
3403 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3405 * shell/ev-view.c: (compute_border), (get_page_extents),
3406 (doc_rect_to_view_rect), (highlight_find_results),
3407 (ev_view_bin_expose), (ev_view_select_all),
3408 (ev_view_motion_notify_event), (update_find_status_message),
3409 (jump_to_find_result), (jump_to_find_page):
3411 First go at fixing search, still buggy
3413 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3415 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3416 dropdown box and button at the top of the sidebar.
3418 2005-05-02 James Bowes <bowes@cs.dal.ca>
3420 * configure.ac: Output zoom-control Makefile.
3421 * cut-n-paste/Makefile.am: build zoom-control subdir.
3422 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3423 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3424 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3425 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3426 * cut-n-paste/zoom-control/ephy-zoom.c:
3427 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3428 from epiphany, and modified to add a separator into the menu.
3429 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3430 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3431 zoom-control action.
3432 * shell/Makefile.am: Include zoom-control flags.
3433 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3434 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3435 (ev_view_zoom_for_size_presentation),
3436 (ev_view_zoom_for_size_continuous_and_dual_page),
3437 (ev_view_zoom_for_size_continuous),
3438 (ev_view_zoom_for_size_dual_page),
3439 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3440 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3441 ev_view_get_zoom and ev_view_get_sizing_mode.
3443 * shell/ev-window.c: (update_action_sensitivity),
3444 (update_sizing_buttons), (zoom_control_changed_cb),
3445 (register_custom_actions): Initialize and use the zoom-control
3448 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3450 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3451 preview cache back to 1. Don't know when it got set to 0.
3453 * shell/ev-view.c: (compute_border), (ev_view_realize),
3454 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3455 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3456 (ev_view_get_fullscreen), (ev_view_set_presentation),
3457 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3458 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3460 * shell/ev-window.c:
3461 (update_chrome_visibility),
3462 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3463 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3464 (update_document_mode), (ev_window_update_fullscreen_action),
3465 (ev_window_fullscreen), (ev_window_unfullscreen),
3466 (ev_window_cmd_view_fullscreen),
3467 (ev_window_update_presentation_action),
3468 (ev_window_run_presentation), (ev_window_stop_presentation),
3469 (ev_window_cmd_view_presentation), (ev_window_state_event),
3470 (ev_window_focus_in_event), (ev_window_focus_out_event),
3471 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3472 * data/evince-ui.xml: Initial presentation mode. We should
3473 probably hide this until it's done, as it's quite rough. Also,
3474 change full-screen to fullscreen and add two getters to EvView.
3476 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3478 * shell/ev-page-action.c: (update_page_cache),
3479 (ev_page_action_dispose):
3480 * shell/ev-window.c: (destroy_fullscreen_popup),
3481 (ev_window_create_fullscreen_popup):
3483 Use connect_object rather than explicitly
3484 disconnect on dispose.
3486 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3488 * shell/ev-page-action.c: (update_page_cache),
3489 (ev_page_action_dispose):
3491 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3493 * backend/ev-page-cache.c: (_ev_page_cache_new),
3494 (ev_page_cache_set_page_label),
3495 (ev_page_cache_has_nonnumeric_page_labels):
3496 * backend/ev-page-cache.h:
3497 * shell/ev-page-action.c: (update_pages_label):
3499 If all page labels are numeric, fallback to default
3500 way to display number of pages. See bug 173185.
3502 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3504 * shell/ev-page-action.c: (ev_page_action_dispose):
3505 * shell/ev-view.c: (view_update_range_and_current_page):
3506 * shell/ev-window.c: (ev_window_dispose):
3508 Set page on scroll in continuous mode. Fixes bug 301986.
3509 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3511 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3515 Require poppler 0.3.0
3517 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3519 * shell/Makefile.am, configure.ac: Fix build problems
3520 with t1lib. Bug 301996.
3522 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3524 * shell/ev-view.c: (ev_view_scroll_event):
3526 Scroll up increase zoom
3528 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3530 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3531 (ev_view_set_sizing_mode),
3532 (ev_view_zoom_for_size_continuous_and_dual_page),
3533 (ev_view_zoom_for_size_continuous):
3534 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3535 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3536 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3539 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3540 Fix for 165473 and 165472.
3542 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3545 * thumbnailer/Makefile.am:
3546 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3547 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3548 * thumbnailer/evince-thumbnailer.schemas.in:
3550 Make thumbnailer schemas translatable. Fix for bug 301773
3552 * thumbnailer/evince-thumbnailer-djvu.schemas:
3553 * thumbnailer/evince-thumbnailer-dvi.schemas:
3554 * thumbnailer/evince-thumbnailer.schemas:
3558 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3560 * shell/ev-view.c (ev_view_init): forgot to set this.
3562 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3564 * shell/ev-view.c: (find_page_at_location),
3565 (get_link_at_location),
3566 (ev_view_set_show_border), (ev_view_set_spacing),
3567 (ev_view_zoom_for_size_continuous_and_dual_page),
3568 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3569 Also, add a quick fix measuring of widths. Also, removed
3570 ev_view_set_spacing and ev_view_set_show_border.
3572 * shell/ev-window.c: (ev_window_unfullscreen),
3573 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3575 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3577 * shell/ev-view.c: (view_update_range_and_current_page),
3580 Fix crash on exit and scrolling to page in continuous view.
3582 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3585 * backend/ev-page-cache.c: (_ev_page_cache_new),
3586 (ev_page_cache_get_max_width_size),
3587 (ev_page_cache_get_max_height_size):
3588 * backend/ev-page-cache.h:
3589 * data/evince-ui.xml:
3590 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3591 * shell/ev-view.c: (view_update_adjustments),
3592 (view_update_range_and_current_page), (get_bounding_box_size),
3593 (ev_view_size_request_continuous_and_dual_page),
3594 (ev_view_size_request_continuous),
3595 (ev_view_size_request_dual_page),
3596 (ev_view_size_request_single_page), (ev_view_size_request),
3597 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3598 (ev_view_bin_expose), (ev_view_expose_event),
3599 (ev_view_set_property), (ev_view_get_property),
3600 (ev_view_class_init), (ev_view_init), (ev_view_new),
3601 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3602 (ev_view_set_dual_page), (ev_view_set_full_screen),
3603 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3604 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3605 (ev_view_zoom_out), (zoom_for_size_fit_width),
3606 (zoom_for_size_best_fit),
3607 (ev_view_zoom_for_size_continuous_and_dual_page),
3608 (ev_view_zoom_for_size_continuous),
3609 (ev_view_zoom_for_size_dual_page),
3610 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3611 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3613 * shell/ev-window.c: (update_action_sensitivity),
3614 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3615 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3616 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3617 (ev_window_cmd_view_zoom_out), (update_view_size),
3618 (ev_window_set_sizing_mode), (ev_window_init):
3620 Add Continuous and Dual page modes.
3622 2005-04-23 James Bowes <bowes@cs.dal.ca>
3624 * dvi/dvi-document.c: (dvi_document_load),
3625 (dvi_document_thumbnails_get_thumbnail),
3626 (dvi_document_init_params): Fix up some mixups between
3627 width and height to correct thumbnail rendering.
3629 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3631 * dvi/mdvi-lib/private.h:
3632 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3634 Suppess output for kpathsea during font generation. Thanks to
3637 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3644 * Makefile.am: fix distcheck.
3646 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3648 * shell/ev-sidebar-links.c: (selection_changed_callback),
3649 (update_page_callback), (row_activated_callback),
3650 (job_finished_callback), (ev_sidebar_links_set_document):
3652 Fix for bug #169901. Double click on links expands tree.
3654 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3656 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3657 hard-coded style. Fix for bug 170111
3659 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3661 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3664 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3666 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3668 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3670 * pdf/ev-poppler.cc:
3671 * shell/ev-view.c: (highlight_find_results):
3673 Fix find on single page documents
3675 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3677 * data/evince.schemas.in: fix for bug 301390
3679 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3681 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3682 (ev_view_zoom_out), (ev_view_zoom_normal):
3684 * shell/ev-window.c: (update_action_sensitivity),
3685 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3686 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3687 (ev_window_cmd_view_normal_size):
3689 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3690 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3693 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3697 Depend on 2.57, 2.59 doesnt seem to be necessary
3699 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3701 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3704 Put back total number of pages as (1 of 1234)
3706 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3708 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3711 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3712 function. This helps debugging.
3714 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3716 * djvu/djvu-document.c: (djvu_document_class_init),
3717 (djvu_document_get_info), (djvu_document_document_iface_init):
3718 * dvi/dvi-document.c: (dvi_document_class_init),
3719 (dvi_document_get_info), (dvi_document_document_iface_init):
3721 Dummy implementation of get_info method for dvi and djvu. Fix
3722 crashes with those backends
3724 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3726 * data/evince.desktop.in:
3728 Add application/x-gzpostscript
3730 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3732 * data/evince.schemas.in: Added real long descriptions,
3735 * README: Added actual text, closes bug 171869
3737 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3739 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3743 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3745 * backend/ev-document-info.h:
3747 s/GDate */GDate so we can just use g_free
3749 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3751 * shell/ev-window.c: (update_document_mode),
3752 (ev_window_setup_document):
3754 Show the window in fullscreen when specified by
3757 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3759 * backend/ev-document.c: (ev_document_class_init),
3760 (ev_document_get_info), (ev_document_render_pixbuf):
3761 * backend/ev-document.h:
3762 * backend/ev-page-cache.c: (_ev_page_cache_new):
3763 * pdf/ev-poppler.cc:
3764 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3765 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3766 * ps/ps-document.c: (ps_document_class_init), (document_load),
3767 (ps_document_get_info), (ps_document_document_iface_init):
3769 Remove get_title from the interface, we can just use document info
3771 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3773 * backend/Makefile.am:
3774 * backend/ev-document.c: (ev_document_render_get_info):
3775 * backend/ev-document.h:
3776 * pdf/ev-poppler.cc:
3778 Initial support for document info. Based on jrb patch.
3780 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3782 * shell/ev-window.c: (ev_window_state_event),
3783 (ev_window_class_init), (ev_window_init):
3785 Doesn't show resize grip when maximized. See bug #301053
3787 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3791 ev-sidebar-thumbnails now has translatable labels
3793 * shell/Makefile.am:
3794 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3795 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3796 (ev_sidebar_links_page_iface_init):
3797 * shell/ev-sidebar-links.h:
3798 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3799 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3800 (ev_sidebar_page_get_label):
3801 * shell/ev-sidebar-page.h:
3802 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3803 (ev_sidebar_thumbnails_set_document),
3804 (ev_sidebar_thumbnails_support_document),
3805 (ev_sidebar_thumbnails_get_label),
3806 (ev_sidebar_thumbnails_page_iface_init):
3807 * shell/ev-sidebar-thumbnails.h:
3808 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3809 (ev_sidebar_set_document):
3810 * shell/ev-sidebar.h:
3811 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3813 Small rework of sidebar code. Now sidebar pages should implement
3814 EvSidebarPage interface. That makes page management in EvSidebar
3815 easier. See bug #164811 for details
3817 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3819 * shell/ev-application.c: (ev_application_open):
3820 * shell/ev-document-types.c:
3822 Fix build error and small problem with application exit
3824 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3826 * thumbnailer/Makefile.am:
3827 * thumbnailer/evince-thumbnailer-djvu.schemas:
3828 * thumbnailer/evince-thumbnailer-dvi.schemas:
3830 Conditionally install schemas for djvu/dvi thumbnailer
3832 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3834 * shell/ev-document-types.h:
3835 * shell/ev-document-types.c:
3836 New files, handling the mapping from mimetypes to backends
3838 * shell/ev-window.c:
3839 * thumbnailer/evince-thumbnailer.c:
3840 Use the ev-document-types code
3842 * shell/Makefile.am:
3843 Added new convenience library libevbackendfactory_la, containing
3844 the new mimetype->backend logic; moved the backends into it.
3846 * thumbnailer/Makefile.am:
3847 Make the thumbnailer link with the libevbackend.la convenience
3848 library, rather than having a duplicate of the backend logic here.
3850 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3852 * shell/ev-stock-icons.c: constify some vars.
3853 * shell/ev-window.c: ditto.
3855 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3857 * ps/ps-document.c (get_page_orientation):
3859 Respect document orientation
3861 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3865 * shell/Makefile.am:
3867 Move library dependencies to components.
3869 * shell/ev-window.c: (update_window_title),
3870 (start_loading_document):
3872 Fix display of uris with spaces. Bug 168358.
3874 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3876 * shell/ev-sidebar-links.c: (selection_changed_cb):
3877 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3878 (ev_view_button_release_event), (ev_view_set_document):
3880 * shell/ev-window.c: (find_bar_search_changed_cb):
3881 * shell/ev-window.h: Minor cleanups removing some dead code.
3883 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3885 * backend/ev-page-cache.c: (_ev_page_cache_new):
3887 Set current page to 0 if document has pages.
3889 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3891 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3893 Initialize GError to NULL, fix a crash when loading fails.
3895 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3897 * shell/ev-window.c: (update_view_size):
3899 Calculate shadow size only when there is actually
3902 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3904 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3907 Allow setting view spacing, default to 0
3909 * shell/ev-window.c: (ev_window_unfullscreen),
3910 (ev_window_cmd_view_fullscreen), (ev_window_init):
3912 Remove spacing in fullscreen mode
3914 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3916 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3917 (ev_view_size_request), (expose_bin_window),
3918 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3920 * shell/ev-window.c: (ev_window_unfullscreen),
3921 (ev_window_cmd_view_fullscreen):
3923 Do not draw the border in fulscreen
3925 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3927 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3928 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3929 (find_page_at_location), (page_changed_cb):
3931 Rework border calculation, so that I can more easily disable it.
3932 Code somewhat cleaner too.
3934 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3936 * backend/ev-page-cache.c: (ev_page_cache_init),
3937 (_ev_page_cache_new):
3939 Remove some assertions, documents can have 0 pages.
3940 Make initial current page -1.
3942 * shell/ev-page-action.c: (page_changed_cb):
3944 Show "" if current page is -1
3946 * shell/ev-window.c: (update_action_sensitivity),
3947 (ev_window_setup_document):
3949 When document has 0 pages do not set the view
3950 and make nearly everything insensitive.
3952 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3954 * shell/ev-page-view.c:
3955 * shell/ev-page-view.h:
3957 Remove unused files.
3959 * shell/ev-sidebar-thumbnails.c:
3960 (ev_sidebar_thumbnails_set_document):
3961 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3962 (ev_sidebar_supports_document):
3963 * shell/ev-sidebar.h:
3964 * shell/ev-window.c: (ev_window_setup_document):
3966 Doesn't show thumbnails if document has 1 page. Make
3967 sidebar menu entries sensitive only if if they have
3968 sense. Fix bug 164811.
3970 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3972 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3973 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3974 (ev_view_zoom_out), (ev_view_set_size):
3976 Rework sizing to deal with documents with not uniform page
3979 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3981 * backend/ev-page-cache.c: (_ev_page_cache_new):
3983 Fix several page size caching bugs
3985 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3987 * shell/ev-window.c: (set_action_properties):
3989 Make all toolbar items translatable
3991 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3993 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3994 (save_page_list), (ps_document_save),
3995 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3996 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3997 (ps_document_ps_exporter_iface_init):
4000 Based on a patch by J�rg Billeter <j@bitron.ch>
4002 Implement print and save a copy for the ps backend.
4004 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4006 * backend/ev-document.h:
4007 * djvu/djvu-document.c: (djvu_document_can_get_text),
4008 (djvu_document_document_iface_init):
4009 * dvi/dvi-document.c: (dvi_document_can_get_text),
4010 (dvi_document_document_iface_init):
4011 * pdf/ev-poppler.cc:
4012 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4013 (pixbuf_document_document_iface_init):
4014 * ps/ps-document.c: (ps_document_can_get_text),
4015 (ps_document_document_iface_init):
4016 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4017 * shell/ev-window.c: (update_action_sensitivity):
4019 Fix the crash when trying to copy in backends that doesnt
4020 support it. We can implement a better solution once we
4021 do real text selection.
4023 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4025 * data/evince-ui.xml:
4026 * shell/ev-window.c: (ev_window_cmd_escape):
4028 Work around the Escape conflict (find bar and unfullscreen)
4030 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4032 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4034 Fix for #300233. Next page correctly handles document end.
4036 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4037 (ev_sidebar_thumbnails_class_init),
4038 (ev_sidebar_thumbnails_set_document),
4039 (ev_sidebar_thumbnails_clear_job),
4040 (ev_sidebar_thumbnails_clear_model):
4042 Cleanup thumbnail jobs on document changes.
4044 * shell/ev-view.c: (add_scroll_binding_keypad),
4045 (add_scroll_binding_shifted), (ev_view_class_init):
4047 Shift + Space scrolls up. Fix for #173184
4049 * shell/ev-window.c: (ev_window_open_page),
4050 (ev_window_cmd_view_reload):
4052 Fix reload (Bug #300094)
4054 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4057 * dvi/mdvi-lib/assoc.c:
4058 * dvi/mdvi-lib/assoc.h: Removed garbage files
4060 * dvi/mdvi-lib/bitmap.c:
4061 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4062 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4063 * dvi/mdvi-lib/color.h: Antialias of rules
4065 * dvi/mdvi-lib/common.h:
4066 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4067 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4068 * dvi/mdvi-lib/files.c:
4069 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4070 * dvi/mdvi-lib/mdvi.h:
4071 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4072 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4073 * dvi/mdvi-lib/util.c: Fix compile warnings
4075 * dvi/dvi-document.c:
4076 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4077 (dvi_document_thumbnails_get_thumbnail),
4078 (dvi_document_document_thumbnails_iface_init):
4079 * dvi/mdvi-lib/Makefile.am:
4080 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4081 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4083 Dvi backend now renders thumbnails
4085 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4087 * shell/main.c: (main):
4089 Save accelerators on exit. Fixes bug #172095.
4091 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4093 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4094 update priority" comment.
4096 * backend/ev-job-queue.c: Give a way to change priority.
4098 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4100 * shell/ev-page-action.c: Fix logic.
4102 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4104 * shell/ev-view.c: (ev_view_can_find_next):
4105 * shell/ev-window.c: (ev_window_setup_document):
4107 Check that the document supports find
4109 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4111 * data/evince-ui.xml:
4112 * shell/ev-view.c: (ev_view_can_find_next):
4114 * shell/ev-window.c: (update_action_sensitivity),
4115 (find_changed_cb), (ev_window_setup_document),
4116 (ev_window_cmd_edit_find_next):
4120 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4122 * pdf/ev-poppler.cc:
4123 * shell/ev-print-job.c: (idle_print_handler):
4125 Make printing work again
4127 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4129 * shell/ev-page-action.h:
4130 * shell/ev-page-action.c: (ev_page_action_widget_init),
4131 (ev_page_action_widget_class_init), (page_changed_cb),
4132 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4133 (get_filter_model_from_model), (match_selected_cb),
4134 (display_completion_text), (match_completion), (update_model),
4135 (connect_proxy), (ev_page_action_set_property),
4136 (ev_page_action_get_property), (ev_page_action_set_document),
4137 (ev_page_action_set_model), (ev_page_action_class_init): Big
4138 reworking to make completions work iff we have >= GTK-2.7.0
4140 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4141 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4142 (job_finished_cb): We now have a 'model' property that is set when
4143 the links are loaded. This can be caught with "notify::model"
4145 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4146 listen for the model to be set, and propagate it to the action.
4148 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4150 * cut-n-paste/recent-files/egg-recent-item.c:
4151 (egg_recent_item_set_uri), (make_valid_utf8),
4152 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4153 * cut-n-paste/recent-files/egg-recent-item.h:
4155 Update egg-recent from libegg. This should fix long
4156 startup problem. For details see
4157 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4159 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4161 * cut-n-paste/recent-files/Makefile.am:
4162 * data/evince-ui.xml, shell/Makefile.am:
4163 * shell/ev-application.c, shell/ev-application.h:
4164 * shell/ev-window.c: Recent files support.
4166 * configure.ac: Added "ru" to ALL_LINGUAS.
4168 * dvju: new backend to support DJVU files.
4169 * dvi: new backend to support DVI.
4171 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4172 * ev-application.c: Support for new backends.
4174 * help, ev-window.c, main.c shell/Makefile.am:
4175 Evince user documentation.
4177 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4180 * shell/ev-window.c:
4181 * thumbnailer/evince-thumbnailer.c:
4183 s/pdf-document/ev-poppler
4185 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4192 * ps/ps-document.c: (setup_pixmap):
4196 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4198 * backend/ev-page-cache.c (ev_page_cache_next_page):
4199 * shell/ev-window.c (ev_window_cmd_go_next_page)
4200 (ev_window_cmd_go_first_page): Fix of by one errors.
4202 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4204 * ps/ps-document.c: (get_page_box):
4206 Fix page size calculation
4208 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4210 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4211 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4212 (get_page_orientation), (setup_page), (document_load),
4213 (ps_document_get_page_size), (render_pixbuf_idle):
4216 More refactoring to adapt to EvDocument changes
4218 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4220 * ps/ps-document.c: (start_interpreter):
4222 Actually add alpha args
4224 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4226 * pdf/ev-poppler.cc:
4228 Make clipboard work again
4230 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4232 Make searching work again.
4234 * backend/ev-document.c:
4235 * backend/ev-document.h:
4236 * backend/ev-document-find.c:
4237 * backend/ev-document-find.h: Change EvDocumentIface so we no
4238 longer store the current page or zoom level in the document. The
4239 consequence is that all calls that operate on the current page now
4240 instead take the page number as an extra argument, and all
4241 coordinates are now doubles in document coordinate system.
4243 * pdf/ev-poppler.cc:
4244 * pixbuf/pixbuf-document.c:
4245 * ps/ps-document.c: Update backends accordingly.
4247 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4251 Add required gettext version
4253 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4255 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4256 make F1 bring up non-existent help.
4258 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4259 epiphany's find bar, #167477
4261 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4262 <emil@nishra.com> to add space-bar scrolling,
4264 * shell/ev-window.c (static GtkActionEntry entries): add default
4265 keybinding for Help (F1)
4268 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4269 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4272 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4275 * pixbuf/pixbuf-document.c:
4277 Got pixbuf backend working again
4279 2005-04-01 Steve Murphy <murf@e-tools.com>
4281 * configure.in: Added "rw" to ALL_LINGUAS.
4283 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4285 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4286 model types, noticed by Martin Kretzschmar.
4288 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4290 * pdf/ev-poppler.cc: Implement search based on
4291 poppler_page_find_text(). Currently a bit crude since we remember
4292 all matches from all pages. Also, we grab the big document lock
4293 when we search since searching changes the underlying stream and
4294 thus conflicts with the rendering thread.
4296 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4297 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4298 (ev_view_find_previous): Fix some page indexes to be 0 based,
4299 offset rubber band by view offset,
4301 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4303 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4305 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4307 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4308 completely because I didn't understand GtkActions. I should
4309 read Marco's code more carefully in the future.
4311 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4314 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4316 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4317 PopplerRectangle change from poppler CVS.
4319 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4321 * backend/ev-document.c: (ev_document_get_page_label):
4322 * backend/ev-document.h:
4323 * backend/ev-page-cache.c: (_ev_page_cache_new),
4324 (ev_page_cache_get_page_label):
4325 * backend/ev-page-cache.h:
4326 * pdf/ev-poppler.cc:
4327 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4328 (links_page_num_func):
4329 * shell/ev-sidebar-thumbnails.c:
4330 (ev_sidebar_thumbnails_set_document):
4331 * shell/ev-view.c: (status_message_from_link),
4332 (ev_view_motion_notify_event):
4333 * shell/ev-window.c: (document_supports_sidebar): Add in page
4334 label support. It's not perfect yet, but it's the first 'feature'
4336 Also, fix a bogus comment noticed by crispin.
4338 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4340 * Makefile.am: Remove pixbuf backend for now
4342 * configure.ac: Require poppler-glib instead of just poppler.
4344 * backend/ev-document-thumbnails.h: Add a comment
4346 * backend/ev-document.h:
4347 * backend/ev-document.c: (ev_document_class_init),
4348 (ev_document_load), (ev_document_get_link),
4349 (ev_document_get_links): Remove 3 methods and add get_links.
4352 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4353 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4355 * backend/ev-link.c: (ev_link_set_title),
4356 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4357 (ev_link_mapping_find):
4358 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4360 * backend/ev-page-cache.c: (ev_page_cache_init),
4361 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4362 (ev_page_cache_get_size), (ev_page_cache_next_page),
4363 (ev_page_cache_prev_page): Fix to be 0 based.
4367 * pdf/ev-poppler.cc: New backend.
4369 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4370 (ps_document_get_page), (ps_document_document_iface_init):
4372 * shell/ev-pixbuf-cache.h:
4373 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4374 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4375 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4376 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4377 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4378 Fix up code to grab a page cache per each doc. Also, fix to be 0
4381 * shell/ev-sidebar-thumbnails.c:
4382 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4383 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4385 * shell/ev-view.c: (status_message_from_link),
4386 (find_page_at_location), (get_link_at_location),
4387 (ev_view_motion_notify_event), (ev_view_button_release_event),
4388 (ev_view_init): Use the new link code. Fix to be 0 based.
4390 * shell/ev-window.c: (update_action_sensitivity),
4391 (document_supports_sidebar): 0 based.
4393 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4395 * pdf/pdf-document.cc: Patch from Fernando Herrera
4396 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4399 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4401 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4402 1 to the page, as this seems to be 1 based. I thought we has this
4405 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4408 * backend/Makefile.am:
4409 * backend/ev-document-links.c:
4410 (ev_document_links_has_document_links),
4411 (ev_document_links_get_links_model):
4412 * backend/ev-document-links.h:
4413 * backend/ev-document.c: (ev_document_get_page_cache),
4414 (ev_document_get_doc_mutex), (ev_document_load),
4415 (ev_document_save), (ev_document_get_title),
4416 (ev_document_get_n_pages), (ev_document_set_page),
4417 (ev_document_get_page), (ev_document_set_target),
4418 (ev_document_set_scale), (ev_document_set_page_offset),
4419 (ev_document_get_page_size), (ev_document_get_text),
4420 (ev_document_get_link), (ev_document_render),
4421 (ev_document_render_pixbuf), (ev_document_scale_changed):
4422 * backend/ev-document.h:
4423 * backend/ev-job-queue.c: (remove_object_from_queue),
4424 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4425 (no_jobs_available_unlocked), (ev_render_thread),
4426 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4427 (ev_job_queue_remove_job):
4428 * backend/ev-job-queue.h:
4429 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4430 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4431 (ev_job_links_class_init), (ev_job_render_init),
4432 (ev_job_render_dispose), (ev_job_render_class_init),
4433 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4434 (ev_job_thumbnail_class_init), (ev_job_finished),
4435 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4436 (ev_job_render_run), (ev_job_thumbnail_new),
4437 (ev_job_thumbnail_run):
4438 * backend/ev-jobs.h:
4439 * backend/ev-link.c:
4440 * backend/ev-link.h:
4441 * backend/ev-page-cache.c: (ev_page_cache_init),
4442 (ev_page_cache_class_init), (ev_page_cache_finalize),
4443 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4444 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4445 (ev_page_cache_set_link), (ev_page_cache_get_title),
4446 (ev_page_cache_get_size), (ev_page_cache_next_page),
4447 (ev_page_cache_prev_page):
4448 * backend/ev-page-cache.h:
4449 * pdf/pdf-document.cc:
4452 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4453 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4454 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4455 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4456 (is_interpreter_ready), (output), (catchPipe), (input),
4457 (start_interpreter), (check_filecompressed), (compute_dimensions),
4458 (ps_document_enable_interpreter), (document_load),
4459 (ps_document_next_page), (render_page), (ps_document_set_page),
4460 (ps_document_set_scale), (render_pixbuf_idle),
4461 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4463 * shell/Makefile.am:
4464 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4465 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4466 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4467 (ev_pixbuf_cache_new), (job_finished_cb),
4468 (check_job_size_and_unref), (move_one_job),
4469 (ev_pixbuf_cache_update_range), (find_job_cache),
4470 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4471 (ev_pixbuf_cache_add_jobs_if_needed),
4472 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4473 * shell/ev-pixbuf-cache.h:
4474 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4475 (idle_print_handler):
4476 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4477 (selection_changed_cb), (create_loading_model),
4478 (ev_sidebar_links_construct), (links_page_num_func),
4479 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4480 (update_page_callback), (job_finished_cb),
4481 (ev_sidebar_links_set_document):
4482 * shell/ev-sidebar-thumbnails.c:
4483 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4484 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4485 (page_changed_cb), (thumbnail_job_completed_callback),
4486 (ev_sidebar_thumbnails_set_document):
4487 * shell/ev-sidebar-thumbnails.h:
4488 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4489 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4490 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4491 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4492 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4493 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4494 (ev_view_button_release_event), (ev_view_scroll_view),
4495 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4496 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4497 (ev_view_new), (job_finished_cb), (page_changed_cb),
4498 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4499 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4500 (ev_view_find_previous):
4502 * shell/ev-window.c: (update_action_sensitivity),
4503 (ev_window_open_page), (update_window_title), (update_total_pages),
4504 (page_changed_cb), (ev_window_setup_document),
4505 (password_dialog_response), (ev_window_cmd_save_as),
4506 (ev_window_print), (ev_window_cmd_go_previous_page),
4507 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4508 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4509 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4510 * shell/main.c: (main):
4512 Merge evince-threads branch
4514 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4516 * configure.ac: Added "lt" to ALL_LINGUAS.
4518 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4525 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4527 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4529 Fix here also the thumbnails 1-basedness :)
4531 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4538 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4540 * pdf/pdf-document.cc:
4541 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4542 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4544 Fix the mess we did with thumbnails and 1-basedness
4546 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4548 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4550 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4557 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4560 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4561 (gtk_gs_defaults_get_alpha_parameters),
4562 (gtk_gs_defaults_get_ungzip_cmd),
4563 (gtk_gs_defaults_get_unbzip2_cmd):
4565 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4566 (ps_document_get_orientation), (document_load),
4567 (ps_document_goto_page), (ps_document_set_page_size):
4570 Some more sanitization of the ps backend. Remove a lot
4571 of unused code and do not base our defaults on ggv
4574 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4576 * thumbnailer/evince-thumbnailer.schemas:
4577 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4578 (main): add -s option for thumbnail size.
4580 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4584 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4587 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4589 * pdf/pdf-document.cc:
4591 Remove 4 pixels of useless border from the
4594 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4596 * backend/ev-document-thumbnails.c:
4597 (ev_document_thumbnails_get_thumbnail):
4598 * backend/ev-document-thumbnails.h:
4600 Rework API a bit. Add a border flag and
4601 change sizing logic (now the size we specify
4602 applies to the bigger dimension).
4604 * pdf/pdf-document.cc:
4605 * pixbuf/pixbuf-document.c:
4606 (pixbuf_document_thumbnails_get_thumbnail):
4607 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4608 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4610 Adapt to the new API and do not draw a border for nautilus
4613 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4615 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4616 take thumbnails from page "0" instead of "1". Added a copyright header.
4618 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4620 * ps/ps-document.c: (set_up_page), (start_interpreter):
4622 Make it C89 compliant
4624 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4629 * pdf/pdf-document.cc:
4630 * thumbnailer/Makefile.am:
4631 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4633 * thumbnailer/evince-thumbnailer.schemas:
4634 * thumbnailer/pdf-icon.png:
4636 Add a nautilus thumbnailer.
4637 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4639 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4647 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4649 Use poppler instead of including xpdf source code. Poppler is a
4650 fork of xpdf to build it as a shared library. See
4651 http://freedesktop.org/wiki/Software/poppler.
4653 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4656 * pdf/Makefile.am: Build libpdfdocument.a here.
4658 * pdf/GDKSplashOutputDev.cc:
4659 * pdf/GDKSplashOutputDev.h:
4660 * pdf/GnomeVFSStream.cc:
4661 * pdf/GnomeVFSStream.h:
4664 * test-gdk-output-dev.cc
4666 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4669 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4671 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4673 Clear idle stack before unsetting the document
4675 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4677 * ps/ps-document.c: (ps_document_widget_event),
4678 (ps_document_set_target), (ps_document_finalize),
4679 (ps_document_get_page):
4681 Disconnect the widget event signal on finalize.
4684 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4686 * ps/ps-document.c: (set_up_page):
4688 If there is no bpixmap create one, even if size
4691 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4693 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4694 (set_up_page), (document_load), (ps_document_set_zoom):
4696 Default page is 0. Calculate size even when we have no
4699 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4701 * shell/ev-sidebar.c: expand the selection widget to be always as
4704 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4706 * shell/ev-sidebar-thumbnails.c:
4707 (ev_sidebar_thumbnails_set_document):
4709 Clear the list store when setting document
4711 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4713 * shell/ev-page-action.c: (update_entry), (sync_entry),
4714 (activate_cb), (entry_size_request_cb), (create_tool_item),
4717 Use an entry for the page control instead of spinbuttons
4719 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4721 * data/evince.schemas.in:
4723 Correct confusing string
4725 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4727 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4728 for real. Gosh, how long has this been broken.
4730 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4731 check for a NULL link. We crash otherwise.
4733 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4740 2005-02-25 Sebastien Bacher <seb128@debian.org>
4742 * configure.ac: add the french translation.
4744 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4746 * shell/ev-window.c:
4748 Remove unused header -> fix distcheck
4750 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4752 * shell/ev-window.c: (update_window_title),
4753 (ev_window_popup_password_dialog):
4755 Unescape filename for display
4757 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4759 * pdf/xpdf/pdf-document.cc:
4761 In get_page_size deal with rotation. Also
4762 cleanup the function a bit.
4764 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4766 * pdf/xpdf/pdf-document.cc:
4768 Fix crash when opening in new window
4770 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4774 Check ghostscript >= 7
4776 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4778 * shell/ev-window.c:
4780 Make page width the default sizing mode
4782 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4783 Marco Pesenti Gritti <marco@gnome.org>
4785 * shell/ev-window.c: Remember the sidebar size
4787 * data/evince.schemas.in: Add a new gconf key to store the size of
4790 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4792 * data/evince-ui.xml:
4793 * shell/ev-window.c: (update_action_sensitivity),
4794 (ev_window_cmd_view_reload):
4796 Add a "Reload" action and menu entry
4798 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4800 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4801 iff the type doesn't support thumbnailing and indexing.
4803 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4805 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4807 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4809 * pdf/splash/Splash.cc:
4811 Port fix for a crasher from kde bug
4812 http://bugs.kde.org/show_bug.cgi?id=97131
4814 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4816 * pdf/xpdf/pdf-document.cc:
4818 Return a link even if it's of an unrecognized
4819 type. Otherwise we go in an infinte cycle.
4821 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4823 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4824 (size_allocate_cb), (ev_window_set_sizing_mode):
4826 Update size when switching mode
4828 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4830 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4831 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4832 (ev_window_cmd_view_normal_size):
4834 Fix size toggle buttons behavior
4836 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4838 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4839 (doc_rect_to_view_rect), (ev_view_size_allocate),
4840 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4841 (scale_changed_callback):
4843 Do not cache offsets in size_allocate.
4845 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4847 * shell/ev-view.c: (ev_view_size_allocate):
4849 Calculate offsets before calling the parent
4850 class (which does a redraw)
4852 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4854 * pdf/xpdf/pdf-document.cc:
4856 Fix a crasher on exit. Unused code, put a TODO
4858 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4860 * backend/ev-document.c: (ev_document_class_init),
4861 (ev_document_page_changed), (ev_document_scale_changed):
4862 * backend/ev-document.h:
4864 Separate page/scale notifications
4866 * pdf/xpdf/pdf-document.cc:
4868 Emit the new signals.
4869 Do not display the pdf page in _render, do it
4870 when scale/page are requested.
4872 * ps/ps-document.c: (ps_document_set_zoom),
4873 (ps_document_widget_event):
4876 Emit the new signals.
4878 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4879 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4880 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4881 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4883 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4884 (ev_window_cmd_view_page_width), (size_allocate_cb),
4885 (ev_window_set_sizing_mode):
4887 Rework sizing to be pixel based.
4888 There are bugs but should be already way better.
4890 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4892 * shell/ev-window.c: (ev_window_init):
4894 Do not allow to shrink sidebar smaller then
4897 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4899 * shell/ev-sidebar.[ch]
4900 * shell/ev-window.c:
4902 Improved sidebar widget. Fixes #166683
4904 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4906 * shell/ev-view.c (update_find_status_message): Give translators
4907 more flexibility with ngettext plural handling.
4909 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4911 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4912 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4913 page when we get the page size.
4915 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4917 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4919 ps pages are 0 based, convert
4921 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4923 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4925 Initialize correct parent class. Set GError on document load
4927 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4929 * pdf/xpdf/pdf-document.cc:
4931 Fixup selection offset calculation
4933 * shell/ev-view.c: (view_rect_to_doc_rect),
4934 (doc_rect_to_view_rect), (ev_view_size_allocate),
4935 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4936 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4938 Store selection as document relative, so that zooming
4939 and offset changing doesnt break it.
4941 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4943 * shell/ev-view.c: (ev_view_best_fit):
4945 Do not try to best fit if the view is not realized
4947 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4949 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4951 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4953 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4955 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4957 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4958 the popup window. That prevents it resizing when in full screen
4961 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4962 multiple rerenders. This pretty much sucks.
4964 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4965 rest of the toolbar.
4967 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4969 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4971 2005-02-17 Alexander Shopov <ash@contact.bg>
4973 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4975 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4977 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4979 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4981 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4982 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4983 (set_document_page), (document_changed_callback),
4984 (ev_view_set_document), (ev_view_find_previous),
4985 (ev_view_hide_cursor), (ev_view_show_cursor):
4987 * shell/ev-window.c: (update_chrome_visibility),
4988 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4989 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4990 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4991 (ev_window_unfullscreen):
4992 * shell/main.c: (main):
4994 Automatically hide the fullscreen button.
4995 Patch by Kristian Høgsberg <krh@redhat.com>
4997 2005-02-16 Vincent Noel <vnoel@cox.net>
4999 * shell/main.c (main): Specify an icon for the window. Patch by
5000 Jaap A. Haitsma. Fixes #166177.
5002 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5004 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5006 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5008 * backend/ev-document-misc.h:
5009 * backend/ev-document-misc.c:
5010 (ev_document_misc_get_page_border_size),
5011 (ev_document_misc_paint_one_page): New function to canonicalize
5012 sizing/painting a border.
5014 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5017 * pdf/xpdf/pdf-document.cc: use new function
5019 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5020 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5021 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5022 shell/ev-window.c: (update_sizing_buttons),
5023 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5024 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5025 (ev_window_cmd_view_page_width), (size_allocate_cb),
5026 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5027 and "fit width" values act as toggle buttons so they stay
5028 toggled. It's not 100% perfect, and it's a little slow, but it's
5029 good enough to commit I think.
5031 2005-02-15 David Lodge <dave@cirt.net>
5033 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5035 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5037 * shell/ev-window.c (update_window_title): replace newlines in
5038 the title by spaces. Bug #166107.
5040 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5042 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5043 parameters providing allocation width and height without
5044 scrollbars and width of a possible vertical scrollbar. With this
5045 additional information the functions can work as
5046 intended. Unfortunately they're not idempotent. We should
5047 transform these commands to toggles. Fixes Bug #164976
5048 Initial patch by Stephane Loeuillet, then heavily modified.
5050 * shell/ev-view.h: update prototypes.
5052 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5053 (ev_window_cmd_view_page_width): provide EvView fit functions with
5054 all the information they need. Formulas to calculate this
5055 information taken from GtkScrolledWindow.
5057 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5059 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5060 created a thumbnail, the list store is updated to know
5061 that the thumbnail is set. Fixes bug #166792
5063 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5065 * shell/ev-window.c: fixed typo, closes bug 166897
5067 * TODO: updated TODO with bug numbers that are relevant
5069 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5071 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5073 2005-02-09 Vincent Noel <vnoel@cox.net>
5075 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5076 and "Next" toolbar buttons as important to make them stand out.
5078 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5082 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5083 (start_interpreter), (stop_interpreter), (document_load),
5084 (ps_document_next_page), (ps_document_goto_page),
5085 (ps_document_set_page_size), (ps_document_widget_event),
5086 (ps_document_render):
5087 * shell/ev-page-view.c: (ev_page_view_dispose):
5088 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5090 Fix compilation on non-gcc platforms
5092 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5099 * pdf/xpdf/Catalog.cc:
5102 Fix the fix for CAN-2004-0888
5104 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5107 * data/evince-ui.xml:
5108 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5109 * shell/ev-stock-icons.h:
5110 * shell/ev-window.c: (update_action_sensitivity),
5111 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5112 (set_action_properties):
5114 Improve toolbar layout/icons
5116 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5118 * pdf/xpdf/pdf-document.cc:
5120 Add warnings about unimplemented/unknown link
5123 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5125 * ps/ps-document.c: (set_up_page):
5129 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5131 * ps/ps-document.c: (start_interpreter):
5135 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5137 * shell/ev-page-view.c: (ev_page_view_dispose):
5138 * shell/ev-view.c: (ev_view_finalize):
5139 * shell/ev-window.c: (ev_window_setup_document),
5140 (ev_window_dispose), (ev_window_init):
5142 Solve more refs issues.
5144 I commented out the page_view initialization for now:
5145 it was never destroyed (because it's never added
5146 to a container). Because of that we was leaking
5147 gs processes. Couldnt think to a clean fix.
5148 We need to figure this out, password view has the
5149 same issue probably.
5151 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5153 * ps/ps-document.c: (ps_document_finalize),
5154 (ps_document_get_n_pages), (ps_document_get_page):
5156 Some cleanups, stop the interpreter on finalize
5158 * shell/ev-page-view.c: (ev_page_view_dispose),
5159 (ev_page_view_class_init):
5161 Release our reference on the document
5163 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5167 * doc/debugging.txt:
5170 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5171 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5172 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5175 Add debugging helpers
5178 * ps/ps-document.c: (set_up_page), (start_interpreter),
5179 (stop_interpreter), (document_load), (ps_document_next_page),
5180 (ps_document_goto_page), (ps_document_set_page_size),
5181 (ps_document_widget_event), (ps_document_render):
5182 * shell/Makefile.am:
5183 * shell/ev-view.c: (expose_bin_window):
5184 * shell/main.c: (main):
5188 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5190 * ps/ps-document.c: (ps_document_widget_event):
5192 Initialize message_window, this should make ps
5193 rendering really work! (Never noticed because I was
5194 testing with a ps that is causing gs to exit every time!)
5196 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5198 * data/evince.schemas.in: updated simple error in applyto closing tag
5200 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5206 * data/evince-ui.xml:
5207 A data/evince.schemas.in:
5209 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5210 * shell/ev-stock-icons.h:
5211 * shell/ev-window.c: (update_chrome_visibility),
5212 (update_chrome_flag), (ev_window_cmd_edit_find),
5213 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5214 (ev_window_unfullscreen), (ev_window_focus_in_event),
5215 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5216 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5217 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5218 (ev_window_dispose), (ev_window_class_init),
5219 (set_action_properties), (set_chrome_actions), (load_chrome),
5222 Implement fullscreen mode changes from bug #164776.
5223 Also implement persistent chrome toggles.
5225 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5227 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5229 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5235 Add another check for find interface
5239 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5241 * shell/ev-application.c: (ev_application_open):
5242 * shell/ev-window.c: (ev_window_open):
5244 Open gzipped ps documents
5246 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5249 * shell/ev-view.c: (set_document_page):
5251 Clamp page number, dont try to move to
5254 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5256 * backend/ev-document-find.c: (ev_document_find_changed):
5257 * backend/ev-document-find.h:
5258 * pdf/xpdf/pdf-document.cc:
5259 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5260 * shell/ev-window.c: (find_bar_search_changed_cb):
5262 Fix several bugs with find
5264 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5266 * shell/ev-sidebar-thumbnails.c
5267 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5268 document. Prevents warning from scroll_to_cell.
5270 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5272 * configure.ac: Add «nb» to ALL_LINGUAS too.
5274 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5276 * NOTES: New file with some random thoughts.
5280 * backend/ev-document-misc.c:
5281 (ev_document_misc_get_page_border_size): New function to
5282 canonicalize shadow drawing sizes. Possibly goofy.
5284 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5285 (ev_view_best_fit), (ev_view_fit_width):
5286 * pdf/xpdf/pdf-document.cc:
5287 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5288 * ps/ps-document.c: (ps_document_get_page_size):
5289 * backend/ev-document-misc.h:
5290 * backend/ev-document.c: (ev_document_get_page_size):
5291 * backend/ev-document.h: get_page_size now takes a page number
5292 parameter. Made all the backends/frontends honor it.
5294 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5295 see. Doesn't work yet.
5297 * shell/Makefile.am:
5298 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5299 Doesn't do anything yet.
5301 * shell/ev-sidebar-thumbnails.c:
5302 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5305 * shell/ev-window.c: (update_action_sensitivity),
5306 (ev_window_setup_document), (ev_window_set_page_mode),
5307 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5308 view-swapping code a bit so we can have multiple views on a
5309 document. Add the multi-page view, though it can't be turned on
5312 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5314 * shell/ev-application.c: (ev_application_open):
5315 * shell/ev-view.c: (expose_bin_window):
5316 * shell/ev-window.c: (ev_window_open):
5318 Support eps and check document supports find
5319 before drawing highlightings in expose.
5321 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5323 * pixbuf/pixbuf-document.c:
5324 (pixbuf_document_thumbnails_get_dimensions),
5325 (pixbuf_document_document_thumbnails_iface_init):
5327 implement get_dimensions
5329 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5336 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5338 * shell/ev-view.c: (set_document_page):
5340 Scroll at the top of the page when changing page
5342 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5344 * shell/ev-view.c: (ev_view_motion_notify_event):
5346 Do not redraw unnecessarily
5348 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5350 * pdf/xpdf/pdf-document.cc:
5351 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5352 (expose_bin_window), (find_changed_cb):
5354 Yay! find works now... Now to find bugs...
5356 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5358 * backend/ev-document-find.c: (ev_document_find_base_init),
5359 (ev_document_find_changed):
5360 * backend/ev-document-find.h:
5361 * pdf/xpdf/pdf-document.cc:
5362 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5363 (expose_bin_window), (ev_view_init), (set_document_page),
5364 (ensure_rectangle_is_visible), (jump_to_find_result),
5365 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5366 (ev_view_find_next), (ev_view_find_previous):
5368 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5370 More work on find implementation, mostly there now
5372 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5374 * backend/ev-backend-marshalers.list:
5375 * backend/ev-document-find.c: (ev_document_find_base_init),
5376 (ev_document_find_cancel), (ev_document_find_page_has_results),
5377 (ev_document_find_get_n_results), (ev_document_find_get_result),
5378 (ev_document_find_get_progress), (ev_document_find_changed):
5379 * backend/ev-document-find.h:
5381 Enanche the find interface to be really able to do
5384 * pdf/xpdf/pdf-document.cc:
5388 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5389 (expose_bin_window), (ev_view_init),
5390 (ev_view_get_find_status_message), (find_changed_cb),
5391 (ev_view_set_document), (set_document_page):
5393 Adapt to the new interface. A few things are regressed sorry,
5394 I will finish it soon.
5396 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5398 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5399 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5400 ev_sidebar_thumbnails_parent_class variable, don't define another
5401 parent_class variable.
5403 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5404 (ev_page_action_class_init): ditto.
5406 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5407 (pixbuf_document_class_init): ditto.
5409 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5412 * .cvsignore: ignore various valgrind output files.
5414 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5416 * data/evince-ui.xml:
5417 * shell/Makefile.am:
5418 * shell/ev-history.c:
5419 * shell/ev-history.h:
5420 * shell/ev-navigation-action.c:
5421 * shell/ev-navigation-action.h:
5422 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5423 (ev_view_set_page), (ev_view_fit_width):
5425 * shell/ev-window.c: (update_action_sensitivity),
5426 (ev_window_setup_document), (register_custom_actions):
5428 Kill session history
5430 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5432 * shell/ev-window.c: (update_action_sensitivity):
5434 Fix inverted up/down buttons
5436 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5438 * shell/ev-sidebar-thumbnails.c
5439 (ev_sidebar_thumbnails_select_page): make sure the selected
5440 thumbnail stays visible.
5442 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5444 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5445 scrolled window for Federico.
5447 2005-01-26 Ole Laursen <olau@hardworking.dk>
5449 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5451 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5454 * pdf/splash/SplashFTFontEngine.cc:
5456 Fix CID fonts with freetype 2.1.9
5458 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5460 * TODO: added item for desktop icon thumbnailer
5462 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5464 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5465 unloaded docs when the title is accessed.
5467 * shell/ev-password-view.[hc]: New widget for displaying password
5470 * shell/ev-window.[ch]: Refactor password handling code to handle
5473 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5481 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5483 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5484 ignore page offset here, to make search results independent of it,
5486 * shell/ev-view.c (expose_bin_window): but take offsets into
5487 account here. Bug #164932
5489 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5490 scale at the right time. Bug #164996
5492 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5494 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5495 fix the problem. Now I just removed the Adobe font names and hope
5496 that the URW fonts are always in outline format. Bug #164934
5498 * shell/ev-window.c (update_window_title): empty titles are
5499 useless, use filename in that case too.
5501 * NEWS: Add some content.
5503 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5505 * TODO: added one more TODO item and a TODONE section :)
5507 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5509 * ps/ps-document.h: add page_[xy]_offset fields.
5511 * ps/ps-document.c (ps_document_set_page_offset)
5512 (ps_document_render): Keep offset in consideration in a few
5513 places. Bug #164752 "postscript documents are not centered in
5516 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5517 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5519 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5520 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5521 stub out missing methods for complete EvDocument implementation.
5522 Fixes segfaults with Save A Copy and Copy actions.
5524 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5525 (ps_document_document_iface_init): ditto.
5527 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5531 * data/evince.desktop.in:
5535 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5537 * shell/ev-view.c: (ev_view_button_press_event),
5538 (ev_view_motion_notify_event):
5540 Make selection work in any direction
5542 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5545 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5547 Use shorter labels for some of the toolbars items
5549 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5551 * pdf/xpdf/pdf-document.cc:
5553 Check the links info is initialized before
5554 using it. Should fix a crash on startup.
5556 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5558 * pixbuf/pixbuf-document.c
5559 (pixbuf_document_thumbnails_get_dimensions): force floating point
5560 division to calculate page_ratio. Fixes crash with landscape
5563 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5565 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5567 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5569 * shell/ev-view.c (set_document_page): unset has_selection when
5571 (set_document_page): handle paper size changes when the page
5572 changes (test with Free Culture, page 2).
5574 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5576 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5577 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5579 Use normal style color for the widget background and
5580 draw a black box around the page.
5582 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5584 * pdf/xpdf/pdf-document.cc:
5586 Keep offset in consideration in a few places
5588 * shell/ev-view.c: (expose_bin_window):
5590 Set the offsets so that the document is ever centered
5592 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5594 * TODO: Added TODO items and finished off the first todo item
5596 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5597 reflect current authors
5599 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5601 * pdf/xpdf/pdf-document.cc:
5602 * shell/ev-view.c: (ev_view_set_cursor),
5603 (ev_view_motion_notify_event), (document_changed_callback),
5604 (set_document_page):
5606 Show a wait cursor while the page is rendering
5608 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5610 * shell/ev-sidebar-thumbnails.c:
5611 (ev_sidebar_tree_selection_changed),
5612 (ev_sidebar_thumbnails_select_page):
5613 * shell/ev-sidebar-thumbnails.h:
5614 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5615 (ev_view_can_go_forward):
5616 * shell/ev-window.c: (ev_window_open_page),
5617 (ev_window_setup_document), (update_current_page),
5618 (view_page_changed_cb), (ev_window_init):
5619 * shell/ev-window.h:
5621 Ensure thumbnails selection, toolbar page control and
5622 current page are in sync.
5624 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5630 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5632 * backend/Makefile.am:
5633 * backend/ev-document-links.h:
5634 * backend/ev-document-security.c: (ev_document_security_get_type),
5635 (ev_document_security_has_document_security),
5636 (ev_document_security_set_password):
5637 * backend/ev-document-security.h:
5638 * backend/ev-document.c: (ev_document_error_quark):
5639 * backend/ev-document.h:
5641 * data/evince-password.glade:
5642 * pdf/xpdf/pdf-document.cc:
5643 * shell/Makefile.am:
5644 * shell/ev-password.c: (ev_password_set_bad_password_label),
5645 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5646 (ev_password_dialog_get_password),
5647 (ev_password_dialog_set_bad_pass):
5648 * shell/ev-password.h:
5649 * shell/ev-window.c: (ev_window_get_attribute),
5650 (ev_window_set_property), (update_action_sensitivity),
5651 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5652 (ev_window_setup_document), (ev_window_get_password),
5653 (ev_window_open), (ev_window_cmd_save_as),
5654 (using_postscript_printer), (ev_window_print),
5655 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5656 (update_fullscreen_popup), (ev_window_fullscreen),
5657 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5658 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5659 (menu_item_select_cb), (find_bar_search_changed_cb),
5660 (ev_window_dispose), (ev_window_init):
5662 Add initial support for password-supported dialogs. This could be
5663 a lot cooler, but it'll do for now.
5665 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5667 * pdf/xpdf/pdf-document.cc:
5668 * shell/ev-view.c: (status_message_from_link),
5669 (ev_view_set_status), (ev_view_set_cursor),
5670 (ev_view_motion_notify_event), (ev_view_init):
5671 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5673 Fix bugs in the links implementation and change cursor
5674 when hovering a link.
5676 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5678 * viewer/.cvsignore: added cvsignore file for viewer directory
5680 * TODO: created TODO document
5682 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5685 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5686 new functions to help with implementation of sensitivity code
5687 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5688 of all actions that might require it. Fixes a crash when you
5689 click on the Zoom actions in a window lacking a document.
5691 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5693 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5696 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5698 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5699 (pixbuf_document_document_iface_init):
5700 * ps/ps-document.c: (ps_document_get_link),
5701 (ps_document_document_iface_init):
5702 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5703 (status_message_from_link), (ev_view_set_status),
5704 (ev_view_set_find_status), (ev_view_motion_notify_event),
5705 (ev_view_button_release_event), (ev_view_set_property),
5706 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5707 (ev_view_get_find_status_message), (update_find_results),
5708 (ev_view_get_status), (ev_view_get_find_status):
5710 * shell/ev-window.c: (view_status_changed_cb),
5711 (view_find_status_changed_cb), (ev_window_init):
5713 View status message support, use it to show the links.
5716 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5718 * backend/ev-document.c: (ev_document_get_link):
5719 * backend/ev-document.h:
5720 * pdf/xpdf/pdf-document.cc:
5721 * shell/ev-application.c: (ev_application_open):
5722 * shell/ev-application.h:
5723 * shell/ev-sidebar-links.c: (selection_changed_cb):
5724 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5725 (ev_view_go_to_link):
5727 Add support for document links
5729 2005-01-13 Anders Carlsson <andersca@gnome.org>
5731 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5733 Set the spin button limits correctly.
5735 * shell/ev-sidebar-thumbnails.c:
5736 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5737 Support changing pages by clicking on the thumbnails.
5739 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5741 * pixbuf/pixbuf-document.c:
5742 (pixbuf_document_thumbnails_get_dimensions),
5743 (pixbuf_document_document_thumbnails_iface_init):
5745 implement get_dimensions
5747 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5749 * ps/ps-document.c: (ps_document_goto_page):
5751 Fix page switching on multipage documents
5753 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5755 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5757 check for NULL before assigning to width and height parameters
5759 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5761 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5762 (pixbuf_document_set_property), (pixbuf_document_get_property):
5764 implement get/set properties
5766 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5768 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5770 return NULL instead of "Unknown", letting the title get set to
5771 the filename when the pdf has no title.
5773 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5775 * ps/ps-document.c: (ps_document_get_page_count),
5776 (ps_document_goto_page):
5778 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5780 * shell/ev-history.c: (ev_history_get_property),
5781 (ev_history_set_property), (ev_history_class_init),
5782 (ev_history_add_page), (ev_history_set_current_index):
5783 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5784 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5785 (ev_navigation_action_finalize):
5786 * shell/ev-navigation-action.h:
5787 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5788 (ev_view_go_forward), (ev_view_get_find_status_message),
5789 (history_index_changed_cb), (ev_view_set_history):
5791 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5792 (update_current_page), (register_custom_actions):
5794 Implement history dropdowns
5796 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5798 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5799 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5800 (ev_view_go_forward):
5801 * shell/ev-window.c: (register_custom_actions):
5803 Fix several history bugs
5805 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5807 * configure.ac: Add «nb» to ALL_LINGUAS.
5809 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5811 * backend/Makefile.am:
5812 * backend/ev-bookmark.c:
5813 * backend/ev-bookmark.h:
5814 * backend/ev-document-bookmarks.c:
5815 * backend/ev-document-bookmarks.h:
5816 * backend/ev-document-links.c: (ev_document_links_get_type),
5817 (ev_document_links_has_document_links),
5818 (ev_document_links_begin_read), (ev_document_links_get_link),
5819 (ev_document_links_get_child), (ev_document_links_next),
5820 (ev_document_links_free_iter):
5821 * backend/ev-document-links.h:
5822 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5823 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5824 (ev_link_get_link_type), (ev_link_set_link_type),
5825 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5826 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5827 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5828 (ev_link_new_external):
5829 * backend/ev-link.h:
5830 * pdf/xpdf/pdf-document.cc:
5831 * shell/Makefile.am:
5832 * shell/ev-application.c: (ev_application_open_link):
5833 * shell/ev-application.h:
5834 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5835 (ev_history_get_link_nth):
5836 * shell/ev-history.h:
5837 * shell/ev-sidebar-bookmarks.c:
5838 * shell/ev-sidebar-bookmarks.h:
5839 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5840 (ev_sidebar_links_class_init), (selection_changed_cb),
5841 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5842 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5843 (do_one_iteration), (populate_links_idle),
5844 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5845 * shell/ev-sidebar-links.h:
5846 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5847 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5850 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5851 * shell/ev-window.h:
5853 Rename bookmark to link, and use "Index" for the sidebar panel.
5855 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5857 * shell/Makefile.am:
5858 * shell/ev-application.c: (ev_application_open_bookmark):
5859 * shell/ev-application.h:
5860 * shell/ev-history.c: (ev_history_init), (free_links_list),
5861 (ev_history_finalize), (ev_history_class_init),
5862 (ev_history_add_link), (ev_history_add_page),
5863 (ev_history_get_link_nth), (ev_history_get_n_links),
5864 (ev_history_get_current_index), (ev_history_set_current_index),
5866 * shell/ev-history.h:
5867 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5868 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5869 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5870 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5873 * shell/ev-window.c: (ev_window_open_bookmark),
5874 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5875 (goto_page_cb), (register_custom_actions):
5876 * shell/ev-window.h:
5878 Initial history implementation. Needs work.
5880 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5882 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5884 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5886 * cut-n-paste/recent-files/egg-recent-item.c:
5887 * cut-n-paste/recent-files/egg-recent-item.h:
5888 * cut-n-paste/recent-files/egg-recent-model.c:
5889 * cut-n-paste/recent-files/egg-recent-util.c:
5890 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5891 * cut-n-paste/recent-files/egg-recent-view.c:
5895 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5897 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5898 (fillGlyph, fillImageMask, drawImage):
5899 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5900 pdf/splash/SplashTypes.h:
5901 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5902 packed mode for Splash.
5904 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5905 RGB8 packed mode, eliminates the pixbuf data creation loop.
5907 * shell/ev-print-job.c (ev_print_job_finalize)
5908 (ev_print_job_set_property, ev_print_job_get_property)
5909 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5910 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5911 (print_closure_finalize, ev_print_job_print): implement
5912 printing (for backends with EvPsExporter)
5914 * shell/ev_print_job.h: update prototypes.
5916 * shell/ev-window.c (ev_window_print): unref print job after
5919 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5920 unless the document implements the EvDocumentFind interface.
5922 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5924 * configure.ac: Added ja to ALL_LINGUAS.
5926 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5928 * pdf/xpdf/pdf-document.cc:
5930 add a FIXME. We should probably not allocate
5931 a bookmark object every time
5933 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5935 * shell/ev-application.c: (ev_application_open),
5936 (ev_application_open_bookmark):
5937 * shell/ev-application.h:
5939 Add a way to open bookmarks
5941 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5942 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5943 (ev_bookmark_set_property), (ev_bookmark_class_init),
5944 (ev_bookmark_new_title), (ev_bookmark_new_link),
5945 (ev_bookmark_new_external):
5947 Support for external uris, better constructors.
5949 * backend/ev-bookmark.h:
5950 * pdf/xpdf/pdf-document.cc:
5951 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5953 Handle external uris
5955 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5957 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5958 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5960 Hook up bookmarks navigation
5962 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5964 * backend/Makefile.am:
5965 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5966 (ev_bookmark_get_title), (ev_bookmark_set_title),
5967 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5968 (ev_bookmark_get_page), (ev_bookmark_set_page),
5969 (ev_bookmark_get_property), (ev_bookmark_set_property),
5970 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5972 * backend/ev-bookmark.h:
5973 * backend/ev-document-bookmarks.c:
5974 (ev_document_bookmarks_get_bookmark):
5975 * backend/ev-document-bookmarks.h:
5976 * pdf/xpdf/pdf-document.cc:
5977 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5979 Add a bookmark object to the backend and use it instead of get_values
5981 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5983 * data/evince-ui.xml:
5985 Cleanup and add select all.
5987 * shell/ev-view.c: (ev_view_select_all),
5988 (ev_view_button_press_event):
5990 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5993 Clear selection on click.
5995 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5997 * shell/ev-sidebar-thumbnails.c
5998 (ev_sidebar_thumbnails_set_document): forgot to unref the
6001 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6003 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6004 at the visible page, not just linearly. This makes it look fast.
6006 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6008 * backend/ev-document-misc.c
6009 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6011 * backend/ev-document-thumbnails.h: New interface to get the size
6014 2005-01-06 Jeremy Katz <katzj@redhat.com>
6016 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6019 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6021 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6022 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6025 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6027 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6029 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6030 fonts. Should fix font problems on systems that have the base
6031 fonts in bitmap format. Reported by James Henstridge
6032 <james@jamesh.id.au>.
6034 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6037 * pdf/xpdf/GfxState.cc:
6039 Fix for CAN-2004-1125
6041 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6043 * shell/ev-view.c: (ev_view_copy):
6045 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6047 Implement Edit->Copy
6049 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6051 * backend/ev-document.c: (ev_document_get_text):
6052 * backend/ev-document.h:
6053 * pdf/xpdf/pdf-document.cc:
6054 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6055 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6056 (ev_view_update_primary_selection), (ev_view_button_press_event),
6057 (ev_view_motion_notify_event), (ev_view_button_release_event):
6059 Beginnings of clipboard support. Incomplete but primary sort
6062 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6064 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6065 (expose_bin_window):
6067 Nicer rubberband drawing, from GtkIconView.
6069 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6071 * backend/ev-document.c: (ev_document_save):
6072 * backend/ev-document.h:
6073 * data/evince-ui.xml:
6074 * pdf/xpdf/pdf-document.cc:
6075 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6077 Implement "Save a copy..." menu item
6079 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6081 * shell/ev-view.c: (ev_view_zoom):
6083 Queue a resize when zoom changes
6085 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6087 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6090 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6093 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6095 * pdf/xpdf/pdf-document.cc
6096 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6098 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6100 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6101 It's slow, but I'll speed it up next!
6103 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6105 * shell/main.c (load_files):
6107 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6108 from the command line and because it seems more appropriate.
6110 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6112 * data/evince-ui.xml:
6113 * shell/ev-window.c: (update_action_sensitivity),
6114 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6116 s/next page/page down
6117 s/previous page/page up
6119 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6121 * data/evince-ui.xml:
6123 Change the layout to match clarkbw design.
6125 * shell/Makefile.am:
6126 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6127 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6128 (ev_navigation_action_finalize),
6129 (ev_navigation_action_set_property),
6130 (ev_navigation_action_get_property),
6131 (ev_navigation_action_class_init):
6132 * shell/ev-navigation-action.h:
6134 Implement clarkbw toolbar navigation controls (incomplete)
6136 * shell/ev-page-action.c: (update_label), (update_spin),
6137 (value_changed_cb), (create_tool_item), (connect_proxy),
6138 (ev_page_action_init), (ev_page_action_finalize),
6139 (ev_page_action_set_property), (ev_page_action_get_property),
6140 (ev_page_action_set_current_page),
6141 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6142 * shell/ev-page-action.h:
6144 Implement a page switcher in the toolbar
6146 * shell/ev-view.c: (ev_view_scroll_view):
6147 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6148 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6149 (register_custom_actions), (ev_window_init):
6151 Change page on PageUp/Down.
6153 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6155 * pdf/xpdf/pdf-document.cc
6156 (pdf_document_thumbnails_get_thumbnail): initial stab at
6157 implementing thumbnail support for pdfs. It only does documents
6158 with precached pdfs now.
6160 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6162 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6163 thumbnail code into a time-based idle as well. Also, turn off the
6164 shadow temporarily as it's really slow.
6166 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6168 * backend/ev-document.c: (ev_document_class_init):
6169 * pdf/xpdf/pdf-document.cc:
6170 * shell/ev-window.c: (ev_window_open):
6172 Fix document title bugs and fallback to
6173 filename when not available.
6175 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6177 * backend/ev-document.c: (ev_document_get_type),
6178 (ev_document_class_init), (ev_document_load),
6179 (ev_document_get_title):
6180 * backend/ev-document.h:
6181 * pdf/xpdf/pdf-document.cc:
6182 * ps/ps-document.c: (ps_document_set_property),
6183 (ps_document_get_property), (ps_document_class_init),
6187 * shell/ev-window.c: (update_window_title), (ev_window_open),
6190 Initial support for document title. Not working yet.
6192 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6194 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6196 Grab focus on the view when clicking it
6198 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6200 * shell/ev-marshal.list:
6201 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6202 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6204 Add key bindings to the view. Now if the focus would work
6207 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6210 * backend/Makefile.am:
6213 * dvi/dvilib/Makefile.am:
6214 * pdf/xpdf/Makefile.am:
6220 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6222 * shell/ev-view.c: (ev_view_realize):
6224 Fix mouse wheel scrolling
6226 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6232 * ps/ps-document.c: (catchPipe), (ps_document_init),
6233 (ps_document_class_init), (ps_document_cleanup),
6234 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6235 (set_up_page), (close_pipe), (is_interpreter_ready),
6236 (interpreter_failed), (output), (input), (start_interpreter),
6237 (stop_interpreter), (file_length), (file_readable),
6238 (check_filecompressed), (check_pdf), (compute_xdpi),
6239 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6240 (ps_document_get_type), (ps_document_emit_error_msg),
6241 (document_load), (ps_document_next_page),
6242 (ps_document_get_current_page), (ps_document_get_page_count),
6243 (ps_document_goto_page), (ps_document_set_page_size),
6244 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6245 (ps_document_load), (ps_document_get_n_pages),
6246 (ps_document_set_page), (ps_document_get_page),
6247 (ps_document_widget_event), (ps_document_set_target),
6248 (ps_document_set_scale), (ps_document_set_page_offset),
6249 (ps_document_get_page_size), (ps_document_render),
6250 (ps_document_document_iface_init):
6253 * shell/ev-window.c: (ev_window_open):
6255 Rename GtkGS to PSDocument
6257 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6259 * ps/gtkgs.c: (gtk_gs_class_init):
6262 Some more leftover...
6264 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6266 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6267 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6268 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6271 Remove unused code and make a lot of stuff private
6273 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6275 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6276 (gtk_gs_defaults_changed):
6282 Cleanup headers dependencies
6284 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6289 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6291 * ps/gtkgs.c: (file_length), (file_readable),
6292 (check_filecompressed), (check_pdf), (gtk_gs_load),
6293 (gtk_gs_get_postscript):
6297 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6302 * ps/gtkgs.c: (gtk_gs_set_zoom):
6306 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6308 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6310 Ensure the page is rerendered when changing zoom
6312 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6314 * backend/ev-document.c: (ev_document_base_init),
6315 (ev_document_changed):
6316 * backend/ev-document.h:
6318 Add a changed event that is emitted when the page content
6319 changes. This is necessary to deal with the fact that
6320 in ps backend rendering happen asycrounously.
6321 This makes the ps backend mostly work.
6323 * pdf/xpdf/pdf-document.cc:
6327 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6328 (ps_document_set_target):
6332 * shell/ev-view.c: (document_changed_callback),
6333 (ev_view_set_document), (ev_view_set_page):
6335 Redraw on the changed signal
6337 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6339 * configure.ac: Added pt_BR to ALL_LINGUAS.
6341 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6343 * backend/ev-document-bookmarks.c:
6344 (ev_document_bookmarks_get_child): *
6345 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6346 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6347 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6348 (ev_sidebar_bookmarks_destroy),
6349 (ev_sidebar_bookmarks_class_init),
6350 (ev_sidebar_bookmarks_construct), (stack_data_free),
6351 (do_one_iteration), (populate_bookmarks_idle),
6352 (ev_sidebar_bookmarks_clear_document),
6353 (ev_sidebar_bookmarks_set_document): *
6354 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6355 (ev_sidebar_add_page),
6356 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6357 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6358 it displays both the topics and the page numbers.
6360 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6362 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6364 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6367 2004-12-23 Adam Weinberger <adamw@gnome.org>
6369 * configure.ac: Added en_CA to ALL_LINGUAS.
6371 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6373 * ChangeLog: replace bottom of this ChangeLog (merged history of
6374 ggv and gpdf; where all paths were wrong and most of the files are
6375 not even in this tree) with ChangeLog (from arch) of the shell
6378 2004-12-23 Havoc Pennington <hp@redhat.com>
6380 * shell/ev-window.c: hook up potentially-questionable "find
6381 results status text" feature - something involving the sidebar or
6382 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6383 might be better in the end.
6385 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6386 with corresponding signal when it should be updated
6388 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6390 2004-12-22 Havoc Pennington <hp@redhat.com>
6392 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6393 find stuff on other pages, sort of (only returns one result on
6394 invisible pages, to show they have results; updates full results
6395 for a page when you view it). Currently repaints the current page
6396 every time a new result is found on any page, which isn't so nice.
6398 2004-12-22 Havoc Pennington <hp@redhat.com>
6400 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6401 the document doesn't support find (better ideas?)
6402 (find_bar_search_changed_cb): handle missing document or document
6403 that doesn't support find
6405 * pdf/xpdf/pdf-document.cc: port to implement the new
6408 * backend/ev-document-find.c: create a new interface for searching
6410 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6412 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6414 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6417 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6418 EvPrintJob constructor arguments.
6420 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6421 for documents that can export PostScript (page by page).
6423 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6425 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6426 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6427 (pdf_document_ps_exporter_iface_init:
6428 Implement EvPSExporter.
6430 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6432 2004-12-22 Anders Carlsson <andersca@gnome.org>
6434 * backend/Makefile.am:
6435 * backend/ev-document-thumbnails.c:
6436 (ev_document_thumbnails_get_type),
6437 (ev_document_thumbnails_get_thumbnail):
6438 * backend/ev-document-thumbnails.h:
6439 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6440 (pixbuf_document_thumbnails_get_thumbnail),
6441 (pixbuf_document_document_thumbnails_iface_init):
6442 * shell/Makefile.am:
6443 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6444 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6445 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6446 * shell/ev-sidebar-thumbnails.h:
6447 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6448 (ev_sidebar_set_document):
6449 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6450 (create_shadow), (ev_pixbuf_add_shadow):
6452 Add thumbnail support.
6454 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6456 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6457 (using_postscript_printer): Set up a print dialog for "PostScript
6460 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6463 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6465 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6467 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6468 (ps_document_set_target), (ps_document_get_page_size),
6469 (ps_document_render):
6474 2004-12-22 Christian Rose <menthos@menthos.com>
6476 * configure.ac: Added "sv" to ALL_LINGUAS.
6478 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6480 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6481 document supports bookmarks.
6483 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6485 * ps/ggvutils.c: (ggv_file_readable):
6487 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6488 (gtk_gs_get_postscript):
6492 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6494 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6495 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6496 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6497 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6498 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6499 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6500 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6501 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6502 (gtk_gs_set_antialiasing), (ps_document_load),
6503 (ps_document_render):
6506 Another check point for the ps backend. Now I can get it to show
6509 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6511 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6512 document setting code.
6514 2004-12-22 Anders Carlsson <andersca@gnome.org>
6516 * shell/eggfindbar.c: (entry_activate_callback):
6517 Animate the next button when activate is pressed.
6519 2004-12-22 Anders Carlsson <andersca@gnome.org>
6521 * shell/ev-window.c: (ev_window_cmd_edit_find),
6522 (update_fullscreen_popup), (ev_window_fullscreen),
6523 (ev_window_unfullscreen), (ev_window_state_event_cb),
6524 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6525 Fix bugs in fullscreen code.
6527 2004-12-22 Anders Carlsson <andersca@gnome.org>
6531 * pixbuf/Makefile.am:
6532 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6533 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6534 (pixbuf_document_set_page), (pixbuf_document_get_page),
6535 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6536 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6537 (pixbuf_document_render), (pixbuf_document_begin_find),
6538 (pixbuf_document_end_find), (pixbuf_document_finalize),
6539 (pixbuf_document_class_init),
6540 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6541 * pixbuf/pixbuf-document.h:
6542 * shell/Makefile.am:
6543 * shell/ev-application.c: (ev_application_open):
6544 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6548 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6551 * dvi/dvilib/Makefile.am:
6553 * configure.ac: Auto*ify dvi and dvi/dvilib
6555 * dvi/Makefile: Remove from CVS
6557 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6560 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6562 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6564 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6567 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6568 (gtk_gs_value_adjustment_changed), (compute_size),
6569 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6570 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6571 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6572 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6573 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6574 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6575 (ps_document_load), (ps_document_get_n_pages),
6576 (ps_document_set_page), (ps_document_get_page),
6577 (ps_document_set_target), (ps_document_set_scale),
6578 (ps_document_set_page_offset), (ps_document_get_page_size),
6579 (ps_document_render), (ps_document_begin_find),
6580 (ps_document_end_find), (ps_document_document_iface_init):
6582 * shell/Makefile.am:
6583 * shell/ev-window.c: (ev_window_open):
6585 Some work to integrate gtkgs with EvDocument
6587 2004-12-22 Anders Carlsson <andersca@gnome.org>
6589 * shell/ev-window.c: (update_fullscreen_popup),
6590 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6591 (exit_fullscreen_button_clicked_cb),
6592 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6593 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6594 (ev_window_state_event_cb), (ev_window_init):
6595 Add fullscreen support from Epiphany.
6597 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6599 * data/ev-stock-zoom-fit-width.png: fit-width
6600 stock icon from gpdf.
6602 * shell/ev-stock-icons.[ch]: copied from gpdf.
6604 * shell/main.c: (main): init stock icons.
6606 * shell/ev-window.c: use the fit-width icon.
6608 * data/evince-ui.xml: add zooming toolbar items.
6610 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6613 (ev_view_best_fit), (ev_view_fit_width): because
6614 get_page_size() returns the scaled page size, we
6615 need to calculate the scale factor relative to
6616 the previous scale factor. Should really just
6617 add get_real_page_size().
6619 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6621 * shell/ev-view.[ch]:
6622 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6623 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6626 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6627 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6628 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6631 * pdf/xpdf/pdf-document.cc:
6632 (pdf_document_begin_find),
6633 (pdf_document_end_find): make static.
6635 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6637 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6639 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6640 names to fontconfig patterns.
6641 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6643 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6646 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6662 Import ggv backend. Not hooked up yet.
6664 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6666 * shell/main.c: (load_files), (main): load files
6667 from the command line.
6669 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6671 * configure.ac: don't require bonobo.
6673 * cut-n-paste/recent-files/*: kill bonobo recent
6676 * shell/ev-window.c:
6677 (ev_window_is_empty): upd.
6678 (unable_to_load), (ev_window_open): load backend
6679 based on the mime type.
6681 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6683 * backend/.cvsignore: ignore generated marshalers source.
6685 * shell/main.c (main): this is not epiphany.
6687 2004-12-22 Havoc Pennington <hp@redhat.com>
6689 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6690 (expose_bin_window): draw find highlights
6692 * shell/ev-window.c (find_bar_search_changed_cb): implement
6694 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6695 (pdf_document_end_find): implement this interface
6697 * backend/ev-document.c (ev_document_found): add this to emit
6700 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6702 * data/evince-ui.xml: Add a few more toolbar items.
6704 * shell/ev-window.c: Hook up page navigation toolbar
6707 * shell/ev-view.[ch]: add ev_view_set/get_page and
6708 a page-changed signal.
6710 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6711 Add ev_document_get_page().
6713 * shell/ev-window.c: Sensitize/desensitize navigation
6716 2004-12-21 Havoc Pennington <hp@redhat.com>
6718 * backend/ev-backend-marshal.c,
6719 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6720 marshaler-generator thingy. I'm sure there's a better way to do
6721 this in the modern world.
6723 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6724 end_find methods and "found" signal.
6726 * configure.ac: find glib-genmarshal
6728 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6730 * shell/ev-sidebar.c: Construct an actual sidebar.
6731 * shell/ev-sidebar-bookmarks.[ch]:
6732 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6734 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6736 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6739 * shell/ev-view.c: Track the size from the document.
6741 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6743 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6744 constructor assumes ownership of the string passed in.
6746 * shell/ev-window.c (ev_window_open): Destroy the error
6747 dialog once we've displayed it.
6749 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6751 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6752 a bit, it works! (sort of)
6754 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6755 Move to .cc since we need to use C++ in the implementation.
6757 * shell/dummy.cc: Add a CC file to force evince
6758 to be linked as a C++ program.
6760 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6762 * shell/ev-view.[ch]: Start of content-area widget.
6764 * shell/ev-window.c: Create a EvView, update it
6765 as we change documents.
6767 * shell/Makefile.am shell/ev-marshal.list: Add
6768 generated marshalers.
6770 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6772 * Makefile.am (SUBDIRS): move shell.
6774 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6776 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6777 .a to libtool convenience libraries.
6779 * shell/ev-window.c (ev_window_open): Hard code loading
6782 * backend/ev-document.h: Add a boolean return to load(),
6783 fix GError * to GError **.
6785 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6786 object for a PDF backend EvDocument.
6788 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6790 * dvi/*: New directory with the beginning of a .dvi backend.
6792 2004-12-21 Havoc Pennington <hp@redhat.com>
6794 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6795 previous/next instead of back/forward
6797 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6799 * backend/ev-document.[ch]: Fix a couple of problems so
6802 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6804 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6805 to backend/ directory, rename EvViewer to EvDocument.
6807 2004-12-21 Havoc Pennington <hp@redhat.com>
6809 * shell/ev-window.c: hook up the find bar widget; now we just need
6810 a document to find things in
6812 * shell/eggfindbar.c: a find bar widget
6814 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6816 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6818 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6820 * pdf/**: Import of xpdf code from gpdf.
6822 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6824 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6825 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6826 Fix FreeType includes.
6828 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6829 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6830 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6831 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6832 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6833 Include xpdfconfig.h
6835 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6837 * shell/ev-window.c (ev_window_dispose): dispose can be called
6840 2004-12-21 Havoc Pennington <hp@redhat.com>
6842 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6845 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6846 items; really they should be synced with the strings, etc. from
6847 current gpdf, but just getting the boring typing out of the way
6849 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6852 * shell/ev-application.c: (window_destroy_cb):
6853 * shell/ev-window.c:
6854 * shell/main.c: (main):
6856 Actually show the window...
6858 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6861 * shell/Makefile.am:
6862 * shell/ev-application.c: (ev_application_class_init):
6863 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6867 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6869 Import to gnome cvs.
6871 * Remove copies of gpdf and ggv trees.
6872 * Rip out all the recursive configure code.
6873 * Remove bonobo machinery.
6874 * viewer/*: GInterfaces that backends should/can implement.
6876 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6878 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6881 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6883 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6884 (ev_application_finalize, ev_application_class_init)
6885 (ev_application_init): use GType instance private data for priv.
6887 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6888 (ev_window_finalize, ev_window_class_init)
6889 (ev_window_init): ditto.
6891 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6893 * shell/ev-application.c (ev_application_new_window): make public
6894 (ev_application_show_initial_window): kill.
6896 * shell/ev-application.h: update prototypes.
6898 * shell/main.cc (main): inline ev_application_show_initial_window.
6900 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6902 * shell/ev-application.c (ev_application_new_window): impl.
6903 (ev_application_show_initial_window): use it.
6904 (is_window_empty, ev_application_get_empty_window): returns an
6905 existing empty window or a new one.
6906 (ev_application_open): from ev_window_cmd_file_open.
6908 * shell/ev-application.h: update prototypes
6910 * shell/ev-window.c (ev_window_is_empty): impl.
6911 (ev_window_open): make public.
6912 (ev_window_cmd_file_open): use ev_application_open
6914 * shell/ev-window.h: update prototypes, remove unused.
6916 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6918 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6919 move destroy handler out of here...
6921 * shell/ev-application.c, shell/ev-application.h: ...into this new
6922 class. Also handles initial window creation.
6924 * shell/main.cc (main): use EvApplication to create initial
6927 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6929 * Makefile.am (SUBDIRS): add cut-n-paste
6931 * cut-n-paste/Makefile.am: add
6933 * configure.ac: generate Makefiles in cut-n-paste
6935 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6937 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6938 (ev_window_class_init): install ev_window_dispose.
6940 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6942 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6943 char (gchar looks stupid).
6945 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6947 * po/de.po: updated German translation.
6949 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6951 * configure.ac: add more pkg-config library checks for gnome-vfs,
6954 * gpdf/configure.in: temporarily disable libpaper
6955 checks. Otherwise I'd have to add the checks for the shell, too.
6957 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6959 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6960 and * file filters to the file choose.
6962 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6964 * po/de.po: Updated German translation.
6966 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6968 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6970 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6972 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6974 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6975 (ev_window_init): implement those menuitems.
6977 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6979 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6981 * shell/ev-window.c (ev_window_init): use the toolbar.
6983 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6985 * shell/ev-window.c (ev_window_init): use menu translations
6987 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6989 * configure.ac: add "de" to ALL_LINGUAS.
6991 * po/de.po: add German translation.
6993 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6995 * Makefile.am (SUBDIRS): add po
6997 * configure.ac: check intltool, glib-gettext etc, generate
7000 * po, po/POTFILES.in, po/POTFILES.skip: new.
7002 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7004 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7005 already use (#ifdef ENABLE_NLS)
7007 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7008 pointer indirection thinko.
7010 * shell/main.c: include gi18n.h for bindtextdomain etc.
7012 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7014 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7015 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7016 tooltips for menu items in the statusbar.
7018 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7020 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7021 pkgdatadir drop UIDIR
7023 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7025 * data/evince-ui.xml: Add File->Open menu item
7027 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7028 chooser), hook it up in the ui manager.
7030 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7032 * shell/ev-window.c: fix Help->About tooltip.
7034 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7036 * configure.ac: set CFLAGS for libevprivate.
7038 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7039 definitions, factory etc.
7041 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7043 * shell/Makefile.am: link against libevprivate.a.
7045 * shell/ev-window.c (entries): add stock icon to Help->About.
7047 * shell/main.c (main): init stock icon code.
7049 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7051 * lib/recent-files: egg recent files code
7053 * lib/Makefile.am: add.
7055 * Makefile.am: add lib subdir.
7057 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7058 set CFLAGS for recent-files.
7060 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7062 * configure.ac: disable -ansi and -pedantic gcc flags. They
7063 disable POSIX stuff in stdio.h, but egg-recent uses them.
7065 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7067 * configure.ac: add --disable-deprecated flag (defaults to on in
7070 * shell/Makefile.am (INCLUDES): use it.
7072 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7074 * shell/main.c: add missing #include.
7076 * shell/ev-window.c: fix for pedantic gcc.
7077 (ev_window_cmd_help_about): split license into paragraphs for
7078 translators and pedantic compilers.
7080 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7082 * configure.ac: add more warning flags if compiling with gcc from
7083 cvs (or explicitly requested with --enable-more-warnings).
7085 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7087 * data/evince-ui.xml: add File and File->Close menu.
7089 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7090 (ev_window_destroy): quit after destroy.
7091 (ev_window_class_init): override GtkObject::destroy.
7092 (entries): install close_window callback.
7094 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7096 * Makefile.am (SUBDIRS): add data subdir.
7098 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7099 gtk+ 2.5.0 for GtkAboutDialog.
7101 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7104 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7106 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7108 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7110 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7112 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7114 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7116 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7118 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7120 * shell/*: Added shell directory boilerplate, build it.
7122 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7124 * configure.ac, Makefile.am: Added top-level configure.ac and