1 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5 Fix pdf thumbnails rendering.
7 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
9 * shell/ev-window.c: (fullscreen_set_timeout):
11 Increase timeout to hide full screen popup. Bug
14 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
16 * data/evince.schemas.in:
17 * shell/ev-window.c: (update_action_sensitivity):
19 Allow the user to override document restrictions. Fix for bug
22 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
24 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
25 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
26 (ev_window_class_init): Fix multihead behaviour of fullscreen
27 toolbar popup. Fixes bug #315451.
29 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
32 * data/evince-password.glade:
33 * shell/ev-password.c: (ev_password_dialog_set_property),
34 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
35 (ev_password_dialog_init), (ev_password_set_bad_password_label),
36 (ev_password_dialog_entry_changed_cb),
37 (ev_password_dialog_entry_activated_cb),
38 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
39 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
40 (ev_password_dialog_set_bad_pass):
41 * shell/ev-password.h:
42 * shell/ev-window.c: (password_dialog_response),
43 (ev_window_popup_password_dialog):
45 Support for gnome-keyring for encrypted PDF's.
47 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
49 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
50 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
51 (ev_view_enter_notify_event), (ev_view_class_init):
53 More precise handling of enter_notify/leave_notify events
54 in EvView. Fix for bug 315470.
56 2005-09-08 Christopher Aillon <caillon@redhat.com>
58 * shell/ev-window.c: (fullscreen_timeout_cb),
59 (fullscreen_set_timeout), (fullscreen_clear_timeout),
62 leak fix: unref fullscreen_timeout_source before clearing it
64 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
66 * configure.ac, dvi/mdvi/Makefile.am:
68 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
70 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
72 * backend/ev-link.c: (ev_link_new_page_xyz):
74 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
76 Fix some bugs with xyz links, respect zoom
78 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
80 * shell/ev-window.c: (page_changed_cb),
81 (setup_document_from_metadata), (update_sidebar_visibility),
82 (setup_view_from_metadata), (ev_window_run_fullscreen),
83 (ev_window_stop_fullscreen), (ev_window_run_presentation),
84 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
85 (ev_window_dual_mode_changed_cb),
86 (ev_window_sidebar_current_page_changed_cb):
88 null check uri before setting and getting metadata
90 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
93 * properties/Makefile.am:
95 * thumbnailer/Makefile.am:
97 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
99 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
101 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
102 (selection_changed_callback):
103 * shell/ev-sidebar-links.h:
105 Add a signal for link activation.
107 * shell/ev-view.c: (ev_view_goto_link),
108 (ev_view_button_release_event):
110 * shell/ev-window.c: (sidebar_links_link_activated_cb),
113 Implement the signal so that we can handle all link types.
115 * shell/ev-page-cache.c:
117 Remove unused set_link function
119 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
121 * lib/ev-tooltip.c: (ev_tooltip_set_position):
123 Add some space from the cursor, hardcoded but I couldnt
126 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
130 Use mozilla style vs gtk style, way better for links.
132 * shell/ev-view.c: (ev_view_motion_notify_event),
133 (ev_view_destroy), (ev_view_init):
135 Deactive tooltip when the link hovered is changed.
137 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
139 * backend/ev-document.h:
140 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
141 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
142 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
143 (ev_link_new_page), (ev_link_new_page_xyz):
146 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
147 (go_to_link), (tip_from_link):
149 Implement xyz links, still not functional. Links are a total
150 mess, will need to refactor and bugfix a lot :(
152 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
154 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
156 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
158 * data/evince-ui.xml:
159 * data/evince.schemas.in:
161 * shell/ev-window.c: (update_chrome_visibility),
162 (password_dialog_response), (ev_window_load_job_cb),
163 (ev_window_xfer_job_cb), (ev_window_open_uri),
164 (ev_window_class_init), (set_chrome_actions), (load_chrome),
167 Remove the statusbar. This regress loading feedback, need to
168 check with Bryan what we want to do there...
170 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
172 * lib/ev-tooltip.c: (ev_tooltip_init):
174 Fix tooltip border and size handling
176 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
178 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
179 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
180 (ev_tooltip_timeout), (ev_tooltip_activate),
181 (ev_tooltip_deactivate):
183 * shell/ev-view.c: (ev_view_motion_notify_event):
185 Delay popup showing. Mirror gtk logic/times.
187 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
190 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
191 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
192 (ev_tooltip_set_text), (ev_tooltip_set_position):
195 Simple widget to show tooltips at a custom position
197 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
200 Use it for links. First go, needs work
202 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
204 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
205 HIG fixes. Use title capitalization for window title. Use 12
206 pixels of space between the dialog's vbox and action area.
208 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
210 * shell/ev-window.c: (file_open_dialog_response_cb),
211 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
212 (ev_window_cmd_save_as):
214 Make file pickers not modal and refactor code some
216 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
218 * shell/ev-sidebar.h:
219 * shell/ev-sidebar.c: (ev_sidebar_set_property),
220 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
221 (ev_sidebar_class_init), (ev_sidebar_select_page),
222 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
223 (ev_sidebar_set_page):
225 Add a current page property and allow to get/set it
227 * shell/ev-window.c: (setup_view_from_metadata),
228 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
230 Persist current sidebar page per document
232 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
234 * data/evince.schemas.in:
235 * shell/ev-window.c: (update_chrome_visibility),
236 (setup_document_from_metadata), (update_sidebar_visibility),
237 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
238 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
239 (ev_window_run_presentation), (ev_window_stop_presentation),
240 (ev_window_view_sidebar_cb),
241 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
242 (load_chrome), (ev_window_init):
244 Persist size/visibility of sidebar per document
246 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
248 * shell/ev-view.c (draw_loading_text): Draw loading text.
250 2005-09-02 Dan Damian <dand@gnome.ro>
252 * configure.in: Added "ro" to ALL_LINGUAS.
254 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
256 * shell/ev-view.c: (clear_caches):
258 ev_page_cache_get doesnt return a reference,
259 dont try to unref it.
261 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
263 * shell/main.c: (load_files_remote):
265 Fix timestamp parameter with dbus <= 0.33
267 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
269 * data/evince.schemas.in:
271 Add missing full stop
273 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
275 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
276 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
278 Plug some memory leaks
280 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
283 * lib/ev-debug.c: (trap_handler):
285 Check for execinfo.h and use it only if it exists.
286 Ported from Epiphany (bug #314776).
288 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
290 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
292 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
294 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
295 * po/id.po : Added Indonesian translation
297 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
300 * shell/ev-application.c: Last minute GTK-2.6 fixes.
301 * NEWS: Release 0.4.0
303 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
305 * configure.ac: catch another gtk+-2.8ism
306 * shell/main.c: Make work with gtk+-2.6
308 2005-08-25 Ryan Lortie <desrt@desrt.ca>
310 * shell/ev-application-service.xml: Add 'timestamp' argument to
311 ev_application_open_window and ev_application_open_uri methods.
313 * shell/ev-application.h: Add 'timestamp' argument to
314 ev_application_open_window, ev_application_open_uri,
315 and ev_application_open_uri_list functions.
317 * shell/ev-application.c (ev_application_open_window,
318 ev_application_open_uri, ev_application_open_uri_list): Change
319 functions that show/present windows to use a timestamp if one
322 * shell/ev-window.c (ev_window_cmd_file_open,
323 ev_window_cmd_recent_file_activate, drag_data_received_cb):
324 * shell/main.c (load_files): Modify calls to ev_application to
325 include GDK_CURRENT_TIME as timestamp.
327 * shell/main.c (load_files_remote): Obtain timestamp for client
328 instance from GDK and pass to server instance so new windows are
329 focused properly. Fix dbus_g_proxy_call() calls by including second
334 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
336 * shell/ev-window.c (ev_window_finalize): Check for
337 avail. EvWindows when quiting to handle the finalize better,
340 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
342 * properties/ev-properties-view.c:
344 Set textdomain to libglade. Fixes translation problem in property page.
346 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
348 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
350 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
351 * dvi/mdvi-lib/Makefile.am:
353 Fix rotation of thumbnails, ported to new API. Moved library
354 dependencies earlier, probably it will fix linkage problem.
356 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
358 * backend/ev-document-misc.c:
359 (ev_document_misc_get_thumbnail_frame):
360 * backend/ev-document-misc.h:
364 * shell/ev-sidebar-thumbnails.c: (add_range),
365 (ev_sidebar_thumbnails_set_loading_icon),
366 (ev_sidebar_thumbnails_refresh),
367 (ev_sidebar_thumbnails_set_document):
368 * shell/ev-sidebar-thumbnails.h:
369 * shell/ev-view.c: (ev_view_motion_notify_event),
370 (ev_view_set_property), (ev_view_get_property),
371 (ev_view_class_init), (ev_view_set_rotation):
372 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
373 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
375 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
376 Redo rotation (again). prepare for 0.4.0
378 2005-08-24 Kristian Høgsberg <krh@redhat.com>
380 * configure.ac: Bump poppler requirement to 0.4.1.
382 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
383 argument to poppler_page_render_selection() call.
385 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
387 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
388 (djvu_document_thumbnails_get_thumbnail):
389 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
390 (dvi_document_thumbnails_get_thumbnail):
391 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
392 (pixbuf_document_thumbnails_get_thumbnail):
393 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
395 Update rotation direction of backends to fit with pdf and ps.
397 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
399 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
400 * backend/ev-async-renderer.h:
401 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
402 (setup_page), (ps_document_get_page_size),
403 (ps_async_renderer_render_pixbuf):
405 * shell/ev-jobs.c: (ev_job_render_run):
407 Fix orientation in the postscript document
409 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
412 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
413 * shell/ev-view.c: (highlight_find_results):
415 Adapt to the new poppler rotation API. Fix text maps on landscape
418 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
420 * shell/ev-view.c (compute_new_selection_text): get the correct
421 region when selecting in modes other than continuous.
423 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
425 * shell/main.c (main): remove redundant g_warnings.
427 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
429 * shell/Makefile.am: Don't include autogenerated
430 file ev-application-service.h into distribution, since
431 it causes dbus crash. Fix for bugs 313724 and 313443.
433 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
435 * configure.ac: Fix sed expression for FreeBSD. Thanks
436 to Joe Marcus Clark <marcus@freebsd.org>
438 * shell/eggfindbar.c: (entry_activate_callback),
439 (entry_changed_callback), (egg_find_bar_init),
440 (egg_find_bar_set_search_string):
442 Made findbar buttons unsensitive if there is no text in
443 entry. Fix for the bug 313285.
445 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
447 * ps/ps-document.c: Use g_filename_display_name for displaying
448 filenames and revert string freeze breackage
450 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
459 Add ev-application-service.xml to extra dist
461 * shell/ev-view.c: (find_page_at_location):
463 Remove unused function (fix warning)
465 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
467 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
468 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
470 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
473 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
475 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
479 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
481 * configure.ac: Update script to get dbus version.
482 Fix for the bug #313443.
484 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
486 * shell/ev-window.c: (ev_window_cmd_escape):
488 Return focus back to view on escape. Fix for bug 313295.
490 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
492 * shell/ev-window.c: (update_window_title),
493 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
494 (ev_window_cmd_save_as):
496 Correct conversion from uri to displayable string. Fix for
499 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
501 * ps/ps-document.c: convert filename to utf8 when there is an error
502 loading document. Fixes #309915
504 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
508 We depend on poppler 0.4.0
510 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
513 * NEWS: Release 0.3.3.
514 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
516 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
518 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
519 add a couple missing mnemonics to menu items, use title
520 capitalization for menu items and window titles, and add
521 ellipsis to open menu item.
523 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
526 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
527 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
528 (ev_view_get_rotation):
530 * shell/ev-window.c: (setup_view_from_metadata),
531 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
532 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
535 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
537 * configure.ac: Added tr to ALL_LINGUAS
539 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
541 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
542 requires several clicks to find word. Thanks to
543 Colin Slater <kiltedtaco@gmail.com>.
545 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
547 * data/evince.desktop.in.in: Hide menu entry and
548 rename it to "Document Viewer". Fix for bug
551 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
553 * shell/ev-page-action.c (ev_page_action_class_init):
555 Point to the correct function in constructor of the
556 activate_label signal
558 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
560 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
561 * shell/ev-jobs.h: Make thread safe.
563 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
565 * shell/ev-view.c: (view_update_range_and_current_page):
566 Don't update page range if we are scrolling to some document
569 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
571 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
572 when getting max_page_width, fix drawing in dual mode.
574 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
576 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
577 getting the area for select_all.
579 2005-08-06 Kristian Høgsberg <krh@redhat.com>
581 * backend/ev-selection.c: (ev_selection_render_selection):
582 * backend/ev-selection.h:
584 * shell/ev-jobs.c: (ev_job_render_new):
586 * shell/ev-pixbuf-cache.c: (get_selection_colors),
587 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
588 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
589 (ev_view_class_init):
591 Change selection color on focus in and focus out events. Also,
592 poppler now uses GdkColor for specifying the selection colors, so
593 drop some awkward conversion code.
595 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
597 * configure.ac: Added Hebrew translation
599 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
602 * backend/ev-selection.c: (ev_selection_render_selection):
603 * backend/ev-selection.h:
605 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
608 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
609 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
610 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
611 (ev_pixbuf_cache_style_changed),
612 (ev_pixbuf_cache_get_selection_pixbuf),
613 (ev_pixbuf_cache_set_selection_list),
614 (ev_pixbuf_cache_get_selection_list):
615 * shell/ev-pixbuf-cache.h:
616 * shell/ev-utils.c: (ev_print_region_contents):
618 * shell/ev-view.c: (ev_view_queue_draw_page),
619 (selection_update_idle_cb), (ev_view_motion_notify_event),
620 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
621 (setup_caches), (ev_view_find_next), (merge_selection_region),
623 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
625 Clean up selection to be much smoother!
627 2005-08-05 Kristian Høgsberg <krh@redhat.com>
629 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
630 to poppler_page_render_selection().
632 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
634 * ps/ps-document.c: (save_page_list): Use
635 unzipped document when printing. Thanks to
636 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
639 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
641 * shell/ev-window.c: (update_action_sensitivity):
643 Disable print and save respect to lockdown gconf keys. Fix
646 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
649 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
650 (write_to_temp_file), (ev_file_set_contents):
652 * shell/ev-window.c: (save_print_config_to_file):
654 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
657 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
659 * shell/ev-window.c: (load_print_config_from_file),
660 (save_print_config_to_file), (ev_window_print_range):
662 Persist the print settings. Fixes bug #311578.
664 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
666 * djvu/djvu-document.c: (djvu_document_get_page_size),
667 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
668 (djvu_document_thumbnails_get_thumbnail):
669 * dvi/dvi-document.c: (dvi_document_get_page_size),
670 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
671 (dvi_document_thumbnails_get_dimensions),
672 (dvi_document_thumbnails_get_thumbnail):
673 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
674 (pixbuf_document_render_pixbuf),
675 (pixbuf_document_document_iface_init),
676 (pixbuf_document_thumbnails_get_thumbnail):
678 Update backends to make them build with new rotation system.
680 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
682 * help/C/figures/evince_start_window.png:
684 Update documentation image from Luca Ferretti <elle.uca@libero.it>
686 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
688 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
689 * shell/ev-pixbuf-cache.h:
690 * shell/ev-sidebar-thumbnails.c:
691 (ev_sidebar_thumbnails_get_property), (add_range),
692 (adjustment_changed_cb):
693 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
694 pixbuf cache. Make thumbnailing work again. Also, fix bug where
695 we were thumbnailing the entire docment on startup, slowing us
698 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
700 * shell/ev-page-cache.c: (ev_page_cache_new):
701 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
704 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
706 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
707 (ev_view_rotate_left):
709 Account rotation in doc_rect_to_view_rect.
710 Ensure rotation doesnt go out of bounds.
712 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
714 * shell/ev-page-cache.c: (ev_page_cache_get_size):
716 Correct and cleanup w/h swapping
718 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
720 * backend/ev-document-thumbnails.c:
721 (ev_document_thumbnails_get_thumbnail):
722 * backend/ev-document-thumbnails.h:
723 * backend/ev-document.c:
724 * backend/ev-document.h:
725 * backend/ev-render-context.c: (ev_render_context_new),
726 (ev_render_context_set_rotation):
727 * backend/ev-render-context.h:
729 * ps/ps-document.c: (ps_document_document_iface_init):
730 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
732 * shell/ev-page-cache.c: (build_height_to_page),
733 (ev_page_cache_new), (ev_page_cache_get_size),
734 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
735 (ev_page_cache_get_height_to_page):
736 * shell/ev-page-cache.h:
737 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
738 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
739 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
740 (ev_pixbuf_cache_get_selection_pixbuf):
741 * shell/ev-pixbuf-cache.h:
742 * shell/ev-print-job.c: (idle_print_handler):
743 * shell/ev-sidebar-thumbnails.c: (add_range):
744 * shell/ev-view.c: (view_update_range_and_current_page),
745 (get_page_y_offset), (get_page_extents),
746 (ev_view_size_request_continuous_dual_page),
747 (ev_view_size_request_continuous),
748 (ev_view_size_request_dual_page),
749 (ev_view_size_request_single_page), (draw_one_page),
750 (ev_view_set_rotation), (ev_view_rotate_right),
751 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
752 (ev_view_zoom_for_size_continuous_and_dual_page),
753 (ev_view_zoom_for_size_continuous),
754 (ev_view_zoom_for_size_dual_page),
755 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
756 (ev_view_select_all):
757 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
758 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
759 (tiff_document_document_iface_init),
760 (tiff_document_thumbnails_get_thumbnail):
762 Use rotation rather than orientation. It's easier and enough
765 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
767 * shell/ev-page-cache.c: (build_height_to_page),
768 (ev_page_cache_new), (ev_page_cache_get_size),
769 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
770 (ev_page_cache_get_height_to_page):
771 * shell/ev-page-cache.h:
772 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
773 (ev_view_size_request_continuous_dual_page),
774 (ev_view_size_request_continuous),
775 (ev_view_zoom_for_size_continuous_and_dual_page),
776 (ev_view_zoom_for_size_continuous):
778 Make the page cache aware of page orientation.
780 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
782 * backend/ev-document-thumbnails.c:
783 (ev_document_thumbnails_get_thumbnail):
784 * backend/ev-document-thumbnails.h:
785 * backend/ev-document.c:
786 * backend/ev-document.h:
787 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
788 * backend/ev-ps-exporter.h:
790 * ps/ps-document.c: (ps_document_document_iface_init),
791 (ps_document_ps_export_do_page):
792 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
794 * shell/ev-page-cache.c: (ev_page_cache_get_size),
796 * shell/ev-page-cache.h:
797 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
798 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
799 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
800 * shell/ev-pixbuf-cache.h:
801 * shell/ev-print-job.c: (idle_print_handler):
802 * shell/ev-sidebar-thumbnails.c: (add_range):
803 * shell/ev-view.c: (view_update_range_and_current_page),
804 (get_page_extents), (ev_view_size_request_dual_page),
805 (ev_view_size_request_single_page), (draw_one_page),
806 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
807 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
808 (ev_view_zoom_for_size_dual_page),
809 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
810 (ev_view_select_all):
811 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
812 * tiff/tiff-document.c: (tiff_document_get_page_size),
813 (tiff_document_get_orientation), (rotate_pixbuf),
814 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
815 (tiff_document_thumbnails_get_thumbnail),
816 (tiff_document_ps_export_do_page), (tiff_document_init):
818 Really make use of the orientation bit of the render context.
819 Use the render context in a few more places in the backend API.
820 This regress orientation, but now it's done right. Will try to
823 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
825 * shell/ev-view.c: (ensure_rectangle_is_visible):
827 Patch by Nickolay V. Shmyrev to fix find flickering
829 2005-07-27 Martin Kretzschmar <martink@gnome.org>
831 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
832 duplex parameters to ::begin.
834 * tiff/tiff-document.c (tiff_document_ps_export_begin):
835 * shell/ev-print-job.c (idle_print_handler):
836 * ps/ps-document.c (ps_document_ps_export_begin):
837 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
838 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
839 implementations. Poppler backend needs poppler cvs. Rest has
842 2005-07-25 Martin Kretzschmar <martink@gnome.org>
844 * shell/ev-window.c (using_pdf_printer): new function.
845 (ev_window_print_range): print a less techy message if someone
846 tries to print to PDF.
848 2005-07-25 Martin Kretzschmar <martink@gnome.org>
850 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
851 from "unknown font" string. Bug #311431
853 2005-07-24 Martin Kretzschmar <martink@gnome.org>
855 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
857 2005-07-24 Martin Kretzschmar <martink@gnome.org>
861 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
862 name for PopplerFontTypes
863 (pdf_document_fonts_fill_model): add font type to the detail column
865 * backend/ev-document-fonts.h: added
866 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
868 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
869 font name and font details, add a little markup.
870 (ev_properties_fonts_init): use the new cell data func, specify ypad
871 property for the cell renderer.
872 (ev_properties_fonts_set_document): add the details column.
874 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
876 * configure.ac: Added "pl" to ALL_LINGUAS.
878 2005-07-24 Danilo Šegan <danilo@gnome.org>
880 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
882 2005-07-23 Tommi Vainikainen <thv@iki.fi>
884 * help/ChangeLog: Started this for translations of manual.
885 * configure.ac, autogen.sh, .cvsignore: Migrated to
886 gnome-doc-utils. Patch in bug #311222.
888 2005-07-22 Martin Kretzschmar <martink@gnome.org>
890 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
891 #ifdef this away to fix an unused-function warning.
893 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
895 * configure.ac: Added 'gl' to ALL_LINGUAS.
897 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
899 * configure.ac: Added ne in ALL_LINGUAS
901 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
903 * shell/ev-view.c: (ev_view_leave_notify_event):
905 Clear status message when pointer leaves view. Fix for bug
908 2005-07-20 Ankit Patel <ankit644@yahoo.com>
910 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
912 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
914 * shell/ev-view.c: (ev_view_leave_notify_event),
915 (ev_view_class_init):
917 Set cursor to normal then leaving view.
919 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
923 Fix required djvulibre version.
925 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
927 *configure.ac: Hindi (hi) language added
929 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
931 *configure.ac: Punjabi (pa) Language added
933 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
935 * data/evince-ui.xml, shell/ev-window.c:
937 Add keypad accelerators for zooming. Fix for bug 308128.
939 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
942 * backend/Makefile.am:
943 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
945 * shell/ev-document-types.c: (ev_document_types_add_filters):
947 Allow to enable/disable the pixbuf backend.
948 Default to off for now. If we want it enabled we should
949 really put mime types in the desktop, implement properties etc.
951 * properties/evince-properties.c:
953 Initialize error to NULL.
954 Check error is not NULL before freeing.
956 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
960 Use F5 as presentation accell
962 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
964 * shell/ev-window.c: (update_chrome_visibility),
965 (ev_window_create_fullscreen_popup), (ev_window_init):
967 Do not leak the fullscreen toolbar
969 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
971 * shell/ev-window.c: (view_actions_focus_in_cb),
972 (view_actions_focus_out_cb):
974 These has a return value! Fix totally random focus
975 issues we was seeing.
977 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
979 * shell/main.c: (load_files_remote):
981 Allow open more than one file
983 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
985 * shell/main.c: (load_files_remote):
987 Fix for dbus 0.33. bug #309975
989 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
991 * properties/ev-properties-main.c: (ev_properties_get_pages):
993 Actually return NULL for types we dont support
995 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1001 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1003 * backend/ev-document-factory.c:
1004 (ev_document_factory_get_document):
1006 Do not try to create the object if type
1009 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1011 * ps/ps-document.c: (ps_document_dispose),
1012 (ps_async_renderer_render_pixbuf):
1015 Do not leak the target window
1017 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1019 * shell/ev-application.c: (ev_application_init):
1021 Let tbe check file existence for us.
1022 Add a comment about eggrecent mime filter.
1024 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1026 * data/evince-ui.xml:
1027 * shell/ev-application.c: (ev_application_shutdown),
1028 (ev_application_init), (ev_application_get_toolbars_model),
1029 (ev_application_get_recent_model),
1030 (ev_application_save_toolbars_model):
1031 * shell/ev-application.h:
1032 * shell/ev-window.c: (ev_window_add_recent),
1033 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1034 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1037 Use common toolbar and recent models for all windows.
1038 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1040 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1042 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1043 successfully check for gtk_icon_view_get_visible_range.
1045 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1050 Fix djvu and dvi backend build.
1052 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1054 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1055 (new_separator_pixbuf):
1059 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1061 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1063 HIGification of toolbar editor dialogue.
1065 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1068 * shell/Makefile.am:
1070 Ever build metadata manager since it's just
1071 disabled at runtime now.
1073 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1075 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1076 (ev_metadata_manager_get), (ev_metadata_manager_set):
1077 * shell/ev-metadata-manager.h:
1079 Add an _init functions that enabled metadata management
1082 * shell/ev-window.c: (page_changed_cb),
1083 (setup_document_from_metadata), (ev_window_setup_document),
1084 (setup_view_from_metadata), (ev_window_open_uri),
1085 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1086 (ev_window_run_presentation), (ev_window_stop_presentation),
1087 (save_sizing_mode), (ev_window_zoom_changed_cb),
1088 (ev_window_continuous_changed_cb),
1089 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1090 (window_configure_event_cb):
1092 Remove all ugly metadata define since we deal with it
1095 * shell/main.c: (load_files_remote), (main):
1097 Add support for dbus cvs head. Hopefully didnt break one
1098 of the other versions now!
1100 If we dont get a response from the dbus server just
1101 give up with it and not enable metadata.
1103 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1106 * backend/Makefile.am:
1108 * cut-n-paste/recent-files/Makefile.am:
1109 * cut-n-paste/toolbar-editor/Makefile.am:
1110 * cut-n-paste/zoom-control/Makefile.am:
1113 * pixbuf/Makefile.am:
1114 * properties/Makefile.am:
1116 * shell/Makefile.am:
1117 * thumbnailer/Makefile.am:
1120 Make frontends depend on just libev.
1121 Rework and group CFLAGS/LIBS definitions.
1124 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1128 do not unnecessarily save zoom
1131 * lib/ev-file-helpers.c: (ev_dot_dir):
1132 * shell/Makefile.am:
1137 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1141 Remove unnecessary dependencies
1143 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1145 * properties/Makefile.am:
1146 * thumbnailer/Makefile.am:
1149 Some more cleanups. Was really necessary
1150 but I probably introduced bugs, feel free
1153 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1155 * backend/Makefile.am:
1157 * cut-n-paste/recent-files/Makefile.am:
1158 * cut-n-paste/toolbar-editor/Makefile.am:
1159 * cut-n-paste/zoom-control/Makefile.am:
1162 * pixbuf/Makefile.am:
1163 * properties/Makefile.am:
1165 * shell/Makefile.am:
1166 * thumbnailer/Makefile.am:
1169 Use gnome-common macros when possible.
1170 Cleanup dependencies.
1171 Actually disable deprecated where possible.
1173 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1176 * backend/Makefile.am:
1177 * properties/Makefile.am:
1178 * shell/Makefile.am:
1179 * thumbnailer/Makefile.am:
1181 This should solve the circular dep without
1182 requiring dir reorg!
1184 * shell/ev-window.c: (setup_view_from_metadata):
1186 Never restore window size/position when the
1187 window is already visible.
1189 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1191 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1193 Return a boolean from timeout func. Fix ported from gedit.
1195 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1197 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1199 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1201 * shell/ev-document-types.c: set "All Documents" as default filter in
1204 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1206 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1207 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1208 (ev_metadata_manager_set_boolean): fix value/val thinko.
1210 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1212 * shell/ev-window.c: (setup_view_from_metadata),
1213 (window_state_event_cb), (window_configure_event_cb),
1216 Remember window position and maximized state
1218 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1222 Fix DBUS configure checks.
1224 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1225 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1226 (ev_metadata_manager_set_boolean):
1230 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1231 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1232 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1233 (ev_window_continuous_changed_cb),
1234 (ev_window_dual_mode_changed_cb), (ev_window_new):
1236 Fix the build without DBUS.
1238 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1240 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1241 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1242 (ev_metadata_manager_set_string),
1243 (ev_metadata_manager_set_boolean):
1244 * shell/ev-metadata-manager.h:
1246 Add support for some more types
1248 * shell/ev-view.c: (scroll_to_current_page),
1249 (ev_view_get_continuous), (ev_view_set_continuous),
1250 (ev_view_get_dual_page):
1252 * shell/ev-window.c: (page_changed_cb),
1253 (setup_document_from_metadata), (ev_window_setup_document),
1254 (setup_view_from_metadata), (ev_window_open_uri),
1255 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1256 (ev_window_run_presentation), (ev_window_stop_presentation),
1257 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1258 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1259 (ev_window_update_dual_page_action),
1260 (ev_window_continuous_changed_cb),
1261 (ev_window_dual_mode_changed_cb), (ev_window_init):
1263 Remember a bunch of view/document properties. Prolly some
1264 are still missing but it's getting interesting.
1266 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1268 * configure.ac: check if dbus-binding-tool is installed. Not the
1269 case on current Ubuntu breezy, it seems.
1271 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1273 * data/evince.desktop.in.in:
1275 Allow open uri lists and add TryExec field.
1277 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1281 Enable dbus when available, do not require a configure
1284 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1288 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1291 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1292 Marco Pesenti Gritti <mpg@redhat.com>
1294 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1296 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1297 functions to the format required by dbus
1299 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1300 errors. Use the RPC parameters in the expected way
1302 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1305 * properties/Makefile.am:
1306 * properties/ev-properties-main.c: (ev_properties_get_pages):
1308 Support all mime types
1310 * shell/Makefile.am:
1311 * thumbnailer/Makefile.am:
1312 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1313 (evince_thumbnail_pngenc_get):
1315 Use the document factory
1317 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1319 * backend/Makefile.am:
1320 * backend/ev-document-factory.c:
1321 (mime_type_supported_by_gdk_pixbuf),
1322 (ev_document_type_get_from_mime),
1323 (ev_document_factory_get_document),
1324 (ev_document_factory_get_backend),
1325 (ev_document_factory_get_mime_types),
1326 (ev_document_factory_get_all_mime_types):
1327 * backend/ev-document-factory.h:
1328 * shell/Makefile.am:
1329 * shell/ev-document-types.c: (get_document_from_uri),
1330 (ev_document_types_get_document),
1331 (file_filter_add_mime_list_and_free),
1332 (ev_document_types_add_filters):
1333 * shell/ev-document-types.h:
1334 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1335 * shell/ev-properties-dialog.c:
1336 (ev_properties_dialog_set_document):
1337 * shell/ev-window.c: (ev_window_cmd_file_open),
1338 (ev_window_cmd_save_as):
1339 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1341 Rework document types managing to avoid code duplication
1342 and actually abstract from backend implementations.
1343 Also provide a minimal factory api that can be used by
1344 thumbnailer/properties.
1346 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1348 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1350 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1353 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1355 * shell/ev-properties-dialog.c
1356 (ev_properties_dialog_set_document): only call
1357 ev_properties_fonts_set_document() if the document implements the
1360 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1363 * properties/Makefile.am:
1364 * properties/ev-properties-view.c:
1365 (ev_properties_view_register_type):
1366 * properties/ev-properties-view.h:
1367 * properties/ev-properties-main.h:
1369 Implement nautilus plugin for properties.
1370 Works only for pdf atm, I need to rework the
1371 document types stuff to get this to work
1374 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1376 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1377 (ev_properties_fonts_set_document): use
1378 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1380 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1382 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1384 (PlaceImage, tiff2ps_process_page): use
1385 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1388 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1390 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1391 (main): to call gnome_authentication_manager_init. Should fix
1394 * configure.ac: that requires libgnomeui 2.6.0.
1396 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1398 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1399 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1400 use the new tiff2ps interfaces
1402 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1403 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1405 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1406 structure instead of global variables. Remove use of static
1407 variables in functions.
1409 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1411 * shell/ev-page-action.c: unref the completion after setting it to the
1414 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1416 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1419 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1421 * shell/ev-window.c (update_action_sensitivity): disable
1422 File->Print if the document does not implement the ps exporter
1425 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1429 * data/evince-properties.glade:
1430 * properties/.cvsignore:
1431 * properties/Makefile.am:
1432 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1433 (ev_properties_view_class_init), (ev_properties_view_format_date),
1434 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1435 (ev_properties_view_init), (ev_properties_view_new):
1436 * properties/ev-properties-view.h:
1437 * shell/Makefile.am:
1438 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1439 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1440 (ev_properties_dialog_new):
1441 * shell/ev-properties-dialog.h:
1442 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1443 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1444 (update_progress_label), (job_fonts_finished_cb),
1445 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1446 * shell/ev-properties-fonts.h:
1447 * shell/ev-properties.c:
1448 * shell/ev-properties.h:
1449 * shell/ev-window.c: (ev_window_setup_document),
1450 (ev_window_cmd_file_properties):
1452 Split the properties pages in two different objects, depend
1453 only on the backend where possible, use widgets instead
1454 of gobject for the glade part, reimplement the dialog
1456 I need this to implement nautilus properties page.
1458 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1460 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1461 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1462 (tiff_document_document_ps_exporter_iface_init): implement the ps
1463 exporter interface for tiff documents
1465 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1466 libtiff to implement TIFF postscript export
1468 * tiff/tiff2ps.h: added a header file for external tiff2ps
1471 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1474 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1476 * shell/ev-view.c: (scroll_to_current_page),
1477 (ev_view_set_fullscreen), (ev_view_set_presentation):
1479 Scroll to current page when exit from presentation
1481 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1483 * shell/ev-window.c: (update_document_mode),
1484 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1485 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1486 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1488 Exit from fullscreen mode when switch to presentation. Fix for
1491 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1493 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1494 return NULL if the document does not implement the selection
1497 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1499 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1500 reported height by using the resolution aspect ratio
1501 (tiff_document_render_pixbuf): scale the pixbuf using the
1502 resolution aspect ratio
1504 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1508 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1509 <kiltedaco@gmail.com>
1511 * djvu/djvu-document.c: (djvu_document_get_orientation),
1512 (djvu_document_set_orientation), (djvu_document_get_page_size),
1513 (rotate_pixbuf), (djvu_document_render_pixbuf),
1514 (djvu_document_document_iface_init):
1515 * dvi/dvi-document.c: (dvi_document_get_orientation),
1516 (dvi_document_set_orientation), (dvi_document_get_page_size),
1517 (rotate_pixbuf), (dvi_document_render_pixbuf),
1518 (dvi_document_document_iface_init):
1520 Dvi and djvu backends are ported to new API
1522 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1524 * backend/ev-selection.c: (ev_selection_get_selection_region),
1525 (ev_selection_get_selection_map):
1526 * backend/ev-selection.h:
1527 * pdf/ev-poppler.cc:
1528 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1530 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1531 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1532 (ev_pixbuf_cache_get_text_mapping):
1533 * shell/ev-pixbuf-cache.h:
1534 * shell/ev-view.c: (location_in_text),
1535 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1536 support to EvView. Now we can see where we can select! Sweet!
1538 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1540 * shell/ev-view.c (ev_view_button_press_event): Fix
1541 event->y + view->scroll_x typo.
1543 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1545 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1546 sub-GdkPixbuf instead of passing dest_x and dest_y.
1548 * shell/ev-view.c: (view_point_to_doc_point),
1549 (view_rect_to_doc_rect), (ev_view_button_press_event),
1550 (ev_view_motion_notify_event), (compute_new_selection_rect),
1551 (gdk_rectangle_point_in), (compute_new_selection_text),
1552 (compute_selections): Update selection code to keep the selection
1553 around as two points and not as a normalized rectangle, and fix
1554 page level selection in two-column mode.
1556 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1558 * shell/ev-window.c: (window_configure_event_cb):
1562 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1564 * pdf/ev-poppler.cc:
1568 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1570 * shell/Makefile.am:
1571 * shell/ev-metadata-manager.c: (item_free),
1572 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1573 (parse_value), (parseItem), (load_values),
1574 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1575 (save_values), (save_item), (get_oldest), (resize_items),
1576 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1577 * shell/ev-metadata-manager.h:
1579 Metadata manager from gedit but modified to use GValue, so that
1580 we dont need to keep converting from strings.
1584 ENABLE_METADATA conditional, on when dbus is on
1586 * shell/ev-application.c: (ev_application_open_uri):
1588 Show the window after load so that we can initialize
1589 window size before it's showed.
1591 * shell/ev-window.c: (ev_window_setup_from_metadata),
1592 (ev_window_open_uri), (window_configure_event_cb),
1595 Save and load metadata information about window size.
1596 Not yet keeping states in account.
1598 * shell/main.c: (main):
1600 Shutdown metadata manager.
1602 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1604 * shell/ev-application-service.xml:
1606 * shell/Makefile.am:
1607 * shell/ev-application.c:
1608 * shell/ev-application.h:
1609 * shell/ev-window.c:
1610 * shell/ev-window.h:
1613 Add an optional dbus interface (--enable-dbus).
1614 Rework application code, mainly to be easier to
1616 Do not open multiple windows with the same document,
1619 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1621 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1622 pixbuf iff it exists.
1624 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1627 * backend/ev-render-context.[ch]:
1628 * backend/ev-selection.[ch]:
1630 Massive changes. We now support text selection of pdfs, and not
1631 just rectangular selection. This is pretty broken still, but I
1632 want to get something into CVS.
1634 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1636 * pdf/ev-poppler.cc:
1638 Fix for Bug 309080: crash on window close.
1640 * shell/ev-page-action.c: (page_changed_cb):
1642 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1643 jensgr@gmx.net (Jens Granseuer).
1645 2005-06-25 Marcel Telka <marcel@telka.sk>
1647 * configure.in (ALL_LINGUAS): Added sk.
1649 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1651 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1654 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1661 * cut-n-paste/recent-files/Makefile.am:
1665 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1667 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1668 (pixbuf_document_set_orientation), (rotate_pixbuf),
1669 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1670 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1672 Implement rotation and cleanup the code a bit.
1674 * tiff/tiff-document.c: (tiff_document_get_page_size),
1675 (tiff_document_get_orientation), (tiff_document_set_orientation),
1676 (rotate_pixbuf), (tiff_document_render_pixbuf),
1677 (tiff_document_document_iface_init), (tiff_document_init):
1679 Implement rotation. Was the quicker solution for the release
1680 but we really need to share this code in the shell.
1682 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1684 * pdf/ev-poppler.cc:
1686 Enable rotation, require poppler cvs. Fix a leak.
1688 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1690 * shell/ev-window.c: (update_action_sensitivity):
1692 Make properties unsensitive if document backend doesn't provide
1695 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1697 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1698 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1699 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1700 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1701 (bitmap_flip_rotate_counter_clockwise):
1702 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1703 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1705 * dvi/mdvi-lib/common.h:
1706 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1707 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1708 (opendvi), (mdvi_reload), (mdvi_init_context),
1709 (mdvi_destroy_context), (mdvi_dopage), (special):
1710 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1711 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1712 (file_hash_free), (register_encoding), (parse_spec),
1713 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1714 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1715 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1716 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1717 (mdvi_register_font_type), (mdvi_unregister_font_type),
1718 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1719 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1720 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1721 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1722 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1723 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1724 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1725 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1726 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1727 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1728 (mdvi_unregister_special), (mdvi_flush_specials):
1729 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1731 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1732 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1733 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1734 (free_font_metrics), (flush_font_metrics):
1735 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1737 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1738 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1739 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1740 (dstring_insert), (dstring_new), (dstring_reset):
1741 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1743 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1744 avoid conflict with libtool on FC4
1746 * shell/ev-window.c: (ev_window_cmd_help_about):
1748 Update copyright year. Fix for bug 308828.
1750 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1752 * shell/ev-view.c: (add_scroll_binding_keypad),
1753 (ev_view_binding_activated), (ev_view_class_init),
1754 (on_adjustment_value_changed):
1756 Bug 170874: Arrow keys switch pages in presentation mode
1758 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1760 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1762 Fix for Bug 308265: Sidebar dissappears coming out of
1765 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1767 * shell/ev-application.c: (ev_application_open):
1768 * shell/ev-document-types.c: (ev_document_types_add_filters),
1769 (ev_document_types_add_filters_for_type):
1770 * shell/ev-document-types.h:
1771 * shell/ev-window.c: (ev_window_cmd_save_as):
1773 Suggest basename as template when saving, provide filters
1774 for save dialog. It's bug 308402
1776 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1778 * pdf/ev-poppler.cc:
1779 * shell/ev-sidebar-links.c: (job_finished_callback):
1780 * shell/ev-view.c: (update_find_status_message):
1784 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1786 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1787 (egg_recent_view_uimanager_set_list):
1789 Fix buglet in !show_numbers case.
1791 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1793 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1794 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1796 Use pango ellipsisation.
1798 * pdf/ev-poppler.cc:
1800 Fix refcount leak, from nsh.
1802 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1804 * cut-n-paste/recent-files/Makefile.am:
1805 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1806 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1808 Removed EggRecentViewGtk
1810 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1811 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1812 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1813 (ev_window_setup_recent):
1815 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1818 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1820 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1821 (egg_recent_view_gtk_finalize):
1825 * cut-n-paste/toolbar-editor/Makefile.am:
1827 Fix location of cursor icon.
1829 * pdf/ev-poppler.cc:
1830 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1831 (display_completion_text), (match_completion):
1832 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1833 (selection_changed_callback), (create_loading_model),
1834 (print_section_cb), (links_page_num_func),
1835 (update_page_callback_foreach):
1836 * shell/ev-window.c: (ev_window_dispose):
1838 Small memory fixes. Links model now store objects instead
1839 of pointers to improve memory management.
1841 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1843 * shell/ev-window.c: (zoom_control_changed_cb):
1845 Fix update of zoom control (bug 308268).
1847 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1849 * shell/ev-properties.c (set_property): escape the text correctly.
1850 Handles non-UTF-8 properties and escaped properties. Also, sets
1851 the text to "<i>None</i>" if the property isn't set.
1853 * data/evince-properties.glade: Change the label to be ellipsized,
1854 and give it a minimum size.
1856 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1858 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1859 * shell/ev-sidebar-links.c: (create_loading_model):
1860 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1861 * shell/ev-view.c: (ev_view_set_document):
1862 * shell/ev-window.c: (ev_window_dispose):
1864 Various small fixes, mostly memory leaks. Thanks to valgrind.
1866 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1868 * ps/ps-document.c: remove the locale.h include again ;-). And
1869 kill the (bogus) setlocale/savelocale business.
1871 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1875 Include locale.h to fix build
1877 * shell/ev-sidebar.c:
1879 Remove unnecessary includes
1881 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1883 * dvi/dvi-document.c: (dvi_document_load):
1884 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1887 Check for incorrect dvi files. Fix parsing dvi on AMD64
1888 platform. Thanks to tester@tester.ca (Olivier Crete).
1890 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1892 * shell/ev-page-action.c: (match_selected_cb),
1893 (display_completion_text), (match_completion), (update_model):
1894 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1895 (expand_open_links):
1896 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1897 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1898 (ev_sidebar_set_document):
1899 * shell/ev-window.c: (ev_window_xfer_job_cb),
1900 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1902 Fixed lot's of memory leaks, for example, memory leak on reload,
1903 described in bug 307793.
1905 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1907 * pdf/ev-poppler.cc:
1908 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1909 (update_visible_range), (adjustment_changed_cb),
1910 (ev_sidebar_thumbnails_fill_model),
1911 (ev_sidebar_thumbnails_refresh),
1912 (ev_sidebar_tree_selection_changed),
1913 (ev_sidebar_icon_selection_changed),
1914 (ev_sidebar_thumbnails_use_icon_view),
1915 (ev_sidebar_thumbnails_set_document):
1916 * shell/ev-sidebar-thumbnails.h:
1917 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1918 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1920 Refresh thumbnails when changing orientation. Not fully
1921 working yet becuase of a sidebar bug.
1923 Set page orientation to poppler page everywhere. This sucks
1924 really need to fix poppler.
1926 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1928 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1929 (egg_recent_view_gtk_new_menu_item),
1930 (egg_recent_view_gtk_set_property),
1931 (egg_recent_view_gtk_get_property),
1932 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1933 (egg_recent_view_gtk_set_tooltip_func),
1934 (egg_recent_view_gtk_set_label_width),
1935 (egg_recent_view_gtk_get_label_width):
1936 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1938 Sync with libegg (ellipsize labels)
1940 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1942 * data/evince-ui.xml:
1943 * shell/ev-window.c: (ev_window_cmd_go_forward),
1944 (ev_window_cmd_go_backward):
1946 Shift + PageUp moves 10 Pages. Fix for 306125
1948 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1950 * pdf/ev-poppler.cc:
1952 Add a flag to check if orientation has been overriden
1954 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1956 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1959 * ps/ps.h: add creator field to document.
1961 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1964 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1966 * data/evince-properties.glade:
1967 * shell/ev-properties.c: (ev_properties_set_document):
1969 s/PDF Version/Format
1971 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1973 * shell/ev-properties.c: (ev_properties_set_document):
1975 Remove unnecessary translations
1977 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1979 * cut-n-paste/toolbar-editor/Makefile.am:
1981 Correct library name
1983 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1986 * cut-n-paste/recent-files/egg-recent-model.c:
1987 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1988 (egg_recent_model_unlock_file):
1989 * cut-n-paste/recent-files/egg-recent-util.c:
1990 (egg_recent_util_get_unique_id):
1991 * cut-n-paste/recent-files/update-from-egg.sh:
1992 * cut-n-paste/toolbar-editor/Makefile.am:
1993 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1994 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1995 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1996 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1997 (egg_toolbars_model_get_type):
1998 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2000 Better makefile for toolbar editor and update everything
2003 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2005 * shell/ev-window.c: (update_document_mode):
2007 Prefer presentation mode when the document
2010 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2012 * data/evince-ui.xml:
2013 * shell/ev-window.c:
2015 Add control-equal for zooming
2017 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2019 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2021 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2023 * backend/ev-document.c: (ev_document_get_orientation):
2024 * backend/ev-document.h:
2025 * pdf/ev-poppler.cc:
2026 * ps/ps-document.c: (ps_document_get_orientation),
2027 (ps_document_set_orientation), (ps_document_document_iface_init):
2029 Add a get_orientation api. Improve set_orientation.
2031 * data/evince-ui.xml:
2032 * shell/ev-view.c: (ev_view_set_orientation),
2033 (ev_view_rotate_right), (ev_view_rotate_left):
2035 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2036 (ev_window_cmd_edit_rotate_right):
2038 Better ui for changing document orientation
2040 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2042 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2043 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2044 * shell/ev-sidebar-links.h:
2045 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2046 (ev_sidebar_page_iface_init):
2047 * shell/ev-sidebar-page.h:
2048 * shell/ev-sidebar-thumbnails.c:
2049 (ev_sidebar_thumbnails_get_property),
2050 (ev_sidebar_thumbnails_class_init),
2051 (ev_sidebar_thumbnails_set_document):
2052 * shell/ev-sidebar-thumbnails.h:
2053 * shell/ev-view.c: (ev_view_motion_notify_event):
2054 * shell/ev-window.c: (update_chrome_visibility),
2055 (ev_window_cmd_focus_page_selector),
2056 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2057 (sidebar_page_main_widget_update_cb), (ev_window_init):
2059 Autoraise toolbar on GoToPage binding and fix bindings in
2060 EvSidebarThumbnails page.
2062 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2064 * shell/ev-properties.c: (update_progress_label):
2066 Hide the progress label when finished; bug #307697.
2068 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2070 * pdf/ev-poppler.cc:
2072 Enable is_open for links, you will need poppler cvs
2074 * shell/ev-properties.c: (job_fonts_finished_cb):
2076 Get a lock on the document when filling the tree view
2078 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2080 * backend/ev-document-links.h:
2081 * pdf/ev-poppler.cc:
2082 * shell/ev-sidebar-links.c: (create_loading_model),
2083 (expand_open_links), (job_finished_callback):
2085 Expand links when specified by the document.
2086 Depend on a poppler api (defined out for now)
2088 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2090 * shell/ev-properties.c: (ev_properties_dispose),
2091 (ev_properties_class_init), (dialog_destroy_cb),
2092 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2093 (ev_properties_set_document), (ev_properties_new),
2094 (ev_properties_show):
2095 * shell/ev-properties.h:
2097 Make it an object, cleanup the code, api to show it as transient
2098 and to set the document.
2100 * shell/ev-window.c: (ev_window_setup_document),
2101 (ev_window_cmd_file_properties):
2103 Adapt to EvProperties changes, do not show multiple
2104 times, update it when document changes.
2106 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2109 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2110 (ps_document_set_orientation), (ps_document_document_iface_init):
2113 Implement orientation here too
2115 * shell/ev-properties.c: (ev_properties_new):
2116 * data/evince-properties.glade:
2118 Hide the fonts page for backends that doesnt
2121 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2123 * backend/ev-document.c: (ev_document_set_orientation):
2124 * backend/ev-document.h:
2125 * pdf/ev-poppler.cc:
2127 Add orientation api. Currently poppler api is not optimal,
2128 we need to set orientation every time we _get a page.
2129 I will try to fix that at some point.
2131 * data/evince-ui.xml:
2132 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2133 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2135 Add orientation menu items
2137 * shell/ev-page-cache.c: (ev_page_cache_clear):
2138 * shell/ev-page-cache.h:
2140 Add api to clear the cache
2142 * shell/ev-view.c: (setup_caches), (clear_caches),
2143 (ev_view_set_document), (ev_view_zoom_out),
2144 (ev_view_set_orientation):
2147 Implement orientation changing
2149 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2151 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2152 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2153 * backend/ev-document-fonts.h:
2155 Separate scan and fill so that we can incrementally fill from
2156 the main thread. Add a progress api.
2158 * data/evince-properties.glade:
2159 * pdf/ev-poppler.cc:
2160 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2162 * shell/ev-properties.c: (update_progress_label),
2163 (job_fonts_finished_cb), (setup_fonts_view):
2165 Incrementally feel the list and show the progress
2166 percentage in a label like acrobat does.
2168 You are going to need poppler cvs
2170 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2172 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2173 * backend/ev-document-fonts.h:
2174 * pdf/ev-poppler.cc:
2176 Make fonts model fill incrementally.
2178 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2179 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2180 (ev_job_queue_remove_job):
2181 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2182 (ev_job_fonts_new), (ev_job_fonts_run):
2185 New job for fonts scanning
2187 * shell/ev-properties.c: (job_fonts_finished_cb),
2188 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2189 * shell/ev-properties.h:
2190 * shell/ev-window.c: (ev_window_cmd_file_properties):
2192 Incrementally feel the treeview using the new job. Show Loading...
2193 message until scanning is completed.
2195 Hopefully I didnt break the build without the poppler patch.
2197 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2199 * shell/ev-application.c: (ev_application_open):
2200 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2201 (ev_document_type_get_type), (ev_document_type_lookup):
2202 * shell/ev-document-types.h:
2203 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2204 * shell/ev-job-xfer.h:
2205 * shell/ev-window.c: (ev_window_clear_local_uri),
2206 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2207 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2208 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2210 Transfer remote documents to tmp directory to display them later.
2212 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2214 * backend/ev-document-info.h:
2215 * shell/ev-properties.c: (ev_properties_new):
2217 s/GTime*/GTime. Not sure why we was using a pointer
2220 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2222 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2223 situations. That situation is that you're using GTK+-HEAD with
2224 the patch at #306726 is applied, and you have a document with <
2225 1500 pages in it. It's not quite as uniformly nice as the
2226 TreeView, but should be better in the long run.
2228 I'm pretty sure I guarded against breaking compilation with
2229 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2232 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2233 widget yet, so I commented that code out
2234 enable_view_actions_for_widget() for now. Need to figure this
2237 * shell/ev-page-action.c (match_selected_cb): emit the right
2238 signals. Our cool C-l completion now works.
2240 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2242 * backend/Makefile.am:
2243 * backend/ev-document-fonts.c:
2244 * backend/ev-document-links.c:
2245 * backend/ev-document.c: (ev_document_load):
2246 * backend/ev-document.h:
2247 * backend/ev-job-queue.c:
2248 * backend/ev-job-queue.h:
2249 * backend/ev-jobs.c:
2250 * backend/ev-jobs.h:
2251 * backend/ev-page-cache.c:
2252 * backend/ev-page-cache.h:
2254 EvPageCache and EvJobs are moved to shell.
2256 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2258 * lib/ev-file-helpers.h:
2260 New helper to work with temporary files
2262 * shell/Makefile.am:
2263 * shell/ev-application.c: (ev_application_open):
2264 * shell/ev-application.h:
2265 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2266 (remove_job_from_async_queue), (add_job_to_async_queue),
2267 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2268 (handle_job), (search_for_jobs_unlocked),
2269 (no_jobs_available_unlocked), (ev_render_thread),
2270 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2271 (ev_job_queue_add_job), (move_job_async), (move_job),
2272 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2273 * shell/ev-job-queue.h:
2274 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2275 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2276 * shell/ev-job-xfer.h:
2277 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2278 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2279 (ev_job_links_class_init), (ev_job_render_init),
2280 (ev_job_render_dispose), (ev_job_render_class_init),
2281 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2282 (ev_job_thumbnail_class_init), (ev_job_load_init),
2283 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2284 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2285 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2286 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2288 * shell/ev-page-action.c: (ev_page_action_set_document):
2289 * shell/ev-page-cache.c: (ev_page_cache_init),
2290 (ev_page_cache_class_init), (ev_page_cache_finalize),
2291 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2292 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2293 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2294 (ev_page_cache_get_title), (ev_page_cache_get_size),
2295 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2296 (ev_page_cache_get_height_to_page),
2297 (ev_page_cache_get_max_label_chars),
2298 (ev_page_cache_get_page_label),
2299 (ev_page_cache_has_nonnumeric_page_labels),
2300 (ev_page_cache_get_info), (ev_page_cache_next_page),
2301 (ev_page_cache_prev_page), (ev_page_cache_get):
2302 * shell/ev-page-cache.h:
2303 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2304 (ev_pixbuf_cache_clear_job_sizes),
2305 (ev_pixbuf_cache_add_jobs_if_needed),
2306 (ev_pixbuf_cache_set_page_range):
2307 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2308 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2309 * shell/ev-sidebar-thumbnails.c:
2310 (ev_sidebar_tree_selection_changed),
2311 (ev_sidebar_thumbnails_set_document):
2312 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2313 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2314 (ev_statusbar_get_context_id), (ev_statusbar_push),
2315 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2316 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2317 (ev_statusbar_set_progress):
2318 * shell/ev-statusbar.h:
2319 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2320 (ev_view_find_previous):
2321 * shell/ev-window.c: (ev_window_is_empty),
2322 (ev_window_setup_document), (password_dialog_response),
2323 (ev_window_clear_jobs), (ev_window_load_job_cb),
2324 (ev_window_xfer_job_cb), (ev_window_open_uri),
2325 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2326 (ev_window_print), (ev_window_print_range),
2327 (ev_window_state_event), (ev_window_cmd_view_reload),
2328 (menu_item_select_cb), (menu_item_deselect_cb),
2329 (view_status_changed_cb), (ev_window_dispose),
2330 (drag_data_received_cb), (ev_window_init):
2331 * shell/ev-window.h:
2332 * shell/main.c: (load_files):
2334 New statusbar to show progress on idle. Two new jobs -
2335 xfer job and load job to load document in background. And update
2336 of page_cache clients to new location of code.
2338 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2340 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2341 selection in open dialog. It also remembers the last visited directory
2342 in the current session.
2344 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2346 * shell/ev-properties.c: (ev_properties_new):
2347 * shell/ev-properties.h:
2348 * shell/ev-window.c: (ev_window_cmd_file_properties):
2350 Get document info from page cache instead of document itself.
2351 This should fix crash related to race conditions described in
2354 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2356 * ps/ps-document.c: (ps_document_init),
2357 (send_ps), (get_page_box), (output), (catchPipe), (input),
2358 (stop_interpreter), (file_length), (file_readable),
2359 (check_filecompressedb), (ps_document_enable_interpreter),
2360 (document_load), (ps_async_renderer_render_pixbuf):
2363 Big cleanup of the ps code
2365 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2367 * backend/Makefile.am:
2368 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2369 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2370 * backend/ev-async-renderer.h:
2372 Add an async renderer interface (method + callback) which
2373 is useful for backends like ps.
2375 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2376 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2377 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2378 (ev_job_queue_add_job), (move_job_async), (move_job),
2379 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2381 Add queues for async renderer, these are executed on the
2384 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2385 (ev_job_render_run):
2386 * backend/ev-jobs.h:
2388 If the backend support async renderer interface use it.
2390 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2391 (setup_pixmap), (ps_document_get_type),
2392 (ps_async_renderer_render_pixbuf),
2393 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2395 Implement async renderer interface.
2397 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2399 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2401 Cleanup links job on exit.
2403 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2405 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2406 (drag_data_get_cb), (drag_data_received_cb):
2407 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2408 (drag_data_get_cb), (parse_item_list),
2409 (egg_toolbar_editor_load_actions):
2410 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2411 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2412 (parse_item_list), (parse_toolbars):
2413 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2414 (dvi_pixbuf_put_pixel):
2416 Fix gcc 4.0 warnings
2418 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2420 * ps/ps-document.c: (start_interpreter):
2422 Fix warning when loading ps
2424 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2426 * ps/ps-document.c: (output):
2428 Fix crash when priting gs error messages.
2430 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2432 * backend/ev-page-cache.c: (_ev_page_cache_new):
2433 * backend/ev-page-cache.h:
2435 Use a const to return title so that we dont double
2436 free it. Small cleanup and fix a leak.
2438 * shell/ev-window.c: (update_window_title):
2440 strdup value from get_title.
2442 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2444 * shell/ev-sidebar-links.c: (job_finished_callback),
2445 (ev_sidebar_links_set_document):
2447 Cleanup the old job when changing document
2449 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2451 * shell/ev-stock-icons.c:
2452 * shell/ev-stock-icons.h:
2453 * shell/ev-window.c:
2455 Add stock icons for actions that can appear in toolbar. Fix for
2458 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2460 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2461 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2462 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2463 * backend/ev-page-cache.h:
2464 * shell/ev-view.c: (scroll_to_current_page),
2465 (view_update_range_and_current_page), (get_page_y_offset),
2466 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2467 (ev_view_size_request_continuous),
2468 (ev_view_zoom_for_size_continuous_and_dual_page),
2469 (ev_view_zoom_for_size_continuous):
2471 More compact EvView layout in document with pages of different size.
2473 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2475 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2478 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2480 * shell/ev-view.c: (view_set_adjustment_values):
2481 * shell/ev-window.c: (ev_window_cmd_file_properties):
2483 A bit different fix for rounding problem but it has no
2484 problems on startup. Make properties window transient to parent.
2486 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2488 * pdf/ev-poppler.cc:
2490 More commenting of font stuff.
2492 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2494 * pdf/ev-poppler.cc:
2496 Comment out some more fonts stuff. Should really
2497 work without the poppler patch now.
2499 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2501 * pdf/ev-poppler.cc:
2505 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2507 * data/evince-properties.glade:
2508 * pdf/ev-poppler.cc:
2509 * shell/ev-properties.c: (setup_fonts_view):
2511 Set the column title. Show the dialog only
2512 once everything is setup.
2513 Getting font info can be very slow... will
2514 prolly need to make this threaded too.
2516 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2518 * backend/Makefile.am:
2519 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2520 (ev_document_fonts_get_fonts_model):
2521 * backend/ev-document-fonts.h:
2522 * data/evince-properties.glade:
2523 * pdf/ev-poppler.cc:
2524 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2525 * shell/ev-properties.h:
2526 * shell/ev-window.c: (ev_window_cmd_file_properties):
2528 Implement fonts list. Defined out for now, since it depends
2529 on a not yet committed poppler patch.
2531 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2533 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2536 * shell/ev-window.c: Make sure we add the timeout when we get a
2539 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2540 adjustment->value before calculating the zoom factor to average
2541 out all of our rounding errors. The page no longer 'drifts' when
2544 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2546 * data/evince-properties.glade:
2547 * shell/ev-properties.c: (ev_properties_format_date),
2550 Labels don't expand when the dialogue is resized.
2551 strftime result needs to be converted to UTF-8. Thanks
2552 to Christian Persch <chpe@gnome.org>.
2554 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2556 * data/evince-properties.glade:
2560 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2562 * backend/ev-document-info.h:
2563 * backend/ev-document.c: (ev_document_info_free):
2564 * data/evince-properties.glade:
2565 * pdf/ev-poppler.cc:
2566 * ps/ps-document.c: (ps_document_get_info):
2567 * shell/ev-properties.c: (ev_properties_format_date),
2568 (set_property), (ev_properties_new):
2569 * shell/ev-properties.h:
2570 * shell/ev-window.c: (ev_window_cmd_file_properties):
2572 Rework properties code to take only EvPropertyInfo
2573 in the constructor so that it can be useful for
2574 nautilus plugin too.
2576 Deal with backends that doesnt support some properties.
2577 Make set property code generic.
2579 2005-06-04 Christian Persch <chpe@gnome.org>
2581 * data/evince-properties.glade:
2583 fix spacings, make resizeable, and make data labels
2584 selectable + ellipsised
2586 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2588 * backend/ev-document-info.h:
2590 * data/evince-ui.xml:
2591 * pdf/ev-poppler.cc:
2592 * shell/Makefile.am:
2593 * shell/ev-window.c: (update_action_sensitivity),
2594 (ev_window_cmd_file_properties):
2596 Initial go at file properties. Patch by
2597 Emil Soleyman-Zomalan <emil@soleyman.com>.
2598 Needs love see #169583
2600 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2602 * ps/ps-document.c: (output):
2603 * ps/ps.c: (psscan):
2605 Try to render even if psscan fails.
2607 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2609 * ps/ps.c: (psscan), (pscopydoc):
2611 Port buffered reading code from gv
2613 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2615 * ps/ps-document.c: (interpreter_message), (output):
2617 Do not fail on interpreter messages
2619 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2621 * backend/ev-document-misc.c:
2622 (ev_document_misc_get_thumbnail_frame):
2624 Pages can be 0 x 0, dont assert on this case
2626 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2628 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2629 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2631 Correctly manage our reference on document. Finally the reload
2632 huge leak is gone...
2634 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2636 * ps/ps-document.c: (ps_document_dispose):
2638 Forgot to chain it to the parent. Thanks chpe.
2640 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2642 * ps/ps-document.c: (ps_document_dispose),
2643 (ps_document_class_init), (stop_interpreter), (document_load):
2645 Cleanup dispose a bit. Dont leak the whole pixmap.
2647 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2649 * pdf/ev-poppler.cc:
2651 Release the poppler document on dispose
2653 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2655 * shell/ev-view.c: (ev_view_set_document):
2657 Release ref on the pixbuf cache when changing
2660 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2662 * ps/ps-document.c: (ps_document_get_info):
2666 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2668 * backend/ev-page-cache.c: (ev_page_cache_init),
2669 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2670 * backend/ev-page-cache.h:
2671 * shell/ev-page-action.c: (page_changed_cb):
2673 Set page action entry width depending on labels width. Fix
2676 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2678 * backend/ev-link.c: (ev_link_class_init):
2680 Allow -1 as page value (error)
2682 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2684 * shell/ev-sidebar-thumbnails.c:
2685 (ev_sidebar_thumbnails_set_document):
2686 * shell/ev-view.c: (scroll_to_current_page),
2687 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2688 (page_changed_cb), (on_adjustment_value_changed),
2689 (ev_view_set_document):
2691 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2694 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2697 * djvu/djvu-document.c: (djvu_document_get_page_size):
2699 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2702 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2704 * shell/ev-view.c (draw_one_page): modify the expose handling to
2707 * shell/ev-window.c (update_action_sensitivity): Respect
2708 permissions field. Kowtow to the man.
2710 * pdf/ev-poppler.cc: Get the permissions field.
2712 * tiff/*c: Make a tiny bit more robust.
2714 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2716 * djvu/djvu-document.c:
2718 Pop messages from djvu context message queue.
2720 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2722 * configure.ac, Makefile.am, shell/Makefile.am:
2723 * tiff/Makefile.am, shell/ev-document-types.c:
2725 Cleanup tiff configure checks. Fix for bug 305218.
2727 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2729 * configure.ac: Added "uk" to ALL_LINGUAS.
2731 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2733 * cut-n-paste/zoom-control/ephy-zoom.c:
2734 (ephy_zoom_get_changed_zoom_level):
2735 * cut-n-paste/zoom-control/ephy-zoom.h:
2736 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2737 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2738 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2739 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2740 (zoom_control_changed_cb), (ev_window_init):
2742 Fix minor points related to moving best fit up. Introduce
2743 "zoom" property and make zoom control change it's value on
2744 notify::zoom signals. Fix for 305080.
2746 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2748 * data/evince-ui.xml:
2749 * shell/ev-window.c: (set_view_actions_sensitivity):
2751 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2753 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2757 Depends on poppler 0.3.2
2759 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2761 * cut-n-paste/recent-files/egg-recent-item.c:
2762 (egg_recent_item_get_short_name):
2763 * cut-n-paste/toolbar-editor/Makefile.am:
2764 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2765 (new_pixbuf_from_widget):
2766 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2767 * cut-n-paste/toolbar-editor/egg-marshal.c:
2768 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2769 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2773 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2775 * tiff/tiff-document.c: Rough TIFF backend.
2777 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2781 * cut-n-paste/toolbar-editor/Makefile.am:
2785 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2787 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2788 (ev_view_find_next), (ev_view_find_previous):
2790 Remove the locks around get_n_results
2792 2005-05-21 Juerg Billeter <j@bitron.ch>
2794 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2796 Pass correct number of pages to poppler.
2798 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2802 * data/evince.desktop.in:
2803 * data/evince.desktop.in.in:
2806 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2808 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2810 * shell/ev-view.c: (view_update_adjustments),
2811 (view_set_adjustment_values): cast adjustmen->value to (int)
2812 before using it. Otherwise, we get off by a pixel in some
2815 (draw_one_page): Draw the border on expose.
2817 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2819 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2820 adjustment when the mode changes, #304923
2822 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2824 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2825 flickering on resize but still use gdk_window_scroll on
2828 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2830 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2833 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2835 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2836 second page on page_changed if possible, #304669
2838 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2840 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2841 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2843 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2846 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2847 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2848 (ev_view_zoom_for_size_presentation),
2849 (ev_view_zoom_for_size_continuous_and_dual_page),
2850 (ev_view_zoom_for_size_continuous),
2851 (ev_view_zoom_for_size_dual_page),
2852 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2854 * shell/ev-window.c: (update_view_size),
2855 (ev_window_sizing_mode_changed_cb):
2857 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2858 the scrollbars. It's not 100% right, but it's much closer. Kills
2859 an infinite loop, #304769
2862 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2864 * data/evince-ui.xml:
2865 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2866 * shell/ev-window.c: (set_view_actions_sensitivity):
2868 Make PgUp/Down behave like Space
2870 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2872 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2873 * backend/ev-ps-exporter.h:
2874 * pdf/ev-poppler.cc:
2875 * ps/ps-document.c: (ps_document_ps_export_begin):
2876 * shell/ev-print-job.c: (idle_print_handler):
2878 Adapt to new poppler api
2880 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2882 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2883 (ephy_zoom_control_init):
2885 Translate zoom levels
2887 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2889 * cut-n-paste/zoom-control/ephy-zoom.c:
2890 (ephy_zoom_get_zoom_level_index):
2892 Fix current zoom -> zoom control match
2894 2005-05-18 James Bowes <bowes@cs.dal.ca>
2896 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2897 rather than the scrolled_window that it's in. Fixes bug #304655.
2899 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2901 * shell/ev-view.c: (view_update_adjustments),
2902 (view_set_adjustment_values), (view_update_range_and_current_page),
2903 (view_scroll_to_page), (set_scroll_adjustment),
2904 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2905 (ev_view_scroll), (ev_view_scroll_view),
2906 (ensure_rectangle_is_visible), (find_page_at_location),
2907 (get_link_at_location), (go_to_link), (status_message_from_link),
2908 (ev_view_size_request_continuous_dual_page),
2909 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2910 (ev_view_unrealize), (ev_view_expose_event),
2911 (ev_view_button_press_event), (ev_view_motion_notify_event),
2912 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2913 (draw_rubberband), (highlight_find_results), (draw_one_page),
2914 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2915 (ev_view_init), (find_changed_cb), (page_changed_cb),
2916 (on_adjustment_value_changed), (ev_view_new),
2917 (ev_view_set_document), (ev_view_set_zoom),
2918 (ev_view_set_continuous), (ev_view_set_dual_page),
2919 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2920 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2921 (ev_view_zoom_for_size_presentation),
2922 (ev_view_zoom_for_size_continuous_dual_page),
2923 (ev_view_zoom_for_size_continuous),
2924 (ev_view_zoom_for_size_dual_page),
2925 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2926 (ev_view_get_status), (ev_view_set_status),
2927 (update_find_status_message), (ev_view_get_find_status),
2928 (ev_view_set_find_status), (jump_to_find_result),
2929 (jump_to_find_page), (compute_selections), (clear_selection),
2930 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2931 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2932 (ev_view_update_primary_selection),
2933 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2935 * shell/ev-window.c: (ev_window_open_page_label),
2936 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2938 * shell/ev-window.h:
2939 * shell/main.c: (load_files):
2941 Massive code clean up from Nickolay Shmyrev. Keep page offset
2942 when resizing. Remove the bin_window(). Also, patch from James
2943 Bowes to fix command line page, #300641
2945 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2947 * data/evince-ui.xml:
2950 * shell/ev-window.c: (update_action_sensitivity):
2952 Get rid of View->Normal Size, it's just confusing
2954 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2956 * backend/ev-document-info.h:
2957 * backend/ev-document.c: (ev_document_info_free): Free the
2960 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2961 (clear_range), (add_range), (update_visible_range),
2962 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2963 (ev_sidebar_thumbnails_set_document):
2964 * shell/ev-window.c: (ev_window_setup_document): Only render the
2965 visible thumbnails. It takes an instant to render, but it uses
2968 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2970 * shell/ev-sidebar-links.c: (popup_menu_cb):
2974 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2977 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2978 (button_press_cb), (ev_sidebar_links_construct):
2980 Show the popup menu also on keybindings
2982 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2984 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2985 * shell/ev-window.h:
2987 Expose api to print a range (with dialog). Make private _print use
2990 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2991 (ev_sidebar_links_construct):
2993 Show a print context menu on linkx, it prints the selected
2996 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2998 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3001 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3007 * shell/ev-window.c: (build_comments_string),
3008 (ev_window_cmd_help_about):
3010 Show poppler version/backend and authors
3012 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3014 * cut-n-paste/zoom-control/ephy-zoom.c:
3015 (ephy_zoom_get_zoom_level_index):
3016 * cut-n-paste/zoom-control/ephy-zoom.h:
3018 Move the best fit items at the top of the list
3020 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3022 * shell/ev-marshal.list:
3023 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3024 (activate_cb), (match_selected_cb), (activate_link_cb),
3025 (connect_proxy), (ev_page_action_class_init):
3026 * shell/ev-page-action.h:
3028 Use signals to notify action activation. Hopefully
3029 I did not break completion since I cant test...
3031 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3032 (register_custom_actions):
3034 Connect to page selector actions and also grab focus on
3035 the view when activated.
3037 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3039 * pdf/ev-poppler.cc:
3040 * backend/ev-page-cache.c: make page size calculation consistent
3041 and set it to (int)( width * scale + 0.5). This makes the weird
3042 line going through the middle of the page go away.
3044 * shell/ev-view.c: move painting the background page after
3045 checking the expose area covers us.
3047 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3049 * data/evince-password.glade:
3051 Mark labels as not translatable. Fix for bug 302842.
3053 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3055 * configure.ac: Added "es" to ALL_LINGUAS.
3057 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3059 * data/evince-toolbar.xml:
3060 * shell/ev-window.c: (update_action_sensitivity),
3061 (ev_window_setup_document), (ev_window_set_page_mode),
3064 Remove some leftover code from jrb first continous
3065 attempt. Use the new actions, we still need good icons
3068 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3070 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3072 Update label when connecting proxy. Fix a warning with NULL
3075 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3077 * data/evince-ui.xml:
3078 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3079 * shell/ev-page-action.h:
3080 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3082 Add mnemonic for edit toolbar.
3083 ctrl+l focus the page entry.
3085 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3088 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3090 * shell/main.c: (main):
3092 Put the toolbar xml in evince own dot dir
3094 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3096 * shell/ev-window.c: (ev_window_init):
3098 Make the toolbar not removable
3100 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3102 * data/evince-ui.xml:
3103 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3104 * shell/ev-sidebar-links.h:
3105 * shell/ev-sidebar-thumbnails.c:
3106 (ev_sidebar_thumbnails_get_treeview):
3107 * shell/ev-sidebar-thumbnails.h:
3108 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3109 (ev_view_class_init):
3111 * shell/ev-window.c: (update_action_sensitivity),
3112 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3113 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3114 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3117 This is evil... Make space/backspace global accelerators but
3118 enable them only for some widgets (sidebars and view).
3119 I dont like it, but I dont know a better way... :/
3121 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3123 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3124 (ev_page_action_widget_finalize),
3125 (ev_page_action_widget_class_init), (update_page_cache):
3127 Keep a weak reference on proxy->page_cache so that we
3128 dont try to disconnect the signal if the object is already
3129 gone. Maybe there is a better way to cleanup reference handling
3130 in page action though...
3132 2005-05-10 Juerg Billeter <j@bitron.ch>
3134 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3135 * backend/ev-ps-exporter.h:
3136 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3137 * ps/ps-document.c: (ps_document_ps_export_begin):
3139 Change api to pass print range to ps_exporter_begin. The pdf backend
3140 requires this information.
3142 * shell/ev-print-job.c: (idle_print_handler):
3146 2005-05-10 Juerg Billeter <j@bitron.ch>
3148 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3149 (idle_print_handler)
3150 * shell/ev-window.c: (ev_window_print):
3152 Support printing page range, based on patch by Amaury Jacquot
3154 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3156 * data/evince-toolbar.xml:
3158 Add zoom control to available items
3160 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3162 * shell/ev-window.c: (update_action_sensitivity):
3164 Set slash action insensitive when appropriate
3166 2005-05-10 Christian Persch <chpe@gnome.org>
3168 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3170 Fix warning on the overflow menu
3172 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3174 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3176 Check for uri correctness/existence
3178 2005-05-09 Juerg Billeter <j@bitron.ch>
3180 * shell/ev-window.c: (using_postscript_printer):
3182 LPD printers use postscript, too
3184 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3186 * shell/ev-window.c: (register_custom_actions):
3188 The zoom one is actually sort of useful,
3191 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3193 * shell/ev-window.c: (register_custom_actions):
3195 Hide page/zoom controls from overflow, they
3198 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3200 * cut-n-paste/update-from-egg.sh:
3202 Share it between all cut-n-paste subdirs
3204 * cut-n-paste/recent-files/Makefile.am:
3206 Fix to use "global" update-from-egg.sh
3208 * cut-n-paste/recent-files/egg-recent-model.c:
3209 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3210 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3211 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3212 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3216 * cut-n-paste/toolbar-editor/Makefile.am:
3218 Fix to use "global" update-from-egg.sh
3220 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3224 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3227 * cut-n-paste/Makefile.am:
3228 * cut-n-paste/recent-files/Makefile.am:
3229 * cut-n-paste/toolbar-editor/.cvsignore:
3230 * cut-n-paste/toolbar-editor/Makefile.am:
3231 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3232 (egg_editable_toolbar_get_type), (get_toolbar_position),
3233 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3234 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3235 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3236 (set_item_drag_source), (create_item_from_action), (create_item),
3237 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3238 (popup_toolbar_context_menu_cb), (free_dragged_item),
3239 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3240 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3241 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3242 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3243 (item_added_cb), (item_removed_cb),
3244 (egg_editable_toolbar_construct),
3245 (egg_editable_toolbar_disconnect_model),
3246 (egg_editable_toolbar_deconstruct),
3247 (egg_editable_toolbar_set_model),
3248 (egg_editable_toolbar_set_ui_manager),
3249 (egg_editable_toolbar_set_property),
3250 (egg_editable_toolbar_get_property),
3251 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3252 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3253 (egg_editable_toolbar_new_with_model),
3254 (egg_editable_toolbar_get_edit_mode),
3255 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3256 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3257 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3258 (new_pixbuf_from_widget), (new_separator_pixbuf),
3259 (update_separator_image), (style_set_cb),
3260 (_egg_editable_toolbar_new_separator_image),
3261 (egg_editable_toolbar_get_model):
3262 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3263 * cut-n-paste/toolbar-editor/egg-marshal.c:
3264 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3265 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3266 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3267 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3268 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3269 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3270 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3271 (editor_drag_data_delete_cb), (drag_data_get_cb),
3272 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3273 (editor_create_item), (update_editor_sheet), (setup_editor),
3274 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3275 (parse_item_list), (model_has_action), (update_actions_list),
3276 (egg_toolbar_editor_load_actions):
3277 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3278 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3279 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3280 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3281 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3282 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3283 (egg_toolbars_model_add_separator), (impl_add_item),
3284 (parse_item_list), (egg_toolbars_model_add_toolbar),
3285 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3286 (impl_get_item_data), (impl_get_item_type),
3287 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3288 (egg_toolbars_model_init), (free_toolbar),
3289 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3290 (egg_toolbars_model_remove_toolbar),
3291 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3292 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3293 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3294 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3295 (egg_toolbars_model_get_item_data),
3296 (egg_toolbars_model_get_item_type):
3297 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3298 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3300 * data/evince-toolbar.xml:
3301 * data/evince-ui.xml:
3302 * data/hand-open.png:
3304 * shell/Makefile.am:
3305 * shell/ev-window.c: (update_chrome_visibility),
3306 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3307 (ev_window_dispose), (ev_window_init):
3309 Implement epiphany like toolbar editor. Based on patch by
3310 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3312 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3314 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3316 Use set_cursor instead of set_selection, so that
3317 the keyboard focus moves too.
3319 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3321 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3323 Fix infinite loop when loading Type1 fonts
3325 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3327 * data/evince-ui.xml:
3328 * shell/ev-window.c:
3332 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3336 Make --disable really disable
3338 2005-05-07 Juerg Billeter <j@bitron.ch>
3340 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3342 Compare page labels even without has_labels set, fixes setting page
3345 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3347 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3348 (ev_view_set_cursor), (ev_view_button_press_event),
3349 (ev_view_motion_notify_event), (ev_view_button_release_event),
3352 Implement middle button scrolling. Based on a patch
3353 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3355 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3357 * shell/ev-document-types.c: (get_slow_mime_type),
3358 (get_document_type_from_mime), (ev_document_type_lookup):
3359 * shell/ev-document-types.h:
3361 Change api to lookup from uri. Do fast lookup first, if the
3362 type is unknown try with data sniffing.
3364 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3365 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3369 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3371 * thumbnailer/Makefile.am:
3375 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3382 * data/evince-ui.xml:
3384 Hide presentation mode for now
3386 * shell/ev-view.c: (highlight_find_results):
3388 Show current find selection only on current page
3390 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3392 * shell/ev-view.c: (ev_view_select_all):
3394 Compute size of the actual page, not of
3397 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3399 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3400 (view_rect_to_doc_rect), (compute_selections),
3401 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3402 (ev_view_copy), (ev_view_primary_get_cb),
3403 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3404 (ev_view_button_press_event), (ev_view_motion_notify_event),
3405 (ev_view_button_release_event), (page_changed_cb):
3409 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3411 * shell/ev-view.c: (compute_border), (get_page_extents),
3412 (doc_rect_to_view_rect), (highlight_find_results),
3413 (ev_view_bin_expose), (ev_view_select_all),
3414 (ev_view_motion_notify_event), (update_find_status_message),
3415 (jump_to_find_result), (jump_to_find_page):
3417 First go at fixing search, still buggy
3419 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3421 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3422 dropdown box and button at the top of the sidebar.
3424 2005-05-02 James Bowes <bowes@cs.dal.ca>
3426 * configure.ac: Output zoom-control Makefile.
3427 * cut-n-paste/Makefile.am: build zoom-control subdir.
3428 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3429 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3430 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3431 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3432 * cut-n-paste/zoom-control/ephy-zoom.c:
3433 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3434 from epiphany, and modified to add a separator into the menu.
3435 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3436 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3437 zoom-control action.
3438 * shell/Makefile.am: Include zoom-control flags.
3439 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3440 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3441 (ev_view_zoom_for_size_presentation),
3442 (ev_view_zoom_for_size_continuous_and_dual_page),
3443 (ev_view_zoom_for_size_continuous),
3444 (ev_view_zoom_for_size_dual_page),
3445 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3446 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3447 ev_view_get_zoom and ev_view_get_sizing_mode.
3449 * shell/ev-window.c: (update_action_sensitivity),
3450 (update_sizing_buttons), (zoom_control_changed_cb),
3451 (register_custom_actions): Initialize and use the zoom-control
3454 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3456 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3457 preview cache back to 1. Don't know when it got set to 0.
3459 * shell/ev-view.c: (compute_border), (ev_view_realize),
3460 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3461 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3462 (ev_view_get_fullscreen), (ev_view_set_presentation),
3463 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3464 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3466 * shell/ev-window.c:
3467 (update_chrome_visibility),
3468 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3469 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3470 (update_document_mode), (ev_window_update_fullscreen_action),
3471 (ev_window_fullscreen), (ev_window_unfullscreen),
3472 (ev_window_cmd_view_fullscreen),
3473 (ev_window_update_presentation_action),
3474 (ev_window_run_presentation), (ev_window_stop_presentation),
3475 (ev_window_cmd_view_presentation), (ev_window_state_event),
3476 (ev_window_focus_in_event), (ev_window_focus_out_event),
3477 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3478 * data/evince-ui.xml: Initial presentation mode. We should
3479 probably hide this until it's done, as it's quite rough. Also,
3480 change full-screen to fullscreen and add two getters to EvView.
3482 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3484 * shell/ev-page-action.c: (update_page_cache),
3485 (ev_page_action_dispose):
3486 * shell/ev-window.c: (destroy_fullscreen_popup),
3487 (ev_window_create_fullscreen_popup):
3489 Use connect_object rather than explicitly
3490 disconnect on dispose.
3492 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3494 * shell/ev-page-action.c: (update_page_cache),
3495 (ev_page_action_dispose):
3497 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3499 * backend/ev-page-cache.c: (_ev_page_cache_new),
3500 (ev_page_cache_set_page_label),
3501 (ev_page_cache_has_nonnumeric_page_labels):
3502 * backend/ev-page-cache.h:
3503 * shell/ev-page-action.c: (update_pages_label):
3505 If all page labels are numeric, fallback to default
3506 way to display number of pages. See bug 173185.
3508 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3510 * shell/ev-page-action.c: (ev_page_action_dispose):
3511 * shell/ev-view.c: (view_update_range_and_current_page):
3512 * shell/ev-window.c: (ev_window_dispose):
3514 Set page on scroll in continuous mode. Fixes bug 301986.
3515 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3517 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3521 Require poppler 0.3.0
3523 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3525 * shell/Makefile.am, configure.ac: Fix build problems
3526 with t1lib. Bug 301996.
3528 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3530 * shell/ev-view.c: (ev_view_scroll_event):
3532 Scroll up increase zoom
3534 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3536 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3537 (ev_view_set_sizing_mode),
3538 (ev_view_zoom_for_size_continuous_and_dual_page),
3539 (ev_view_zoom_for_size_continuous):
3540 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3541 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3542 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3545 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3546 Fix for 165473 and 165472.
3548 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3551 * thumbnailer/Makefile.am:
3552 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3553 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3554 * thumbnailer/evince-thumbnailer.schemas.in:
3556 Make thumbnailer schemas translatable. Fix for bug 301773
3558 * thumbnailer/evince-thumbnailer-djvu.schemas:
3559 * thumbnailer/evince-thumbnailer-dvi.schemas:
3560 * thumbnailer/evince-thumbnailer.schemas:
3564 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3566 * shell/ev-view.c (ev_view_init): forgot to set this.
3568 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3570 * shell/ev-view.c: (find_page_at_location),
3571 (get_link_at_location),
3572 (ev_view_set_show_border), (ev_view_set_spacing),
3573 (ev_view_zoom_for_size_continuous_and_dual_page),
3574 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3575 Also, add a quick fix measuring of widths. Also, removed
3576 ev_view_set_spacing and ev_view_set_show_border.
3578 * shell/ev-window.c: (ev_window_unfullscreen),
3579 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3581 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3583 * shell/ev-view.c: (view_update_range_and_current_page),
3586 Fix crash on exit and scrolling to page in continuous view.
3588 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3591 * backend/ev-page-cache.c: (_ev_page_cache_new),
3592 (ev_page_cache_get_max_width_size),
3593 (ev_page_cache_get_max_height_size):
3594 * backend/ev-page-cache.h:
3595 * data/evince-ui.xml:
3596 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3597 * shell/ev-view.c: (view_update_adjustments),
3598 (view_update_range_and_current_page), (get_bounding_box_size),
3599 (ev_view_size_request_continuous_and_dual_page),
3600 (ev_view_size_request_continuous),
3601 (ev_view_size_request_dual_page),
3602 (ev_view_size_request_single_page), (ev_view_size_request),
3603 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3604 (ev_view_bin_expose), (ev_view_expose_event),
3605 (ev_view_set_property), (ev_view_get_property),
3606 (ev_view_class_init), (ev_view_init), (ev_view_new),
3607 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3608 (ev_view_set_dual_page), (ev_view_set_full_screen),
3609 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3610 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3611 (ev_view_zoom_out), (zoom_for_size_fit_width),
3612 (zoom_for_size_best_fit),
3613 (ev_view_zoom_for_size_continuous_and_dual_page),
3614 (ev_view_zoom_for_size_continuous),
3615 (ev_view_zoom_for_size_dual_page),
3616 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3617 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3619 * shell/ev-window.c: (update_action_sensitivity),
3620 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3621 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3622 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3623 (ev_window_cmd_view_zoom_out), (update_view_size),
3624 (ev_window_set_sizing_mode), (ev_window_init):
3626 Add Continuous and Dual page modes.
3628 2005-04-23 James Bowes <bowes@cs.dal.ca>
3630 * dvi/dvi-document.c: (dvi_document_load),
3631 (dvi_document_thumbnails_get_thumbnail),
3632 (dvi_document_init_params): Fix up some mixups between
3633 width and height to correct thumbnail rendering.
3635 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3637 * dvi/mdvi-lib/private.h:
3638 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3640 Suppess output for kpathsea during font generation. Thanks to
3643 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3650 * Makefile.am: fix distcheck.
3652 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3654 * shell/ev-sidebar-links.c: (selection_changed_callback),
3655 (update_page_callback), (row_activated_callback),
3656 (job_finished_callback), (ev_sidebar_links_set_document):
3658 Fix for bug #169901. Double click on links expands tree.
3660 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3662 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3663 hard-coded style. Fix for bug 170111
3665 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3667 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3670 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3672 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3674 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3676 * pdf/ev-poppler.cc:
3677 * shell/ev-view.c: (highlight_find_results):
3679 Fix find on single page documents
3681 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3683 * data/evince.schemas.in: fix for bug 301390
3685 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3687 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3688 (ev_view_zoom_out), (ev_view_zoom_normal):
3690 * shell/ev-window.c: (update_action_sensitivity),
3691 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3692 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3693 (ev_window_cmd_view_normal_size):
3695 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3696 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3699 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3703 Depend on 2.57, 2.59 doesnt seem to be necessary
3705 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3707 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3710 Put back total number of pages as (1 of 1234)
3712 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3714 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3717 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3718 function. This helps debugging.
3720 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3722 * djvu/djvu-document.c: (djvu_document_class_init),
3723 (djvu_document_get_info), (djvu_document_document_iface_init):
3724 * dvi/dvi-document.c: (dvi_document_class_init),
3725 (dvi_document_get_info), (dvi_document_document_iface_init):
3727 Dummy implementation of get_info method for dvi and djvu. Fix
3728 crashes with those backends
3730 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3732 * data/evince.desktop.in:
3734 Add application/x-gzpostscript
3736 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3738 * data/evince.schemas.in: Added real long descriptions,
3741 * README: Added actual text, closes bug 171869
3743 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3745 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3749 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3751 * backend/ev-document-info.h:
3753 s/GDate */GDate so we can just use g_free
3755 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3757 * shell/ev-window.c: (update_document_mode),
3758 (ev_window_setup_document):
3760 Show the window in fullscreen when specified by
3763 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3765 * backend/ev-document.c: (ev_document_class_init),
3766 (ev_document_get_info), (ev_document_render_pixbuf):
3767 * backend/ev-document.h:
3768 * backend/ev-page-cache.c: (_ev_page_cache_new):
3769 * pdf/ev-poppler.cc:
3770 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3771 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3772 * ps/ps-document.c: (ps_document_class_init), (document_load),
3773 (ps_document_get_info), (ps_document_document_iface_init):
3775 Remove get_title from the interface, we can just use document info
3777 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3779 * backend/Makefile.am:
3780 * backend/ev-document.c: (ev_document_render_get_info):
3781 * backend/ev-document.h:
3782 * pdf/ev-poppler.cc:
3784 Initial support for document info. Based on jrb patch.
3786 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3788 * shell/ev-window.c: (ev_window_state_event),
3789 (ev_window_class_init), (ev_window_init):
3791 Doesn't show resize grip when maximized. See bug #301053
3793 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3797 ev-sidebar-thumbnails now has translatable labels
3799 * shell/Makefile.am:
3800 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3801 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3802 (ev_sidebar_links_page_iface_init):
3803 * shell/ev-sidebar-links.h:
3804 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3805 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3806 (ev_sidebar_page_get_label):
3807 * shell/ev-sidebar-page.h:
3808 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3809 (ev_sidebar_thumbnails_set_document),
3810 (ev_sidebar_thumbnails_support_document),
3811 (ev_sidebar_thumbnails_get_label),
3812 (ev_sidebar_thumbnails_page_iface_init):
3813 * shell/ev-sidebar-thumbnails.h:
3814 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3815 (ev_sidebar_set_document):
3816 * shell/ev-sidebar.h:
3817 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3819 Small rework of sidebar code. Now sidebar pages should implement
3820 EvSidebarPage interface. That makes page management in EvSidebar
3821 easier. See bug #164811 for details
3823 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3825 * shell/ev-application.c: (ev_application_open):
3826 * shell/ev-document-types.c:
3828 Fix build error and small problem with application exit
3830 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3832 * thumbnailer/Makefile.am:
3833 * thumbnailer/evince-thumbnailer-djvu.schemas:
3834 * thumbnailer/evince-thumbnailer-dvi.schemas:
3836 Conditionally install schemas for djvu/dvi thumbnailer
3838 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3840 * shell/ev-document-types.h:
3841 * shell/ev-document-types.c:
3842 New files, handling the mapping from mimetypes to backends
3844 * shell/ev-window.c:
3845 * thumbnailer/evince-thumbnailer.c:
3846 Use the ev-document-types code
3848 * shell/Makefile.am:
3849 Added new convenience library libevbackendfactory_la, containing
3850 the new mimetype->backend logic; moved the backends into it.
3852 * thumbnailer/Makefile.am:
3853 Make the thumbnailer link with the libevbackend.la convenience
3854 library, rather than having a duplicate of the backend logic here.
3856 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3858 * shell/ev-stock-icons.c: constify some vars.
3859 * shell/ev-window.c: ditto.
3861 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3863 * ps/ps-document.c (get_page_orientation):
3865 Respect document orientation
3867 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3871 * shell/Makefile.am:
3873 Move library dependencies to components.
3875 * shell/ev-window.c: (update_window_title),
3876 (start_loading_document):
3878 Fix display of uris with spaces. Bug 168358.
3880 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3882 * shell/ev-sidebar-links.c: (selection_changed_cb):
3883 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3884 (ev_view_button_release_event), (ev_view_set_document):
3886 * shell/ev-window.c: (find_bar_search_changed_cb):
3887 * shell/ev-window.h: Minor cleanups removing some dead code.
3889 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3891 * backend/ev-page-cache.c: (_ev_page_cache_new):
3893 Set current page to 0 if document has pages.
3895 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3897 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3899 Initialize GError to NULL, fix a crash when loading fails.
3901 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3903 * shell/ev-window.c: (update_view_size):
3905 Calculate shadow size only when there is actually
3908 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3910 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3913 Allow setting view spacing, default to 0
3915 * shell/ev-window.c: (ev_window_unfullscreen),
3916 (ev_window_cmd_view_fullscreen), (ev_window_init):
3918 Remove spacing in fullscreen mode
3920 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3922 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3923 (ev_view_size_request), (expose_bin_window),
3924 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3926 * shell/ev-window.c: (ev_window_unfullscreen),
3927 (ev_window_cmd_view_fullscreen):
3929 Do not draw the border in fulscreen
3931 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3933 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3934 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3935 (find_page_at_location), (page_changed_cb):
3937 Rework border calculation, so that I can more easily disable it.
3938 Code somewhat cleaner too.
3940 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3942 * backend/ev-page-cache.c: (ev_page_cache_init),
3943 (_ev_page_cache_new):
3945 Remove some assertions, documents can have 0 pages.
3946 Make initial current page -1.
3948 * shell/ev-page-action.c: (page_changed_cb):
3950 Show "" if current page is -1
3952 * shell/ev-window.c: (update_action_sensitivity),
3953 (ev_window_setup_document):
3955 When document has 0 pages do not set the view
3956 and make nearly everything insensitive.
3958 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3960 * shell/ev-page-view.c:
3961 * shell/ev-page-view.h:
3963 Remove unused files.
3965 * shell/ev-sidebar-thumbnails.c:
3966 (ev_sidebar_thumbnails_set_document):
3967 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3968 (ev_sidebar_supports_document):
3969 * shell/ev-sidebar.h:
3970 * shell/ev-window.c: (ev_window_setup_document):
3972 Doesn't show thumbnails if document has 1 page. Make
3973 sidebar menu entries sensitive only if if they have
3974 sense. Fix bug 164811.
3976 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3978 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3979 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3980 (ev_view_zoom_out), (ev_view_set_size):
3982 Rework sizing to deal with documents with not uniform page
3985 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3987 * backend/ev-page-cache.c: (_ev_page_cache_new):
3989 Fix several page size caching bugs
3991 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3993 * shell/ev-window.c: (set_action_properties):
3995 Make all toolbar items translatable
3997 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3999 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4000 (save_page_list), (ps_document_save),
4001 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4002 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4003 (ps_document_ps_exporter_iface_init):
4006 Based on a patch by J�rg Billeter <j@bitron.ch>
4008 Implement print and save a copy for the ps backend.
4010 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4012 * backend/ev-document.h:
4013 * djvu/djvu-document.c: (djvu_document_can_get_text),
4014 (djvu_document_document_iface_init):
4015 * dvi/dvi-document.c: (dvi_document_can_get_text),
4016 (dvi_document_document_iface_init):
4017 * pdf/ev-poppler.cc:
4018 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4019 (pixbuf_document_document_iface_init):
4020 * ps/ps-document.c: (ps_document_can_get_text),
4021 (ps_document_document_iface_init):
4022 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4023 * shell/ev-window.c: (update_action_sensitivity):
4025 Fix the crash when trying to copy in backends that doesnt
4026 support it. We can implement a better solution once we
4027 do real text selection.
4029 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4031 * data/evince-ui.xml:
4032 * shell/ev-window.c: (ev_window_cmd_escape):
4034 Work around the Escape conflict (find bar and unfullscreen)
4036 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4038 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4040 Fix for #300233. Next page correctly handles document end.
4042 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4043 (ev_sidebar_thumbnails_class_init),
4044 (ev_sidebar_thumbnails_set_document),
4045 (ev_sidebar_thumbnails_clear_job),
4046 (ev_sidebar_thumbnails_clear_model):
4048 Cleanup thumbnail jobs on document changes.
4050 * shell/ev-view.c: (add_scroll_binding_keypad),
4051 (add_scroll_binding_shifted), (ev_view_class_init):
4053 Shift + Space scrolls up. Fix for #173184
4055 * shell/ev-window.c: (ev_window_open_page),
4056 (ev_window_cmd_view_reload):
4058 Fix reload (Bug #300094)
4060 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4063 * dvi/mdvi-lib/assoc.c:
4064 * dvi/mdvi-lib/assoc.h: Removed garbage files
4066 * dvi/mdvi-lib/bitmap.c:
4067 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4068 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4069 * dvi/mdvi-lib/color.h: Antialias of rules
4071 * dvi/mdvi-lib/common.h:
4072 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4073 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4074 * dvi/mdvi-lib/files.c:
4075 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4076 * dvi/mdvi-lib/mdvi.h:
4077 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4078 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4079 * dvi/mdvi-lib/util.c: Fix compile warnings
4081 * dvi/dvi-document.c:
4082 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4083 (dvi_document_thumbnails_get_thumbnail),
4084 (dvi_document_document_thumbnails_iface_init):
4085 * dvi/mdvi-lib/Makefile.am:
4086 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4087 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4089 Dvi backend now renders thumbnails
4091 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4093 * shell/main.c: (main):
4095 Save accelerators on exit. Fixes bug #172095.
4097 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4099 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4100 update priority" comment.
4102 * backend/ev-job-queue.c: Give a way to change priority.
4104 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4106 * shell/ev-page-action.c: Fix logic.
4108 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4110 * shell/ev-view.c: (ev_view_can_find_next):
4111 * shell/ev-window.c: (ev_window_setup_document):
4113 Check that the document supports find
4115 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4117 * data/evince-ui.xml:
4118 * shell/ev-view.c: (ev_view_can_find_next):
4120 * shell/ev-window.c: (update_action_sensitivity),
4121 (find_changed_cb), (ev_window_setup_document),
4122 (ev_window_cmd_edit_find_next):
4126 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4128 * pdf/ev-poppler.cc:
4129 * shell/ev-print-job.c: (idle_print_handler):
4131 Make printing work again
4133 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4135 * shell/ev-page-action.h:
4136 * shell/ev-page-action.c: (ev_page_action_widget_init),
4137 (ev_page_action_widget_class_init), (page_changed_cb),
4138 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4139 (get_filter_model_from_model), (match_selected_cb),
4140 (display_completion_text), (match_completion), (update_model),
4141 (connect_proxy), (ev_page_action_set_property),
4142 (ev_page_action_get_property), (ev_page_action_set_document),
4143 (ev_page_action_set_model), (ev_page_action_class_init): Big
4144 reworking to make completions work iff we have >= GTK-2.7.0
4146 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4147 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4148 (job_finished_cb): We now have a 'model' property that is set when
4149 the links are loaded. This can be caught with "notify::model"
4151 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4152 listen for the model to be set, and propagate it to the action.
4154 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4156 * cut-n-paste/recent-files/egg-recent-item.c:
4157 (egg_recent_item_set_uri), (make_valid_utf8),
4158 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4159 * cut-n-paste/recent-files/egg-recent-item.h:
4161 Update egg-recent from libegg. This should fix long
4162 startup problem. For details see
4163 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4165 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4167 * cut-n-paste/recent-files/Makefile.am:
4168 * data/evince-ui.xml, shell/Makefile.am:
4169 * shell/ev-application.c, shell/ev-application.h:
4170 * shell/ev-window.c: Recent files support.
4172 * configure.ac: Added "ru" to ALL_LINGUAS.
4174 * dvju: new backend to support DJVU files.
4175 * dvi: new backend to support DVI.
4177 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4178 * ev-application.c: Support for new backends.
4180 * help, ev-window.c, main.c shell/Makefile.am:
4181 Evince user documentation.
4183 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4186 * shell/ev-window.c:
4187 * thumbnailer/evince-thumbnailer.c:
4189 s/pdf-document/ev-poppler
4191 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4198 * ps/ps-document.c: (setup_pixmap):
4202 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4204 * backend/ev-page-cache.c (ev_page_cache_next_page):
4205 * shell/ev-window.c (ev_window_cmd_go_next_page)
4206 (ev_window_cmd_go_first_page): Fix of by one errors.
4208 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4210 * ps/ps-document.c: (get_page_box):
4212 Fix page size calculation
4214 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4216 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4217 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4218 (get_page_orientation), (setup_page), (document_load),
4219 (ps_document_get_page_size), (render_pixbuf_idle):
4222 More refactoring to adapt to EvDocument changes
4224 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4226 * ps/ps-document.c: (start_interpreter):
4228 Actually add alpha args
4230 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4232 * pdf/ev-poppler.cc:
4234 Make clipboard work again
4236 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4238 Make searching work again.
4240 * backend/ev-document.c:
4241 * backend/ev-document.h:
4242 * backend/ev-document-find.c:
4243 * backend/ev-document-find.h: Change EvDocumentIface so we no
4244 longer store the current page or zoom level in the document. The
4245 consequence is that all calls that operate on the current page now
4246 instead take the page number as an extra argument, and all
4247 coordinates are now doubles in document coordinate system.
4249 * pdf/ev-poppler.cc:
4250 * pixbuf/pixbuf-document.c:
4251 * ps/ps-document.c: Update backends accordingly.
4253 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4257 Add required gettext version
4259 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4261 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4262 make F1 bring up non-existent help.
4264 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4265 epiphany's find bar, #167477
4267 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4268 <emil@nishra.com> to add space-bar scrolling,
4270 * shell/ev-window.c (static GtkActionEntry entries): add default
4271 keybinding for Help (F1)
4274 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4275 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4278 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4281 * pixbuf/pixbuf-document.c:
4283 Got pixbuf backend working again
4285 2005-04-01 Steve Murphy <murf@e-tools.com>
4287 * configure.in: Added "rw" to ALL_LINGUAS.
4289 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4291 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4292 model types, noticed by Martin Kretzschmar.
4294 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4296 * pdf/ev-poppler.cc: Implement search based on
4297 poppler_page_find_text(). Currently a bit crude since we remember
4298 all matches from all pages. Also, we grab the big document lock
4299 when we search since searching changes the underlying stream and
4300 thus conflicts with the rendering thread.
4302 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4303 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4304 (ev_view_find_previous): Fix some page indexes to be 0 based,
4305 offset rubber band by view offset,
4307 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4309 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4311 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4313 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4314 completely because I didn't understand GtkActions. I should
4315 read Marco's code more carefully in the future.
4317 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4320 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4322 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4323 PopplerRectangle change from poppler CVS.
4325 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4327 * backend/ev-document.c: (ev_document_get_page_label):
4328 * backend/ev-document.h:
4329 * backend/ev-page-cache.c: (_ev_page_cache_new),
4330 (ev_page_cache_get_page_label):
4331 * backend/ev-page-cache.h:
4332 * pdf/ev-poppler.cc:
4333 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4334 (links_page_num_func):
4335 * shell/ev-sidebar-thumbnails.c:
4336 (ev_sidebar_thumbnails_set_document):
4337 * shell/ev-view.c: (status_message_from_link),
4338 (ev_view_motion_notify_event):
4339 * shell/ev-window.c: (document_supports_sidebar): Add in page
4340 label support. It's not perfect yet, but it's the first 'feature'
4342 Also, fix a bogus comment noticed by crispin.
4344 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4346 * Makefile.am: Remove pixbuf backend for now
4348 * configure.ac: Require poppler-glib instead of just poppler.
4350 * backend/ev-document-thumbnails.h: Add a comment
4352 * backend/ev-document.h:
4353 * backend/ev-document.c: (ev_document_class_init),
4354 (ev_document_load), (ev_document_get_link),
4355 (ev_document_get_links): Remove 3 methods and add get_links.
4358 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4359 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4361 * backend/ev-link.c: (ev_link_set_title),
4362 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4363 (ev_link_mapping_find):
4364 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4366 * backend/ev-page-cache.c: (ev_page_cache_init),
4367 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4368 (ev_page_cache_get_size), (ev_page_cache_next_page),
4369 (ev_page_cache_prev_page): Fix to be 0 based.
4373 * pdf/ev-poppler.cc: New backend.
4375 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4376 (ps_document_get_page), (ps_document_document_iface_init):
4378 * shell/ev-pixbuf-cache.h:
4379 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4380 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4381 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4382 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4383 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4384 Fix up code to grab a page cache per each doc. Also, fix to be 0
4387 * shell/ev-sidebar-thumbnails.c:
4388 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4389 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4391 * shell/ev-view.c: (status_message_from_link),
4392 (find_page_at_location), (get_link_at_location),
4393 (ev_view_motion_notify_event), (ev_view_button_release_event),
4394 (ev_view_init): Use the new link code. Fix to be 0 based.
4396 * shell/ev-window.c: (update_action_sensitivity),
4397 (document_supports_sidebar): 0 based.
4399 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4401 * pdf/pdf-document.cc: Patch from Fernando Herrera
4402 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4405 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4407 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4408 1 to the page, as this seems to be 1 based. I thought we has this
4411 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4414 * backend/Makefile.am:
4415 * backend/ev-document-links.c:
4416 (ev_document_links_has_document_links),
4417 (ev_document_links_get_links_model):
4418 * backend/ev-document-links.h:
4419 * backend/ev-document.c: (ev_document_get_page_cache),
4420 (ev_document_get_doc_mutex), (ev_document_load),
4421 (ev_document_save), (ev_document_get_title),
4422 (ev_document_get_n_pages), (ev_document_set_page),
4423 (ev_document_get_page), (ev_document_set_target),
4424 (ev_document_set_scale), (ev_document_set_page_offset),
4425 (ev_document_get_page_size), (ev_document_get_text),
4426 (ev_document_get_link), (ev_document_render),
4427 (ev_document_render_pixbuf), (ev_document_scale_changed):
4428 * backend/ev-document.h:
4429 * backend/ev-job-queue.c: (remove_object_from_queue),
4430 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4431 (no_jobs_available_unlocked), (ev_render_thread),
4432 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4433 (ev_job_queue_remove_job):
4434 * backend/ev-job-queue.h:
4435 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4436 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4437 (ev_job_links_class_init), (ev_job_render_init),
4438 (ev_job_render_dispose), (ev_job_render_class_init),
4439 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4440 (ev_job_thumbnail_class_init), (ev_job_finished),
4441 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4442 (ev_job_render_run), (ev_job_thumbnail_new),
4443 (ev_job_thumbnail_run):
4444 * backend/ev-jobs.h:
4445 * backend/ev-link.c:
4446 * backend/ev-link.h:
4447 * backend/ev-page-cache.c: (ev_page_cache_init),
4448 (ev_page_cache_class_init), (ev_page_cache_finalize),
4449 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4450 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4451 (ev_page_cache_set_link), (ev_page_cache_get_title),
4452 (ev_page_cache_get_size), (ev_page_cache_next_page),
4453 (ev_page_cache_prev_page):
4454 * backend/ev-page-cache.h:
4455 * pdf/pdf-document.cc:
4458 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4459 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4460 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4461 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4462 (is_interpreter_ready), (output), (catchPipe), (input),
4463 (start_interpreter), (check_filecompressed), (compute_dimensions),
4464 (ps_document_enable_interpreter), (document_load),
4465 (ps_document_next_page), (render_page), (ps_document_set_page),
4466 (ps_document_set_scale), (render_pixbuf_idle),
4467 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4469 * shell/Makefile.am:
4470 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4471 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4472 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4473 (ev_pixbuf_cache_new), (job_finished_cb),
4474 (check_job_size_and_unref), (move_one_job),
4475 (ev_pixbuf_cache_update_range), (find_job_cache),
4476 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4477 (ev_pixbuf_cache_add_jobs_if_needed),
4478 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4479 * shell/ev-pixbuf-cache.h:
4480 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4481 (idle_print_handler):
4482 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4483 (selection_changed_cb), (create_loading_model),
4484 (ev_sidebar_links_construct), (links_page_num_func),
4485 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4486 (update_page_callback), (job_finished_cb),
4487 (ev_sidebar_links_set_document):
4488 * shell/ev-sidebar-thumbnails.c:
4489 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4490 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4491 (page_changed_cb), (thumbnail_job_completed_callback),
4492 (ev_sidebar_thumbnails_set_document):
4493 * shell/ev-sidebar-thumbnails.h:
4494 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4495 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4496 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4497 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4498 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4499 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4500 (ev_view_button_release_event), (ev_view_scroll_view),
4501 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4502 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4503 (ev_view_new), (job_finished_cb), (page_changed_cb),
4504 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4505 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4506 (ev_view_find_previous):
4508 * shell/ev-window.c: (update_action_sensitivity),
4509 (ev_window_open_page), (update_window_title), (update_total_pages),
4510 (page_changed_cb), (ev_window_setup_document),
4511 (password_dialog_response), (ev_window_cmd_save_as),
4512 (ev_window_print), (ev_window_cmd_go_previous_page),
4513 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4514 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4515 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4516 * shell/main.c: (main):
4518 Merge evince-threads branch
4520 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4522 * configure.ac: Added "lt" to ALL_LINGUAS.
4524 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4531 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4533 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4535 Fix here also the thumbnails 1-basedness :)
4537 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4544 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4546 * pdf/pdf-document.cc:
4547 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4548 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4550 Fix the mess we did with thumbnails and 1-basedness
4552 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4554 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4556 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4563 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4566 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4567 (gtk_gs_defaults_get_alpha_parameters),
4568 (gtk_gs_defaults_get_ungzip_cmd),
4569 (gtk_gs_defaults_get_unbzip2_cmd):
4571 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4572 (ps_document_get_orientation), (document_load),
4573 (ps_document_goto_page), (ps_document_set_page_size):
4576 Some more sanitization of the ps backend. Remove a lot
4577 of unused code and do not base our defaults on ggv
4580 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4582 * thumbnailer/evince-thumbnailer.schemas:
4583 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4584 (main): add -s option for thumbnail size.
4586 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4590 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4593 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4595 * pdf/pdf-document.cc:
4597 Remove 4 pixels of useless border from the
4600 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4602 * backend/ev-document-thumbnails.c:
4603 (ev_document_thumbnails_get_thumbnail):
4604 * backend/ev-document-thumbnails.h:
4606 Rework API a bit. Add a border flag and
4607 change sizing logic (now the size we specify
4608 applies to the bigger dimension).
4610 * pdf/pdf-document.cc:
4611 * pixbuf/pixbuf-document.c:
4612 (pixbuf_document_thumbnails_get_thumbnail):
4613 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4614 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4616 Adapt to the new API and do not draw a border for nautilus
4619 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4621 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4622 take thumbnails from page "0" instead of "1". Added a copyright header.
4624 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4626 * ps/ps-document.c: (set_up_page), (start_interpreter):
4628 Make it C89 compliant
4630 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4635 * pdf/pdf-document.cc:
4636 * thumbnailer/Makefile.am:
4637 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4639 * thumbnailer/evince-thumbnailer.schemas:
4640 * thumbnailer/pdf-icon.png:
4642 Add a nautilus thumbnailer.
4643 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4645 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4653 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4655 Use poppler instead of including xpdf source code. Poppler is a
4656 fork of xpdf to build it as a shared library. See
4657 http://freedesktop.org/wiki/Software/poppler.
4659 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4662 * pdf/Makefile.am: Build libpdfdocument.a here.
4664 * pdf/GDKSplashOutputDev.cc:
4665 * pdf/GDKSplashOutputDev.h:
4666 * pdf/GnomeVFSStream.cc:
4667 * pdf/GnomeVFSStream.h:
4670 * test-gdk-output-dev.cc
4672 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4675 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4677 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4679 Clear idle stack before unsetting the document
4681 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4683 * ps/ps-document.c: (ps_document_widget_event),
4684 (ps_document_set_target), (ps_document_finalize),
4685 (ps_document_get_page):
4687 Disconnect the widget event signal on finalize.
4690 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4692 * ps/ps-document.c: (set_up_page):
4694 If there is no bpixmap create one, even if size
4697 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4699 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4700 (set_up_page), (document_load), (ps_document_set_zoom):
4702 Default page is 0. Calculate size even when we have no
4705 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4707 * shell/ev-sidebar.c: expand the selection widget to be always as
4710 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4712 * shell/ev-sidebar-thumbnails.c:
4713 (ev_sidebar_thumbnails_set_document):
4715 Clear the list store when setting document
4717 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4719 * shell/ev-page-action.c: (update_entry), (sync_entry),
4720 (activate_cb), (entry_size_request_cb), (create_tool_item),
4723 Use an entry for the page control instead of spinbuttons
4725 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4727 * data/evince.schemas.in:
4729 Correct confusing string
4731 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4733 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4734 for real. Gosh, how long has this been broken.
4736 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4737 check for a NULL link. We crash otherwise.
4739 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4746 2005-02-25 Sebastien Bacher <seb128@debian.org>
4748 * configure.ac: add the french translation.
4750 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4752 * shell/ev-window.c:
4754 Remove unused header -> fix distcheck
4756 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4758 * shell/ev-window.c: (update_window_title),
4759 (ev_window_popup_password_dialog):
4761 Unescape filename for display
4763 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4765 * pdf/xpdf/pdf-document.cc:
4767 In get_page_size deal with rotation. Also
4768 cleanup the function a bit.
4770 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4772 * pdf/xpdf/pdf-document.cc:
4774 Fix crash when opening in new window
4776 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4780 Check ghostscript >= 7
4782 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4784 * shell/ev-window.c:
4786 Make page width the default sizing mode
4788 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4789 Marco Pesenti Gritti <marco@gnome.org>
4791 * shell/ev-window.c: Remember the sidebar size
4793 * data/evince.schemas.in: Add a new gconf key to store the size of
4796 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4798 * data/evince-ui.xml:
4799 * shell/ev-window.c: (update_action_sensitivity),
4800 (ev_window_cmd_view_reload):
4802 Add a "Reload" action and menu entry
4804 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4806 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4807 iff the type doesn't support thumbnailing and indexing.
4809 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4811 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4813 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4815 * pdf/splash/Splash.cc:
4817 Port fix for a crasher from kde bug
4818 http://bugs.kde.org/show_bug.cgi?id=97131
4820 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4822 * pdf/xpdf/pdf-document.cc:
4824 Return a link even if it's of an unrecognized
4825 type. Otherwise we go in an infinte cycle.
4827 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4829 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4830 (size_allocate_cb), (ev_window_set_sizing_mode):
4832 Update size when switching mode
4834 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4836 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4837 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4838 (ev_window_cmd_view_normal_size):
4840 Fix size toggle buttons behavior
4842 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4844 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4845 (doc_rect_to_view_rect), (ev_view_size_allocate),
4846 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4847 (scale_changed_callback):
4849 Do not cache offsets in size_allocate.
4851 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4853 * shell/ev-view.c: (ev_view_size_allocate):
4855 Calculate offsets before calling the parent
4856 class (which does a redraw)
4858 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4860 * pdf/xpdf/pdf-document.cc:
4862 Fix a crasher on exit. Unused code, put a TODO
4864 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4866 * backend/ev-document.c: (ev_document_class_init),
4867 (ev_document_page_changed), (ev_document_scale_changed):
4868 * backend/ev-document.h:
4870 Separate page/scale notifications
4872 * pdf/xpdf/pdf-document.cc:
4874 Emit the new signals.
4875 Do not display the pdf page in _render, do it
4876 when scale/page are requested.
4878 * ps/ps-document.c: (ps_document_set_zoom),
4879 (ps_document_widget_event):
4882 Emit the new signals.
4884 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4885 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4886 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4887 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4889 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4890 (ev_window_cmd_view_page_width), (size_allocate_cb),
4891 (ev_window_set_sizing_mode):
4893 Rework sizing to be pixel based.
4894 There are bugs but should be already way better.
4896 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4898 * shell/ev-window.c: (ev_window_init):
4900 Do not allow to shrink sidebar smaller then
4903 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4905 * shell/ev-sidebar.[ch]
4906 * shell/ev-window.c:
4908 Improved sidebar widget. Fixes #166683
4910 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4912 * shell/ev-view.c (update_find_status_message): Give translators
4913 more flexibility with ngettext plural handling.
4915 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4917 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4918 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4919 page when we get the page size.
4921 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4923 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4925 ps pages are 0 based, convert
4927 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4929 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4931 Initialize correct parent class. Set GError on document load
4933 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4935 * pdf/xpdf/pdf-document.cc:
4937 Fixup selection offset calculation
4939 * shell/ev-view.c: (view_rect_to_doc_rect),
4940 (doc_rect_to_view_rect), (ev_view_size_allocate),
4941 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4942 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4944 Store selection as document relative, so that zooming
4945 and offset changing doesnt break it.
4947 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4949 * shell/ev-view.c: (ev_view_best_fit):
4951 Do not try to best fit if the view is not realized
4953 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4955 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4957 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4959 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4961 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4963 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4964 the popup window. That prevents it resizing when in full screen
4967 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4968 multiple rerenders. This pretty much sucks.
4970 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4971 rest of the toolbar.
4973 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4975 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4977 2005-02-17 Alexander Shopov <ash@contact.bg>
4979 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4981 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4983 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4985 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4987 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4988 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4989 (set_document_page), (document_changed_callback),
4990 (ev_view_set_document), (ev_view_find_previous),
4991 (ev_view_hide_cursor), (ev_view_show_cursor):
4993 * shell/ev-window.c: (update_chrome_visibility),
4994 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4995 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4996 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4997 (ev_window_unfullscreen):
4998 * shell/main.c: (main):
5000 Automatically hide the fullscreen button.
5001 Patch by Kristian Høgsberg <krh@redhat.com>
5003 2005-02-16 Vincent Noel <vnoel@cox.net>
5005 * shell/main.c (main): Specify an icon for the window. Patch by
5006 Jaap A. Haitsma. Fixes #166177.
5008 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5010 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5012 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5014 * backend/ev-document-misc.h:
5015 * backend/ev-document-misc.c:
5016 (ev_document_misc_get_page_border_size),
5017 (ev_document_misc_paint_one_page): New function to canonicalize
5018 sizing/painting a border.
5020 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5023 * pdf/xpdf/pdf-document.cc: use new function
5025 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5026 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5027 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5028 shell/ev-window.c: (update_sizing_buttons),
5029 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5030 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5031 (ev_window_cmd_view_page_width), (size_allocate_cb),
5032 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5033 and "fit width" values act as toggle buttons so they stay
5034 toggled. It's not 100% perfect, and it's a little slow, but it's
5035 good enough to commit I think.
5037 2005-02-15 David Lodge <dave@cirt.net>
5039 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5041 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5043 * shell/ev-window.c (update_window_title): replace newlines in
5044 the title by spaces. Bug #166107.
5046 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5048 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5049 parameters providing allocation width and height without
5050 scrollbars and width of a possible vertical scrollbar. With this
5051 additional information the functions can work as
5052 intended. Unfortunately they're not idempotent. We should
5053 transform these commands to toggles. Fixes Bug #164976
5054 Initial patch by Stephane Loeuillet, then heavily modified.
5056 * shell/ev-view.h: update prototypes.
5058 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5059 (ev_window_cmd_view_page_width): provide EvView fit functions with
5060 all the information they need. Formulas to calculate this
5061 information taken from GtkScrolledWindow.
5063 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5065 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5066 created a thumbnail, the list store is updated to know
5067 that the thumbnail is set. Fixes bug #166792
5069 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5071 * shell/ev-window.c: fixed typo, closes bug 166897
5073 * TODO: updated TODO with bug numbers that are relevant
5075 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5077 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5079 2005-02-09 Vincent Noel <vnoel@cox.net>
5081 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5082 and "Next" toolbar buttons as important to make them stand out.
5084 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5088 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5089 (start_interpreter), (stop_interpreter), (document_load),
5090 (ps_document_next_page), (ps_document_goto_page),
5091 (ps_document_set_page_size), (ps_document_widget_event),
5092 (ps_document_render):
5093 * shell/ev-page-view.c: (ev_page_view_dispose):
5094 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5096 Fix compilation on non-gcc platforms
5098 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5105 * pdf/xpdf/Catalog.cc:
5108 Fix the fix for CAN-2004-0888
5110 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5113 * data/evince-ui.xml:
5114 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5115 * shell/ev-stock-icons.h:
5116 * shell/ev-window.c: (update_action_sensitivity),
5117 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5118 (set_action_properties):
5120 Improve toolbar layout/icons
5122 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5124 * pdf/xpdf/pdf-document.cc:
5126 Add warnings about unimplemented/unknown link
5129 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5131 * ps/ps-document.c: (set_up_page):
5135 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5137 * ps/ps-document.c: (start_interpreter):
5141 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5143 * shell/ev-page-view.c: (ev_page_view_dispose):
5144 * shell/ev-view.c: (ev_view_finalize):
5145 * shell/ev-window.c: (ev_window_setup_document),
5146 (ev_window_dispose), (ev_window_init):
5148 Solve more refs issues.
5150 I commented out the page_view initialization for now:
5151 it was never destroyed (because it's never added
5152 to a container). Because of that we was leaking
5153 gs processes. Couldnt think to a clean fix.
5154 We need to figure this out, password view has the
5155 same issue probably.
5157 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5159 * ps/ps-document.c: (ps_document_finalize),
5160 (ps_document_get_n_pages), (ps_document_get_page):
5162 Some cleanups, stop the interpreter on finalize
5164 * shell/ev-page-view.c: (ev_page_view_dispose),
5165 (ev_page_view_class_init):
5167 Release our reference on the document
5169 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5173 * doc/debugging.txt:
5176 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5177 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5178 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5181 Add debugging helpers
5184 * ps/ps-document.c: (set_up_page), (start_interpreter),
5185 (stop_interpreter), (document_load), (ps_document_next_page),
5186 (ps_document_goto_page), (ps_document_set_page_size),
5187 (ps_document_widget_event), (ps_document_render):
5188 * shell/Makefile.am:
5189 * shell/ev-view.c: (expose_bin_window):
5190 * shell/main.c: (main):
5194 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5196 * ps/ps-document.c: (ps_document_widget_event):
5198 Initialize message_window, this should make ps
5199 rendering really work! (Never noticed because I was
5200 testing with a ps that is causing gs to exit every time!)
5202 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5204 * data/evince.schemas.in: updated simple error in applyto closing tag
5206 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5212 * data/evince-ui.xml:
5213 A data/evince.schemas.in:
5215 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5216 * shell/ev-stock-icons.h:
5217 * shell/ev-window.c: (update_chrome_visibility),
5218 (update_chrome_flag), (ev_window_cmd_edit_find),
5219 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5220 (ev_window_unfullscreen), (ev_window_focus_in_event),
5221 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5222 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5223 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5224 (ev_window_dispose), (ev_window_class_init),
5225 (set_action_properties), (set_chrome_actions), (load_chrome),
5228 Implement fullscreen mode changes from bug #164776.
5229 Also implement persistent chrome toggles.
5231 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5233 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5235 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5241 Add another check for find interface
5245 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5247 * shell/ev-application.c: (ev_application_open):
5248 * shell/ev-window.c: (ev_window_open):
5250 Open gzipped ps documents
5252 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5255 * shell/ev-view.c: (set_document_page):
5257 Clamp page number, dont try to move to
5260 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5262 * backend/ev-document-find.c: (ev_document_find_changed):
5263 * backend/ev-document-find.h:
5264 * pdf/xpdf/pdf-document.cc:
5265 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5266 * shell/ev-window.c: (find_bar_search_changed_cb):
5268 Fix several bugs with find
5270 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5272 * shell/ev-sidebar-thumbnails.c
5273 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5274 document. Prevents warning from scroll_to_cell.
5276 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5278 * configure.ac: Add «nb» to ALL_LINGUAS too.
5280 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5282 * NOTES: New file with some random thoughts.
5286 * backend/ev-document-misc.c:
5287 (ev_document_misc_get_page_border_size): New function to
5288 canonicalize shadow drawing sizes. Possibly goofy.
5290 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5291 (ev_view_best_fit), (ev_view_fit_width):
5292 * pdf/xpdf/pdf-document.cc:
5293 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5294 * ps/ps-document.c: (ps_document_get_page_size):
5295 * backend/ev-document-misc.h:
5296 * backend/ev-document.c: (ev_document_get_page_size):
5297 * backend/ev-document.h: get_page_size now takes a page number
5298 parameter. Made all the backends/frontends honor it.
5300 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5301 see. Doesn't work yet.
5303 * shell/Makefile.am:
5304 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5305 Doesn't do anything yet.
5307 * shell/ev-sidebar-thumbnails.c:
5308 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5311 * shell/ev-window.c: (update_action_sensitivity),
5312 (ev_window_setup_document), (ev_window_set_page_mode),
5313 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5314 view-swapping code a bit so we can have multiple views on a
5315 document. Add the multi-page view, though it can't be turned on
5318 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5320 * shell/ev-application.c: (ev_application_open):
5321 * shell/ev-view.c: (expose_bin_window):
5322 * shell/ev-window.c: (ev_window_open):
5324 Support eps and check document supports find
5325 before drawing highlightings in expose.
5327 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5329 * pixbuf/pixbuf-document.c:
5330 (pixbuf_document_thumbnails_get_dimensions),
5331 (pixbuf_document_document_thumbnails_iface_init):
5333 implement get_dimensions
5335 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5342 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5344 * shell/ev-view.c: (set_document_page):
5346 Scroll at the top of the page when changing page
5348 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5350 * shell/ev-view.c: (ev_view_motion_notify_event):
5352 Do not redraw unnecessarily
5354 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5356 * pdf/xpdf/pdf-document.cc:
5357 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5358 (expose_bin_window), (find_changed_cb):
5360 Yay! find works now... Now to find bugs...
5362 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5364 * backend/ev-document-find.c: (ev_document_find_base_init),
5365 (ev_document_find_changed):
5366 * backend/ev-document-find.h:
5367 * pdf/xpdf/pdf-document.cc:
5368 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5369 (expose_bin_window), (ev_view_init), (set_document_page),
5370 (ensure_rectangle_is_visible), (jump_to_find_result),
5371 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5372 (ev_view_find_next), (ev_view_find_previous):
5374 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5376 More work on find implementation, mostly there now
5378 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5380 * backend/ev-backend-marshalers.list:
5381 * backend/ev-document-find.c: (ev_document_find_base_init),
5382 (ev_document_find_cancel), (ev_document_find_page_has_results),
5383 (ev_document_find_get_n_results), (ev_document_find_get_result),
5384 (ev_document_find_get_progress), (ev_document_find_changed):
5385 * backend/ev-document-find.h:
5387 Enanche the find interface to be really able to do
5390 * pdf/xpdf/pdf-document.cc:
5394 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5395 (expose_bin_window), (ev_view_init),
5396 (ev_view_get_find_status_message), (find_changed_cb),
5397 (ev_view_set_document), (set_document_page):
5399 Adapt to the new interface. A few things are regressed sorry,
5400 I will finish it soon.
5402 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5404 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5405 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5406 ev_sidebar_thumbnails_parent_class variable, don't define another
5407 parent_class variable.
5409 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5410 (ev_page_action_class_init): ditto.
5412 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5413 (pixbuf_document_class_init): ditto.
5415 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5418 * .cvsignore: ignore various valgrind output files.
5420 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5422 * data/evince-ui.xml:
5423 * shell/Makefile.am:
5424 * shell/ev-history.c:
5425 * shell/ev-history.h:
5426 * shell/ev-navigation-action.c:
5427 * shell/ev-navigation-action.h:
5428 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5429 (ev_view_set_page), (ev_view_fit_width):
5431 * shell/ev-window.c: (update_action_sensitivity),
5432 (ev_window_setup_document), (register_custom_actions):
5434 Kill session history
5436 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5438 * shell/ev-window.c: (update_action_sensitivity):
5440 Fix inverted up/down buttons
5442 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5444 * shell/ev-sidebar-thumbnails.c
5445 (ev_sidebar_thumbnails_select_page): make sure the selected
5446 thumbnail stays visible.
5448 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5450 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5451 scrolled window for Federico.
5453 2005-01-26 Ole Laursen <olau@hardworking.dk>
5455 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5457 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5460 * pdf/splash/SplashFTFontEngine.cc:
5462 Fix CID fonts with freetype 2.1.9
5464 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5466 * TODO: added item for desktop icon thumbnailer
5468 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5470 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5471 unloaded docs when the title is accessed.
5473 * shell/ev-password-view.[hc]: New widget for displaying password
5476 * shell/ev-window.[ch]: Refactor password handling code to handle
5479 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5487 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5489 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5490 ignore page offset here, to make search results independent of it,
5492 * shell/ev-view.c (expose_bin_window): but take offsets into
5493 account here. Bug #164932
5495 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5496 scale at the right time. Bug #164996
5498 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5500 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5501 fix the problem. Now I just removed the Adobe font names and hope
5502 that the URW fonts are always in outline format. Bug #164934
5504 * shell/ev-window.c (update_window_title): empty titles are
5505 useless, use filename in that case too.
5507 * NEWS: Add some content.
5509 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5511 * TODO: added one more TODO item and a TODONE section :)
5513 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5515 * ps/ps-document.h: add page_[xy]_offset fields.
5517 * ps/ps-document.c (ps_document_set_page_offset)
5518 (ps_document_render): Keep offset in consideration in a few
5519 places. Bug #164752 "postscript documents are not centered in
5522 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5523 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5525 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5526 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5527 stub out missing methods for complete EvDocument implementation.
5528 Fixes segfaults with Save A Copy and Copy actions.
5530 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5531 (ps_document_document_iface_init): ditto.
5533 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5537 * data/evince.desktop.in:
5541 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5543 * shell/ev-view.c: (ev_view_button_press_event),
5544 (ev_view_motion_notify_event):
5546 Make selection work in any direction
5548 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5551 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5553 Use shorter labels for some of the toolbars items
5555 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5557 * pdf/xpdf/pdf-document.cc:
5559 Check the links info is initialized before
5560 using it. Should fix a crash on startup.
5562 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5564 * pixbuf/pixbuf-document.c
5565 (pixbuf_document_thumbnails_get_dimensions): force floating point
5566 division to calculate page_ratio. Fixes crash with landscape
5569 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5571 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5573 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5575 * shell/ev-view.c (set_document_page): unset has_selection when
5577 (set_document_page): handle paper size changes when the page
5578 changes (test with Free Culture, page 2).
5580 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5582 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5583 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5585 Use normal style color for the widget background and
5586 draw a black box around the page.
5588 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5590 * pdf/xpdf/pdf-document.cc:
5592 Keep offset in consideration in a few places
5594 * shell/ev-view.c: (expose_bin_window):
5596 Set the offsets so that the document is ever centered
5598 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5600 * TODO: Added TODO items and finished off the first todo item
5602 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5603 reflect current authors
5605 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5607 * pdf/xpdf/pdf-document.cc:
5608 * shell/ev-view.c: (ev_view_set_cursor),
5609 (ev_view_motion_notify_event), (document_changed_callback),
5610 (set_document_page):
5612 Show a wait cursor while the page is rendering
5614 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5616 * shell/ev-sidebar-thumbnails.c:
5617 (ev_sidebar_tree_selection_changed),
5618 (ev_sidebar_thumbnails_select_page):
5619 * shell/ev-sidebar-thumbnails.h:
5620 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5621 (ev_view_can_go_forward):
5622 * shell/ev-window.c: (ev_window_open_page),
5623 (ev_window_setup_document), (update_current_page),
5624 (view_page_changed_cb), (ev_window_init):
5625 * shell/ev-window.h:
5627 Ensure thumbnails selection, toolbar page control and
5628 current page are in sync.
5630 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5636 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5638 * backend/Makefile.am:
5639 * backend/ev-document-links.h:
5640 * backend/ev-document-security.c: (ev_document_security_get_type),
5641 (ev_document_security_has_document_security),
5642 (ev_document_security_set_password):
5643 * backend/ev-document-security.h:
5644 * backend/ev-document.c: (ev_document_error_quark):
5645 * backend/ev-document.h:
5647 * data/evince-password.glade:
5648 * pdf/xpdf/pdf-document.cc:
5649 * shell/Makefile.am:
5650 * shell/ev-password.c: (ev_password_set_bad_password_label),
5651 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5652 (ev_password_dialog_get_password),
5653 (ev_password_dialog_set_bad_pass):
5654 * shell/ev-password.h:
5655 * shell/ev-window.c: (ev_window_get_attribute),
5656 (ev_window_set_property), (update_action_sensitivity),
5657 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5658 (ev_window_setup_document), (ev_window_get_password),
5659 (ev_window_open), (ev_window_cmd_save_as),
5660 (using_postscript_printer), (ev_window_print),
5661 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5662 (update_fullscreen_popup), (ev_window_fullscreen),
5663 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5664 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5665 (menu_item_select_cb), (find_bar_search_changed_cb),
5666 (ev_window_dispose), (ev_window_init):
5668 Add initial support for password-supported dialogs. This could be
5669 a lot cooler, but it'll do for now.
5671 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5673 * pdf/xpdf/pdf-document.cc:
5674 * shell/ev-view.c: (status_message_from_link),
5675 (ev_view_set_status), (ev_view_set_cursor),
5676 (ev_view_motion_notify_event), (ev_view_init):
5677 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5679 Fix bugs in the links implementation and change cursor
5680 when hovering a link.
5682 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5684 * viewer/.cvsignore: added cvsignore file for viewer directory
5686 * TODO: created TODO document
5688 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5691 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5692 new functions to help with implementation of sensitivity code
5693 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5694 of all actions that might require it. Fixes a crash when you
5695 click on the Zoom actions in a window lacking a document.
5697 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5699 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5702 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5704 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5705 (pixbuf_document_document_iface_init):
5706 * ps/ps-document.c: (ps_document_get_link),
5707 (ps_document_document_iface_init):
5708 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5709 (status_message_from_link), (ev_view_set_status),
5710 (ev_view_set_find_status), (ev_view_motion_notify_event),
5711 (ev_view_button_release_event), (ev_view_set_property),
5712 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5713 (ev_view_get_find_status_message), (update_find_results),
5714 (ev_view_get_status), (ev_view_get_find_status):
5716 * shell/ev-window.c: (view_status_changed_cb),
5717 (view_find_status_changed_cb), (ev_window_init):
5719 View status message support, use it to show the links.
5722 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5724 * backend/ev-document.c: (ev_document_get_link):
5725 * backend/ev-document.h:
5726 * pdf/xpdf/pdf-document.cc:
5727 * shell/ev-application.c: (ev_application_open):
5728 * shell/ev-application.h:
5729 * shell/ev-sidebar-links.c: (selection_changed_cb):
5730 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5731 (ev_view_go_to_link):
5733 Add support for document links
5735 2005-01-13 Anders Carlsson <andersca@gnome.org>
5737 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5739 Set the spin button limits correctly.
5741 * shell/ev-sidebar-thumbnails.c:
5742 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5743 Support changing pages by clicking on the thumbnails.
5745 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5747 * pixbuf/pixbuf-document.c:
5748 (pixbuf_document_thumbnails_get_dimensions),
5749 (pixbuf_document_document_thumbnails_iface_init):
5751 implement get_dimensions
5753 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5755 * ps/ps-document.c: (ps_document_goto_page):
5757 Fix page switching on multipage documents
5759 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5761 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5763 check for NULL before assigning to width and height parameters
5765 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5767 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5768 (pixbuf_document_set_property), (pixbuf_document_get_property):
5770 implement get/set properties
5772 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5774 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5776 return NULL instead of "Unknown", letting the title get set to
5777 the filename when the pdf has no title.
5779 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5781 * ps/ps-document.c: (ps_document_get_page_count),
5782 (ps_document_goto_page):
5784 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5786 * shell/ev-history.c: (ev_history_get_property),
5787 (ev_history_set_property), (ev_history_class_init),
5788 (ev_history_add_page), (ev_history_set_current_index):
5789 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5790 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5791 (ev_navigation_action_finalize):
5792 * shell/ev-navigation-action.h:
5793 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5794 (ev_view_go_forward), (ev_view_get_find_status_message),
5795 (history_index_changed_cb), (ev_view_set_history):
5797 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5798 (update_current_page), (register_custom_actions):
5800 Implement history dropdowns
5802 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5804 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5805 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5806 (ev_view_go_forward):
5807 * shell/ev-window.c: (register_custom_actions):
5809 Fix several history bugs
5811 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5813 * configure.ac: Add «nb» to ALL_LINGUAS.
5815 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5817 * backend/Makefile.am:
5818 * backend/ev-bookmark.c:
5819 * backend/ev-bookmark.h:
5820 * backend/ev-document-bookmarks.c:
5821 * backend/ev-document-bookmarks.h:
5822 * backend/ev-document-links.c: (ev_document_links_get_type),
5823 (ev_document_links_has_document_links),
5824 (ev_document_links_begin_read), (ev_document_links_get_link),
5825 (ev_document_links_get_child), (ev_document_links_next),
5826 (ev_document_links_free_iter):
5827 * backend/ev-document-links.h:
5828 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5829 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5830 (ev_link_get_link_type), (ev_link_set_link_type),
5831 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5832 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5833 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5834 (ev_link_new_external):
5835 * backend/ev-link.h:
5836 * pdf/xpdf/pdf-document.cc:
5837 * shell/Makefile.am:
5838 * shell/ev-application.c: (ev_application_open_link):
5839 * shell/ev-application.h:
5840 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5841 (ev_history_get_link_nth):
5842 * shell/ev-history.h:
5843 * shell/ev-sidebar-bookmarks.c:
5844 * shell/ev-sidebar-bookmarks.h:
5845 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5846 (ev_sidebar_links_class_init), (selection_changed_cb),
5847 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5848 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5849 (do_one_iteration), (populate_links_idle),
5850 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5851 * shell/ev-sidebar-links.h:
5852 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5853 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5856 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5857 * shell/ev-window.h:
5859 Rename bookmark to link, and use "Index" for the sidebar panel.
5861 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5863 * shell/Makefile.am:
5864 * shell/ev-application.c: (ev_application_open_bookmark):
5865 * shell/ev-application.h:
5866 * shell/ev-history.c: (ev_history_init), (free_links_list),
5867 (ev_history_finalize), (ev_history_class_init),
5868 (ev_history_add_link), (ev_history_add_page),
5869 (ev_history_get_link_nth), (ev_history_get_n_links),
5870 (ev_history_get_current_index), (ev_history_set_current_index),
5872 * shell/ev-history.h:
5873 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5874 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5875 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5876 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5879 * shell/ev-window.c: (ev_window_open_bookmark),
5880 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5881 (goto_page_cb), (register_custom_actions):
5882 * shell/ev-window.h:
5884 Initial history implementation. Needs work.
5886 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5888 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5890 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5892 * cut-n-paste/recent-files/egg-recent-item.c:
5893 * cut-n-paste/recent-files/egg-recent-item.h:
5894 * cut-n-paste/recent-files/egg-recent-model.c:
5895 * cut-n-paste/recent-files/egg-recent-util.c:
5896 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5897 * cut-n-paste/recent-files/egg-recent-view.c:
5901 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5903 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5904 (fillGlyph, fillImageMask, drawImage):
5905 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5906 pdf/splash/SplashTypes.h:
5907 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5908 packed mode for Splash.
5910 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5911 RGB8 packed mode, eliminates the pixbuf data creation loop.
5913 * shell/ev-print-job.c (ev_print_job_finalize)
5914 (ev_print_job_set_property, ev_print_job_get_property)
5915 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5916 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5917 (print_closure_finalize, ev_print_job_print): implement
5918 printing (for backends with EvPsExporter)
5920 * shell/ev_print_job.h: update prototypes.
5922 * shell/ev-window.c (ev_window_print): unref print job after
5925 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5926 unless the document implements the EvDocumentFind interface.
5928 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5930 * configure.ac: Added ja to ALL_LINGUAS.
5932 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5934 * pdf/xpdf/pdf-document.cc:
5936 add a FIXME. We should probably not allocate
5937 a bookmark object every time
5939 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5941 * shell/ev-application.c: (ev_application_open),
5942 (ev_application_open_bookmark):
5943 * shell/ev-application.h:
5945 Add a way to open bookmarks
5947 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5948 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5949 (ev_bookmark_set_property), (ev_bookmark_class_init),
5950 (ev_bookmark_new_title), (ev_bookmark_new_link),
5951 (ev_bookmark_new_external):
5953 Support for external uris, better constructors.
5955 * backend/ev-bookmark.h:
5956 * pdf/xpdf/pdf-document.cc:
5957 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5959 Handle external uris
5961 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5963 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5964 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5966 Hook up bookmarks navigation
5968 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5970 * backend/Makefile.am:
5971 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5972 (ev_bookmark_get_title), (ev_bookmark_set_title),
5973 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5974 (ev_bookmark_get_page), (ev_bookmark_set_page),
5975 (ev_bookmark_get_property), (ev_bookmark_set_property),
5976 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5978 * backend/ev-bookmark.h:
5979 * backend/ev-document-bookmarks.c:
5980 (ev_document_bookmarks_get_bookmark):
5981 * backend/ev-document-bookmarks.h:
5982 * pdf/xpdf/pdf-document.cc:
5983 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5985 Add a bookmark object to the backend and use it instead of get_values
5987 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5989 * data/evince-ui.xml:
5991 Cleanup and add select all.
5993 * shell/ev-view.c: (ev_view_select_all),
5994 (ev_view_button_press_event):
5996 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5999 Clear selection on click.
6001 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6003 * shell/ev-sidebar-thumbnails.c
6004 (ev_sidebar_thumbnails_set_document): forgot to unref the
6007 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6009 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6010 at the visible page, not just linearly. This makes it look fast.
6012 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6014 * backend/ev-document-misc.c
6015 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6017 * backend/ev-document-thumbnails.h: New interface to get the size
6020 2005-01-06 Jeremy Katz <katzj@redhat.com>
6022 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6025 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6027 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6028 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6031 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6033 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6035 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6036 fonts. Should fix font problems on systems that have the base
6037 fonts in bitmap format. Reported by James Henstridge
6038 <james@jamesh.id.au>.
6040 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6043 * pdf/xpdf/GfxState.cc:
6045 Fix for CAN-2004-1125
6047 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6049 * shell/ev-view.c: (ev_view_copy):
6051 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6053 Implement Edit->Copy
6055 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6057 * backend/ev-document.c: (ev_document_get_text):
6058 * backend/ev-document.h:
6059 * pdf/xpdf/pdf-document.cc:
6060 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6061 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6062 (ev_view_update_primary_selection), (ev_view_button_press_event),
6063 (ev_view_motion_notify_event), (ev_view_button_release_event):
6065 Beginnings of clipboard support. Incomplete but primary sort
6068 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6070 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6071 (expose_bin_window):
6073 Nicer rubberband drawing, from GtkIconView.
6075 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6077 * backend/ev-document.c: (ev_document_save):
6078 * backend/ev-document.h:
6079 * data/evince-ui.xml:
6080 * pdf/xpdf/pdf-document.cc:
6081 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6083 Implement "Save a copy..." menu item
6085 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6087 * shell/ev-view.c: (ev_view_zoom):
6089 Queue a resize when zoom changes
6091 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6093 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6096 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6099 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6101 * pdf/xpdf/pdf-document.cc
6102 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6104 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6106 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6107 It's slow, but I'll speed it up next!
6109 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6111 * shell/main.c (load_files):
6113 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6114 from the command line and because it seems more appropriate.
6116 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6118 * data/evince-ui.xml:
6119 * shell/ev-window.c: (update_action_sensitivity),
6120 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6122 s/next page/page down
6123 s/previous page/page up
6125 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6127 * data/evince-ui.xml:
6129 Change the layout to match clarkbw design.
6131 * shell/Makefile.am:
6132 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6133 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6134 (ev_navigation_action_finalize),
6135 (ev_navigation_action_set_property),
6136 (ev_navigation_action_get_property),
6137 (ev_navigation_action_class_init):
6138 * shell/ev-navigation-action.h:
6140 Implement clarkbw toolbar navigation controls (incomplete)
6142 * shell/ev-page-action.c: (update_label), (update_spin),
6143 (value_changed_cb), (create_tool_item), (connect_proxy),
6144 (ev_page_action_init), (ev_page_action_finalize),
6145 (ev_page_action_set_property), (ev_page_action_get_property),
6146 (ev_page_action_set_current_page),
6147 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6148 * shell/ev-page-action.h:
6150 Implement a page switcher in the toolbar
6152 * shell/ev-view.c: (ev_view_scroll_view):
6153 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6154 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6155 (register_custom_actions), (ev_window_init):
6157 Change page on PageUp/Down.
6159 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6161 * pdf/xpdf/pdf-document.cc
6162 (pdf_document_thumbnails_get_thumbnail): initial stab at
6163 implementing thumbnail support for pdfs. It only does documents
6164 with precached pdfs now.
6166 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6168 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6169 thumbnail code into a time-based idle as well. Also, turn off the
6170 shadow temporarily as it's really slow.
6172 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6174 * backend/ev-document.c: (ev_document_class_init):
6175 * pdf/xpdf/pdf-document.cc:
6176 * shell/ev-window.c: (ev_window_open):
6178 Fix document title bugs and fallback to
6179 filename when not available.
6181 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6183 * backend/ev-document.c: (ev_document_get_type),
6184 (ev_document_class_init), (ev_document_load),
6185 (ev_document_get_title):
6186 * backend/ev-document.h:
6187 * pdf/xpdf/pdf-document.cc:
6188 * ps/ps-document.c: (ps_document_set_property),
6189 (ps_document_get_property), (ps_document_class_init),
6193 * shell/ev-window.c: (update_window_title), (ev_window_open),
6196 Initial support for document title. Not working yet.
6198 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6200 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6202 Grab focus on the view when clicking it
6204 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6206 * shell/ev-marshal.list:
6207 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6208 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6210 Add key bindings to the view. Now if the focus would work
6213 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6216 * backend/Makefile.am:
6219 * dvi/dvilib/Makefile.am:
6220 * pdf/xpdf/Makefile.am:
6226 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6228 * shell/ev-view.c: (ev_view_realize):
6230 Fix mouse wheel scrolling
6232 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6238 * ps/ps-document.c: (catchPipe), (ps_document_init),
6239 (ps_document_class_init), (ps_document_cleanup),
6240 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6241 (set_up_page), (close_pipe), (is_interpreter_ready),
6242 (interpreter_failed), (output), (input), (start_interpreter),
6243 (stop_interpreter), (file_length), (file_readable),
6244 (check_filecompressed), (check_pdf), (compute_xdpi),
6245 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6246 (ps_document_get_type), (ps_document_emit_error_msg),
6247 (document_load), (ps_document_next_page),
6248 (ps_document_get_current_page), (ps_document_get_page_count),
6249 (ps_document_goto_page), (ps_document_set_page_size),
6250 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6251 (ps_document_load), (ps_document_get_n_pages),
6252 (ps_document_set_page), (ps_document_get_page),
6253 (ps_document_widget_event), (ps_document_set_target),
6254 (ps_document_set_scale), (ps_document_set_page_offset),
6255 (ps_document_get_page_size), (ps_document_render),
6256 (ps_document_document_iface_init):
6259 * shell/ev-window.c: (ev_window_open):
6261 Rename GtkGS to PSDocument
6263 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6265 * ps/gtkgs.c: (gtk_gs_class_init):
6268 Some more leftover...
6270 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6272 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6273 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6274 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6277 Remove unused code and make a lot of stuff private
6279 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6281 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6282 (gtk_gs_defaults_changed):
6288 Cleanup headers dependencies
6290 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6295 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6297 * ps/gtkgs.c: (file_length), (file_readable),
6298 (check_filecompressed), (check_pdf), (gtk_gs_load),
6299 (gtk_gs_get_postscript):
6303 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6308 * ps/gtkgs.c: (gtk_gs_set_zoom):
6312 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6314 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6316 Ensure the page is rerendered when changing zoom
6318 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6320 * backend/ev-document.c: (ev_document_base_init),
6321 (ev_document_changed):
6322 * backend/ev-document.h:
6324 Add a changed event that is emitted when the page content
6325 changes. This is necessary to deal with the fact that
6326 in ps backend rendering happen asycrounously.
6327 This makes the ps backend mostly work.
6329 * pdf/xpdf/pdf-document.cc:
6333 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6334 (ps_document_set_target):
6338 * shell/ev-view.c: (document_changed_callback),
6339 (ev_view_set_document), (ev_view_set_page):
6341 Redraw on the changed signal
6343 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6345 * configure.ac: Added pt_BR to ALL_LINGUAS.
6347 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6349 * backend/ev-document-bookmarks.c:
6350 (ev_document_bookmarks_get_child): *
6351 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6352 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6353 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6354 (ev_sidebar_bookmarks_destroy),
6355 (ev_sidebar_bookmarks_class_init),
6356 (ev_sidebar_bookmarks_construct), (stack_data_free),
6357 (do_one_iteration), (populate_bookmarks_idle),
6358 (ev_sidebar_bookmarks_clear_document),
6359 (ev_sidebar_bookmarks_set_document): *
6360 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6361 (ev_sidebar_add_page),
6362 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6363 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6364 it displays both the topics and the page numbers.
6366 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6368 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6370 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6373 2004-12-23 Adam Weinberger <adamw@gnome.org>
6375 * configure.ac: Added en_CA to ALL_LINGUAS.
6377 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6379 * ChangeLog: replace bottom of this ChangeLog (merged history of
6380 ggv and gpdf; where all paths were wrong and most of the files are
6381 not even in this tree) with ChangeLog (from arch) of the shell
6384 2004-12-23 Havoc Pennington <hp@redhat.com>
6386 * shell/ev-window.c: hook up potentially-questionable "find
6387 results status text" feature - something involving the sidebar or
6388 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6389 might be better in the end.
6391 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6392 with corresponding signal when it should be updated
6394 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6396 2004-12-22 Havoc Pennington <hp@redhat.com>
6398 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6399 find stuff on other pages, sort of (only returns one result on
6400 invisible pages, to show they have results; updates full results
6401 for a page when you view it). Currently repaints the current page
6402 every time a new result is found on any page, which isn't so nice.
6404 2004-12-22 Havoc Pennington <hp@redhat.com>
6406 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6407 the document doesn't support find (better ideas?)
6408 (find_bar_search_changed_cb): handle missing document or document
6409 that doesn't support find
6411 * pdf/xpdf/pdf-document.cc: port to implement the new
6414 * backend/ev-document-find.c: create a new interface for searching
6416 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6418 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6420 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6423 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6424 EvPrintJob constructor arguments.
6426 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6427 for documents that can export PostScript (page by page).
6429 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6431 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6432 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6433 (pdf_document_ps_exporter_iface_init:
6434 Implement EvPSExporter.
6436 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6438 2004-12-22 Anders Carlsson <andersca@gnome.org>
6440 * backend/Makefile.am:
6441 * backend/ev-document-thumbnails.c:
6442 (ev_document_thumbnails_get_type),
6443 (ev_document_thumbnails_get_thumbnail):
6444 * backend/ev-document-thumbnails.h:
6445 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6446 (pixbuf_document_thumbnails_get_thumbnail),
6447 (pixbuf_document_document_thumbnails_iface_init):
6448 * shell/Makefile.am:
6449 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6450 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6451 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6452 * shell/ev-sidebar-thumbnails.h:
6453 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6454 (ev_sidebar_set_document):
6455 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6456 (create_shadow), (ev_pixbuf_add_shadow):
6458 Add thumbnail support.
6460 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6462 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6463 (using_postscript_printer): Set up a print dialog for "PostScript
6466 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6469 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6471 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6473 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6474 (ps_document_set_target), (ps_document_get_page_size),
6475 (ps_document_render):
6480 2004-12-22 Christian Rose <menthos@menthos.com>
6482 * configure.ac: Added "sv" to ALL_LINGUAS.
6484 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6486 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6487 document supports bookmarks.
6489 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6491 * ps/ggvutils.c: (ggv_file_readable):
6493 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6494 (gtk_gs_get_postscript):
6498 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6500 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6501 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6502 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6503 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6504 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6505 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6506 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6507 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6508 (gtk_gs_set_antialiasing), (ps_document_load),
6509 (ps_document_render):
6512 Another check point for the ps backend. Now I can get it to show
6515 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6517 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6518 document setting code.
6520 2004-12-22 Anders Carlsson <andersca@gnome.org>
6522 * shell/eggfindbar.c: (entry_activate_callback):
6523 Animate the next button when activate is pressed.
6525 2004-12-22 Anders Carlsson <andersca@gnome.org>
6527 * shell/ev-window.c: (ev_window_cmd_edit_find),
6528 (update_fullscreen_popup), (ev_window_fullscreen),
6529 (ev_window_unfullscreen), (ev_window_state_event_cb),
6530 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6531 Fix bugs in fullscreen code.
6533 2004-12-22 Anders Carlsson <andersca@gnome.org>
6537 * pixbuf/Makefile.am:
6538 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6539 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6540 (pixbuf_document_set_page), (pixbuf_document_get_page),
6541 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6542 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6543 (pixbuf_document_render), (pixbuf_document_begin_find),
6544 (pixbuf_document_end_find), (pixbuf_document_finalize),
6545 (pixbuf_document_class_init),
6546 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6547 * pixbuf/pixbuf-document.h:
6548 * shell/Makefile.am:
6549 * shell/ev-application.c: (ev_application_open):
6550 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6554 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6557 * dvi/dvilib/Makefile.am:
6559 * configure.ac: Auto*ify dvi and dvi/dvilib
6561 * dvi/Makefile: Remove from CVS
6563 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6566 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6568 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6570 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6573 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6574 (gtk_gs_value_adjustment_changed), (compute_size),
6575 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6576 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6577 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6578 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6579 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6580 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6581 (ps_document_load), (ps_document_get_n_pages),
6582 (ps_document_set_page), (ps_document_get_page),
6583 (ps_document_set_target), (ps_document_set_scale),
6584 (ps_document_set_page_offset), (ps_document_get_page_size),
6585 (ps_document_render), (ps_document_begin_find),
6586 (ps_document_end_find), (ps_document_document_iface_init):
6588 * shell/Makefile.am:
6589 * shell/ev-window.c: (ev_window_open):
6591 Some work to integrate gtkgs with EvDocument
6593 2004-12-22 Anders Carlsson <andersca@gnome.org>
6595 * shell/ev-window.c: (update_fullscreen_popup),
6596 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6597 (exit_fullscreen_button_clicked_cb),
6598 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6599 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6600 (ev_window_state_event_cb), (ev_window_init):
6601 Add fullscreen support from Epiphany.
6603 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6605 * data/ev-stock-zoom-fit-width.png: fit-width
6606 stock icon from gpdf.
6608 * shell/ev-stock-icons.[ch]: copied from gpdf.
6610 * shell/main.c: (main): init stock icons.
6612 * shell/ev-window.c: use the fit-width icon.
6614 * data/evince-ui.xml: add zooming toolbar items.
6616 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6619 (ev_view_best_fit), (ev_view_fit_width): because
6620 get_page_size() returns the scaled page size, we
6621 need to calculate the scale factor relative to
6622 the previous scale factor. Should really just
6623 add get_real_page_size().
6625 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6627 * shell/ev-view.[ch]:
6628 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6629 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6632 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6633 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6634 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6637 * pdf/xpdf/pdf-document.cc:
6638 (pdf_document_begin_find),
6639 (pdf_document_end_find): make static.
6641 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6643 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6645 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6646 names to fontconfig patterns.
6647 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6649 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6652 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6668 Import ggv backend. Not hooked up yet.
6670 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6672 * shell/main.c: (load_files), (main): load files
6673 from the command line.
6675 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6677 * configure.ac: don't require bonobo.
6679 * cut-n-paste/recent-files/*: kill bonobo recent
6682 * shell/ev-window.c:
6683 (ev_window_is_empty): upd.
6684 (unable_to_load), (ev_window_open): load backend
6685 based on the mime type.
6687 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6689 * backend/.cvsignore: ignore generated marshalers source.
6691 * shell/main.c (main): this is not epiphany.
6693 2004-12-22 Havoc Pennington <hp@redhat.com>
6695 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6696 (expose_bin_window): draw find highlights
6698 * shell/ev-window.c (find_bar_search_changed_cb): implement
6700 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6701 (pdf_document_end_find): implement this interface
6703 * backend/ev-document.c (ev_document_found): add this to emit
6706 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6708 * data/evince-ui.xml: Add a few more toolbar items.
6710 * shell/ev-window.c: Hook up page navigation toolbar
6713 * shell/ev-view.[ch]: add ev_view_set/get_page and
6714 a page-changed signal.
6716 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6717 Add ev_document_get_page().
6719 * shell/ev-window.c: Sensitize/desensitize navigation
6722 2004-12-21 Havoc Pennington <hp@redhat.com>
6724 * backend/ev-backend-marshal.c,
6725 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6726 marshaler-generator thingy. I'm sure there's a better way to do
6727 this in the modern world.
6729 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6730 end_find methods and "found" signal.
6732 * configure.ac: find glib-genmarshal
6734 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6736 * shell/ev-sidebar.c: Construct an actual sidebar.
6737 * shell/ev-sidebar-bookmarks.[ch]:
6738 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6740 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6742 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6745 * shell/ev-view.c: Track the size from the document.
6747 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6749 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6750 constructor assumes ownership of the string passed in.
6752 * shell/ev-window.c (ev_window_open): Destroy the error
6753 dialog once we've displayed it.
6755 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6757 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6758 a bit, it works! (sort of)
6760 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6761 Move to .cc since we need to use C++ in the implementation.
6763 * shell/dummy.cc: Add a CC file to force evince
6764 to be linked as a C++ program.
6766 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6768 * shell/ev-view.[ch]: Start of content-area widget.
6770 * shell/ev-window.c: Create a EvView, update it
6771 as we change documents.
6773 * shell/Makefile.am shell/ev-marshal.list: Add
6774 generated marshalers.
6776 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6778 * Makefile.am (SUBDIRS): move shell.
6780 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6782 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6783 .a to libtool convenience libraries.
6785 * shell/ev-window.c (ev_window_open): Hard code loading
6788 * backend/ev-document.h: Add a boolean return to load(),
6789 fix GError * to GError **.
6791 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6792 object for a PDF backend EvDocument.
6794 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6796 * dvi/*: New directory with the beginning of a .dvi backend.
6798 2004-12-21 Havoc Pennington <hp@redhat.com>
6800 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6801 previous/next instead of back/forward
6803 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6805 * backend/ev-document.[ch]: Fix a couple of problems so
6808 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6810 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6811 to backend/ directory, rename EvViewer to EvDocument.
6813 2004-12-21 Havoc Pennington <hp@redhat.com>
6815 * shell/ev-window.c: hook up the find bar widget; now we just need
6816 a document to find things in
6818 * shell/eggfindbar.c: a find bar widget
6820 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6822 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6824 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6826 * pdf/**: Import of xpdf code from gpdf.
6828 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6830 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6831 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6832 Fix FreeType includes.
6834 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6835 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6836 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6837 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6838 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6839 Include xpdfconfig.h
6841 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6843 * shell/ev-window.c (ev_window_dispose): dispose can be called
6846 2004-12-21 Havoc Pennington <hp@redhat.com>
6848 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6851 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6852 items; really they should be synced with the strings, etc. from
6853 current gpdf, but just getting the boring typing out of the way
6855 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6858 * shell/ev-application.c: (window_destroy_cb):
6859 * shell/ev-window.c:
6860 * shell/main.c: (main):
6862 Actually show the window...
6864 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6867 * shell/Makefile.am:
6868 * shell/ev-application.c: (ev_application_class_init):
6869 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6873 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6875 Import to gnome cvs.
6877 * Remove copies of gpdf and ggv trees.
6878 * Rip out all the recursive configure code.
6879 * Remove bonobo machinery.
6880 * viewer/*: GInterfaces that backends should/can implement.
6882 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6884 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6887 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6889 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6890 (ev_application_finalize, ev_application_class_init)
6891 (ev_application_init): use GType instance private data for priv.
6893 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6894 (ev_window_finalize, ev_window_class_init)
6895 (ev_window_init): ditto.
6897 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6899 * shell/ev-application.c (ev_application_new_window): make public
6900 (ev_application_show_initial_window): kill.
6902 * shell/ev-application.h: update prototypes.
6904 * shell/main.cc (main): inline ev_application_show_initial_window.
6906 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6908 * shell/ev-application.c (ev_application_new_window): impl.
6909 (ev_application_show_initial_window): use it.
6910 (is_window_empty, ev_application_get_empty_window): returns an
6911 existing empty window or a new one.
6912 (ev_application_open): from ev_window_cmd_file_open.
6914 * shell/ev-application.h: update prototypes
6916 * shell/ev-window.c (ev_window_is_empty): impl.
6917 (ev_window_open): make public.
6918 (ev_window_cmd_file_open): use ev_application_open
6920 * shell/ev-window.h: update prototypes, remove unused.
6922 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6924 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6925 move destroy handler out of here...
6927 * shell/ev-application.c, shell/ev-application.h: ...into this new
6928 class. Also handles initial window creation.
6930 * shell/main.cc (main): use EvApplication to create initial
6933 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6935 * Makefile.am (SUBDIRS): add cut-n-paste
6937 * cut-n-paste/Makefile.am: add
6939 * configure.ac: generate Makefiles in cut-n-paste
6941 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6943 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6944 (ev_window_class_init): install ev_window_dispose.
6946 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6948 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6949 char (gchar looks stupid).
6951 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6953 * po/de.po: updated German translation.
6955 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6957 * configure.ac: add more pkg-config library checks for gnome-vfs,
6960 * gpdf/configure.in: temporarily disable libpaper
6961 checks. Otherwise I'd have to add the checks for the shell, too.
6963 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6965 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6966 and * file filters to the file choose.
6968 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6970 * po/de.po: Updated German translation.
6972 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6974 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6976 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6978 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6980 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6981 (ev_window_init): implement those menuitems.
6983 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6985 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6987 * shell/ev-window.c (ev_window_init): use the toolbar.
6989 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6991 * shell/ev-window.c (ev_window_init): use menu translations
6993 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6995 * configure.ac: add "de" to ALL_LINGUAS.
6997 * po/de.po: add German translation.
6999 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7001 * Makefile.am (SUBDIRS): add po
7003 * configure.ac: check intltool, glib-gettext etc, generate
7006 * po, po/POTFILES.in, po/POTFILES.skip: new.
7008 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7010 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7011 already use (#ifdef ENABLE_NLS)
7013 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7014 pointer indirection thinko.
7016 * shell/main.c: include gi18n.h for bindtextdomain etc.
7018 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7020 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7021 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7022 tooltips for menu items in the statusbar.
7024 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7026 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7027 pkgdatadir drop UIDIR
7029 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7031 * data/evince-ui.xml: Add File->Open menu item
7033 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7034 chooser), hook it up in the ui manager.
7036 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7038 * shell/ev-window.c: fix Help->About tooltip.
7040 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7042 * configure.ac: set CFLAGS for libevprivate.
7044 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7045 definitions, factory etc.
7047 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7049 * shell/Makefile.am: link against libevprivate.a.
7051 * shell/ev-window.c (entries): add stock icon to Help->About.
7053 * shell/main.c (main): init stock icon code.
7055 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7057 * lib/recent-files: egg recent files code
7059 * lib/Makefile.am: add.
7061 * Makefile.am: add lib subdir.
7063 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7064 set CFLAGS for recent-files.
7066 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7068 * configure.ac: disable -ansi and -pedantic gcc flags. They
7069 disable POSIX stuff in stdio.h, but egg-recent uses them.
7071 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7073 * configure.ac: add --disable-deprecated flag (defaults to on in
7076 * shell/Makefile.am (INCLUDES): use it.
7078 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7080 * shell/main.c: add missing #include.
7082 * shell/ev-window.c: fix for pedantic gcc.
7083 (ev_window_cmd_help_about): split license into paragraphs for
7084 translators and pedantic compilers.
7086 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7088 * configure.ac: add more warning flags if compiling with gcc from
7089 cvs (or explicitly requested with --enable-more-warnings).
7091 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7093 * data/evince-ui.xml: add File and File->Close menu.
7095 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7096 (ev_window_destroy): quit after destroy.
7097 (ev_window_class_init): override GtkObject::destroy.
7098 (entries): install close_window callback.
7100 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7102 * Makefile.am (SUBDIRS): add data subdir.
7104 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7105 gtk+ 2.5.0 for GtkAboutDialog.
7107 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7110 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7112 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7114 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7116 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7118 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7120 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7122 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7124 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7126 * shell/*: Added shell directory boilerplate, build it.
7128 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7130 * configure.ac, Makefile.am: Added top-level configure.ac and