1 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
3 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
4 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
5 (ev_window_class_init): Fix multihead behaviour of fullscreen
6 toolbar popup. Fixes bug #315451.
8 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
11 * data/evince-password.glade:
12 * shell/ev-password.c: (ev_password_dialog_set_property),
13 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
14 (ev_password_dialog_init), (ev_password_set_bad_password_label),
15 (ev_password_dialog_entry_changed_cb),
16 (ev_password_dialog_entry_activated_cb),
17 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
18 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
19 (ev_password_dialog_set_bad_pass):
20 * shell/ev-password.h:
21 * shell/ev-window.c: (password_dialog_response),
22 (ev_window_popup_password_dialog):
24 Support for gnome-keyring for encrypted PDF's.
26 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
28 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
29 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
30 (ev_view_enter_notify_event), (ev_view_class_init):
32 More precise handling of enter_notify/leave_notify events
33 in EvView. Fix for bug 315470.
35 2005-09-08 Christopher Aillon <caillon@redhat.com>
37 * shell/ev-window.c: (fullscreen_timeout_cb),
38 (fullscreen_set_timeout), (fullscreen_clear_timeout),
41 leak fix: unref fullscreen_timeout_source before clearing it
43 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
45 * configure.ac, dvi/mdvi/Makefile.am:
47 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
49 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
51 * backend/ev-link.c: (ev_link_new_page_xyz):
53 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
55 Fix some bugs with xyz links, respect zoom
57 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
59 * shell/ev-window.c: (page_changed_cb),
60 (setup_document_from_metadata), (update_sidebar_visibility),
61 (setup_view_from_metadata), (ev_window_run_fullscreen),
62 (ev_window_stop_fullscreen), (ev_window_run_presentation),
63 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
64 (ev_window_dual_mode_changed_cb),
65 (ev_window_sidebar_current_page_changed_cb):
67 null check uri before setting and getting metadata
69 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
72 * properties/Makefile.am:
74 * thumbnailer/Makefile.am:
76 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
78 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
80 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
81 (selection_changed_callback):
82 * shell/ev-sidebar-links.h:
84 Add a signal for link activation.
86 * shell/ev-view.c: (ev_view_goto_link),
87 (ev_view_button_release_event):
89 * shell/ev-window.c: (sidebar_links_link_activated_cb),
92 Implement the signal so that we can handle all link types.
94 * shell/ev-page-cache.c:
96 Remove unused set_link function
98 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
100 * lib/ev-tooltip.c: (ev_tooltip_set_position):
102 Add some space from the cursor, hardcoded but I couldnt
105 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
109 Use mozilla style vs gtk style, way better for links.
111 * shell/ev-view.c: (ev_view_motion_notify_event),
112 (ev_view_destroy), (ev_view_init):
114 Deactive tooltip when the link hovered is changed.
116 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
118 * backend/ev-document.h:
119 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
120 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
121 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
122 (ev_link_new_page), (ev_link_new_page_xyz):
125 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
126 (go_to_link), (tip_from_link):
128 Implement xyz links, still not functional. Links are a total
129 mess, will need to refactor and bugfix a lot :(
131 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
133 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
135 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
137 * data/evince-ui.xml:
138 * data/evince.schemas.in:
140 * shell/ev-window.c: (update_chrome_visibility),
141 (password_dialog_response), (ev_window_load_job_cb),
142 (ev_window_xfer_job_cb), (ev_window_open_uri),
143 (ev_window_class_init), (set_chrome_actions), (load_chrome),
146 Remove the statusbar. This regress loading feedback, need to
147 check with Bryan what we want to do there...
149 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
151 * lib/ev-tooltip.c: (ev_tooltip_init):
153 Fix tooltip border and size handling
155 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
157 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
158 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
159 (ev_tooltip_timeout), (ev_tooltip_activate),
160 (ev_tooltip_deactivate):
162 * shell/ev-view.c: (ev_view_motion_notify_event):
164 Delay popup showing. Mirror gtk logic/times.
166 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
169 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
170 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
171 (ev_tooltip_set_text), (ev_tooltip_set_position):
174 Simple widget to show tooltips at a custom position
176 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
179 Use it for links. First go, needs work
181 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
183 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
184 HIG fixes. Use title capitalization for window title. Use 12
185 pixels of space between the dialog's vbox and action area.
187 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
189 * shell/ev-window.c: (file_open_dialog_response_cb),
190 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
191 (ev_window_cmd_save_as):
193 Make file pickers not modal and refactor code some
195 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
197 * shell/ev-sidebar.h:
198 * shell/ev-sidebar.c: (ev_sidebar_set_property),
199 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
200 (ev_sidebar_class_init), (ev_sidebar_select_page),
201 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
202 (ev_sidebar_set_page):
204 Add a current page property and allow to get/set it
206 * shell/ev-window.c: (setup_view_from_metadata),
207 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
209 Persist current sidebar page per document
211 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
213 * data/evince.schemas.in:
214 * shell/ev-window.c: (update_chrome_visibility),
215 (setup_document_from_metadata), (update_sidebar_visibility),
216 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
217 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
218 (ev_window_run_presentation), (ev_window_stop_presentation),
219 (ev_window_view_sidebar_cb),
220 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
221 (load_chrome), (ev_window_init):
223 Persist size/visibility of sidebar per document
225 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
227 * shell/ev-view.c (draw_loading_text): Draw loading text.
229 2005-09-02 Dan Damian <dand@gnome.ro>
231 * configure.in: Added "ro" to ALL_LINGUAS.
233 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
235 * shell/ev-view.c: (clear_caches):
237 ev_page_cache_get doesnt return a reference,
238 dont try to unref it.
240 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
242 * shell/main.c: (load_files_remote):
244 Fix timestamp parameter with dbus <= 0.33
246 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
248 * data/evince.schemas.in:
250 Add missing full stop
252 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
254 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
255 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
257 Plug some memory leaks
259 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
262 * lib/ev-debug.c: (trap_handler):
264 Check for execinfo.h and use it only if it exists.
265 Ported from Epiphany (bug #314776).
267 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
269 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
271 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
273 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
274 * po/id.po : Added Indonesian translation
276 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
279 * shell/ev-application.c: Last minute GTK-2.6 fixes.
280 * NEWS: Release 0.4.0
282 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
284 * configure.ac: catch another gtk+-2.8ism
285 * shell/main.c: Make work with gtk+-2.6
287 2005-08-25 Ryan Lortie <desrt@desrt.ca>
289 * shell/ev-application-service.xml: Add 'timestamp' argument to
290 ev_application_open_window and ev_application_open_uri methods.
292 * shell/ev-application.h: Add 'timestamp' argument to
293 ev_application_open_window, ev_application_open_uri,
294 and ev_application_open_uri_list functions.
296 * shell/ev-application.c (ev_application_open_window,
297 ev_application_open_uri, ev_application_open_uri_list): Change
298 functions that show/present windows to use a timestamp if one
301 * shell/ev-window.c (ev_window_cmd_file_open,
302 ev_window_cmd_recent_file_activate, drag_data_received_cb):
303 * shell/main.c (load_files): Modify calls to ev_application to
304 include GDK_CURRENT_TIME as timestamp.
306 * shell/main.c (load_files_remote): Obtain timestamp for client
307 instance from GDK and pass to server instance so new windows are
308 focused properly. Fix dbus_g_proxy_call() calls by including second
313 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
315 * shell/ev-window.c (ev_window_finalize): Check for
316 avail. EvWindows when quiting to handle the finalize better,
319 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
321 * properties/ev-properties-view.c:
323 Set textdomain to libglade. Fixes translation problem in property page.
325 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
327 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
329 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
330 * dvi/mdvi-lib/Makefile.am:
332 Fix rotation of thumbnails, ported to new API. Moved library
333 dependencies earlier, probably it will fix linkage problem.
335 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
337 * backend/ev-document-misc.c:
338 (ev_document_misc_get_thumbnail_frame):
339 * backend/ev-document-misc.h:
343 * shell/ev-sidebar-thumbnails.c: (add_range),
344 (ev_sidebar_thumbnails_set_loading_icon),
345 (ev_sidebar_thumbnails_refresh),
346 (ev_sidebar_thumbnails_set_document):
347 * shell/ev-sidebar-thumbnails.h:
348 * shell/ev-view.c: (ev_view_motion_notify_event),
349 (ev_view_set_property), (ev_view_get_property),
350 (ev_view_class_init), (ev_view_set_rotation):
351 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
352 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
354 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
355 Redo rotation (again). prepare for 0.4.0
357 2005-08-24 Kristian Høgsberg <krh@redhat.com>
359 * configure.ac: Bump poppler requirement to 0.4.1.
361 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
362 argument to poppler_page_render_selection() call.
364 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
366 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
367 (djvu_document_thumbnails_get_thumbnail):
368 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
369 (dvi_document_thumbnails_get_thumbnail):
370 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
371 (pixbuf_document_thumbnails_get_thumbnail):
372 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
374 Update rotation direction of backends to fit with pdf and ps.
376 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
378 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
379 * backend/ev-async-renderer.h:
380 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
381 (setup_page), (ps_document_get_page_size),
382 (ps_async_renderer_render_pixbuf):
384 * shell/ev-jobs.c: (ev_job_render_run):
386 Fix orientation in the postscript document
388 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
391 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
392 * shell/ev-view.c: (highlight_find_results):
394 Adapt to the new poppler rotation API. Fix text maps on landscape
397 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
399 * shell/ev-view.c (compute_new_selection_text): get the correct
400 region when selecting in modes other than continuous.
402 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
404 * shell/main.c (main): remove redundant g_warnings.
406 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
408 * shell/Makefile.am: Don't include autogenerated
409 file ev-application-service.h into distribution, since
410 it causes dbus crash. Fix for bugs 313724 and 313443.
412 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
414 * configure.ac: Fix sed expression for FreeBSD. Thanks
415 to Joe Marcus Clark <marcus@freebsd.org>
417 * shell/eggfindbar.c: (entry_activate_callback),
418 (entry_changed_callback), (egg_find_bar_init),
419 (egg_find_bar_set_search_string):
421 Made findbar buttons unsensitive if there is no text in
422 entry. Fix for the bug 313285.
424 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
426 * ps/ps-document.c: Use g_filename_display_name for displaying
427 filenames and revert string freeze breackage
429 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
438 Add ev-application-service.xml to extra dist
440 * shell/ev-view.c: (find_page_at_location):
442 Remove unused function (fix warning)
444 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
446 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
447 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
449 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
452 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
454 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
458 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
460 * configure.ac: Update script to get dbus version.
461 Fix for the bug #313443.
463 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
465 * shell/ev-window.c: (ev_window_cmd_escape):
467 Return focus back to view on escape. Fix for bug 313295.
469 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
471 * shell/ev-window.c: (update_window_title),
472 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
473 (ev_window_cmd_save_as):
475 Correct conversion from uri to displayable string. Fix for
478 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
480 * ps/ps-document.c: convert filename to utf8 when there is an error
481 loading document. Fixes #309915
483 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
487 We depend on poppler 0.4.0
489 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
492 * NEWS: Release 0.3.3.
493 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
495 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
497 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
498 add a couple missing mnemonics to menu items, use title
499 capitalization for menu items and window titles, and add
500 ellipsis to open menu item.
502 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
505 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
506 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
507 (ev_view_get_rotation):
509 * shell/ev-window.c: (setup_view_from_metadata),
510 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
511 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
514 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
516 * configure.ac: Added tr to ALL_LINGUAS
518 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
520 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
521 requires several clicks to find word. Thanks to
522 Colin Slater <kiltedtaco@gmail.com>.
524 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
526 * data/evince.desktop.in.in: Hide menu entry and
527 rename it to "Document Viewer". Fix for bug
530 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
532 * shell/ev-page-action.c (ev_page_action_class_init):
534 Point to the correct function in constructor of the
535 activate_label signal
537 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
539 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
540 * shell/ev-jobs.h: Make thread safe.
542 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
544 * shell/ev-view.c: (view_update_range_and_current_page):
545 Don't update page range if we are scrolling to some document
548 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
550 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
551 when getting max_page_width, fix drawing in dual mode.
553 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
555 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
556 getting the area for select_all.
558 2005-08-06 Kristian Høgsberg <krh@redhat.com>
560 * backend/ev-selection.c: (ev_selection_render_selection):
561 * backend/ev-selection.h:
563 * shell/ev-jobs.c: (ev_job_render_new):
565 * shell/ev-pixbuf-cache.c: (get_selection_colors),
566 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
567 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
568 (ev_view_class_init):
570 Change selection color on focus in and focus out events. Also,
571 poppler now uses GdkColor for specifying the selection colors, so
572 drop some awkward conversion code.
574 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
576 * configure.ac: Added Hebrew translation
578 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
581 * backend/ev-selection.c: (ev_selection_render_selection):
582 * backend/ev-selection.h:
584 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
587 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
588 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
589 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
590 (ev_pixbuf_cache_style_changed),
591 (ev_pixbuf_cache_get_selection_pixbuf),
592 (ev_pixbuf_cache_set_selection_list),
593 (ev_pixbuf_cache_get_selection_list):
594 * shell/ev-pixbuf-cache.h:
595 * shell/ev-utils.c: (ev_print_region_contents):
597 * shell/ev-view.c: (ev_view_queue_draw_page),
598 (selection_update_idle_cb), (ev_view_motion_notify_event),
599 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
600 (setup_caches), (ev_view_find_next), (merge_selection_region),
602 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
604 Clean up selection to be much smoother!
606 2005-08-05 Kristian Høgsberg <krh@redhat.com>
608 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
609 to poppler_page_render_selection().
611 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
613 * ps/ps-document.c: (save_page_list): Use
614 unzipped document when printing. Thanks to
615 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
618 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
620 * shell/ev-window.c: (update_action_sensitivity):
622 Disable print and save respect to lockdown gconf keys. Fix
625 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
628 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
629 (write_to_temp_file), (ev_file_set_contents):
631 * shell/ev-window.c: (save_print_config_to_file):
633 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
636 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
638 * shell/ev-window.c: (load_print_config_from_file),
639 (save_print_config_to_file), (ev_window_print_range):
641 Persist the print settings. Fixes bug #311578.
643 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
645 * djvu/djvu-document.c: (djvu_document_get_page_size),
646 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
647 (djvu_document_thumbnails_get_thumbnail):
648 * dvi/dvi-document.c: (dvi_document_get_page_size),
649 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
650 (dvi_document_thumbnails_get_dimensions),
651 (dvi_document_thumbnails_get_thumbnail):
652 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
653 (pixbuf_document_render_pixbuf),
654 (pixbuf_document_document_iface_init),
655 (pixbuf_document_thumbnails_get_thumbnail):
657 Update backends to make them build with new rotation system.
659 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
661 * help/C/figures/evince_start_window.png:
663 Update documentation image from Luca Ferretti <elle.uca@libero.it>
665 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
667 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
668 * shell/ev-pixbuf-cache.h:
669 * shell/ev-sidebar-thumbnails.c:
670 (ev_sidebar_thumbnails_get_property), (add_range),
671 (adjustment_changed_cb):
672 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
673 pixbuf cache. Make thumbnailing work again. Also, fix bug where
674 we were thumbnailing the entire docment on startup, slowing us
677 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
679 * shell/ev-page-cache.c: (ev_page_cache_new):
680 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
683 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
685 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
686 (ev_view_rotate_left):
688 Account rotation in doc_rect_to_view_rect.
689 Ensure rotation doesnt go out of bounds.
691 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
693 * shell/ev-page-cache.c: (ev_page_cache_get_size):
695 Correct and cleanup w/h swapping
697 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
699 * backend/ev-document-thumbnails.c:
700 (ev_document_thumbnails_get_thumbnail):
701 * backend/ev-document-thumbnails.h:
702 * backend/ev-document.c:
703 * backend/ev-document.h:
704 * backend/ev-render-context.c: (ev_render_context_new),
705 (ev_render_context_set_rotation):
706 * backend/ev-render-context.h:
708 * ps/ps-document.c: (ps_document_document_iface_init):
709 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
711 * shell/ev-page-cache.c: (build_height_to_page),
712 (ev_page_cache_new), (ev_page_cache_get_size),
713 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
714 (ev_page_cache_get_height_to_page):
715 * shell/ev-page-cache.h:
716 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
717 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
718 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
719 (ev_pixbuf_cache_get_selection_pixbuf):
720 * shell/ev-pixbuf-cache.h:
721 * shell/ev-print-job.c: (idle_print_handler):
722 * shell/ev-sidebar-thumbnails.c: (add_range):
723 * shell/ev-view.c: (view_update_range_and_current_page),
724 (get_page_y_offset), (get_page_extents),
725 (ev_view_size_request_continuous_dual_page),
726 (ev_view_size_request_continuous),
727 (ev_view_size_request_dual_page),
728 (ev_view_size_request_single_page), (draw_one_page),
729 (ev_view_set_rotation), (ev_view_rotate_right),
730 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
731 (ev_view_zoom_for_size_continuous_and_dual_page),
732 (ev_view_zoom_for_size_continuous),
733 (ev_view_zoom_for_size_dual_page),
734 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
735 (ev_view_select_all):
736 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
737 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
738 (tiff_document_document_iface_init),
739 (tiff_document_thumbnails_get_thumbnail):
741 Use rotation rather than orientation. It's easier and enough
744 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
746 * shell/ev-page-cache.c: (build_height_to_page),
747 (ev_page_cache_new), (ev_page_cache_get_size),
748 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
749 (ev_page_cache_get_height_to_page):
750 * shell/ev-page-cache.h:
751 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
752 (ev_view_size_request_continuous_dual_page),
753 (ev_view_size_request_continuous),
754 (ev_view_zoom_for_size_continuous_and_dual_page),
755 (ev_view_zoom_for_size_continuous):
757 Make the page cache aware of page orientation.
759 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
761 * backend/ev-document-thumbnails.c:
762 (ev_document_thumbnails_get_thumbnail):
763 * backend/ev-document-thumbnails.h:
764 * backend/ev-document.c:
765 * backend/ev-document.h:
766 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
767 * backend/ev-ps-exporter.h:
769 * ps/ps-document.c: (ps_document_document_iface_init),
770 (ps_document_ps_export_do_page):
771 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
773 * shell/ev-page-cache.c: (ev_page_cache_get_size),
775 * shell/ev-page-cache.h:
776 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
777 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
778 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
779 * shell/ev-pixbuf-cache.h:
780 * shell/ev-print-job.c: (idle_print_handler):
781 * shell/ev-sidebar-thumbnails.c: (add_range):
782 * shell/ev-view.c: (view_update_range_and_current_page),
783 (get_page_extents), (ev_view_size_request_dual_page),
784 (ev_view_size_request_single_page), (draw_one_page),
785 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
786 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
787 (ev_view_zoom_for_size_dual_page),
788 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
789 (ev_view_select_all):
790 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
791 * tiff/tiff-document.c: (tiff_document_get_page_size),
792 (tiff_document_get_orientation), (rotate_pixbuf),
793 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
794 (tiff_document_thumbnails_get_thumbnail),
795 (tiff_document_ps_export_do_page), (tiff_document_init):
797 Really make use of the orientation bit of the render context.
798 Use the render context in a few more places in the backend API.
799 This regress orientation, but now it's done right. Will try to
802 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
804 * shell/ev-view.c: (ensure_rectangle_is_visible):
806 Patch by Nickolay V. Shmyrev to fix find flickering
808 2005-07-27 Martin Kretzschmar <martink@gnome.org>
810 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
811 duplex parameters to ::begin.
813 * tiff/tiff-document.c (tiff_document_ps_export_begin):
814 * shell/ev-print-job.c (idle_print_handler):
815 * ps/ps-document.c (ps_document_ps_export_begin):
816 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
817 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
818 implementations. Poppler backend needs poppler cvs. Rest has
821 2005-07-25 Martin Kretzschmar <martink@gnome.org>
823 * shell/ev-window.c (using_pdf_printer): new function.
824 (ev_window_print_range): print a less techy message if someone
825 tries to print to PDF.
827 2005-07-25 Martin Kretzschmar <martink@gnome.org>
829 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
830 from "unknown font" string. Bug #311431
832 2005-07-24 Martin Kretzschmar <martink@gnome.org>
834 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
836 2005-07-24 Martin Kretzschmar <martink@gnome.org>
840 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
841 name for PopplerFontTypes
842 (pdf_document_fonts_fill_model): add font type to the detail column
844 * backend/ev-document-fonts.h: added
845 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
847 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
848 font name and font details, add a little markup.
849 (ev_properties_fonts_init): use the new cell data func, specify ypad
850 property for the cell renderer.
851 (ev_properties_fonts_set_document): add the details column.
853 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
855 * configure.ac: Added "pl" to ALL_LINGUAS.
857 2005-07-24 Danilo Šegan <danilo@gnome.org>
859 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
861 2005-07-23 Tommi Vainikainen <thv@iki.fi>
863 * help/ChangeLog: Started this for translations of manual.
864 * configure.ac, autogen.sh, .cvsignore: Migrated to
865 gnome-doc-utils. Patch in bug #311222.
867 2005-07-22 Martin Kretzschmar <martink@gnome.org>
869 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
870 #ifdef this away to fix an unused-function warning.
872 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
874 * configure.ac: Added 'gl' to ALL_LINGUAS.
876 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
878 * configure.ac: Added ne in ALL_LINGUAS
880 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
882 * shell/ev-view.c: (ev_view_leave_notify_event):
884 Clear status message when pointer leaves view. Fix for bug
887 2005-07-20 Ankit Patel <ankit644@yahoo.com>
889 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
891 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
893 * shell/ev-view.c: (ev_view_leave_notify_event),
894 (ev_view_class_init):
896 Set cursor to normal then leaving view.
898 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
902 Fix required djvulibre version.
904 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
906 *configure.ac: Hindi (hi) language added
908 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
910 *configure.ac: Punjabi (pa) Language added
912 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
914 * data/evince-ui.xml, shell/ev-window.c:
916 Add keypad accelerators for zooming. Fix for bug 308128.
918 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
921 * backend/Makefile.am:
922 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
924 * shell/ev-document-types.c: (ev_document_types_add_filters):
926 Allow to enable/disable the pixbuf backend.
927 Default to off for now. If we want it enabled we should
928 really put mime types in the desktop, implement properties etc.
930 * properties/evince-properties.c:
932 Initialize error to NULL.
933 Check error is not NULL before freeing.
935 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
939 Use F5 as presentation accell
941 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
943 * shell/ev-window.c: (update_chrome_visibility),
944 (ev_window_create_fullscreen_popup), (ev_window_init):
946 Do not leak the fullscreen toolbar
948 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
950 * shell/ev-window.c: (view_actions_focus_in_cb),
951 (view_actions_focus_out_cb):
953 These has a return value! Fix totally random focus
954 issues we was seeing.
956 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
958 * shell/main.c: (load_files_remote):
960 Allow open more than one file
962 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
964 * shell/main.c: (load_files_remote):
966 Fix for dbus 0.33. bug #309975
968 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
970 * properties/ev-properties-main.c: (ev_properties_get_pages):
972 Actually return NULL for types we dont support
974 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
980 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
982 * backend/ev-document-factory.c:
983 (ev_document_factory_get_document):
985 Do not try to create the object if type
988 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
990 * ps/ps-document.c: (ps_document_dispose),
991 (ps_async_renderer_render_pixbuf):
994 Do not leak the target window
996 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
998 * shell/ev-application.c: (ev_application_init):
1000 Let tbe check file existence for us.
1001 Add a comment about eggrecent mime filter.
1003 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1005 * data/evince-ui.xml:
1006 * shell/ev-application.c: (ev_application_shutdown),
1007 (ev_application_init), (ev_application_get_toolbars_model),
1008 (ev_application_get_recent_model),
1009 (ev_application_save_toolbars_model):
1010 * shell/ev-application.h:
1011 * shell/ev-window.c: (ev_window_add_recent),
1012 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1013 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1016 Use common toolbar and recent models for all windows.
1017 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1019 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1021 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1022 successfully check for gtk_icon_view_get_visible_range.
1024 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1029 Fix djvu and dvi backend build.
1031 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1033 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1034 (new_separator_pixbuf):
1038 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1040 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1042 HIGification of toolbar editor dialogue.
1044 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1047 * shell/Makefile.am:
1049 Ever build metadata manager since it's just
1050 disabled at runtime now.
1052 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1054 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1055 (ev_metadata_manager_get), (ev_metadata_manager_set):
1056 * shell/ev-metadata-manager.h:
1058 Add an _init functions that enabled metadata management
1061 * shell/ev-window.c: (page_changed_cb),
1062 (setup_document_from_metadata), (ev_window_setup_document),
1063 (setup_view_from_metadata), (ev_window_open_uri),
1064 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1065 (ev_window_run_presentation), (ev_window_stop_presentation),
1066 (save_sizing_mode), (ev_window_zoom_changed_cb),
1067 (ev_window_continuous_changed_cb),
1068 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1069 (window_configure_event_cb):
1071 Remove all ugly metadata define since we deal with it
1074 * shell/main.c: (load_files_remote), (main):
1076 Add support for dbus cvs head. Hopefully didnt break one
1077 of the other versions now!
1079 If we dont get a response from the dbus server just
1080 give up with it and not enable metadata.
1082 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1085 * backend/Makefile.am:
1087 * cut-n-paste/recent-files/Makefile.am:
1088 * cut-n-paste/toolbar-editor/Makefile.am:
1089 * cut-n-paste/zoom-control/Makefile.am:
1092 * pixbuf/Makefile.am:
1093 * properties/Makefile.am:
1095 * shell/Makefile.am:
1096 * thumbnailer/Makefile.am:
1099 Make frontends depend on just libev.
1100 Rework and group CFLAGS/LIBS definitions.
1103 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1107 do not unnecessarily save zoom
1110 * lib/ev-file-helpers.c: (ev_dot_dir):
1111 * shell/Makefile.am:
1116 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1120 Remove unnecessary dependencies
1122 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1124 * properties/Makefile.am:
1125 * thumbnailer/Makefile.am:
1128 Some more cleanups. Was really necessary
1129 but I probably introduced bugs, feel free
1132 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1134 * backend/Makefile.am:
1136 * cut-n-paste/recent-files/Makefile.am:
1137 * cut-n-paste/toolbar-editor/Makefile.am:
1138 * cut-n-paste/zoom-control/Makefile.am:
1141 * pixbuf/Makefile.am:
1142 * properties/Makefile.am:
1144 * shell/Makefile.am:
1145 * thumbnailer/Makefile.am:
1148 Use gnome-common macros when possible.
1149 Cleanup dependencies.
1150 Actually disable deprecated where possible.
1152 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1155 * backend/Makefile.am:
1156 * properties/Makefile.am:
1157 * shell/Makefile.am:
1158 * thumbnailer/Makefile.am:
1160 This should solve the circular dep without
1161 requiring dir reorg!
1163 * shell/ev-window.c: (setup_view_from_metadata):
1165 Never restore window size/position when the
1166 window is already visible.
1168 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1170 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1172 Return a boolean from timeout func. Fix ported from gedit.
1174 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1176 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1178 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1180 * shell/ev-document-types.c: set "All Documents" as default filter in
1183 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1185 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1186 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1187 (ev_metadata_manager_set_boolean): fix value/val thinko.
1189 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1191 * shell/ev-window.c: (setup_view_from_metadata),
1192 (window_state_event_cb), (window_configure_event_cb),
1195 Remember window position and maximized state
1197 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1201 Fix DBUS configure checks.
1203 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1204 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1205 (ev_metadata_manager_set_boolean):
1209 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1210 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1211 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1212 (ev_window_continuous_changed_cb),
1213 (ev_window_dual_mode_changed_cb), (ev_window_new):
1215 Fix the build without DBUS.
1217 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1219 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1220 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1221 (ev_metadata_manager_set_string),
1222 (ev_metadata_manager_set_boolean):
1223 * shell/ev-metadata-manager.h:
1225 Add support for some more types
1227 * shell/ev-view.c: (scroll_to_current_page),
1228 (ev_view_get_continuous), (ev_view_set_continuous),
1229 (ev_view_get_dual_page):
1231 * shell/ev-window.c: (page_changed_cb),
1232 (setup_document_from_metadata), (ev_window_setup_document),
1233 (setup_view_from_metadata), (ev_window_open_uri),
1234 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1235 (ev_window_run_presentation), (ev_window_stop_presentation),
1236 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1237 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1238 (ev_window_update_dual_page_action),
1239 (ev_window_continuous_changed_cb),
1240 (ev_window_dual_mode_changed_cb), (ev_window_init):
1242 Remember a bunch of view/document properties. Prolly some
1243 are still missing but it's getting interesting.
1245 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1247 * configure.ac: check if dbus-binding-tool is installed. Not the
1248 case on current Ubuntu breezy, it seems.
1250 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1252 * data/evince.desktop.in.in:
1254 Allow open uri lists and add TryExec field.
1256 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1260 Enable dbus when available, do not require a configure
1263 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1267 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1270 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1271 Marco Pesenti Gritti <mpg@redhat.com>
1273 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1275 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1276 functions to the format required by dbus
1278 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1279 errors. Use the RPC parameters in the expected way
1281 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1284 * properties/Makefile.am:
1285 * properties/ev-properties-main.c: (ev_properties_get_pages):
1287 Support all mime types
1289 * shell/Makefile.am:
1290 * thumbnailer/Makefile.am:
1291 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1292 (evince_thumbnail_pngenc_get):
1294 Use the document factory
1296 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1298 * backend/Makefile.am:
1299 * backend/ev-document-factory.c:
1300 (mime_type_supported_by_gdk_pixbuf),
1301 (ev_document_type_get_from_mime),
1302 (ev_document_factory_get_document),
1303 (ev_document_factory_get_backend),
1304 (ev_document_factory_get_mime_types),
1305 (ev_document_factory_get_all_mime_types):
1306 * backend/ev-document-factory.h:
1307 * shell/Makefile.am:
1308 * shell/ev-document-types.c: (get_document_from_uri),
1309 (ev_document_types_get_document),
1310 (file_filter_add_mime_list_and_free),
1311 (ev_document_types_add_filters):
1312 * shell/ev-document-types.h:
1313 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1314 * shell/ev-properties-dialog.c:
1315 (ev_properties_dialog_set_document):
1316 * shell/ev-window.c: (ev_window_cmd_file_open),
1317 (ev_window_cmd_save_as):
1318 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1320 Rework document types managing to avoid code duplication
1321 and actually abstract from backend implementations.
1322 Also provide a minimal factory api that can be used by
1323 thumbnailer/properties.
1325 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1327 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1329 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1332 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1334 * shell/ev-properties-dialog.c
1335 (ev_properties_dialog_set_document): only call
1336 ev_properties_fonts_set_document() if the document implements the
1339 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1342 * properties/Makefile.am:
1343 * properties/ev-properties-view.c:
1344 (ev_properties_view_register_type):
1345 * properties/ev-properties-view.h:
1346 * properties/ev-properties-main.h:
1348 Implement nautilus plugin for properties.
1349 Works only for pdf atm, I need to rework the
1350 document types stuff to get this to work
1353 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1355 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1356 (ev_properties_fonts_set_document): use
1357 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1359 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1361 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1363 (PlaceImage, tiff2ps_process_page): use
1364 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1367 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1369 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1370 (main): to call gnome_authentication_manager_init. Should fix
1373 * configure.ac: that requires libgnomeui 2.6.0.
1375 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1377 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1378 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1379 use the new tiff2ps interfaces
1381 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1382 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1384 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1385 structure instead of global variables. Remove use of static
1386 variables in functions.
1388 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1390 * shell/ev-page-action.c: unref the completion after setting it to the
1393 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1395 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1398 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1400 * shell/ev-window.c (update_action_sensitivity): disable
1401 File->Print if the document does not implement the ps exporter
1404 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1408 * data/evince-properties.glade:
1409 * properties/.cvsignore:
1410 * properties/Makefile.am:
1411 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1412 (ev_properties_view_class_init), (ev_properties_view_format_date),
1413 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1414 (ev_properties_view_init), (ev_properties_view_new):
1415 * properties/ev-properties-view.h:
1416 * shell/Makefile.am:
1417 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1418 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1419 (ev_properties_dialog_new):
1420 * shell/ev-properties-dialog.h:
1421 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1422 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1423 (update_progress_label), (job_fonts_finished_cb),
1424 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1425 * shell/ev-properties-fonts.h:
1426 * shell/ev-properties.c:
1427 * shell/ev-properties.h:
1428 * shell/ev-window.c: (ev_window_setup_document),
1429 (ev_window_cmd_file_properties):
1431 Split the properties pages in two different objects, depend
1432 only on the backend where possible, use widgets instead
1433 of gobject for the glade part, reimplement the dialog
1435 I need this to implement nautilus properties page.
1437 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1439 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1440 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1441 (tiff_document_document_ps_exporter_iface_init): implement the ps
1442 exporter interface for tiff documents
1444 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1445 libtiff to implement TIFF postscript export
1447 * tiff/tiff2ps.h: added a header file for external tiff2ps
1450 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1453 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1455 * shell/ev-view.c: (scroll_to_current_page),
1456 (ev_view_set_fullscreen), (ev_view_set_presentation):
1458 Scroll to current page when exit from presentation
1460 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1462 * shell/ev-window.c: (update_document_mode),
1463 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1464 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1465 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1467 Exit from fullscreen mode when switch to presentation. Fix for
1470 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1472 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1473 return NULL if the document does not implement the selection
1476 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1478 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1479 reported height by using the resolution aspect ratio
1480 (tiff_document_render_pixbuf): scale the pixbuf using the
1481 resolution aspect ratio
1483 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1487 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1488 <kiltedaco@gmail.com>
1490 * djvu/djvu-document.c: (djvu_document_get_orientation),
1491 (djvu_document_set_orientation), (djvu_document_get_page_size),
1492 (rotate_pixbuf), (djvu_document_render_pixbuf),
1493 (djvu_document_document_iface_init):
1494 * dvi/dvi-document.c: (dvi_document_get_orientation),
1495 (dvi_document_set_orientation), (dvi_document_get_page_size),
1496 (rotate_pixbuf), (dvi_document_render_pixbuf),
1497 (dvi_document_document_iface_init):
1499 Dvi and djvu backends are ported to new API
1501 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1503 * backend/ev-selection.c: (ev_selection_get_selection_region),
1504 (ev_selection_get_selection_map):
1505 * backend/ev-selection.h:
1506 * pdf/ev-poppler.cc:
1507 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1509 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1510 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1511 (ev_pixbuf_cache_get_text_mapping):
1512 * shell/ev-pixbuf-cache.h:
1513 * shell/ev-view.c: (location_in_text),
1514 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1515 support to EvView. Now we can see where we can select! Sweet!
1517 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1519 * shell/ev-view.c (ev_view_button_press_event): Fix
1520 event->y + view->scroll_x typo.
1522 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1524 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1525 sub-GdkPixbuf instead of passing dest_x and dest_y.
1527 * shell/ev-view.c: (view_point_to_doc_point),
1528 (view_rect_to_doc_rect), (ev_view_button_press_event),
1529 (ev_view_motion_notify_event), (compute_new_selection_rect),
1530 (gdk_rectangle_point_in), (compute_new_selection_text),
1531 (compute_selections): Update selection code to keep the selection
1532 around as two points and not as a normalized rectangle, and fix
1533 page level selection in two-column mode.
1535 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1537 * shell/ev-window.c: (window_configure_event_cb):
1541 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1543 * pdf/ev-poppler.cc:
1547 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1549 * shell/Makefile.am:
1550 * shell/ev-metadata-manager.c: (item_free),
1551 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1552 (parse_value), (parseItem), (load_values),
1553 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1554 (save_values), (save_item), (get_oldest), (resize_items),
1555 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1556 * shell/ev-metadata-manager.h:
1558 Metadata manager from gedit but modified to use GValue, so that
1559 we dont need to keep converting from strings.
1563 ENABLE_METADATA conditional, on when dbus is on
1565 * shell/ev-application.c: (ev_application_open_uri):
1567 Show the window after load so that we can initialize
1568 window size before it's showed.
1570 * shell/ev-window.c: (ev_window_setup_from_metadata),
1571 (ev_window_open_uri), (window_configure_event_cb),
1574 Save and load metadata information about window size.
1575 Not yet keeping states in account.
1577 * shell/main.c: (main):
1579 Shutdown metadata manager.
1581 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1583 * shell/ev-application-service.xml:
1585 * shell/Makefile.am:
1586 * shell/ev-application.c:
1587 * shell/ev-application.h:
1588 * shell/ev-window.c:
1589 * shell/ev-window.h:
1592 Add an optional dbus interface (--enable-dbus).
1593 Rework application code, mainly to be easier to
1595 Do not open multiple windows with the same document,
1598 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1600 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1601 pixbuf iff it exists.
1603 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1606 * backend/ev-render-context.[ch]:
1607 * backend/ev-selection.[ch]:
1609 Massive changes. We now support text selection of pdfs, and not
1610 just rectangular selection. This is pretty broken still, but I
1611 want to get something into CVS.
1613 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1615 * pdf/ev-poppler.cc:
1617 Fix for Bug 309080: crash on window close.
1619 * shell/ev-page-action.c: (page_changed_cb):
1621 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1622 jensgr@gmx.net (Jens Granseuer).
1624 2005-06-25 Marcel Telka <marcel@telka.sk>
1626 * configure.in (ALL_LINGUAS): Added sk.
1628 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1630 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1633 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1640 * cut-n-paste/recent-files/Makefile.am:
1644 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1646 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1647 (pixbuf_document_set_orientation), (rotate_pixbuf),
1648 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1649 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1651 Implement rotation and cleanup the code a bit.
1653 * tiff/tiff-document.c: (tiff_document_get_page_size),
1654 (tiff_document_get_orientation), (tiff_document_set_orientation),
1655 (rotate_pixbuf), (tiff_document_render_pixbuf),
1656 (tiff_document_document_iface_init), (tiff_document_init):
1658 Implement rotation. Was the quicker solution for the release
1659 but we really need to share this code in the shell.
1661 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1663 * pdf/ev-poppler.cc:
1665 Enable rotation, require poppler cvs. Fix a leak.
1667 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1669 * shell/ev-window.c: (update_action_sensitivity):
1671 Make properties unsensitive if document backend doesn't provide
1674 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1676 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1677 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1678 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1679 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1680 (bitmap_flip_rotate_counter_clockwise):
1681 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1682 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1684 * dvi/mdvi-lib/common.h:
1685 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1686 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1687 (opendvi), (mdvi_reload), (mdvi_init_context),
1688 (mdvi_destroy_context), (mdvi_dopage), (special):
1689 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1690 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1691 (file_hash_free), (register_encoding), (parse_spec),
1692 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1693 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1694 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1695 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1696 (mdvi_register_font_type), (mdvi_unregister_font_type),
1697 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1698 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1699 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1700 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1701 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1702 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1703 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1704 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1705 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1706 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1707 (mdvi_unregister_special), (mdvi_flush_specials):
1708 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1710 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1711 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1712 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1713 (free_font_metrics), (flush_font_metrics):
1714 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1716 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1717 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1718 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1719 (dstring_insert), (dstring_new), (dstring_reset):
1720 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1722 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1723 avoid conflict with libtool on FC4
1725 * shell/ev-window.c: (ev_window_cmd_help_about):
1727 Update copyright year. Fix for bug 308828.
1729 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1731 * shell/ev-view.c: (add_scroll_binding_keypad),
1732 (ev_view_binding_activated), (ev_view_class_init),
1733 (on_adjustment_value_changed):
1735 Bug 170874: Arrow keys switch pages in presentation mode
1737 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1739 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1741 Fix for Bug 308265: Sidebar dissappears coming out of
1744 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1746 * shell/ev-application.c: (ev_application_open):
1747 * shell/ev-document-types.c: (ev_document_types_add_filters),
1748 (ev_document_types_add_filters_for_type):
1749 * shell/ev-document-types.h:
1750 * shell/ev-window.c: (ev_window_cmd_save_as):
1752 Suggest basename as template when saving, provide filters
1753 for save dialog. It's bug 308402
1755 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1757 * pdf/ev-poppler.cc:
1758 * shell/ev-sidebar-links.c: (job_finished_callback):
1759 * shell/ev-view.c: (update_find_status_message):
1763 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1765 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1766 (egg_recent_view_uimanager_set_list):
1768 Fix buglet in !show_numbers case.
1770 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1772 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1773 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1775 Use pango ellipsisation.
1777 * pdf/ev-poppler.cc:
1779 Fix refcount leak, from nsh.
1781 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1783 * cut-n-paste/recent-files/Makefile.am:
1784 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1785 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1787 Removed EggRecentViewGtk
1789 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1790 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1791 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1792 (ev_window_setup_recent):
1794 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1797 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1799 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1800 (egg_recent_view_gtk_finalize):
1804 * cut-n-paste/toolbar-editor/Makefile.am:
1806 Fix location of cursor icon.
1808 * pdf/ev-poppler.cc:
1809 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1810 (display_completion_text), (match_completion):
1811 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1812 (selection_changed_callback), (create_loading_model),
1813 (print_section_cb), (links_page_num_func),
1814 (update_page_callback_foreach):
1815 * shell/ev-window.c: (ev_window_dispose):
1817 Small memory fixes. Links model now store objects instead
1818 of pointers to improve memory management.
1820 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1822 * shell/ev-window.c: (zoom_control_changed_cb):
1824 Fix update of zoom control (bug 308268).
1826 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1828 * shell/ev-properties.c (set_property): escape the text correctly.
1829 Handles non-UTF-8 properties and escaped properties. Also, sets
1830 the text to "<i>None</i>" if the property isn't set.
1832 * data/evince-properties.glade: Change the label to be ellipsized,
1833 and give it a minimum size.
1835 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1837 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1838 * shell/ev-sidebar-links.c: (create_loading_model):
1839 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1840 * shell/ev-view.c: (ev_view_set_document):
1841 * shell/ev-window.c: (ev_window_dispose):
1843 Various small fixes, mostly memory leaks. Thanks to valgrind.
1845 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1847 * ps/ps-document.c: remove the locale.h include again ;-). And
1848 kill the (bogus) setlocale/savelocale business.
1850 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1854 Include locale.h to fix build
1856 * shell/ev-sidebar.c:
1858 Remove unnecessary includes
1860 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1862 * dvi/dvi-document.c: (dvi_document_load):
1863 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1866 Check for incorrect dvi files. Fix parsing dvi on AMD64
1867 platform. Thanks to tester@tester.ca (Olivier Crete).
1869 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1871 * shell/ev-page-action.c: (match_selected_cb),
1872 (display_completion_text), (match_completion), (update_model):
1873 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1874 (expand_open_links):
1875 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1876 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1877 (ev_sidebar_set_document):
1878 * shell/ev-window.c: (ev_window_xfer_job_cb),
1879 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1881 Fixed lot's of memory leaks, for example, memory leak on reload,
1882 described in bug 307793.
1884 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1886 * pdf/ev-poppler.cc:
1887 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1888 (update_visible_range), (adjustment_changed_cb),
1889 (ev_sidebar_thumbnails_fill_model),
1890 (ev_sidebar_thumbnails_refresh),
1891 (ev_sidebar_tree_selection_changed),
1892 (ev_sidebar_icon_selection_changed),
1893 (ev_sidebar_thumbnails_use_icon_view),
1894 (ev_sidebar_thumbnails_set_document):
1895 * shell/ev-sidebar-thumbnails.h:
1896 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1897 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1899 Refresh thumbnails when changing orientation. Not fully
1900 working yet becuase of a sidebar bug.
1902 Set page orientation to poppler page everywhere. This sucks
1903 really need to fix poppler.
1905 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1907 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1908 (egg_recent_view_gtk_new_menu_item),
1909 (egg_recent_view_gtk_set_property),
1910 (egg_recent_view_gtk_get_property),
1911 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1912 (egg_recent_view_gtk_set_tooltip_func),
1913 (egg_recent_view_gtk_set_label_width),
1914 (egg_recent_view_gtk_get_label_width):
1915 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1917 Sync with libegg (ellipsize labels)
1919 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1921 * data/evince-ui.xml:
1922 * shell/ev-window.c: (ev_window_cmd_go_forward),
1923 (ev_window_cmd_go_backward):
1925 Shift + PageUp moves 10 Pages. Fix for 306125
1927 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1929 * pdf/ev-poppler.cc:
1931 Add a flag to check if orientation has been overriden
1933 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1935 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1938 * ps/ps.h: add creator field to document.
1940 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1943 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1945 * data/evince-properties.glade:
1946 * shell/ev-properties.c: (ev_properties_set_document):
1948 s/PDF Version/Format
1950 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1952 * shell/ev-properties.c: (ev_properties_set_document):
1954 Remove unnecessary translations
1956 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1958 * cut-n-paste/toolbar-editor/Makefile.am:
1960 Correct library name
1962 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1965 * cut-n-paste/recent-files/egg-recent-model.c:
1966 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1967 (egg_recent_model_unlock_file):
1968 * cut-n-paste/recent-files/egg-recent-util.c:
1969 (egg_recent_util_get_unique_id):
1970 * cut-n-paste/recent-files/update-from-egg.sh:
1971 * cut-n-paste/toolbar-editor/Makefile.am:
1972 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1973 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1974 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1975 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1976 (egg_toolbars_model_get_type):
1977 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1979 Better makefile for toolbar editor and update everything
1982 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1984 * shell/ev-window.c: (update_document_mode):
1986 Prefer presentation mode when the document
1989 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1991 * data/evince-ui.xml:
1992 * shell/ev-window.c:
1994 Add control-equal for zooming
1996 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1998 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2000 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2002 * backend/ev-document.c: (ev_document_get_orientation):
2003 * backend/ev-document.h:
2004 * pdf/ev-poppler.cc:
2005 * ps/ps-document.c: (ps_document_get_orientation),
2006 (ps_document_set_orientation), (ps_document_document_iface_init):
2008 Add a get_orientation api. Improve set_orientation.
2010 * data/evince-ui.xml:
2011 * shell/ev-view.c: (ev_view_set_orientation),
2012 (ev_view_rotate_right), (ev_view_rotate_left):
2014 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2015 (ev_window_cmd_edit_rotate_right):
2017 Better ui for changing document orientation
2019 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2021 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2022 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2023 * shell/ev-sidebar-links.h:
2024 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2025 (ev_sidebar_page_iface_init):
2026 * shell/ev-sidebar-page.h:
2027 * shell/ev-sidebar-thumbnails.c:
2028 (ev_sidebar_thumbnails_get_property),
2029 (ev_sidebar_thumbnails_class_init),
2030 (ev_sidebar_thumbnails_set_document):
2031 * shell/ev-sidebar-thumbnails.h:
2032 * shell/ev-view.c: (ev_view_motion_notify_event):
2033 * shell/ev-window.c: (update_chrome_visibility),
2034 (ev_window_cmd_focus_page_selector),
2035 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2036 (sidebar_page_main_widget_update_cb), (ev_window_init):
2038 Autoraise toolbar on GoToPage binding and fix bindings in
2039 EvSidebarThumbnails page.
2041 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2043 * shell/ev-properties.c: (update_progress_label):
2045 Hide the progress label when finished; bug #307697.
2047 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2049 * pdf/ev-poppler.cc:
2051 Enable is_open for links, you will need poppler cvs
2053 * shell/ev-properties.c: (job_fonts_finished_cb):
2055 Get a lock on the document when filling the tree view
2057 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2059 * backend/ev-document-links.h:
2060 * pdf/ev-poppler.cc:
2061 * shell/ev-sidebar-links.c: (create_loading_model),
2062 (expand_open_links), (job_finished_callback):
2064 Expand links when specified by the document.
2065 Depend on a poppler api (defined out for now)
2067 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2069 * shell/ev-properties.c: (ev_properties_dispose),
2070 (ev_properties_class_init), (dialog_destroy_cb),
2071 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2072 (ev_properties_set_document), (ev_properties_new),
2073 (ev_properties_show):
2074 * shell/ev-properties.h:
2076 Make it an object, cleanup the code, api to show it as transient
2077 and to set the document.
2079 * shell/ev-window.c: (ev_window_setup_document),
2080 (ev_window_cmd_file_properties):
2082 Adapt to EvProperties changes, do not show multiple
2083 times, update it when document changes.
2085 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2088 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2089 (ps_document_set_orientation), (ps_document_document_iface_init):
2092 Implement orientation here too
2094 * shell/ev-properties.c: (ev_properties_new):
2095 * data/evince-properties.glade:
2097 Hide the fonts page for backends that doesnt
2100 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2102 * backend/ev-document.c: (ev_document_set_orientation):
2103 * backend/ev-document.h:
2104 * pdf/ev-poppler.cc:
2106 Add orientation api. Currently poppler api is not optimal,
2107 we need to set orientation every time we _get a page.
2108 I will try to fix that at some point.
2110 * data/evince-ui.xml:
2111 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2112 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2114 Add orientation menu items
2116 * shell/ev-page-cache.c: (ev_page_cache_clear):
2117 * shell/ev-page-cache.h:
2119 Add api to clear the cache
2121 * shell/ev-view.c: (setup_caches), (clear_caches),
2122 (ev_view_set_document), (ev_view_zoom_out),
2123 (ev_view_set_orientation):
2126 Implement orientation changing
2128 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2130 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2131 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2132 * backend/ev-document-fonts.h:
2134 Separate scan and fill so that we can incrementally fill from
2135 the main thread. Add a progress api.
2137 * data/evince-properties.glade:
2138 * pdf/ev-poppler.cc:
2139 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2141 * shell/ev-properties.c: (update_progress_label),
2142 (job_fonts_finished_cb), (setup_fonts_view):
2144 Incrementally feel the list and show the progress
2145 percentage in a label like acrobat does.
2147 You are going to need poppler cvs
2149 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2151 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2152 * backend/ev-document-fonts.h:
2153 * pdf/ev-poppler.cc:
2155 Make fonts model fill incrementally.
2157 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2158 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2159 (ev_job_queue_remove_job):
2160 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2161 (ev_job_fonts_new), (ev_job_fonts_run):
2164 New job for fonts scanning
2166 * shell/ev-properties.c: (job_fonts_finished_cb),
2167 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2168 * shell/ev-properties.h:
2169 * shell/ev-window.c: (ev_window_cmd_file_properties):
2171 Incrementally feel the treeview using the new job. Show Loading...
2172 message until scanning is completed.
2174 Hopefully I didnt break the build without the poppler patch.
2176 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2178 * shell/ev-application.c: (ev_application_open):
2179 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2180 (ev_document_type_get_type), (ev_document_type_lookup):
2181 * shell/ev-document-types.h:
2182 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2183 * shell/ev-job-xfer.h:
2184 * shell/ev-window.c: (ev_window_clear_local_uri),
2185 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2186 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2187 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2189 Transfer remote documents to tmp directory to display them later.
2191 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2193 * backend/ev-document-info.h:
2194 * shell/ev-properties.c: (ev_properties_new):
2196 s/GTime*/GTime. Not sure why we was using a pointer
2199 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2201 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2202 situations. That situation is that you're using GTK+-HEAD with
2203 the patch at #306726 is applied, and you have a document with <
2204 1500 pages in it. It's not quite as uniformly nice as the
2205 TreeView, but should be better in the long run.
2207 I'm pretty sure I guarded against breaking compilation with
2208 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2211 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2212 widget yet, so I commented that code out
2213 enable_view_actions_for_widget() for now. Need to figure this
2216 * shell/ev-page-action.c (match_selected_cb): emit the right
2217 signals. Our cool C-l completion now works.
2219 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2221 * backend/Makefile.am:
2222 * backend/ev-document-fonts.c:
2223 * backend/ev-document-links.c:
2224 * backend/ev-document.c: (ev_document_load):
2225 * backend/ev-document.h:
2226 * backend/ev-job-queue.c:
2227 * backend/ev-job-queue.h:
2228 * backend/ev-jobs.c:
2229 * backend/ev-jobs.h:
2230 * backend/ev-page-cache.c:
2231 * backend/ev-page-cache.h:
2233 EvPageCache and EvJobs are moved to shell.
2235 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2237 * lib/ev-file-helpers.h:
2239 New helper to work with temporary files
2241 * shell/Makefile.am:
2242 * shell/ev-application.c: (ev_application_open):
2243 * shell/ev-application.h:
2244 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2245 (remove_job_from_async_queue), (add_job_to_async_queue),
2246 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2247 (handle_job), (search_for_jobs_unlocked),
2248 (no_jobs_available_unlocked), (ev_render_thread),
2249 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2250 (ev_job_queue_add_job), (move_job_async), (move_job),
2251 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2252 * shell/ev-job-queue.h:
2253 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2254 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2255 * shell/ev-job-xfer.h:
2256 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2257 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2258 (ev_job_links_class_init), (ev_job_render_init),
2259 (ev_job_render_dispose), (ev_job_render_class_init),
2260 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2261 (ev_job_thumbnail_class_init), (ev_job_load_init),
2262 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2263 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2264 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2265 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2267 * shell/ev-page-action.c: (ev_page_action_set_document):
2268 * shell/ev-page-cache.c: (ev_page_cache_init),
2269 (ev_page_cache_class_init), (ev_page_cache_finalize),
2270 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2271 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2272 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2273 (ev_page_cache_get_title), (ev_page_cache_get_size),
2274 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2275 (ev_page_cache_get_height_to_page),
2276 (ev_page_cache_get_max_label_chars),
2277 (ev_page_cache_get_page_label),
2278 (ev_page_cache_has_nonnumeric_page_labels),
2279 (ev_page_cache_get_info), (ev_page_cache_next_page),
2280 (ev_page_cache_prev_page), (ev_page_cache_get):
2281 * shell/ev-page-cache.h:
2282 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2283 (ev_pixbuf_cache_clear_job_sizes),
2284 (ev_pixbuf_cache_add_jobs_if_needed),
2285 (ev_pixbuf_cache_set_page_range):
2286 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2287 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2288 * shell/ev-sidebar-thumbnails.c:
2289 (ev_sidebar_tree_selection_changed),
2290 (ev_sidebar_thumbnails_set_document):
2291 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2292 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2293 (ev_statusbar_get_context_id), (ev_statusbar_push),
2294 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2295 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2296 (ev_statusbar_set_progress):
2297 * shell/ev-statusbar.h:
2298 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2299 (ev_view_find_previous):
2300 * shell/ev-window.c: (ev_window_is_empty),
2301 (ev_window_setup_document), (password_dialog_response),
2302 (ev_window_clear_jobs), (ev_window_load_job_cb),
2303 (ev_window_xfer_job_cb), (ev_window_open_uri),
2304 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2305 (ev_window_print), (ev_window_print_range),
2306 (ev_window_state_event), (ev_window_cmd_view_reload),
2307 (menu_item_select_cb), (menu_item_deselect_cb),
2308 (view_status_changed_cb), (ev_window_dispose),
2309 (drag_data_received_cb), (ev_window_init):
2310 * shell/ev-window.h:
2311 * shell/main.c: (load_files):
2313 New statusbar to show progress on idle. Two new jobs -
2314 xfer job and load job to load document in background. And update
2315 of page_cache clients to new location of code.
2317 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2319 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2320 selection in open dialog. It also remembers the last visited directory
2321 in the current session.
2323 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2325 * shell/ev-properties.c: (ev_properties_new):
2326 * shell/ev-properties.h:
2327 * shell/ev-window.c: (ev_window_cmd_file_properties):
2329 Get document info from page cache instead of document itself.
2330 This should fix crash related to race conditions described in
2333 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2335 * ps/ps-document.c: (ps_document_init),
2336 (send_ps), (get_page_box), (output), (catchPipe), (input),
2337 (stop_interpreter), (file_length), (file_readable),
2338 (check_filecompressedb), (ps_document_enable_interpreter),
2339 (document_load), (ps_async_renderer_render_pixbuf):
2342 Big cleanup of the ps code
2344 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2346 * backend/Makefile.am:
2347 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2348 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2349 * backend/ev-async-renderer.h:
2351 Add an async renderer interface (method + callback) which
2352 is useful for backends like ps.
2354 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2355 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2356 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2357 (ev_job_queue_add_job), (move_job_async), (move_job),
2358 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2360 Add queues for async renderer, these are executed on the
2363 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2364 (ev_job_render_run):
2365 * backend/ev-jobs.h:
2367 If the backend support async renderer interface use it.
2369 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2370 (setup_pixmap), (ps_document_get_type),
2371 (ps_async_renderer_render_pixbuf),
2372 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2374 Implement async renderer interface.
2376 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2378 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2380 Cleanup links job on exit.
2382 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2384 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2385 (drag_data_get_cb), (drag_data_received_cb):
2386 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2387 (drag_data_get_cb), (parse_item_list),
2388 (egg_toolbar_editor_load_actions):
2389 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2390 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2391 (parse_item_list), (parse_toolbars):
2392 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2393 (dvi_pixbuf_put_pixel):
2395 Fix gcc 4.0 warnings
2397 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2399 * ps/ps-document.c: (start_interpreter):
2401 Fix warning when loading ps
2403 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2405 * ps/ps-document.c: (output):
2407 Fix crash when priting gs error messages.
2409 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2411 * backend/ev-page-cache.c: (_ev_page_cache_new):
2412 * backend/ev-page-cache.h:
2414 Use a const to return title so that we dont double
2415 free it. Small cleanup and fix a leak.
2417 * shell/ev-window.c: (update_window_title):
2419 strdup value from get_title.
2421 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2423 * shell/ev-sidebar-links.c: (job_finished_callback),
2424 (ev_sidebar_links_set_document):
2426 Cleanup the old job when changing document
2428 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2430 * shell/ev-stock-icons.c:
2431 * shell/ev-stock-icons.h:
2432 * shell/ev-window.c:
2434 Add stock icons for actions that can appear in toolbar. Fix for
2437 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2439 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2440 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2441 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2442 * backend/ev-page-cache.h:
2443 * shell/ev-view.c: (scroll_to_current_page),
2444 (view_update_range_and_current_page), (get_page_y_offset),
2445 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2446 (ev_view_size_request_continuous),
2447 (ev_view_zoom_for_size_continuous_and_dual_page),
2448 (ev_view_zoom_for_size_continuous):
2450 More compact EvView layout in document with pages of different size.
2452 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2454 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2457 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2459 * shell/ev-view.c: (view_set_adjustment_values):
2460 * shell/ev-window.c: (ev_window_cmd_file_properties):
2462 A bit different fix for rounding problem but it has no
2463 problems on startup. Make properties window transient to parent.
2465 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2467 * pdf/ev-poppler.cc:
2469 More commenting of font stuff.
2471 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2473 * pdf/ev-poppler.cc:
2475 Comment out some more fonts stuff. Should really
2476 work without the poppler patch now.
2478 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2480 * pdf/ev-poppler.cc:
2484 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2486 * data/evince-properties.glade:
2487 * pdf/ev-poppler.cc:
2488 * shell/ev-properties.c: (setup_fonts_view):
2490 Set the column title. Show the dialog only
2491 once everything is setup.
2492 Getting font info can be very slow... will
2493 prolly need to make this threaded too.
2495 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2497 * backend/Makefile.am:
2498 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2499 (ev_document_fonts_get_fonts_model):
2500 * backend/ev-document-fonts.h:
2501 * data/evince-properties.glade:
2502 * pdf/ev-poppler.cc:
2503 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2504 * shell/ev-properties.h:
2505 * shell/ev-window.c: (ev_window_cmd_file_properties):
2507 Implement fonts list. Defined out for now, since it depends
2508 on a not yet committed poppler patch.
2510 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2512 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2515 * shell/ev-window.c: Make sure we add the timeout when we get a
2518 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2519 adjustment->value before calculating the zoom factor to average
2520 out all of our rounding errors. The page no longer 'drifts' when
2523 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2525 * data/evince-properties.glade:
2526 * shell/ev-properties.c: (ev_properties_format_date),
2529 Labels don't expand when the dialogue is resized.
2530 strftime result needs to be converted to UTF-8. Thanks
2531 to Christian Persch <chpe@gnome.org>.
2533 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2535 * data/evince-properties.glade:
2539 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2541 * backend/ev-document-info.h:
2542 * backend/ev-document.c: (ev_document_info_free):
2543 * data/evince-properties.glade:
2544 * pdf/ev-poppler.cc:
2545 * ps/ps-document.c: (ps_document_get_info):
2546 * shell/ev-properties.c: (ev_properties_format_date),
2547 (set_property), (ev_properties_new):
2548 * shell/ev-properties.h:
2549 * shell/ev-window.c: (ev_window_cmd_file_properties):
2551 Rework properties code to take only EvPropertyInfo
2552 in the constructor so that it can be useful for
2553 nautilus plugin too.
2555 Deal with backends that doesnt support some properties.
2556 Make set property code generic.
2558 2005-06-04 Christian Persch <chpe@gnome.org>
2560 * data/evince-properties.glade:
2562 fix spacings, make resizeable, and make data labels
2563 selectable + ellipsised
2565 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2567 * backend/ev-document-info.h:
2569 * data/evince-ui.xml:
2570 * pdf/ev-poppler.cc:
2571 * shell/Makefile.am:
2572 * shell/ev-window.c: (update_action_sensitivity),
2573 (ev_window_cmd_file_properties):
2575 Initial go at file properties. Patch by
2576 Emil Soleyman-Zomalan <emil@soleyman.com>.
2577 Needs love see #169583
2579 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2581 * ps/ps-document.c: (output):
2582 * ps/ps.c: (psscan):
2584 Try to render even if psscan fails.
2586 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2588 * ps/ps.c: (psscan), (pscopydoc):
2590 Port buffered reading code from gv
2592 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2594 * ps/ps-document.c: (interpreter_message), (output):
2596 Do not fail on interpreter messages
2598 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2600 * backend/ev-document-misc.c:
2601 (ev_document_misc_get_thumbnail_frame):
2603 Pages can be 0 x 0, dont assert on this case
2605 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2607 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2608 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2610 Correctly manage our reference on document. Finally the reload
2611 huge leak is gone...
2613 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2615 * ps/ps-document.c: (ps_document_dispose):
2617 Forgot to chain it to the parent. Thanks chpe.
2619 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2621 * ps/ps-document.c: (ps_document_dispose),
2622 (ps_document_class_init), (stop_interpreter), (document_load):
2624 Cleanup dispose a bit. Dont leak the whole pixmap.
2626 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2628 * pdf/ev-poppler.cc:
2630 Release the poppler document on dispose
2632 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2634 * shell/ev-view.c: (ev_view_set_document):
2636 Release ref on the pixbuf cache when changing
2639 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2641 * ps/ps-document.c: (ps_document_get_info):
2645 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2647 * backend/ev-page-cache.c: (ev_page_cache_init),
2648 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2649 * backend/ev-page-cache.h:
2650 * shell/ev-page-action.c: (page_changed_cb):
2652 Set page action entry width depending on labels width. Fix
2655 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2657 * backend/ev-link.c: (ev_link_class_init):
2659 Allow -1 as page value (error)
2661 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2663 * shell/ev-sidebar-thumbnails.c:
2664 (ev_sidebar_thumbnails_set_document):
2665 * shell/ev-view.c: (scroll_to_current_page),
2666 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2667 (page_changed_cb), (on_adjustment_value_changed),
2668 (ev_view_set_document):
2670 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2673 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2676 * djvu/djvu-document.c: (djvu_document_get_page_size):
2678 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2681 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2683 * shell/ev-view.c (draw_one_page): modify the expose handling to
2686 * shell/ev-window.c (update_action_sensitivity): Respect
2687 permissions field. Kowtow to the man.
2689 * pdf/ev-poppler.cc: Get the permissions field.
2691 * tiff/*c: Make a tiny bit more robust.
2693 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2695 * djvu/djvu-document.c:
2697 Pop messages from djvu context message queue.
2699 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2701 * configure.ac, Makefile.am, shell/Makefile.am:
2702 * tiff/Makefile.am, shell/ev-document-types.c:
2704 Cleanup tiff configure checks. Fix for bug 305218.
2706 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2708 * configure.ac: Added "uk" to ALL_LINGUAS.
2710 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2712 * cut-n-paste/zoom-control/ephy-zoom.c:
2713 (ephy_zoom_get_changed_zoom_level):
2714 * cut-n-paste/zoom-control/ephy-zoom.h:
2715 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2716 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2717 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2718 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2719 (zoom_control_changed_cb), (ev_window_init):
2721 Fix minor points related to moving best fit up. Introduce
2722 "zoom" property and make zoom control change it's value on
2723 notify::zoom signals. Fix for 305080.
2725 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2727 * data/evince-ui.xml:
2728 * shell/ev-window.c: (set_view_actions_sensitivity):
2730 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2732 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2736 Depends on poppler 0.3.2
2738 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2740 * cut-n-paste/recent-files/egg-recent-item.c:
2741 (egg_recent_item_get_short_name):
2742 * cut-n-paste/toolbar-editor/Makefile.am:
2743 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2744 (new_pixbuf_from_widget):
2745 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2746 * cut-n-paste/toolbar-editor/egg-marshal.c:
2747 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2748 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2752 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2754 * tiff/tiff-document.c: Rough TIFF backend.
2756 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2760 * cut-n-paste/toolbar-editor/Makefile.am:
2764 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2766 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2767 (ev_view_find_next), (ev_view_find_previous):
2769 Remove the locks around get_n_results
2771 2005-05-21 Juerg Billeter <j@bitron.ch>
2773 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2775 Pass correct number of pages to poppler.
2777 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2781 * data/evince.desktop.in:
2782 * data/evince.desktop.in.in:
2785 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2787 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2789 * shell/ev-view.c: (view_update_adjustments),
2790 (view_set_adjustment_values): cast adjustmen->value to (int)
2791 before using it. Otherwise, we get off by a pixel in some
2794 (draw_one_page): Draw the border on expose.
2796 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2798 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2799 adjustment when the mode changes, #304923
2801 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2803 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2804 flickering on resize but still use gdk_window_scroll on
2807 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2809 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2812 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2814 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2815 second page on page_changed if possible, #304669
2817 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2819 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2820 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2822 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2825 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2826 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2827 (ev_view_zoom_for_size_presentation),
2828 (ev_view_zoom_for_size_continuous_and_dual_page),
2829 (ev_view_zoom_for_size_continuous),
2830 (ev_view_zoom_for_size_dual_page),
2831 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2833 * shell/ev-window.c: (update_view_size),
2834 (ev_window_sizing_mode_changed_cb):
2836 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2837 the scrollbars. It's not 100% right, but it's much closer. Kills
2838 an infinite loop, #304769
2841 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2843 * data/evince-ui.xml:
2844 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2845 * shell/ev-window.c: (set_view_actions_sensitivity):
2847 Make PgUp/Down behave like Space
2849 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2851 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2852 * backend/ev-ps-exporter.h:
2853 * pdf/ev-poppler.cc:
2854 * ps/ps-document.c: (ps_document_ps_export_begin):
2855 * shell/ev-print-job.c: (idle_print_handler):
2857 Adapt to new poppler api
2859 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2861 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2862 (ephy_zoom_control_init):
2864 Translate zoom levels
2866 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2868 * cut-n-paste/zoom-control/ephy-zoom.c:
2869 (ephy_zoom_get_zoom_level_index):
2871 Fix current zoom -> zoom control match
2873 2005-05-18 James Bowes <bowes@cs.dal.ca>
2875 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2876 rather than the scrolled_window that it's in. Fixes bug #304655.
2878 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2880 * shell/ev-view.c: (view_update_adjustments),
2881 (view_set_adjustment_values), (view_update_range_and_current_page),
2882 (view_scroll_to_page), (set_scroll_adjustment),
2883 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2884 (ev_view_scroll), (ev_view_scroll_view),
2885 (ensure_rectangle_is_visible), (find_page_at_location),
2886 (get_link_at_location), (go_to_link), (status_message_from_link),
2887 (ev_view_size_request_continuous_dual_page),
2888 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2889 (ev_view_unrealize), (ev_view_expose_event),
2890 (ev_view_button_press_event), (ev_view_motion_notify_event),
2891 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2892 (draw_rubberband), (highlight_find_results), (draw_one_page),
2893 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2894 (ev_view_init), (find_changed_cb), (page_changed_cb),
2895 (on_adjustment_value_changed), (ev_view_new),
2896 (ev_view_set_document), (ev_view_set_zoom),
2897 (ev_view_set_continuous), (ev_view_set_dual_page),
2898 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2899 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2900 (ev_view_zoom_for_size_presentation),
2901 (ev_view_zoom_for_size_continuous_dual_page),
2902 (ev_view_zoom_for_size_continuous),
2903 (ev_view_zoom_for_size_dual_page),
2904 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2905 (ev_view_get_status), (ev_view_set_status),
2906 (update_find_status_message), (ev_view_get_find_status),
2907 (ev_view_set_find_status), (jump_to_find_result),
2908 (jump_to_find_page), (compute_selections), (clear_selection),
2909 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2910 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2911 (ev_view_update_primary_selection),
2912 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2914 * shell/ev-window.c: (ev_window_open_page_label),
2915 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2917 * shell/ev-window.h:
2918 * shell/main.c: (load_files):
2920 Massive code clean up from Nickolay Shmyrev. Keep page offset
2921 when resizing. Remove the bin_window(). Also, patch from James
2922 Bowes to fix command line page, #300641
2924 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2926 * data/evince-ui.xml:
2929 * shell/ev-window.c: (update_action_sensitivity):
2931 Get rid of View->Normal Size, it's just confusing
2933 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2935 * backend/ev-document-info.h:
2936 * backend/ev-document.c: (ev_document_info_free): Free the
2939 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2940 (clear_range), (add_range), (update_visible_range),
2941 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2942 (ev_sidebar_thumbnails_set_document):
2943 * shell/ev-window.c: (ev_window_setup_document): Only render the
2944 visible thumbnails. It takes an instant to render, but it uses
2947 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2949 * shell/ev-sidebar-links.c: (popup_menu_cb):
2953 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2956 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2957 (button_press_cb), (ev_sidebar_links_construct):
2959 Show the popup menu also on keybindings
2961 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2963 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2964 * shell/ev-window.h:
2966 Expose api to print a range (with dialog). Make private _print use
2969 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2970 (ev_sidebar_links_construct):
2972 Show a print context menu on linkx, it prints the selected
2975 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2977 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2980 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2986 * shell/ev-window.c: (build_comments_string),
2987 (ev_window_cmd_help_about):
2989 Show poppler version/backend and authors
2991 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2993 * cut-n-paste/zoom-control/ephy-zoom.c:
2994 (ephy_zoom_get_zoom_level_index):
2995 * cut-n-paste/zoom-control/ephy-zoom.h:
2997 Move the best fit items at the top of the list
2999 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3001 * shell/ev-marshal.list:
3002 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3003 (activate_cb), (match_selected_cb), (activate_link_cb),
3004 (connect_proxy), (ev_page_action_class_init):
3005 * shell/ev-page-action.h:
3007 Use signals to notify action activation. Hopefully
3008 I did not break completion since I cant test...
3010 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3011 (register_custom_actions):
3013 Connect to page selector actions and also grab focus on
3014 the view when activated.
3016 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3018 * pdf/ev-poppler.cc:
3019 * backend/ev-page-cache.c: make page size calculation consistent
3020 and set it to (int)( width * scale + 0.5). This makes the weird
3021 line going through the middle of the page go away.
3023 * shell/ev-view.c: move painting the background page after
3024 checking the expose area covers us.
3026 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3028 * data/evince-password.glade:
3030 Mark labels as not translatable. Fix for bug 302842.
3032 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3034 * configure.ac: Added "es" to ALL_LINGUAS.
3036 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3038 * data/evince-toolbar.xml:
3039 * shell/ev-window.c: (update_action_sensitivity),
3040 (ev_window_setup_document), (ev_window_set_page_mode),
3043 Remove some leftover code from jrb first continous
3044 attempt. Use the new actions, we still need good icons
3047 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3049 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3051 Update label when connecting proxy. Fix a warning with NULL
3054 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3056 * data/evince-ui.xml:
3057 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3058 * shell/ev-page-action.h:
3059 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3061 Add mnemonic for edit toolbar.
3062 ctrl+l focus the page entry.
3064 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3067 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3069 * shell/main.c: (main):
3071 Put the toolbar xml in evince own dot dir
3073 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3075 * shell/ev-window.c: (ev_window_init):
3077 Make the toolbar not removable
3079 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3081 * data/evince-ui.xml:
3082 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3083 * shell/ev-sidebar-links.h:
3084 * shell/ev-sidebar-thumbnails.c:
3085 (ev_sidebar_thumbnails_get_treeview):
3086 * shell/ev-sidebar-thumbnails.h:
3087 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3088 (ev_view_class_init):
3090 * shell/ev-window.c: (update_action_sensitivity),
3091 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3092 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3093 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3096 This is evil... Make space/backspace global accelerators but
3097 enable them only for some widgets (sidebars and view).
3098 I dont like it, but I dont know a better way... :/
3100 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3102 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3103 (ev_page_action_widget_finalize),
3104 (ev_page_action_widget_class_init), (update_page_cache):
3106 Keep a weak reference on proxy->page_cache so that we
3107 dont try to disconnect the signal if the object is already
3108 gone. Maybe there is a better way to cleanup reference handling
3109 in page action though...
3111 2005-05-10 Juerg Billeter <j@bitron.ch>
3113 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3114 * backend/ev-ps-exporter.h:
3115 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3116 * ps/ps-document.c: (ps_document_ps_export_begin):
3118 Change api to pass print range to ps_exporter_begin. The pdf backend
3119 requires this information.
3121 * shell/ev-print-job.c: (idle_print_handler):
3125 2005-05-10 Juerg Billeter <j@bitron.ch>
3127 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3128 (idle_print_handler)
3129 * shell/ev-window.c: (ev_window_print):
3131 Support printing page range, based on patch by Amaury Jacquot
3133 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3135 * data/evince-toolbar.xml:
3137 Add zoom control to available items
3139 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3141 * shell/ev-window.c: (update_action_sensitivity):
3143 Set slash action insensitive when appropriate
3145 2005-05-10 Christian Persch <chpe@gnome.org>
3147 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3149 Fix warning on the overflow menu
3151 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3153 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3155 Check for uri correctness/existence
3157 2005-05-09 Juerg Billeter <j@bitron.ch>
3159 * shell/ev-window.c: (using_postscript_printer):
3161 LPD printers use postscript, too
3163 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3165 * shell/ev-window.c: (register_custom_actions):
3167 The zoom one is actually sort of useful,
3170 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3172 * shell/ev-window.c: (register_custom_actions):
3174 Hide page/zoom controls from overflow, they
3177 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3179 * cut-n-paste/update-from-egg.sh:
3181 Share it between all cut-n-paste subdirs
3183 * cut-n-paste/recent-files/Makefile.am:
3185 Fix to use "global" update-from-egg.sh
3187 * cut-n-paste/recent-files/egg-recent-model.c:
3188 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3189 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3190 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3191 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3195 * cut-n-paste/toolbar-editor/Makefile.am:
3197 Fix to use "global" update-from-egg.sh
3199 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3203 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3206 * cut-n-paste/Makefile.am:
3207 * cut-n-paste/recent-files/Makefile.am:
3208 * cut-n-paste/toolbar-editor/.cvsignore:
3209 * cut-n-paste/toolbar-editor/Makefile.am:
3210 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3211 (egg_editable_toolbar_get_type), (get_toolbar_position),
3212 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3213 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3214 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3215 (set_item_drag_source), (create_item_from_action), (create_item),
3216 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3217 (popup_toolbar_context_menu_cb), (free_dragged_item),
3218 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3219 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3220 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3221 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3222 (item_added_cb), (item_removed_cb),
3223 (egg_editable_toolbar_construct),
3224 (egg_editable_toolbar_disconnect_model),
3225 (egg_editable_toolbar_deconstruct),
3226 (egg_editable_toolbar_set_model),
3227 (egg_editable_toolbar_set_ui_manager),
3228 (egg_editable_toolbar_set_property),
3229 (egg_editable_toolbar_get_property),
3230 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3231 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3232 (egg_editable_toolbar_new_with_model),
3233 (egg_editable_toolbar_get_edit_mode),
3234 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3235 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3236 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3237 (new_pixbuf_from_widget), (new_separator_pixbuf),
3238 (update_separator_image), (style_set_cb),
3239 (_egg_editable_toolbar_new_separator_image),
3240 (egg_editable_toolbar_get_model):
3241 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3242 * cut-n-paste/toolbar-editor/egg-marshal.c:
3243 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3244 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3245 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3246 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3247 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3248 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3249 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3250 (editor_drag_data_delete_cb), (drag_data_get_cb),
3251 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3252 (editor_create_item), (update_editor_sheet), (setup_editor),
3253 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3254 (parse_item_list), (model_has_action), (update_actions_list),
3255 (egg_toolbar_editor_load_actions):
3256 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3257 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3258 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3259 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3260 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3261 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3262 (egg_toolbars_model_add_separator), (impl_add_item),
3263 (parse_item_list), (egg_toolbars_model_add_toolbar),
3264 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3265 (impl_get_item_data), (impl_get_item_type),
3266 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3267 (egg_toolbars_model_init), (free_toolbar),
3268 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3269 (egg_toolbars_model_remove_toolbar),
3270 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3271 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3272 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3273 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3274 (egg_toolbars_model_get_item_data),
3275 (egg_toolbars_model_get_item_type):
3276 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3277 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3279 * data/evince-toolbar.xml:
3280 * data/evince-ui.xml:
3281 * data/hand-open.png:
3283 * shell/Makefile.am:
3284 * shell/ev-window.c: (update_chrome_visibility),
3285 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3286 (ev_window_dispose), (ev_window_init):
3288 Implement epiphany like toolbar editor. Based on patch by
3289 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3291 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3293 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3295 Use set_cursor instead of set_selection, so that
3296 the keyboard focus moves too.
3298 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3300 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3302 Fix infinite loop when loading Type1 fonts
3304 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3306 * data/evince-ui.xml:
3307 * shell/ev-window.c:
3311 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3315 Make --disable really disable
3317 2005-05-07 Juerg Billeter <j@bitron.ch>
3319 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3321 Compare page labels even without has_labels set, fixes setting page
3324 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3326 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3327 (ev_view_set_cursor), (ev_view_button_press_event),
3328 (ev_view_motion_notify_event), (ev_view_button_release_event),
3331 Implement middle button scrolling. Based on a patch
3332 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3334 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3336 * shell/ev-document-types.c: (get_slow_mime_type),
3337 (get_document_type_from_mime), (ev_document_type_lookup):
3338 * shell/ev-document-types.h:
3340 Change api to lookup from uri. Do fast lookup first, if the
3341 type is unknown try with data sniffing.
3343 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3344 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3348 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3350 * thumbnailer/Makefile.am:
3354 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3361 * data/evince-ui.xml:
3363 Hide presentation mode for now
3365 * shell/ev-view.c: (highlight_find_results):
3367 Show current find selection only on current page
3369 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3371 * shell/ev-view.c: (ev_view_select_all):
3373 Compute size of the actual page, not of
3376 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3378 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3379 (view_rect_to_doc_rect), (compute_selections),
3380 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3381 (ev_view_copy), (ev_view_primary_get_cb),
3382 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3383 (ev_view_button_press_event), (ev_view_motion_notify_event),
3384 (ev_view_button_release_event), (page_changed_cb):
3388 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3390 * shell/ev-view.c: (compute_border), (get_page_extents),
3391 (doc_rect_to_view_rect), (highlight_find_results),
3392 (ev_view_bin_expose), (ev_view_select_all),
3393 (ev_view_motion_notify_event), (update_find_status_message),
3394 (jump_to_find_result), (jump_to_find_page):
3396 First go at fixing search, still buggy
3398 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3400 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3401 dropdown box and button at the top of the sidebar.
3403 2005-05-02 James Bowes <bowes@cs.dal.ca>
3405 * configure.ac: Output zoom-control Makefile.
3406 * cut-n-paste/Makefile.am: build zoom-control subdir.
3407 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3408 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3409 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3410 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3411 * cut-n-paste/zoom-control/ephy-zoom.c:
3412 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3413 from epiphany, and modified to add a separator into the menu.
3414 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3415 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3416 zoom-control action.
3417 * shell/Makefile.am: Include zoom-control flags.
3418 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3419 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3420 (ev_view_zoom_for_size_presentation),
3421 (ev_view_zoom_for_size_continuous_and_dual_page),
3422 (ev_view_zoom_for_size_continuous),
3423 (ev_view_zoom_for_size_dual_page),
3424 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3425 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3426 ev_view_get_zoom and ev_view_get_sizing_mode.
3428 * shell/ev-window.c: (update_action_sensitivity),
3429 (update_sizing_buttons), (zoom_control_changed_cb),
3430 (register_custom_actions): Initialize and use the zoom-control
3433 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3435 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3436 preview cache back to 1. Don't know when it got set to 0.
3438 * shell/ev-view.c: (compute_border), (ev_view_realize),
3439 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3440 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3441 (ev_view_get_fullscreen), (ev_view_set_presentation),
3442 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3443 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3445 * shell/ev-window.c:
3446 (update_chrome_visibility),
3447 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3448 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3449 (update_document_mode), (ev_window_update_fullscreen_action),
3450 (ev_window_fullscreen), (ev_window_unfullscreen),
3451 (ev_window_cmd_view_fullscreen),
3452 (ev_window_update_presentation_action),
3453 (ev_window_run_presentation), (ev_window_stop_presentation),
3454 (ev_window_cmd_view_presentation), (ev_window_state_event),
3455 (ev_window_focus_in_event), (ev_window_focus_out_event),
3456 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3457 * data/evince-ui.xml: Initial presentation mode. We should
3458 probably hide this until it's done, as it's quite rough. Also,
3459 change full-screen to fullscreen and add two getters to EvView.
3461 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3463 * shell/ev-page-action.c: (update_page_cache),
3464 (ev_page_action_dispose):
3465 * shell/ev-window.c: (destroy_fullscreen_popup),
3466 (ev_window_create_fullscreen_popup):
3468 Use connect_object rather than explicitly
3469 disconnect on dispose.
3471 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3473 * shell/ev-page-action.c: (update_page_cache),
3474 (ev_page_action_dispose):
3476 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3478 * backend/ev-page-cache.c: (_ev_page_cache_new),
3479 (ev_page_cache_set_page_label),
3480 (ev_page_cache_has_nonnumeric_page_labels):
3481 * backend/ev-page-cache.h:
3482 * shell/ev-page-action.c: (update_pages_label):
3484 If all page labels are numeric, fallback to default
3485 way to display number of pages. See bug 173185.
3487 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3489 * shell/ev-page-action.c: (ev_page_action_dispose):
3490 * shell/ev-view.c: (view_update_range_and_current_page):
3491 * shell/ev-window.c: (ev_window_dispose):
3493 Set page on scroll in continuous mode. Fixes bug 301986.
3494 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3496 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3500 Require poppler 0.3.0
3502 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3504 * shell/Makefile.am, configure.ac: Fix build problems
3505 with t1lib. Bug 301996.
3507 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3509 * shell/ev-view.c: (ev_view_scroll_event):
3511 Scroll up increase zoom
3513 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3515 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3516 (ev_view_set_sizing_mode),
3517 (ev_view_zoom_for_size_continuous_and_dual_page),
3518 (ev_view_zoom_for_size_continuous):
3519 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3520 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3521 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3524 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3525 Fix for 165473 and 165472.
3527 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3530 * thumbnailer/Makefile.am:
3531 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3532 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3533 * thumbnailer/evince-thumbnailer.schemas.in:
3535 Make thumbnailer schemas translatable. Fix for bug 301773
3537 * thumbnailer/evince-thumbnailer-djvu.schemas:
3538 * thumbnailer/evince-thumbnailer-dvi.schemas:
3539 * thumbnailer/evince-thumbnailer.schemas:
3543 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3545 * shell/ev-view.c (ev_view_init): forgot to set this.
3547 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3549 * shell/ev-view.c: (find_page_at_location),
3550 (get_link_at_location),
3551 (ev_view_set_show_border), (ev_view_set_spacing),
3552 (ev_view_zoom_for_size_continuous_and_dual_page),
3553 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3554 Also, add a quick fix measuring of widths. Also, removed
3555 ev_view_set_spacing and ev_view_set_show_border.
3557 * shell/ev-window.c: (ev_window_unfullscreen),
3558 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3560 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3562 * shell/ev-view.c: (view_update_range_and_current_page),
3565 Fix crash on exit and scrolling to page in continuous view.
3567 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3570 * backend/ev-page-cache.c: (_ev_page_cache_new),
3571 (ev_page_cache_get_max_width_size),
3572 (ev_page_cache_get_max_height_size):
3573 * backend/ev-page-cache.h:
3574 * data/evince-ui.xml:
3575 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3576 * shell/ev-view.c: (view_update_adjustments),
3577 (view_update_range_and_current_page), (get_bounding_box_size),
3578 (ev_view_size_request_continuous_and_dual_page),
3579 (ev_view_size_request_continuous),
3580 (ev_view_size_request_dual_page),
3581 (ev_view_size_request_single_page), (ev_view_size_request),
3582 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3583 (ev_view_bin_expose), (ev_view_expose_event),
3584 (ev_view_set_property), (ev_view_get_property),
3585 (ev_view_class_init), (ev_view_init), (ev_view_new),
3586 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3587 (ev_view_set_dual_page), (ev_view_set_full_screen),
3588 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3589 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3590 (ev_view_zoom_out), (zoom_for_size_fit_width),
3591 (zoom_for_size_best_fit),
3592 (ev_view_zoom_for_size_continuous_and_dual_page),
3593 (ev_view_zoom_for_size_continuous),
3594 (ev_view_zoom_for_size_dual_page),
3595 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3596 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3598 * shell/ev-window.c: (update_action_sensitivity),
3599 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3600 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3601 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3602 (ev_window_cmd_view_zoom_out), (update_view_size),
3603 (ev_window_set_sizing_mode), (ev_window_init):
3605 Add Continuous and Dual page modes.
3607 2005-04-23 James Bowes <bowes@cs.dal.ca>
3609 * dvi/dvi-document.c: (dvi_document_load),
3610 (dvi_document_thumbnails_get_thumbnail),
3611 (dvi_document_init_params): Fix up some mixups between
3612 width and height to correct thumbnail rendering.
3614 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3616 * dvi/mdvi-lib/private.h:
3617 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3619 Suppess output for kpathsea during font generation. Thanks to
3622 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3629 * Makefile.am: fix distcheck.
3631 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3633 * shell/ev-sidebar-links.c: (selection_changed_callback),
3634 (update_page_callback), (row_activated_callback),
3635 (job_finished_callback), (ev_sidebar_links_set_document):
3637 Fix for bug #169901. Double click on links expands tree.
3639 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3641 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3642 hard-coded style. Fix for bug 170111
3644 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3646 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3649 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3651 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3653 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3655 * pdf/ev-poppler.cc:
3656 * shell/ev-view.c: (highlight_find_results):
3658 Fix find on single page documents
3660 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3662 * data/evince.schemas.in: fix for bug 301390
3664 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3666 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3667 (ev_view_zoom_out), (ev_view_zoom_normal):
3669 * shell/ev-window.c: (update_action_sensitivity),
3670 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3671 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3672 (ev_window_cmd_view_normal_size):
3674 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3675 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3678 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3682 Depend on 2.57, 2.59 doesnt seem to be necessary
3684 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3686 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3689 Put back total number of pages as (1 of 1234)
3691 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3693 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3696 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3697 function. This helps debugging.
3699 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3701 * djvu/djvu-document.c: (djvu_document_class_init),
3702 (djvu_document_get_info), (djvu_document_document_iface_init):
3703 * dvi/dvi-document.c: (dvi_document_class_init),
3704 (dvi_document_get_info), (dvi_document_document_iface_init):
3706 Dummy implementation of get_info method for dvi and djvu. Fix
3707 crashes with those backends
3709 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3711 * data/evince.desktop.in:
3713 Add application/x-gzpostscript
3715 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3717 * data/evince.schemas.in: Added real long descriptions,
3720 * README: Added actual text, closes bug 171869
3722 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3724 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3728 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3730 * backend/ev-document-info.h:
3732 s/GDate */GDate so we can just use g_free
3734 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3736 * shell/ev-window.c: (update_document_mode),
3737 (ev_window_setup_document):
3739 Show the window in fullscreen when specified by
3742 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3744 * backend/ev-document.c: (ev_document_class_init),
3745 (ev_document_get_info), (ev_document_render_pixbuf):
3746 * backend/ev-document.h:
3747 * backend/ev-page-cache.c: (_ev_page_cache_new):
3748 * pdf/ev-poppler.cc:
3749 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3750 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3751 * ps/ps-document.c: (ps_document_class_init), (document_load),
3752 (ps_document_get_info), (ps_document_document_iface_init):
3754 Remove get_title from the interface, we can just use document info
3756 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3758 * backend/Makefile.am:
3759 * backend/ev-document.c: (ev_document_render_get_info):
3760 * backend/ev-document.h:
3761 * pdf/ev-poppler.cc:
3763 Initial support for document info. Based on jrb patch.
3765 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3767 * shell/ev-window.c: (ev_window_state_event),
3768 (ev_window_class_init), (ev_window_init):
3770 Doesn't show resize grip when maximized. See bug #301053
3772 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3776 ev-sidebar-thumbnails now has translatable labels
3778 * shell/Makefile.am:
3779 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3780 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3781 (ev_sidebar_links_page_iface_init):
3782 * shell/ev-sidebar-links.h:
3783 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3784 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3785 (ev_sidebar_page_get_label):
3786 * shell/ev-sidebar-page.h:
3787 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3788 (ev_sidebar_thumbnails_set_document),
3789 (ev_sidebar_thumbnails_support_document),
3790 (ev_sidebar_thumbnails_get_label),
3791 (ev_sidebar_thumbnails_page_iface_init):
3792 * shell/ev-sidebar-thumbnails.h:
3793 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3794 (ev_sidebar_set_document):
3795 * shell/ev-sidebar.h:
3796 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3798 Small rework of sidebar code. Now sidebar pages should implement
3799 EvSidebarPage interface. That makes page management in EvSidebar
3800 easier. See bug #164811 for details
3802 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3804 * shell/ev-application.c: (ev_application_open):
3805 * shell/ev-document-types.c:
3807 Fix build error and small problem with application exit
3809 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3811 * thumbnailer/Makefile.am:
3812 * thumbnailer/evince-thumbnailer-djvu.schemas:
3813 * thumbnailer/evince-thumbnailer-dvi.schemas:
3815 Conditionally install schemas for djvu/dvi thumbnailer
3817 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3819 * shell/ev-document-types.h:
3820 * shell/ev-document-types.c:
3821 New files, handling the mapping from mimetypes to backends
3823 * shell/ev-window.c:
3824 * thumbnailer/evince-thumbnailer.c:
3825 Use the ev-document-types code
3827 * shell/Makefile.am:
3828 Added new convenience library libevbackendfactory_la, containing
3829 the new mimetype->backend logic; moved the backends into it.
3831 * thumbnailer/Makefile.am:
3832 Make the thumbnailer link with the libevbackend.la convenience
3833 library, rather than having a duplicate of the backend logic here.
3835 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3837 * shell/ev-stock-icons.c: constify some vars.
3838 * shell/ev-window.c: ditto.
3840 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3842 * ps/ps-document.c (get_page_orientation):
3844 Respect document orientation
3846 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3850 * shell/Makefile.am:
3852 Move library dependencies to components.
3854 * shell/ev-window.c: (update_window_title),
3855 (start_loading_document):
3857 Fix display of uris with spaces. Bug 168358.
3859 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3861 * shell/ev-sidebar-links.c: (selection_changed_cb):
3862 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3863 (ev_view_button_release_event), (ev_view_set_document):
3865 * shell/ev-window.c: (find_bar_search_changed_cb):
3866 * shell/ev-window.h: Minor cleanups removing some dead code.
3868 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3870 * backend/ev-page-cache.c: (_ev_page_cache_new):
3872 Set current page to 0 if document has pages.
3874 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3876 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3878 Initialize GError to NULL, fix a crash when loading fails.
3880 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3882 * shell/ev-window.c: (update_view_size):
3884 Calculate shadow size only when there is actually
3887 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3889 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3892 Allow setting view spacing, default to 0
3894 * shell/ev-window.c: (ev_window_unfullscreen),
3895 (ev_window_cmd_view_fullscreen), (ev_window_init):
3897 Remove spacing in fullscreen mode
3899 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3901 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3902 (ev_view_size_request), (expose_bin_window),
3903 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3905 * shell/ev-window.c: (ev_window_unfullscreen),
3906 (ev_window_cmd_view_fullscreen):
3908 Do not draw the border in fulscreen
3910 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3912 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3913 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3914 (find_page_at_location), (page_changed_cb):
3916 Rework border calculation, so that I can more easily disable it.
3917 Code somewhat cleaner too.
3919 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3921 * backend/ev-page-cache.c: (ev_page_cache_init),
3922 (_ev_page_cache_new):
3924 Remove some assertions, documents can have 0 pages.
3925 Make initial current page -1.
3927 * shell/ev-page-action.c: (page_changed_cb):
3929 Show "" if current page is -1
3931 * shell/ev-window.c: (update_action_sensitivity),
3932 (ev_window_setup_document):
3934 When document has 0 pages do not set the view
3935 and make nearly everything insensitive.
3937 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3939 * shell/ev-page-view.c:
3940 * shell/ev-page-view.h:
3942 Remove unused files.
3944 * shell/ev-sidebar-thumbnails.c:
3945 (ev_sidebar_thumbnails_set_document):
3946 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3947 (ev_sidebar_supports_document):
3948 * shell/ev-sidebar.h:
3949 * shell/ev-window.c: (ev_window_setup_document):
3951 Doesn't show thumbnails if document has 1 page. Make
3952 sidebar menu entries sensitive only if if they have
3953 sense. Fix bug 164811.
3955 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3957 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3958 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3959 (ev_view_zoom_out), (ev_view_set_size):
3961 Rework sizing to deal with documents with not uniform page
3964 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3966 * backend/ev-page-cache.c: (_ev_page_cache_new):
3968 Fix several page size caching bugs
3970 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3972 * shell/ev-window.c: (set_action_properties):
3974 Make all toolbar items translatable
3976 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3978 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3979 (save_page_list), (ps_document_save),
3980 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3981 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3982 (ps_document_ps_exporter_iface_init):
3985 Based on a patch by J�rg Billeter <j@bitron.ch>
3987 Implement print and save a copy for the ps backend.
3989 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3991 * backend/ev-document.h:
3992 * djvu/djvu-document.c: (djvu_document_can_get_text),
3993 (djvu_document_document_iface_init):
3994 * dvi/dvi-document.c: (dvi_document_can_get_text),
3995 (dvi_document_document_iface_init):
3996 * pdf/ev-poppler.cc:
3997 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3998 (pixbuf_document_document_iface_init):
3999 * ps/ps-document.c: (ps_document_can_get_text),
4000 (ps_document_document_iface_init):
4001 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4002 * shell/ev-window.c: (update_action_sensitivity):
4004 Fix the crash when trying to copy in backends that doesnt
4005 support it. We can implement a better solution once we
4006 do real text selection.
4008 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4010 * data/evince-ui.xml:
4011 * shell/ev-window.c: (ev_window_cmd_escape):
4013 Work around the Escape conflict (find bar and unfullscreen)
4015 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4017 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4019 Fix for #300233. Next page correctly handles document end.
4021 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4022 (ev_sidebar_thumbnails_class_init),
4023 (ev_sidebar_thumbnails_set_document),
4024 (ev_sidebar_thumbnails_clear_job),
4025 (ev_sidebar_thumbnails_clear_model):
4027 Cleanup thumbnail jobs on document changes.
4029 * shell/ev-view.c: (add_scroll_binding_keypad),
4030 (add_scroll_binding_shifted), (ev_view_class_init):
4032 Shift + Space scrolls up. Fix for #173184
4034 * shell/ev-window.c: (ev_window_open_page),
4035 (ev_window_cmd_view_reload):
4037 Fix reload (Bug #300094)
4039 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4042 * dvi/mdvi-lib/assoc.c:
4043 * dvi/mdvi-lib/assoc.h: Removed garbage files
4045 * dvi/mdvi-lib/bitmap.c:
4046 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4047 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4048 * dvi/mdvi-lib/color.h: Antialias of rules
4050 * dvi/mdvi-lib/common.h:
4051 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4052 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4053 * dvi/mdvi-lib/files.c:
4054 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4055 * dvi/mdvi-lib/mdvi.h:
4056 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4057 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4058 * dvi/mdvi-lib/util.c: Fix compile warnings
4060 * dvi/dvi-document.c:
4061 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4062 (dvi_document_thumbnails_get_thumbnail),
4063 (dvi_document_document_thumbnails_iface_init):
4064 * dvi/mdvi-lib/Makefile.am:
4065 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4066 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4068 Dvi backend now renders thumbnails
4070 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4072 * shell/main.c: (main):
4074 Save accelerators on exit. Fixes bug #172095.
4076 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4078 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4079 update priority" comment.
4081 * backend/ev-job-queue.c: Give a way to change priority.
4083 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4085 * shell/ev-page-action.c: Fix logic.
4087 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4089 * shell/ev-view.c: (ev_view_can_find_next):
4090 * shell/ev-window.c: (ev_window_setup_document):
4092 Check that the document supports find
4094 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4096 * data/evince-ui.xml:
4097 * shell/ev-view.c: (ev_view_can_find_next):
4099 * shell/ev-window.c: (update_action_sensitivity),
4100 (find_changed_cb), (ev_window_setup_document),
4101 (ev_window_cmd_edit_find_next):
4105 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4107 * pdf/ev-poppler.cc:
4108 * shell/ev-print-job.c: (idle_print_handler):
4110 Make printing work again
4112 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4114 * shell/ev-page-action.h:
4115 * shell/ev-page-action.c: (ev_page_action_widget_init),
4116 (ev_page_action_widget_class_init), (page_changed_cb),
4117 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4118 (get_filter_model_from_model), (match_selected_cb),
4119 (display_completion_text), (match_completion), (update_model),
4120 (connect_proxy), (ev_page_action_set_property),
4121 (ev_page_action_get_property), (ev_page_action_set_document),
4122 (ev_page_action_set_model), (ev_page_action_class_init): Big
4123 reworking to make completions work iff we have >= GTK-2.7.0
4125 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4126 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4127 (job_finished_cb): We now have a 'model' property that is set when
4128 the links are loaded. This can be caught with "notify::model"
4130 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4131 listen for the model to be set, and propagate it to the action.
4133 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4135 * cut-n-paste/recent-files/egg-recent-item.c:
4136 (egg_recent_item_set_uri), (make_valid_utf8),
4137 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4138 * cut-n-paste/recent-files/egg-recent-item.h:
4140 Update egg-recent from libegg. This should fix long
4141 startup problem. For details see
4142 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4144 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4146 * cut-n-paste/recent-files/Makefile.am:
4147 * data/evince-ui.xml, shell/Makefile.am:
4148 * shell/ev-application.c, shell/ev-application.h:
4149 * shell/ev-window.c: Recent files support.
4151 * configure.ac: Added "ru" to ALL_LINGUAS.
4153 * dvju: new backend to support DJVU files.
4154 * dvi: new backend to support DVI.
4156 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4157 * ev-application.c: Support for new backends.
4159 * help, ev-window.c, main.c shell/Makefile.am:
4160 Evince user documentation.
4162 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4165 * shell/ev-window.c:
4166 * thumbnailer/evince-thumbnailer.c:
4168 s/pdf-document/ev-poppler
4170 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4177 * ps/ps-document.c: (setup_pixmap):
4181 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4183 * backend/ev-page-cache.c (ev_page_cache_next_page):
4184 * shell/ev-window.c (ev_window_cmd_go_next_page)
4185 (ev_window_cmd_go_first_page): Fix of by one errors.
4187 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4189 * ps/ps-document.c: (get_page_box):
4191 Fix page size calculation
4193 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4195 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4196 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4197 (get_page_orientation), (setup_page), (document_load),
4198 (ps_document_get_page_size), (render_pixbuf_idle):
4201 More refactoring to adapt to EvDocument changes
4203 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4205 * ps/ps-document.c: (start_interpreter):
4207 Actually add alpha args
4209 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4211 * pdf/ev-poppler.cc:
4213 Make clipboard work again
4215 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4217 Make searching work again.
4219 * backend/ev-document.c:
4220 * backend/ev-document.h:
4221 * backend/ev-document-find.c:
4222 * backend/ev-document-find.h: Change EvDocumentIface so we no
4223 longer store the current page or zoom level in the document. The
4224 consequence is that all calls that operate on the current page now
4225 instead take the page number as an extra argument, and all
4226 coordinates are now doubles in document coordinate system.
4228 * pdf/ev-poppler.cc:
4229 * pixbuf/pixbuf-document.c:
4230 * ps/ps-document.c: Update backends accordingly.
4232 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4236 Add required gettext version
4238 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4240 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4241 make F1 bring up non-existent help.
4243 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4244 epiphany's find bar, #167477
4246 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4247 <emil@nishra.com> to add space-bar scrolling,
4249 * shell/ev-window.c (static GtkActionEntry entries): add default
4250 keybinding for Help (F1)
4253 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4254 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4257 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4260 * pixbuf/pixbuf-document.c:
4262 Got pixbuf backend working again
4264 2005-04-01 Steve Murphy <murf@e-tools.com>
4266 * configure.in: Added "rw" to ALL_LINGUAS.
4268 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4270 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4271 model types, noticed by Martin Kretzschmar.
4273 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4275 * pdf/ev-poppler.cc: Implement search based on
4276 poppler_page_find_text(). Currently a bit crude since we remember
4277 all matches from all pages. Also, we grab the big document lock
4278 when we search since searching changes the underlying stream and
4279 thus conflicts with the rendering thread.
4281 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4282 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4283 (ev_view_find_previous): Fix some page indexes to be 0 based,
4284 offset rubber band by view offset,
4286 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4288 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4290 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4292 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4293 completely because I didn't understand GtkActions. I should
4294 read Marco's code more carefully in the future.
4296 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4299 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4301 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4302 PopplerRectangle change from poppler CVS.
4304 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4306 * backend/ev-document.c: (ev_document_get_page_label):
4307 * backend/ev-document.h:
4308 * backend/ev-page-cache.c: (_ev_page_cache_new),
4309 (ev_page_cache_get_page_label):
4310 * backend/ev-page-cache.h:
4311 * pdf/ev-poppler.cc:
4312 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4313 (links_page_num_func):
4314 * shell/ev-sidebar-thumbnails.c:
4315 (ev_sidebar_thumbnails_set_document):
4316 * shell/ev-view.c: (status_message_from_link),
4317 (ev_view_motion_notify_event):
4318 * shell/ev-window.c: (document_supports_sidebar): Add in page
4319 label support. It's not perfect yet, but it's the first 'feature'
4321 Also, fix a bogus comment noticed by crispin.
4323 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4325 * Makefile.am: Remove pixbuf backend for now
4327 * configure.ac: Require poppler-glib instead of just poppler.
4329 * backend/ev-document-thumbnails.h: Add a comment
4331 * backend/ev-document.h:
4332 * backend/ev-document.c: (ev_document_class_init),
4333 (ev_document_load), (ev_document_get_link),
4334 (ev_document_get_links): Remove 3 methods and add get_links.
4337 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4338 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4340 * backend/ev-link.c: (ev_link_set_title),
4341 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4342 (ev_link_mapping_find):
4343 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4345 * backend/ev-page-cache.c: (ev_page_cache_init),
4346 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4347 (ev_page_cache_get_size), (ev_page_cache_next_page),
4348 (ev_page_cache_prev_page): Fix to be 0 based.
4352 * pdf/ev-poppler.cc: New backend.
4354 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4355 (ps_document_get_page), (ps_document_document_iface_init):
4357 * shell/ev-pixbuf-cache.h:
4358 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4359 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4360 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4361 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4362 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4363 Fix up code to grab a page cache per each doc. Also, fix to be 0
4366 * shell/ev-sidebar-thumbnails.c:
4367 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4368 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4370 * shell/ev-view.c: (status_message_from_link),
4371 (find_page_at_location), (get_link_at_location),
4372 (ev_view_motion_notify_event), (ev_view_button_release_event),
4373 (ev_view_init): Use the new link code. Fix to be 0 based.
4375 * shell/ev-window.c: (update_action_sensitivity),
4376 (document_supports_sidebar): 0 based.
4378 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4380 * pdf/pdf-document.cc: Patch from Fernando Herrera
4381 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4384 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4386 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4387 1 to the page, as this seems to be 1 based. I thought we has this
4390 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4393 * backend/Makefile.am:
4394 * backend/ev-document-links.c:
4395 (ev_document_links_has_document_links),
4396 (ev_document_links_get_links_model):
4397 * backend/ev-document-links.h:
4398 * backend/ev-document.c: (ev_document_get_page_cache),
4399 (ev_document_get_doc_mutex), (ev_document_load),
4400 (ev_document_save), (ev_document_get_title),
4401 (ev_document_get_n_pages), (ev_document_set_page),
4402 (ev_document_get_page), (ev_document_set_target),
4403 (ev_document_set_scale), (ev_document_set_page_offset),
4404 (ev_document_get_page_size), (ev_document_get_text),
4405 (ev_document_get_link), (ev_document_render),
4406 (ev_document_render_pixbuf), (ev_document_scale_changed):
4407 * backend/ev-document.h:
4408 * backend/ev-job-queue.c: (remove_object_from_queue),
4409 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4410 (no_jobs_available_unlocked), (ev_render_thread),
4411 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4412 (ev_job_queue_remove_job):
4413 * backend/ev-job-queue.h:
4414 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4415 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4416 (ev_job_links_class_init), (ev_job_render_init),
4417 (ev_job_render_dispose), (ev_job_render_class_init),
4418 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4419 (ev_job_thumbnail_class_init), (ev_job_finished),
4420 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4421 (ev_job_render_run), (ev_job_thumbnail_new),
4422 (ev_job_thumbnail_run):
4423 * backend/ev-jobs.h:
4424 * backend/ev-link.c:
4425 * backend/ev-link.h:
4426 * backend/ev-page-cache.c: (ev_page_cache_init),
4427 (ev_page_cache_class_init), (ev_page_cache_finalize),
4428 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4429 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4430 (ev_page_cache_set_link), (ev_page_cache_get_title),
4431 (ev_page_cache_get_size), (ev_page_cache_next_page),
4432 (ev_page_cache_prev_page):
4433 * backend/ev-page-cache.h:
4434 * pdf/pdf-document.cc:
4437 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4438 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4439 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4440 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4441 (is_interpreter_ready), (output), (catchPipe), (input),
4442 (start_interpreter), (check_filecompressed), (compute_dimensions),
4443 (ps_document_enable_interpreter), (document_load),
4444 (ps_document_next_page), (render_page), (ps_document_set_page),
4445 (ps_document_set_scale), (render_pixbuf_idle),
4446 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4448 * shell/Makefile.am:
4449 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4450 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4451 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4452 (ev_pixbuf_cache_new), (job_finished_cb),
4453 (check_job_size_and_unref), (move_one_job),
4454 (ev_pixbuf_cache_update_range), (find_job_cache),
4455 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4456 (ev_pixbuf_cache_add_jobs_if_needed),
4457 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4458 * shell/ev-pixbuf-cache.h:
4459 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4460 (idle_print_handler):
4461 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4462 (selection_changed_cb), (create_loading_model),
4463 (ev_sidebar_links_construct), (links_page_num_func),
4464 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4465 (update_page_callback), (job_finished_cb),
4466 (ev_sidebar_links_set_document):
4467 * shell/ev-sidebar-thumbnails.c:
4468 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4469 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4470 (page_changed_cb), (thumbnail_job_completed_callback),
4471 (ev_sidebar_thumbnails_set_document):
4472 * shell/ev-sidebar-thumbnails.h:
4473 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4474 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4475 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4476 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4477 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4478 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4479 (ev_view_button_release_event), (ev_view_scroll_view),
4480 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4481 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4482 (ev_view_new), (job_finished_cb), (page_changed_cb),
4483 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4484 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4485 (ev_view_find_previous):
4487 * shell/ev-window.c: (update_action_sensitivity),
4488 (ev_window_open_page), (update_window_title), (update_total_pages),
4489 (page_changed_cb), (ev_window_setup_document),
4490 (password_dialog_response), (ev_window_cmd_save_as),
4491 (ev_window_print), (ev_window_cmd_go_previous_page),
4492 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4493 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4494 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4495 * shell/main.c: (main):
4497 Merge evince-threads branch
4499 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4501 * configure.ac: Added "lt" to ALL_LINGUAS.
4503 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4510 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4512 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4514 Fix here also the thumbnails 1-basedness :)
4516 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4523 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4525 * pdf/pdf-document.cc:
4526 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4527 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4529 Fix the mess we did with thumbnails and 1-basedness
4531 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4533 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4535 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4542 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4545 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4546 (gtk_gs_defaults_get_alpha_parameters),
4547 (gtk_gs_defaults_get_ungzip_cmd),
4548 (gtk_gs_defaults_get_unbzip2_cmd):
4550 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4551 (ps_document_get_orientation), (document_load),
4552 (ps_document_goto_page), (ps_document_set_page_size):
4555 Some more sanitization of the ps backend. Remove a lot
4556 of unused code and do not base our defaults on ggv
4559 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4561 * thumbnailer/evince-thumbnailer.schemas:
4562 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4563 (main): add -s option for thumbnail size.
4565 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4569 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4572 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4574 * pdf/pdf-document.cc:
4576 Remove 4 pixels of useless border from the
4579 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4581 * backend/ev-document-thumbnails.c:
4582 (ev_document_thumbnails_get_thumbnail):
4583 * backend/ev-document-thumbnails.h:
4585 Rework API a bit. Add a border flag and
4586 change sizing logic (now the size we specify
4587 applies to the bigger dimension).
4589 * pdf/pdf-document.cc:
4590 * pixbuf/pixbuf-document.c:
4591 (pixbuf_document_thumbnails_get_thumbnail):
4592 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4593 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4595 Adapt to the new API and do not draw a border for nautilus
4598 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4600 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4601 take thumbnails from page "0" instead of "1". Added a copyright header.
4603 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4605 * ps/ps-document.c: (set_up_page), (start_interpreter):
4607 Make it C89 compliant
4609 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4614 * pdf/pdf-document.cc:
4615 * thumbnailer/Makefile.am:
4616 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4618 * thumbnailer/evince-thumbnailer.schemas:
4619 * thumbnailer/pdf-icon.png:
4621 Add a nautilus thumbnailer.
4622 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4624 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4632 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4634 Use poppler instead of including xpdf source code. Poppler is a
4635 fork of xpdf to build it as a shared library. See
4636 http://freedesktop.org/wiki/Software/poppler.
4638 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4641 * pdf/Makefile.am: Build libpdfdocument.a here.
4643 * pdf/GDKSplashOutputDev.cc:
4644 * pdf/GDKSplashOutputDev.h:
4645 * pdf/GnomeVFSStream.cc:
4646 * pdf/GnomeVFSStream.h:
4649 * test-gdk-output-dev.cc
4651 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4654 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4656 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4658 Clear idle stack before unsetting the document
4660 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4662 * ps/ps-document.c: (ps_document_widget_event),
4663 (ps_document_set_target), (ps_document_finalize),
4664 (ps_document_get_page):
4666 Disconnect the widget event signal on finalize.
4669 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4671 * ps/ps-document.c: (set_up_page):
4673 If there is no bpixmap create one, even if size
4676 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4678 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4679 (set_up_page), (document_load), (ps_document_set_zoom):
4681 Default page is 0. Calculate size even when we have no
4684 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4686 * shell/ev-sidebar.c: expand the selection widget to be always as
4689 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4691 * shell/ev-sidebar-thumbnails.c:
4692 (ev_sidebar_thumbnails_set_document):
4694 Clear the list store when setting document
4696 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4698 * shell/ev-page-action.c: (update_entry), (sync_entry),
4699 (activate_cb), (entry_size_request_cb), (create_tool_item),
4702 Use an entry for the page control instead of spinbuttons
4704 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4706 * data/evince.schemas.in:
4708 Correct confusing string
4710 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4712 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4713 for real. Gosh, how long has this been broken.
4715 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4716 check for a NULL link. We crash otherwise.
4718 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4725 2005-02-25 Sebastien Bacher <seb128@debian.org>
4727 * configure.ac: add the french translation.
4729 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4731 * shell/ev-window.c:
4733 Remove unused header -> fix distcheck
4735 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4737 * shell/ev-window.c: (update_window_title),
4738 (ev_window_popup_password_dialog):
4740 Unescape filename for display
4742 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4744 * pdf/xpdf/pdf-document.cc:
4746 In get_page_size deal with rotation. Also
4747 cleanup the function a bit.
4749 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4751 * pdf/xpdf/pdf-document.cc:
4753 Fix crash when opening in new window
4755 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4759 Check ghostscript >= 7
4761 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4763 * shell/ev-window.c:
4765 Make page width the default sizing mode
4767 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4768 Marco Pesenti Gritti <marco@gnome.org>
4770 * shell/ev-window.c: Remember the sidebar size
4772 * data/evince.schemas.in: Add a new gconf key to store the size of
4775 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4777 * data/evince-ui.xml:
4778 * shell/ev-window.c: (update_action_sensitivity),
4779 (ev_window_cmd_view_reload):
4781 Add a "Reload" action and menu entry
4783 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4785 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4786 iff the type doesn't support thumbnailing and indexing.
4788 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4790 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4792 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4794 * pdf/splash/Splash.cc:
4796 Port fix for a crasher from kde bug
4797 http://bugs.kde.org/show_bug.cgi?id=97131
4799 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4801 * pdf/xpdf/pdf-document.cc:
4803 Return a link even if it's of an unrecognized
4804 type. Otherwise we go in an infinte cycle.
4806 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4808 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4809 (size_allocate_cb), (ev_window_set_sizing_mode):
4811 Update size when switching mode
4813 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4815 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4816 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4817 (ev_window_cmd_view_normal_size):
4819 Fix size toggle buttons behavior
4821 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4823 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4824 (doc_rect_to_view_rect), (ev_view_size_allocate),
4825 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4826 (scale_changed_callback):
4828 Do not cache offsets in size_allocate.
4830 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4832 * shell/ev-view.c: (ev_view_size_allocate):
4834 Calculate offsets before calling the parent
4835 class (which does a redraw)
4837 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4839 * pdf/xpdf/pdf-document.cc:
4841 Fix a crasher on exit. Unused code, put a TODO
4843 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4845 * backend/ev-document.c: (ev_document_class_init),
4846 (ev_document_page_changed), (ev_document_scale_changed):
4847 * backend/ev-document.h:
4849 Separate page/scale notifications
4851 * pdf/xpdf/pdf-document.cc:
4853 Emit the new signals.
4854 Do not display the pdf page in _render, do it
4855 when scale/page are requested.
4857 * ps/ps-document.c: (ps_document_set_zoom),
4858 (ps_document_widget_event):
4861 Emit the new signals.
4863 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4864 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4865 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4866 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4868 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4869 (ev_window_cmd_view_page_width), (size_allocate_cb),
4870 (ev_window_set_sizing_mode):
4872 Rework sizing to be pixel based.
4873 There are bugs but should be already way better.
4875 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4877 * shell/ev-window.c: (ev_window_init):
4879 Do not allow to shrink sidebar smaller then
4882 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4884 * shell/ev-sidebar.[ch]
4885 * shell/ev-window.c:
4887 Improved sidebar widget. Fixes #166683
4889 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4891 * shell/ev-view.c (update_find_status_message): Give translators
4892 more flexibility with ngettext plural handling.
4894 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4896 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4897 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4898 page when we get the page size.
4900 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4902 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4904 ps pages are 0 based, convert
4906 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4908 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4910 Initialize correct parent class. Set GError on document load
4912 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4914 * pdf/xpdf/pdf-document.cc:
4916 Fixup selection offset calculation
4918 * shell/ev-view.c: (view_rect_to_doc_rect),
4919 (doc_rect_to_view_rect), (ev_view_size_allocate),
4920 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4921 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4923 Store selection as document relative, so that zooming
4924 and offset changing doesnt break it.
4926 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4928 * shell/ev-view.c: (ev_view_best_fit):
4930 Do not try to best fit if the view is not realized
4932 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4934 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4936 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4938 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4940 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4942 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4943 the popup window. That prevents it resizing when in full screen
4946 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4947 multiple rerenders. This pretty much sucks.
4949 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4950 rest of the toolbar.
4952 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4954 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4956 2005-02-17 Alexander Shopov <ash@contact.bg>
4958 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4960 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4962 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4964 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4966 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4967 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4968 (set_document_page), (document_changed_callback),
4969 (ev_view_set_document), (ev_view_find_previous),
4970 (ev_view_hide_cursor), (ev_view_show_cursor):
4972 * shell/ev-window.c: (update_chrome_visibility),
4973 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4974 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4975 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4976 (ev_window_unfullscreen):
4977 * shell/main.c: (main):
4979 Automatically hide the fullscreen button.
4980 Patch by Kristian Høgsberg <krh@redhat.com>
4982 2005-02-16 Vincent Noel <vnoel@cox.net>
4984 * shell/main.c (main): Specify an icon for the window. Patch by
4985 Jaap A. Haitsma. Fixes #166177.
4987 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4989 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4991 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4993 * backend/ev-document-misc.h:
4994 * backend/ev-document-misc.c:
4995 (ev_document_misc_get_page_border_size),
4996 (ev_document_misc_paint_one_page): New function to canonicalize
4997 sizing/painting a border.
4999 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5002 * pdf/xpdf/pdf-document.cc: use new function
5004 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5005 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5006 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5007 shell/ev-window.c: (update_sizing_buttons),
5008 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5009 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5010 (ev_window_cmd_view_page_width), (size_allocate_cb),
5011 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5012 and "fit width" values act as toggle buttons so they stay
5013 toggled. It's not 100% perfect, and it's a little slow, but it's
5014 good enough to commit I think.
5016 2005-02-15 David Lodge <dave@cirt.net>
5018 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5020 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5022 * shell/ev-window.c (update_window_title): replace newlines in
5023 the title by spaces. Bug #166107.
5025 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5027 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5028 parameters providing allocation width and height without
5029 scrollbars and width of a possible vertical scrollbar. With this
5030 additional information the functions can work as
5031 intended. Unfortunately they're not idempotent. We should
5032 transform these commands to toggles. Fixes Bug #164976
5033 Initial patch by Stephane Loeuillet, then heavily modified.
5035 * shell/ev-view.h: update prototypes.
5037 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5038 (ev_window_cmd_view_page_width): provide EvView fit functions with
5039 all the information they need. Formulas to calculate this
5040 information taken from GtkScrolledWindow.
5042 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5044 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5045 created a thumbnail, the list store is updated to know
5046 that the thumbnail is set. Fixes bug #166792
5048 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5050 * shell/ev-window.c: fixed typo, closes bug 166897
5052 * TODO: updated TODO with bug numbers that are relevant
5054 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5056 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5058 2005-02-09 Vincent Noel <vnoel@cox.net>
5060 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5061 and "Next" toolbar buttons as important to make them stand out.
5063 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5067 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5068 (start_interpreter), (stop_interpreter), (document_load),
5069 (ps_document_next_page), (ps_document_goto_page),
5070 (ps_document_set_page_size), (ps_document_widget_event),
5071 (ps_document_render):
5072 * shell/ev-page-view.c: (ev_page_view_dispose):
5073 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5075 Fix compilation on non-gcc platforms
5077 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5084 * pdf/xpdf/Catalog.cc:
5087 Fix the fix for CAN-2004-0888
5089 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5092 * data/evince-ui.xml:
5093 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5094 * shell/ev-stock-icons.h:
5095 * shell/ev-window.c: (update_action_sensitivity),
5096 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5097 (set_action_properties):
5099 Improve toolbar layout/icons
5101 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5103 * pdf/xpdf/pdf-document.cc:
5105 Add warnings about unimplemented/unknown link
5108 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5110 * ps/ps-document.c: (set_up_page):
5114 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5116 * ps/ps-document.c: (start_interpreter):
5120 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5122 * shell/ev-page-view.c: (ev_page_view_dispose):
5123 * shell/ev-view.c: (ev_view_finalize):
5124 * shell/ev-window.c: (ev_window_setup_document),
5125 (ev_window_dispose), (ev_window_init):
5127 Solve more refs issues.
5129 I commented out the page_view initialization for now:
5130 it was never destroyed (because it's never added
5131 to a container). Because of that we was leaking
5132 gs processes. Couldnt think to a clean fix.
5133 We need to figure this out, password view has the
5134 same issue probably.
5136 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5138 * ps/ps-document.c: (ps_document_finalize),
5139 (ps_document_get_n_pages), (ps_document_get_page):
5141 Some cleanups, stop the interpreter on finalize
5143 * shell/ev-page-view.c: (ev_page_view_dispose),
5144 (ev_page_view_class_init):
5146 Release our reference on the document
5148 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5152 * doc/debugging.txt:
5155 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5156 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5157 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5160 Add debugging helpers
5163 * ps/ps-document.c: (set_up_page), (start_interpreter),
5164 (stop_interpreter), (document_load), (ps_document_next_page),
5165 (ps_document_goto_page), (ps_document_set_page_size),
5166 (ps_document_widget_event), (ps_document_render):
5167 * shell/Makefile.am:
5168 * shell/ev-view.c: (expose_bin_window):
5169 * shell/main.c: (main):
5173 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5175 * ps/ps-document.c: (ps_document_widget_event):
5177 Initialize message_window, this should make ps
5178 rendering really work! (Never noticed because I was
5179 testing with a ps that is causing gs to exit every time!)
5181 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5183 * data/evince.schemas.in: updated simple error in applyto closing tag
5185 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5191 * data/evince-ui.xml:
5192 A data/evince.schemas.in:
5194 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5195 * shell/ev-stock-icons.h:
5196 * shell/ev-window.c: (update_chrome_visibility),
5197 (update_chrome_flag), (ev_window_cmd_edit_find),
5198 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5199 (ev_window_unfullscreen), (ev_window_focus_in_event),
5200 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5201 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5202 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5203 (ev_window_dispose), (ev_window_class_init),
5204 (set_action_properties), (set_chrome_actions), (load_chrome),
5207 Implement fullscreen mode changes from bug #164776.
5208 Also implement persistent chrome toggles.
5210 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5212 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5214 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5220 Add another check for find interface
5224 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5226 * shell/ev-application.c: (ev_application_open):
5227 * shell/ev-window.c: (ev_window_open):
5229 Open gzipped ps documents
5231 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5234 * shell/ev-view.c: (set_document_page):
5236 Clamp page number, dont try to move to
5239 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5241 * backend/ev-document-find.c: (ev_document_find_changed):
5242 * backend/ev-document-find.h:
5243 * pdf/xpdf/pdf-document.cc:
5244 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5245 * shell/ev-window.c: (find_bar_search_changed_cb):
5247 Fix several bugs with find
5249 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5251 * shell/ev-sidebar-thumbnails.c
5252 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5253 document. Prevents warning from scroll_to_cell.
5255 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5257 * configure.ac: Add «nb» to ALL_LINGUAS too.
5259 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5261 * NOTES: New file with some random thoughts.
5265 * backend/ev-document-misc.c:
5266 (ev_document_misc_get_page_border_size): New function to
5267 canonicalize shadow drawing sizes. Possibly goofy.
5269 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5270 (ev_view_best_fit), (ev_view_fit_width):
5271 * pdf/xpdf/pdf-document.cc:
5272 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5273 * ps/ps-document.c: (ps_document_get_page_size):
5274 * backend/ev-document-misc.h:
5275 * backend/ev-document.c: (ev_document_get_page_size):
5276 * backend/ev-document.h: get_page_size now takes a page number
5277 parameter. Made all the backends/frontends honor it.
5279 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5280 see. Doesn't work yet.
5282 * shell/Makefile.am:
5283 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5284 Doesn't do anything yet.
5286 * shell/ev-sidebar-thumbnails.c:
5287 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5290 * shell/ev-window.c: (update_action_sensitivity),
5291 (ev_window_setup_document), (ev_window_set_page_mode),
5292 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5293 view-swapping code a bit so we can have multiple views on a
5294 document. Add the multi-page view, though it can't be turned on
5297 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5299 * shell/ev-application.c: (ev_application_open):
5300 * shell/ev-view.c: (expose_bin_window):
5301 * shell/ev-window.c: (ev_window_open):
5303 Support eps and check document supports find
5304 before drawing highlightings in expose.
5306 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5308 * pixbuf/pixbuf-document.c:
5309 (pixbuf_document_thumbnails_get_dimensions),
5310 (pixbuf_document_document_thumbnails_iface_init):
5312 implement get_dimensions
5314 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5321 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5323 * shell/ev-view.c: (set_document_page):
5325 Scroll at the top of the page when changing page
5327 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5329 * shell/ev-view.c: (ev_view_motion_notify_event):
5331 Do not redraw unnecessarily
5333 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5335 * pdf/xpdf/pdf-document.cc:
5336 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5337 (expose_bin_window), (find_changed_cb):
5339 Yay! find works now... Now to find bugs...
5341 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5343 * backend/ev-document-find.c: (ev_document_find_base_init),
5344 (ev_document_find_changed):
5345 * backend/ev-document-find.h:
5346 * pdf/xpdf/pdf-document.cc:
5347 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5348 (expose_bin_window), (ev_view_init), (set_document_page),
5349 (ensure_rectangle_is_visible), (jump_to_find_result),
5350 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5351 (ev_view_find_next), (ev_view_find_previous):
5353 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5355 More work on find implementation, mostly there now
5357 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5359 * backend/ev-backend-marshalers.list:
5360 * backend/ev-document-find.c: (ev_document_find_base_init),
5361 (ev_document_find_cancel), (ev_document_find_page_has_results),
5362 (ev_document_find_get_n_results), (ev_document_find_get_result),
5363 (ev_document_find_get_progress), (ev_document_find_changed):
5364 * backend/ev-document-find.h:
5366 Enanche the find interface to be really able to do
5369 * pdf/xpdf/pdf-document.cc:
5373 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5374 (expose_bin_window), (ev_view_init),
5375 (ev_view_get_find_status_message), (find_changed_cb),
5376 (ev_view_set_document), (set_document_page):
5378 Adapt to the new interface. A few things are regressed sorry,
5379 I will finish it soon.
5381 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5383 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5384 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5385 ev_sidebar_thumbnails_parent_class variable, don't define another
5386 parent_class variable.
5388 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5389 (ev_page_action_class_init): ditto.
5391 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5392 (pixbuf_document_class_init): ditto.
5394 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5397 * .cvsignore: ignore various valgrind output files.
5399 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5401 * data/evince-ui.xml:
5402 * shell/Makefile.am:
5403 * shell/ev-history.c:
5404 * shell/ev-history.h:
5405 * shell/ev-navigation-action.c:
5406 * shell/ev-navigation-action.h:
5407 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5408 (ev_view_set_page), (ev_view_fit_width):
5410 * shell/ev-window.c: (update_action_sensitivity),
5411 (ev_window_setup_document), (register_custom_actions):
5413 Kill session history
5415 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5417 * shell/ev-window.c: (update_action_sensitivity):
5419 Fix inverted up/down buttons
5421 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5423 * shell/ev-sidebar-thumbnails.c
5424 (ev_sidebar_thumbnails_select_page): make sure the selected
5425 thumbnail stays visible.
5427 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5429 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5430 scrolled window for Federico.
5432 2005-01-26 Ole Laursen <olau@hardworking.dk>
5434 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5436 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5439 * pdf/splash/SplashFTFontEngine.cc:
5441 Fix CID fonts with freetype 2.1.9
5443 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5445 * TODO: added item for desktop icon thumbnailer
5447 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5449 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5450 unloaded docs when the title is accessed.
5452 * shell/ev-password-view.[hc]: New widget for displaying password
5455 * shell/ev-window.[ch]: Refactor password handling code to handle
5458 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5466 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5468 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5469 ignore page offset here, to make search results independent of it,
5471 * shell/ev-view.c (expose_bin_window): but take offsets into
5472 account here. Bug #164932
5474 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5475 scale at the right time. Bug #164996
5477 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5479 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5480 fix the problem. Now I just removed the Adobe font names and hope
5481 that the URW fonts are always in outline format. Bug #164934
5483 * shell/ev-window.c (update_window_title): empty titles are
5484 useless, use filename in that case too.
5486 * NEWS: Add some content.
5488 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5490 * TODO: added one more TODO item and a TODONE section :)
5492 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5494 * ps/ps-document.h: add page_[xy]_offset fields.
5496 * ps/ps-document.c (ps_document_set_page_offset)
5497 (ps_document_render): Keep offset in consideration in a few
5498 places. Bug #164752 "postscript documents are not centered in
5501 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5502 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5504 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5505 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5506 stub out missing methods for complete EvDocument implementation.
5507 Fixes segfaults with Save A Copy and Copy actions.
5509 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5510 (ps_document_document_iface_init): ditto.
5512 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5516 * data/evince.desktop.in:
5520 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5522 * shell/ev-view.c: (ev_view_button_press_event),
5523 (ev_view_motion_notify_event):
5525 Make selection work in any direction
5527 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5530 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5532 Use shorter labels for some of the toolbars items
5534 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5536 * pdf/xpdf/pdf-document.cc:
5538 Check the links info is initialized before
5539 using it. Should fix a crash on startup.
5541 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5543 * pixbuf/pixbuf-document.c
5544 (pixbuf_document_thumbnails_get_dimensions): force floating point
5545 division to calculate page_ratio. Fixes crash with landscape
5548 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5550 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5552 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5554 * shell/ev-view.c (set_document_page): unset has_selection when
5556 (set_document_page): handle paper size changes when the page
5557 changes (test with Free Culture, page 2).
5559 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5561 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5562 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5564 Use normal style color for the widget background and
5565 draw a black box around the page.
5567 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5569 * pdf/xpdf/pdf-document.cc:
5571 Keep offset in consideration in a few places
5573 * shell/ev-view.c: (expose_bin_window):
5575 Set the offsets so that the document is ever centered
5577 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5579 * TODO: Added TODO items and finished off the first todo item
5581 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5582 reflect current authors
5584 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5586 * pdf/xpdf/pdf-document.cc:
5587 * shell/ev-view.c: (ev_view_set_cursor),
5588 (ev_view_motion_notify_event), (document_changed_callback),
5589 (set_document_page):
5591 Show a wait cursor while the page is rendering
5593 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5595 * shell/ev-sidebar-thumbnails.c:
5596 (ev_sidebar_tree_selection_changed),
5597 (ev_sidebar_thumbnails_select_page):
5598 * shell/ev-sidebar-thumbnails.h:
5599 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5600 (ev_view_can_go_forward):
5601 * shell/ev-window.c: (ev_window_open_page),
5602 (ev_window_setup_document), (update_current_page),
5603 (view_page_changed_cb), (ev_window_init):
5604 * shell/ev-window.h:
5606 Ensure thumbnails selection, toolbar page control and
5607 current page are in sync.
5609 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5615 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5617 * backend/Makefile.am:
5618 * backend/ev-document-links.h:
5619 * backend/ev-document-security.c: (ev_document_security_get_type),
5620 (ev_document_security_has_document_security),
5621 (ev_document_security_set_password):
5622 * backend/ev-document-security.h:
5623 * backend/ev-document.c: (ev_document_error_quark):
5624 * backend/ev-document.h:
5626 * data/evince-password.glade:
5627 * pdf/xpdf/pdf-document.cc:
5628 * shell/Makefile.am:
5629 * shell/ev-password.c: (ev_password_set_bad_password_label),
5630 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5631 (ev_password_dialog_get_password),
5632 (ev_password_dialog_set_bad_pass):
5633 * shell/ev-password.h:
5634 * shell/ev-window.c: (ev_window_get_attribute),
5635 (ev_window_set_property), (update_action_sensitivity),
5636 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5637 (ev_window_setup_document), (ev_window_get_password),
5638 (ev_window_open), (ev_window_cmd_save_as),
5639 (using_postscript_printer), (ev_window_print),
5640 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5641 (update_fullscreen_popup), (ev_window_fullscreen),
5642 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5643 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5644 (menu_item_select_cb), (find_bar_search_changed_cb),
5645 (ev_window_dispose), (ev_window_init):
5647 Add initial support for password-supported dialogs. This could be
5648 a lot cooler, but it'll do for now.
5650 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5652 * pdf/xpdf/pdf-document.cc:
5653 * shell/ev-view.c: (status_message_from_link),
5654 (ev_view_set_status), (ev_view_set_cursor),
5655 (ev_view_motion_notify_event), (ev_view_init):
5656 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5658 Fix bugs in the links implementation and change cursor
5659 when hovering a link.
5661 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5663 * viewer/.cvsignore: added cvsignore file for viewer directory
5665 * TODO: created TODO document
5667 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5670 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5671 new functions to help with implementation of sensitivity code
5672 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5673 of all actions that might require it. Fixes a crash when you
5674 click on the Zoom actions in a window lacking a document.
5676 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5678 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5681 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5683 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5684 (pixbuf_document_document_iface_init):
5685 * ps/ps-document.c: (ps_document_get_link),
5686 (ps_document_document_iface_init):
5687 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5688 (status_message_from_link), (ev_view_set_status),
5689 (ev_view_set_find_status), (ev_view_motion_notify_event),
5690 (ev_view_button_release_event), (ev_view_set_property),
5691 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5692 (ev_view_get_find_status_message), (update_find_results),
5693 (ev_view_get_status), (ev_view_get_find_status):
5695 * shell/ev-window.c: (view_status_changed_cb),
5696 (view_find_status_changed_cb), (ev_window_init):
5698 View status message support, use it to show the links.
5701 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5703 * backend/ev-document.c: (ev_document_get_link):
5704 * backend/ev-document.h:
5705 * pdf/xpdf/pdf-document.cc:
5706 * shell/ev-application.c: (ev_application_open):
5707 * shell/ev-application.h:
5708 * shell/ev-sidebar-links.c: (selection_changed_cb):
5709 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5710 (ev_view_go_to_link):
5712 Add support for document links
5714 2005-01-13 Anders Carlsson <andersca@gnome.org>
5716 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5718 Set the spin button limits correctly.
5720 * shell/ev-sidebar-thumbnails.c:
5721 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5722 Support changing pages by clicking on the thumbnails.
5724 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5726 * pixbuf/pixbuf-document.c:
5727 (pixbuf_document_thumbnails_get_dimensions),
5728 (pixbuf_document_document_thumbnails_iface_init):
5730 implement get_dimensions
5732 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5734 * ps/ps-document.c: (ps_document_goto_page):
5736 Fix page switching on multipage documents
5738 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5740 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5742 check for NULL before assigning to width and height parameters
5744 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5746 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5747 (pixbuf_document_set_property), (pixbuf_document_get_property):
5749 implement get/set properties
5751 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5753 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5755 return NULL instead of "Unknown", letting the title get set to
5756 the filename when the pdf has no title.
5758 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5760 * ps/ps-document.c: (ps_document_get_page_count),
5761 (ps_document_goto_page):
5763 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5765 * shell/ev-history.c: (ev_history_get_property),
5766 (ev_history_set_property), (ev_history_class_init),
5767 (ev_history_add_page), (ev_history_set_current_index):
5768 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5769 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5770 (ev_navigation_action_finalize):
5771 * shell/ev-navigation-action.h:
5772 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5773 (ev_view_go_forward), (ev_view_get_find_status_message),
5774 (history_index_changed_cb), (ev_view_set_history):
5776 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5777 (update_current_page), (register_custom_actions):
5779 Implement history dropdowns
5781 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5783 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5784 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5785 (ev_view_go_forward):
5786 * shell/ev-window.c: (register_custom_actions):
5788 Fix several history bugs
5790 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5792 * configure.ac: Add «nb» to ALL_LINGUAS.
5794 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5796 * backend/Makefile.am:
5797 * backend/ev-bookmark.c:
5798 * backend/ev-bookmark.h:
5799 * backend/ev-document-bookmarks.c:
5800 * backend/ev-document-bookmarks.h:
5801 * backend/ev-document-links.c: (ev_document_links_get_type),
5802 (ev_document_links_has_document_links),
5803 (ev_document_links_begin_read), (ev_document_links_get_link),
5804 (ev_document_links_get_child), (ev_document_links_next),
5805 (ev_document_links_free_iter):
5806 * backend/ev-document-links.h:
5807 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5808 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5809 (ev_link_get_link_type), (ev_link_set_link_type),
5810 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5811 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5812 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5813 (ev_link_new_external):
5814 * backend/ev-link.h:
5815 * pdf/xpdf/pdf-document.cc:
5816 * shell/Makefile.am:
5817 * shell/ev-application.c: (ev_application_open_link):
5818 * shell/ev-application.h:
5819 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5820 (ev_history_get_link_nth):
5821 * shell/ev-history.h:
5822 * shell/ev-sidebar-bookmarks.c:
5823 * shell/ev-sidebar-bookmarks.h:
5824 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5825 (ev_sidebar_links_class_init), (selection_changed_cb),
5826 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5827 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5828 (do_one_iteration), (populate_links_idle),
5829 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5830 * shell/ev-sidebar-links.h:
5831 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5832 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5835 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5836 * shell/ev-window.h:
5838 Rename bookmark to link, and use "Index" for the sidebar panel.
5840 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5842 * shell/Makefile.am:
5843 * shell/ev-application.c: (ev_application_open_bookmark):
5844 * shell/ev-application.h:
5845 * shell/ev-history.c: (ev_history_init), (free_links_list),
5846 (ev_history_finalize), (ev_history_class_init),
5847 (ev_history_add_link), (ev_history_add_page),
5848 (ev_history_get_link_nth), (ev_history_get_n_links),
5849 (ev_history_get_current_index), (ev_history_set_current_index),
5851 * shell/ev-history.h:
5852 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5853 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5854 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5855 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5858 * shell/ev-window.c: (ev_window_open_bookmark),
5859 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5860 (goto_page_cb), (register_custom_actions):
5861 * shell/ev-window.h:
5863 Initial history implementation. Needs work.
5865 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5867 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5869 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5871 * cut-n-paste/recent-files/egg-recent-item.c:
5872 * cut-n-paste/recent-files/egg-recent-item.h:
5873 * cut-n-paste/recent-files/egg-recent-model.c:
5874 * cut-n-paste/recent-files/egg-recent-util.c:
5875 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5876 * cut-n-paste/recent-files/egg-recent-view.c:
5880 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5882 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5883 (fillGlyph, fillImageMask, drawImage):
5884 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5885 pdf/splash/SplashTypes.h:
5886 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5887 packed mode for Splash.
5889 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5890 RGB8 packed mode, eliminates the pixbuf data creation loop.
5892 * shell/ev-print-job.c (ev_print_job_finalize)
5893 (ev_print_job_set_property, ev_print_job_get_property)
5894 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5895 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5896 (print_closure_finalize, ev_print_job_print): implement
5897 printing (for backends with EvPsExporter)
5899 * shell/ev_print_job.h: update prototypes.
5901 * shell/ev-window.c (ev_window_print): unref print job after
5904 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5905 unless the document implements the EvDocumentFind interface.
5907 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5909 * configure.ac: Added ja to ALL_LINGUAS.
5911 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5913 * pdf/xpdf/pdf-document.cc:
5915 add a FIXME. We should probably not allocate
5916 a bookmark object every time
5918 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5920 * shell/ev-application.c: (ev_application_open),
5921 (ev_application_open_bookmark):
5922 * shell/ev-application.h:
5924 Add a way to open bookmarks
5926 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5927 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5928 (ev_bookmark_set_property), (ev_bookmark_class_init),
5929 (ev_bookmark_new_title), (ev_bookmark_new_link),
5930 (ev_bookmark_new_external):
5932 Support for external uris, better constructors.
5934 * backend/ev-bookmark.h:
5935 * pdf/xpdf/pdf-document.cc:
5936 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5938 Handle external uris
5940 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5942 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5943 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5945 Hook up bookmarks navigation
5947 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5949 * backend/Makefile.am:
5950 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5951 (ev_bookmark_get_title), (ev_bookmark_set_title),
5952 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5953 (ev_bookmark_get_page), (ev_bookmark_set_page),
5954 (ev_bookmark_get_property), (ev_bookmark_set_property),
5955 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5957 * backend/ev-bookmark.h:
5958 * backend/ev-document-bookmarks.c:
5959 (ev_document_bookmarks_get_bookmark):
5960 * backend/ev-document-bookmarks.h:
5961 * pdf/xpdf/pdf-document.cc:
5962 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5964 Add a bookmark object to the backend and use it instead of get_values
5966 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5968 * data/evince-ui.xml:
5970 Cleanup and add select all.
5972 * shell/ev-view.c: (ev_view_select_all),
5973 (ev_view_button_press_event):
5975 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5978 Clear selection on click.
5980 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5982 * shell/ev-sidebar-thumbnails.c
5983 (ev_sidebar_thumbnails_set_document): forgot to unref the
5986 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5988 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5989 at the visible page, not just linearly. This makes it look fast.
5991 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5993 * backend/ev-document-misc.c
5994 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5996 * backend/ev-document-thumbnails.h: New interface to get the size
5999 2005-01-06 Jeremy Katz <katzj@redhat.com>
6001 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6004 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6006 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6007 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6010 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6012 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6014 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6015 fonts. Should fix font problems on systems that have the base
6016 fonts in bitmap format. Reported by James Henstridge
6017 <james@jamesh.id.au>.
6019 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6022 * pdf/xpdf/GfxState.cc:
6024 Fix for CAN-2004-1125
6026 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6028 * shell/ev-view.c: (ev_view_copy):
6030 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6032 Implement Edit->Copy
6034 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6036 * backend/ev-document.c: (ev_document_get_text):
6037 * backend/ev-document.h:
6038 * pdf/xpdf/pdf-document.cc:
6039 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6040 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6041 (ev_view_update_primary_selection), (ev_view_button_press_event),
6042 (ev_view_motion_notify_event), (ev_view_button_release_event):
6044 Beginnings of clipboard support. Incomplete but primary sort
6047 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6049 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6050 (expose_bin_window):
6052 Nicer rubberband drawing, from GtkIconView.
6054 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6056 * backend/ev-document.c: (ev_document_save):
6057 * backend/ev-document.h:
6058 * data/evince-ui.xml:
6059 * pdf/xpdf/pdf-document.cc:
6060 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6062 Implement "Save a copy..." menu item
6064 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6066 * shell/ev-view.c: (ev_view_zoom):
6068 Queue a resize when zoom changes
6070 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6072 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6075 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6078 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6080 * pdf/xpdf/pdf-document.cc
6081 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6083 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6085 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6086 It's slow, but I'll speed it up next!
6088 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6090 * shell/main.c (load_files):
6092 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6093 from the command line and because it seems more appropriate.
6095 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6097 * data/evince-ui.xml:
6098 * shell/ev-window.c: (update_action_sensitivity),
6099 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6101 s/next page/page down
6102 s/previous page/page up
6104 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6106 * data/evince-ui.xml:
6108 Change the layout to match clarkbw design.
6110 * shell/Makefile.am:
6111 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6112 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6113 (ev_navigation_action_finalize),
6114 (ev_navigation_action_set_property),
6115 (ev_navigation_action_get_property),
6116 (ev_navigation_action_class_init):
6117 * shell/ev-navigation-action.h:
6119 Implement clarkbw toolbar navigation controls (incomplete)
6121 * shell/ev-page-action.c: (update_label), (update_spin),
6122 (value_changed_cb), (create_tool_item), (connect_proxy),
6123 (ev_page_action_init), (ev_page_action_finalize),
6124 (ev_page_action_set_property), (ev_page_action_get_property),
6125 (ev_page_action_set_current_page),
6126 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6127 * shell/ev-page-action.h:
6129 Implement a page switcher in the toolbar
6131 * shell/ev-view.c: (ev_view_scroll_view):
6132 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6133 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6134 (register_custom_actions), (ev_window_init):
6136 Change page on PageUp/Down.
6138 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6140 * pdf/xpdf/pdf-document.cc
6141 (pdf_document_thumbnails_get_thumbnail): initial stab at
6142 implementing thumbnail support for pdfs. It only does documents
6143 with precached pdfs now.
6145 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6147 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6148 thumbnail code into a time-based idle as well. Also, turn off the
6149 shadow temporarily as it's really slow.
6151 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6153 * backend/ev-document.c: (ev_document_class_init):
6154 * pdf/xpdf/pdf-document.cc:
6155 * shell/ev-window.c: (ev_window_open):
6157 Fix document title bugs and fallback to
6158 filename when not available.
6160 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6162 * backend/ev-document.c: (ev_document_get_type),
6163 (ev_document_class_init), (ev_document_load),
6164 (ev_document_get_title):
6165 * backend/ev-document.h:
6166 * pdf/xpdf/pdf-document.cc:
6167 * ps/ps-document.c: (ps_document_set_property),
6168 (ps_document_get_property), (ps_document_class_init),
6172 * shell/ev-window.c: (update_window_title), (ev_window_open),
6175 Initial support for document title. Not working yet.
6177 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6179 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6181 Grab focus on the view when clicking it
6183 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6185 * shell/ev-marshal.list:
6186 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6187 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6189 Add key bindings to the view. Now if the focus would work
6192 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6195 * backend/Makefile.am:
6198 * dvi/dvilib/Makefile.am:
6199 * pdf/xpdf/Makefile.am:
6205 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6207 * shell/ev-view.c: (ev_view_realize):
6209 Fix mouse wheel scrolling
6211 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6217 * ps/ps-document.c: (catchPipe), (ps_document_init),
6218 (ps_document_class_init), (ps_document_cleanup),
6219 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6220 (set_up_page), (close_pipe), (is_interpreter_ready),
6221 (interpreter_failed), (output), (input), (start_interpreter),
6222 (stop_interpreter), (file_length), (file_readable),
6223 (check_filecompressed), (check_pdf), (compute_xdpi),
6224 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6225 (ps_document_get_type), (ps_document_emit_error_msg),
6226 (document_load), (ps_document_next_page),
6227 (ps_document_get_current_page), (ps_document_get_page_count),
6228 (ps_document_goto_page), (ps_document_set_page_size),
6229 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6230 (ps_document_load), (ps_document_get_n_pages),
6231 (ps_document_set_page), (ps_document_get_page),
6232 (ps_document_widget_event), (ps_document_set_target),
6233 (ps_document_set_scale), (ps_document_set_page_offset),
6234 (ps_document_get_page_size), (ps_document_render),
6235 (ps_document_document_iface_init):
6238 * shell/ev-window.c: (ev_window_open):
6240 Rename GtkGS to PSDocument
6242 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6244 * ps/gtkgs.c: (gtk_gs_class_init):
6247 Some more leftover...
6249 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6251 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6252 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6253 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6256 Remove unused code and make a lot of stuff private
6258 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6260 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6261 (gtk_gs_defaults_changed):
6267 Cleanup headers dependencies
6269 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6274 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6276 * ps/gtkgs.c: (file_length), (file_readable),
6277 (check_filecompressed), (check_pdf), (gtk_gs_load),
6278 (gtk_gs_get_postscript):
6282 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6287 * ps/gtkgs.c: (gtk_gs_set_zoom):
6291 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6293 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6295 Ensure the page is rerendered when changing zoom
6297 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6299 * backend/ev-document.c: (ev_document_base_init),
6300 (ev_document_changed):
6301 * backend/ev-document.h:
6303 Add a changed event that is emitted when the page content
6304 changes. This is necessary to deal with the fact that
6305 in ps backend rendering happen asycrounously.
6306 This makes the ps backend mostly work.
6308 * pdf/xpdf/pdf-document.cc:
6312 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6313 (ps_document_set_target):
6317 * shell/ev-view.c: (document_changed_callback),
6318 (ev_view_set_document), (ev_view_set_page):
6320 Redraw on the changed signal
6322 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6324 * configure.ac: Added pt_BR to ALL_LINGUAS.
6326 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6328 * backend/ev-document-bookmarks.c:
6329 (ev_document_bookmarks_get_child): *
6330 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6331 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6332 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6333 (ev_sidebar_bookmarks_destroy),
6334 (ev_sidebar_bookmarks_class_init),
6335 (ev_sidebar_bookmarks_construct), (stack_data_free),
6336 (do_one_iteration), (populate_bookmarks_idle),
6337 (ev_sidebar_bookmarks_clear_document),
6338 (ev_sidebar_bookmarks_set_document): *
6339 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6340 (ev_sidebar_add_page),
6341 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6342 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6343 it displays both the topics and the page numbers.
6345 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6347 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6349 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6352 2004-12-23 Adam Weinberger <adamw@gnome.org>
6354 * configure.ac: Added en_CA to ALL_LINGUAS.
6356 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6358 * ChangeLog: replace bottom of this ChangeLog (merged history of
6359 ggv and gpdf; where all paths were wrong and most of the files are
6360 not even in this tree) with ChangeLog (from arch) of the shell
6363 2004-12-23 Havoc Pennington <hp@redhat.com>
6365 * shell/ev-window.c: hook up potentially-questionable "find
6366 results status text" feature - something involving the sidebar or
6367 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6368 might be better in the end.
6370 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6371 with corresponding signal when it should be updated
6373 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6375 2004-12-22 Havoc Pennington <hp@redhat.com>
6377 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6378 find stuff on other pages, sort of (only returns one result on
6379 invisible pages, to show they have results; updates full results
6380 for a page when you view it). Currently repaints the current page
6381 every time a new result is found on any page, which isn't so nice.
6383 2004-12-22 Havoc Pennington <hp@redhat.com>
6385 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6386 the document doesn't support find (better ideas?)
6387 (find_bar_search_changed_cb): handle missing document or document
6388 that doesn't support find
6390 * pdf/xpdf/pdf-document.cc: port to implement the new
6393 * backend/ev-document-find.c: create a new interface for searching
6395 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6397 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6399 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6402 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6403 EvPrintJob constructor arguments.
6405 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6406 for documents that can export PostScript (page by page).
6408 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6410 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6411 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6412 (pdf_document_ps_exporter_iface_init:
6413 Implement EvPSExporter.
6415 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6417 2004-12-22 Anders Carlsson <andersca@gnome.org>
6419 * backend/Makefile.am:
6420 * backend/ev-document-thumbnails.c:
6421 (ev_document_thumbnails_get_type),
6422 (ev_document_thumbnails_get_thumbnail):
6423 * backend/ev-document-thumbnails.h:
6424 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6425 (pixbuf_document_thumbnails_get_thumbnail),
6426 (pixbuf_document_document_thumbnails_iface_init):
6427 * shell/Makefile.am:
6428 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6429 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6430 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6431 * shell/ev-sidebar-thumbnails.h:
6432 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6433 (ev_sidebar_set_document):
6434 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6435 (create_shadow), (ev_pixbuf_add_shadow):
6437 Add thumbnail support.
6439 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6441 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6442 (using_postscript_printer): Set up a print dialog for "PostScript
6445 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6448 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6450 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6452 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6453 (ps_document_set_target), (ps_document_get_page_size),
6454 (ps_document_render):
6459 2004-12-22 Christian Rose <menthos@menthos.com>
6461 * configure.ac: Added "sv" to ALL_LINGUAS.
6463 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6465 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6466 document supports bookmarks.
6468 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6470 * ps/ggvutils.c: (ggv_file_readable):
6472 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6473 (gtk_gs_get_postscript):
6477 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6479 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6480 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6481 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6482 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6483 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6484 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6485 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6486 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6487 (gtk_gs_set_antialiasing), (ps_document_load),
6488 (ps_document_render):
6491 Another check point for the ps backend. Now I can get it to show
6494 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6496 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6497 document setting code.
6499 2004-12-22 Anders Carlsson <andersca@gnome.org>
6501 * shell/eggfindbar.c: (entry_activate_callback):
6502 Animate the next button when activate is pressed.
6504 2004-12-22 Anders Carlsson <andersca@gnome.org>
6506 * shell/ev-window.c: (ev_window_cmd_edit_find),
6507 (update_fullscreen_popup), (ev_window_fullscreen),
6508 (ev_window_unfullscreen), (ev_window_state_event_cb),
6509 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6510 Fix bugs in fullscreen code.
6512 2004-12-22 Anders Carlsson <andersca@gnome.org>
6516 * pixbuf/Makefile.am:
6517 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6518 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6519 (pixbuf_document_set_page), (pixbuf_document_get_page),
6520 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6521 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6522 (pixbuf_document_render), (pixbuf_document_begin_find),
6523 (pixbuf_document_end_find), (pixbuf_document_finalize),
6524 (pixbuf_document_class_init),
6525 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6526 * pixbuf/pixbuf-document.h:
6527 * shell/Makefile.am:
6528 * shell/ev-application.c: (ev_application_open):
6529 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6533 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6536 * dvi/dvilib/Makefile.am:
6538 * configure.ac: Auto*ify dvi and dvi/dvilib
6540 * dvi/Makefile: Remove from CVS
6542 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6545 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6547 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6549 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6552 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6553 (gtk_gs_value_adjustment_changed), (compute_size),
6554 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6555 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6556 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6557 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6558 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6559 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6560 (ps_document_load), (ps_document_get_n_pages),
6561 (ps_document_set_page), (ps_document_get_page),
6562 (ps_document_set_target), (ps_document_set_scale),
6563 (ps_document_set_page_offset), (ps_document_get_page_size),
6564 (ps_document_render), (ps_document_begin_find),
6565 (ps_document_end_find), (ps_document_document_iface_init):
6567 * shell/Makefile.am:
6568 * shell/ev-window.c: (ev_window_open):
6570 Some work to integrate gtkgs with EvDocument
6572 2004-12-22 Anders Carlsson <andersca@gnome.org>
6574 * shell/ev-window.c: (update_fullscreen_popup),
6575 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6576 (exit_fullscreen_button_clicked_cb),
6577 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6578 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6579 (ev_window_state_event_cb), (ev_window_init):
6580 Add fullscreen support from Epiphany.
6582 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6584 * data/ev-stock-zoom-fit-width.png: fit-width
6585 stock icon from gpdf.
6587 * shell/ev-stock-icons.[ch]: copied from gpdf.
6589 * shell/main.c: (main): init stock icons.
6591 * shell/ev-window.c: use the fit-width icon.
6593 * data/evince-ui.xml: add zooming toolbar items.
6595 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6598 (ev_view_best_fit), (ev_view_fit_width): because
6599 get_page_size() returns the scaled page size, we
6600 need to calculate the scale factor relative to
6601 the previous scale factor. Should really just
6602 add get_real_page_size().
6604 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6606 * shell/ev-view.[ch]:
6607 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6608 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6611 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6612 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6613 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6616 * pdf/xpdf/pdf-document.cc:
6617 (pdf_document_begin_find),
6618 (pdf_document_end_find): make static.
6620 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6622 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6624 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6625 names to fontconfig patterns.
6626 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6628 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6631 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6647 Import ggv backend. Not hooked up yet.
6649 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6651 * shell/main.c: (load_files), (main): load files
6652 from the command line.
6654 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6656 * configure.ac: don't require bonobo.
6658 * cut-n-paste/recent-files/*: kill bonobo recent
6661 * shell/ev-window.c:
6662 (ev_window_is_empty): upd.
6663 (unable_to_load), (ev_window_open): load backend
6664 based on the mime type.
6666 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6668 * backend/.cvsignore: ignore generated marshalers source.
6670 * shell/main.c (main): this is not epiphany.
6672 2004-12-22 Havoc Pennington <hp@redhat.com>
6674 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6675 (expose_bin_window): draw find highlights
6677 * shell/ev-window.c (find_bar_search_changed_cb): implement
6679 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6680 (pdf_document_end_find): implement this interface
6682 * backend/ev-document.c (ev_document_found): add this to emit
6685 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6687 * data/evince-ui.xml: Add a few more toolbar items.
6689 * shell/ev-window.c: Hook up page navigation toolbar
6692 * shell/ev-view.[ch]: add ev_view_set/get_page and
6693 a page-changed signal.
6695 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6696 Add ev_document_get_page().
6698 * shell/ev-window.c: Sensitize/desensitize navigation
6701 2004-12-21 Havoc Pennington <hp@redhat.com>
6703 * backend/ev-backend-marshal.c,
6704 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6705 marshaler-generator thingy. I'm sure there's a better way to do
6706 this in the modern world.
6708 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6709 end_find methods and "found" signal.
6711 * configure.ac: find glib-genmarshal
6713 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6715 * shell/ev-sidebar.c: Construct an actual sidebar.
6716 * shell/ev-sidebar-bookmarks.[ch]:
6717 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6719 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6721 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6724 * shell/ev-view.c: Track the size from the document.
6726 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6728 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6729 constructor assumes ownership of the string passed in.
6731 * shell/ev-window.c (ev_window_open): Destroy the error
6732 dialog once we've displayed it.
6734 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6736 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6737 a bit, it works! (sort of)
6739 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6740 Move to .cc since we need to use C++ in the implementation.
6742 * shell/dummy.cc: Add a CC file to force evince
6743 to be linked as a C++ program.
6745 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6747 * shell/ev-view.[ch]: Start of content-area widget.
6749 * shell/ev-window.c: Create a EvView, update it
6750 as we change documents.
6752 * shell/Makefile.am shell/ev-marshal.list: Add
6753 generated marshalers.
6755 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6757 * Makefile.am (SUBDIRS): move shell.
6759 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6761 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6762 .a to libtool convenience libraries.
6764 * shell/ev-window.c (ev_window_open): Hard code loading
6767 * backend/ev-document.h: Add a boolean return to load(),
6768 fix GError * to GError **.
6770 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6771 object for a PDF backend EvDocument.
6773 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6775 * dvi/*: New directory with the beginning of a .dvi backend.
6777 2004-12-21 Havoc Pennington <hp@redhat.com>
6779 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6780 previous/next instead of back/forward
6782 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6784 * backend/ev-document.[ch]: Fix a couple of problems so
6787 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6789 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6790 to backend/ directory, rename EvViewer to EvDocument.
6792 2004-12-21 Havoc Pennington <hp@redhat.com>
6794 * shell/ev-window.c: hook up the find bar widget; now we just need
6795 a document to find things in
6797 * shell/eggfindbar.c: a find bar widget
6799 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6801 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6803 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6805 * pdf/**: Import of xpdf code from gpdf.
6807 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6809 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6810 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6811 Fix FreeType includes.
6813 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6814 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6815 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6816 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6817 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6818 Include xpdfconfig.h
6820 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6822 * shell/ev-window.c (ev_window_dispose): dispose can be called
6825 2004-12-21 Havoc Pennington <hp@redhat.com>
6827 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6830 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6831 items; really they should be synced with the strings, etc. from
6832 current gpdf, but just getting the boring typing out of the way
6834 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6837 * shell/ev-application.c: (window_destroy_cb):
6838 * shell/ev-window.c:
6839 * shell/main.c: (main):
6841 Actually show the window...
6843 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6846 * shell/Makefile.am:
6847 * shell/ev-application.c: (ev_application_class_init):
6848 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6852 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6854 Import to gnome cvs.
6856 * Remove copies of gpdf and ggv trees.
6857 * Rip out all the recursive configure code.
6858 * Remove bonobo machinery.
6859 * viewer/*: GInterfaces that backends should/can implement.
6861 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6863 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6866 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6868 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6869 (ev_application_finalize, ev_application_class_init)
6870 (ev_application_init): use GType instance private data for priv.
6872 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6873 (ev_window_finalize, ev_window_class_init)
6874 (ev_window_init): ditto.
6876 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6878 * shell/ev-application.c (ev_application_new_window): make public
6879 (ev_application_show_initial_window): kill.
6881 * shell/ev-application.h: update prototypes.
6883 * shell/main.cc (main): inline ev_application_show_initial_window.
6885 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6887 * shell/ev-application.c (ev_application_new_window): impl.
6888 (ev_application_show_initial_window): use it.
6889 (is_window_empty, ev_application_get_empty_window): returns an
6890 existing empty window or a new one.
6891 (ev_application_open): from ev_window_cmd_file_open.
6893 * shell/ev-application.h: update prototypes
6895 * shell/ev-window.c (ev_window_is_empty): impl.
6896 (ev_window_open): make public.
6897 (ev_window_cmd_file_open): use ev_application_open
6899 * shell/ev-window.h: update prototypes, remove unused.
6901 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6903 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6904 move destroy handler out of here...
6906 * shell/ev-application.c, shell/ev-application.h: ...into this new
6907 class. Also handles initial window creation.
6909 * shell/main.cc (main): use EvApplication to create initial
6912 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6914 * Makefile.am (SUBDIRS): add cut-n-paste
6916 * cut-n-paste/Makefile.am: add
6918 * configure.ac: generate Makefiles in cut-n-paste
6920 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6922 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6923 (ev_window_class_init): install ev_window_dispose.
6925 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6927 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6928 char (gchar looks stupid).
6930 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6932 * po/de.po: updated German translation.
6934 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6936 * configure.ac: add more pkg-config library checks for gnome-vfs,
6939 * gpdf/configure.in: temporarily disable libpaper
6940 checks. Otherwise I'd have to add the checks for the shell, too.
6942 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6944 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6945 and * file filters to the file choose.
6947 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6949 * po/de.po: Updated German translation.
6951 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6953 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6955 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6957 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6959 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6960 (ev_window_init): implement those menuitems.
6962 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6964 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6966 * shell/ev-window.c (ev_window_init): use the toolbar.
6968 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6970 * shell/ev-window.c (ev_window_init): use menu translations
6972 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6974 * configure.ac: add "de" to ALL_LINGUAS.
6976 * po/de.po: add German translation.
6978 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6980 * Makefile.am (SUBDIRS): add po
6982 * configure.ac: check intltool, glib-gettext etc, generate
6985 * po, po/POTFILES.in, po/POTFILES.skip: new.
6987 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6989 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6990 already use (#ifdef ENABLE_NLS)
6992 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6993 pointer indirection thinko.
6995 * shell/main.c: include gi18n.h for bindtextdomain etc.
6997 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6999 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7000 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7001 tooltips for menu items in the statusbar.
7003 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7005 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7006 pkgdatadir drop UIDIR
7008 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7010 * data/evince-ui.xml: Add File->Open menu item
7012 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7013 chooser), hook it up in the ui manager.
7015 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7017 * shell/ev-window.c: fix Help->About tooltip.
7019 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7021 * configure.ac: set CFLAGS for libevprivate.
7023 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7024 definitions, factory etc.
7026 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7028 * shell/Makefile.am: link against libevprivate.a.
7030 * shell/ev-window.c (entries): add stock icon to Help->About.
7032 * shell/main.c (main): init stock icon code.
7034 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7036 * lib/recent-files: egg recent files code
7038 * lib/Makefile.am: add.
7040 * Makefile.am: add lib subdir.
7042 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7043 set CFLAGS for recent-files.
7045 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7047 * configure.ac: disable -ansi and -pedantic gcc flags. They
7048 disable POSIX stuff in stdio.h, but egg-recent uses them.
7050 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7052 * configure.ac: add --disable-deprecated flag (defaults to on in
7055 * shell/Makefile.am (INCLUDES): use it.
7057 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7059 * shell/main.c: add missing #include.
7061 * shell/ev-window.c: fix for pedantic gcc.
7062 (ev_window_cmd_help_about): split license into paragraphs for
7063 translators and pedantic compilers.
7065 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7067 * configure.ac: add more warning flags if compiling with gcc from
7068 cvs (or explicitly requested with --enable-more-warnings).
7070 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7072 * data/evince-ui.xml: add File and File->Close menu.
7074 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7075 (ev_window_destroy): quit after destroy.
7076 (ev_window_class_init): override GtkObject::destroy.
7077 (entries): install close_window callback.
7079 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7081 * Makefile.am (SUBDIRS): add data subdir.
7083 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7084 gtk+ 2.5.0 for GtkAboutDialog.
7086 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7089 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7091 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7093 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7095 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7097 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7099 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7101 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7103 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7105 * shell/*: Added shell directory boilerplate, build it.
7107 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7109 * configure.ac, Makefile.am: Added top-level configure.ac and