1 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
3 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
4 Remove unused unrealize handler. Add scroll handling to
5 ev_view_scroll_event for presentation mode (bug #316708),
6 and fix the event state checks there.
8 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
10 * shell/ev-page-action.c: (page_changed_cb):
12 "marco, maybe we should be crazy and jump right to 6! :)"
16 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
18 * ps/ps-document.c: (save_document), (ps_document_save),
19 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
20 (ps_document_ps_export_end):
22 Fix unstructured documents save and print
24 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
26 * shell/ev-application.c: (ev_application_open_uri):
28 Fix window size persistance
30 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
32 * shell/ev-view.c: (ev_view_button_release_event):
34 Based on a patch from carlosgc@gnome.org. Mouse buttons
35 switch pages in presentation mode.
37 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
39 * shell/ev-page-cache.c: (ev_page_cache_get_size):
41 Dont cast to int before scaling
43 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
45 * backend/ev-link.c: (ev_link_type_get_type),
46 (ev_link_new_page_xyz), (ev_link_new_page_fit),
47 (ev_link_new_page_fith):
50 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
52 Implement FIT and FITH links
54 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
58 Return 0 results when search is not in progress.
60 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
61 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
63 Update menu sensitivity when cancelling search
65 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
67 * shell/ev-view.c: (ev_view_can_find_next):
69 Take all pages in consideration, not just current one
71 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
73 * shell/ev-page-cache.c:
74 * shell/ev-page-cache.h:
75 * shell/ev-view.c: (ev_view_binding_activated),
76 (ev_view_next_page), (ev_view_previous_page),
77 (ev_sizing_mode_get_type):
79 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
80 (ev_window_cmd_go_next_page):
82 Move page next/previous functions from page chace to
83 view and change it to move by 2 page steps in dual mode.
85 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
87 * shell/ev-window.c: (update_sidebar_visibility),
88 (setup_sidebar_from_metadata), (ev_window_setup_document),
89 (setup_view_from_metadata):
91 Show the index by default when there is one
93 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
95 * shell/ev-window-title.c: (ev_window_title_set_document):
99 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
101 * shell/ev-view.c: (view_update_range_and_current_page):
103 Allow display of last odd page in dual view. Fix for 316347.
105 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
107 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
109 Make close button default. Fix for 316383.
111 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
113 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
115 Mark close button as default. Fix for 316381.
117 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
119 * backend/ev-link.c: (ev_link_class_init):
121 Allow negative doubles in left/top properties
123 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
127 Remove a bunch of strings that was used only
130 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
132 * shell/ev-window-title.c: (get_filename_from_uri),
133 (ev_window_title_set_document):
135 When title has a confusing extension, show also
136 the document filename inside ()
138 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
141 * shell/ev-window-title.c: (ev_window_title_new),
142 (ev_window_title_update), (ev_window_title_set_type),
143 (ev_window_title_set_document), (ev_window_title_free):
144 * shell/ev-window-title.h:
145 * shell/ev-window.c: (ev_window_setup_document),
146 (password_dialog_response), (ev_window_popup_password_dialog),
147 (ev_window_dispose), (ev_window_init):
149 Factor out and cleanup window title code
151 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
153 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
156 Make dialog transient so it doesnt block other windows
158 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
162 Fix pdf thumbnails rendering.
164 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
166 * shell/ev-window.c: (fullscreen_set_timeout):
168 Increase timeout to hide full screen popup. Bug
171 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
173 * data/evince.schemas.in:
174 * shell/ev-window.c: (update_action_sensitivity):
176 Allow the user to override document restrictions. Fix for bug
179 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
181 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
182 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
183 (ev_window_class_init): Fix multihead behaviour of fullscreen
184 toolbar popup. Fixes bug #315451.
186 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
189 * data/evince-password.glade:
190 * shell/ev-password.c: (ev_password_dialog_set_property),
191 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
192 (ev_password_dialog_init), (ev_password_set_bad_password_label),
193 (ev_password_dialog_entry_changed_cb),
194 (ev_password_dialog_entry_activated_cb),
195 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
196 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
197 (ev_password_dialog_set_bad_pass):
198 * shell/ev-password.h:
199 * shell/ev-window.c: (password_dialog_response),
200 (ev_window_popup_password_dialog):
202 Support for gnome-keyring for encrypted PDF's.
204 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
206 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
207 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
208 (ev_view_enter_notify_event), (ev_view_class_init):
210 More precise handling of enter_notify/leave_notify events
211 in EvView. Fix for bug 315470.
213 2005-09-08 Christopher Aillon <caillon@redhat.com>
215 * shell/ev-window.c: (fullscreen_timeout_cb),
216 (fullscreen_set_timeout), (fullscreen_clear_timeout),
219 leak fix: unref fullscreen_timeout_source before clearing it
221 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
223 * configure.ac, dvi/mdvi/Makefile.am:
225 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
227 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
229 * backend/ev-link.c: (ev_link_new_page_xyz):
231 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
233 Fix some bugs with xyz links, respect zoom
235 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
237 * shell/ev-window.c: (page_changed_cb),
238 (setup_document_from_metadata), (update_sidebar_visibility),
239 (setup_view_from_metadata), (ev_window_run_fullscreen),
240 (ev_window_stop_fullscreen), (ev_window_run_presentation),
241 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
242 (ev_window_dual_mode_changed_cb),
243 (ev_window_sidebar_current_page_changed_cb):
245 null check uri before setting and getting metadata
247 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
250 * properties/Makefile.am:
252 * thumbnailer/Makefile.am:
254 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
256 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
258 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
259 (selection_changed_callback):
260 * shell/ev-sidebar-links.h:
262 Add a signal for link activation.
264 * shell/ev-view.c: (ev_view_goto_link),
265 (ev_view_button_release_event):
267 * shell/ev-window.c: (sidebar_links_link_activated_cb),
270 Implement the signal so that we can handle all link types.
272 * shell/ev-page-cache.c:
274 Remove unused set_link function
276 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
278 * lib/ev-tooltip.c: (ev_tooltip_set_position):
280 Add some space from the cursor, hardcoded but I couldnt
283 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
287 Use mozilla style vs gtk style, way better for links.
289 * shell/ev-view.c: (ev_view_motion_notify_event),
290 (ev_view_destroy), (ev_view_init):
292 Deactive tooltip when the link hovered is changed.
294 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
296 * backend/ev-document.h:
297 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
298 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
299 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
300 (ev_link_new_page), (ev_link_new_page_xyz):
303 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
304 (go_to_link), (tip_from_link):
306 Implement xyz links, still not functional. Links are a total
307 mess, will need to refactor and bugfix a lot :(
309 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
311 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
313 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
315 * data/evince-ui.xml:
316 * data/evince.schemas.in:
318 * shell/ev-window.c: (update_chrome_visibility),
319 (password_dialog_response), (ev_window_load_job_cb),
320 (ev_window_xfer_job_cb), (ev_window_open_uri),
321 (ev_window_class_init), (set_chrome_actions), (load_chrome),
324 Remove the statusbar. This regress loading feedback, need to
325 check with Bryan what we want to do there...
327 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
329 * lib/ev-tooltip.c: (ev_tooltip_init):
331 Fix tooltip border and size handling
333 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
335 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
336 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
337 (ev_tooltip_timeout), (ev_tooltip_activate),
338 (ev_tooltip_deactivate):
340 * shell/ev-view.c: (ev_view_motion_notify_event):
342 Delay popup showing. Mirror gtk logic/times.
344 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
347 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
348 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
349 (ev_tooltip_set_text), (ev_tooltip_set_position):
352 Simple widget to show tooltips at a custom position
354 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
357 Use it for links. First go, needs work
359 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
361 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
362 HIG fixes. Use title capitalization for window title. Use 12
363 pixels of space between the dialog's vbox and action area.
365 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
367 * shell/ev-window.c: (file_open_dialog_response_cb),
368 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
369 (ev_window_cmd_save_as):
371 Make file pickers not modal and refactor code some
373 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
375 * shell/ev-sidebar.h:
376 * shell/ev-sidebar.c: (ev_sidebar_set_property),
377 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
378 (ev_sidebar_class_init), (ev_sidebar_select_page),
379 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
380 (ev_sidebar_set_page):
382 Add a current page property and allow to get/set it
384 * shell/ev-window.c: (setup_view_from_metadata),
385 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
387 Persist current sidebar page per document
389 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
391 * data/evince.schemas.in:
392 * shell/ev-window.c: (update_chrome_visibility),
393 (setup_document_from_metadata), (update_sidebar_visibility),
394 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
395 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
396 (ev_window_run_presentation), (ev_window_stop_presentation),
397 (ev_window_view_sidebar_cb),
398 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
399 (load_chrome), (ev_window_init):
401 Persist size/visibility of sidebar per document
403 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
405 * shell/ev-view.c (draw_loading_text): Draw loading text.
407 2005-09-02 Dan Damian <dand@gnome.ro>
409 * configure.in: Added "ro" to ALL_LINGUAS.
411 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
413 * shell/ev-view.c: (clear_caches):
415 ev_page_cache_get doesnt return a reference,
416 dont try to unref it.
418 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
420 * shell/main.c: (load_files_remote):
422 Fix timestamp parameter with dbus <= 0.33
424 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
426 * data/evince.schemas.in:
428 Add missing full stop
430 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
432 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
433 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
435 Plug some memory leaks
437 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
440 * lib/ev-debug.c: (trap_handler):
442 Check for execinfo.h and use it only if it exists.
443 Ported from Epiphany (bug #314776).
445 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
447 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
449 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
451 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
452 * po/id.po : Added Indonesian translation
454 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
457 * shell/ev-application.c: Last minute GTK-2.6 fixes.
458 * NEWS: Release 0.4.0
460 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
462 * configure.ac: catch another gtk+-2.8ism
463 * shell/main.c: Make work with gtk+-2.6
465 2005-08-25 Ryan Lortie <desrt@desrt.ca>
467 * shell/ev-application-service.xml: Add 'timestamp' argument to
468 ev_application_open_window and ev_application_open_uri methods.
470 * shell/ev-application.h: Add 'timestamp' argument to
471 ev_application_open_window, ev_application_open_uri,
472 and ev_application_open_uri_list functions.
474 * shell/ev-application.c (ev_application_open_window,
475 ev_application_open_uri, ev_application_open_uri_list): Change
476 functions that show/present windows to use a timestamp if one
479 * shell/ev-window.c (ev_window_cmd_file_open,
480 ev_window_cmd_recent_file_activate, drag_data_received_cb):
481 * shell/main.c (load_files): Modify calls to ev_application to
482 include GDK_CURRENT_TIME as timestamp.
484 * shell/main.c (load_files_remote): Obtain timestamp for client
485 instance from GDK and pass to server instance so new windows are
486 focused properly. Fix dbus_g_proxy_call() calls by including second
491 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
493 * shell/ev-window.c (ev_window_finalize): Check for
494 avail. EvWindows when quiting to handle the finalize better,
497 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
499 * properties/ev-properties-view.c:
501 Set textdomain to libglade. Fixes translation problem in property page.
503 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
505 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
507 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
508 * dvi/mdvi-lib/Makefile.am:
510 Fix rotation of thumbnails, ported to new API. Moved library
511 dependencies earlier, probably it will fix linkage problem.
513 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
515 * backend/ev-document-misc.c:
516 (ev_document_misc_get_thumbnail_frame):
517 * backend/ev-document-misc.h:
521 * shell/ev-sidebar-thumbnails.c: (add_range),
522 (ev_sidebar_thumbnails_set_loading_icon),
523 (ev_sidebar_thumbnails_refresh),
524 (ev_sidebar_thumbnails_set_document):
525 * shell/ev-sidebar-thumbnails.h:
526 * shell/ev-view.c: (ev_view_motion_notify_event),
527 (ev_view_set_property), (ev_view_get_property),
528 (ev_view_class_init), (ev_view_set_rotation):
529 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
530 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
532 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
533 Redo rotation (again). prepare for 0.4.0
535 2005-08-24 Kristian Høgsberg <krh@redhat.com>
537 * configure.ac: Bump poppler requirement to 0.4.1.
539 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
540 argument to poppler_page_render_selection() call.
542 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
544 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
545 (djvu_document_thumbnails_get_thumbnail):
546 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
547 (dvi_document_thumbnails_get_thumbnail):
548 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
549 (pixbuf_document_thumbnails_get_thumbnail):
550 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
552 Update rotation direction of backends to fit with pdf and ps.
554 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
556 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
557 * backend/ev-async-renderer.h:
558 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
559 (setup_page), (ps_document_get_page_size),
560 (ps_async_renderer_render_pixbuf):
562 * shell/ev-jobs.c: (ev_job_render_run):
564 Fix orientation in the postscript document
566 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
569 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
570 * shell/ev-view.c: (highlight_find_results):
572 Adapt to the new poppler rotation API. Fix text maps on landscape
575 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
577 * shell/ev-view.c (compute_new_selection_text): get the correct
578 region when selecting in modes other than continuous.
580 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
582 * shell/main.c (main): remove redundant g_warnings.
584 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
586 * shell/Makefile.am: Don't include autogenerated
587 file ev-application-service.h into distribution, since
588 it causes dbus crash. Fix for bugs 313724 and 313443.
590 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
592 * configure.ac: Fix sed expression for FreeBSD. Thanks
593 to Joe Marcus Clark <marcus@freebsd.org>
595 * shell/eggfindbar.c: (entry_activate_callback),
596 (entry_changed_callback), (egg_find_bar_init),
597 (egg_find_bar_set_search_string):
599 Made findbar buttons unsensitive if there is no text in
600 entry. Fix for the bug 313285.
602 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
604 * ps/ps-document.c: Use g_filename_display_name for displaying
605 filenames and revert string freeze breackage
607 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
616 Add ev-application-service.xml to extra dist
618 * shell/ev-view.c: (find_page_at_location):
620 Remove unused function (fix warning)
622 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
624 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
625 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
627 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
630 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
632 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
636 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
638 * configure.ac: Update script to get dbus version.
639 Fix for the bug #313443.
641 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
643 * shell/ev-window.c: (ev_window_cmd_escape):
645 Return focus back to view on escape. Fix for bug 313295.
647 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
649 * shell/ev-window.c: (update_window_title),
650 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
651 (ev_window_cmd_save_as):
653 Correct conversion from uri to displayable string. Fix for
656 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
658 * ps/ps-document.c: convert filename to utf8 when there is an error
659 loading document. Fixes #309915
661 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
665 We depend on poppler 0.4.0
667 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
670 * NEWS: Release 0.3.3.
671 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
673 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
675 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
676 add a couple missing mnemonics to menu items, use title
677 capitalization for menu items and window titles, and add
678 ellipsis to open menu item.
680 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
683 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
684 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
685 (ev_view_get_rotation):
687 * shell/ev-window.c: (setup_view_from_metadata),
688 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
689 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
692 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
694 * configure.ac: Added tr to ALL_LINGUAS
696 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
698 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
699 requires several clicks to find word. Thanks to
700 Colin Slater <kiltedtaco@gmail.com>.
702 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
704 * data/evince.desktop.in.in: Hide menu entry and
705 rename it to "Document Viewer". Fix for bug
708 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
710 * shell/ev-page-action.c (ev_page_action_class_init):
712 Point to the correct function in constructor of the
713 activate_label signal
715 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
717 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
718 * shell/ev-jobs.h: Make thread safe.
720 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
722 * shell/ev-view.c: (view_update_range_and_current_page):
723 Don't update page range if we are scrolling to some document
726 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
728 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
729 when getting max_page_width, fix drawing in dual mode.
731 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
733 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
734 getting the area for select_all.
736 2005-08-06 Kristian Høgsberg <krh@redhat.com>
738 * backend/ev-selection.c: (ev_selection_render_selection):
739 * backend/ev-selection.h:
741 * shell/ev-jobs.c: (ev_job_render_new):
743 * shell/ev-pixbuf-cache.c: (get_selection_colors),
744 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
745 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
746 (ev_view_class_init):
748 Change selection color on focus in and focus out events. Also,
749 poppler now uses GdkColor for specifying the selection colors, so
750 drop some awkward conversion code.
752 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
754 * configure.ac: Added Hebrew translation
756 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
759 * backend/ev-selection.c: (ev_selection_render_selection):
760 * backend/ev-selection.h:
762 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
765 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
766 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
767 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
768 (ev_pixbuf_cache_style_changed),
769 (ev_pixbuf_cache_get_selection_pixbuf),
770 (ev_pixbuf_cache_set_selection_list),
771 (ev_pixbuf_cache_get_selection_list):
772 * shell/ev-pixbuf-cache.h:
773 * shell/ev-utils.c: (ev_print_region_contents):
775 * shell/ev-view.c: (ev_view_queue_draw_page),
776 (selection_update_idle_cb), (ev_view_motion_notify_event),
777 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
778 (setup_caches), (ev_view_find_next), (merge_selection_region),
780 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
782 Clean up selection to be much smoother!
784 2005-08-05 Kristian Høgsberg <krh@redhat.com>
786 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
787 to poppler_page_render_selection().
789 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
791 * ps/ps-document.c: (save_page_list): Use
792 unzipped document when printing. Thanks to
793 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
796 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
798 * shell/ev-window.c: (update_action_sensitivity):
800 Disable print and save respect to lockdown gconf keys. Fix
803 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
806 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
807 (write_to_temp_file), (ev_file_set_contents):
809 * shell/ev-window.c: (save_print_config_to_file):
811 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
814 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
816 * shell/ev-window.c: (load_print_config_from_file),
817 (save_print_config_to_file), (ev_window_print_range):
819 Persist the print settings. Fixes bug #311578.
821 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
823 * djvu/djvu-document.c: (djvu_document_get_page_size),
824 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
825 (djvu_document_thumbnails_get_thumbnail):
826 * dvi/dvi-document.c: (dvi_document_get_page_size),
827 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
828 (dvi_document_thumbnails_get_dimensions),
829 (dvi_document_thumbnails_get_thumbnail):
830 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
831 (pixbuf_document_render_pixbuf),
832 (pixbuf_document_document_iface_init),
833 (pixbuf_document_thumbnails_get_thumbnail):
835 Update backends to make them build with new rotation system.
837 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
839 * help/C/figures/evince_start_window.png:
841 Update documentation image from Luca Ferretti <elle.uca@libero.it>
843 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
845 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
846 * shell/ev-pixbuf-cache.h:
847 * shell/ev-sidebar-thumbnails.c:
848 (ev_sidebar_thumbnails_get_property), (add_range),
849 (adjustment_changed_cb):
850 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
851 pixbuf cache. Make thumbnailing work again. Also, fix bug where
852 we were thumbnailing the entire docment on startup, slowing us
855 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
857 * shell/ev-page-cache.c: (ev_page_cache_new):
858 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
861 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
863 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
864 (ev_view_rotate_left):
866 Account rotation in doc_rect_to_view_rect.
867 Ensure rotation doesnt go out of bounds.
869 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
871 * shell/ev-page-cache.c: (ev_page_cache_get_size):
873 Correct and cleanup w/h swapping
875 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
877 * backend/ev-document-thumbnails.c:
878 (ev_document_thumbnails_get_thumbnail):
879 * backend/ev-document-thumbnails.h:
880 * backend/ev-document.c:
881 * backend/ev-document.h:
882 * backend/ev-render-context.c: (ev_render_context_new),
883 (ev_render_context_set_rotation):
884 * backend/ev-render-context.h:
886 * ps/ps-document.c: (ps_document_document_iface_init):
887 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
889 * shell/ev-page-cache.c: (build_height_to_page),
890 (ev_page_cache_new), (ev_page_cache_get_size),
891 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
892 (ev_page_cache_get_height_to_page):
893 * shell/ev-page-cache.h:
894 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
895 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
896 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
897 (ev_pixbuf_cache_get_selection_pixbuf):
898 * shell/ev-pixbuf-cache.h:
899 * shell/ev-print-job.c: (idle_print_handler):
900 * shell/ev-sidebar-thumbnails.c: (add_range):
901 * shell/ev-view.c: (view_update_range_and_current_page),
902 (get_page_y_offset), (get_page_extents),
903 (ev_view_size_request_continuous_dual_page),
904 (ev_view_size_request_continuous),
905 (ev_view_size_request_dual_page),
906 (ev_view_size_request_single_page), (draw_one_page),
907 (ev_view_set_rotation), (ev_view_rotate_right),
908 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
909 (ev_view_zoom_for_size_continuous_and_dual_page),
910 (ev_view_zoom_for_size_continuous),
911 (ev_view_zoom_for_size_dual_page),
912 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
913 (ev_view_select_all):
914 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
915 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
916 (tiff_document_document_iface_init),
917 (tiff_document_thumbnails_get_thumbnail):
919 Use rotation rather than orientation. It's easier and enough
922 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
924 * shell/ev-page-cache.c: (build_height_to_page),
925 (ev_page_cache_new), (ev_page_cache_get_size),
926 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
927 (ev_page_cache_get_height_to_page):
928 * shell/ev-page-cache.h:
929 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
930 (ev_view_size_request_continuous_dual_page),
931 (ev_view_size_request_continuous),
932 (ev_view_zoom_for_size_continuous_and_dual_page),
933 (ev_view_zoom_for_size_continuous):
935 Make the page cache aware of page orientation.
937 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
939 * backend/ev-document-thumbnails.c:
940 (ev_document_thumbnails_get_thumbnail):
941 * backend/ev-document-thumbnails.h:
942 * backend/ev-document.c:
943 * backend/ev-document.h:
944 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
945 * backend/ev-ps-exporter.h:
947 * ps/ps-document.c: (ps_document_document_iface_init),
948 (ps_document_ps_export_do_page):
949 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
951 * shell/ev-page-cache.c: (ev_page_cache_get_size),
953 * shell/ev-page-cache.h:
954 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
955 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
956 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
957 * shell/ev-pixbuf-cache.h:
958 * shell/ev-print-job.c: (idle_print_handler):
959 * shell/ev-sidebar-thumbnails.c: (add_range):
960 * shell/ev-view.c: (view_update_range_and_current_page),
961 (get_page_extents), (ev_view_size_request_dual_page),
962 (ev_view_size_request_single_page), (draw_one_page),
963 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
964 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
965 (ev_view_zoom_for_size_dual_page),
966 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
967 (ev_view_select_all):
968 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
969 * tiff/tiff-document.c: (tiff_document_get_page_size),
970 (tiff_document_get_orientation), (rotate_pixbuf),
971 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
972 (tiff_document_thumbnails_get_thumbnail),
973 (tiff_document_ps_export_do_page), (tiff_document_init):
975 Really make use of the orientation bit of the render context.
976 Use the render context in a few more places in the backend API.
977 This regress orientation, but now it's done right. Will try to
980 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
982 * shell/ev-view.c: (ensure_rectangle_is_visible):
984 Patch by Nickolay V. Shmyrev to fix find flickering
986 2005-07-27 Martin Kretzschmar <martink@gnome.org>
988 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
989 duplex parameters to ::begin.
991 * tiff/tiff-document.c (tiff_document_ps_export_begin):
992 * shell/ev-print-job.c (idle_print_handler):
993 * ps/ps-document.c (ps_document_ps_export_begin):
994 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
995 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
996 implementations. Poppler backend needs poppler cvs. Rest has
999 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1001 * shell/ev-window.c (using_pdf_printer): new function.
1002 (ev_window_print_range): print a less techy message if someone
1003 tries to print to PDF.
1005 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1007 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1008 from "unknown font" string. Bug #311431
1010 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1012 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1014 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1018 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1019 name for PopplerFontTypes
1020 (pdf_document_fonts_fill_model): add font type to the detail column
1022 * backend/ev-document-fonts.h: added
1023 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1025 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1026 font name and font details, add a little markup.
1027 (ev_properties_fonts_init): use the new cell data func, specify ypad
1028 property for the cell renderer.
1029 (ev_properties_fonts_set_document): add the details column.
1031 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1033 * configure.ac: Added "pl" to ALL_LINGUAS.
1035 2005-07-24 Danilo Šegan <danilo@gnome.org>
1037 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1039 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1041 * help/ChangeLog: Started this for translations of manual.
1042 * configure.ac, autogen.sh, .cvsignore: Migrated to
1043 gnome-doc-utils. Patch in bug #311222.
1045 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1047 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1048 #ifdef this away to fix an unused-function warning.
1050 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1052 * configure.ac: Added 'gl' to ALL_LINGUAS.
1054 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1056 * configure.ac: Added ne in ALL_LINGUAS
1058 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1060 * shell/ev-view.c: (ev_view_leave_notify_event):
1062 Clear status message when pointer leaves view. Fix for bug
1065 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1067 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1069 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1071 * shell/ev-view.c: (ev_view_leave_notify_event),
1072 (ev_view_class_init):
1074 Set cursor to normal then leaving view.
1076 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1080 Fix required djvulibre version.
1082 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1084 *configure.ac: Hindi (hi) language added
1086 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1088 *configure.ac: Punjabi (pa) Language added
1090 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1092 * data/evince-ui.xml, shell/ev-window.c:
1094 Add keypad accelerators for zooming. Fix for bug 308128.
1096 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1099 * backend/Makefile.am:
1100 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1102 * shell/ev-document-types.c: (ev_document_types_add_filters):
1104 Allow to enable/disable the pixbuf backend.
1105 Default to off for now. If we want it enabled we should
1106 really put mime types in the desktop, implement properties etc.
1108 * properties/evince-properties.c:
1110 Initialize error to NULL.
1111 Check error is not NULL before freeing.
1113 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1115 * shell/ev-window.c:
1117 Use F5 as presentation accell
1119 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1121 * shell/ev-window.c: (update_chrome_visibility),
1122 (ev_window_create_fullscreen_popup), (ev_window_init):
1124 Do not leak the fullscreen toolbar
1126 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1128 * shell/ev-window.c: (view_actions_focus_in_cb),
1129 (view_actions_focus_out_cb):
1131 These has a return value! Fix totally random focus
1132 issues we was seeing.
1134 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1136 * shell/main.c: (load_files_remote):
1138 Allow open more than one file
1140 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1142 * shell/main.c: (load_files_remote):
1144 Fix for dbus 0.33. bug #309975
1146 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1148 * properties/ev-properties-main.c: (ev_properties_get_pages):
1150 Actually return NULL for types we dont support
1152 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1158 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1160 * backend/ev-document-factory.c:
1161 (ev_document_factory_get_document):
1163 Do not try to create the object if type
1166 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1168 * ps/ps-document.c: (ps_document_dispose),
1169 (ps_async_renderer_render_pixbuf):
1172 Do not leak the target window
1174 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1176 * shell/ev-application.c: (ev_application_init):
1178 Let tbe check file existence for us.
1179 Add a comment about eggrecent mime filter.
1181 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1183 * data/evince-ui.xml:
1184 * shell/ev-application.c: (ev_application_shutdown),
1185 (ev_application_init), (ev_application_get_toolbars_model),
1186 (ev_application_get_recent_model),
1187 (ev_application_save_toolbars_model):
1188 * shell/ev-application.h:
1189 * shell/ev-window.c: (ev_window_add_recent),
1190 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1191 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1194 Use common toolbar and recent models for all windows.
1195 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1197 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1199 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1200 successfully check for gtk_icon_view_get_visible_range.
1202 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1207 Fix djvu and dvi backend build.
1209 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1211 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1212 (new_separator_pixbuf):
1216 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1218 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1220 HIGification of toolbar editor dialogue.
1222 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1225 * shell/Makefile.am:
1227 Ever build metadata manager since it's just
1228 disabled at runtime now.
1230 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1232 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1233 (ev_metadata_manager_get), (ev_metadata_manager_set):
1234 * shell/ev-metadata-manager.h:
1236 Add an _init functions that enabled metadata management
1239 * shell/ev-window.c: (page_changed_cb),
1240 (setup_document_from_metadata), (ev_window_setup_document),
1241 (setup_view_from_metadata), (ev_window_open_uri),
1242 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1243 (ev_window_run_presentation), (ev_window_stop_presentation),
1244 (save_sizing_mode), (ev_window_zoom_changed_cb),
1245 (ev_window_continuous_changed_cb),
1246 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1247 (window_configure_event_cb):
1249 Remove all ugly metadata define since we deal with it
1252 * shell/main.c: (load_files_remote), (main):
1254 Add support for dbus cvs head. Hopefully didnt break one
1255 of the other versions now!
1257 If we dont get a response from the dbus server just
1258 give up with it and not enable metadata.
1260 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1263 * backend/Makefile.am:
1265 * cut-n-paste/recent-files/Makefile.am:
1266 * cut-n-paste/toolbar-editor/Makefile.am:
1267 * cut-n-paste/zoom-control/Makefile.am:
1270 * pixbuf/Makefile.am:
1271 * properties/Makefile.am:
1273 * shell/Makefile.am:
1274 * thumbnailer/Makefile.am:
1277 Make frontends depend on just libev.
1278 Rework and group CFLAGS/LIBS definitions.
1281 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1285 do not unnecessarily save zoom
1288 * lib/ev-file-helpers.c: (ev_dot_dir):
1289 * shell/Makefile.am:
1294 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1298 Remove unnecessary dependencies
1300 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1302 * properties/Makefile.am:
1303 * thumbnailer/Makefile.am:
1306 Some more cleanups. Was really necessary
1307 but I probably introduced bugs, feel free
1310 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1312 * backend/Makefile.am:
1314 * cut-n-paste/recent-files/Makefile.am:
1315 * cut-n-paste/toolbar-editor/Makefile.am:
1316 * cut-n-paste/zoom-control/Makefile.am:
1319 * pixbuf/Makefile.am:
1320 * properties/Makefile.am:
1322 * shell/Makefile.am:
1323 * thumbnailer/Makefile.am:
1326 Use gnome-common macros when possible.
1327 Cleanup dependencies.
1328 Actually disable deprecated where possible.
1330 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1333 * backend/Makefile.am:
1334 * properties/Makefile.am:
1335 * shell/Makefile.am:
1336 * thumbnailer/Makefile.am:
1338 This should solve the circular dep without
1339 requiring dir reorg!
1341 * shell/ev-window.c: (setup_view_from_metadata):
1343 Never restore window size/position when the
1344 window is already visible.
1346 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1348 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1350 Return a boolean from timeout func. Fix ported from gedit.
1352 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1354 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1356 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1358 * shell/ev-document-types.c: set "All Documents" as default filter in
1361 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1363 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1364 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1365 (ev_metadata_manager_set_boolean): fix value/val thinko.
1367 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1369 * shell/ev-window.c: (setup_view_from_metadata),
1370 (window_state_event_cb), (window_configure_event_cb),
1373 Remember window position and maximized state
1375 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1379 Fix DBUS configure checks.
1381 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1382 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1383 (ev_metadata_manager_set_boolean):
1387 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1388 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1389 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1390 (ev_window_continuous_changed_cb),
1391 (ev_window_dual_mode_changed_cb), (ev_window_new):
1393 Fix the build without DBUS.
1395 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1397 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1398 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1399 (ev_metadata_manager_set_string),
1400 (ev_metadata_manager_set_boolean):
1401 * shell/ev-metadata-manager.h:
1403 Add support for some more types
1405 * shell/ev-view.c: (scroll_to_current_page),
1406 (ev_view_get_continuous), (ev_view_set_continuous),
1407 (ev_view_get_dual_page):
1409 * shell/ev-window.c: (page_changed_cb),
1410 (setup_document_from_metadata), (ev_window_setup_document),
1411 (setup_view_from_metadata), (ev_window_open_uri),
1412 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1413 (ev_window_run_presentation), (ev_window_stop_presentation),
1414 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1415 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1416 (ev_window_update_dual_page_action),
1417 (ev_window_continuous_changed_cb),
1418 (ev_window_dual_mode_changed_cb), (ev_window_init):
1420 Remember a bunch of view/document properties. Prolly some
1421 are still missing but it's getting interesting.
1423 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1425 * configure.ac: check if dbus-binding-tool is installed. Not the
1426 case on current Ubuntu breezy, it seems.
1428 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1430 * data/evince.desktop.in.in:
1432 Allow open uri lists and add TryExec field.
1434 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1438 Enable dbus when available, do not require a configure
1441 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1445 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1448 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1449 Marco Pesenti Gritti <mpg@redhat.com>
1451 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1453 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1454 functions to the format required by dbus
1456 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1457 errors. Use the RPC parameters in the expected way
1459 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1462 * properties/Makefile.am:
1463 * properties/ev-properties-main.c: (ev_properties_get_pages):
1465 Support all mime types
1467 * shell/Makefile.am:
1468 * thumbnailer/Makefile.am:
1469 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1470 (evince_thumbnail_pngenc_get):
1472 Use the document factory
1474 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1476 * backend/Makefile.am:
1477 * backend/ev-document-factory.c:
1478 (mime_type_supported_by_gdk_pixbuf),
1479 (ev_document_type_get_from_mime),
1480 (ev_document_factory_get_document),
1481 (ev_document_factory_get_backend),
1482 (ev_document_factory_get_mime_types),
1483 (ev_document_factory_get_all_mime_types):
1484 * backend/ev-document-factory.h:
1485 * shell/Makefile.am:
1486 * shell/ev-document-types.c: (get_document_from_uri),
1487 (ev_document_types_get_document),
1488 (file_filter_add_mime_list_and_free),
1489 (ev_document_types_add_filters):
1490 * shell/ev-document-types.h:
1491 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1492 * shell/ev-properties-dialog.c:
1493 (ev_properties_dialog_set_document):
1494 * shell/ev-window.c: (ev_window_cmd_file_open),
1495 (ev_window_cmd_save_as):
1496 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1498 Rework document types managing to avoid code duplication
1499 and actually abstract from backend implementations.
1500 Also provide a minimal factory api that can be used by
1501 thumbnailer/properties.
1503 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1505 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1507 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1510 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1512 * shell/ev-properties-dialog.c
1513 (ev_properties_dialog_set_document): only call
1514 ev_properties_fonts_set_document() if the document implements the
1517 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1520 * properties/Makefile.am:
1521 * properties/ev-properties-view.c:
1522 (ev_properties_view_register_type):
1523 * properties/ev-properties-view.h:
1524 * properties/ev-properties-main.h:
1526 Implement nautilus plugin for properties.
1527 Works only for pdf atm, I need to rework the
1528 document types stuff to get this to work
1531 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1533 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1534 (ev_properties_fonts_set_document): use
1535 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1537 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1539 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1541 (PlaceImage, tiff2ps_process_page): use
1542 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1545 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1547 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1548 (main): to call gnome_authentication_manager_init. Should fix
1551 * configure.ac: that requires libgnomeui 2.6.0.
1553 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1555 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1556 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1557 use the new tiff2ps interfaces
1559 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1560 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1562 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1563 structure instead of global variables. Remove use of static
1564 variables in functions.
1566 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1568 * shell/ev-page-action.c: unref the completion after setting it to the
1571 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1573 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1576 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1578 * shell/ev-window.c (update_action_sensitivity): disable
1579 File->Print if the document does not implement the ps exporter
1582 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1586 * data/evince-properties.glade:
1587 * properties/.cvsignore:
1588 * properties/Makefile.am:
1589 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1590 (ev_properties_view_class_init), (ev_properties_view_format_date),
1591 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1592 (ev_properties_view_init), (ev_properties_view_new):
1593 * properties/ev-properties-view.h:
1594 * shell/Makefile.am:
1595 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1596 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1597 (ev_properties_dialog_new):
1598 * shell/ev-properties-dialog.h:
1599 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1600 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1601 (update_progress_label), (job_fonts_finished_cb),
1602 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1603 * shell/ev-properties-fonts.h:
1604 * shell/ev-properties.c:
1605 * shell/ev-properties.h:
1606 * shell/ev-window.c: (ev_window_setup_document),
1607 (ev_window_cmd_file_properties):
1609 Split the properties pages in two different objects, depend
1610 only on the backend where possible, use widgets instead
1611 of gobject for the glade part, reimplement the dialog
1613 I need this to implement nautilus properties page.
1615 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1617 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1618 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1619 (tiff_document_document_ps_exporter_iface_init): implement the ps
1620 exporter interface for tiff documents
1622 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1623 libtiff to implement TIFF postscript export
1625 * tiff/tiff2ps.h: added a header file for external tiff2ps
1628 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1631 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1633 * shell/ev-view.c: (scroll_to_current_page),
1634 (ev_view_set_fullscreen), (ev_view_set_presentation):
1636 Scroll to current page when exit from presentation
1638 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1640 * shell/ev-window.c: (update_document_mode),
1641 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1642 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1643 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1645 Exit from fullscreen mode when switch to presentation. Fix for
1648 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1650 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1651 return NULL if the document does not implement the selection
1654 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1656 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1657 reported height by using the resolution aspect ratio
1658 (tiff_document_render_pixbuf): scale the pixbuf using the
1659 resolution aspect ratio
1661 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1665 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1666 <kiltedaco@gmail.com>
1668 * djvu/djvu-document.c: (djvu_document_get_orientation),
1669 (djvu_document_set_orientation), (djvu_document_get_page_size),
1670 (rotate_pixbuf), (djvu_document_render_pixbuf),
1671 (djvu_document_document_iface_init):
1672 * dvi/dvi-document.c: (dvi_document_get_orientation),
1673 (dvi_document_set_orientation), (dvi_document_get_page_size),
1674 (rotate_pixbuf), (dvi_document_render_pixbuf),
1675 (dvi_document_document_iface_init):
1677 Dvi and djvu backends are ported to new API
1679 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1681 * backend/ev-selection.c: (ev_selection_get_selection_region),
1682 (ev_selection_get_selection_map):
1683 * backend/ev-selection.h:
1684 * pdf/ev-poppler.cc:
1685 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1687 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1688 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1689 (ev_pixbuf_cache_get_text_mapping):
1690 * shell/ev-pixbuf-cache.h:
1691 * shell/ev-view.c: (location_in_text),
1692 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1693 support to EvView. Now we can see where we can select! Sweet!
1695 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1697 * shell/ev-view.c (ev_view_button_press_event): Fix
1698 event->y + view->scroll_x typo.
1700 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1702 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1703 sub-GdkPixbuf instead of passing dest_x and dest_y.
1705 * shell/ev-view.c: (view_point_to_doc_point),
1706 (view_rect_to_doc_rect), (ev_view_button_press_event),
1707 (ev_view_motion_notify_event), (compute_new_selection_rect),
1708 (gdk_rectangle_point_in), (compute_new_selection_text),
1709 (compute_selections): Update selection code to keep the selection
1710 around as two points and not as a normalized rectangle, and fix
1711 page level selection in two-column mode.
1713 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1715 * shell/ev-window.c: (window_configure_event_cb):
1719 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1721 * pdf/ev-poppler.cc:
1725 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1727 * shell/Makefile.am:
1728 * shell/ev-metadata-manager.c: (item_free),
1729 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1730 (parse_value), (parseItem), (load_values),
1731 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1732 (save_values), (save_item), (get_oldest), (resize_items),
1733 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1734 * shell/ev-metadata-manager.h:
1736 Metadata manager from gedit but modified to use GValue, so that
1737 we dont need to keep converting from strings.
1741 ENABLE_METADATA conditional, on when dbus is on
1743 * shell/ev-application.c: (ev_application_open_uri):
1745 Show the window after load so that we can initialize
1746 window size before it's showed.
1748 * shell/ev-window.c: (ev_window_setup_from_metadata),
1749 (ev_window_open_uri), (window_configure_event_cb),
1752 Save and load metadata information about window size.
1753 Not yet keeping states in account.
1755 * shell/main.c: (main):
1757 Shutdown metadata manager.
1759 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1761 * shell/ev-application-service.xml:
1763 * shell/Makefile.am:
1764 * shell/ev-application.c:
1765 * shell/ev-application.h:
1766 * shell/ev-window.c:
1767 * shell/ev-window.h:
1770 Add an optional dbus interface (--enable-dbus).
1771 Rework application code, mainly to be easier to
1773 Do not open multiple windows with the same document,
1776 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1778 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1779 pixbuf iff it exists.
1781 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1784 * backend/ev-render-context.[ch]:
1785 * backend/ev-selection.[ch]:
1787 Massive changes. We now support text selection of pdfs, and not
1788 just rectangular selection. This is pretty broken still, but I
1789 want to get something into CVS.
1791 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1793 * pdf/ev-poppler.cc:
1795 Fix for Bug 309080: crash on window close.
1797 * shell/ev-page-action.c: (page_changed_cb):
1799 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1800 jensgr@gmx.net (Jens Granseuer).
1802 2005-06-25 Marcel Telka <marcel@telka.sk>
1804 * configure.in (ALL_LINGUAS): Added sk.
1806 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1808 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1811 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1818 * cut-n-paste/recent-files/Makefile.am:
1822 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1824 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1825 (pixbuf_document_set_orientation), (rotate_pixbuf),
1826 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1827 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1829 Implement rotation and cleanup the code a bit.
1831 * tiff/tiff-document.c: (tiff_document_get_page_size),
1832 (tiff_document_get_orientation), (tiff_document_set_orientation),
1833 (rotate_pixbuf), (tiff_document_render_pixbuf),
1834 (tiff_document_document_iface_init), (tiff_document_init):
1836 Implement rotation. Was the quicker solution for the release
1837 but we really need to share this code in the shell.
1839 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1841 * pdf/ev-poppler.cc:
1843 Enable rotation, require poppler cvs. Fix a leak.
1845 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1847 * shell/ev-window.c: (update_action_sensitivity):
1849 Make properties unsensitive if document backend doesn't provide
1852 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1854 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1855 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1856 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1857 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1858 (bitmap_flip_rotate_counter_clockwise):
1859 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1860 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1862 * dvi/mdvi-lib/common.h:
1863 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1864 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1865 (opendvi), (mdvi_reload), (mdvi_init_context),
1866 (mdvi_destroy_context), (mdvi_dopage), (special):
1867 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1868 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1869 (file_hash_free), (register_encoding), (parse_spec),
1870 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1871 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1872 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1873 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1874 (mdvi_register_font_type), (mdvi_unregister_font_type),
1875 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1876 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1877 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1878 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1879 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1880 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1881 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1882 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1883 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1884 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1885 (mdvi_unregister_special), (mdvi_flush_specials):
1886 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1888 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1889 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1890 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1891 (free_font_metrics), (flush_font_metrics):
1892 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1894 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1895 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1896 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1897 (dstring_insert), (dstring_new), (dstring_reset):
1898 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1900 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1901 avoid conflict with libtool on FC4
1903 * shell/ev-window.c: (ev_window_cmd_help_about):
1905 Update copyright year. Fix for bug 308828.
1907 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1909 * shell/ev-view.c: (add_scroll_binding_keypad),
1910 (ev_view_binding_activated), (ev_view_class_init),
1911 (on_adjustment_value_changed):
1913 Bug 170874: Arrow keys switch pages in presentation mode
1915 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1917 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1919 Fix for Bug 308265: Sidebar dissappears coming out of
1922 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1924 * shell/ev-application.c: (ev_application_open):
1925 * shell/ev-document-types.c: (ev_document_types_add_filters),
1926 (ev_document_types_add_filters_for_type):
1927 * shell/ev-document-types.h:
1928 * shell/ev-window.c: (ev_window_cmd_save_as):
1930 Suggest basename as template when saving, provide filters
1931 for save dialog. It's bug 308402
1933 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1935 * pdf/ev-poppler.cc:
1936 * shell/ev-sidebar-links.c: (job_finished_callback):
1937 * shell/ev-view.c: (update_find_status_message):
1941 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1943 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1944 (egg_recent_view_uimanager_set_list):
1946 Fix buglet in !show_numbers case.
1948 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1950 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1951 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1953 Use pango ellipsisation.
1955 * pdf/ev-poppler.cc:
1957 Fix refcount leak, from nsh.
1959 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1961 * cut-n-paste/recent-files/Makefile.am:
1962 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1963 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1965 Removed EggRecentViewGtk
1967 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1968 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1969 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1970 (ev_window_setup_recent):
1972 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1975 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1977 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1978 (egg_recent_view_gtk_finalize):
1982 * cut-n-paste/toolbar-editor/Makefile.am:
1984 Fix location of cursor icon.
1986 * pdf/ev-poppler.cc:
1987 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1988 (display_completion_text), (match_completion):
1989 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1990 (selection_changed_callback), (create_loading_model),
1991 (print_section_cb), (links_page_num_func),
1992 (update_page_callback_foreach):
1993 * shell/ev-window.c: (ev_window_dispose):
1995 Small memory fixes. Links model now store objects instead
1996 of pointers to improve memory management.
1998 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2000 * shell/ev-window.c: (zoom_control_changed_cb):
2002 Fix update of zoom control (bug 308268).
2004 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2006 * shell/ev-properties.c (set_property): escape the text correctly.
2007 Handles non-UTF-8 properties and escaped properties. Also, sets
2008 the text to "<i>None</i>" if the property isn't set.
2010 * data/evince-properties.glade: Change the label to be ellipsized,
2011 and give it a minimum size.
2013 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2015 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2016 * shell/ev-sidebar-links.c: (create_loading_model):
2017 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2018 * shell/ev-view.c: (ev_view_set_document):
2019 * shell/ev-window.c: (ev_window_dispose):
2021 Various small fixes, mostly memory leaks. Thanks to valgrind.
2023 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2025 * ps/ps-document.c: remove the locale.h include again ;-). And
2026 kill the (bogus) setlocale/savelocale business.
2028 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2032 Include locale.h to fix build
2034 * shell/ev-sidebar.c:
2036 Remove unnecessary includes
2038 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2040 * dvi/dvi-document.c: (dvi_document_load):
2041 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2044 Check for incorrect dvi files. Fix parsing dvi on AMD64
2045 platform. Thanks to tester@tester.ca (Olivier Crete).
2047 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2049 * shell/ev-page-action.c: (match_selected_cb),
2050 (display_completion_text), (match_completion), (update_model):
2051 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2052 (expand_open_links):
2053 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2054 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2055 (ev_sidebar_set_document):
2056 * shell/ev-window.c: (ev_window_xfer_job_cb),
2057 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2059 Fixed lot's of memory leaks, for example, memory leak on reload,
2060 described in bug 307793.
2062 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2064 * pdf/ev-poppler.cc:
2065 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2066 (update_visible_range), (adjustment_changed_cb),
2067 (ev_sidebar_thumbnails_fill_model),
2068 (ev_sidebar_thumbnails_refresh),
2069 (ev_sidebar_tree_selection_changed),
2070 (ev_sidebar_icon_selection_changed),
2071 (ev_sidebar_thumbnails_use_icon_view),
2072 (ev_sidebar_thumbnails_set_document):
2073 * shell/ev-sidebar-thumbnails.h:
2074 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2075 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2077 Refresh thumbnails when changing orientation. Not fully
2078 working yet becuase of a sidebar bug.
2080 Set page orientation to poppler page everywhere. This sucks
2081 really need to fix poppler.
2083 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2085 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2086 (egg_recent_view_gtk_new_menu_item),
2087 (egg_recent_view_gtk_set_property),
2088 (egg_recent_view_gtk_get_property),
2089 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2090 (egg_recent_view_gtk_set_tooltip_func),
2091 (egg_recent_view_gtk_set_label_width),
2092 (egg_recent_view_gtk_get_label_width):
2093 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2095 Sync with libegg (ellipsize labels)
2097 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2099 * data/evince-ui.xml:
2100 * shell/ev-window.c: (ev_window_cmd_go_forward),
2101 (ev_window_cmd_go_backward):
2103 Shift + PageUp moves 10 Pages. Fix for 306125
2105 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2107 * pdf/ev-poppler.cc:
2109 Add a flag to check if orientation has been overriden
2111 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2113 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2116 * ps/ps.h: add creator field to document.
2118 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2121 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2123 * data/evince-properties.glade:
2124 * shell/ev-properties.c: (ev_properties_set_document):
2126 s/PDF Version/Format
2128 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2130 * shell/ev-properties.c: (ev_properties_set_document):
2132 Remove unnecessary translations
2134 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2136 * cut-n-paste/toolbar-editor/Makefile.am:
2138 Correct library name
2140 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2143 * cut-n-paste/recent-files/egg-recent-model.c:
2144 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2145 (egg_recent_model_unlock_file):
2146 * cut-n-paste/recent-files/egg-recent-util.c:
2147 (egg_recent_util_get_unique_id):
2148 * cut-n-paste/recent-files/update-from-egg.sh:
2149 * cut-n-paste/toolbar-editor/Makefile.am:
2150 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2151 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2152 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2153 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2154 (egg_toolbars_model_get_type):
2155 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2157 Better makefile for toolbar editor and update everything
2160 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2162 * shell/ev-window.c: (update_document_mode):
2164 Prefer presentation mode when the document
2167 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2169 * data/evince-ui.xml:
2170 * shell/ev-window.c:
2172 Add control-equal for zooming
2174 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2176 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2178 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2180 * backend/ev-document.c: (ev_document_get_orientation):
2181 * backend/ev-document.h:
2182 * pdf/ev-poppler.cc:
2183 * ps/ps-document.c: (ps_document_get_orientation),
2184 (ps_document_set_orientation), (ps_document_document_iface_init):
2186 Add a get_orientation api. Improve set_orientation.
2188 * data/evince-ui.xml:
2189 * shell/ev-view.c: (ev_view_set_orientation),
2190 (ev_view_rotate_right), (ev_view_rotate_left):
2192 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2193 (ev_window_cmd_edit_rotate_right):
2195 Better ui for changing document orientation
2197 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2199 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2200 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2201 * shell/ev-sidebar-links.h:
2202 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2203 (ev_sidebar_page_iface_init):
2204 * shell/ev-sidebar-page.h:
2205 * shell/ev-sidebar-thumbnails.c:
2206 (ev_sidebar_thumbnails_get_property),
2207 (ev_sidebar_thumbnails_class_init),
2208 (ev_sidebar_thumbnails_set_document):
2209 * shell/ev-sidebar-thumbnails.h:
2210 * shell/ev-view.c: (ev_view_motion_notify_event):
2211 * shell/ev-window.c: (update_chrome_visibility),
2212 (ev_window_cmd_focus_page_selector),
2213 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2214 (sidebar_page_main_widget_update_cb), (ev_window_init):
2216 Autoraise toolbar on GoToPage binding and fix bindings in
2217 EvSidebarThumbnails page.
2219 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2221 * shell/ev-properties.c: (update_progress_label):
2223 Hide the progress label when finished; bug #307697.
2225 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2227 * pdf/ev-poppler.cc:
2229 Enable is_open for links, you will need poppler cvs
2231 * shell/ev-properties.c: (job_fonts_finished_cb):
2233 Get a lock on the document when filling the tree view
2235 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2237 * backend/ev-document-links.h:
2238 * pdf/ev-poppler.cc:
2239 * shell/ev-sidebar-links.c: (create_loading_model),
2240 (expand_open_links), (job_finished_callback):
2242 Expand links when specified by the document.
2243 Depend on a poppler api (defined out for now)
2245 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2247 * shell/ev-properties.c: (ev_properties_dispose),
2248 (ev_properties_class_init), (dialog_destroy_cb),
2249 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2250 (ev_properties_set_document), (ev_properties_new),
2251 (ev_properties_show):
2252 * shell/ev-properties.h:
2254 Make it an object, cleanup the code, api to show it as transient
2255 and to set the document.
2257 * shell/ev-window.c: (ev_window_setup_document),
2258 (ev_window_cmd_file_properties):
2260 Adapt to EvProperties changes, do not show multiple
2261 times, update it when document changes.
2263 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2266 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2267 (ps_document_set_orientation), (ps_document_document_iface_init):
2270 Implement orientation here too
2272 * shell/ev-properties.c: (ev_properties_new):
2273 * data/evince-properties.glade:
2275 Hide the fonts page for backends that doesnt
2278 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2280 * backend/ev-document.c: (ev_document_set_orientation):
2281 * backend/ev-document.h:
2282 * pdf/ev-poppler.cc:
2284 Add orientation api. Currently poppler api is not optimal,
2285 we need to set orientation every time we _get a page.
2286 I will try to fix that at some point.
2288 * data/evince-ui.xml:
2289 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2290 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2292 Add orientation menu items
2294 * shell/ev-page-cache.c: (ev_page_cache_clear):
2295 * shell/ev-page-cache.h:
2297 Add api to clear the cache
2299 * shell/ev-view.c: (setup_caches), (clear_caches),
2300 (ev_view_set_document), (ev_view_zoom_out),
2301 (ev_view_set_orientation):
2304 Implement orientation changing
2306 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2308 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2309 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2310 * backend/ev-document-fonts.h:
2312 Separate scan and fill so that we can incrementally fill from
2313 the main thread. Add a progress api.
2315 * data/evince-properties.glade:
2316 * pdf/ev-poppler.cc:
2317 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2319 * shell/ev-properties.c: (update_progress_label),
2320 (job_fonts_finished_cb), (setup_fonts_view):
2322 Incrementally feel the list and show the progress
2323 percentage in a label like acrobat does.
2325 You are going to need poppler cvs
2327 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2329 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2330 * backend/ev-document-fonts.h:
2331 * pdf/ev-poppler.cc:
2333 Make fonts model fill incrementally.
2335 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2336 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2337 (ev_job_queue_remove_job):
2338 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2339 (ev_job_fonts_new), (ev_job_fonts_run):
2342 New job for fonts scanning
2344 * shell/ev-properties.c: (job_fonts_finished_cb),
2345 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2346 * shell/ev-properties.h:
2347 * shell/ev-window.c: (ev_window_cmd_file_properties):
2349 Incrementally feel the treeview using the new job. Show Loading...
2350 message until scanning is completed.
2352 Hopefully I didnt break the build without the poppler patch.
2354 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2356 * shell/ev-application.c: (ev_application_open):
2357 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2358 (ev_document_type_get_type), (ev_document_type_lookup):
2359 * shell/ev-document-types.h:
2360 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2361 * shell/ev-job-xfer.h:
2362 * shell/ev-window.c: (ev_window_clear_local_uri),
2363 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2364 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2365 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2367 Transfer remote documents to tmp directory to display them later.
2369 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2371 * backend/ev-document-info.h:
2372 * shell/ev-properties.c: (ev_properties_new):
2374 s/GTime*/GTime. Not sure why we was using a pointer
2377 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2379 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2380 situations. That situation is that you're using GTK+-HEAD with
2381 the patch at #306726 is applied, and you have a document with <
2382 1500 pages in it. It's not quite as uniformly nice as the
2383 TreeView, but should be better in the long run.
2385 I'm pretty sure I guarded against breaking compilation with
2386 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2389 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2390 widget yet, so I commented that code out
2391 enable_view_actions_for_widget() for now. Need to figure this
2394 * shell/ev-page-action.c (match_selected_cb): emit the right
2395 signals. Our cool C-l completion now works.
2397 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2399 * backend/Makefile.am:
2400 * backend/ev-document-fonts.c:
2401 * backend/ev-document-links.c:
2402 * backend/ev-document.c: (ev_document_load):
2403 * backend/ev-document.h:
2404 * backend/ev-job-queue.c:
2405 * backend/ev-job-queue.h:
2406 * backend/ev-jobs.c:
2407 * backend/ev-jobs.h:
2408 * backend/ev-page-cache.c:
2409 * backend/ev-page-cache.h:
2411 EvPageCache and EvJobs are moved to shell.
2413 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2415 * lib/ev-file-helpers.h:
2417 New helper to work with temporary files
2419 * shell/Makefile.am:
2420 * shell/ev-application.c: (ev_application_open):
2421 * shell/ev-application.h:
2422 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2423 (remove_job_from_async_queue), (add_job_to_async_queue),
2424 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2425 (handle_job), (search_for_jobs_unlocked),
2426 (no_jobs_available_unlocked), (ev_render_thread),
2427 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2428 (ev_job_queue_add_job), (move_job_async), (move_job),
2429 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2430 * shell/ev-job-queue.h:
2431 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2432 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2433 * shell/ev-job-xfer.h:
2434 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2435 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2436 (ev_job_links_class_init), (ev_job_render_init),
2437 (ev_job_render_dispose), (ev_job_render_class_init),
2438 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2439 (ev_job_thumbnail_class_init), (ev_job_load_init),
2440 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2441 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2442 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2443 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2445 * shell/ev-page-action.c: (ev_page_action_set_document):
2446 * shell/ev-page-cache.c: (ev_page_cache_init),
2447 (ev_page_cache_class_init), (ev_page_cache_finalize),
2448 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2449 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2450 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2451 (ev_page_cache_get_title), (ev_page_cache_get_size),
2452 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2453 (ev_page_cache_get_height_to_page),
2454 (ev_page_cache_get_max_label_chars),
2455 (ev_page_cache_get_page_label),
2456 (ev_page_cache_has_nonnumeric_page_labels),
2457 (ev_page_cache_get_info), (ev_page_cache_next_page),
2458 (ev_page_cache_prev_page), (ev_page_cache_get):
2459 * shell/ev-page-cache.h:
2460 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2461 (ev_pixbuf_cache_clear_job_sizes),
2462 (ev_pixbuf_cache_add_jobs_if_needed),
2463 (ev_pixbuf_cache_set_page_range):
2464 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2465 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2466 * shell/ev-sidebar-thumbnails.c:
2467 (ev_sidebar_tree_selection_changed),
2468 (ev_sidebar_thumbnails_set_document):
2469 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2470 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2471 (ev_statusbar_get_context_id), (ev_statusbar_push),
2472 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2473 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2474 (ev_statusbar_set_progress):
2475 * shell/ev-statusbar.h:
2476 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2477 (ev_view_find_previous):
2478 * shell/ev-window.c: (ev_window_is_empty),
2479 (ev_window_setup_document), (password_dialog_response),
2480 (ev_window_clear_jobs), (ev_window_load_job_cb),
2481 (ev_window_xfer_job_cb), (ev_window_open_uri),
2482 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2483 (ev_window_print), (ev_window_print_range),
2484 (ev_window_state_event), (ev_window_cmd_view_reload),
2485 (menu_item_select_cb), (menu_item_deselect_cb),
2486 (view_status_changed_cb), (ev_window_dispose),
2487 (drag_data_received_cb), (ev_window_init):
2488 * shell/ev-window.h:
2489 * shell/main.c: (load_files):
2491 New statusbar to show progress on idle. Two new jobs -
2492 xfer job and load job to load document in background. And update
2493 of page_cache clients to new location of code.
2495 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2497 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2498 selection in open dialog. It also remembers the last visited directory
2499 in the current session.
2501 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2503 * shell/ev-properties.c: (ev_properties_new):
2504 * shell/ev-properties.h:
2505 * shell/ev-window.c: (ev_window_cmd_file_properties):
2507 Get document info from page cache instead of document itself.
2508 This should fix crash related to race conditions described in
2511 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2513 * ps/ps-document.c: (ps_document_init),
2514 (send_ps), (get_page_box), (output), (catchPipe), (input),
2515 (stop_interpreter), (file_length), (file_readable),
2516 (check_filecompressedb), (ps_document_enable_interpreter),
2517 (document_load), (ps_async_renderer_render_pixbuf):
2520 Big cleanup of the ps code
2522 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2524 * backend/Makefile.am:
2525 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2526 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2527 * backend/ev-async-renderer.h:
2529 Add an async renderer interface (method + callback) which
2530 is useful for backends like ps.
2532 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2533 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2534 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2535 (ev_job_queue_add_job), (move_job_async), (move_job),
2536 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2538 Add queues for async renderer, these are executed on the
2541 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2542 (ev_job_render_run):
2543 * backend/ev-jobs.h:
2545 If the backend support async renderer interface use it.
2547 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2548 (setup_pixmap), (ps_document_get_type),
2549 (ps_async_renderer_render_pixbuf),
2550 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2552 Implement async renderer interface.
2554 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2556 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2558 Cleanup links job on exit.
2560 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2562 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2563 (drag_data_get_cb), (drag_data_received_cb):
2564 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2565 (drag_data_get_cb), (parse_item_list),
2566 (egg_toolbar_editor_load_actions):
2567 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2568 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2569 (parse_item_list), (parse_toolbars):
2570 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2571 (dvi_pixbuf_put_pixel):
2573 Fix gcc 4.0 warnings
2575 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2577 * ps/ps-document.c: (start_interpreter):
2579 Fix warning when loading ps
2581 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2583 * ps/ps-document.c: (output):
2585 Fix crash when priting gs error messages.
2587 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2589 * backend/ev-page-cache.c: (_ev_page_cache_new):
2590 * backend/ev-page-cache.h:
2592 Use a const to return title so that we dont double
2593 free it. Small cleanup and fix a leak.
2595 * shell/ev-window.c: (update_window_title):
2597 strdup value from get_title.
2599 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2601 * shell/ev-sidebar-links.c: (job_finished_callback),
2602 (ev_sidebar_links_set_document):
2604 Cleanup the old job when changing document
2606 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2608 * shell/ev-stock-icons.c:
2609 * shell/ev-stock-icons.h:
2610 * shell/ev-window.c:
2612 Add stock icons for actions that can appear in toolbar. Fix for
2615 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2617 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2618 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2619 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2620 * backend/ev-page-cache.h:
2621 * shell/ev-view.c: (scroll_to_current_page),
2622 (view_update_range_and_current_page), (get_page_y_offset),
2623 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2624 (ev_view_size_request_continuous),
2625 (ev_view_zoom_for_size_continuous_and_dual_page),
2626 (ev_view_zoom_for_size_continuous):
2628 More compact EvView layout in document with pages of different size.
2630 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2632 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2635 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2637 * shell/ev-view.c: (view_set_adjustment_values):
2638 * shell/ev-window.c: (ev_window_cmd_file_properties):
2640 A bit different fix for rounding problem but it has no
2641 problems on startup. Make properties window transient to parent.
2643 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2645 * pdf/ev-poppler.cc:
2647 More commenting of font stuff.
2649 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2651 * pdf/ev-poppler.cc:
2653 Comment out some more fonts stuff. Should really
2654 work without the poppler patch now.
2656 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2658 * pdf/ev-poppler.cc:
2662 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2664 * data/evince-properties.glade:
2665 * pdf/ev-poppler.cc:
2666 * shell/ev-properties.c: (setup_fonts_view):
2668 Set the column title. Show the dialog only
2669 once everything is setup.
2670 Getting font info can be very slow... will
2671 prolly need to make this threaded too.
2673 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2675 * backend/Makefile.am:
2676 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2677 (ev_document_fonts_get_fonts_model):
2678 * backend/ev-document-fonts.h:
2679 * data/evince-properties.glade:
2680 * pdf/ev-poppler.cc:
2681 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2682 * shell/ev-properties.h:
2683 * shell/ev-window.c: (ev_window_cmd_file_properties):
2685 Implement fonts list. Defined out for now, since it depends
2686 on a not yet committed poppler patch.
2688 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2690 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2693 * shell/ev-window.c: Make sure we add the timeout when we get a
2696 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2697 adjustment->value before calculating the zoom factor to average
2698 out all of our rounding errors. The page no longer 'drifts' when
2701 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2703 * data/evince-properties.glade:
2704 * shell/ev-properties.c: (ev_properties_format_date),
2707 Labels don't expand when the dialogue is resized.
2708 strftime result needs to be converted to UTF-8. Thanks
2709 to Christian Persch <chpe@gnome.org>.
2711 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2713 * data/evince-properties.glade:
2717 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2719 * backend/ev-document-info.h:
2720 * backend/ev-document.c: (ev_document_info_free):
2721 * data/evince-properties.glade:
2722 * pdf/ev-poppler.cc:
2723 * ps/ps-document.c: (ps_document_get_info):
2724 * shell/ev-properties.c: (ev_properties_format_date),
2725 (set_property), (ev_properties_new):
2726 * shell/ev-properties.h:
2727 * shell/ev-window.c: (ev_window_cmd_file_properties):
2729 Rework properties code to take only EvPropertyInfo
2730 in the constructor so that it can be useful for
2731 nautilus plugin too.
2733 Deal with backends that doesnt support some properties.
2734 Make set property code generic.
2736 2005-06-04 Christian Persch <chpe@gnome.org>
2738 * data/evince-properties.glade:
2740 fix spacings, make resizeable, and make data labels
2741 selectable + ellipsised
2743 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2745 * backend/ev-document-info.h:
2747 * data/evince-ui.xml:
2748 * pdf/ev-poppler.cc:
2749 * shell/Makefile.am:
2750 * shell/ev-window.c: (update_action_sensitivity),
2751 (ev_window_cmd_file_properties):
2753 Initial go at file properties. Patch by
2754 Emil Soleyman-Zomalan <emil@soleyman.com>.
2755 Needs love see #169583
2757 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2759 * ps/ps-document.c: (output):
2760 * ps/ps.c: (psscan):
2762 Try to render even if psscan fails.
2764 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2766 * ps/ps.c: (psscan), (pscopydoc):
2768 Port buffered reading code from gv
2770 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2772 * ps/ps-document.c: (interpreter_message), (output):
2774 Do not fail on interpreter messages
2776 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2778 * backend/ev-document-misc.c:
2779 (ev_document_misc_get_thumbnail_frame):
2781 Pages can be 0 x 0, dont assert on this case
2783 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2785 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2786 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2788 Correctly manage our reference on document. Finally the reload
2789 huge leak is gone...
2791 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2793 * ps/ps-document.c: (ps_document_dispose):
2795 Forgot to chain it to the parent. Thanks chpe.
2797 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2799 * ps/ps-document.c: (ps_document_dispose),
2800 (ps_document_class_init), (stop_interpreter), (document_load):
2802 Cleanup dispose a bit. Dont leak the whole pixmap.
2804 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2806 * pdf/ev-poppler.cc:
2808 Release the poppler document on dispose
2810 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2812 * shell/ev-view.c: (ev_view_set_document):
2814 Release ref on the pixbuf cache when changing
2817 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2819 * ps/ps-document.c: (ps_document_get_info):
2823 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2825 * backend/ev-page-cache.c: (ev_page_cache_init),
2826 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2827 * backend/ev-page-cache.h:
2828 * shell/ev-page-action.c: (page_changed_cb):
2830 Set page action entry width depending on labels width. Fix
2833 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2835 * backend/ev-link.c: (ev_link_class_init):
2837 Allow -1 as page value (error)
2839 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2841 * shell/ev-sidebar-thumbnails.c:
2842 (ev_sidebar_thumbnails_set_document):
2843 * shell/ev-view.c: (scroll_to_current_page),
2844 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2845 (page_changed_cb), (on_adjustment_value_changed),
2846 (ev_view_set_document):
2848 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2851 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2854 * djvu/djvu-document.c: (djvu_document_get_page_size):
2856 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2859 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2861 * shell/ev-view.c (draw_one_page): modify the expose handling to
2864 * shell/ev-window.c (update_action_sensitivity): Respect
2865 permissions field. Kowtow to the man.
2867 * pdf/ev-poppler.cc: Get the permissions field.
2869 * tiff/*c: Make a tiny bit more robust.
2871 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2873 * djvu/djvu-document.c:
2875 Pop messages from djvu context message queue.
2877 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2879 * configure.ac, Makefile.am, shell/Makefile.am:
2880 * tiff/Makefile.am, shell/ev-document-types.c:
2882 Cleanup tiff configure checks. Fix for bug 305218.
2884 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2886 * configure.ac: Added "uk" to ALL_LINGUAS.
2888 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2890 * cut-n-paste/zoom-control/ephy-zoom.c:
2891 (ephy_zoom_get_changed_zoom_level):
2892 * cut-n-paste/zoom-control/ephy-zoom.h:
2893 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2894 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2895 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2896 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2897 (zoom_control_changed_cb), (ev_window_init):
2899 Fix minor points related to moving best fit up. Introduce
2900 "zoom" property and make zoom control change it's value on
2901 notify::zoom signals. Fix for 305080.
2903 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2905 * data/evince-ui.xml:
2906 * shell/ev-window.c: (set_view_actions_sensitivity):
2908 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2910 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2914 Depends on poppler 0.3.2
2916 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2918 * cut-n-paste/recent-files/egg-recent-item.c:
2919 (egg_recent_item_get_short_name):
2920 * cut-n-paste/toolbar-editor/Makefile.am:
2921 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2922 (new_pixbuf_from_widget):
2923 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2924 * cut-n-paste/toolbar-editor/egg-marshal.c:
2925 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2926 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2930 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2932 * tiff/tiff-document.c: Rough TIFF backend.
2934 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2938 * cut-n-paste/toolbar-editor/Makefile.am:
2942 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2944 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2945 (ev_view_find_next), (ev_view_find_previous):
2947 Remove the locks around get_n_results
2949 2005-05-21 Juerg Billeter <j@bitron.ch>
2951 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2953 Pass correct number of pages to poppler.
2955 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2959 * data/evince.desktop.in:
2960 * data/evince.desktop.in.in:
2963 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2965 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2967 * shell/ev-view.c: (view_update_adjustments),
2968 (view_set_adjustment_values): cast adjustmen->value to (int)
2969 before using it. Otherwise, we get off by a pixel in some
2972 (draw_one_page): Draw the border on expose.
2974 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2976 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2977 adjustment when the mode changes, #304923
2979 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2981 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2982 flickering on resize but still use gdk_window_scroll on
2985 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2987 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2990 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2992 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2993 second page on page_changed if possible, #304669
2995 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2997 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2998 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3000 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3003 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3004 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3005 (ev_view_zoom_for_size_presentation),
3006 (ev_view_zoom_for_size_continuous_and_dual_page),
3007 (ev_view_zoom_for_size_continuous),
3008 (ev_view_zoom_for_size_dual_page),
3009 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3011 * shell/ev-window.c: (update_view_size),
3012 (ev_window_sizing_mode_changed_cb):
3014 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3015 the scrollbars. It's not 100% right, but it's much closer. Kills
3016 an infinite loop, #304769
3019 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3021 * data/evince-ui.xml:
3022 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3023 * shell/ev-window.c: (set_view_actions_sensitivity):
3025 Make PgUp/Down behave like Space
3027 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3029 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3030 * backend/ev-ps-exporter.h:
3031 * pdf/ev-poppler.cc:
3032 * ps/ps-document.c: (ps_document_ps_export_begin):
3033 * shell/ev-print-job.c: (idle_print_handler):
3035 Adapt to new poppler api
3037 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3039 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3040 (ephy_zoom_control_init):
3042 Translate zoom levels
3044 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3046 * cut-n-paste/zoom-control/ephy-zoom.c:
3047 (ephy_zoom_get_zoom_level_index):
3049 Fix current zoom -> zoom control match
3051 2005-05-18 James Bowes <bowes@cs.dal.ca>
3053 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3054 rather than the scrolled_window that it's in. Fixes bug #304655.
3056 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3058 * shell/ev-view.c: (view_update_adjustments),
3059 (view_set_adjustment_values), (view_update_range_and_current_page),
3060 (view_scroll_to_page), (set_scroll_adjustment),
3061 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3062 (ev_view_scroll), (ev_view_scroll_view),
3063 (ensure_rectangle_is_visible), (find_page_at_location),
3064 (get_link_at_location), (go_to_link), (status_message_from_link),
3065 (ev_view_size_request_continuous_dual_page),
3066 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3067 (ev_view_unrealize), (ev_view_expose_event),
3068 (ev_view_button_press_event), (ev_view_motion_notify_event),
3069 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3070 (draw_rubberband), (highlight_find_results), (draw_one_page),
3071 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3072 (ev_view_init), (find_changed_cb), (page_changed_cb),
3073 (on_adjustment_value_changed), (ev_view_new),
3074 (ev_view_set_document), (ev_view_set_zoom),
3075 (ev_view_set_continuous), (ev_view_set_dual_page),
3076 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3077 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3078 (ev_view_zoom_for_size_presentation),
3079 (ev_view_zoom_for_size_continuous_dual_page),
3080 (ev_view_zoom_for_size_continuous),
3081 (ev_view_zoom_for_size_dual_page),
3082 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3083 (ev_view_get_status), (ev_view_set_status),
3084 (update_find_status_message), (ev_view_get_find_status),
3085 (ev_view_set_find_status), (jump_to_find_result),
3086 (jump_to_find_page), (compute_selections), (clear_selection),
3087 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3088 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3089 (ev_view_update_primary_selection),
3090 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3092 * shell/ev-window.c: (ev_window_open_page_label),
3093 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3095 * shell/ev-window.h:
3096 * shell/main.c: (load_files):
3098 Massive code clean up from Nickolay Shmyrev. Keep page offset
3099 when resizing. Remove the bin_window(). Also, patch from James
3100 Bowes to fix command line page, #300641
3102 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3104 * data/evince-ui.xml:
3107 * shell/ev-window.c: (update_action_sensitivity):
3109 Get rid of View->Normal Size, it's just confusing
3111 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3113 * backend/ev-document-info.h:
3114 * backend/ev-document.c: (ev_document_info_free): Free the
3117 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3118 (clear_range), (add_range), (update_visible_range),
3119 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3120 (ev_sidebar_thumbnails_set_document):
3121 * shell/ev-window.c: (ev_window_setup_document): Only render the
3122 visible thumbnails. It takes an instant to render, but it uses
3125 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3127 * shell/ev-sidebar-links.c: (popup_menu_cb):
3131 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3134 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3135 (button_press_cb), (ev_sidebar_links_construct):
3137 Show the popup menu also on keybindings
3139 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3141 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3142 * shell/ev-window.h:
3144 Expose api to print a range (with dialog). Make private _print use
3147 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3148 (ev_sidebar_links_construct):
3150 Show a print context menu on linkx, it prints the selected
3153 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3155 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3158 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3164 * shell/ev-window.c: (build_comments_string),
3165 (ev_window_cmd_help_about):
3167 Show poppler version/backend and authors
3169 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3171 * cut-n-paste/zoom-control/ephy-zoom.c:
3172 (ephy_zoom_get_zoom_level_index):
3173 * cut-n-paste/zoom-control/ephy-zoom.h:
3175 Move the best fit items at the top of the list
3177 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3179 * shell/ev-marshal.list:
3180 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3181 (activate_cb), (match_selected_cb), (activate_link_cb),
3182 (connect_proxy), (ev_page_action_class_init):
3183 * shell/ev-page-action.h:
3185 Use signals to notify action activation. Hopefully
3186 I did not break completion since I cant test...
3188 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3189 (register_custom_actions):
3191 Connect to page selector actions and also grab focus on
3192 the view when activated.
3194 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3196 * pdf/ev-poppler.cc:
3197 * backend/ev-page-cache.c: make page size calculation consistent
3198 and set it to (int)( width * scale + 0.5). This makes the weird
3199 line going through the middle of the page go away.
3201 * shell/ev-view.c: move painting the background page after
3202 checking the expose area covers us.
3204 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3206 * data/evince-password.glade:
3208 Mark labels as not translatable. Fix for bug 302842.
3210 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3212 * configure.ac: Added "es" to ALL_LINGUAS.
3214 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3216 * data/evince-toolbar.xml:
3217 * shell/ev-window.c: (update_action_sensitivity),
3218 (ev_window_setup_document), (ev_window_set_page_mode),
3221 Remove some leftover code from jrb first continous
3222 attempt. Use the new actions, we still need good icons
3225 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3227 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3229 Update label when connecting proxy. Fix a warning with NULL
3232 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3234 * data/evince-ui.xml:
3235 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3236 * shell/ev-page-action.h:
3237 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3239 Add mnemonic for edit toolbar.
3240 ctrl+l focus the page entry.
3242 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3245 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3247 * shell/main.c: (main):
3249 Put the toolbar xml in evince own dot dir
3251 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3253 * shell/ev-window.c: (ev_window_init):
3255 Make the toolbar not removable
3257 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3259 * data/evince-ui.xml:
3260 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3261 * shell/ev-sidebar-links.h:
3262 * shell/ev-sidebar-thumbnails.c:
3263 (ev_sidebar_thumbnails_get_treeview):
3264 * shell/ev-sidebar-thumbnails.h:
3265 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3266 (ev_view_class_init):
3268 * shell/ev-window.c: (update_action_sensitivity),
3269 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3270 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3271 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3274 This is evil... Make space/backspace global accelerators but
3275 enable them only for some widgets (sidebars and view).
3276 I dont like it, but I dont know a better way... :/
3278 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3280 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3281 (ev_page_action_widget_finalize),
3282 (ev_page_action_widget_class_init), (update_page_cache):
3284 Keep a weak reference on proxy->page_cache so that we
3285 dont try to disconnect the signal if the object is already
3286 gone. Maybe there is a better way to cleanup reference handling
3287 in page action though...
3289 2005-05-10 Juerg Billeter <j@bitron.ch>
3291 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3292 * backend/ev-ps-exporter.h:
3293 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3294 * ps/ps-document.c: (ps_document_ps_export_begin):
3296 Change api to pass print range to ps_exporter_begin. The pdf backend
3297 requires this information.
3299 * shell/ev-print-job.c: (idle_print_handler):
3303 2005-05-10 Juerg Billeter <j@bitron.ch>
3305 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3306 (idle_print_handler)
3307 * shell/ev-window.c: (ev_window_print):
3309 Support printing page range, based on patch by Amaury Jacquot
3311 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3313 * data/evince-toolbar.xml:
3315 Add zoom control to available items
3317 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3319 * shell/ev-window.c: (update_action_sensitivity):
3321 Set slash action insensitive when appropriate
3323 2005-05-10 Christian Persch <chpe@gnome.org>
3325 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3327 Fix warning on the overflow menu
3329 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3331 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3333 Check for uri correctness/existence
3335 2005-05-09 Juerg Billeter <j@bitron.ch>
3337 * shell/ev-window.c: (using_postscript_printer):
3339 LPD printers use postscript, too
3341 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3343 * shell/ev-window.c: (register_custom_actions):
3345 The zoom one is actually sort of useful,
3348 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3350 * shell/ev-window.c: (register_custom_actions):
3352 Hide page/zoom controls from overflow, they
3355 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3357 * cut-n-paste/update-from-egg.sh:
3359 Share it between all cut-n-paste subdirs
3361 * cut-n-paste/recent-files/Makefile.am:
3363 Fix to use "global" update-from-egg.sh
3365 * cut-n-paste/recent-files/egg-recent-model.c:
3366 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3367 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3368 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3369 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3373 * cut-n-paste/toolbar-editor/Makefile.am:
3375 Fix to use "global" update-from-egg.sh
3377 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3381 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3384 * cut-n-paste/Makefile.am:
3385 * cut-n-paste/recent-files/Makefile.am:
3386 * cut-n-paste/toolbar-editor/.cvsignore:
3387 * cut-n-paste/toolbar-editor/Makefile.am:
3388 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3389 (egg_editable_toolbar_get_type), (get_toolbar_position),
3390 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3391 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3392 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3393 (set_item_drag_source), (create_item_from_action), (create_item),
3394 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3395 (popup_toolbar_context_menu_cb), (free_dragged_item),
3396 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3397 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3398 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3399 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3400 (item_added_cb), (item_removed_cb),
3401 (egg_editable_toolbar_construct),
3402 (egg_editable_toolbar_disconnect_model),
3403 (egg_editable_toolbar_deconstruct),
3404 (egg_editable_toolbar_set_model),
3405 (egg_editable_toolbar_set_ui_manager),
3406 (egg_editable_toolbar_set_property),
3407 (egg_editable_toolbar_get_property),
3408 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3409 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3410 (egg_editable_toolbar_new_with_model),
3411 (egg_editable_toolbar_get_edit_mode),
3412 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3413 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3414 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3415 (new_pixbuf_from_widget), (new_separator_pixbuf),
3416 (update_separator_image), (style_set_cb),
3417 (_egg_editable_toolbar_new_separator_image),
3418 (egg_editable_toolbar_get_model):
3419 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3420 * cut-n-paste/toolbar-editor/egg-marshal.c:
3421 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3422 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3423 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3424 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3425 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3426 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3427 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3428 (editor_drag_data_delete_cb), (drag_data_get_cb),
3429 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3430 (editor_create_item), (update_editor_sheet), (setup_editor),
3431 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3432 (parse_item_list), (model_has_action), (update_actions_list),
3433 (egg_toolbar_editor_load_actions):
3434 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3435 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3436 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3437 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3438 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3439 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3440 (egg_toolbars_model_add_separator), (impl_add_item),
3441 (parse_item_list), (egg_toolbars_model_add_toolbar),
3442 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3443 (impl_get_item_data), (impl_get_item_type),
3444 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3445 (egg_toolbars_model_init), (free_toolbar),
3446 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3447 (egg_toolbars_model_remove_toolbar),
3448 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3449 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3450 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3451 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3452 (egg_toolbars_model_get_item_data),
3453 (egg_toolbars_model_get_item_type):
3454 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3455 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3457 * data/evince-toolbar.xml:
3458 * data/evince-ui.xml:
3459 * data/hand-open.png:
3461 * shell/Makefile.am:
3462 * shell/ev-window.c: (update_chrome_visibility),
3463 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3464 (ev_window_dispose), (ev_window_init):
3466 Implement epiphany like toolbar editor. Based on patch by
3467 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3469 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3471 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3473 Use set_cursor instead of set_selection, so that
3474 the keyboard focus moves too.
3476 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3478 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3480 Fix infinite loop when loading Type1 fonts
3482 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3484 * data/evince-ui.xml:
3485 * shell/ev-window.c:
3489 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3493 Make --disable really disable
3495 2005-05-07 Juerg Billeter <j@bitron.ch>
3497 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3499 Compare page labels even without has_labels set, fixes setting page
3502 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3504 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3505 (ev_view_set_cursor), (ev_view_button_press_event),
3506 (ev_view_motion_notify_event), (ev_view_button_release_event),
3509 Implement middle button scrolling. Based on a patch
3510 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3512 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3514 * shell/ev-document-types.c: (get_slow_mime_type),
3515 (get_document_type_from_mime), (ev_document_type_lookup):
3516 * shell/ev-document-types.h:
3518 Change api to lookup from uri. Do fast lookup first, if the
3519 type is unknown try with data sniffing.
3521 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3522 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3526 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3528 * thumbnailer/Makefile.am:
3532 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3539 * data/evince-ui.xml:
3541 Hide presentation mode for now
3543 * shell/ev-view.c: (highlight_find_results):
3545 Show current find selection only on current page
3547 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3549 * shell/ev-view.c: (ev_view_select_all):
3551 Compute size of the actual page, not of
3554 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3556 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3557 (view_rect_to_doc_rect), (compute_selections),
3558 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3559 (ev_view_copy), (ev_view_primary_get_cb),
3560 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3561 (ev_view_button_press_event), (ev_view_motion_notify_event),
3562 (ev_view_button_release_event), (page_changed_cb):
3566 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3568 * shell/ev-view.c: (compute_border), (get_page_extents),
3569 (doc_rect_to_view_rect), (highlight_find_results),
3570 (ev_view_bin_expose), (ev_view_select_all),
3571 (ev_view_motion_notify_event), (update_find_status_message),
3572 (jump_to_find_result), (jump_to_find_page):
3574 First go at fixing search, still buggy
3576 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3578 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3579 dropdown box and button at the top of the sidebar.
3581 2005-05-02 James Bowes <bowes@cs.dal.ca>
3583 * configure.ac: Output zoom-control Makefile.
3584 * cut-n-paste/Makefile.am: build zoom-control subdir.
3585 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3586 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3587 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3588 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3589 * cut-n-paste/zoom-control/ephy-zoom.c:
3590 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3591 from epiphany, and modified to add a separator into the menu.
3592 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3593 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3594 zoom-control action.
3595 * shell/Makefile.am: Include zoom-control flags.
3596 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3597 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3598 (ev_view_zoom_for_size_presentation),
3599 (ev_view_zoom_for_size_continuous_and_dual_page),
3600 (ev_view_zoom_for_size_continuous),
3601 (ev_view_zoom_for_size_dual_page),
3602 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3603 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3604 ev_view_get_zoom and ev_view_get_sizing_mode.
3606 * shell/ev-window.c: (update_action_sensitivity),
3607 (update_sizing_buttons), (zoom_control_changed_cb),
3608 (register_custom_actions): Initialize and use the zoom-control
3611 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3613 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3614 preview cache back to 1. Don't know when it got set to 0.
3616 * shell/ev-view.c: (compute_border), (ev_view_realize),
3617 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3618 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3619 (ev_view_get_fullscreen), (ev_view_set_presentation),
3620 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3621 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3623 * shell/ev-window.c:
3624 (update_chrome_visibility),
3625 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3626 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3627 (update_document_mode), (ev_window_update_fullscreen_action),
3628 (ev_window_fullscreen), (ev_window_unfullscreen),
3629 (ev_window_cmd_view_fullscreen),
3630 (ev_window_update_presentation_action),
3631 (ev_window_run_presentation), (ev_window_stop_presentation),
3632 (ev_window_cmd_view_presentation), (ev_window_state_event),
3633 (ev_window_focus_in_event), (ev_window_focus_out_event),
3634 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3635 * data/evince-ui.xml: Initial presentation mode. We should
3636 probably hide this until it's done, as it's quite rough. Also,
3637 change full-screen to fullscreen and add two getters to EvView.
3639 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3641 * shell/ev-page-action.c: (update_page_cache),
3642 (ev_page_action_dispose):
3643 * shell/ev-window.c: (destroy_fullscreen_popup),
3644 (ev_window_create_fullscreen_popup):
3646 Use connect_object rather than explicitly
3647 disconnect on dispose.
3649 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3651 * shell/ev-page-action.c: (update_page_cache),
3652 (ev_page_action_dispose):
3654 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3656 * backend/ev-page-cache.c: (_ev_page_cache_new),
3657 (ev_page_cache_set_page_label),
3658 (ev_page_cache_has_nonnumeric_page_labels):
3659 * backend/ev-page-cache.h:
3660 * shell/ev-page-action.c: (update_pages_label):
3662 If all page labels are numeric, fallback to default
3663 way to display number of pages. See bug 173185.
3665 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3667 * shell/ev-page-action.c: (ev_page_action_dispose):
3668 * shell/ev-view.c: (view_update_range_and_current_page):
3669 * shell/ev-window.c: (ev_window_dispose):
3671 Set page on scroll in continuous mode. Fixes bug 301986.
3672 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3674 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3678 Require poppler 0.3.0
3680 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3682 * shell/Makefile.am, configure.ac: Fix build problems
3683 with t1lib. Bug 301996.
3685 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3687 * shell/ev-view.c: (ev_view_scroll_event):
3689 Scroll up increase zoom
3691 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3693 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3694 (ev_view_set_sizing_mode),
3695 (ev_view_zoom_for_size_continuous_and_dual_page),
3696 (ev_view_zoom_for_size_continuous):
3697 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3698 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3699 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3702 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3703 Fix for 165473 and 165472.
3705 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3708 * thumbnailer/Makefile.am:
3709 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3710 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3711 * thumbnailer/evince-thumbnailer.schemas.in:
3713 Make thumbnailer schemas translatable. Fix for bug 301773
3715 * thumbnailer/evince-thumbnailer-djvu.schemas:
3716 * thumbnailer/evince-thumbnailer-dvi.schemas:
3717 * thumbnailer/evince-thumbnailer.schemas:
3721 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3723 * shell/ev-view.c (ev_view_init): forgot to set this.
3725 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3727 * shell/ev-view.c: (find_page_at_location),
3728 (get_link_at_location),
3729 (ev_view_set_show_border), (ev_view_set_spacing),
3730 (ev_view_zoom_for_size_continuous_and_dual_page),
3731 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3732 Also, add a quick fix measuring of widths. Also, removed
3733 ev_view_set_spacing and ev_view_set_show_border.
3735 * shell/ev-window.c: (ev_window_unfullscreen),
3736 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3738 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3740 * shell/ev-view.c: (view_update_range_and_current_page),
3743 Fix crash on exit and scrolling to page in continuous view.
3745 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3748 * backend/ev-page-cache.c: (_ev_page_cache_new),
3749 (ev_page_cache_get_max_width_size),
3750 (ev_page_cache_get_max_height_size):
3751 * backend/ev-page-cache.h:
3752 * data/evince-ui.xml:
3753 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3754 * shell/ev-view.c: (view_update_adjustments),
3755 (view_update_range_and_current_page), (get_bounding_box_size),
3756 (ev_view_size_request_continuous_and_dual_page),
3757 (ev_view_size_request_continuous),
3758 (ev_view_size_request_dual_page),
3759 (ev_view_size_request_single_page), (ev_view_size_request),
3760 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3761 (ev_view_bin_expose), (ev_view_expose_event),
3762 (ev_view_set_property), (ev_view_get_property),
3763 (ev_view_class_init), (ev_view_init), (ev_view_new),
3764 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3765 (ev_view_set_dual_page), (ev_view_set_full_screen),
3766 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3767 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3768 (ev_view_zoom_out), (zoom_for_size_fit_width),
3769 (zoom_for_size_best_fit),
3770 (ev_view_zoom_for_size_continuous_and_dual_page),
3771 (ev_view_zoom_for_size_continuous),
3772 (ev_view_zoom_for_size_dual_page),
3773 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3774 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3776 * shell/ev-window.c: (update_action_sensitivity),
3777 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3778 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3779 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3780 (ev_window_cmd_view_zoom_out), (update_view_size),
3781 (ev_window_set_sizing_mode), (ev_window_init):
3783 Add Continuous and Dual page modes.
3785 2005-04-23 James Bowes <bowes@cs.dal.ca>
3787 * dvi/dvi-document.c: (dvi_document_load),
3788 (dvi_document_thumbnails_get_thumbnail),
3789 (dvi_document_init_params): Fix up some mixups between
3790 width and height to correct thumbnail rendering.
3792 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3794 * dvi/mdvi-lib/private.h:
3795 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3797 Suppess output for kpathsea during font generation. Thanks to
3800 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3807 * Makefile.am: fix distcheck.
3809 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3811 * shell/ev-sidebar-links.c: (selection_changed_callback),
3812 (update_page_callback), (row_activated_callback),
3813 (job_finished_callback), (ev_sidebar_links_set_document):
3815 Fix for bug #169901. Double click on links expands tree.
3817 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3819 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3820 hard-coded style. Fix for bug 170111
3822 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3824 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3827 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3829 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3831 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3833 * pdf/ev-poppler.cc:
3834 * shell/ev-view.c: (highlight_find_results):
3836 Fix find on single page documents
3838 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3840 * data/evince.schemas.in: fix for bug 301390
3842 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3844 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3845 (ev_view_zoom_out), (ev_view_zoom_normal):
3847 * shell/ev-window.c: (update_action_sensitivity),
3848 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3849 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3850 (ev_window_cmd_view_normal_size):
3852 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3853 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3856 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3860 Depend on 2.57, 2.59 doesnt seem to be necessary
3862 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3864 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3867 Put back total number of pages as (1 of 1234)
3869 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3871 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3874 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3875 function. This helps debugging.
3877 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3879 * djvu/djvu-document.c: (djvu_document_class_init),
3880 (djvu_document_get_info), (djvu_document_document_iface_init):
3881 * dvi/dvi-document.c: (dvi_document_class_init),
3882 (dvi_document_get_info), (dvi_document_document_iface_init):
3884 Dummy implementation of get_info method for dvi and djvu. Fix
3885 crashes with those backends
3887 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3889 * data/evince.desktop.in:
3891 Add application/x-gzpostscript
3893 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3895 * data/evince.schemas.in: Added real long descriptions,
3898 * README: Added actual text, closes bug 171869
3900 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3902 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3906 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3908 * backend/ev-document-info.h:
3910 s/GDate */GDate so we can just use g_free
3912 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3914 * shell/ev-window.c: (update_document_mode),
3915 (ev_window_setup_document):
3917 Show the window in fullscreen when specified by
3920 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3922 * backend/ev-document.c: (ev_document_class_init),
3923 (ev_document_get_info), (ev_document_render_pixbuf):
3924 * backend/ev-document.h:
3925 * backend/ev-page-cache.c: (_ev_page_cache_new):
3926 * pdf/ev-poppler.cc:
3927 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3928 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3929 * ps/ps-document.c: (ps_document_class_init), (document_load),
3930 (ps_document_get_info), (ps_document_document_iface_init):
3932 Remove get_title from the interface, we can just use document info
3934 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3936 * backend/Makefile.am:
3937 * backend/ev-document.c: (ev_document_render_get_info):
3938 * backend/ev-document.h:
3939 * pdf/ev-poppler.cc:
3941 Initial support for document info. Based on jrb patch.
3943 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3945 * shell/ev-window.c: (ev_window_state_event),
3946 (ev_window_class_init), (ev_window_init):
3948 Doesn't show resize grip when maximized. See bug #301053
3950 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3954 ev-sidebar-thumbnails now has translatable labels
3956 * shell/Makefile.am:
3957 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3958 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3959 (ev_sidebar_links_page_iface_init):
3960 * shell/ev-sidebar-links.h:
3961 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3962 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3963 (ev_sidebar_page_get_label):
3964 * shell/ev-sidebar-page.h:
3965 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3966 (ev_sidebar_thumbnails_set_document),
3967 (ev_sidebar_thumbnails_support_document),
3968 (ev_sidebar_thumbnails_get_label),
3969 (ev_sidebar_thumbnails_page_iface_init):
3970 * shell/ev-sidebar-thumbnails.h:
3971 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3972 (ev_sidebar_set_document):
3973 * shell/ev-sidebar.h:
3974 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3976 Small rework of sidebar code. Now sidebar pages should implement
3977 EvSidebarPage interface. That makes page management in EvSidebar
3978 easier. See bug #164811 for details
3980 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3982 * shell/ev-application.c: (ev_application_open):
3983 * shell/ev-document-types.c:
3985 Fix build error and small problem with application exit
3987 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3989 * thumbnailer/Makefile.am:
3990 * thumbnailer/evince-thumbnailer-djvu.schemas:
3991 * thumbnailer/evince-thumbnailer-dvi.schemas:
3993 Conditionally install schemas for djvu/dvi thumbnailer
3995 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3997 * shell/ev-document-types.h:
3998 * shell/ev-document-types.c:
3999 New files, handling the mapping from mimetypes to backends
4001 * shell/ev-window.c:
4002 * thumbnailer/evince-thumbnailer.c:
4003 Use the ev-document-types code
4005 * shell/Makefile.am:
4006 Added new convenience library libevbackendfactory_la, containing
4007 the new mimetype->backend logic; moved the backends into it.
4009 * thumbnailer/Makefile.am:
4010 Make the thumbnailer link with the libevbackend.la convenience
4011 library, rather than having a duplicate of the backend logic here.
4013 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4015 * shell/ev-stock-icons.c: constify some vars.
4016 * shell/ev-window.c: ditto.
4018 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4020 * ps/ps-document.c (get_page_orientation):
4022 Respect document orientation
4024 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4028 * shell/Makefile.am:
4030 Move library dependencies to components.
4032 * shell/ev-window.c: (update_window_title),
4033 (start_loading_document):
4035 Fix display of uris with spaces. Bug 168358.
4037 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4039 * shell/ev-sidebar-links.c: (selection_changed_cb):
4040 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4041 (ev_view_button_release_event), (ev_view_set_document):
4043 * shell/ev-window.c: (find_bar_search_changed_cb):
4044 * shell/ev-window.h: Minor cleanups removing some dead code.
4046 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4048 * backend/ev-page-cache.c: (_ev_page_cache_new):
4050 Set current page to 0 if document has pages.
4052 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4054 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4056 Initialize GError to NULL, fix a crash when loading fails.
4058 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4060 * shell/ev-window.c: (update_view_size):
4062 Calculate shadow size only when there is actually
4065 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4067 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4070 Allow setting view spacing, default to 0
4072 * shell/ev-window.c: (ev_window_unfullscreen),
4073 (ev_window_cmd_view_fullscreen), (ev_window_init):
4075 Remove spacing in fullscreen mode
4077 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4079 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4080 (ev_view_size_request), (expose_bin_window),
4081 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4083 * shell/ev-window.c: (ev_window_unfullscreen),
4084 (ev_window_cmd_view_fullscreen):
4086 Do not draw the border in fulscreen
4088 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4090 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4091 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4092 (find_page_at_location), (page_changed_cb):
4094 Rework border calculation, so that I can more easily disable it.
4095 Code somewhat cleaner too.
4097 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4099 * backend/ev-page-cache.c: (ev_page_cache_init),
4100 (_ev_page_cache_new):
4102 Remove some assertions, documents can have 0 pages.
4103 Make initial current page -1.
4105 * shell/ev-page-action.c: (page_changed_cb):
4107 Show "" if current page is -1
4109 * shell/ev-window.c: (update_action_sensitivity),
4110 (ev_window_setup_document):
4112 When document has 0 pages do not set the view
4113 and make nearly everything insensitive.
4115 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4117 * shell/ev-page-view.c:
4118 * shell/ev-page-view.h:
4120 Remove unused files.
4122 * shell/ev-sidebar-thumbnails.c:
4123 (ev_sidebar_thumbnails_set_document):
4124 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4125 (ev_sidebar_supports_document):
4126 * shell/ev-sidebar.h:
4127 * shell/ev-window.c: (ev_window_setup_document):
4129 Doesn't show thumbnails if document has 1 page. Make
4130 sidebar menu entries sensitive only if if they have
4131 sense. Fix bug 164811.
4133 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4135 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4136 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4137 (ev_view_zoom_out), (ev_view_set_size):
4139 Rework sizing to deal with documents with not uniform page
4142 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4144 * backend/ev-page-cache.c: (_ev_page_cache_new):
4146 Fix several page size caching bugs
4148 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4150 * shell/ev-window.c: (set_action_properties):
4152 Make all toolbar items translatable
4154 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4156 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4157 (save_page_list), (ps_document_save),
4158 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4159 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4160 (ps_document_ps_exporter_iface_init):
4163 Based on a patch by J�rg Billeter <j@bitron.ch>
4165 Implement print and save a copy for the ps backend.
4167 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4169 * backend/ev-document.h:
4170 * djvu/djvu-document.c: (djvu_document_can_get_text),
4171 (djvu_document_document_iface_init):
4172 * dvi/dvi-document.c: (dvi_document_can_get_text),
4173 (dvi_document_document_iface_init):
4174 * pdf/ev-poppler.cc:
4175 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4176 (pixbuf_document_document_iface_init):
4177 * ps/ps-document.c: (ps_document_can_get_text),
4178 (ps_document_document_iface_init):
4179 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4180 * shell/ev-window.c: (update_action_sensitivity):
4182 Fix the crash when trying to copy in backends that doesnt
4183 support it. We can implement a better solution once we
4184 do real text selection.
4186 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4188 * data/evince-ui.xml:
4189 * shell/ev-window.c: (ev_window_cmd_escape):
4191 Work around the Escape conflict (find bar and unfullscreen)
4193 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4195 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4197 Fix for #300233. Next page correctly handles document end.
4199 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4200 (ev_sidebar_thumbnails_class_init),
4201 (ev_sidebar_thumbnails_set_document),
4202 (ev_sidebar_thumbnails_clear_job),
4203 (ev_sidebar_thumbnails_clear_model):
4205 Cleanup thumbnail jobs on document changes.
4207 * shell/ev-view.c: (add_scroll_binding_keypad),
4208 (add_scroll_binding_shifted), (ev_view_class_init):
4210 Shift + Space scrolls up. Fix for #173184
4212 * shell/ev-window.c: (ev_window_open_page),
4213 (ev_window_cmd_view_reload):
4215 Fix reload (Bug #300094)
4217 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4220 * dvi/mdvi-lib/assoc.c:
4221 * dvi/mdvi-lib/assoc.h: Removed garbage files
4223 * dvi/mdvi-lib/bitmap.c:
4224 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4225 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4226 * dvi/mdvi-lib/color.h: Antialias of rules
4228 * dvi/mdvi-lib/common.h:
4229 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4230 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4231 * dvi/mdvi-lib/files.c:
4232 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4233 * dvi/mdvi-lib/mdvi.h:
4234 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4235 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4236 * dvi/mdvi-lib/util.c: Fix compile warnings
4238 * dvi/dvi-document.c:
4239 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4240 (dvi_document_thumbnails_get_thumbnail),
4241 (dvi_document_document_thumbnails_iface_init):
4242 * dvi/mdvi-lib/Makefile.am:
4243 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4244 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4246 Dvi backend now renders thumbnails
4248 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4250 * shell/main.c: (main):
4252 Save accelerators on exit. Fixes bug #172095.
4254 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4256 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4257 update priority" comment.
4259 * backend/ev-job-queue.c: Give a way to change priority.
4261 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4263 * shell/ev-page-action.c: Fix logic.
4265 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4267 * shell/ev-view.c: (ev_view_can_find_next):
4268 * shell/ev-window.c: (ev_window_setup_document):
4270 Check that the document supports find
4272 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4274 * data/evince-ui.xml:
4275 * shell/ev-view.c: (ev_view_can_find_next):
4277 * shell/ev-window.c: (update_action_sensitivity),
4278 (find_changed_cb), (ev_window_setup_document),
4279 (ev_window_cmd_edit_find_next):
4283 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4285 * pdf/ev-poppler.cc:
4286 * shell/ev-print-job.c: (idle_print_handler):
4288 Make printing work again
4290 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4292 * shell/ev-page-action.h:
4293 * shell/ev-page-action.c: (ev_page_action_widget_init),
4294 (ev_page_action_widget_class_init), (page_changed_cb),
4295 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4296 (get_filter_model_from_model), (match_selected_cb),
4297 (display_completion_text), (match_completion), (update_model),
4298 (connect_proxy), (ev_page_action_set_property),
4299 (ev_page_action_get_property), (ev_page_action_set_document),
4300 (ev_page_action_set_model), (ev_page_action_class_init): Big
4301 reworking to make completions work iff we have >= GTK-2.7.0
4303 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4304 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4305 (job_finished_cb): We now have a 'model' property that is set when
4306 the links are loaded. This can be caught with "notify::model"
4308 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4309 listen for the model to be set, and propagate it to the action.
4311 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4313 * cut-n-paste/recent-files/egg-recent-item.c:
4314 (egg_recent_item_set_uri), (make_valid_utf8),
4315 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4316 * cut-n-paste/recent-files/egg-recent-item.h:
4318 Update egg-recent from libegg. This should fix long
4319 startup problem. For details see
4320 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4322 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4324 * cut-n-paste/recent-files/Makefile.am:
4325 * data/evince-ui.xml, shell/Makefile.am:
4326 * shell/ev-application.c, shell/ev-application.h:
4327 * shell/ev-window.c: Recent files support.
4329 * configure.ac: Added "ru" to ALL_LINGUAS.
4331 * dvju: new backend to support DJVU files.
4332 * dvi: new backend to support DVI.
4334 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4335 * ev-application.c: Support for new backends.
4337 * help, ev-window.c, main.c shell/Makefile.am:
4338 Evince user documentation.
4340 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4343 * shell/ev-window.c:
4344 * thumbnailer/evince-thumbnailer.c:
4346 s/pdf-document/ev-poppler
4348 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4355 * ps/ps-document.c: (setup_pixmap):
4359 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4361 * backend/ev-page-cache.c (ev_page_cache_next_page):
4362 * shell/ev-window.c (ev_window_cmd_go_next_page)
4363 (ev_window_cmd_go_first_page): Fix of by one errors.
4365 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4367 * ps/ps-document.c: (get_page_box):
4369 Fix page size calculation
4371 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4373 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4374 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4375 (get_page_orientation), (setup_page), (document_load),
4376 (ps_document_get_page_size), (render_pixbuf_idle):
4379 More refactoring to adapt to EvDocument changes
4381 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4383 * ps/ps-document.c: (start_interpreter):
4385 Actually add alpha args
4387 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4389 * pdf/ev-poppler.cc:
4391 Make clipboard work again
4393 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4395 Make searching work again.
4397 * backend/ev-document.c:
4398 * backend/ev-document.h:
4399 * backend/ev-document-find.c:
4400 * backend/ev-document-find.h: Change EvDocumentIface so we no
4401 longer store the current page or zoom level in the document. The
4402 consequence is that all calls that operate on the current page now
4403 instead take the page number as an extra argument, and all
4404 coordinates are now doubles in document coordinate system.
4406 * pdf/ev-poppler.cc:
4407 * pixbuf/pixbuf-document.c:
4408 * ps/ps-document.c: Update backends accordingly.
4410 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4414 Add required gettext version
4416 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4418 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4419 make F1 bring up non-existent help.
4421 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4422 epiphany's find bar, #167477
4424 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4425 <emil@nishra.com> to add space-bar scrolling,
4427 * shell/ev-window.c (static GtkActionEntry entries): add default
4428 keybinding for Help (F1)
4431 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4432 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4435 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4438 * pixbuf/pixbuf-document.c:
4440 Got pixbuf backend working again
4442 2005-04-01 Steve Murphy <murf@e-tools.com>
4444 * configure.in: Added "rw" to ALL_LINGUAS.
4446 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4448 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4449 model types, noticed by Martin Kretzschmar.
4451 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4453 * pdf/ev-poppler.cc: Implement search based on
4454 poppler_page_find_text(). Currently a bit crude since we remember
4455 all matches from all pages. Also, we grab the big document lock
4456 when we search since searching changes the underlying stream and
4457 thus conflicts with the rendering thread.
4459 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4460 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4461 (ev_view_find_previous): Fix some page indexes to be 0 based,
4462 offset rubber band by view offset,
4464 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4466 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4468 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4470 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4471 completely because I didn't understand GtkActions. I should
4472 read Marco's code more carefully in the future.
4474 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4477 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4479 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4480 PopplerRectangle change from poppler CVS.
4482 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4484 * backend/ev-document.c: (ev_document_get_page_label):
4485 * backend/ev-document.h:
4486 * backend/ev-page-cache.c: (_ev_page_cache_new),
4487 (ev_page_cache_get_page_label):
4488 * backend/ev-page-cache.h:
4489 * pdf/ev-poppler.cc:
4490 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4491 (links_page_num_func):
4492 * shell/ev-sidebar-thumbnails.c:
4493 (ev_sidebar_thumbnails_set_document):
4494 * shell/ev-view.c: (status_message_from_link),
4495 (ev_view_motion_notify_event):
4496 * shell/ev-window.c: (document_supports_sidebar): Add in page
4497 label support. It's not perfect yet, but it's the first 'feature'
4499 Also, fix a bogus comment noticed by crispin.
4501 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4503 * Makefile.am: Remove pixbuf backend for now
4505 * configure.ac: Require poppler-glib instead of just poppler.
4507 * backend/ev-document-thumbnails.h: Add a comment
4509 * backend/ev-document.h:
4510 * backend/ev-document.c: (ev_document_class_init),
4511 (ev_document_load), (ev_document_get_link),
4512 (ev_document_get_links): Remove 3 methods and add get_links.
4515 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4516 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4518 * backend/ev-link.c: (ev_link_set_title),
4519 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4520 (ev_link_mapping_find):
4521 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4523 * backend/ev-page-cache.c: (ev_page_cache_init),
4524 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4525 (ev_page_cache_get_size), (ev_page_cache_next_page),
4526 (ev_page_cache_prev_page): Fix to be 0 based.
4530 * pdf/ev-poppler.cc: New backend.
4532 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4533 (ps_document_get_page), (ps_document_document_iface_init):
4535 * shell/ev-pixbuf-cache.h:
4536 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4537 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4538 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4539 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4540 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4541 Fix up code to grab a page cache per each doc. Also, fix to be 0
4544 * shell/ev-sidebar-thumbnails.c:
4545 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4546 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4548 * shell/ev-view.c: (status_message_from_link),
4549 (find_page_at_location), (get_link_at_location),
4550 (ev_view_motion_notify_event), (ev_view_button_release_event),
4551 (ev_view_init): Use the new link code. Fix to be 0 based.
4553 * shell/ev-window.c: (update_action_sensitivity),
4554 (document_supports_sidebar): 0 based.
4556 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4558 * pdf/pdf-document.cc: Patch from Fernando Herrera
4559 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4562 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4564 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4565 1 to the page, as this seems to be 1 based. I thought we has this
4568 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4571 * backend/Makefile.am:
4572 * backend/ev-document-links.c:
4573 (ev_document_links_has_document_links),
4574 (ev_document_links_get_links_model):
4575 * backend/ev-document-links.h:
4576 * backend/ev-document.c: (ev_document_get_page_cache),
4577 (ev_document_get_doc_mutex), (ev_document_load),
4578 (ev_document_save), (ev_document_get_title),
4579 (ev_document_get_n_pages), (ev_document_set_page),
4580 (ev_document_get_page), (ev_document_set_target),
4581 (ev_document_set_scale), (ev_document_set_page_offset),
4582 (ev_document_get_page_size), (ev_document_get_text),
4583 (ev_document_get_link), (ev_document_render),
4584 (ev_document_render_pixbuf), (ev_document_scale_changed):
4585 * backend/ev-document.h:
4586 * backend/ev-job-queue.c: (remove_object_from_queue),
4587 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4588 (no_jobs_available_unlocked), (ev_render_thread),
4589 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4590 (ev_job_queue_remove_job):
4591 * backend/ev-job-queue.h:
4592 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4593 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4594 (ev_job_links_class_init), (ev_job_render_init),
4595 (ev_job_render_dispose), (ev_job_render_class_init),
4596 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4597 (ev_job_thumbnail_class_init), (ev_job_finished),
4598 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4599 (ev_job_render_run), (ev_job_thumbnail_new),
4600 (ev_job_thumbnail_run):
4601 * backend/ev-jobs.h:
4602 * backend/ev-link.c:
4603 * backend/ev-link.h:
4604 * backend/ev-page-cache.c: (ev_page_cache_init),
4605 (ev_page_cache_class_init), (ev_page_cache_finalize),
4606 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4607 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4608 (ev_page_cache_set_link), (ev_page_cache_get_title),
4609 (ev_page_cache_get_size), (ev_page_cache_next_page),
4610 (ev_page_cache_prev_page):
4611 * backend/ev-page-cache.h:
4612 * pdf/pdf-document.cc:
4615 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4616 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4617 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4618 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4619 (is_interpreter_ready), (output), (catchPipe), (input),
4620 (start_interpreter), (check_filecompressed), (compute_dimensions),
4621 (ps_document_enable_interpreter), (document_load),
4622 (ps_document_next_page), (render_page), (ps_document_set_page),
4623 (ps_document_set_scale), (render_pixbuf_idle),
4624 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4626 * shell/Makefile.am:
4627 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4628 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4629 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4630 (ev_pixbuf_cache_new), (job_finished_cb),
4631 (check_job_size_and_unref), (move_one_job),
4632 (ev_pixbuf_cache_update_range), (find_job_cache),
4633 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4634 (ev_pixbuf_cache_add_jobs_if_needed),
4635 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4636 * shell/ev-pixbuf-cache.h:
4637 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4638 (idle_print_handler):
4639 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4640 (selection_changed_cb), (create_loading_model),
4641 (ev_sidebar_links_construct), (links_page_num_func),
4642 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4643 (update_page_callback), (job_finished_cb),
4644 (ev_sidebar_links_set_document):
4645 * shell/ev-sidebar-thumbnails.c:
4646 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4647 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4648 (page_changed_cb), (thumbnail_job_completed_callback),
4649 (ev_sidebar_thumbnails_set_document):
4650 * shell/ev-sidebar-thumbnails.h:
4651 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4652 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4653 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4654 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4655 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4656 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4657 (ev_view_button_release_event), (ev_view_scroll_view),
4658 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4659 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4660 (ev_view_new), (job_finished_cb), (page_changed_cb),
4661 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4662 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4663 (ev_view_find_previous):
4665 * shell/ev-window.c: (update_action_sensitivity),
4666 (ev_window_open_page), (update_window_title), (update_total_pages),
4667 (page_changed_cb), (ev_window_setup_document),
4668 (password_dialog_response), (ev_window_cmd_save_as),
4669 (ev_window_print), (ev_window_cmd_go_previous_page),
4670 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4671 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4672 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4673 * shell/main.c: (main):
4675 Merge evince-threads branch
4677 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4679 * configure.ac: Added "lt" to ALL_LINGUAS.
4681 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4688 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4690 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4692 Fix here also the thumbnails 1-basedness :)
4694 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4701 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4703 * pdf/pdf-document.cc:
4704 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4705 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4707 Fix the mess we did with thumbnails and 1-basedness
4709 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4711 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4713 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4720 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4723 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4724 (gtk_gs_defaults_get_alpha_parameters),
4725 (gtk_gs_defaults_get_ungzip_cmd),
4726 (gtk_gs_defaults_get_unbzip2_cmd):
4728 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4729 (ps_document_get_orientation), (document_load),
4730 (ps_document_goto_page), (ps_document_set_page_size):
4733 Some more sanitization of the ps backend. Remove a lot
4734 of unused code and do not base our defaults on ggv
4737 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4739 * thumbnailer/evince-thumbnailer.schemas:
4740 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4741 (main): add -s option for thumbnail size.
4743 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4747 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4750 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4752 * pdf/pdf-document.cc:
4754 Remove 4 pixels of useless border from the
4757 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4759 * backend/ev-document-thumbnails.c:
4760 (ev_document_thumbnails_get_thumbnail):
4761 * backend/ev-document-thumbnails.h:
4763 Rework API a bit. Add a border flag and
4764 change sizing logic (now the size we specify
4765 applies to the bigger dimension).
4767 * pdf/pdf-document.cc:
4768 * pixbuf/pixbuf-document.c:
4769 (pixbuf_document_thumbnails_get_thumbnail):
4770 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4771 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4773 Adapt to the new API and do not draw a border for nautilus
4776 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4778 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4779 take thumbnails from page "0" instead of "1". Added a copyright header.
4781 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4783 * ps/ps-document.c: (set_up_page), (start_interpreter):
4785 Make it C89 compliant
4787 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4792 * pdf/pdf-document.cc:
4793 * thumbnailer/Makefile.am:
4794 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4796 * thumbnailer/evince-thumbnailer.schemas:
4797 * thumbnailer/pdf-icon.png:
4799 Add a nautilus thumbnailer.
4800 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4802 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4810 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4812 Use poppler instead of including xpdf source code. Poppler is a
4813 fork of xpdf to build it as a shared library. See
4814 http://freedesktop.org/wiki/Software/poppler.
4816 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4819 * pdf/Makefile.am: Build libpdfdocument.a here.
4821 * pdf/GDKSplashOutputDev.cc:
4822 * pdf/GDKSplashOutputDev.h:
4823 * pdf/GnomeVFSStream.cc:
4824 * pdf/GnomeVFSStream.h:
4827 * test-gdk-output-dev.cc
4829 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4832 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4834 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4836 Clear idle stack before unsetting the document
4838 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4840 * ps/ps-document.c: (ps_document_widget_event),
4841 (ps_document_set_target), (ps_document_finalize),
4842 (ps_document_get_page):
4844 Disconnect the widget event signal on finalize.
4847 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4849 * ps/ps-document.c: (set_up_page):
4851 If there is no bpixmap create one, even if size
4854 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4856 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4857 (set_up_page), (document_load), (ps_document_set_zoom):
4859 Default page is 0. Calculate size even when we have no
4862 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4864 * shell/ev-sidebar.c: expand the selection widget to be always as
4867 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4869 * shell/ev-sidebar-thumbnails.c:
4870 (ev_sidebar_thumbnails_set_document):
4872 Clear the list store when setting document
4874 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4876 * shell/ev-page-action.c: (update_entry), (sync_entry),
4877 (activate_cb), (entry_size_request_cb), (create_tool_item),
4880 Use an entry for the page control instead of spinbuttons
4882 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4884 * data/evince.schemas.in:
4886 Correct confusing string
4888 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4890 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4891 for real. Gosh, how long has this been broken.
4893 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4894 check for a NULL link. We crash otherwise.
4896 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4903 2005-02-25 Sebastien Bacher <seb128@debian.org>
4905 * configure.ac: add the french translation.
4907 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4909 * shell/ev-window.c:
4911 Remove unused header -> fix distcheck
4913 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4915 * shell/ev-window.c: (update_window_title),
4916 (ev_window_popup_password_dialog):
4918 Unescape filename for display
4920 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4922 * pdf/xpdf/pdf-document.cc:
4924 In get_page_size deal with rotation. Also
4925 cleanup the function a bit.
4927 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4929 * pdf/xpdf/pdf-document.cc:
4931 Fix crash when opening in new window
4933 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4937 Check ghostscript >= 7
4939 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4941 * shell/ev-window.c:
4943 Make page width the default sizing mode
4945 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4946 Marco Pesenti Gritti <marco@gnome.org>
4948 * shell/ev-window.c: Remember the sidebar size
4950 * data/evince.schemas.in: Add a new gconf key to store the size of
4953 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4955 * data/evince-ui.xml:
4956 * shell/ev-window.c: (update_action_sensitivity),
4957 (ev_window_cmd_view_reload):
4959 Add a "Reload" action and menu entry
4961 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4963 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4964 iff the type doesn't support thumbnailing and indexing.
4966 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4968 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4970 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4972 * pdf/splash/Splash.cc:
4974 Port fix for a crasher from kde bug
4975 http://bugs.kde.org/show_bug.cgi?id=97131
4977 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4979 * pdf/xpdf/pdf-document.cc:
4981 Return a link even if it's of an unrecognized
4982 type. Otherwise we go in an infinte cycle.
4984 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4986 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4987 (size_allocate_cb), (ev_window_set_sizing_mode):
4989 Update size when switching mode
4991 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4993 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4994 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4995 (ev_window_cmd_view_normal_size):
4997 Fix size toggle buttons behavior
4999 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5001 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5002 (doc_rect_to_view_rect), (ev_view_size_allocate),
5003 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5004 (scale_changed_callback):
5006 Do not cache offsets in size_allocate.
5008 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5010 * shell/ev-view.c: (ev_view_size_allocate):
5012 Calculate offsets before calling the parent
5013 class (which does a redraw)
5015 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5017 * pdf/xpdf/pdf-document.cc:
5019 Fix a crasher on exit. Unused code, put a TODO
5021 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5023 * backend/ev-document.c: (ev_document_class_init),
5024 (ev_document_page_changed), (ev_document_scale_changed):
5025 * backend/ev-document.h:
5027 Separate page/scale notifications
5029 * pdf/xpdf/pdf-document.cc:
5031 Emit the new signals.
5032 Do not display the pdf page in _render, do it
5033 when scale/page are requested.
5035 * ps/ps-document.c: (ps_document_set_zoom),
5036 (ps_document_widget_event):
5039 Emit the new signals.
5041 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5042 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5043 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5044 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5046 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5047 (ev_window_cmd_view_page_width), (size_allocate_cb),
5048 (ev_window_set_sizing_mode):
5050 Rework sizing to be pixel based.
5051 There are bugs but should be already way better.
5053 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5055 * shell/ev-window.c: (ev_window_init):
5057 Do not allow to shrink sidebar smaller then
5060 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5062 * shell/ev-sidebar.[ch]
5063 * shell/ev-window.c:
5065 Improved sidebar widget. Fixes #166683
5067 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5069 * shell/ev-view.c (update_find_status_message): Give translators
5070 more flexibility with ngettext plural handling.
5072 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5074 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5075 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5076 page when we get the page size.
5078 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5080 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5082 ps pages are 0 based, convert
5084 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5086 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5088 Initialize correct parent class. Set GError on document load
5090 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5092 * pdf/xpdf/pdf-document.cc:
5094 Fixup selection offset calculation
5096 * shell/ev-view.c: (view_rect_to_doc_rect),
5097 (doc_rect_to_view_rect), (ev_view_size_allocate),
5098 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5099 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5101 Store selection as document relative, so that zooming
5102 and offset changing doesnt break it.
5104 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5106 * shell/ev-view.c: (ev_view_best_fit):
5108 Do not try to best fit if the view is not realized
5110 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5112 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5114 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5116 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5118 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5120 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5121 the popup window. That prevents it resizing when in full screen
5124 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5125 multiple rerenders. This pretty much sucks.
5127 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5128 rest of the toolbar.
5130 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5132 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5134 2005-02-17 Alexander Shopov <ash@contact.bg>
5136 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5138 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5140 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5142 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5144 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5145 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5146 (set_document_page), (document_changed_callback),
5147 (ev_view_set_document), (ev_view_find_previous),
5148 (ev_view_hide_cursor), (ev_view_show_cursor):
5150 * shell/ev-window.c: (update_chrome_visibility),
5151 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5152 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5153 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5154 (ev_window_unfullscreen):
5155 * shell/main.c: (main):
5157 Automatically hide the fullscreen button.
5158 Patch by Kristian Høgsberg <krh@redhat.com>
5160 2005-02-16 Vincent Noel <vnoel@cox.net>
5162 * shell/main.c (main): Specify an icon for the window. Patch by
5163 Jaap A. Haitsma. Fixes #166177.
5165 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5167 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5169 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5171 * backend/ev-document-misc.h:
5172 * backend/ev-document-misc.c:
5173 (ev_document_misc_get_page_border_size),
5174 (ev_document_misc_paint_one_page): New function to canonicalize
5175 sizing/painting a border.
5177 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5180 * pdf/xpdf/pdf-document.cc: use new function
5182 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5183 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5184 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5185 shell/ev-window.c: (update_sizing_buttons),
5186 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5187 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5188 (ev_window_cmd_view_page_width), (size_allocate_cb),
5189 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5190 and "fit width" values act as toggle buttons so they stay
5191 toggled. It's not 100% perfect, and it's a little slow, but it's
5192 good enough to commit I think.
5194 2005-02-15 David Lodge <dave@cirt.net>
5196 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5198 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5200 * shell/ev-window.c (update_window_title): replace newlines in
5201 the title by spaces. Bug #166107.
5203 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5205 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5206 parameters providing allocation width and height without
5207 scrollbars and width of a possible vertical scrollbar. With this
5208 additional information the functions can work as
5209 intended. Unfortunately they're not idempotent. We should
5210 transform these commands to toggles. Fixes Bug #164976
5211 Initial patch by Stephane Loeuillet, then heavily modified.
5213 * shell/ev-view.h: update prototypes.
5215 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5216 (ev_window_cmd_view_page_width): provide EvView fit functions with
5217 all the information they need. Formulas to calculate this
5218 information taken from GtkScrolledWindow.
5220 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5222 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5223 created a thumbnail, the list store is updated to know
5224 that the thumbnail is set. Fixes bug #166792
5226 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5228 * shell/ev-window.c: fixed typo, closes bug 166897
5230 * TODO: updated TODO with bug numbers that are relevant
5232 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5234 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5236 2005-02-09 Vincent Noel <vnoel@cox.net>
5238 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5239 and "Next" toolbar buttons as important to make them stand out.
5241 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5245 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5246 (start_interpreter), (stop_interpreter), (document_load),
5247 (ps_document_next_page), (ps_document_goto_page),
5248 (ps_document_set_page_size), (ps_document_widget_event),
5249 (ps_document_render):
5250 * shell/ev-page-view.c: (ev_page_view_dispose):
5251 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5253 Fix compilation on non-gcc platforms
5255 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5262 * pdf/xpdf/Catalog.cc:
5265 Fix the fix for CAN-2004-0888
5267 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5270 * data/evince-ui.xml:
5271 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5272 * shell/ev-stock-icons.h:
5273 * shell/ev-window.c: (update_action_sensitivity),
5274 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5275 (set_action_properties):
5277 Improve toolbar layout/icons
5279 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5281 * pdf/xpdf/pdf-document.cc:
5283 Add warnings about unimplemented/unknown link
5286 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5288 * ps/ps-document.c: (set_up_page):
5292 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5294 * ps/ps-document.c: (start_interpreter):
5298 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5300 * shell/ev-page-view.c: (ev_page_view_dispose):
5301 * shell/ev-view.c: (ev_view_finalize):
5302 * shell/ev-window.c: (ev_window_setup_document),
5303 (ev_window_dispose), (ev_window_init):
5305 Solve more refs issues.
5307 I commented out the page_view initialization for now:
5308 it was never destroyed (because it's never added
5309 to a container). Because of that we was leaking
5310 gs processes. Couldnt think to a clean fix.
5311 We need to figure this out, password view has the
5312 same issue probably.
5314 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5316 * ps/ps-document.c: (ps_document_finalize),
5317 (ps_document_get_n_pages), (ps_document_get_page):
5319 Some cleanups, stop the interpreter on finalize
5321 * shell/ev-page-view.c: (ev_page_view_dispose),
5322 (ev_page_view_class_init):
5324 Release our reference on the document
5326 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5330 * doc/debugging.txt:
5333 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5334 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5335 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5338 Add debugging helpers
5341 * ps/ps-document.c: (set_up_page), (start_interpreter),
5342 (stop_interpreter), (document_load), (ps_document_next_page),
5343 (ps_document_goto_page), (ps_document_set_page_size),
5344 (ps_document_widget_event), (ps_document_render):
5345 * shell/Makefile.am:
5346 * shell/ev-view.c: (expose_bin_window):
5347 * shell/main.c: (main):
5351 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5353 * ps/ps-document.c: (ps_document_widget_event):
5355 Initialize message_window, this should make ps
5356 rendering really work! (Never noticed because I was
5357 testing with a ps that is causing gs to exit every time!)
5359 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5361 * data/evince.schemas.in: updated simple error in applyto closing tag
5363 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5369 * data/evince-ui.xml:
5370 A data/evince.schemas.in:
5372 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5373 * shell/ev-stock-icons.h:
5374 * shell/ev-window.c: (update_chrome_visibility),
5375 (update_chrome_flag), (ev_window_cmd_edit_find),
5376 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5377 (ev_window_unfullscreen), (ev_window_focus_in_event),
5378 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5379 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5380 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5381 (ev_window_dispose), (ev_window_class_init),
5382 (set_action_properties), (set_chrome_actions), (load_chrome),
5385 Implement fullscreen mode changes from bug #164776.
5386 Also implement persistent chrome toggles.
5388 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5390 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5392 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5398 Add another check for find interface
5402 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5404 * shell/ev-application.c: (ev_application_open):
5405 * shell/ev-window.c: (ev_window_open):
5407 Open gzipped ps documents
5409 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5412 * shell/ev-view.c: (set_document_page):
5414 Clamp page number, dont try to move to
5417 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5419 * backend/ev-document-find.c: (ev_document_find_changed):
5420 * backend/ev-document-find.h:
5421 * pdf/xpdf/pdf-document.cc:
5422 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5423 * shell/ev-window.c: (find_bar_search_changed_cb):
5425 Fix several bugs with find
5427 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5429 * shell/ev-sidebar-thumbnails.c
5430 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5431 document. Prevents warning from scroll_to_cell.
5433 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5435 * configure.ac: Add «nb» to ALL_LINGUAS too.
5437 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5439 * NOTES: New file with some random thoughts.
5443 * backend/ev-document-misc.c:
5444 (ev_document_misc_get_page_border_size): New function to
5445 canonicalize shadow drawing sizes. Possibly goofy.
5447 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5448 (ev_view_best_fit), (ev_view_fit_width):
5449 * pdf/xpdf/pdf-document.cc:
5450 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5451 * ps/ps-document.c: (ps_document_get_page_size):
5452 * backend/ev-document-misc.h:
5453 * backend/ev-document.c: (ev_document_get_page_size):
5454 * backend/ev-document.h: get_page_size now takes a page number
5455 parameter. Made all the backends/frontends honor it.
5457 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5458 see. Doesn't work yet.
5460 * shell/Makefile.am:
5461 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5462 Doesn't do anything yet.
5464 * shell/ev-sidebar-thumbnails.c:
5465 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5468 * shell/ev-window.c: (update_action_sensitivity),
5469 (ev_window_setup_document), (ev_window_set_page_mode),
5470 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5471 view-swapping code a bit so we can have multiple views on a
5472 document. Add the multi-page view, though it can't be turned on
5475 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5477 * shell/ev-application.c: (ev_application_open):
5478 * shell/ev-view.c: (expose_bin_window):
5479 * shell/ev-window.c: (ev_window_open):
5481 Support eps and check document supports find
5482 before drawing highlightings in expose.
5484 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5486 * pixbuf/pixbuf-document.c:
5487 (pixbuf_document_thumbnails_get_dimensions),
5488 (pixbuf_document_document_thumbnails_iface_init):
5490 implement get_dimensions
5492 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5499 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5501 * shell/ev-view.c: (set_document_page):
5503 Scroll at the top of the page when changing page
5505 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5507 * shell/ev-view.c: (ev_view_motion_notify_event):
5509 Do not redraw unnecessarily
5511 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5513 * pdf/xpdf/pdf-document.cc:
5514 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5515 (expose_bin_window), (find_changed_cb):
5517 Yay! find works now... Now to find bugs...
5519 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5521 * backend/ev-document-find.c: (ev_document_find_base_init),
5522 (ev_document_find_changed):
5523 * backend/ev-document-find.h:
5524 * pdf/xpdf/pdf-document.cc:
5525 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5526 (expose_bin_window), (ev_view_init), (set_document_page),
5527 (ensure_rectangle_is_visible), (jump_to_find_result),
5528 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5529 (ev_view_find_next), (ev_view_find_previous):
5531 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5533 More work on find implementation, mostly there now
5535 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5537 * backend/ev-backend-marshalers.list:
5538 * backend/ev-document-find.c: (ev_document_find_base_init),
5539 (ev_document_find_cancel), (ev_document_find_page_has_results),
5540 (ev_document_find_get_n_results), (ev_document_find_get_result),
5541 (ev_document_find_get_progress), (ev_document_find_changed):
5542 * backend/ev-document-find.h:
5544 Enanche the find interface to be really able to do
5547 * pdf/xpdf/pdf-document.cc:
5551 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5552 (expose_bin_window), (ev_view_init),
5553 (ev_view_get_find_status_message), (find_changed_cb),
5554 (ev_view_set_document), (set_document_page):
5556 Adapt to the new interface. A few things are regressed sorry,
5557 I will finish it soon.
5559 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5561 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5562 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5563 ev_sidebar_thumbnails_parent_class variable, don't define another
5564 parent_class variable.
5566 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5567 (ev_page_action_class_init): ditto.
5569 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5570 (pixbuf_document_class_init): ditto.
5572 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5575 * .cvsignore: ignore various valgrind output files.
5577 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5579 * data/evince-ui.xml:
5580 * shell/Makefile.am:
5581 * shell/ev-history.c:
5582 * shell/ev-history.h:
5583 * shell/ev-navigation-action.c:
5584 * shell/ev-navigation-action.h:
5585 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5586 (ev_view_set_page), (ev_view_fit_width):
5588 * shell/ev-window.c: (update_action_sensitivity),
5589 (ev_window_setup_document), (register_custom_actions):
5591 Kill session history
5593 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5595 * shell/ev-window.c: (update_action_sensitivity):
5597 Fix inverted up/down buttons
5599 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5601 * shell/ev-sidebar-thumbnails.c
5602 (ev_sidebar_thumbnails_select_page): make sure the selected
5603 thumbnail stays visible.
5605 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5607 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5608 scrolled window for Federico.
5610 2005-01-26 Ole Laursen <olau@hardworking.dk>
5612 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5614 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5617 * pdf/splash/SplashFTFontEngine.cc:
5619 Fix CID fonts with freetype 2.1.9
5621 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5623 * TODO: added item for desktop icon thumbnailer
5625 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5627 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5628 unloaded docs when the title is accessed.
5630 * shell/ev-password-view.[hc]: New widget for displaying password
5633 * shell/ev-window.[ch]: Refactor password handling code to handle
5636 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5644 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5646 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5647 ignore page offset here, to make search results independent of it,
5649 * shell/ev-view.c (expose_bin_window): but take offsets into
5650 account here. Bug #164932
5652 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5653 scale at the right time. Bug #164996
5655 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5657 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5658 fix the problem. Now I just removed the Adobe font names and hope
5659 that the URW fonts are always in outline format. Bug #164934
5661 * shell/ev-window.c (update_window_title): empty titles are
5662 useless, use filename in that case too.
5664 * NEWS: Add some content.
5666 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5668 * TODO: added one more TODO item and a TODONE section :)
5670 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5672 * ps/ps-document.h: add page_[xy]_offset fields.
5674 * ps/ps-document.c (ps_document_set_page_offset)
5675 (ps_document_render): Keep offset in consideration in a few
5676 places. Bug #164752 "postscript documents are not centered in
5679 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5680 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5682 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5683 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5684 stub out missing methods for complete EvDocument implementation.
5685 Fixes segfaults with Save A Copy and Copy actions.
5687 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5688 (ps_document_document_iface_init): ditto.
5690 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5694 * data/evince.desktop.in:
5698 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5700 * shell/ev-view.c: (ev_view_button_press_event),
5701 (ev_view_motion_notify_event):
5703 Make selection work in any direction
5705 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5708 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5710 Use shorter labels for some of the toolbars items
5712 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5714 * pdf/xpdf/pdf-document.cc:
5716 Check the links info is initialized before
5717 using it. Should fix a crash on startup.
5719 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5721 * pixbuf/pixbuf-document.c
5722 (pixbuf_document_thumbnails_get_dimensions): force floating point
5723 division to calculate page_ratio. Fixes crash with landscape
5726 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5728 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5730 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5732 * shell/ev-view.c (set_document_page): unset has_selection when
5734 (set_document_page): handle paper size changes when the page
5735 changes (test with Free Culture, page 2).
5737 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5739 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5740 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5742 Use normal style color for the widget background and
5743 draw a black box around the page.
5745 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5747 * pdf/xpdf/pdf-document.cc:
5749 Keep offset in consideration in a few places
5751 * shell/ev-view.c: (expose_bin_window):
5753 Set the offsets so that the document is ever centered
5755 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5757 * TODO: Added TODO items and finished off the first todo item
5759 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5760 reflect current authors
5762 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5764 * pdf/xpdf/pdf-document.cc:
5765 * shell/ev-view.c: (ev_view_set_cursor),
5766 (ev_view_motion_notify_event), (document_changed_callback),
5767 (set_document_page):
5769 Show a wait cursor while the page is rendering
5771 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5773 * shell/ev-sidebar-thumbnails.c:
5774 (ev_sidebar_tree_selection_changed),
5775 (ev_sidebar_thumbnails_select_page):
5776 * shell/ev-sidebar-thumbnails.h:
5777 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5778 (ev_view_can_go_forward):
5779 * shell/ev-window.c: (ev_window_open_page),
5780 (ev_window_setup_document), (update_current_page),
5781 (view_page_changed_cb), (ev_window_init):
5782 * shell/ev-window.h:
5784 Ensure thumbnails selection, toolbar page control and
5785 current page are in sync.
5787 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5793 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5795 * backend/Makefile.am:
5796 * backend/ev-document-links.h:
5797 * backend/ev-document-security.c: (ev_document_security_get_type),
5798 (ev_document_security_has_document_security),
5799 (ev_document_security_set_password):
5800 * backend/ev-document-security.h:
5801 * backend/ev-document.c: (ev_document_error_quark):
5802 * backend/ev-document.h:
5804 * data/evince-password.glade:
5805 * pdf/xpdf/pdf-document.cc:
5806 * shell/Makefile.am:
5807 * shell/ev-password.c: (ev_password_set_bad_password_label),
5808 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5809 (ev_password_dialog_get_password),
5810 (ev_password_dialog_set_bad_pass):
5811 * shell/ev-password.h:
5812 * shell/ev-window.c: (ev_window_get_attribute),
5813 (ev_window_set_property), (update_action_sensitivity),
5814 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5815 (ev_window_setup_document), (ev_window_get_password),
5816 (ev_window_open), (ev_window_cmd_save_as),
5817 (using_postscript_printer), (ev_window_print),
5818 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5819 (update_fullscreen_popup), (ev_window_fullscreen),
5820 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5821 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5822 (menu_item_select_cb), (find_bar_search_changed_cb),
5823 (ev_window_dispose), (ev_window_init):
5825 Add initial support for password-supported dialogs. This could be
5826 a lot cooler, but it'll do for now.
5828 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5830 * pdf/xpdf/pdf-document.cc:
5831 * shell/ev-view.c: (status_message_from_link),
5832 (ev_view_set_status), (ev_view_set_cursor),
5833 (ev_view_motion_notify_event), (ev_view_init):
5834 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5836 Fix bugs in the links implementation and change cursor
5837 when hovering a link.
5839 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5841 * viewer/.cvsignore: added cvsignore file for viewer directory
5843 * TODO: created TODO document
5845 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5848 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5849 new functions to help with implementation of sensitivity code
5850 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5851 of all actions that might require it. Fixes a crash when you
5852 click on the Zoom actions in a window lacking a document.
5854 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5856 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5859 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5861 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5862 (pixbuf_document_document_iface_init):
5863 * ps/ps-document.c: (ps_document_get_link),
5864 (ps_document_document_iface_init):
5865 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5866 (status_message_from_link), (ev_view_set_status),
5867 (ev_view_set_find_status), (ev_view_motion_notify_event),
5868 (ev_view_button_release_event), (ev_view_set_property),
5869 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5870 (ev_view_get_find_status_message), (update_find_results),
5871 (ev_view_get_status), (ev_view_get_find_status):
5873 * shell/ev-window.c: (view_status_changed_cb),
5874 (view_find_status_changed_cb), (ev_window_init):
5876 View status message support, use it to show the links.
5879 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5881 * backend/ev-document.c: (ev_document_get_link):
5882 * backend/ev-document.h:
5883 * pdf/xpdf/pdf-document.cc:
5884 * shell/ev-application.c: (ev_application_open):
5885 * shell/ev-application.h:
5886 * shell/ev-sidebar-links.c: (selection_changed_cb):
5887 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5888 (ev_view_go_to_link):
5890 Add support for document links
5892 2005-01-13 Anders Carlsson <andersca@gnome.org>
5894 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5896 Set the spin button limits correctly.
5898 * shell/ev-sidebar-thumbnails.c:
5899 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5900 Support changing pages by clicking on the thumbnails.
5902 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5904 * pixbuf/pixbuf-document.c:
5905 (pixbuf_document_thumbnails_get_dimensions),
5906 (pixbuf_document_document_thumbnails_iface_init):
5908 implement get_dimensions
5910 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5912 * ps/ps-document.c: (ps_document_goto_page):
5914 Fix page switching on multipage documents
5916 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5918 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5920 check for NULL before assigning to width and height parameters
5922 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5924 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5925 (pixbuf_document_set_property), (pixbuf_document_get_property):
5927 implement get/set properties
5929 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5931 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5933 return NULL instead of "Unknown", letting the title get set to
5934 the filename when the pdf has no title.
5936 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5938 * ps/ps-document.c: (ps_document_get_page_count),
5939 (ps_document_goto_page):
5941 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5943 * shell/ev-history.c: (ev_history_get_property),
5944 (ev_history_set_property), (ev_history_class_init),
5945 (ev_history_add_page), (ev_history_set_current_index):
5946 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5947 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5948 (ev_navigation_action_finalize):
5949 * shell/ev-navigation-action.h:
5950 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5951 (ev_view_go_forward), (ev_view_get_find_status_message),
5952 (history_index_changed_cb), (ev_view_set_history):
5954 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5955 (update_current_page), (register_custom_actions):
5957 Implement history dropdowns
5959 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5961 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5962 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5963 (ev_view_go_forward):
5964 * shell/ev-window.c: (register_custom_actions):
5966 Fix several history bugs
5968 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5970 * configure.ac: Add «nb» to ALL_LINGUAS.
5972 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5974 * backend/Makefile.am:
5975 * backend/ev-bookmark.c:
5976 * backend/ev-bookmark.h:
5977 * backend/ev-document-bookmarks.c:
5978 * backend/ev-document-bookmarks.h:
5979 * backend/ev-document-links.c: (ev_document_links_get_type),
5980 (ev_document_links_has_document_links),
5981 (ev_document_links_begin_read), (ev_document_links_get_link),
5982 (ev_document_links_get_child), (ev_document_links_next),
5983 (ev_document_links_free_iter):
5984 * backend/ev-document-links.h:
5985 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5986 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5987 (ev_link_get_link_type), (ev_link_set_link_type),
5988 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5989 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5990 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5991 (ev_link_new_external):
5992 * backend/ev-link.h:
5993 * pdf/xpdf/pdf-document.cc:
5994 * shell/Makefile.am:
5995 * shell/ev-application.c: (ev_application_open_link):
5996 * shell/ev-application.h:
5997 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5998 (ev_history_get_link_nth):
5999 * shell/ev-history.h:
6000 * shell/ev-sidebar-bookmarks.c:
6001 * shell/ev-sidebar-bookmarks.h:
6002 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6003 (ev_sidebar_links_class_init), (selection_changed_cb),
6004 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6005 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6006 (do_one_iteration), (populate_links_idle),
6007 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6008 * shell/ev-sidebar-links.h:
6009 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6010 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6013 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6014 * shell/ev-window.h:
6016 Rename bookmark to link, and use "Index" for the sidebar panel.
6018 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6020 * shell/Makefile.am:
6021 * shell/ev-application.c: (ev_application_open_bookmark):
6022 * shell/ev-application.h:
6023 * shell/ev-history.c: (ev_history_init), (free_links_list),
6024 (ev_history_finalize), (ev_history_class_init),
6025 (ev_history_add_link), (ev_history_add_page),
6026 (ev_history_get_link_nth), (ev_history_get_n_links),
6027 (ev_history_get_current_index), (ev_history_set_current_index),
6029 * shell/ev-history.h:
6030 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6031 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6032 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6033 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6036 * shell/ev-window.c: (ev_window_open_bookmark),
6037 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6038 (goto_page_cb), (register_custom_actions):
6039 * shell/ev-window.h:
6041 Initial history implementation. Needs work.
6043 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6045 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6047 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6049 * cut-n-paste/recent-files/egg-recent-item.c:
6050 * cut-n-paste/recent-files/egg-recent-item.h:
6051 * cut-n-paste/recent-files/egg-recent-model.c:
6052 * cut-n-paste/recent-files/egg-recent-util.c:
6053 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6054 * cut-n-paste/recent-files/egg-recent-view.c:
6058 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6060 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6061 (fillGlyph, fillImageMask, drawImage):
6062 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6063 pdf/splash/SplashTypes.h:
6064 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6065 packed mode for Splash.
6067 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6068 RGB8 packed mode, eliminates the pixbuf data creation loop.
6070 * shell/ev-print-job.c (ev_print_job_finalize)
6071 (ev_print_job_set_property, ev_print_job_get_property)
6072 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6073 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6074 (print_closure_finalize, ev_print_job_print): implement
6075 printing (for backends with EvPsExporter)
6077 * shell/ev_print_job.h: update prototypes.
6079 * shell/ev-window.c (ev_window_print): unref print job after
6082 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6083 unless the document implements the EvDocumentFind interface.
6085 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6087 * configure.ac: Added ja to ALL_LINGUAS.
6089 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6091 * pdf/xpdf/pdf-document.cc:
6093 add a FIXME. We should probably not allocate
6094 a bookmark object every time
6096 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6098 * shell/ev-application.c: (ev_application_open),
6099 (ev_application_open_bookmark):
6100 * shell/ev-application.h:
6102 Add a way to open bookmarks
6104 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6105 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6106 (ev_bookmark_set_property), (ev_bookmark_class_init),
6107 (ev_bookmark_new_title), (ev_bookmark_new_link),
6108 (ev_bookmark_new_external):
6110 Support for external uris, better constructors.
6112 * backend/ev-bookmark.h:
6113 * pdf/xpdf/pdf-document.cc:
6114 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6116 Handle external uris
6118 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6120 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6121 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6123 Hook up bookmarks navigation
6125 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6127 * backend/Makefile.am:
6128 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6129 (ev_bookmark_get_title), (ev_bookmark_set_title),
6130 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6131 (ev_bookmark_get_page), (ev_bookmark_set_page),
6132 (ev_bookmark_get_property), (ev_bookmark_set_property),
6133 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6135 * backend/ev-bookmark.h:
6136 * backend/ev-document-bookmarks.c:
6137 (ev_document_bookmarks_get_bookmark):
6138 * backend/ev-document-bookmarks.h:
6139 * pdf/xpdf/pdf-document.cc:
6140 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6142 Add a bookmark object to the backend and use it instead of get_values
6144 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6146 * data/evince-ui.xml:
6148 Cleanup and add select all.
6150 * shell/ev-view.c: (ev_view_select_all),
6151 (ev_view_button_press_event):
6153 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6156 Clear selection on click.
6158 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6160 * shell/ev-sidebar-thumbnails.c
6161 (ev_sidebar_thumbnails_set_document): forgot to unref the
6164 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6166 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6167 at the visible page, not just linearly. This makes it look fast.
6169 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6171 * backend/ev-document-misc.c
6172 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6174 * backend/ev-document-thumbnails.h: New interface to get the size
6177 2005-01-06 Jeremy Katz <katzj@redhat.com>
6179 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6182 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6184 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6185 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6188 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6190 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6192 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6193 fonts. Should fix font problems on systems that have the base
6194 fonts in bitmap format. Reported by James Henstridge
6195 <james@jamesh.id.au>.
6197 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6200 * pdf/xpdf/GfxState.cc:
6202 Fix for CAN-2004-1125
6204 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6206 * shell/ev-view.c: (ev_view_copy):
6208 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6210 Implement Edit->Copy
6212 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6214 * backend/ev-document.c: (ev_document_get_text):
6215 * backend/ev-document.h:
6216 * pdf/xpdf/pdf-document.cc:
6217 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6218 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6219 (ev_view_update_primary_selection), (ev_view_button_press_event),
6220 (ev_view_motion_notify_event), (ev_view_button_release_event):
6222 Beginnings of clipboard support. Incomplete but primary sort
6225 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6227 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6228 (expose_bin_window):
6230 Nicer rubberband drawing, from GtkIconView.
6232 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6234 * backend/ev-document.c: (ev_document_save):
6235 * backend/ev-document.h:
6236 * data/evince-ui.xml:
6237 * pdf/xpdf/pdf-document.cc:
6238 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6240 Implement "Save a copy..." menu item
6242 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6244 * shell/ev-view.c: (ev_view_zoom):
6246 Queue a resize when zoom changes
6248 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6250 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6253 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6256 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6258 * pdf/xpdf/pdf-document.cc
6259 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6261 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6263 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6264 It's slow, but I'll speed it up next!
6266 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6268 * shell/main.c (load_files):
6270 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6271 from the command line and because it seems more appropriate.
6273 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6275 * data/evince-ui.xml:
6276 * shell/ev-window.c: (update_action_sensitivity),
6277 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6279 s/next page/page down
6280 s/previous page/page up
6282 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6284 * data/evince-ui.xml:
6286 Change the layout to match clarkbw design.
6288 * shell/Makefile.am:
6289 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6290 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6291 (ev_navigation_action_finalize),
6292 (ev_navigation_action_set_property),
6293 (ev_navigation_action_get_property),
6294 (ev_navigation_action_class_init):
6295 * shell/ev-navigation-action.h:
6297 Implement clarkbw toolbar navigation controls (incomplete)
6299 * shell/ev-page-action.c: (update_label), (update_spin),
6300 (value_changed_cb), (create_tool_item), (connect_proxy),
6301 (ev_page_action_init), (ev_page_action_finalize),
6302 (ev_page_action_set_property), (ev_page_action_get_property),
6303 (ev_page_action_set_current_page),
6304 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6305 * shell/ev-page-action.h:
6307 Implement a page switcher in the toolbar
6309 * shell/ev-view.c: (ev_view_scroll_view):
6310 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6311 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6312 (register_custom_actions), (ev_window_init):
6314 Change page on PageUp/Down.
6316 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6318 * pdf/xpdf/pdf-document.cc
6319 (pdf_document_thumbnails_get_thumbnail): initial stab at
6320 implementing thumbnail support for pdfs. It only does documents
6321 with precached pdfs now.
6323 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6325 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6326 thumbnail code into a time-based idle as well. Also, turn off the
6327 shadow temporarily as it's really slow.
6329 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6331 * backend/ev-document.c: (ev_document_class_init):
6332 * pdf/xpdf/pdf-document.cc:
6333 * shell/ev-window.c: (ev_window_open):
6335 Fix document title bugs and fallback to
6336 filename when not available.
6338 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6340 * backend/ev-document.c: (ev_document_get_type),
6341 (ev_document_class_init), (ev_document_load),
6342 (ev_document_get_title):
6343 * backend/ev-document.h:
6344 * pdf/xpdf/pdf-document.cc:
6345 * ps/ps-document.c: (ps_document_set_property),
6346 (ps_document_get_property), (ps_document_class_init),
6350 * shell/ev-window.c: (update_window_title), (ev_window_open),
6353 Initial support for document title. Not working yet.
6355 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6357 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6359 Grab focus on the view when clicking it
6361 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6363 * shell/ev-marshal.list:
6364 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6365 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6367 Add key bindings to the view. Now if the focus would work
6370 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6373 * backend/Makefile.am:
6376 * dvi/dvilib/Makefile.am:
6377 * pdf/xpdf/Makefile.am:
6383 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6385 * shell/ev-view.c: (ev_view_realize):
6387 Fix mouse wheel scrolling
6389 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6395 * ps/ps-document.c: (catchPipe), (ps_document_init),
6396 (ps_document_class_init), (ps_document_cleanup),
6397 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6398 (set_up_page), (close_pipe), (is_interpreter_ready),
6399 (interpreter_failed), (output), (input), (start_interpreter),
6400 (stop_interpreter), (file_length), (file_readable),
6401 (check_filecompressed), (check_pdf), (compute_xdpi),
6402 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6403 (ps_document_get_type), (ps_document_emit_error_msg),
6404 (document_load), (ps_document_next_page),
6405 (ps_document_get_current_page), (ps_document_get_page_count),
6406 (ps_document_goto_page), (ps_document_set_page_size),
6407 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6408 (ps_document_load), (ps_document_get_n_pages),
6409 (ps_document_set_page), (ps_document_get_page),
6410 (ps_document_widget_event), (ps_document_set_target),
6411 (ps_document_set_scale), (ps_document_set_page_offset),
6412 (ps_document_get_page_size), (ps_document_render),
6413 (ps_document_document_iface_init):
6416 * shell/ev-window.c: (ev_window_open):
6418 Rename GtkGS to PSDocument
6420 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6422 * ps/gtkgs.c: (gtk_gs_class_init):
6425 Some more leftover...
6427 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6429 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6430 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6431 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6434 Remove unused code and make a lot of stuff private
6436 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6438 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6439 (gtk_gs_defaults_changed):
6445 Cleanup headers dependencies
6447 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6452 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6454 * ps/gtkgs.c: (file_length), (file_readable),
6455 (check_filecompressed), (check_pdf), (gtk_gs_load),
6456 (gtk_gs_get_postscript):
6460 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6465 * ps/gtkgs.c: (gtk_gs_set_zoom):
6469 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6471 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6473 Ensure the page is rerendered when changing zoom
6475 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6477 * backend/ev-document.c: (ev_document_base_init),
6478 (ev_document_changed):
6479 * backend/ev-document.h:
6481 Add a changed event that is emitted when the page content
6482 changes. This is necessary to deal with the fact that
6483 in ps backend rendering happen asycrounously.
6484 This makes the ps backend mostly work.
6486 * pdf/xpdf/pdf-document.cc:
6490 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6491 (ps_document_set_target):
6495 * shell/ev-view.c: (document_changed_callback),
6496 (ev_view_set_document), (ev_view_set_page):
6498 Redraw on the changed signal
6500 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6502 * configure.ac: Added pt_BR to ALL_LINGUAS.
6504 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6506 * backend/ev-document-bookmarks.c:
6507 (ev_document_bookmarks_get_child): *
6508 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6509 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6510 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6511 (ev_sidebar_bookmarks_destroy),
6512 (ev_sidebar_bookmarks_class_init),
6513 (ev_sidebar_bookmarks_construct), (stack_data_free),
6514 (do_one_iteration), (populate_bookmarks_idle),
6515 (ev_sidebar_bookmarks_clear_document),
6516 (ev_sidebar_bookmarks_set_document): *
6517 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6518 (ev_sidebar_add_page),
6519 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6520 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6521 it displays both the topics and the page numbers.
6523 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6525 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6527 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6530 2004-12-23 Adam Weinberger <adamw@gnome.org>
6532 * configure.ac: Added en_CA to ALL_LINGUAS.
6534 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6536 * ChangeLog: replace bottom of this ChangeLog (merged history of
6537 ggv and gpdf; where all paths were wrong and most of the files are
6538 not even in this tree) with ChangeLog (from arch) of the shell
6541 2004-12-23 Havoc Pennington <hp@redhat.com>
6543 * shell/ev-window.c: hook up potentially-questionable "find
6544 results status text" feature - something involving the sidebar or
6545 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6546 might be better in the end.
6548 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6549 with corresponding signal when it should be updated
6551 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6553 2004-12-22 Havoc Pennington <hp@redhat.com>
6555 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6556 find stuff on other pages, sort of (only returns one result on
6557 invisible pages, to show they have results; updates full results
6558 for a page when you view it). Currently repaints the current page
6559 every time a new result is found on any page, which isn't so nice.
6561 2004-12-22 Havoc Pennington <hp@redhat.com>
6563 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6564 the document doesn't support find (better ideas?)
6565 (find_bar_search_changed_cb): handle missing document or document
6566 that doesn't support find
6568 * pdf/xpdf/pdf-document.cc: port to implement the new
6571 * backend/ev-document-find.c: create a new interface for searching
6573 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6575 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6577 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6580 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6581 EvPrintJob constructor arguments.
6583 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6584 for documents that can export PostScript (page by page).
6586 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6588 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6589 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6590 (pdf_document_ps_exporter_iface_init:
6591 Implement EvPSExporter.
6593 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6595 2004-12-22 Anders Carlsson <andersca@gnome.org>
6597 * backend/Makefile.am:
6598 * backend/ev-document-thumbnails.c:
6599 (ev_document_thumbnails_get_type),
6600 (ev_document_thumbnails_get_thumbnail):
6601 * backend/ev-document-thumbnails.h:
6602 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6603 (pixbuf_document_thumbnails_get_thumbnail),
6604 (pixbuf_document_document_thumbnails_iface_init):
6605 * shell/Makefile.am:
6606 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6607 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6608 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6609 * shell/ev-sidebar-thumbnails.h:
6610 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6611 (ev_sidebar_set_document):
6612 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6613 (create_shadow), (ev_pixbuf_add_shadow):
6615 Add thumbnail support.
6617 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6619 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6620 (using_postscript_printer): Set up a print dialog for "PostScript
6623 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6626 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6628 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6630 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6631 (ps_document_set_target), (ps_document_get_page_size),
6632 (ps_document_render):
6637 2004-12-22 Christian Rose <menthos@menthos.com>
6639 * configure.ac: Added "sv" to ALL_LINGUAS.
6641 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6643 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6644 document supports bookmarks.
6646 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6648 * ps/ggvutils.c: (ggv_file_readable):
6650 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6651 (gtk_gs_get_postscript):
6655 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6657 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6658 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6659 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6660 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6661 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6662 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6663 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6664 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6665 (gtk_gs_set_antialiasing), (ps_document_load),
6666 (ps_document_render):
6669 Another check point for the ps backend. Now I can get it to show
6672 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6674 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6675 document setting code.
6677 2004-12-22 Anders Carlsson <andersca@gnome.org>
6679 * shell/eggfindbar.c: (entry_activate_callback):
6680 Animate the next button when activate is pressed.
6682 2004-12-22 Anders Carlsson <andersca@gnome.org>
6684 * shell/ev-window.c: (ev_window_cmd_edit_find),
6685 (update_fullscreen_popup), (ev_window_fullscreen),
6686 (ev_window_unfullscreen), (ev_window_state_event_cb),
6687 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6688 Fix bugs in fullscreen code.
6690 2004-12-22 Anders Carlsson <andersca@gnome.org>
6694 * pixbuf/Makefile.am:
6695 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6696 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6697 (pixbuf_document_set_page), (pixbuf_document_get_page),
6698 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6699 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6700 (pixbuf_document_render), (pixbuf_document_begin_find),
6701 (pixbuf_document_end_find), (pixbuf_document_finalize),
6702 (pixbuf_document_class_init),
6703 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6704 * pixbuf/pixbuf-document.h:
6705 * shell/Makefile.am:
6706 * shell/ev-application.c: (ev_application_open):
6707 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6711 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6714 * dvi/dvilib/Makefile.am:
6716 * configure.ac: Auto*ify dvi and dvi/dvilib
6718 * dvi/Makefile: Remove from CVS
6720 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6723 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6725 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6727 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6730 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6731 (gtk_gs_value_adjustment_changed), (compute_size),
6732 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6733 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6734 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6735 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6736 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6737 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6738 (ps_document_load), (ps_document_get_n_pages),
6739 (ps_document_set_page), (ps_document_get_page),
6740 (ps_document_set_target), (ps_document_set_scale),
6741 (ps_document_set_page_offset), (ps_document_get_page_size),
6742 (ps_document_render), (ps_document_begin_find),
6743 (ps_document_end_find), (ps_document_document_iface_init):
6745 * shell/Makefile.am:
6746 * shell/ev-window.c: (ev_window_open):
6748 Some work to integrate gtkgs with EvDocument
6750 2004-12-22 Anders Carlsson <andersca@gnome.org>
6752 * shell/ev-window.c: (update_fullscreen_popup),
6753 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6754 (exit_fullscreen_button_clicked_cb),
6755 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6756 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6757 (ev_window_state_event_cb), (ev_window_init):
6758 Add fullscreen support from Epiphany.
6760 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6762 * data/ev-stock-zoom-fit-width.png: fit-width
6763 stock icon from gpdf.
6765 * shell/ev-stock-icons.[ch]: copied from gpdf.
6767 * shell/main.c: (main): init stock icons.
6769 * shell/ev-window.c: use the fit-width icon.
6771 * data/evince-ui.xml: add zooming toolbar items.
6773 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6776 (ev_view_best_fit), (ev_view_fit_width): because
6777 get_page_size() returns the scaled page size, we
6778 need to calculate the scale factor relative to
6779 the previous scale factor. Should really just
6780 add get_real_page_size().
6782 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6784 * shell/ev-view.[ch]:
6785 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6786 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6789 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6790 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6791 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6794 * pdf/xpdf/pdf-document.cc:
6795 (pdf_document_begin_find),
6796 (pdf_document_end_find): make static.
6798 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6800 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6802 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6803 names to fontconfig patterns.
6804 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6806 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6809 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6825 Import ggv backend. Not hooked up yet.
6827 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6829 * shell/main.c: (load_files), (main): load files
6830 from the command line.
6832 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6834 * configure.ac: don't require bonobo.
6836 * cut-n-paste/recent-files/*: kill bonobo recent
6839 * shell/ev-window.c:
6840 (ev_window_is_empty): upd.
6841 (unable_to_load), (ev_window_open): load backend
6842 based on the mime type.
6844 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6846 * backend/.cvsignore: ignore generated marshalers source.
6848 * shell/main.c (main): this is not epiphany.
6850 2004-12-22 Havoc Pennington <hp@redhat.com>
6852 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6853 (expose_bin_window): draw find highlights
6855 * shell/ev-window.c (find_bar_search_changed_cb): implement
6857 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6858 (pdf_document_end_find): implement this interface
6860 * backend/ev-document.c (ev_document_found): add this to emit
6863 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6865 * data/evince-ui.xml: Add a few more toolbar items.
6867 * shell/ev-window.c: Hook up page navigation toolbar
6870 * shell/ev-view.[ch]: add ev_view_set/get_page and
6871 a page-changed signal.
6873 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6874 Add ev_document_get_page().
6876 * shell/ev-window.c: Sensitize/desensitize navigation
6879 2004-12-21 Havoc Pennington <hp@redhat.com>
6881 * backend/ev-backend-marshal.c,
6882 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6883 marshaler-generator thingy. I'm sure there's a better way to do
6884 this in the modern world.
6886 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6887 end_find methods and "found" signal.
6889 * configure.ac: find glib-genmarshal
6891 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6893 * shell/ev-sidebar.c: Construct an actual sidebar.
6894 * shell/ev-sidebar-bookmarks.[ch]:
6895 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6897 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6899 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6902 * shell/ev-view.c: Track the size from the document.
6904 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6906 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6907 constructor assumes ownership of the string passed in.
6909 * shell/ev-window.c (ev_window_open): Destroy the error
6910 dialog once we've displayed it.
6912 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6914 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6915 a bit, it works! (sort of)
6917 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6918 Move to .cc since we need to use C++ in the implementation.
6920 * shell/dummy.cc: Add a CC file to force evince
6921 to be linked as a C++ program.
6923 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6925 * shell/ev-view.[ch]: Start of content-area widget.
6927 * shell/ev-window.c: Create a EvView, update it
6928 as we change documents.
6930 * shell/Makefile.am shell/ev-marshal.list: Add
6931 generated marshalers.
6933 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6935 * Makefile.am (SUBDIRS): move shell.
6937 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6939 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6940 .a to libtool convenience libraries.
6942 * shell/ev-window.c (ev_window_open): Hard code loading
6945 * backend/ev-document.h: Add a boolean return to load(),
6946 fix GError * to GError **.
6948 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6949 object for a PDF backend EvDocument.
6951 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6953 * dvi/*: New directory with the beginning of a .dvi backend.
6955 2004-12-21 Havoc Pennington <hp@redhat.com>
6957 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6958 previous/next instead of back/forward
6960 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6962 * backend/ev-document.[ch]: Fix a couple of problems so
6965 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6967 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6968 to backend/ directory, rename EvViewer to EvDocument.
6970 2004-12-21 Havoc Pennington <hp@redhat.com>
6972 * shell/ev-window.c: hook up the find bar widget; now we just need
6973 a document to find things in
6975 * shell/eggfindbar.c: a find bar widget
6977 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6979 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6981 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6983 * pdf/**: Import of xpdf code from gpdf.
6985 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6987 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6988 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6989 Fix FreeType includes.
6991 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6992 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6993 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6994 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6995 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6996 Include xpdfconfig.h
6998 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7000 * shell/ev-window.c (ev_window_dispose): dispose can be called
7003 2004-12-21 Havoc Pennington <hp@redhat.com>
7005 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7008 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7009 items; really they should be synced with the strings, etc. from
7010 current gpdf, but just getting the boring typing out of the way
7012 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7015 * shell/ev-application.c: (window_destroy_cb):
7016 * shell/ev-window.c:
7017 * shell/main.c: (main):
7019 Actually show the window...
7021 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7024 * shell/Makefile.am:
7025 * shell/ev-application.c: (ev_application_class_init):
7026 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7030 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7032 Import to gnome cvs.
7034 * Remove copies of gpdf and ggv trees.
7035 * Rip out all the recursive configure code.
7036 * Remove bonobo machinery.
7037 * viewer/*: GInterfaces that backends should/can implement.
7039 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7041 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7044 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7046 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7047 (ev_application_finalize, ev_application_class_init)
7048 (ev_application_init): use GType instance private data for priv.
7050 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7051 (ev_window_finalize, ev_window_class_init)
7052 (ev_window_init): ditto.
7054 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7056 * shell/ev-application.c (ev_application_new_window): make public
7057 (ev_application_show_initial_window): kill.
7059 * shell/ev-application.h: update prototypes.
7061 * shell/main.cc (main): inline ev_application_show_initial_window.
7063 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7065 * shell/ev-application.c (ev_application_new_window): impl.
7066 (ev_application_show_initial_window): use it.
7067 (is_window_empty, ev_application_get_empty_window): returns an
7068 existing empty window or a new one.
7069 (ev_application_open): from ev_window_cmd_file_open.
7071 * shell/ev-application.h: update prototypes
7073 * shell/ev-window.c (ev_window_is_empty): impl.
7074 (ev_window_open): make public.
7075 (ev_window_cmd_file_open): use ev_application_open
7077 * shell/ev-window.h: update prototypes, remove unused.
7079 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7081 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7082 move destroy handler out of here...
7084 * shell/ev-application.c, shell/ev-application.h: ...into this new
7085 class. Also handles initial window creation.
7087 * shell/main.cc (main): use EvApplication to create initial
7090 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7092 * Makefile.am (SUBDIRS): add cut-n-paste
7094 * cut-n-paste/Makefile.am: add
7096 * configure.ac: generate Makefiles in cut-n-paste
7098 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7100 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7101 (ev_window_class_init): install ev_window_dispose.
7103 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7105 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7106 char (gchar looks stupid).
7108 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7110 * po/de.po: updated German translation.
7112 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7114 * configure.ac: add more pkg-config library checks for gnome-vfs,
7117 * gpdf/configure.in: temporarily disable libpaper
7118 checks. Otherwise I'd have to add the checks for the shell, too.
7120 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7122 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7123 and * file filters to the file choose.
7125 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7127 * po/de.po: Updated German translation.
7129 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7131 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7133 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7135 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7137 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7138 (ev_window_init): implement those menuitems.
7140 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7142 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7144 * shell/ev-window.c (ev_window_init): use the toolbar.
7146 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7148 * shell/ev-window.c (ev_window_init): use menu translations
7150 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7152 * configure.ac: add "de" to ALL_LINGUAS.
7154 * po/de.po: add German translation.
7156 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7158 * Makefile.am (SUBDIRS): add po
7160 * configure.ac: check intltool, glib-gettext etc, generate
7163 * po, po/POTFILES.in, po/POTFILES.skip: new.
7165 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7167 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7168 already use (#ifdef ENABLE_NLS)
7170 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7171 pointer indirection thinko.
7173 * shell/main.c: include gi18n.h for bindtextdomain etc.
7175 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7177 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7178 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7179 tooltips for menu items in the statusbar.
7181 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7183 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7184 pkgdatadir drop UIDIR
7186 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7188 * data/evince-ui.xml: Add File->Open menu item
7190 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7191 chooser), hook it up in the ui manager.
7193 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7195 * shell/ev-window.c: fix Help->About tooltip.
7197 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7199 * configure.ac: set CFLAGS for libevprivate.
7201 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7202 definitions, factory etc.
7204 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7206 * shell/Makefile.am: link against libevprivate.a.
7208 * shell/ev-window.c (entries): add stock icon to Help->About.
7210 * shell/main.c (main): init stock icon code.
7212 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7214 * lib/recent-files: egg recent files code
7216 * lib/Makefile.am: add.
7218 * Makefile.am: add lib subdir.
7220 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7221 set CFLAGS for recent-files.
7223 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7225 * configure.ac: disable -ansi and -pedantic gcc flags. They
7226 disable POSIX stuff in stdio.h, but egg-recent uses them.
7228 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7230 * configure.ac: add --disable-deprecated flag (defaults to on in
7233 * shell/Makefile.am (INCLUDES): use it.
7235 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7237 * shell/main.c: add missing #include.
7239 * shell/ev-window.c: fix for pedantic gcc.
7240 (ev_window_cmd_help_about): split license into paragraphs for
7241 translators and pedantic compilers.
7243 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7245 * configure.ac: add more warning flags if compiling with gcc from
7246 cvs (or explicitly requested with --enable-more-warnings).
7248 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7250 * data/evince-ui.xml: add File and File->Close menu.
7252 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7253 (ev_window_destroy): quit after destroy.
7254 (ev_window_class_init): override GtkObject::destroy.
7255 (entries): install close_window callback.
7257 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7259 * Makefile.am (SUBDIRS): add data subdir.
7261 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7262 gtk+ 2.5.0 for GtkAboutDialog.
7264 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7267 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7269 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7271 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7273 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7275 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7277 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7279 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7281 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7283 * shell/*: Added shell directory boilerplate, build it.
7285 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7287 * configure.ac, Makefile.am: Added top-level configure.ac and