1 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
3 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
5 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
7 * shell/ev-window-title.c: (ev_window_title_update):
9 Guard against using g_strstrip on NULL. Fixes bug #317291.
11 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
15 Show title even for unknown links
17 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
19 * shell/ev-window-title.c: (ev_window_title_update):
21 Strip the title string
23 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
25 * shell/ev-window-title.c:
27 Add .rtf to the bad extensions list
29 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
31 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
32 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
34 Ignore link coordinates if they are outside page bounds
36 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
38 * backend/ev-link.c: (ev_link_type_get_type),
39 (ev_link_get_filename), (ev_link_get_params),
40 (ev_link_get_property), (ev_link_set_property),
41 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
44 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
45 * shell/ev-window.c: (launch_link), (view_external_link_cb),
48 Implement launch links. Delegate external link opening to
51 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
53 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
54 (ev_link_get_right), (ev_link_get_property),
55 (ev_link_set_property), (ev_link_class_init),
56 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
59 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
63 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
65 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
66 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
67 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
68 (ev_view_size_request_continuous),
69 (ev_view_size_request_dual_page),
70 (ev_view_size_request_single_page), (ev_view_size_allocate),
71 (ev_view_zoom_for_size_continuous_and_dual_page),
72 (ev_view_zoom_for_size_continuous),
73 (ev_view_zoom_for_size_dual_page),
74 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
75 (ev_sizing_mode_get_type):
77 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
79 Do not use modes for link, we need to calculate size ad hoc.
80 Still not perfect because of the usual scrollbar issues grrr.
82 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
84 * backend/ev-link.c: (ev_link_type_get_type),
85 (ev_link_new_page_fith), (ev_link_new_page_fitv):
88 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
89 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
90 (ev_view_size_request_continuous),
91 (ev_view_size_request_dual_page),
92 (ev_view_size_request_single_page), (ev_view_size_allocate),
93 (zoom_for_size_fit_height),
94 (ev_view_zoom_for_size_continuous_and_dual_page),
95 (ev_view_zoom_for_size_continuous),
96 (ev_view_zoom_for_size_dual_page),
97 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
98 (ev_sizing_mode_get_type):
100 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
102 Implement FIT_HEIGHT mode (only for links).
105 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
107 * shell/ev-window-title.c: (get_filename_from_uri),
108 (ev_window_title_sanitize_extension), (ev_window_title_update),
109 (ev_window_title_set_document), (ev_window_title_set_uri),
110 (ev_window_title_free):
111 * shell/ev-window-title.h:
112 * shell/ev-window.c: (ev_window_setup_document),
113 (ev_window_popup_password_dialog):
115 Refactor window title building while fixing it for
118 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
122 Escape link title before setting it in the model
124 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
126 * shell/ev-application.c: (removed_from_session), (save_session),
127 (init_session), (ev_application_get_empty_window),
128 (ev_application_init), (ev_application_get_windows):
129 * shell/ev-application.h:
130 * shell/ev-window.c: (ev_window_finalize):
132 Add a function to retrieve window list and share it where
134 Implement session handling, works pretty well thanks to the
137 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
139 * shell/ev-password.c: (ev_password_item_created_callback),
140 (ev_password_dialog_save_password):
142 Fix for bug 316972. Use async gnome-keyring API.
144 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
146 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
147 Remove unused unrealize handler. Add scroll handling to
148 ev_view_scroll_event for presentation mode (bug #316708),
149 and fix the event state checks there.
151 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
153 * shell/ev-page-action.c: (page_changed_cb):
155 "marco, maybe we should be crazy and jump right to 6! :)"
157 Bryan Clark, Sep 2005
159 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
161 * ps/ps-document.c: (save_document), (ps_document_save),
162 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
163 (ps_document_ps_export_end):
165 Fix unstructured documents save and print
167 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
169 * shell/ev-application.c: (ev_application_open_uri):
171 Fix window size persistance
173 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
175 * shell/ev-view.c: (ev_view_button_release_event):
177 Based on a patch from carlosgc@gnome.org. Mouse buttons
178 switch pages in presentation mode.
180 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
182 * shell/ev-page-cache.c: (ev_page_cache_get_size):
184 Dont cast to int before scaling
186 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
188 * backend/ev-link.c: (ev_link_type_get_type),
189 (ev_link_new_page_xyz), (ev_link_new_page_fit),
190 (ev_link_new_page_fith):
193 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
195 Implement FIT and FITH links
197 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
201 Return 0 results when search is not in progress.
203 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
204 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
206 Update menu sensitivity when cancelling search
208 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
210 * shell/ev-view.c: (ev_view_can_find_next):
212 Take all pages in consideration, not just current one
214 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
216 * shell/ev-page-cache.c:
217 * shell/ev-page-cache.h:
218 * shell/ev-view.c: (ev_view_binding_activated),
219 (ev_view_next_page), (ev_view_previous_page),
220 (ev_sizing_mode_get_type):
222 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
223 (ev_window_cmd_go_next_page):
225 Move page next/previous functions from page chace to
226 view and change it to move by 2 page steps in dual mode.
228 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
230 * shell/ev-window.c: (update_sidebar_visibility),
231 (setup_sidebar_from_metadata), (ev_window_setup_document),
232 (setup_view_from_metadata):
234 Show the index by default when there is one
236 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
238 * shell/ev-window-title.c: (ev_window_title_set_document):
242 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
244 * shell/ev-view.c: (view_update_range_and_current_page):
246 Allow display of last odd page in dual view. Fix for 316347.
248 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
250 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
252 Make close button default. Fix for 316383.
254 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
256 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
258 Mark close button as default. Fix for 316381.
260 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
262 * backend/ev-link.c: (ev_link_class_init):
264 Allow negative doubles in left/top properties
266 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
270 Remove a bunch of strings that was used only
273 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
275 * shell/ev-window-title.c: (get_filename_from_uri),
276 (ev_window_title_set_document):
278 When title has a confusing extension, show also
279 the document filename inside ()
281 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
284 * shell/ev-window-title.c: (ev_window_title_new),
285 (ev_window_title_update), (ev_window_title_set_type),
286 (ev_window_title_set_document), (ev_window_title_free):
287 * shell/ev-window-title.h:
288 * shell/ev-window.c: (ev_window_setup_document),
289 (password_dialog_response), (ev_window_popup_password_dialog),
290 (ev_window_dispose), (ev_window_init):
292 Factor out and cleanup window title code
294 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
296 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
299 Make dialog transient so it doesnt block other windows
301 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
305 Fix pdf thumbnails rendering.
307 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
309 * shell/ev-window.c: (fullscreen_set_timeout):
311 Increase timeout to hide full screen popup. Bug
314 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
316 * data/evince.schemas.in:
317 * shell/ev-window.c: (update_action_sensitivity):
319 Allow the user to override document restrictions. Fix for bug
322 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
324 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
325 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
326 (ev_window_class_init): Fix multihead behaviour of fullscreen
327 toolbar popup. Fixes bug #315451.
329 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
332 * data/evince-password.glade:
333 * shell/ev-password.c: (ev_password_dialog_set_property),
334 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
335 (ev_password_dialog_init), (ev_password_set_bad_password_label),
336 (ev_password_dialog_entry_changed_cb),
337 (ev_password_dialog_entry_activated_cb),
338 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
339 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
340 (ev_password_dialog_set_bad_pass):
341 * shell/ev-password.h:
342 * shell/ev-window.c: (password_dialog_response),
343 (ev_window_popup_password_dialog):
345 Support for gnome-keyring for encrypted PDF's.
347 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
349 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
350 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
351 (ev_view_enter_notify_event), (ev_view_class_init):
353 More precise handling of enter_notify/leave_notify events
354 in EvView. Fix for bug 315470.
356 2005-09-08 Christopher Aillon <caillon@redhat.com>
358 * shell/ev-window.c: (fullscreen_timeout_cb),
359 (fullscreen_set_timeout), (fullscreen_clear_timeout),
362 leak fix: unref fullscreen_timeout_source before clearing it
364 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
366 * configure.ac, dvi/mdvi/Makefile.am:
368 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
370 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
372 * backend/ev-link.c: (ev_link_new_page_xyz):
374 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
376 Fix some bugs with xyz links, respect zoom
378 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
380 * shell/ev-window.c: (page_changed_cb),
381 (setup_document_from_metadata), (update_sidebar_visibility),
382 (setup_view_from_metadata), (ev_window_run_fullscreen),
383 (ev_window_stop_fullscreen), (ev_window_run_presentation),
384 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
385 (ev_window_dual_mode_changed_cb),
386 (ev_window_sidebar_current_page_changed_cb):
388 null check uri before setting and getting metadata
390 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
393 * properties/Makefile.am:
395 * thumbnailer/Makefile.am:
397 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
399 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
401 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
402 (selection_changed_callback):
403 * shell/ev-sidebar-links.h:
405 Add a signal for link activation.
407 * shell/ev-view.c: (ev_view_goto_link),
408 (ev_view_button_release_event):
410 * shell/ev-window.c: (sidebar_links_link_activated_cb),
413 Implement the signal so that we can handle all link types.
415 * shell/ev-page-cache.c:
417 Remove unused set_link function
419 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
421 * lib/ev-tooltip.c: (ev_tooltip_set_position):
423 Add some space from the cursor, hardcoded but I couldnt
426 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
430 Use mozilla style vs gtk style, way better for links.
432 * shell/ev-view.c: (ev_view_motion_notify_event),
433 (ev_view_destroy), (ev_view_init):
435 Deactive tooltip when the link hovered is changed.
437 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
439 * backend/ev-document.h:
440 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
441 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
442 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
443 (ev_link_new_page), (ev_link_new_page_xyz):
446 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
447 (go_to_link), (tip_from_link):
449 Implement xyz links, still not functional. Links are a total
450 mess, will need to refactor and bugfix a lot :(
452 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
454 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
456 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
458 * data/evince-ui.xml:
459 * data/evince.schemas.in:
461 * shell/ev-window.c: (update_chrome_visibility),
462 (password_dialog_response), (ev_window_load_job_cb),
463 (ev_window_xfer_job_cb), (ev_window_open_uri),
464 (ev_window_class_init), (set_chrome_actions), (load_chrome),
467 Remove the statusbar. This regress loading feedback, need to
468 check with Bryan what we want to do there...
470 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
472 * lib/ev-tooltip.c: (ev_tooltip_init):
474 Fix tooltip border and size handling
476 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
478 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
479 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
480 (ev_tooltip_timeout), (ev_tooltip_activate),
481 (ev_tooltip_deactivate):
483 * shell/ev-view.c: (ev_view_motion_notify_event):
485 Delay popup showing. Mirror gtk logic/times.
487 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
490 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
491 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
492 (ev_tooltip_set_text), (ev_tooltip_set_position):
495 Simple widget to show tooltips at a custom position
497 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
500 Use it for links. First go, needs work
502 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
504 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
505 HIG fixes. Use title capitalization for window title. Use 12
506 pixels of space between the dialog's vbox and action area.
508 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
510 * shell/ev-window.c: (file_open_dialog_response_cb),
511 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
512 (ev_window_cmd_save_as):
514 Make file pickers not modal and refactor code some
516 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
518 * shell/ev-sidebar.h:
519 * shell/ev-sidebar.c: (ev_sidebar_set_property),
520 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
521 (ev_sidebar_class_init), (ev_sidebar_select_page),
522 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
523 (ev_sidebar_set_page):
525 Add a current page property and allow to get/set it
527 * shell/ev-window.c: (setup_view_from_metadata),
528 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
530 Persist current sidebar page per document
532 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
534 * data/evince.schemas.in:
535 * shell/ev-window.c: (update_chrome_visibility),
536 (setup_document_from_metadata), (update_sidebar_visibility),
537 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
538 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
539 (ev_window_run_presentation), (ev_window_stop_presentation),
540 (ev_window_view_sidebar_cb),
541 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
542 (load_chrome), (ev_window_init):
544 Persist size/visibility of sidebar per document
546 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
548 * shell/ev-view.c (draw_loading_text): Draw loading text.
550 2005-09-02 Dan Damian <dand@gnome.ro>
552 * configure.in: Added "ro" to ALL_LINGUAS.
554 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
556 * shell/ev-view.c: (clear_caches):
558 ev_page_cache_get doesnt return a reference,
559 dont try to unref it.
561 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
563 * shell/main.c: (load_files_remote):
565 Fix timestamp parameter with dbus <= 0.33
567 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
569 * data/evince.schemas.in:
571 Add missing full stop
573 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
575 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
576 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
578 Plug some memory leaks
580 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
583 * lib/ev-debug.c: (trap_handler):
585 Check for execinfo.h and use it only if it exists.
586 Ported from Epiphany (bug #314776).
588 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
590 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
592 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
594 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
595 * po/id.po : Added Indonesian translation
597 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
600 * shell/ev-application.c: Last minute GTK-2.6 fixes.
601 * NEWS: Release 0.4.0
603 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
605 * configure.ac: catch another gtk+-2.8ism
606 * shell/main.c: Make work with gtk+-2.6
608 2005-08-25 Ryan Lortie <desrt@desrt.ca>
610 * shell/ev-application-service.xml: Add 'timestamp' argument to
611 ev_application_open_window and ev_application_open_uri methods.
613 * shell/ev-application.h: Add 'timestamp' argument to
614 ev_application_open_window, ev_application_open_uri,
615 and ev_application_open_uri_list functions.
617 * shell/ev-application.c (ev_application_open_window,
618 ev_application_open_uri, ev_application_open_uri_list): Change
619 functions that show/present windows to use a timestamp if one
622 * shell/ev-window.c (ev_window_cmd_file_open,
623 ev_window_cmd_recent_file_activate, drag_data_received_cb):
624 * shell/main.c (load_files): Modify calls to ev_application to
625 include GDK_CURRENT_TIME as timestamp.
627 * shell/main.c (load_files_remote): Obtain timestamp for client
628 instance from GDK and pass to server instance so new windows are
629 focused properly. Fix dbus_g_proxy_call() calls by including second
634 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
636 * shell/ev-window.c (ev_window_finalize): Check for
637 avail. EvWindows when quiting to handle the finalize better,
640 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
642 * properties/ev-properties-view.c:
644 Set textdomain to libglade. Fixes translation problem in property page.
646 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
648 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
650 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
651 * dvi/mdvi-lib/Makefile.am:
653 Fix rotation of thumbnails, ported to new API. Moved library
654 dependencies earlier, probably it will fix linkage problem.
656 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
658 * backend/ev-document-misc.c:
659 (ev_document_misc_get_thumbnail_frame):
660 * backend/ev-document-misc.h:
664 * shell/ev-sidebar-thumbnails.c: (add_range),
665 (ev_sidebar_thumbnails_set_loading_icon),
666 (ev_sidebar_thumbnails_refresh),
667 (ev_sidebar_thumbnails_set_document):
668 * shell/ev-sidebar-thumbnails.h:
669 * shell/ev-view.c: (ev_view_motion_notify_event),
670 (ev_view_set_property), (ev_view_get_property),
671 (ev_view_class_init), (ev_view_set_rotation):
672 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
673 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
675 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
676 Redo rotation (again). prepare for 0.4.0
678 2005-08-24 Kristian Høgsberg <krh@redhat.com>
680 * configure.ac: Bump poppler requirement to 0.4.1.
682 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
683 argument to poppler_page_render_selection() call.
685 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
687 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
688 (djvu_document_thumbnails_get_thumbnail):
689 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
690 (dvi_document_thumbnails_get_thumbnail):
691 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
692 (pixbuf_document_thumbnails_get_thumbnail):
693 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
695 Update rotation direction of backends to fit with pdf and ps.
697 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
699 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
700 * backend/ev-async-renderer.h:
701 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
702 (setup_page), (ps_document_get_page_size),
703 (ps_async_renderer_render_pixbuf):
705 * shell/ev-jobs.c: (ev_job_render_run):
707 Fix orientation in the postscript document
709 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
712 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
713 * shell/ev-view.c: (highlight_find_results):
715 Adapt to the new poppler rotation API. Fix text maps on landscape
718 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
720 * shell/ev-view.c (compute_new_selection_text): get the correct
721 region when selecting in modes other than continuous.
723 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
725 * shell/main.c (main): remove redundant g_warnings.
727 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
729 * shell/Makefile.am: Don't include autogenerated
730 file ev-application-service.h into distribution, since
731 it causes dbus crash. Fix for bugs 313724 and 313443.
733 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
735 * configure.ac: Fix sed expression for FreeBSD. Thanks
736 to Joe Marcus Clark <marcus@freebsd.org>
738 * shell/eggfindbar.c: (entry_activate_callback),
739 (entry_changed_callback), (egg_find_bar_init),
740 (egg_find_bar_set_search_string):
742 Made findbar buttons unsensitive if there is no text in
743 entry. Fix for the bug 313285.
745 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
747 * ps/ps-document.c: Use g_filename_display_name for displaying
748 filenames and revert string freeze breackage
750 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
759 Add ev-application-service.xml to extra dist
761 * shell/ev-view.c: (find_page_at_location):
763 Remove unused function (fix warning)
765 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
767 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
768 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
770 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
773 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
775 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
779 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
781 * configure.ac: Update script to get dbus version.
782 Fix for the bug #313443.
784 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
786 * shell/ev-window.c: (ev_window_cmd_escape):
788 Return focus back to view on escape. Fix for bug 313295.
790 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
792 * shell/ev-window.c: (update_window_title),
793 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
794 (ev_window_cmd_save_as):
796 Correct conversion from uri to displayable string. Fix for
799 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
801 * ps/ps-document.c: convert filename to utf8 when there is an error
802 loading document. Fixes #309915
804 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
808 We depend on poppler 0.4.0
810 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
813 * NEWS: Release 0.3.3.
814 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
816 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
818 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
819 add a couple missing mnemonics to menu items, use title
820 capitalization for menu items and window titles, and add
821 ellipsis to open menu item.
823 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
826 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
827 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
828 (ev_view_get_rotation):
830 * shell/ev-window.c: (setup_view_from_metadata),
831 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
832 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
835 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
837 * configure.ac: Added tr to ALL_LINGUAS
839 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
841 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
842 requires several clicks to find word. Thanks to
843 Colin Slater <kiltedtaco@gmail.com>.
845 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
847 * data/evince.desktop.in.in: Hide menu entry and
848 rename it to "Document Viewer". Fix for bug
851 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
853 * shell/ev-page-action.c (ev_page_action_class_init):
855 Point to the correct function in constructor of the
856 activate_label signal
858 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
860 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
861 * shell/ev-jobs.h: Make thread safe.
863 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
865 * shell/ev-view.c: (view_update_range_and_current_page):
866 Don't update page range if we are scrolling to some document
869 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
871 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
872 when getting max_page_width, fix drawing in dual mode.
874 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
876 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
877 getting the area for select_all.
879 2005-08-06 Kristian Høgsberg <krh@redhat.com>
881 * backend/ev-selection.c: (ev_selection_render_selection):
882 * backend/ev-selection.h:
884 * shell/ev-jobs.c: (ev_job_render_new):
886 * shell/ev-pixbuf-cache.c: (get_selection_colors),
887 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
888 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
889 (ev_view_class_init):
891 Change selection color on focus in and focus out events. Also,
892 poppler now uses GdkColor for specifying the selection colors, so
893 drop some awkward conversion code.
895 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
897 * configure.ac: Added Hebrew translation
899 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
902 * backend/ev-selection.c: (ev_selection_render_selection):
903 * backend/ev-selection.h:
905 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
908 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
909 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
910 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
911 (ev_pixbuf_cache_style_changed),
912 (ev_pixbuf_cache_get_selection_pixbuf),
913 (ev_pixbuf_cache_set_selection_list),
914 (ev_pixbuf_cache_get_selection_list):
915 * shell/ev-pixbuf-cache.h:
916 * shell/ev-utils.c: (ev_print_region_contents):
918 * shell/ev-view.c: (ev_view_queue_draw_page),
919 (selection_update_idle_cb), (ev_view_motion_notify_event),
920 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
921 (setup_caches), (ev_view_find_next), (merge_selection_region),
923 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
925 Clean up selection to be much smoother!
927 2005-08-05 Kristian Høgsberg <krh@redhat.com>
929 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
930 to poppler_page_render_selection().
932 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
934 * ps/ps-document.c: (save_page_list): Use
935 unzipped document when printing. Thanks to
936 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
939 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
941 * shell/ev-window.c: (update_action_sensitivity):
943 Disable print and save respect to lockdown gconf keys. Fix
946 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
949 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
950 (write_to_temp_file), (ev_file_set_contents):
952 * shell/ev-window.c: (save_print_config_to_file):
954 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
957 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
959 * shell/ev-window.c: (load_print_config_from_file),
960 (save_print_config_to_file), (ev_window_print_range):
962 Persist the print settings. Fixes bug #311578.
964 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
966 * djvu/djvu-document.c: (djvu_document_get_page_size),
967 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
968 (djvu_document_thumbnails_get_thumbnail):
969 * dvi/dvi-document.c: (dvi_document_get_page_size),
970 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
971 (dvi_document_thumbnails_get_dimensions),
972 (dvi_document_thumbnails_get_thumbnail):
973 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
974 (pixbuf_document_render_pixbuf),
975 (pixbuf_document_document_iface_init),
976 (pixbuf_document_thumbnails_get_thumbnail):
978 Update backends to make them build with new rotation system.
980 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
982 * help/C/figures/evince_start_window.png:
984 Update documentation image from Luca Ferretti <elle.uca@libero.it>
986 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
988 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
989 * shell/ev-pixbuf-cache.h:
990 * shell/ev-sidebar-thumbnails.c:
991 (ev_sidebar_thumbnails_get_property), (add_range),
992 (adjustment_changed_cb):
993 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
994 pixbuf cache. Make thumbnailing work again. Also, fix bug where
995 we were thumbnailing the entire docment on startup, slowing us
998 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1000 * shell/ev-page-cache.c: (ev_page_cache_new):
1001 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1002 == 0, fixes #310306.
1004 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1006 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1007 (ev_view_rotate_left):
1009 Account rotation in doc_rect_to_view_rect.
1010 Ensure rotation doesnt go out of bounds.
1012 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1014 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1016 Correct and cleanup w/h swapping
1018 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1020 * backend/ev-document-thumbnails.c:
1021 (ev_document_thumbnails_get_thumbnail):
1022 * backend/ev-document-thumbnails.h:
1023 * backend/ev-document.c:
1024 * backend/ev-document.h:
1025 * backend/ev-render-context.c: (ev_render_context_new),
1026 (ev_render_context_set_rotation):
1027 * backend/ev-render-context.h:
1028 * pdf/ev-poppler.cc:
1029 * ps/ps-document.c: (ps_document_document_iface_init):
1030 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1032 * shell/ev-page-cache.c: (build_height_to_page),
1033 (ev_page_cache_new), (ev_page_cache_get_size),
1034 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1035 (ev_page_cache_get_height_to_page):
1036 * shell/ev-page-cache.h:
1037 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1038 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1039 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1040 (ev_pixbuf_cache_get_selection_pixbuf):
1041 * shell/ev-pixbuf-cache.h:
1042 * shell/ev-print-job.c: (idle_print_handler):
1043 * shell/ev-sidebar-thumbnails.c: (add_range):
1044 * shell/ev-view.c: (view_update_range_and_current_page),
1045 (get_page_y_offset), (get_page_extents),
1046 (ev_view_size_request_continuous_dual_page),
1047 (ev_view_size_request_continuous),
1048 (ev_view_size_request_dual_page),
1049 (ev_view_size_request_single_page), (draw_one_page),
1050 (ev_view_set_rotation), (ev_view_rotate_right),
1051 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1052 (ev_view_zoom_for_size_continuous_and_dual_page),
1053 (ev_view_zoom_for_size_continuous),
1054 (ev_view_zoom_for_size_dual_page),
1055 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1056 (ev_view_select_all):
1057 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1058 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1059 (tiff_document_document_iface_init),
1060 (tiff_document_thumbnails_get_thumbnail):
1062 Use rotation rather than orientation. It's easier and enough
1065 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1067 * shell/ev-page-cache.c: (build_height_to_page),
1068 (ev_page_cache_new), (ev_page_cache_get_size),
1069 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1070 (ev_page_cache_get_height_to_page):
1071 * shell/ev-page-cache.h:
1072 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1073 (ev_view_size_request_continuous_dual_page),
1074 (ev_view_size_request_continuous),
1075 (ev_view_zoom_for_size_continuous_and_dual_page),
1076 (ev_view_zoom_for_size_continuous):
1078 Make the page cache aware of page orientation.
1080 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1082 * backend/ev-document-thumbnails.c:
1083 (ev_document_thumbnails_get_thumbnail):
1084 * backend/ev-document-thumbnails.h:
1085 * backend/ev-document.c:
1086 * backend/ev-document.h:
1087 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1088 * backend/ev-ps-exporter.h:
1089 * pdf/ev-poppler.cc:
1090 * ps/ps-document.c: (ps_document_document_iface_init),
1091 (ps_document_ps_export_do_page):
1092 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1094 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1095 (ev_page_cache_get):
1096 * shell/ev-page-cache.h:
1097 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1098 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1099 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1100 * shell/ev-pixbuf-cache.h:
1101 * shell/ev-print-job.c: (idle_print_handler):
1102 * shell/ev-sidebar-thumbnails.c: (add_range):
1103 * shell/ev-view.c: (view_update_range_and_current_page),
1104 (get_page_extents), (ev_view_size_request_dual_page),
1105 (ev_view_size_request_single_page), (draw_one_page),
1106 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1107 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1108 (ev_view_zoom_for_size_dual_page),
1109 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1110 (ev_view_select_all):
1111 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1112 * tiff/tiff-document.c: (tiff_document_get_page_size),
1113 (tiff_document_get_orientation), (rotate_pixbuf),
1114 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1115 (tiff_document_thumbnails_get_thumbnail),
1116 (tiff_document_ps_export_do_page), (tiff_document_init):
1118 Really make use of the orientation bit of the render context.
1119 Use the render context in a few more places in the backend API.
1120 This regress orientation, but now it's done right. Will try to
1123 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1125 * shell/ev-view.c: (ensure_rectangle_is_visible):
1127 Patch by Nickolay V. Shmyrev to fix find flickering
1129 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1131 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1132 duplex parameters to ::begin.
1134 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1135 * shell/ev-print-job.c (idle_print_handler):
1136 * ps/ps-document.c (ps_document_ps_export_begin):
1137 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1138 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1139 implementations. Poppler backend needs poppler cvs. Rest has
1142 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1144 * shell/ev-window.c (using_pdf_printer): new function.
1145 (ev_window_print_range): print a less techy message if someone
1146 tries to print to PDF.
1148 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1150 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1151 from "unknown font" string. Bug #311431
1153 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1155 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1157 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1161 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1162 name for PopplerFontTypes
1163 (pdf_document_fonts_fill_model): add font type to the detail column
1165 * backend/ev-document-fonts.h: added
1166 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1168 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1169 font name and font details, add a little markup.
1170 (ev_properties_fonts_init): use the new cell data func, specify ypad
1171 property for the cell renderer.
1172 (ev_properties_fonts_set_document): add the details column.
1174 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1176 * configure.ac: Added "pl" to ALL_LINGUAS.
1178 2005-07-24 Danilo Šegan <danilo@gnome.org>
1180 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1182 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1184 * help/ChangeLog: Started this for translations of manual.
1185 * configure.ac, autogen.sh, .cvsignore: Migrated to
1186 gnome-doc-utils. Patch in bug #311222.
1188 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1190 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1191 #ifdef this away to fix an unused-function warning.
1193 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1195 * configure.ac: Added 'gl' to ALL_LINGUAS.
1197 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1199 * configure.ac: Added ne in ALL_LINGUAS
1201 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1203 * shell/ev-view.c: (ev_view_leave_notify_event):
1205 Clear status message when pointer leaves view. Fix for bug
1208 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1210 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1212 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1214 * shell/ev-view.c: (ev_view_leave_notify_event),
1215 (ev_view_class_init):
1217 Set cursor to normal then leaving view.
1219 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1223 Fix required djvulibre version.
1225 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1227 *configure.ac: Hindi (hi) language added
1229 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1231 *configure.ac: Punjabi (pa) Language added
1233 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1235 * data/evince-ui.xml, shell/ev-window.c:
1237 Add keypad accelerators for zooming. Fix for bug 308128.
1239 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1242 * backend/Makefile.am:
1243 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1245 * shell/ev-document-types.c: (ev_document_types_add_filters):
1247 Allow to enable/disable the pixbuf backend.
1248 Default to off for now. If we want it enabled we should
1249 really put mime types in the desktop, implement properties etc.
1251 * properties/evince-properties.c:
1253 Initialize error to NULL.
1254 Check error is not NULL before freeing.
1256 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1258 * shell/ev-window.c:
1260 Use F5 as presentation accell
1262 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1264 * shell/ev-window.c: (update_chrome_visibility),
1265 (ev_window_create_fullscreen_popup), (ev_window_init):
1267 Do not leak the fullscreen toolbar
1269 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1271 * shell/ev-window.c: (view_actions_focus_in_cb),
1272 (view_actions_focus_out_cb):
1274 These has a return value! Fix totally random focus
1275 issues we was seeing.
1277 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1279 * shell/main.c: (load_files_remote):
1281 Allow open more than one file
1283 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1285 * shell/main.c: (load_files_remote):
1287 Fix for dbus 0.33. bug #309975
1289 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1291 * properties/ev-properties-main.c: (ev_properties_get_pages):
1293 Actually return NULL for types we dont support
1295 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1301 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1303 * backend/ev-document-factory.c:
1304 (ev_document_factory_get_document):
1306 Do not try to create the object if type
1309 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1311 * ps/ps-document.c: (ps_document_dispose),
1312 (ps_async_renderer_render_pixbuf):
1315 Do not leak the target window
1317 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1319 * shell/ev-application.c: (ev_application_init):
1321 Let tbe check file existence for us.
1322 Add a comment about eggrecent mime filter.
1324 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1326 * data/evince-ui.xml:
1327 * shell/ev-application.c: (ev_application_shutdown),
1328 (ev_application_init), (ev_application_get_toolbars_model),
1329 (ev_application_get_recent_model),
1330 (ev_application_save_toolbars_model):
1331 * shell/ev-application.h:
1332 * shell/ev-window.c: (ev_window_add_recent),
1333 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1334 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1337 Use common toolbar and recent models for all windows.
1338 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1340 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1342 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1343 successfully check for gtk_icon_view_get_visible_range.
1345 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1350 Fix djvu and dvi backend build.
1352 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1354 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1355 (new_separator_pixbuf):
1359 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1361 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1363 HIGification of toolbar editor dialogue.
1365 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1368 * shell/Makefile.am:
1370 Ever build metadata manager since it's just
1371 disabled at runtime now.
1373 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1375 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1376 (ev_metadata_manager_get), (ev_metadata_manager_set):
1377 * shell/ev-metadata-manager.h:
1379 Add an _init functions that enabled metadata management
1382 * shell/ev-window.c: (page_changed_cb),
1383 (setup_document_from_metadata), (ev_window_setup_document),
1384 (setup_view_from_metadata), (ev_window_open_uri),
1385 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1386 (ev_window_run_presentation), (ev_window_stop_presentation),
1387 (save_sizing_mode), (ev_window_zoom_changed_cb),
1388 (ev_window_continuous_changed_cb),
1389 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1390 (window_configure_event_cb):
1392 Remove all ugly metadata define since we deal with it
1395 * shell/main.c: (load_files_remote), (main):
1397 Add support for dbus cvs head. Hopefully didnt break one
1398 of the other versions now!
1400 If we dont get a response from the dbus server just
1401 give up with it and not enable metadata.
1403 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1406 * backend/Makefile.am:
1408 * cut-n-paste/recent-files/Makefile.am:
1409 * cut-n-paste/toolbar-editor/Makefile.am:
1410 * cut-n-paste/zoom-control/Makefile.am:
1413 * pixbuf/Makefile.am:
1414 * properties/Makefile.am:
1416 * shell/Makefile.am:
1417 * thumbnailer/Makefile.am:
1420 Make frontends depend on just libev.
1421 Rework and group CFLAGS/LIBS definitions.
1424 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1428 do not unnecessarily save zoom
1431 * lib/ev-file-helpers.c: (ev_dot_dir):
1432 * shell/Makefile.am:
1437 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1441 Remove unnecessary dependencies
1443 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1445 * properties/Makefile.am:
1446 * thumbnailer/Makefile.am:
1449 Some more cleanups. Was really necessary
1450 but I probably introduced bugs, feel free
1453 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1455 * backend/Makefile.am:
1457 * cut-n-paste/recent-files/Makefile.am:
1458 * cut-n-paste/toolbar-editor/Makefile.am:
1459 * cut-n-paste/zoom-control/Makefile.am:
1462 * pixbuf/Makefile.am:
1463 * properties/Makefile.am:
1465 * shell/Makefile.am:
1466 * thumbnailer/Makefile.am:
1469 Use gnome-common macros when possible.
1470 Cleanup dependencies.
1471 Actually disable deprecated where possible.
1473 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1476 * backend/Makefile.am:
1477 * properties/Makefile.am:
1478 * shell/Makefile.am:
1479 * thumbnailer/Makefile.am:
1481 This should solve the circular dep without
1482 requiring dir reorg!
1484 * shell/ev-window.c: (setup_view_from_metadata):
1486 Never restore window size/position when the
1487 window is already visible.
1489 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1491 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1493 Return a boolean from timeout func. Fix ported from gedit.
1495 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1497 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1499 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1501 * shell/ev-document-types.c: set "All Documents" as default filter in
1504 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1506 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1507 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1508 (ev_metadata_manager_set_boolean): fix value/val thinko.
1510 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1512 * shell/ev-window.c: (setup_view_from_metadata),
1513 (window_state_event_cb), (window_configure_event_cb),
1516 Remember window position and maximized state
1518 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1522 Fix DBUS configure checks.
1524 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1525 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1526 (ev_metadata_manager_set_boolean):
1530 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1531 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1532 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1533 (ev_window_continuous_changed_cb),
1534 (ev_window_dual_mode_changed_cb), (ev_window_new):
1536 Fix the build without DBUS.
1538 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1540 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1541 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1542 (ev_metadata_manager_set_string),
1543 (ev_metadata_manager_set_boolean):
1544 * shell/ev-metadata-manager.h:
1546 Add support for some more types
1548 * shell/ev-view.c: (scroll_to_current_page),
1549 (ev_view_get_continuous), (ev_view_set_continuous),
1550 (ev_view_get_dual_page):
1552 * shell/ev-window.c: (page_changed_cb),
1553 (setup_document_from_metadata), (ev_window_setup_document),
1554 (setup_view_from_metadata), (ev_window_open_uri),
1555 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1556 (ev_window_run_presentation), (ev_window_stop_presentation),
1557 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1558 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1559 (ev_window_update_dual_page_action),
1560 (ev_window_continuous_changed_cb),
1561 (ev_window_dual_mode_changed_cb), (ev_window_init):
1563 Remember a bunch of view/document properties. Prolly some
1564 are still missing but it's getting interesting.
1566 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1568 * configure.ac: check if dbus-binding-tool is installed. Not the
1569 case on current Ubuntu breezy, it seems.
1571 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1573 * data/evince.desktop.in.in:
1575 Allow open uri lists and add TryExec field.
1577 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1581 Enable dbus when available, do not require a configure
1584 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1588 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1591 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1592 Marco Pesenti Gritti <mpg@redhat.com>
1594 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1596 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1597 functions to the format required by dbus
1599 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1600 errors. Use the RPC parameters in the expected way
1602 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1605 * properties/Makefile.am:
1606 * properties/ev-properties-main.c: (ev_properties_get_pages):
1608 Support all mime types
1610 * shell/Makefile.am:
1611 * thumbnailer/Makefile.am:
1612 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1613 (evince_thumbnail_pngenc_get):
1615 Use the document factory
1617 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1619 * backend/Makefile.am:
1620 * backend/ev-document-factory.c:
1621 (mime_type_supported_by_gdk_pixbuf),
1622 (ev_document_type_get_from_mime),
1623 (ev_document_factory_get_document),
1624 (ev_document_factory_get_backend),
1625 (ev_document_factory_get_mime_types),
1626 (ev_document_factory_get_all_mime_types):
1627 * backend/ev-document-factory.h:
1628 * shell/Makefile.am:
1629 * shell/ev-document-types.c: (get_document_from_uri),
1630 (ev_document_types_get_document),
1631 (file_filter_add_mime_list_and_free),
1632 (ev_document_types_add_filters):
1633 * shell/ev-document-types.h:
1634 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1635 * shell/ev-properties-dialog.c:
1636 (ev_properties_dialog_set_document):
1637 * shell/ev-window.c: (ev_window_cmd_file_open),
1638 (ev_window_cmd_save_as):
1639 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1641 Rework document types managing to avoid code duplication
1642 and actually abstract from backend implementations.
1643 Also provide a minimal factory api that can be used by
1644 thumbnailer/properties.
1646 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1648 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1650 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1653 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1655 * shell/ev-properties-dialog.c
1656 (ev_properties_dialog_set_document): only call
1657 ev_properties_fonts_set_document() if the document implements the
1660 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1663 * properties/Makefile.am:
1664 * properties/ev-properties-view.c:
1665 (ev_properties_view_register_type):
1666 * properties/ev-properties-view.h:
1667 * properties/ev-properties-main.h:
1669 Implement nautilus plugin for properties.
1670 Works only for pdf atm, I need to rework the
1671 document types stuff to get this to work
1674 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1676 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1677 (ev_properties_fonts_set_document): use
1678 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1680 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1682 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1684 (PlaceImage, tiff2ps_process_page): use
1685 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1688 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1690 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1691 (main): to call gnome_authentication_manager_init. Should fix
1694 * configure.ac: that requires libgnomeui 2.6.0.
1696 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1698 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1699 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1700 use the new tiff2ps interfaces
1702 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1703 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1705 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1706 structure instead of global variables. Remove use of static
1707 variables in functions.
1709 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1711 * shell/ev-page-action.c: unref the completion after setting it to the
1714 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1716 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1719 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1721 * shell/ev-window.c (update_action_sensitivity): disable
1722 File->Print if the document does not implement the ps exporter
1725 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1729 * data/evince-properties.glade:
1730 * properties/.cvsignore:
1731 * properties/Makefile.am:
1732 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1733 (ev_properties_view_class_init), (ev_properties_view_format_date),
1734 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1735 (ev_properties_view_init), (ev_properties_view_new):
1736 * properties/ev-properties-view.h:
1737 * shell/Makefile.am:
1738 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1739 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1740 (ev_properties_dialog_new):
1741 * shell/ev-properties-dialog.h:
1742 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1743 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1744 (update_progress_label), (job_fonts_finished_cb),
1745 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1746 * shell/ev-properties-fonts.h:
1747 * shell/ev-properties.c:
1748 * shell/ev-properties.h:
1749 * shell/ev-window.c: (ev_window_setup_document),
1750 (ev_window_cmd_file_properties):
1752 Split the properties pages in two different objects, depend
1753 only on the backend where possible, use widgets instead
1754 of gobject for the glade part, reimplement the dialog
1756 I need this to implement nautilus properties page.
1758 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1760 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1761 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1762 (tiff_document_document_ps_exporter_iface_init): implement the ps
1763 exporter interface for tiff documents
1765 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1766 libtiff to implement TIFF postscript export
1768 * tiff/tiff2ps.h: added a header file for external tiff2ps
1771 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1774 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1776 * shell/ev-view.c: (scroll_to_current_page),
1777 (ev_view_set_fullscreen), (ev_view_set_presentation):
1779 Scroll to current page when exit from presentation
1781 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1783 * shell/ev-window.c: (update_document_mode),
1784 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1785 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1786 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1788 Exit from fullscreen mode when switch to presentation. Fix for
1791 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1793 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1794 return NULL if the document does not implement the selection
1797 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1799 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1800 reported height by using the resolution aspect ratio
1801 (tiff_document_render_pixbuf): scale the pixbuf using the
1802 resolution aspect ratio
1804 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1808 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1809 <kiltedaco@gmail.com>
1811 * djvu/djvu-document.c: (djvu_document_get_orientation),
1812 (djvu_document_set_orientation), (djvu_document_get_page_size),
1813 (rotate_pixbuf), (djvu_document_render_pixbuf),
1814 (djvu_document_document_iface_init):
1815 * dvi/dvi-document.c: (dvi_document_get_orientation),
1816 (dvi_document_set_orientation), (dvi_document_get_page_size),
1817 (rotate_pixbuf), (dvi_document_render_pixbuf),
1818 (dvi_document_document_iface_init):
1820 Dvi and djvu backends are ported to new API
1822 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1824 * backend/ev-selection.c: (ev_selection_get_selection_region),
1825 (ev_selection_get_selection_map):
1826 * backend/ev-selection.h:
1827 * pdf/ev-poppler.cc:
1828 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1830 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1831 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1832 (ev_pixbuf_cache_get_text_mapping):
1833 * shell/ev-pixbuf-cache.h:
1834 * shell/ev-view.c: (location_in_text),
1835 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1836 support to EvView. Now we can see where we can select! Sweet!
1838 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1840 * shell/ev-view.c (ev_view_button_press_event): Fix
1841 event->y + view->scroll_x typo.
1843 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1845 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1846 sub-GdkPixbuf instead of passing dest_x and dest_y.
1848 * shell/ev-view.c: (view_point_to_doc_point),
1849 (view_rect_to_doc_rect), (ev_view_button_press_event),
1850 (ev_view_motion_notify_event), (compute_new_selection_rect),
1851 (gdk_rectangle_point_in), (compute_new_selection_text),
1852 (compute_selections): Update selection code to keep the selection
1853 around as two points and not as a normalized rectangle, and fix
1854 page level selection in two-column mode.
1856 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1858 * shell/ev-window.c: (window_configure_event_cb):
1862 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1864 * pdf/ev-poppler.cc:
1868 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1870 * shell/Makefile.am:
1871 * shell/ev-metadata-manager.c: (item_free),
1872 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1873 (parse_value), (parseItem), (load_values),
1874 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1875 (save_values), (save_item), (get_oldest), (resize_items),
1876 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1877 * shell/ev-metadata-manager.h:
1879 Metadata manager from gedit but modified to use GValue, so that
1880 we dont need to keep converting from strings.
1884 ENABLE_METADATA conditional, on when dbus is on
1886 * shell/ev-application.c: (ev_application_open_uri):
1888 Show the window after load so that we can initialize
1889 window size before it's showed.
1891 * shell/ev-window.c: (ev_window_setup_from_metadata),
1892 (ev_window_open_uri), (window_configure_event_cb),
1895 Save and load metadata information about window size.
1896 Not yet keeping states in account.
1898 * shell/main.c: (main):
1900 Shutdown metadata manager.
1902 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1904 * shell/ev-application-service.xml:
1906 * shell/Makefile.am:
1907 * shell/ev-application.c:
1908 * shell/ev-application.h:
1909 * shell/ev-window.c:
1910 * shell/ev-window.h:
1913 Add an optional dbus interface (--enable-dbus).
1914 Rework application code, mainly to be easier to
1916 Do not open multiple windows with the same document,
1919 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1921 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1922 pixbuf iff it exists.
1924 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1927 * backend/ev-render-context.[ch]:
1928 * backend/ev-selection.[ch]:
1930 Massive changes. We now support text selection of pdfs, and not
1931 just rectangular selection. This is pretty broken still, but I
1932 want to get something into CVS.
1934 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1936 * pdf/ev-poppler.cc:
1938 Fix for Bug 309080: crash on window close.
1940 * shell/ev-page-action.c: (page_changed_cb):
1942 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1943 jensgr@gmx.net (Jens Granseuer).
1945 2005-06-25 Marcel Telka <marcel@telka.sk>
1947 * configure.in (ALL_LINGUAS): Added sk.
1949 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1951 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1954 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1961 * cut-n-paste/recent-files/Makefile.am:
1965 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1967 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1968 (pixbuf_document_set_orientation), (rotate_pixbuf),
1969 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1970 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1972 Implement rotation and cleanup the code a bit.
1974 * tiff/tiff-document.c: (tiff_document_get_page_size),
1975 (tiff_document_get_orientation), (tiff_document_set_orientation),
1976 (rotate_pixbuf), (tiff_document_render_pixbuf),
1977 (tiff_document_document_iface_init), (tiff_document_init):
1979 Implement rotation. Was the quicker solution for the release
1980 but we really need to share this code in the shell.
1982 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1984 * pdf/ev-poppler.cc:
1986 Enable rotation, require poppler cvs. Fix a leak.
1988 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1990 * shell/ev-window.c: (update_action_sensitivity):
1992 Make properties unsensitive if document backend doesn't provide
1995 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1997 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1998 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1999 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2000 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2001 (bitmap_flip_rotate_counter_clockwise):
2002 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2003 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2005 * dvi/mdvi-lib/common.h:
2006 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2007 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2008 (opendvi), (mdvi_reload), (mdvi_init_context),
2009 (mdvi_destroy_context), (mdvi_dopage), (special):
2010 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2011 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2012 (file_hash_free), (register_encoding), (parse_spec),
2013 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2014 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2015 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2016 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2017 (mdvi_register_font_type), (mdvi_unregister_font_type),
2018 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2019 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2020 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2021 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2022 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2023 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2024 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2025 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2026 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2027 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2028 (mdvi_unregister_special), (mdvi_flush_specials):
2029 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2031 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2032 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2033 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2034 (free_font_metrics), (flush_font_metrics):
2035 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2037 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2038 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2039 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2040 (dstring_insert), (dstring_new), (dstring_reset):
2041 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2043 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2044 avoid conflict with libtool on FC4
2046 * shell/ev-window.c: (ev_window_cmd_help_about):
2048 Update copyright year. Fix for bug 308828.
2050 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2052 * shell/ev-view.c: (add_scroll_binding_keypad),
2053 (ev_view_binding_activated), (ev_view_class_init),
2054 (on_adjustment_value_changed):
2056 Bug 170874: Arrow keys switch pages in presentation mode
2058 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2060 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2062 Fix for Bug 308265: Sidebar dissappears coming out of
2065 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2067 * shell/ev-application.c: (ev_application_open):
2068 * shell/ev-document-types.c: (ev_document_types_add_filters),
2069 (ev_document_types_add_filters_for_type):
2070 * shell/ev-document-types.h:
2071 * shell/ev-window.c: (ev_window_cmd_save_as):
2073 Suggest basename as template when saving, provide filters
2074 for save dialog. It's bug 308402
2076 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2078 * pdf/ev-poppler.cc:
2079 * shell/ev-sidebar-links.c: (job_finished_callback):
2080 * shell/ev-view.c: (update_find_status_message):
2084 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2086 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2087 (egg_recent_view_uimanager_set_list):
2089 Fix buglet in !show_numbers case.
2091 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2093 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2094 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2096 Use pango ellipsisation.
2098 * pdf/ev-poppler.cc:
2100 Fix refcount leak, from nsh.
2102 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2104 * cut-n-paste/recent-files/Makefile.am:
2105 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2106 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2108 Removed EggRecentViewGtk
2110 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2111 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2112 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2113 (ev_window_setup_recent):
2115 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2118 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2120 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2121 (egg_recent_view_gtk_finalize):
2125 * cut-n-paste/toolbar-editor/Makefile.am:
2127 Fix location of cursor icon.
2129 * pdf/ev-poppler.cc:
2130 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2131 (display_completion_text), (match_completion):
2132 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2133 (selection_changed_callback), (create_loading_model),
2134 (print_section_cb), (links_page_num_func),
2135 (update_page_callback_foreach):
2136 * shell/ev-window.c: (ev_window_dispose):
2138 Small memory fixes. Links model now store objects instead
2139 of pointers to improve memory management.
2141 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2143 * shell/ev-window.c: (zoom_control_changed_cb):
2145 Fix update of zoom control (bug 308268).
2147 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2149 * shell/ev-properties.c (set_property): escape the text correctly.
2150 Handles non-UTF-8 properties and escaped properties. Also, sets
2151 the text to "<i>None</i>" if the property isn't set.
2153 * data/evince-properties.glade: Change the label to be ellipsized,
2154 and give it a minimum size.
2156 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2158 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2159 * shell/ev-sidebar-links.c: (create_loading_model):
2160 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2161 * shell/ev-view.c: (ev_view_set_document):
2162 * shell/ev-window.c: (ev_window_dispose):
2164 Various small fixes, mostly memory leaks. Thanks to valgrind.
2166 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2168 * ps/ps-document.c: remove the locale.h include again ;-). And
2169 kill the (bogus) setlocale/savelocale business.
2171 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2175 Include locale.h to fix build
2177 * shell/ev-sidebar.c:
2179 Remove unnecessary includes
2181 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2183 * dvi/dvi-document.c: (dvi_document_load):
2184 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2187 Check for incorrect dvi files. Fix parsing dvi on AMD64
2188 platform. Thanks to tester@tester.ca (Olivier Crete).
2190 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2192 * shell/ev-page-action.c: (match_selected_cb),
2193 (display_completion_text), (match_completion), (update_model):
2194 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2195 (expand_open_links):
2196 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2197 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2198 (ev_sidebar_set_document):
2199 * shell/ev-window.c: (ev_window_xfer_job_cb),
2200 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2202 Fixed lot's of memory leaks, for example, memory leak on reload,
2203 described in bug 307793.
2205 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2207 * pdf/ev-poppler.cc:
2208 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2209 (update_visible_range), (adjustment_changed_cb),
2210 (ev_sidebar_thumbnails_fill_model),
2211 (ev_sidebar_thumbnails_refresh),
2212 (ev_sidebar_tree_selection_changed),
2213 (ev_sidebar_icon_selection_changed),
2214 (ev_sidebar_thumbnails_use_icon_view),
2215 (ev_sidebar_thumbnails_set_document):
2216 * shell/ev-sidebar-thumbnails.h:
2217 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2218 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2220 Refresh thumbnails when changing orientation. Not fully
2221 working yet becuase of a sidebar bug.
2223 Set page orientation to poppler page everywhere. This sucks
2224 really need to fix poppler.
2226 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2228 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2229 (egg_recent_view_gtk_new_menu_item),
2230 (egg_recent_view_gtk_set_property),
2231 (egg_recent_view_gtk_get_property),
2232 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2233 (egg_recent_view_gtk_set_tooltip_func),
2234 (egg_recent_view_gtk_set_label_width),
2235 (egg_recent_view_gtk_get_label_width):
2236 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2238 Sync with libegg (ellipsize labels)
2240 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2242 * data/evince-ui.xml:
2243 * shell/ev-window.c: (ev_window_cmd_go_forward),
2244 (ev_window_cmd_go_backward):
2246 Shift + PageUp moves 10 Pages. Fix for 306125
2248 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2250 * pdf/ev-poppler.cc:
2252 Add a flag to check if orientation has been overriden
2254 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2256 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2259 * ps/ps.h: add creator field to document.
2261 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2264 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2266 * data/evince-properties.glade:
2267 * shell/ev-properties.c: (ev_properties_set_document):
2269 s/PDF Version/Format
2271 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2273 * shell/ev-properties.c: (ev_properties_set_document):
2275 Remove unnecessary translations
2277 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2279 * cut-n-paste/toolbar-editor/Makefile.am:
2281 Correct library name
2283 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2286 * cut-n-paste/recent-files/egg-recent-model.c:
2287 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2288 (egg_recent_model_unlock_file):
2289 * cut-n-paste/recent-files/egg-recent-util.c:
2290 (egg_recent_util_get_unique_id):
2291 * cut-n-paste/recent-files/update-from-egg.sh:
2292 * cut-n-paste/toolbar-editor/Makefile.am:
2293 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2294 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2295 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2296 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2297 (egg_toolbars_model_get_type):
2298 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2300 Better makefile for toolbar editor and update everything
2303 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2305 * shell/ev-window.c: (update_document_mode):
2307 Prefer presentation mode when the document
2310 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2312 * data/evince-ui.xml:
2313 * shell/ev-window.c:
2315 Add control-equal for zooming
2317 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2319 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2321 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2323 * backend/ev-document.c: (ev_document_get_orientation):
2324 * backend/ev-document.h:
2325 * pdf/ev-poppler.cc:
2326 * ps/ps-document.c: (ps_document_get_orientation),
2327 (ps_document_set_orientation), (ps_document_document_iface_init):
2329 Add a get_orientation api. Improve set_orientation.
2331 * data/evince-ui.xml:
2332 * shell/ev-view.c: (ev_view_set_orientation),
2333 (ev_view_rotate_right), (ev_view_rotate_left):
2335 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2336 (ev_window_cmd_edit_rotate_right):
2338 Better ui for changing document orientation
2340 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2342 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2343 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2344 * shell/ev-sidebar-links.h:
2345 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2346 (ev_sidebar_page_iface_init):
2347 * shell/ev-sidebar-page.h:
2348 * shell/ev-sidebar-thumbnails.c:
2349 (ev_sidebar_thumbnails_get_property),
2350 (ev_sidebar_thumbnails_class_init),
2351 (ev_sidebar_thumbnails_set_document):
2352 * shell/ev-sidebar-thumbnails.h:
2353 * shell/ev-view.c: (ev_view_motion_notify_event):
2354 * shell/ev-window.c: (update_chrome_visibility),
2355 (ev_window_cmd_focus_page_selector),
2356 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2357 (sidebar_page_main_widget_update_cb), (ev_window_init):
2359 Autoraise toolbar on GoToPage binding and fix bindings in
2360 EvSidebarThumbnails page.
2362 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2364 * shell/ev-properties.c: (update_progress_label):
2366 Hide the progress label when finished; bug #307697.
2368 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2370 * pdf/ev-poppler.cc:
2372 Enable is_open for links, you will need poppler cvs
2374 * shell/ev-properties.c: (job_fonts_finished_cb):
2376 Get a lock on the document when filling the tree view
2378 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2380 * backend/ev-document-links.h:
2381 * pdf/ev-poppler.cc:
2382 * shell/ev-sidebar-links.c: (create_loading_model),
2383 (expand_open_links), (job_finished_callback):
2385 Expand links when specified by the document.
2386 Depend on a poppler api (defined out for now)
2388 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2390 * shell/ev-properties.c: (ev_properties_dispose),
2391 (ev_properties_class_init), (dialog_destroy_cb),
2392 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2393 (ev_properties_set_document), (ev_properties_new),
2394 (ev_properties_show):
2395 * shell/ev-properties.h:
2397 Make it an object, cleanup the code, api to show it as transient
2398 and to set the document.
2400 * shell/ev-window.c: (ev_window_setup_document),
2401 (ev_window_cmd_file_properties):
2403 Adapt to EvProperties changes, do not show multiple
2404 times, update it when document changes.
2406 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2409 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2410 (ps_document_set_orientation), (ps_document_document_iface_init):
2413 Implement orientation here too
2415 * shell/ev-properties.c: (ev_properties_new):
2416 * data/evince-properties.glade:
2418 Hide the fonts page for backends that doesnt
2421 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2423 * backend/ev-document.c: (ev_document_set_orientation):
2424 * backend/ev-document.h:
2425 * pdf/ev-poppler.cc:
2427 Add orientation api. Currently poppler api is not optimal,
2428 we need to set orientation every time we _get a page.
2429 I will try to fix that at some point.
2431 * data/evince-ui.xml:
2432 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2433 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2435 Add orientation menu items
2437 * shell/ev-page-cache.c: (ev_page_cache_clear):
2438 * shell/ev-page-cache.h:
2440 Add api to clear the cache
2442 * shell/ev-view.c: (setup_caches), (clear_caches),
2443 (ev_view_set_document), (ev_view_zoom_out),
2444 (ev_view_set_orientation):
2447 Implement orientation changing
2449 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2451 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2452 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2453 * backend/ev-document-fonts.h:
2455 Separate scan and fill so that we can incrementally fill from
2456 the main thread. Add a progress api.
2458 * data/evince-properties.glade:
2459 * pdf/ev-poppler.cc:
2460 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2462 * shell/ev-properties.c: (update_progress_label),
2463 (job_fonts_finished_cb), (setup_fonts_view):
2465 Incrementally feel the list and show the progress
2466 percentage in a label like acrobat does.
2468 You are going to need poppler cvs
2470 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2472 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2473 * backend/ev-document-fonts.h:
2474 * pdf/ev-poppler.cc:
2476 Make fonts model fill incrementally.
2478 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2479 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2480 (ev_job_queue_remove_job):
2481 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2482 (ev_job_fonts_new), (ev_job_fonts_run):
2485 New job for fonts scanning
2487 * shell/ev-properties.c: (job_fonts_finished_cb),
2488 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2489 * shell/ev-properties.h:
2490 * shell/ev-window.c: (ev_window_cmd_file_properties):
2492 Incrementally feel the treeview using the new job. Show Loading...
2493 message until scanning is completed.
2495 Hopefully I didnt break the build without the poppler patch.
2497 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2499 * shell/ev-application.c: (ev_application_open):
2500 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2501 (ev_document_type_get_type), (ev_document_type_lookup):
2502 * shell/ev-document-types.h:
2503 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2504 * shell/ev-job-xfer.h:
2505 * shell/ev-window.c: (ev_window_clear_local_uri),
2506 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2507 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2508 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2510 Transfer remote documents to tmp directory to display them later.
2512 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2514 * backend/ev-document-info.h:
2515 * shell/ev-properties.c: (ev_properties_new):
2517 s/GTime*/GTime. Not sure why we was using a pointer
2520 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2522 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2523 situations. That situation is that you're using GTK+-HEAD with
2524 the patch at #306726 is applied, and you have a document with <
2525 1500 pages in it. It's not quite as uniformly nice as the
2526 TreeView, but should be better in the long run.
2528 I'm pretty sure I guarded against breaking compilation with
2529 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2532 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2533 widget yet, so I commented that code out
2534 enable_view_actions_for_widget() for now. Need to figure this
2537 * shell/ev-page-action.c (match_selected_cb): emit the right
2538 signals. Our cool C-l completion now works.
2540 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2542 * backend/Makefile.am:
2543 * backend/ev-document-fonts.c:
2544 * backend/ev-document-links.c:
2545 * backend/ev-document.c: (ev_document_load):
2546 * backend/ev-document.h:
2547 * backend/ev-job-queue.c:
2548 * backend/ev-job-queue.h:
2549 * backend/ev-jobs.c:
2550 * backend/ev-jobs.h:
2551 * backend/ev-page-cache.c:
2552 * backend/ev-page-cache.h:
2554 EvPageCache and EvJobs are moved to shell.
2556 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2558 * lib/ev-file-helpers.h:
2560 New helper to work with temporary files
2562 * shell/Makefile.am:
2563 * shell/ev-application.c: (ev_application_open):
2564 * shell/ev-application.h:
2565 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2566 (remove_job_from_async_queue), (add_job_to_async_queue),
2567 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2568 (handle_job), (search_for_jobs_unlocked),
2569 (no_jobs_available_unlocked), (ev_render_thread),
2570 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2571 (ev_job_queue_add_job), (move_job_async), (move_job),
2572 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2573 * shell/ev-job-queue.h:
2574 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2575 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2576 * shell/ev-job-xfer.h:
2577 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2578 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2579 (ev_job_links_class_init), (ev_job_render_init),
2580 (ev_job_render_dispose), (ev_job_render_class_init),
2581 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2582 (ev_job_thumbnail_class_init), (ev_job_load_init),
2583 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2584 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2585 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2586 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2588 * shell/ev-page-action.c: (ev_page_action_set_document):
2589 * shell/ev-page-cache.c: (ev_page_cache_init),
2590 (ev_page_cache_class_init), (ev_page_cache_finalize),
2591 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2592 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2593 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2594 (ev_page_cache_get_title), (ev_page_cache_get_size),
2595 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2596 (ev_page_cache_get_height_to_page),
2597 (ev_page_cache_get_max_label_chars),
2598 (ev_page_cache_get_page_label),
2599 (ev_page_cache_has_nonnumeric_page_labels),
2600 (ev_page_cache_get_info), (ev_page_cache_next_page),
2601 (ev_page_cache_prev_page), (ev_page_cache_get):
2602 * shell/ev-page-cache.h:
2603 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2604 (ev_pixbuf_cache_clear_job_sizes),
2605 (ev_pixbuf_cache_add_jobs_if_needed),
2606 (ev_pixbuf_cache_set_page_range):
2607 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2608 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2609 * shell/ev-sidebar-thumbnails.c:
2610 (ev_sidebar_tree_selection_changed),
2611 (ev_sidebar_thumbnails_set_document):
2612 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2613 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2614 (ev_statusbar_get_context_id), (ev_statusbar_push),
2615 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2616 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2617 (ev_statusbar_set_progress):
2618 * shell/ev-statusbar.h:
2619 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2620 (ev_view_find_previous):
2621 * shell/ev-window.c: (ev_window_is_empty),
2622 (ev_window_setup_document), (password_dialog_response),
2623 (ev_window_clear_jobs), (ev_window_load_job_cb),
2624 (ev_window_xfer_job_cb), (ev_window_open_uri),
2625 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2626 (ev_window_print), (ev_window_print_range),
2627 (ev_window_state_event), (ev_window_cmd_view_reload),
2628 (menu_item_select_cb), (menu_item_deselect_cb),
2629 (view_status_changed_cb), (ev_window_dispose),
2630 (drag_data_received_cb), (ev_window_init):
2631 * shell/ev-window.h:
2632 * shell/main.c: (load_files):
2634 New statusbar to show progress on idle. Two new jobs -
2635 xfer job and load job to load document in background. And update
2636 of page_cache clients to new location of code.
2638 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2640 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2641 selection in open dialog. It also remembers the last visited directory
2642 in the current session.
2644 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2646 * shell/ev-properties.c: (ev_properties_new):
2647 * shell/ev-properties.h:
2648 * shell/ev-window.c: (ev_window_cmd_file_properties):
2650 Get document info from page cache instead of document itself.
2651 This should fix crash related to race conditions described in
2654 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2656 * ps/ps-document.c: (ps_document_init),
2657 (send_ps), (get_page_box), (output), (catchPipe), (input),
2658 (stop_interpreter), (file_length), (file_readable),
2659 (check_filecompressedb), (ps_document_enable_interpreter),
2660 (document_load), (ps_async_renderer_render_pixbuf):
2663 Big cleanup of the ps code
2665 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2667 * backend/Makefile.am:
2668 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2669 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2670 * backend/ev-async-renderer.h:
2672 Add an async renderer interface (method + callback) which
2673 is useful for backends like ps.
2675 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2676 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2677 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2678 (ev_job_queue_add_job), (move_job_async), (move_job),
2679 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2681 Add queues for async renderer, these are executed on the
2684 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2685 (ev_job_render_run):
2686 * backend/ev-jobs.h:
2688 If the backend support async renderer interface use it.
2690 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2691 (setup_pixmap), (ps_document_get_type),
2692 (ps_async_renderer_render_pixbuf),
2693 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2695 Implement async renderer interface.
2697 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2699 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2701 Cleanup links job on exit.
2703 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2705 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2706 (drag_data_get_cb), (drag_data_received_cb):
2707 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2708 (drag_data_get_cb), (parse_item_list),
2709 (egg_toolbar_editor_load_actions):
2710 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2711 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2712 (parse_item_list), (parse_toolbars):
2713 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2714 (dvi_pixbuf_put_pixel):
2716 Fix gcc 4.0 warnings
2718 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2720 * ps/ps-document.c: (start_interpreter):
2722 Fix warning when loading ps
2724 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2726 * ps/ps-document.c: (output):
2728 Fix crash when priting gs error messages.
2730 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2732 * backend/ev-page-cache.c: (_ev_page_cache_new):
2733 * backend/ev-page-cache.h:
2735 Use a const to return title so that we dont double
2736 free it. Small cleanup and fix a leak.
2738 * shell/ev-window.c: (update_window_title):
2740 strdup value from get_title.
2742 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2744 * shell/ev-sidebar-links.c: (job_finished_callback),
2745 (ev_sidebar_links_set_document):
2747 Cleanup the old job when changing document
2749 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2751 * shell/ev-stock-icons.c:
2752 * shell/ev-stock-icons.h:
2753 * shell/ev-window.c:
2755 Add stock icons for actions that can appear in toolbar. Fix for
2758 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2760 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2761 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2762 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2763 * backend/ev-page-cache.h:
2764 * shell/ev-view.c: (scroll_to_current_page),
2765 (view_update_range_and_current_page), (get_page_y_offset),
2766 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2767 (ev_view_size_request_continuous),
2768 (ev_view_zoom_for_size_continuous_and_dual_page),
2769 (ev_view_zoom_for_size_continuous):
2771 More compact EvView layout in document with pages of different size.
2773 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2775 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2778 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2780 * shell/ev-view.c: (view_set_adjustment_values):
2781 * shell/ev-window.c: (ev_window_cmd_file_properties):
2783 A bit different fix for rounding problem but it has no
2784 problems on startup. Make properties window transient to parent.
2786 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2788 * pdf/ev-poppler.cc:
2790 More commenting of font stuff.
2792 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2794 * pdf/ev-poppler.cc:
2796 Comment out some more fonts stuff. Should really
2797 work without the poppler patch now.
2799 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2801 * pdf/ev-poppler.cc:
2805 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2807 * data/evince-properties.glade:
2808 * pdf/ev-poppler.cc:
2809 * shell/ev-properties.c: (setup_fonts_view):
2811 Set the column title. Show the dialog only
2812 once everything is setup.
2813 Getting font info can be very slow... will
2814 prolly need to make this threaded too.
2816 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2818 * backend/Makefile.am:
2819 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2820 (ev_document_fonts_get_fonts_model):
2821 * backend/ev-document-fonts.h:
2822 * data/evince-properties.glade:
2823 * pdf/ev-poppler.cc:
2824 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2825 * shell/ev-properties.h:
2826 * shell/ev-window.c: (ev_window_cmd_file_properties):
2828 Implement fonts list. Defined out for now, since it depends
2829 on a not yet committed poppler patch.
2831 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2833 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2836 * shell/ev-window.c: Make sure we add the timeout when we get a
2839 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2840 adjustment->value before calculating the zoom factor to average
2841 out all of our rounding errors. The page no longer 'drifts' when
2844 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2846 * data/evince-properties.glade:
2847 * shell/ev-properties.c: (ev_properties_format_date),
2850 Labels don't expand when the dialogue is resized.
2851 strftime result needs to be converted to UTF-8. Thanks
2852 to Christian Persch <chpe@gnome.org>.
2854 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2856 * data/evince-properties.glade:
2860 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2862 * backend/ev-document-info.h:
2863 * backend/ev-document.c: (ev_document_info_free):
2864 * data/evince-properties.glade:
2865 * pdf/ev-poppler.cc:
2866 * ps/ps-document.c: (ps_document_get_info):
2867 * shell/ev-properties.c: (ev_properties_format_date),
2868 (set_property), (ev_properties_new):
2869 * shell/ev-properties.h:
2870 * shell/ev-window.c: (ev_window_cmd_file_properties):
2872 Rework properties code to take only EvPropertyInfo
2873 in the constructor so that it can be useful for
2874 nautilus plugin too.
2876 Deal with backends that doesnt support some properties.
2877 Make set property code generic.
2879 2005-06-04 Christian Persch <chpe@gnome.org>
2881 * data/evince-properties.glade:
2883 fix spacings, make resizeable, and make data labels
2884 selectable + ellipsised
2886 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2888 * backend/ev-document-info.h:
2890 * data/evince-ui.xml:
2891 * pdf/ev-poppler.cc:
2892 * shell/Makefile.am:
2893 * shell/ev-window.c: (update_action_sensitivity),
2894 (ev_window_cmd_file_properties):
2896 Initial go at file properties. Patch by
2897 Emil Soleyman-Zomalan <emil@soleyman.com>.
2898 Needs love see #169583
2900 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2902 * ps/ps-document.c: (output):
2903 * ps/ps.c: (psscan):
2905 Try to render even if psscan fails.
2907 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2909 * ps/ps.c: (psscan), (pscopydoc):
2911 Port buffered reading code from gv
2913 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2915 * ps/ps-document.c: (interpreter_message), (output):
2917 Do not fail on interpreter messages
2919 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2921 * backend/ev-document-misc.c:
2922 (ev_document_misc_get_thumbnail_frame):
2924 Pages can be 0 x 0, dont assert on this case
2926 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2928 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2929 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2931 Correctly manage our reference on document. Finally the reload
2932 huge leak is gone...
2934 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2936 * ps/ps-document.c: (ps_document_dispose):
2938 Forgot to chain it to the parent. Thanks chpe.
2940 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2942 * ps/ps-document.c: (ps_document_dispose),
2943 (ps_document_class_init), (stop_interpreter), (document_load):
2945 Cleanup dispose a bit. Dont leak the whole pixmap.
2947 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2949 * pdf/ev-poppler.cc:
2951 Release the poppler document on dispose
2953 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2955 * shell/ev-view.c: (ev_view_set_document):
2957 Release ref on the pixbuf cache when changing
2960 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2962 * ps/ps-document.c: (ps_document_get_info):
2966 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2968 * backend/ev-page-cache.c: (ev_page_cache_init),
2969 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2970 * backend/ev-page-cache.h:
2971 * shell/ev-page-action.c: (page_changed_cb):
2973 Set page action entry width depending on labels width. Fix
2976 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2978 * backend/ev-link.c: (ev_link_class_init):
2980 Allow -1 as page value (error)
2982 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2984 * shell/ev-sidebar-thumbnails.c:
2985 (ev_sidebar_thumbnails_set_document):
2986 * shell/ev-view.c: (scroll_to_current_page),
2987 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2988 (page_changed_cb), (on_adjustment_value_changed),
2989 (ev_view_set_document):
2991 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2994 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2997 * djvu/djvu-document.c: (djvu_document_get_page_size):
2999 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3002 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3004 * shell/ev-view.c (draw_one_page): modify the expose handling to
3007 * shell/ev-window.c (update_action_sensitivity): Respect
3008 permissions field. Kowtow to the man.
3010 * pdf/ev-poppler.cc: Get the permissions field.
3012 * tiff/*c: Make a tiny bit more robust.
3014 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3016 * djvu/djvu-document.c:
3018 Pop messages from djvu context message queue.
3020 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3022 * configure.ac, Makefile.am, shell/Makefile.am:
3023 * tiff/Makefile.am, shell/ev-document-types.c:
3025 Cleanup tiff configure checks. Fix for bug 305218.
3027 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3029 * configure.ac: Added "uk" to ALL_LINGUAS.
3031 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3033 * cut-n-paste/zoom-control/ephy-zoom.c:
3034 (ephy_zoom_get_changed_zoom_level):
3035 * cut-n-paste/zoom-control/ephy-zoom.h:
3036 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3037 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3038 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3039 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3040 (zoom_control_changed_cb), (ev_window_init):
3042 Fix minor points related to moving best fit up. Introduce
3043 "zoom" property and make zoom control change it's value on
3044 notify::zoom signals. Fix for 305080.
3046 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3048 * data/evince-ui.xml:
3049 * shell/ev-window.c: (set_view_actions_sensitivity):
3051 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3053 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3057 Depends on poppler 0.3.2
3059 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3061 * cut-n-paste/recent-files/egg-recent-item.c:
3062 (egg_recent_item_get_short_name):
3063 * cut-n-paste/toolbar-editor/Makefile.am:
3064 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3065 (new_pixbuf_from_widget):
3066 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3067 * cut-n-paste/toolbar-editor/egg-marshal.c:
3068 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3069 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3073 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3075 * tiff/tiff-document.c: Rough TIFF backend.
3077 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3081 * cut-n-paste/toolbar-editor/Makefile.am:
3085 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3087 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3088 (ev_view_find_next), (ev_view_find_previous):
3090 Remove the locks around get_n_results
3092 2005-05-21 Juerg Billeter <j@bitron.ch>
3094 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3096 Pass correct number of pages to poppler.
3098 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3102 * data/evince.desktop.in:
3103 * data/evince.desktop.in.in:
3106 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3108 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3110 * shell/ev-view.c: (view_update_adjustments),
3111 (view_set_adjustment_values): cast adjustmen->value to (int)
3112 before using it. Otherwise, we get off by a pixel in some
3115 (draw_one_page): Draw the border on expose.
3117 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3119 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3120 adjustment when the mode changes, #304923
3122 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3124 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3125 flickering on resize but still use gdk_window_scroll on
3128 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3130 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3133 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3135 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3136 second page on page_changed if possible, #304669
3138 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3140 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3141 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3143 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3146 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3147 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3148 (ev_view_zoom_for_size_presentation),
3149 (ev_view_zoom_for_size_continuous_and_dual_page),
3150 (ev_view_zoom_for_size_continuous),
3151 (ev_view_zoom_for_size_dual_page),
3152 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3154 * shell/ev-window.c: (update_view_size),
3155 (ev_window_sizing_mode_changed_cb):
3157 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3158 the scrollbars. It's not 100% right, but it's much closer. Kills
3159 an infinite loop, #304769
3162 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3164 * data/evince-ui.xml:
3165 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3166 * shell/ev-window.c: (set_view_actions_sensitivity):
3168 Make PgUp/Down behave like Space
3170 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3172 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3173 * backend/ev-ps-exporter.h:
3174 * pdf/ev-poppler.cc:
3175 * ps/ps-document.c: (ps_document_ps_export_begin):
3176 * shell/ev-print-job.c: (idle_print_handler):
3178 Adapt to new poppler api
3180 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3182 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3183 (ephy_zoom_control_init):
3185 Translate zoom levels
3187 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3189 * cut-n-paste/zoom-control/ephy-zoom.c:
3190 (ephy_zoom_get_zoom_level_index):
3192 Fix current zoom -> zoom control match
3194 2005-05-18 James Bowes <bowes@cs.dal.ca>
3196 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3197 rather than the scrolled_window that it's in. Fixes bug #304655.
3199 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3201 * shell/ev-view.c: (view_update_adjustments),
3202 (view_set_adjustment_values), (view_update_range_and_current_page),
3203 (view_scroll_to_page), (set_scroll_adjustment),
3204 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3205 (ev_view_scroll), (ev_view_scroll_view),
3206 (ensure_rectangle_is_visible), (find_page_at_location),
3207 (get_link_at_location), (go_to_link), (status_message_from_link),
3208 (ev_view_size_request_continuous_dual_page),
3209 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3210 (ev_view_unrealize), (ev_view_expose_event),
3211 (ev_view_button_press_event), (ev_view_motion_notify_event),
3212 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3213 (draw_rubberband), (highlight_find_results), (draw_one_page),
3214 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3215 (ev_view_init), (find_changed_cb), (page_changed_cb),
3216 (on_adjustment_value_changed), (ev_view_new),
3217 (ev_view_set_document), (ev_view_set_zoom),
3218 (ev_view_set_continuous), (ev_view_set_dual_page),
3219 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3220 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3221 (ev_view_zoom_for_size_presentation),
3222 (ev_view_zoom_for_size_continuous_dual_page),
3223 (ev_view_zoom_for_size_continuous),
3224 (ev_view_zoom_for_size_dual_page),
3225 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3226 (ev_view_get_status), (ev_view_set_status),
3227 (update_find_status_message), (ev_view_get_find_status),
3228 (ev_view_set_find_status), (jump_to_find_result),
3229 (jump_to_find_page), (compute_selections), (clear_selection),
3230 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3231 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3232 (ev_view_update_primary_selection),
3233 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3235 * shell/ev-window.c: (ev_window_open_page_label),
3236 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3238 * shell/ev-window.h:
3239 * shell/main.c: (load_files):
3241 Massive code clean up from Nickolay Shmyrev. Keep page offset
3242 when resizing. Remove the bin_window(). Also, patch from James
3243 Bowes to fix command line page, #300641
3245 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3247 * data/evince-ui.xml:
3250 * shell/ev-window.c: (update_action_sensitivity):
3252 Get rid of View->Normal Size, it's just confusing
3254 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3256 * backend/ev-document-info.h:
3257 * backend/ev-document.c: (ev_document_info_free): Free the
3260 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3261 (clear_range), (add_range), (update_visible_range),
3262 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3263 (ev_sidebar_thumbnails_set_document):
3264 * shell/ev-window.c: (ev_window_setup_document): Only render the
3265 visible thumbnails. It takes an instant to render, but it uses
3268 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3270 * shell/ev-sidebar-links.c: (popup_menu_cb):
3274 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3277 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3278 (button_press_cb), (ev_sidebar_links_construct):
3280 Show the popup menu also on keybindings
3282 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3284 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3285 * shell/ev-window.h:
3287 Expose api to print a range (with dialog). Make private _print use
3290 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3291 (ev_sidebar_links_construct):
3293 Show a print context menu on linkx, it prints the selected
3296 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3298 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3301 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3307 * shell/ev-window.c: (build_comments_string),
3308 (ev_window_cmd_help_about):
3310 Show poppler version/backend and authors
3312 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3314 * cut-n-paste/zoom-control/ephy-zoom.c:
3315 (ephy_zoom_get_zoom_level_index):
3316 * cut-n-paste/zoom-control/ephy-zoom.h:
3318 Move the best fit items at the top of the list
3320 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3322 * shell/ev-marshal.list:
3323 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3324 (activate_cb), (match_selected_cb), (activate_link_cb),
3325 (connect_proxy), (ev_page_action_class_init):
3326 * shell/ev-page-action.h:
3328 Use signals to notify action activation. Hopefully
3329 I did not break completion since I cant test...
3331 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3332 (register_custom_actions):
3334 Connect to page selector actions and also grab focus on
3335 the view when activated.
3337 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3339 * pdf/ev-poppler.cc:
3340 * backend/ev-page-cache.c: make page size calculation consistent
3341 and set it to (int)( width * scale + 0.5). This makes the weird
3342 line going through the middle of the page go away.
3344 * shell/ev-view.c: move painting the background page after
3345 checking the expose area covers us.
3347 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3349 * data/evince-password.glade:
3351 Mark labels as not translatable. Fix for bug 302842.
3353 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3355 * configure.ac: Added "es" to ALL_LINGUAS.
3357 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3359 * data/evince-toolbar.xml:
3360 * shell/ev-window.c: (update_action_sensitivity),
3361 (ev_window_setup_document), (ev_window_set_page_mode),
3364 Remove some leftover code from jrb first continous
3365 attempt. Use the new actions, we still need good icons
3368 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3370 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3372 Update label when connecting proxy. Fix a warning with NULL
3375 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3377 * data/evince-ui.xml:
3378 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3379 * shell/ev-page-action.h:
3380 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3382 Add mnemonic for edit toolbar.
3383 ctrl+l focus the page entry.
3385 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3388 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3390 * shell/main.c: (main):
3392 Put the toolbar xml in evince own dot dir
3394 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3396 * shell/ev-window.c: (ev_window_init):
3398 Make the toolbar not removable
3400 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3402 * data/evince-ui.xml:
3403 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3404 * shell/ev-sidebar-links.h:
3405 * shell/ev-sidebar-thumbnails.c:
3406 (ev_sidebar_thumbnails_get_treeview):
3407 * shell/ev-sidebar-thumbnails.h:
3408 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3409 (ev_view_class_init):
3411 * shell/ev-window.c: (update_action_sensitivity),
3412 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3413 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3414 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3417 This is evil... Make space/backspace global accelerators but
3418 enable them only for some widgets (sidebars and view).
3419 I dont like it, but I dont know a better way... :/
3421 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3423 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3424 (ev_page_action_widget_finalize),
3425 (ev_page_action_widget_class_init), (update_page_cache):
3427 Keep a weak reference on proxy->page_cache so that we
3428 dont try to disconnect the signal if the object is already
3429 gone. Maybe there is a better way to cleanup reference handling
3430 in page action though...
3432 2005-05-10 Juerg Billeter <j@bitron.ch>
3434 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3435 * backend/ev-ps-exporter.h:
3436 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3437 * ps/ps-document.c: (ps_document_ps_export_begin):
3439 Change api to pass print range to ps_exporter_begin. The pdf backend
3440 requires this information.
3442 * shell/ev-print-job.c: (idle_print_handler):
3446 2005-05-10 Juerg Billeter <j@bitron.ch>
3448 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3449 (idle_print_handler)
3450 * shell/ev-window.c: (ev_window_print):
3452 Support printing page range, based on patch by Amaury Jacquot
3454 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3456 * data/evince-toolbar.xml:
3458 Add zoom control to available items
3460 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3462 * shell/ev-window.c: (update_action_sensitivity):
3464 Set slash action insensitive when appropriate
3466 2005-05-10 Christian Persch <chpe@gnome.org>
3468 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3470 Fix warning on the overflow menu
3472 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3474 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3476 Check for uri correctness/existence
3478 2005-05-09 Juerg Billeter <j@bitron.ch>
3480 * shell/ev-window.c: (using_postscript_printer):
3482 LPD printers use postscript, too
3484 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3486 * shell/ev-window.c: (register_custom_actions):
3488 The zoom one is actually sort of useful,
3491 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3493 * shell/ev-window.c: (register_custom_actions):
3495 Hide page/zoom controls from overflow, they
3498 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3500 * cut-n-paste/update-from-egg.sh:
3502 Share it between all cut-n-paste subdirs
3504 * cut-n-paste/recent-files/Makefile.am:
3506 Fix to use "global" update-from-egg.sh
3508 * cut-n-paste/recent-files/egg-recent-model.c:
3509 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3510 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3511 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3512 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3516 * cut-n-paste/toolbar-editor/Makefile.am:
3518 Fix to use "global" update-from-egg.sh
3520 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3524 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3527 * cut-n-paste/Makefile.am:
3528 * cut-n-paste/recent-files/Makefile.am:
3529 * cut-n-paste/toolbar-editor/.cvsignore:
3530 * cut-n-paste/toolbar-editor/Makefile.am:
3531 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3532 (egg_editable_toolbar_get_type), (get_toolbar_position),
3533 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3534 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3535 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3536 (set_item_drag_source), (create_item_from_action), (create_item),
3537 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3538 (popup_toolbar_context_menu_cb), (free_dragged_item),
3539 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3540 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3541 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3542 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3543 (item_added_cb), (item_removed_cb),
3544 (egg_editable_toolbar_construct),
3545 (egg_editable_toolbar_disconnect_model),
3546 (egg_editable_toolbar_deconstruct),
3547 (egg_editable_toolbar_set_model),
3548 (egg_editable_toolbar_set_ui_manager),
3549 (egg_editable_toolbar_set_property),
3550 (egg_editable_toolbar_get_property),
3551 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3552 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3553 (egg_editable_toolbar_new_with_model),
3554 (egg_editable_toolbar_get_edit_mode),
3555 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3556 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3557 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3558 (new_pixbuf_from_widget), (new_separator_pixbuf),
3559 (update_separator_image), (style_set_cb),
3560 (_egg_editable_toolbar_new_separator_image),
3561 (egg_editable_toolbar_get_model):
3562 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3563 * cut-n-paste/toolbar-editor/egg-marshal.c:
3564 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3565 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3566 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3567 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3568 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3569 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3570 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3571 (editor_drag_data_delete_cb), (drag_data_get_cb),
3572 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3573 (editor_create_item), (update_editor_sheet), (setup_editor),
3574 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3575 (parse_item_list), (model_has_action), (update_actions_list),
3576 (egg_toolbar_editor_load_actions):
3577 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3578 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3579 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3580 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3581 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3582 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3583 (egg_toolbars_model_add_separator), (impl_add_item),
3584 (parse_item_list), (egg_toolbars_model_add_toolbar),
3585 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3586 (impl_get_item_data), (impl_get_item_type),
3587 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3588 (egg_toolbars_model_init), (free_toolbar),
3589 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3590 (egg_toolbars_model_remove_toolbar),
3591 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3592 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3593 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3594 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3595 (egg_toolbars_model_get_item_data),
3596 (egg_toolbars_model_get_item_type):
3597 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3598 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3600 * data/evince-toolbar.xml:
3601 * data/evince-ui.xml:
3602 * data/hand-open.png:
3604 * shell/Makefile.am:
3605 * shell/ev-window.c: (update_chrome_visibility),
3606 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3607 (ev_window_dispose), (ev_window_init):
3609 Implement epiphany like toolbar editor. Based on patch by
3610 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3612 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3614 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3616 Use set_cursor instead of set_selection, so that
3617 the keyboard focus moves too.
3619 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3621 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3623 Fix infinite loop when loading Type1 fonts
3625 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3627 * data/evince-ui.xml:
3628 * shell/ev-window.c:
3632 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3636 Make --disable really disable
3638 2005-05-07 Juerg Billeter <j@bitron.ch>
3640 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3642 Compare page labels even without has_labels set, fixes setting page
3645 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3647 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3648 (ev_view_set_cursor), (ev_view_button_press_event),
3649 (ev_view_motion_notify_event), (ev_view_button_release_event),
3652 Implement middle button scrolling. Based on a patch
3653 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3655 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3657 * shell/ev-document-types.c: (get_slow_mime_type),
3658 (get_document_type_from_mime), (ev_document_type_lookup):
3659 * shell/ev-document-types.h:
3661 Change api to lookup from uri. Do fast lookup first, if the
3662 type is unknown try with data sniffing.
3664 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3665 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3669 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3671 * thumbnailer/Makefile.am:
3675 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3682 * data/evince-ui.xml:
3684 Hide presentation mode for now
3686 * shell/ev-view.c: (highlight_find_results):
3688 Show current find selection only on current page
3690 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3692 * shell/ev-view.c: (ev_view_select_all):
3694 Compute size of the actual page, not of
3697 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3699 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3700 (view_rect_to_doc_rect), (compute_selections),
3701 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3702 (ev_view_copy), (ev_view_primary_get_cb),
3703 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3704 (ev_view_button_press_event), (ev_view_motion_notify_event),
3705 (ev_view_button_release_event), (page_changed_cb):
3709 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3711 * shell/ev-view.c: (compute_border), (get_page_extents),
3712 (doc_rect_to_view_rect), (highlight_find_results),
3713 (ev_view_bin_expose), (ev_view_select_all),
3714 (ev_view_motion_notify_event), (update_find_status_message),
3715 (jump_to_find_result), (jump_to_find_page):
3717 First go at fixing search, still buggy
3719 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3721 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3722 dropdown box and button at the top of the sidebar.
3724 2005-05-02 James Bowes <bowes@cs.dal.ca>
3726 * configure.ac: Output zoom-control Makefile.
3727 * cut-n-paste/Makefile.am: build zoom-control subdir.
3728 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3729 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3730 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3731 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3732 * cut-n-paste/zoom-control/ephy-zoom.c:
3733 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3734 from epiphany, and modified to add a separator into the menu.
3735 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3736 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3737 zoom-control action.
3738 * shell/Makefile.am: Include zoom-control flags.
3739 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3740 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3741 (ev_view_zoom_for_size_presentation),
3742 (ev_view_zoom_for_size_continuous_and_dual_page),
3743 (ev_view_zoom_for_size_continuous),
3744 (ev_view_zoom_for_size_dual_page),
3745 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3746 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3747 ev_view_get_zoom and ev_view_get_sizing_mode.
3749 * shell/ev-window.c: (update_action_sensitivity),
3750 (update_sizing_buttons), (zoom_control_changed_cb),
3751 (register_custom_actions): Initialize and use the zoom-control
3754 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3756 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3757 preview cache back to 1. Don't know when it got set to 0.
3759 * shell/ev-view.c: (compute_border), (ev_view_realize),
3760 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3761 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3762 (ev_view_get_fullscreen), (ev_view_set_presentation),
3763 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3764 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3766 * shell/ev-window.c:
3767 (update_chrome_visibility),
3768 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3769 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3770 (update_document_mode), (ev_window_update_fullscreen_action),
3771 (ev_window_fullscreen), (ev_window_unfullscreen),
3772 (ev_window_cmd_view_fullscreen),
3773 (ev_window_update_presentation_action),
3774 (ev_window_run_presentation), (ev_window_stop_presentation),
3775 (ev_window_cmd_view_presentation), (ev_window_state_event),
3776 (ev_window_focus_in_event), (ev_window_focus_out_event),
3777 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3778 * data/evince-ui.xml: Initial presentation mode. We should
3779 probably hide this until it's done, as it's quite rough. Also,
3780 change full-screen to fullscreen and add two getters to EvView.
3782 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3784 * shell/ev-page-action.c: (update_page_cache),
3785 (ev_page_action_dispose):
3786 * shell/ev-window.c: (destroy_fullscreen_popup),
3787 (ev_window_create_fullscreen_popup):
3789 Use connect_object rather than explicitly
3790 disconnect on dispose.
3792 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3794 * shell/ev-page-action.c: (update_page_cache),
3795 (ev_page_action_dispose):
3797 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3799 * backend/ev-page-cache.c: (_ev_page_cache_new),
3800 (ev_page_cache_set_page_label),
3801 (ev_page_cache_has_nonnumeric_page_labels):
3802 * backend/ev-page-cache.h:
3803 * shell/ev-page-action.c: (update_pages_label):
3805 If all page labels are numeric, fallback to default
3806 way to display number of pages. See bug 173185.
3808 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3810 * shell/ev-page-action.c: (ev_page_action_dispose):
3811 * shell/ev-view.c: (view_update_range_and_current_page):
3812 * shell/ev-window.c: (ev_window_dispose):
3814 Set page on scroll in continuous mode. Fixes bug 301986.
3815 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3817 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3821 Require poppler 0.3.0
3823 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3825 * shell/Makefile.am, configure.ac: Fix build problems
3826 with t1lib. Bug 301996.
3828 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3830 * shell/ev-view.c: (ev_view_scroll_event):
3832 Scroll up increase zoom
3834 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3836 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3837 (ev_view_set_sizing_mode),
3838 (ev_view_zoom_for_size_continuous_and_dual_page),
3839 (ev_view_zoom_for_size_continuous):
3840 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3841 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3842 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3845 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3846 Fix for 165473 and 165472.
3848 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3851 * thumbnailer/Makefile.am:
3852 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3853 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3854 * thumbnailer/evince-thumbnailer.schemas.in:
3856 Make thumbnailer schemas translatable. Fix for bug 301773
3858 * thumbnailer/evince-thumbnailer-djvu.schemas:
3859 * thumbnailer/evince-thumbnailer-dvi.schemas:
3860 * thumbnailer/evince-thumbnailer.schemas:
3864 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3866 * shell/ev-view.c (ev_view_init): forgot to set this.
3868 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3870 * shell/ev-view.c: (find_page_at_location),
3871 (get_link_at_location),
3872 (ev_view_set_show_border), (ev_view_set_spacing),
3873 (ev_view_zoom_for_size_continuous_and_dual_page),
3874 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3875 Also, add a quick fix measuring of widths. Also, removed
3876 ev_view_set_spacing and ev_view_set_show_border.
3878 * shell/ev-window.c: (ev_window_unfullscreen),
3879 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3881 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3883 * shell/ev-view.c: (view_update_range_and_current_page),
3886 Fix crash on exit and scrolling to page in continuous view.
3888 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3891 * backend/ev-page-cache.c: (_ev_page_cache_new),
3892 (ev_page_cache_get_max_width_size),
3893 (ev_page_cache_get_max_height_size):
3894 * backend/ev-page-cache.h:
3895 * data/evince-ui.xml:
3896 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3897 * shell/ev-view.c: (view_update_adjustments),
3898 (view_update_range_and_current_page), (get_bounding_box_size),
3899 (ev_view_size_request_continuous_and_dual_page),
3900 (ev_view_size_request_continuous),
3901 (ev_view_size_request_dual_page),
3902 (ev_view_size_request_single_page), (ev_view_size_request),
3903 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3904 (ev_view_bin_expose), (ev_view_expose_event),
3905 (ev_view_set_property), (ev_view_get_property),
3906 (ev_view_class_init), (ev_view_init), (ev_view_new),
3907 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3908 (ev_view_set_dual_page), (ev_view_set_full_screen),
3909 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3910 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3911 (ev_view_zoom_out), (zoom_for_size_fit_width),
3912 (zoom_for_size_best_fit),
3913 (ev_view_zoom_for_size_continuous_and_dual_page),
3914 (ev_view_zoom_for_size_continuous),
3915 (ev_view_zoom_for_size_dual_page),
3916 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3917 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3919 * shell/ev-window.c: (update_action_sensitivity),
3920 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3921 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3922 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3923 (ev_window_cmd_view_zoom_out), (update_view_size),
3924 (ev_window_set_sizing_mode), (ev_window_init):
3926 Add Continuous and Dual page modes.
3928 2005-04-23 James Bowes <bowes@cs.dal.ca>
3930 * dvi/dvi-document.c: (dvi_document_load),
3931 (dvi_document_thumbnails_get_thumbnail),
3932 (dvi_document_init_params): Fix up some mixups between
3933 width and height to correct thumbnail rendering.
3935 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3937 * dvi/mdvi-lib/private.h:
3938 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3940 Suppess output for kpathsea during font generation. Thanks to
3943 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3950 * Makefile.am: fix distcheck.
3952 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3954 * shell/ev-sidebar-links.c: (selection_changed_callback),
3955 (update_page_callback), (row_activated_callback),
3956 (job_finished_callback), (ev_sidebar_links_set_document):
3958 Fix for bug #169901. Double click on links expands tree.
3960 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3962 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3963 hard-coded style. Fix for bug 170111
3965 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3967 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3970 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3972 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3974 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3976 * pdf/ev-poppler.cc:
3977 * shell/ev-view.c: (highlight_find_results):
3979 Fix find on single page documents
3981 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3983 * data/evince.schemas.in: fix for bug 301390
3985 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3987 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3988 (ev_view_zoom_out), (ev_view_zoom_normal):
3990 * shell/ev-window.c: (update_action_sensitivity),
3991 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3992 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3993 (ev_window_cmd_view_normal_size):
3995 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3996 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3999 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4003 Depend on 2.57, 2.59 doesnt seem to be necessary
4005 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4007 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4010 Put back total number of pages as (1 of 1234)
4012 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4014 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4017 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4018 function. This helps debugging.
4020 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4022 * djvu/djvu-document.c: (djvu_document_class_init),
4023 (djvu_document_get_info), (djvu_document_document_iface_init):
4024 * dvi/dvi-document.c: (dvi_document_class_init),
4025 (dvi_document_get_info), (dvi_document_document_iface_init):
4027 Dummy implementation of get_info method for dvi and djvu. Fix
4028 crashes with those backends
4030 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4032 * data/evince.desktop.in:
4034 Add application/x-gzpostscript
4036 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4038 * data/evince.schemas.in: Added real long descriptions,
4041 * README: Added actual text, closes bug 171869
4043 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4045 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4049 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4051 * backend/ev-document-info.h:
4053 s/GDate */GDate so we can just use g_free
4055 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4057 * shell/ev-window.c: (update_document_mode),
4058 (ev_window_setup_document):
4060 Show the window in fullscreen when specified by
4063 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4065 * backend/ev-document.c: (ev_document_class_init),
4066 (ev_document_get_info), (ev_document_render_pixbuf):
4067 * backend/ev-document.h:
4068 * backend/ev-page-cache.c: (_ev_page_cache_new):
4069 * pdf/ev-poppler.cc:
4070 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4071 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4072 * ps/ps-document.c: (ps_document_class_init), (document_load),
4073 (ps_document_get_info), (ps_document_document_iface_init):
4075 Remove get_title from the interface, we can just use document info
4077 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4079 * backend/Makefile.am:
4080 * backend/ev-document.c: (ev_document_render_get_info):
4081 * backend/ev-document.h:
4082 * pdf/ev-poppler.cc:
4084 Initial support for document info. Based on jrb patch.
4086 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4088 * shell/ev-window.c: (ev_window_state_event),
4089 (ev_window_class_init), (ev_window_init):
4091 Doesn't show resize grip when maximized. See bug #301053
4093 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4097 ev-sidebar-thumbnails now has translatable labels
4099 * shell/Makefile.am:
4100 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4101 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4102 (ev_sidebar_links_page_iface_init):
4103 * shell/ev-sidebar-links.h:
4104 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4105 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4106 (ev_sidebar_page_get_label):
4107 * shell/ev-sidebar-page.h:
4108 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4109 (ev_sidebar_thumbnails_set_document),
4110 (ev_sidebar_thumbnails_support_document),
4111 (ev_sidebar_thumbnails_get_label),
4112 (ev_sidebar_thumbnails_page_iface_init):
4113 * shell/ev-sidebar-thumbnails.h:
4114 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4115 (ev_sidebar_set_document):
4116 * shell/ev-sidebar.h:
4117 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4119 Small rework of sidebar code. Now sidebar pages should implement
4120 EvSidebarPage interface. That makes page management in EvSidebar
4121 easier. See bug #164811 for details
4123 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4125 * shell/ev-application.c: (ev_application_open):
4126 * shell/ev-document-types.c:
4128 Fix build error and small problem with application exit
4130 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4132 * thumbnailer/Makefile.am:
4133 * thumbnailer/evince-thumbnailer-djvu.schemas:
4134 * thumbnailer/evince-thumbnailer-dvi.schemas:
4136 Conditionally install schemas for djvu/dvi thumbnailer
4138 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4140 * shell/ev-document-types.h:
4141 * shell/ev-document-types.c:
4142 New files, handling the mapping from mimetypes to backends
4144 * shell/ev-window.c:
4145 * thumbnailer/evince-thumbnailer.c:
4146 Use the ev-document-types code
4148 * shell/Makefile.am:
4149 Added new convenience library libevbackendfactory_la, containing
4150 the new mimetype->backend logic; moved the backends into it.
4152 * thumbnailer/Makefile.am:
4153 Make the thumbnailer link with the libevbackend.la convenience
4154 library, rather than having a duplicate of the backend logic here.
4156 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4158 * shell/ev-stock-icons.c: constify some vars.
4159 * shell/ev-window.c: ditto.
4161 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4163 * ps/ps-document.c (get_page_orientation):
4165 Respect document orientation
4167 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4171 * shell/Makefile.am:
4173 Move library dependencies to components.
4175 * shell/ev-window.c: (update_window_title),
4176 (start_loading_document):
4178 Fix display of uris with spaces. Bug 168358.
4180 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4182 * shell/ev-sidebar-links.c: (selection_changed_cb):
4183 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4184 (ev_view_button_release_event), (ev_view_set_document):
4186 * shell/ev-window.c: (find_bar_search_changed_cb):
4187 * shell/ev-window.h: Minor cleanups removing some dead code.
4189 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4191 * backend/ev-page-cache.c: (_ev_page_cache_new):
4193 Set current page to 0 if document has pages.
4195 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4197 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4199 Initialize GError to NULL, fix a crash when loading fails.
4201 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4203 * shell/ev-window.c: (update_view_size):
4205 Calculate shadow size only when there is actually
4208 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4210 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4213 Allow setting view spacing, default to 0
4215 * shell/ev-window.c: (ev_window_unfullscreen),
4216 (ev_window_cmd_view_fullscreen), (ev_window_init):
4218 Remove spacing in fullscreen mode
4220 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4222 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4223 (ev_view_size_request), (expose_bin_window),
4224 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4226 * shell/ev-window.c: (ev_window_unfullscreen),
4227 (ev_window_cmd_view_fullscreen):
4229 Do not draw the border in fulscreen
4231 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4233 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4234 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4235 (find_page_at_location), (page_changed_cb):
4237 Rework border calculation, so that I can more easily disable it.
4238 Code somewhat cleaner too.
4240 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4242 * backend/ev-page-cache.c: (ev_page_cache_init),
4243 (_ev_page_cache_new):
4245 Remove some assertions, documents can have 0 pages.
4246 Make initial current page -1.
4248 * shell/ev-page-action.c: (page_changed_cb):
4250 Show "" if current page is -1
4252 * shell/ev-window.c: (update_action_sensitivity),
4253 (ev_window_setup_document):
4255 When document has 0 pages do not set the view
4256 and make nearly everything insensitive.
4258 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4260 * shell/ev-page-view.c:
4261 * shell/ev-page-view.h:
4263 Remove unused files.
4265 * shell/ev-sidebar-thumbnails.c:
4266 (ev_sidebar_thumbnails_set_document):
4267 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4268 (ev_sidebar_supports_document):
4269 * shell/ev-sidebar.h:
4270 * shell/ev-window.c: (ev_window_setup_document):
4272 Doesn't show thumbnails if document has 1 page. Make
4273 sidebar menu entries sensitive only if if they have
4274 sense. Fix bug 164811.
4276 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4278 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4279 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4280 (ev_view_zoom_out), (ev_view_set_size):
4282 Rework sizing to deal with documents with not uniform page
4285 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4287 * backend/ev-page-cache.c: (_ev_page_cache_new):
4289 Fix several page size caching bugs
4291 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4293 * shell/ev-window.c: (set_action_properties):
4295 Make all toolbar items translatable
4297 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4299 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4300 (save_page_list), (ps_document_save),
4301 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4302 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4303 (ps_document_ps_exporter_iface_init):
4306 Based on a patch by J�rg Billeter <j@bitron.ch>
4308 Implement print and save a copy for the ps backend.
4310 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4312 * backend/ev-document.h:
4313 * djvu/djvu-document.c: (djvu_document_can_get_text),
4314 (djvu_document_document_iface_init):
4315 * dvi/dvi-document.c: (dvi_document_can_get_text),
4316 (dvi_document_document_iface_init):
4317 * pdf/ev-poppler.cc:
4318 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4319 (pixbuf_document_document_iface_init):
4320 * ps/ps-document.c: (ps_document_can_get_text),
4321 (ps_document_document_iface_init):
4322 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4323 * shell/ev-window.c: (update_action_sensitivity):
4325 Fix the crash when trying to copy in backends that doesnt
4326 support it. We can implement a better solution once we
4327 do real text selection.
4329 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4331 * data/evince-ui.xml:
4332 * shell/ev-window.c: (ev_window_cmd_escape):
4334 Work around the Escape conflict (find bar and unfullscreen)
4336 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4338 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4340 Fix for #300233. Next page correctly handles document end.
4342 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4343 (ev_sidebar_thumbnails_class_init),
4344 (ev_sidebar_thumbnails_set_document),
4345 (ev_sidebar_thumbnails_clear_job),
4346 (ev_sidebar_thumbnails_clear_model):
4348 Cleanup thumbnail jobs on document changes.
4350 * shell/ev-view.c: (add_scroll_binding_keypad),
4351 (add_scroll_binding_shifted), (ev_view_class_init):
4353 Shift + Space scrolls up. Fix for #173184
4355 * shell/ev-window.c: (ev_window_open_page),
4356 (ev_window_cmd_view_reload):
4358 Fix reload (Bug #300094)
4360 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4363 * dvi/mdvi-lib/assoc.c:
4364 * dvi/mdvi-lib/assoc.h: Removed garbage files
4366 * dvi/mdvi-lib/bitmap.c:
4367 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4368 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4369 * dvi/mdvi-lib/color.h: Antialias of rules
4371 * dvi/mdvi-lib/common.h:
4372 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4373 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4374 * dvi/mdvi-lib/files.c:
4375 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4376 * dvi/mdvi-lib/mdvi.h:
4377 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4378 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4379 * dvi/mdvi-lib/util.c: Fix compile warnings
4381 * dvi/dvi-document.c:
4382 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4383 (dvi_document_thumbnails_get_thumbnail),
4384 (dvi_document_document_thumbnails_iface_init):
4385 * dvi/mdvi-lib/Makefile.am:
4386 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4387 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4389 Dvi backend now renders thumbnails
4391 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4393 * shell/main.c: (main):
4395 Save accelerators on exit. Fixes bug #172095.
4397 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4399 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4400 update priority" comment.
4402 * backend/ev-job-queue.c: Give a way to change priority.
4404 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4406 * shell/ev-page-action.c: Fix logic.
4408 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4410 * shell/ev-view.c: (ev_view_can_find_next):
4411 * shell/ev-window.c: (ev_window_setup_document):
4413 Check that the document supports find
4415 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4417 * data/evince-ui.xml:
4418 * shell/ev-view.c: (ev_view_can_find_next):
4420 * shell/ev-window.c: (update_action_sensitivity),
4421 (find_changed_cb), (ev_window_setup_document),
4422 (ev_window_cmd_edit_find_next):
4426 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4428 * pdf/ev-poppler.cc:
4429 * shell/ev-print-job.c: (idle_print_handler):
4431 Make printing work again
4433 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4435 * shell/ev-page-action.h:
4436 * shell/ev-page-action.c: (ev_page_action_widget_init),
4437 (ev_page_action_widget_class_init), (page_changed_cb),
4438 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4439 (get_filter_model_from_model), (match_selected_cb),
4440 (display_completion_text), (match_completion), (update_model),
4441 (connect_proxy), (ev_page_action_set_property),
4442 (ev_page_action_get_property), (ev_page_action_set_document),
4443 (ev_page_action_set_model), (ev_page_action_class_init): Big
4444 reworking to make completions work iff we have >= GTK-2.7.0
4446 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4447 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4448 (job_finished_cb): We now have a 'model' property that is set when
4449 the links are loaded. This can be caught with "notify::model"
4451 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4452 listen for the model to be set, and propagate it to the action.
4454 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4456 * cut-n-paste/recent-files/egg-recent-item.c:
4457 (egg_recent_item_set_uri), (make_valid_utf8),
4458 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4459 * cut-n-paste/recent-files/egg-recent-item.h:
4461 Update egg-recent from libegg. This should fix long
4462 startup problem. For details see
4463 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4465 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4467 * cut-n-paste/recent-files/Makefile.am:
4468 * data/evince-ui.xml, shell/Makefile.am:
4469 * shell/ev-application.c, shell/ev-application.h:
4470 * shell/ev-window.c: Recent files support.
4472 * configure.ac: Added "ru" to ALL_LINGUAS.
4474 * dvju: new backend to support DJVU files.
4475 * dvi: new backend to support DVI.
4477 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4478 * ev-application.c: Support for new backends.
4480 * help, ev-window.c, main.c shell/Makefile.am:
4481 Evince user documentation.
4483 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4486 * shell/ev-window.c:
4487 * thumbnailer/evince-thumbnailer.c:
4489 s/pdf-document/ev-poppler
4491 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4498 * ps/ps-document.c: (setup_pixmap):
4502 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4504 * backend/ev-page-cache.c (ev_page_cache_next_page):
4505 * shell/ev-window.c (ev_window_cmd_go_next_page)
4506 (ev_window_cmd_go_first_page): Fix of by one errors.
4508 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4510 * ps/ps-document.c: (get_page_box):
4512 Fix page size calculation
4514 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4516 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4517 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4518 (get_page_orientation), (setup_page), (document_load),
4519 (ps_document_get_page_size), (render_pixbuf_idle):
4522 More refactoring to adapt to EvDocument changes
4524 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4526 * ps/ps-document.c: (start_interpreter):
4528 Actually add alpha args
4530 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4532 * pdf/ev-poppler.cc:
4534 Make clipboard work again
4536 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4538 Make searching work again.
4540 * backend/ev-document.c:
4541 * backend/ev-document.h:
4542 * backend/ev-document-find.c:
4543 * backend/ev-document-find.h: Change EvDocumentIface so we no
4544 longer store the current page or zoom level in the document. The
4545 consequence is that all calls that operate on the current page now
4546 instead take the page number as an extra argument, and all
4547 coordinates are now doubles in document coordinate system.
4549 * pdf/ev-poppler.cc:
4550 * pixbuf/pixbuf-document.c:
4551 * ps/ps-document.c: Update backends accordingly.
4553 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4557 Add required gettext version
4559 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4561 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4562 make F1 bring up non-existent help.
4564 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4565 epiphany's find bar, #167477
4567 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4568 <emil@nishra.com> to add space-bar scrolling,
4570 * shell/ev-window.c (static GtkActionEntry entries): add default
4571 keybinding for Help (F1)
4574 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4575 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4578 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4581 * pixbuf/pixbuf-document.c:
4583 Got pixbuf backend working again
4585 2005-04-01 Steve Murphy <murf@e-tools.com>
4587 * configure.in: Added "rw" to ALL_LINGUAS.
4589 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4591 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4592 model types, noticed by Martin Kretzschmar.
4594 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4596 * pdf/ev-poppler.cc: Implement search based on
4597 poppler_page_find_text(). Currently a bit crude since we remember
4598 all matches from all pages. Also, we grab the big document lock
4599 when we search since searching changes the underlying stream and
4600 thus conflicts with the rendering thread.
4602 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4603 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4604 (ev_view_find_previous): Fix some page indexes to be 0 based,
4605 offset rubber band by view offset,
4607 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4609 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4611 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4613 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4614 completely because I didn't understand GtkActions. I should
4615 read Marco's code more carefully in the future.
4617 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4620 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4622 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4623 PopplerRectangle change from poppler CVS.
4625 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4627 * backend/ev-document.c: (ev_document_get_page_label):
4628 * backend/ev-document.h:
4629 * backend/ev-page-cache.c: (_ev_page_cache_new),
4630 (ev_page_cache_get_page_label):
4631 * backend/ev-page-cache.h:
4632 * pdf/ev-poppler.cc:
4633 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4634 (links_page_num_func):
4635 * shell/ev-sidebar-thumbnails.c:
4636 (ev_sidebar_thumbnails_set_document):
4637 * shell/ev-view.c: (status_message_from_link),
4638 (ev_view_motion_notify_event):
4639 * shell/ev-window.c: (document_supports_sidebar): Add in page
4640 label support. It's not perfect yet, but it's the first 'feature'
4642 Also, fix a bogus comment noticed by crispin.
4644 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4646 * Makefile.am: Remove pixbuf backend for now
4648 * configure.ac: Require poppler-glib instead of just poppler.
4650 * backend/ev-document-thumbnails.h: Add a comment
4652 * backend/ev-document.h:
4653 * backend/ev-document.c: (ev_document_class_init),
4654 (ev_document_load), (ev_document_get_link),
4655 (ev_document_get_links): Remove 3 methods and add get_links.
4658 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4659 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4661 * backend/ev-link.c: (ev_link_set_title),
4662 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4663 (ev_link_mapping_find):
4664 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4666 * backend/ev-page-cache.c: (ev_page_cache_init),
4667 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4668 (ev_page_cache_get_size), (ev_page_cache_next_page),
4669 (ev_page_cache_prev_page): Fix to be 0 based.
4673 * pdf/ev-poppler.cc: New backend.
4675 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4676 (ps_document_get_page), (ps_document_document_iface_init):
4678 * shell/ev-pixbuf-cache.h:
4679 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4680 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4681 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4682 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4683 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4684 Fix up code to grab a page cache per each doc. Also, fix to be 0
4687 * shell/ev-sidebar-thumbnails.c:
4688 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4689 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4691 * shell/ev-view.c: (status_message_from_link),
4692 (find_page_at_location), (get_link_at_location),
4693 (ev_view_motion_notify_event), (ev_view_button_release_event),
4694 (ev_view_init): Use the new link code. Fix to be 0 based.
4696 * shell/ev-window.c: (update_action_sensitivity),
4697 (document_supports_sidebar): 0 based.
4699 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4701 * pdf/pdf-document.cc: Patch from Fernando Herrera
4702 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4705 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4707 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4708 1 to the page, as this seems to be 1 based. I thought we has this
4711 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4714 * backend/Makefile.am:
4715 * backend/ev-document-links.c:
4716 (ev_document_links_has_document_links),
4717 (ev_document_links_get_links_model):
4718 * backend/ev-document-links.h:
4719 * backend/ev-document.c: (ev_document_get_page_cache),
4720 (ev_document_get_doc_mutex), (ev_document_load),
4721 (ev_document_save), (ev_document_get_title),
4722 (ev_document_get_n_pages), (ev_document_set_page),
4723 (ev_document_get_page), (ev_document_set_target),
4724 (ev_document_set_scale), (ev_document_set_page_offset),
4725 (ev_document_get_page_size), (ev_document_get_text),
4726 (ev_document_get_link), (ev_document_render),
4727 (ev_document_render_pixbuf), (ev_document_scale_changed):
4728 * backend/ev-document.h:
4729 * backend/ev-job-queue.c: (remove_object_from_queue),
4730 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4731 (no_jobs_available_unlocked), (ev_render_thread),
4732 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4733 (ev_job_queue_remove_job):
4734 * backend/ev-job-queue.h:
4735 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4736 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4737 (ev_job_links_class_init), (ev_job_render_init),
4738 (ev_job_render_dispose), (ev_job_render_class_init),
4739 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4740 (ev_job_thumbnail_class_init), (ev_job_finished),
4741 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4742 (ev_job_render_run), (ev_job_thumbnail_new),
4743 (ev_job_thumbnail_run):
4744 * backend/ev-jobs.h:
4745 * backend/ev-link.c:
4746 * backend/ev-link.h:
4747 * backend/ev-page-cache.c: (ev_page_cache_init),
4748 (ev_page_cache_class_init), (ev_page_cache_finalize),
4749 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4750 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4751 (ev_page_cache_set_link), (ev_page_cache_get_title),
4752 (ev_page_cache_get_size), (ev_page_cache_next_page),
4753 (ev_page_cache_prev_page):
4754 * backend/ev-page-cache.h:
4755 * pdf/pdf-document.cc:
4758 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4759 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4760 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4761 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4762 (is_interpreter_ready), (output), (catchPipe), (input),
4763 (start_interpreter), (check_filecompressed), (compute_dimensions),
4764 (ps_document_enable_interpreter), (document_load),
4765 (ps_document_next_page), (render_page), (ps_document_set_page),
4766 (ps_document_set_scale), (render_pixbuf_idle),
4767 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4769 * shell/Makefile.am:
4770 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4771 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4772 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4773 (ev_pixbuf_cache_new), (job_finished_cb),
4774 (check_job_size_and_unref), (move_one_job),
4775 (ev_pixbuf_cache_update_range), (find_job_cache),
4776 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4777 (ev_pixbuf_cache_add_jobs_if_needed),
4778 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4779 * shell/ev-pixbuf-cache.h:
4780 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4781 (idle_print_handler):
4782 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4783 (selection_changed_cb), (create_loading_model),
4784 (ev_sidebar_links_construct), (links_page_num_func),
4785 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4786 (update_page_callback), (job_finished_cb),
4787 (ev_sidebar_links_set_document):
4788 * shell/ev-sidebar-thumbnails.c:
4789 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4790 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4791 (page_changed_cb), (thumbnail_job_completed_callback),
4792 (ev_sidebar_thumbnails_set_document):
4793 * shell/ev-sidebar-thumbnails.h:
4794 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4795 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4796 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4797 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4798 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4799 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4800 (ev_view_button_release_event), (ev_view_scroll_view),
4801 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4802 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4803 (ev_view_new), (job_finished_cb), (page_changed_cb),
4804 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4805 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4806 (ev_view_find_previous):
4808 * shell/ev-window.c: (update_action_sensitivity),
4809 (ev_window_open_page), (update_window_title), (update_total_pages),
4810 (page_changed_cb), (ev_window_setup_document),
4811 (password_dialog_response), (ev_window_cmd_save_as),
4812 (ev_window_print), (ev_window_cmd_go_previous_page),
4813 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4814 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4815 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4816 * shell/main.c: (main):
4818 Merge evince-threads branch
4820 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4822 * configure.ac: Added "lt" to ALL_LINGUAS.
4824 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4831 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4833 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4835 Fix here also the thumbnails 1-basedness :)
4837 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4844 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4846 * pdf/pdf-document.cc:
4847 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4848 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4850 Fix the mess we did with thumbnails and 1-basedness
4852 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4854 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4856 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4863 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4866 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4867 (gtk_gs_defaults_get_alpha_parameters),
4868 (gtk_gs_defaults_get_ungzip_cmd),
4869 (gtk_gs_defaults_get_unbzip2_cmd):
4871 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4872 (ps_document_get_orientation), (document_load),
4873 (ps_document_goto_page), (ps_document_set_page_size):
4876 Some more sanitization of the ps backend. Remove a lot
4877 of unused code and do not base our defaults on ggv
4880 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4882 * thumbnailer/evince-thumbnailer.schemas:
4883 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4884 (main): add -s option for thumbnail size.
4886 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4890 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4893 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4895 * pdf/pdf-document.cc:
4897 Remove 4 pixels of useless border from the
4900 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4902 * backend/ev-document-thumbnails.c:
4903 (ev_document_thumbnails_get_thumbnail):
4904 * backend/ev-document-thumbnails.h:
4906 Rework API a bit. Add a border flag and
4907 change sizing logic (now the size we specify
4908 applies to the bigger dimension).
4910 * pdf/pdf-document.cc:
4911 * pixbuf/pixbuf-document.c:
4912 (pixbuf_document_thumbnails_get_thumbnail):
4913 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4914 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4916 Adapt to the new API and do not draw a border for nautilus
4919 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4921 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4922 take thumbnails from page "0" instead of "1". Added a copyright header.
4924 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4926 * ps/ps-document.c: (set_up_page), (start_interpreter):
4928 Make it C89 compliant
4930 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4935 * pdf/pdf-document.cc:
4936 * thumbnailer/Makefile.am:
4937 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4939 * thumbnailer/evince-thumbnailer.schemas:
4940 * thumbnailer/pdf-icon.png:
4942 Add a nautilus thumbnailer.
4943 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4945 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4953 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4955 Use poppler instead of including xpdf source code. Poppler is a
4956 fork of xpdf to build it as a shared library. See
4957 http://freedesktop.org/wiki/Software/poppler.
4959 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4962 * pdf/Makefile.am: Build libpdfdocument.a here.
4964 * pdf/GDKSplashOutputDev.cc:
4965 * pdf/GDKSplashOutputDev.h:
4966 * pdf/GnomeVFSStream.cc:
4967 * pdf/GnomeVFSStream.h:
4970 * test-gdk-output-dev.cc
4972 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4975 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4977 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4979 Clear idle stack before unsetting the document
4981 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4983 * ps/ps-document.c: (ps_document_widget_event),
4984 (ps_document_set_target), (ps_document_finalize),
4985 (ps_document_get_page):
4987 Disconnect the widget event signal on finalize.
4990 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4992 * ps/ps-document.c: (set_up_page):
4994 If there is no bpixmap create one, even if size
4997 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4999 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5000 (set_up_page), (document_load), (ps_document_set_zoom):
5002 Default page is 0. Calculate size even when we have no
5005 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5007 * shell/ev-sidebar.c: expand the selection widget to be always as
5010 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5012 * shell/ev-sidebar-thumbnails.c:
5013 (ev_sidebar_thumbnails_set_document):
5015 Clear the list store when setting document
5017 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5019 * shell/ev-page-action.c: (update_entry), (sync_entry),
5020 (activate_cb), (entry_size_request_cb), (create_tool_item),
5023 Use an entry for the page control instead of spinbuttons
5025 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5027 * data/evince.schemas.in:
5029 Correct confusing string
5031 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5033 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5034 for real. Gosh, how long has this been broken.
5036 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5037 check for a NULL link. We crash otherwise.
5039 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5046 2005-02-25 Sebastien Bacher <seb128@debian.org>
5048 * configure.ac: add the french translation.
5050 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5052 * shell/ev-window.c:
5054 Remove unused header -> fix distcheck
5056 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5058 * shell/ev-window.c: (update_window_title),
5059 (ev_window_popup_password_dialog):
5061 Unescape filename for display
5063 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5065 * pdf/xpdf/pdf-document.cc:
5067 In get_page_size deal with rotation. Also
5068 cleanup the function a bit.
5070 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5072 * pdf/xpdf/pdf-document.cc:
5074 Fix crash when opening in new window
5076 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5080 Check ghostscript >= 7
5082 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5084 * shell/ev-window.c:
5086 Make page width the default sizing mode
5088 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5089 Marco Pesenti Gritti <marco@gnome.org>
5091 * shell/ev-window.c: Remember the sidebar size
5093 * data/evince.schemas.in: Add a new gconf key to store the size of
5096 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5098 * data/evince-ui.xml:
5099 * shell/ev-window.c: (update_action_sensitivity),
5100 (ev_window_cmd_view_reload):
5102 Add a "Reload" action and menu entry
5104 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5106 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5107 iff the type doesn't support thumbnailing and indexing.
5109 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5111 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5113 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5115 * pdf/splash/Splash.cc:
5117 Port fix for a crasher from kde bug
5118 http://bugs.kde.org/show_bug.cgi?id=97131
5120 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5122 * pdf/xpdf/pdf-document.cc:
5124 Return a link even if it's of an unrecognized
5125 type. Otherwise we go in an infinte cycle.
5127 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5129 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5130 (size_allocate_cb), (ev_window_set_sizing_mode):
5132 Update size when switching mode
5134 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5136 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5137 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5138 (ev_window_cmd_view_normal_size):
5140 Fix size toggle buttons behavior
5142 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5144 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5145 (doc_rect_to_view_rect), (ev_view_size_allocate),
5146 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5147 (scale_changed_callback):
5149 Do not cache offsets in size_allocate.
5151 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5153 * shell/ev-view.c: (ev_view_size_allocate):
5155 Calculate offsets before calling the parent
5156 class (which does a redraw)
5158 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5160 * pdf/xpdf/pdf-document.cc:
5162 Fix a crasher on exit. Unused code, put a TODO
5164 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5166 * backend/ev-document.c: (ev_document_class_init),
5167 (ev_document_page_changed), (ev_document_scale_changed):
5168 * backend/ev-document.h:
5170 Separate page/scale notifications
5172 * pdf/xpdf/pdf-document.cc:
5174 Emit the new signals.
5175 Do not display the pdf page in _render, do it
5176 when scale/page are requested.
5178 * ps/ps-document.c: (ps_document_set_zoom),
5179 (ps_document_widget_event):
5182 Emit the new signals.
5184 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5185 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5186 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5187 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5189 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5190 (ev_window_cmd_view_page_width), (size_allocate_cb),
5191 (ev_window_set_sizing_mode):
5193 Rework sizing to be pixel based.
5194 There are bugs but should be already way better.
5196 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5198 * shell/ev-window.c: (ev_window_init):
5200 Do not allow to shrink sidebar smaller then
5203 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5205 * shell/ev-sidebar.[ch]
5206 * shell/ev-window.c:
5208 Improved sidebar widget. Fixes #166683
5210 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5212 * shell/ev-view.c (update_find_status_message): Give translators
5213 more flexibility with ngettext plural handling.
5215 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5217 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5218 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5219 page when we get the page size.
5221 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5223 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5225 ps pages are 0 based, convert
5227 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5229 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5231 Initialize correct parent class. Set GError on document load
5233 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5235 * pdf/xpdf/pdf-document.cc:
5237 Fixup selection offset calculation
5239 * shell/ev-view.c: (view_rect_to_doc_rect),
5240 (doc_rect_to_view_rect), (ev_view_size_allocate),
5241 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5242 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5244 Store selection as document relative, so that zooming
5245 and offset changing doesnt break it.
5247 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5249 * shell/ev-view.c: (ev_view_best_fit):
5251 Do not try to best fit if the view is not realized
5253 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5255 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5257 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5259 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5261 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5263 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5264 the popup window. That prevents it resizing when in full screen
5267 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5268 multiple rerenders. This pretty much sucks.
5270 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5271 rest of the toolbar.
5273 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5275 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5277 2005-02-17 Alexander Shopov <ash@contact.bg>
5279 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5281 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5283 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5285 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5287 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5288 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5289 (set_document_page), (document_changed_callback),
5290 (ev_view_set_document), (ev_view_find_previous),
5291 (ev_view_hide_cursor), (ev_view_show_cursor):
5293 * shell/ev-window.c: (update_chrome_visibility),
5294 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5295 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5296 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5297 (ev_window_unfullscreen):
5298 * shell/main.c: (main):
5300 Automatically hide the fullscreen button.
5301 Patch by Kristian Høgsberg <krh@redhat.com>
5303 2005-02-16 Vincent Noel <vnoel@cox.net>
5305 * shell/main.c (main): Specify an icon for the window. Patch by
5306 Jaap A. Haitsma. Fixes #166177.
5308 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5310 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5312 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5314 * backend/ev-document-misc.h:
5315 * backend/ev-document-misc.c:
5316 (ev_document_misc_get_page_border_size),
5317 (ev_document_misc_paint_one_page): New function to canonicalize
5318 sizing/painting a border.
5320 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5323 * pdf/xpdf/pdf-document.cc: use new function
5325 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5326 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5327 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5328 shell/ev-window.c: (update_sizing_buttons),
5329 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5330 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5331 (ev_window_cmd_view_page_width), (size_allocate_cb),
5332 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5333 and "fit width" values act as toggle buttons so they stay
5334 toggled. It's not 100% perfect, and it's a little slow, but it's
5335 good enough to commit I think.
5337 2005-02-15 David Lodge <dave@cirt.net>
5339 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5341 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5343 * shell/ev-window.c (update_window_title): replace newlines in
5344 the title by spaces. Bug #166107.
5346 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5348 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5349 parameters providing allocation width and height without
5350 scrollbars and width of a possible vertical scrollbar. With this
5351 additional information the functions can work as
5352 intended. Unfortunately they're not idempotent. We should
5353 transform these commands to toggles. Fixes Bug #164976
5354 Initial patch by Stephane Loeuillet, then heavily modified.
5356 * shell/ev-view.h: update prototypes.
5358 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5359 (ev_window_cmd_view_page_width): provide EvView fit functions with
5360 all the information they need. Formulas to calculate this
5361 information taken from GtkScrolledWindow.
5363 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5365 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5366 created a thumbnail, the list store is updated to know
5367 that the thumbnail is set. Fixes bug #166792
5369 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5371 * shell/ev-window.c: fixed typo, closes bug 166897
5373 * TODO: updated TODO with bug numbers that are relevant
5375 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5377 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5379 2005-02-09 Vincent Noel <vnoel@cox.net>
5381 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5382 and "Next" toolbar buttons as important to make them stand out.
5384 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5388 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5389 (start_interpreter), (stop_interpreter), (document_load),
5390 (ps_document_next_page), (ps_document_goto_page),
5391 (ps_document_set_page_size), (ps_document_widget_event),
5392 (ps_document_render):
5393 * shell/ev-page-view.c: (ev_page_view_dispose):
5394 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5396 Fix compilation on non-gcc platforms
5398 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5405 * pdf/xpdf/Catalog.cc:
5408 Fix the fix for CAN-2004-0888
5410 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5413 * data/evince-ui.xml:
5414 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5415 * shell/ev-stock-icons.h:
5416 * shell/ev-window.c: (update_action_sensitivity),
5417 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5418 (set_action_properties):
5420 Improve toolbar layout/icons
5422 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5424 * pdf/xpdf/pdf-document.cc:
5426 Add warnings about unimplemented/unknown link
5429 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5431 * ps/ps-document.c: (set_up_page):
5435 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5437 * ps/ps-document.c: (start_interpreter):
5441 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5443 * shell/ev-page-view.c: (ev_page_view_dispose):
5444 * shell/ev-view.c: (ev_view_finalize):
5445 * shell/ev-window.c: (ev_window_setup_document),
5446 (ev_window_dispose), (ev_window_init):
5448 Solve more refs issues.
5450 I commented out the page_view initialization for now:
5451 it was never destroyed (because it's never added
5452 to a container). Because of that we was leaking
5453 gs processes. Couldnt think to a clean fix.
5454 We need to figure this out, password view has the
5455 same issue probably.
5457 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5459 * ps/ps-document.c: (ps_document_finalize),
5460 (ps_document_get_n_pages), (ps_document_get_page):
5462 Some cleanups, stop the interpreter on finalize
5464 * shell/ev-page-view.c: (ev_page_view_dispose),
5465 (ev_page_view_class_init):
5467 Release our reference on the document
5469 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5473 * doc/debugging.txt:
5476 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5477 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5478 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5481 Add debugging helpers
5484 * ps/ps-document.c: (set_up_page), (start_interpreter),
5485 (stop_interpreter), (document_load), (ps_document_next_page),
5486 (ps_document_goto_page), (ps_document_set_page_size),
5487 (ps_document_widget_event), (ps_document_render):
5488 * shell/Makefile.am:
5489 * shell/ev-view.c: (expose_bin_window):
5490 * shell/main.c: (main):
5494 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5496 * ps/ps-document.c: (ps_document_widget_event):
5498 Initialize message_window, this should make ps
5499 rendering really work! (Never noticed because I was
5500 testing with a ps that is causing gs to exit every time!)
5502 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5504 * data/evince.schemas.in: updated simple error in applyto closing tag
5506 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5512 * data/evince-ui.xml:
5513 A data/evince.schemas.in:
5515 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5516 * shell/ev-stock-icons.h:
5517 * shell/ev-window.c: (update_chrome_visibility),
5518 (update_chrome_flag), (ev_window_cmd_edit_find),
5519 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5520 (ev_window_unfullscreen), (ev_window_focus_in_event),
5521 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5522 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5523 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5524 (ev_window_dispose), (ev_window_class_init),
5525 (set_action_properties), (set_chrome_actions), (load_chrome),
5528 Implement fullscreen mode changes from bug #164776.
5529 Also implement persistent chrome toggles.
5531 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5533 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5535 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5541 Add another check for find interface
5545 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5547 * shell/ev-application.c: (ev_application_open):
5548 * shell/ev-window.c: (ev_window_open):
5550 Open gzipped ps documents
5552 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5555 * shell/ev-view.c: (set_document_page):
5557 Clamp page number, dont try to move to
5560 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5562 * backend/ev-document-find.c: (ev_document_find_changed):
5563 * backend/ev-document-find.h:
5564 * pdf/xpdf/pdf-document.cc:
5565 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5566 * shell/ev-window.c: (find_bar_search_changed_cb):
5568 Fix several bugs with find
5570 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5572 * shell/ev-sidebar-thumbnails.c
5573 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5574 document. Prevents warning from scroll_to_cell.
5576 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5578 * configure.ac: Add «nb» to ALL_LINGUAS too.
5580 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5582 * NOTES: New file with some random thoughts.
5586 * backend/ev-document-misc.c:
5587 (ev_document_misc_get_page_border_size): New function to
5588 canonicalize shadow drawing sizes. Possibly goofy.
5590 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5591 (ev_view_best_fit), (ev_view_fit_width):
5592 * pdf/xpdf/pdf-document.cc:
5593 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5594 * ps/ps-document.c: (ps_document_get_page_size):
5595 * backend/ev-document-misc.h:
5596 * backend/ev-document.c: (ev_document_get_page_size):
5597 * backend/ev-document.h: get_page_size now takes a page number
5598 parameter. Made all the backends/frontends honor it.
5600 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5601 see. Doesn't work yet.
5603 * shell/Makefile.am:
5604 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5605 Doesn't do anything yet.
5607 * shell/ev-sidebar-thumbnails.c:
5608 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5611 * shell/ev-window.c: (update_action_sensitivity),
5612 (ev_window_setup_document), (ev_window_set_page_mode),
5613 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5614 view-swapping code a bit so we can have multiple views on a
5615 document. Add the multi-page view, though it can't be turned on
5618 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5620 * shell/ev-application.c: (ev_application_open):
5621 * shell/ev-view.c: (expose_bin_window):
5622 * shell/ev-window.c: (ev_window_open):
5624 Support eps and check document supports find
5625 before drawing highlightings in expose.
5627 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5629 * pixbuf/pixbuf-document.c:
5630 (pixbuf_document_thumbnails_get_dimensions),
5631 (pixbuf_document_document_thumbnails_iface_init):
5633 implement get_dimensions
5635 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5642 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5644 * shell/ev-view.c: (set_document_page):
5646 Scroll at the top of the page when changing page
5648 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5650 * shell/ev-view.c: (ev_view_motion_notify_event):
5652 Do not redraw unnecessarily
5654 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5656 * pdf/xpdf/pdf-document.cc:
5657 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5658 (expose_bin_window), (find_changed_cb):
5660 Yay! find works now... Now to find bugs...
5662 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5664 * backend/ev-document-find.c: (ev_document_find_base_init),
5665 (ev_document_find_changed):
5666 * backend/ev-document-find.h:
5667 * pdf/xpdf/pdf-document.cc:
5668 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5669 (expose_bin_window), (ev_view_init), (set_document_page),
5670 (ensure_rectangle_is_visible), (jump_to_find_result),
5671 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5672 (ev_view_find_next), (ev_view_find_previous):
5674 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5676 More work on find implementation, mostly there now
5678 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5680 * backend/ev-backend-marshalers.list:
5681 * backend/ev-document-find.c: (ev_document_find_base_init),
5682 (ev_document_find_cancel), (ev_document_find_page_has_results),
5683 (ev_document_find_get_n_results), (ev_document_find_get_result),
5684 (ev_document_find_get_progress), (ev_document_find_changed):
5685 * backend/ev-document-find.h:
5687 Enanche the find interface to be really able to do
5690 * pdf/xpdf/pdf-document.cc:
5694 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5695 (expose_bin_window), (ev_view_init),
5696 (ev_view_get_find_status_message), (find_changed_cb),
5697 (ev_view_set_document), (set_document_page):
5699 Adapt to the new interface. A few things are regressed sorry,
5700 I will finish it soon.
5702 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5704 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5705 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5706 ev_sidebar_thumbnails_parent_class variable, don't define another
5707 parent_class variable.
5709 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5710 (ev_page_action_class_init): ditto.
5712 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5713 (pixbuf_document_class_init): ditto.
5715 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5718 * .cvsignore: ignore various valgrind output files.
5720 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5722 * data/evince-ui.xml:
5723 * shell/Makefile.am:
5724 * shell/ev-history.c:
5725 * shell/ev-history.h:
5726 * shell/ev-navigation-action.c:
5727 * shell/ev-navigation-action.h:
5728 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5729 (ev_view_set_page), (ev_view_fit_width):
5731 * shell/ev-window.c: (update_action_sensitivity),
5732 (ev_window_setup_document), (register_custom_actions):
5734 Kill session history
5736 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5738 * shell/ev-window.c: (update_action_sensitivity):
5740 Fix inverted up/down buttons
5742 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5744 * shell/ev-sidebar-thumbnails.c
5745 (ev_sidebar_thumbnails_select_page): make sure the selected
5746 thumbnail stays visible.
5748 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5750 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5751 scrolled window for Federico.
5753 2005-01-26 Ole Laursen <olau@hardworking.dk>
5755 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5757 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5760 * pdf/splash/SplashFTFontEngine.cc:
5762 Fix CID fonts with freetype 2.1.9
5764 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5766 * TODO: added item for desktop icon thumbnailer
5768 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5770 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5771 unloaded docs when the title is accessed.
5773 * shell/ev-password-view.[hc]: New widget for displaying password
5776 * shell/ev-window.[ch]: Refactor password handling code to handle
5779 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5787 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5789 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5790 ignore page offset here, to make search results independent of it,
5792 * shell/ev-view.c (expose_bin_window): but take offsets into
5793 account here. Bug #164932
5795 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5796 scale at the right time. Bug #164996
5798 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5800 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5801 fix the problem. Now I just removed the Adobe font names and hope
5802 that the URW fonts are always in outline format. Bug #164934
5804 * shell/ev-window.c (update_window_title): empty titles are
5805 useless, use filename in that case too.
5807 * NEWS: Add some content.
5809 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5811 * TODO: added one more TODO item and a TODONE section :)
5813 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5815 * ps/ps-document.h: add page_[xy]_offset fields.
5817 * ps/ps-document.c (ps_document_set_page_offset)
5818 (ps_document_render): Keep offset in consideration in a few
5819 places. Bug #164752 "postscript documents are not centered in
5822 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5823 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5825 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5826 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5827 stub out missing methods for complete EvDocument implementation.
5828 Fixes segfaults with Save A Copy and Copy actions.
5830 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5831 (ps_document_document_iface_init): ditto.
5833 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5837 * data/evince.desktop.in:
5841 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5843 * shell/ev-view.c: (ev_view_button_press_event),
5844 (ev_view_motion_notify_event):
5846 Make selection work in any direction
5848 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5851 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5853 Use shorter labels for some of the toolbars items
5855 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5857 * pdf/xpdf/pdf-document.cc:
5859 Check the links info is initialized before
5860 using it. Should fix a crash on startup.
5862 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5864 * pixbuf/pixbuf-document.c
5865 (pixbuf_document_thumbnails_get_dimensions): force floating point
5866 division to calculate page_ratio. Fixes crash with landscape
5869 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5871 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5873 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5875 * shell/ev-view.c (set_document_page): unset has_selection when
5877 (set_document_page): handle paper size changes when the page
5878 changes (test with Free Culture, page 2).
5880 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5882 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5883 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5885 Use normal style color for the widget background and
5886 draw a black box around the page.
5888 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5890 * pdf/xpdf/pdf-document.cc:
5892 Keep offset in consideration in a few places
5894 * shell/ev-view.c: (expose_bin_window):
5896 Set the offsets so that the document is ever centered
5898 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5900 * TODO: Added TODO items and finished off the first todo item
5902 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5903 reflect current authors
5905 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5907 * pdf/xpdf/pdf-document.cc:
5908 * shell/ev-view.c: (ev_view_set_cursor),
5909 (ev_view_motion_notify_event), (document_changed_callback),
5910 (set_document_page):
5912 Show a wait cursor while the page is rendering
5914 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5916 * shell/ev-sidebar-thumbnails.c:
5917 (ev_sidebar_tree_selection_changed),
5918 (ev_sidebar_thumbnails_select_page):
5919 * shell/ev-sidebar-thumbnails.h:
5920 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5921 (ev_view_can_go_forward):
5922 * shell/ev-window.c: (ev_window_open_page),
5923 (ev_window_setup_document), (update_current_page),
5924 (view_page_changed_cb), (ev_window_init):
5925 * shell/ev-window.h:
5927 Ensure thumbnails selection, toolbar page control and
5928 current page are in sync.
5930 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5936 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5938 * backend/Makefile.am:
5939 * backend/ev-document-links.h:
5940 * backend/ev-document-security.c: (ev_document_security_get_type),
5941 (ev_document_security_has_document_security),
5942 (ev_document_security_set_password):
5943 * backend/ev-document-security.h:
5944 * backend/ev-document.c: (ev_document_error_quark):
5945 * backend/ev-document.h:
5947 * data/evince-password.glade:
5948 * pdf/xpdf/pdf-document.cc:
5949 * shell/Makefile.am:
5950 * shell/ev-password.c: (ev_password_set_bad_password_label),
5951 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5952 (ev_password_dialog_get_password),
5953 (ev_password_dialog_set_bad_pass):
5954 * shell/ev-password.h:
5955 * shell/ev-window.c: (ev_window_get_attribute),
5956 (ev_window_set_property), (update_action_sensitivity),
5957 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5958 (ev_window_setup_document), (ev_window_get_password),
5959 (ev_window_open), (ev_window_cmd_save_as),
5960 (using_postscript_printer), (ev_window_print),
5961 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5962 (update_fullscreen_popup), (ev_window_fullscreen),
5963 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5964 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5965 (menu_item_select_cb), (find_bar_search_changed_cb),
5966 (ev_window_dispose), (ev_window_init):
5968 Add initial support for password-supported dialogs. This could be
5969 a lot cooler, but it'll do for now.
5971 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5973 * pdf/xpdf/pdf-document.cc:
5974 * shell/ev-view.c: (status_message_from_link),
5975 (ev_view_set_status), (ev_view_set_cursor),
5976 (ev_view_motion_notify_event), (ev_view_init):
5977 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5979 Fix bugs in the links implementation and change cursor
5980 when hovering a link.
5982 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5984 * viewer/.cvsignore: added cvsignore file for viewer directory
5986 * TODO: created TODO document
5988 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5991 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5992 new functions to help with implementation of sensitivity code
5993 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5994 of all actions that might require it. Fixes a crash when you
5995 click on the Zoom actions in a window lacking a document.
5997 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5999 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6002 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6004 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6005 (pixbuf_document_document_iface_init):
6006 * ps/ps-document.c: (ps_document_get_link),
6007 (ps_document_document_iface_init):
6008 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6009 (status_message_from_link), (ev_view_set_status),
6010 (ev_view_set_find_status), (ev_view_motion_notify_event),
6011 (ev_view_button_release_event), (ev_view_set_property),
6012 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6013 (ev_view_get_find_status_message), (update_find_results),
6014 (ev_view_get_status), (ev_view_get_find_status):
6016 * shell/ev-window.c: (view_status_changed_cb),
6017 (view_find_status_changed_cb), (ev_window_init):
6019 View status message support, use it to show the links.
6022 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6024 * backend/ev-document.c: (ev_document_get_link):
6025 * backend/ev-document.h:
6026 * pdf/xpdf/pdf-document.cc:
6027 * shell/ev-application.c: (ev_application_open):
6028 * shell/ev-application.h:
6029 * shell/ev-sidebar-links.c: (selection_changed_cb):
6030 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6031 (ev_view_go_to_link):
6033 Add support for document links
6035 2005-01-13 Anders Carlsson <andersca@gnome.org>
6037 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6039 Set the spin button limits correctly.
6041 * shell/ev-sidebar-thumbnails.c:
6042 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6043 Support changing pages by clicking on the thumbnails.
6045 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6047 * pixbuf/pixbuf-document.c:
6048 (pixbuf_document_thumbnails_get_dimensions),
6049 (pixbuf_document_document_thumbnails_iface_init):
6051 implement get_dimensions
6053 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6055 * ps/ps-document.c: (ps_document_goto_page):
6057 Fix page switching on multipage documents
6059 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6061 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6063 check for NULL before assigning to width and height parameters
6065 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6067 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6068 (pixbuf_document_set_property), (pixbuf_document_get_property):
6070 implement get/set properties
6072 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6074 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6076 return NULL instead of "Unknown", letting the title get set to
6077 the filename when the pdf has no title.
6079 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6081 * ps/ps-document.c: (ps_document_get_page_count),
6082 (ps_document_goto_page):
6084 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6086 * shell/ev-history.c: (ev_history_get_property),
6087 (ev_history_set_property), (ev_history_class_init),
6088 (ev_history_add_page), (ev_history_set_current_index):
6089 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6090 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6091 (ev_navigation_action_finalize):
6092 * shell/ev-navigation-action.h:
6093 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6094 (ev_view_go_forward), (ev_view_get_find_status_message),
6095 (history_index_changed_cb), (ev_view_set_history):
6097 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6098 (update_current_page), (register_custom_actions):
6100 Implement history dropdowns
6102 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6104 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6105 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6106 (ev_view_go_forward):
6107 * shell/ev-window.c: (register_custom_actions):
6109 Fix several history bugs
6111 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6113 * configure.ac: Add «nb» to ALL_LINGUAS.
6115 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6117 * backend/Makefile.am:
6118 * backend/ev-bookmark.c:
6119 * backend/ev-bookmark.h:
6120 * backend/ev-document-bookmarks.c:
6121 * backend/ev-document-bookmarks.h:
6122 * backend/ev-document-links.c: (ev_document_links_get_type),
6123 (ev_document_links_has_document_links),
6124 (ev_document_links_begin_read), (ev_document_links_get_link),
6125 (ev_document_links_get_child), (ev_document_links_next),
6126 (ev_document_links_free_iter):
6127 * backend/ev-document-links.h:
6128 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6129 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6130 (ev_link_get_link_type), (ev_link_set_link_type),
6131 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6132 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6133 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6134 (ev_link_new_external):
6135 * backend/ev-link.h:
6136 * pdf/xpdf/pdf-document.cc:
6137 * shell/Makefile.am:
6138 * shell/ev-application.c: (ev_application_open_link):
6139 * shell/ev-application.h:
6140 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6141 (ev_history_get_link_nth):
6142 * shell/ev-history.h:
6143 * shell/ev-sidebar-bookmarks.c:
6144 * shell/ev-sidebar-bookmarks.h:
6145 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6146 (ev_sidebar_links_class_init), (selection_changed_cb),
6147 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6148 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6149 (do_one_iteration), (populate_links_idle),
6150 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6151 * shell/ev-sidebar-links.h:
6152 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6153 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6156 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6157 * shell/ev-window.h:
6159 Rename bookmark to link, and use "Index" for the sidebar panel.
6161 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6163 * shell/Makefile.am:
6164 * shell/ev-application.c: (ev_application_open_bookmark):
6165 * shell/ev-application.h:
6166 * shell/ev-history.c: (ev_history_init), (free_links_list),
6167 (ev_history_finalize), (ev_history_class_init),
6168 (ev_history_add_link), (ev_history_add_page),
6169 (ev_history_get_link_nth), (ev_history_get_n_links),
6170 (ev_history_get_current_index), (ev_history_set_current_index),
6172 * shell/ev-history.h:
6173 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6174 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6175 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6176 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6179 * shell/ev-window.c: (ev_window_open_bookmark),
6180 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6181 (goto_page_cb), (register_custom_actions):
6182 * shell/ev-window.h:
6184 Initial history implementation. Needs work.
6186 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6188 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6190 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6192 * cut-n-paste/recent-files/egg-recent-item.c:
6193 * cut-n-paste/recent-files/egg-recent-item.h:
6194 * cut-n-paste/recent-files/egg-recent-model.c:
6195 * cut-n-paste/recent-files/egg-recent-util.c:
6196 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6197 * cut-n-paste/recent-files/egg-recent-view.c:
6201 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6203 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6204 (fillGlyph, fillImageMask, drawImage):
6205 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6206 pdf/splash/SplashTypes.h:
6207 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6208 packed mode for Splash.
6210 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6211 RGB8 packed mode, eliminates the pixbuf data creation loop.
6213 * shell/ev-print-job.c (ev_print_job_finalize)
6214 (ev_print_job_set_property, ev_print_job_get_property)
6215 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6216 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6217 (print_closure_finalize, ev_print_job_print): implement
6218 printing (for backends with EvPsExporter)
6220 * shell/ev_print_job.h: update prototypes.
6222 * shell/ev-window.c (ev_window_print): unref print job after
6225 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6226 unless the document implements the EvDocumentFind interface.
6228 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6230 * configure.ac: Added ja to ALL_LINGUAS.
6232 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6234 * pdf/xpdf/pdf-document.cc:
6236 add a FIXME. We should probably not allocate
6237 a bookmark object every time
6239 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6241 * shell/ev-application.c: (ev_application_open),
6242 (ev_application_open_bookmark):
6243 * shell/ev-application.h:
6245 Add a way to open bookmarks
6247 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6248 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6249 (ev_bookmark_set_property), (ev_bookmark_class_init),
6250 (ev_bookmark_new_title), (ev_bookmark_new_link),
6251 (ev_bookmark_new_external):
6253 Support for external uris, better constructors.
6255 * backend/ev-bookmark.h:
6256 * pdf/xpdf/pdf-document.cc:
6257 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6259 Handle external uris
6261 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6263 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6264 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6266 Hook up bookmarks navigation
6268 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6270 * backend/Makefile.am:
6271 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6272 (ev_bookmark_get_title), (ev_bookmark_set_title),
6273 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6274 (ev_bookmark_get_page), (ev_bookmark_set_page),
6275 (ev_bookmark_get_property), (ev_bookmark_set_property),
6276 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6278 * backend/ev-bookmark.h:
6279 * backend/ev-document-bookmarks.c:
6280 (ev_document_bookmarks_get_bookmark):
6281 * backend/ev-document-bookmarks.h:
6282 * pdf/xpdf/pdf-document.cc:
6283 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6285 Add a bookmark object to the backend and use it instead of get_values
6287 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6289 * data/evince-ui.xml:
6291 Cleanup and add select all.
6293 * shell/ev-view.c: (ev_view_select_all),
6294 (ev_view_button_press_event):
6296 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6299 Clear selection on click.
6301 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6303 * shell/ev-sidebar-thumbnails.c
6304 (ev_sidebar_thumbnails_set_document): forgot to unref the
6307 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6309 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6310 at the visible page, not just linearly. This makes it look fast.
6312 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6314 * backend/ev-document-misc.c
6315 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6317 * backend/ev-document-thumbnails.h: New interface to get the size
6320 2005-01-06 Jeremy Katz <katzj@redhat.com>
6322 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6325 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6327 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6328 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6331 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6333 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6335 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6336 fonts. Should fix font problems on systems that have the base
6337 fonts in bitmap format. Reported by James Henstridge
6338 <james@jamesh.id.au>.
6340 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6343 * pdf/xpdf/GfxState.cc:
6345 Fix for CAN-2004-1125
6347 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6349 * shell/ev-view.c: (ev_view_copy):
6351 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6353 Implement Edit->Copy
6355 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6357 * backend/ev-document.c: (ev_document_get_text):
6358 * backend/ev-document.h:
6359 * pdf/xpdf/pdf-document.cc:
6360 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6361 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6362 (ev_view_update_primary_selection), (ev_view_button_press_event),
6363 (ev_view_motion_notify_event), (ev_view_button_release_event):
6365 Beginnings of clipboard support. Incomplete but primary sort
6368 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6370 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6371 (expose_bin_window):
6373 Nicer rubberband drawing, from GtkIconView.
6375 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6377 * backend/ev-document.c: (ev_document_save):
6378 * backend/ev-document.h:
6379 * data/evince-ui.xml:
6380 * pdf/xpdf/pdf-document.cc:
6381 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6383 Implement "Save a copy..." menu item
6385 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6387 * shell/ev-view.c: (ev_view_zoom):
6389 Queue a resize when zoom changes
6391 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6393 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6396 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6399 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6401 * pdf/xpdf/pdf-document.cc
6402 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6404 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6406 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6407 It's slow, but I'll speed it up next!
6409 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6411 * shell/main.c (load_files):
6413 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6414 from the command line and because it seems more appropriate.
6416 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6418 * data/evince-ui.xml:
6419 * shell/ev-window.c: (update_action_sensitivity),
6420 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6422 s/next page/page down
6423 s/previous page/page up
6425 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6427 * data/evince-ui.xml:
6429 Change the layout to match clarkbw design.
6431 * shell/Makefile.am:
6432 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6433 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6434 (ev_navigation_action_finalize),
6435 (ev_navigation_action_set_property),
6436 (ev_navigation_action_get_property),
6437 (ev_navigation_action_class_init):
6438 * shell/ev-navigation-action.h:
6440 Implement clarkbw toolbar navigation controls (incomplete)
6442 * shell/ev-page-action.c: (update_label), (update_spin),
6443 (value_changed_cb), (create_tool_item), (connect_proxy),
6444 (ev_page_action_init), (ev_page_action_finalize),
6445 (ev_page_action_set_property), (ev_page_action_get_property),
6446 (ev_page_action_set_current_page),
6447 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6448 * shell/ev-page-action.h:
6450 Implement a page switcher in the toolbar
6452 * shell/ev-view.c: (ev_view_scroll_view):
6453 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6454 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6455 (register_custom_actions), (ev_window_init):
6457 Change page on PageUp/Down.
6459 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6461 * pdf/xpdf/pdf-document.cc
6462 (pdf_document_thumbnails_get_thumbnail): initial stab at
6463 implementing thumbnail support for pdfs. It only does documents
6464 with precached pdfs now.
6466 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6468 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6469 thumbnail code into a time-based idle as well. Also, turn off the
6470 shadow temporarily as it's really slow.
6472 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6474 * backend/ev-document.c: (ev_document_class_init):
6475 * pdf/xpdf/pdf-document.cc:
6476 * shell/ev-window.c: (ev_window_open):
6478 Fix document title bugs and fallback to
6479 filename when not available.
6481 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6483 * backend/ev-document.c: (ev_document_get_type),
6484 (ev_document_class_init), (ev_document_load),
6485 (ev_document_get_title):
6486 * backend/ev-document.h:
6487 * pdf/xpdf/pdf-document.cc:
6488 * ps/ps-document.c: (ps_document_set_property),
6489 (ps_document_get_property), (ps_document_class_init),
6493 * shell/ev-window.c: (update_window_title), (ev_window_open),
6496 Initial support for document title. Not working yet.
6498 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6500 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6502 Grab focus on the view when clicking it
6504 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6506 * shell/ev-marshal.list:
6507 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6508 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6510 Add key bindings to the view. Now if the focus would work
6513 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6516 * backend/Makefile.am:
6519 * dvi/dvilib/Makefile.am:
6520 * pdf/xpdf/Makefile.am:
6526 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6528 * shell/ev-view.c: (ev_view_realize):
6530 Fix mouse wheel scrolling
6532 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6538 * ps/ps-document.c: (catchPipe), (ps_document_init),
6539 (ps_document_class_init), (ps_document_cleanup),
6540 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6541 (set_up_page), (close_pipe), (is_interpreter_ready),
6542 (interpreter_failed), (output), (input), (start_interpreter),
6543 (stop_interpreter), (file_length), (file_readable),
6544 (check_filecompressed), (check_pdf), (compute_xdpi),
6545 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6546 (ps_document_get_type), (ps_document_emit_error_msg),
6547 (document_load), (ps_document_next_page),
6548 (ps_document_get_current_page), (ps_document_get_page_count),
6549 (ps_document_goto_page), (ps_document_set_page_size),
6550 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6551 (ps_document_load), (ps_document_get_n_pages),
6552 (ps_document_set_page), (ps_document_get_page),
6553 (ps_document_widget_event), (ps_document_set_target),
6554 (ps_document_set_scale), (ps_document_set_page_offset),
6555 (ps_document_get_page_size), (ps_document_render),
6556 (ps_document_document_iface_init):
6559 * shell/ev-window.c: (ev_window_open):
6561 Rename GtkGS to PSDocument
6563 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6565 * ps/gtkgs.c: (gtk_gs_class_init):
6568 Some more leftover...
6570 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6572 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6573 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6574 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6577 Remove unused code and make a lot of stuff private
6579 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6581 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6582 (gtk_gs_defaults_changed):
6588 Cleanup headers dependencies
6590 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6595 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6597 * ps/gtkgs.c: (file_length), (file_readable),
6598 (check_filecompressed), (check_pdf), (gtk_gs_load),
6599 (gtk_gs_get_postscript):
6603 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6608 * ps/gtkgs.c: (gtk_gs_set_zoom):
6612 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6614 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6616 Ensure the page is rerendered when changing zoom
6618 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6620 * backend/ev-document.c: (ev_document_base_init),
6621 (ev_document_changed):
6622 * backend/ev-document.h:
6624 Add a changed event that is emitted when the page content
6625 changes. This is necessary to deal with the fact that
6626 in ps backend rendering happen asycrounously.
6627 This makes the ps backend mostly work.
6629 * pdf/xpdf/pdf-document.cc:
6633 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6634 (ps_document_set_target):
6638 * shell/ev-view.c: (document_changed_callback),
6639 (ev_view_set_document), (ev_view_set_page):
6641 Redraw on the changed signal
6643 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6645 * configure.ac: Added pt_BR to ALL_LINGUAS.
6647 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6649 * backend/ev-document-bookmarks.c:
6650 (ev_document_bookmarks_get_child): *
6651 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6652 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6653 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6654 (ev_sidebar_bookmarks_destroy),
6655 (ev_sidebar_bookmarks_class_init),
6656 (ev_sidebar_bookmarks_construct), (stack_data_free),
6657 (do_one_iteration), (populate_bookmarks_idle),
6658 (ev_sidebar_bookmarks_clear_document),
6659 (ev_sidebar_bookmarks_set_document): *
6660 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6661 (ev_sidebar_add_page),
6662 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6663 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6664 it displays both the topics and the page numbers.
6666 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6668 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6670 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6673 2004-12-23 Adam Weinberger <adamw@gnome.org>
6675 * configure.ac: Added en_CA to ALL_LINGUAS.
6677 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6679 * ChangeLog: replace bottom of this ChangeLog (merged history of
6680 ggv and gpdf; where all paths were wrong and most of the files are
6681 not even in this tree) with ChangeLog (from arch) of the shell
6684 2004-12-23 Havoc Pennington <hp@redhat.com>
6686 * shell/ev-window.c: hook up potentially-questionable "find
6687 results status text" feature - something involving the sidebar or
6688 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6689 might be better in the end.
6691 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6692 with corresponding signal when it should be updated
6694 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6696 2004-12-22 Havoc Pennington <hp@redhat.com>
6698 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6699 find stuff on other pages, sort of (only returns one result on
6700 invisible pages, to show they have results; updates full results
6701 for a page when you view it). Currently repaints the current page
6702 every time a new result is found on any page, which isn't so nice.
6704 2004-12-22 Havoc Pennington <hp@redhat.com>
6706 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6707 the document doesn't support find (better ideas?)
6708 (find_bar_search_changed_cb): handle missing document or document
6709 that doesn't support find
6711 * pdf/xpdf/pdf-document.cc: port to implement the new
6714 * backend/ev-document-find.c: create a new interface for searching
6716 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6718 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6720 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6723 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6724 EvPrintJob constructor arguments.
6726 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6727 for documents that can export PostScript (page by page).
6729 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6731 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6732 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6733 (pdf_document_ps_exporter_iface_init:
6734 Implement EvPSExporter.
6736 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6738 2004-12-22 Anders Carlsson <andersca@gnome.org>
6740 * backend/Makefile.am:
6741 * backend/ev-document-thumbnails.c:
6742 (ev_document_thumbnails_get_type),
6743 (ev_document_thumbnails_get_thumbnail):
6744 * backend/ev-document-thumbnails.h:
6745 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6746 (pixbuf_document_thumbnails_get_thumbnail),
6747 (pixbuf_document_document_thumbnails_iface_init):
6748 * shell/Makefile.am:
6749 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6750 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6751 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6752 * shell/ev-sidebar-thumbnails.h:
6753 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6754 (ev_sidebar_set_document):
6755 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6756 (create_shadow), (ev_pixbuf_add_shadow):
6758 Add thumbnail support.
6760 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6762 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6763 (using_postscript_printer): Set up a print dialog for "PostScript
6766 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6769 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6771 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6773 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6774 (ps_document_set_target), (ps_document_get_page_size),
6775 (ps_document_render):
6780 2004-12-22 Christian Rose <menthos@menthos.com>
6782 * configure.ac: Added "sv" to ALL_LINGUAS.
6784 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6786 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6787 document supports bookmarks.
6789 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6791 * ps/ggvutils.c: (ggv_file_readable):
6793 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6794 (gtk_gs_get_postscript):
6798 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6800 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6801 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6802 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6803 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6804 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6805 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6806 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6807 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6808 (gtk_gs_set_antialiasing), (ps_document_load),
6809 (ps_document_render):
6812 Another check point for the ps backend. Now I can get it to show
6815 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6817 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6818 document setting code.
6820 2004-12-22 Anders Carlsson <andersca@gnome.org>
6822 * shell/eggfindbar.c: (entry_activate_callback):
6823 Animate the next button when activate is pressed.
6825 2004-12-22 Anders Carlsson <andersca@gnome.org>
6827 * shell/ev-window.c: (ev_window_cmd_edit_find),
6828 (update_fullscreen_popup), (ev_window_fullscreen),
6829 (ev_window_unfullscreen), (ev_window_state_event_cb),
6830 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6831 Fix bugs in fullscreen code.
6833 2004-12-22 Anders Carlsson <andersca@gnome.org>
6837 * pixbuf/Makefile.am:
6838 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6839 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6840 (pixbuf_document_set_page), (pixbuf_document_get_page),
6841 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6842 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6843 (pixbuf_document_render), (pixbuf_document_begin_find),
6844 (pixbuf_document_end_find), (pixbuf_document_finalize),
6845 (pixbuf_document_class_init),
6846 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6847 * pixbuf/pixbuf-document.h:
6848 * shell/Makefile.am:
6849 * shell/ev-application.c: (ev_application_open):
6850 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6854 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6857 * dvi/dvilib/Makefile.am:
6859 * configure.ac: Auto*ify dvi and dvi/dvilib
6861 * dvi/Makefile: Remove from CVS
6863 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6866 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6868 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6870 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6873 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6874 (gtk_gs_value_adjustment_changed), (compute_size),
6875 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6876 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6877 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6878 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6879 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6880 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6881 (ps_document_load), (ps_document_get_n_pages),
6882 (ps_document_set_page), (ps_document_get_page),
6883 (ps_document_set_target), (ps_document_set_scale),
6884 (ps_document_set_page_offset), (ps_document_get_page_size),
6885 (ps_document_render), (ps_document_begin_find),
6886 (ps_document_end_find), (ps_document_document_iface_init):
6888 * shell/Makefile.am:
6889 * shell/ev-window.c: (ev_window_open):
6891 Some work to integrate gtkgs with EvDocument
6893 2004-12-22 Anders Carlsson <andersca@gnome.org>
6895 * shell/ev-window.c: (update_fullscreen_popup),
6896 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6897 (exit_fullscreen_button_clicked_cb),
6898 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6899 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6900 (ev_window_state_event_cb), (ev_window_init):
6901 Add fullscreen support from Epiphany.
6903 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6905 * data/ev-stock-zoom-fit-width.png: fit-width
6906 stock icon from gpdf.
6908 * shell/ev-stock-icons.[ch]: copied from gpdf.
6910 * shell/main.c: (main): init stock icons.
6912 * shell/ev-window.c: use the fit-width icon.
6914 * data/evince-ui.xml: add zooming toolbar items.
6916 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6919 (ev_view_best_fit), (ev_view_fit_width): because
6920 get_page_size() returns the scaled page size, we
6921 need to calculate the scale factor relative to
6922 the previous scale factor. Should really just
6923 add get_real_page_size().
6925 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6927 * shell/ev-view.[ch]:
6928 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6929 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6932 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6933 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6934 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6937 * pdf/xpdf/pdf-document.cc:
6938 (pdf_document_begin_find),
6939 (pdf_document_end_find): make static.
6941 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6943 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6945 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6946 names to fontconfig patterns.
6947 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6949 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6952 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6968 Import ggv backend. Not hooked up yet.
6970 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6972 * shell/main.c: (load_files), (main): load files
6973 from the command line.
6975 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6977 * configure.ac: don't require bonobo.
6979 * cut-n-paste/recent-files/*: kill bonobo recent
6982 * shell/ev-window.c:
6983 (ev_window_is_empty): upd.
6984 (unable_to_load), (ev_window_open): load backend
6985 based on the mime type.
6987 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6989 * backend/.cvsignore: ignore generated marshalers source.
6991 * shell/main.c (main): this is not epiphany.
6993 2004-12-22 Havoc Pennington <hp@redhat.com>
6995 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6996 (expose_bin_window): draw find highlights
6998 * shell/ev-window.c (find_bar_search_changed_cb): implement
7000 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7001 (pdf_document_end_find): implement this interface
7003 * backend/ev-document.c (ev_document_found): add this to emit
7006 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7008 * data/evince-ui.xml: Add a few more toolbar items.
7010 * shell/ev-window.c: Hook up page navigation toolbar
7013 * shell/ev-view.[ch]: add ev_view_set/get_page and
7014 a page-changed signal.
7016 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7017 Add ev_document_get_page().
7019 * shell/ev-window.c: Sensitize/desensitize navigation
7022 2004-12-21 Havoc Pennington <hp@redhat.com>
7024 * backend/ev-backend-marshal.c,
7025 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7026 marshaler-generator thingy. I'm sure there's a better way to do
7027 this in the modern world.
7029 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7030 end_find methods and "found" signal.
7032 * configure.ac: find glib-genmarshal
7034 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7036 * shell/ev-sidebar.c: Construct an actual sidebar.
7037 * shell/ev-sidebar-bookmarks.[ch]:
7038 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7040 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7042 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7045 * shell/ev-view.c: Track the size from the document.
7047 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7049 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7050 constructor assumes ownership of the string passed in.
7052 * shell/ev-window.c (ev_window_open): Destroy the error
7053 dialog once we've displayed it.
7055 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7057 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7058 a bit, it works! (sort of)
7060 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7061 Move to .cc since we need to use C++ in the implementation.
7063 * shell/dummy.cc: Add a CC file to force evince
7064 to be linked as a C++ program.
7066 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7068 * shell/ev-view.[ch]: Start of content-area widget.
7070 * shell/ev-window.c: Create a EvView, update it
7071 as we change documents.
7073 * shell/Makefile.am shell/ev-marshal.list: Add
7074 generated marshalers.
7076 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7078 * Makefile.am (SUBDIRS): move shell.
7080 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7082 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7083 .a to libtool convenience libraries.
7085 * shell/ev-window.c (ev_window_open): Hard code loading
7088 * backend/ev-document.h: Add a boolean return to load(),
7089 fix GError * to GError **.
7091 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7092 object for a PDF backend EvDocument.
7094 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7096 * dvi/*: New directory with the beginning of a .dvi backend.
7098 2004-12-21 Havoc Pennington <hp@redhat.com>
7100 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7101 previous/next instead of back/forward
7103 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7105 * backend/ev-document.[ch]: Fix a couple of problems so
7108 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7110 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7111 to backend/ directory, rename EvViewer to EvDocument.
7113 2004-12-21 Havoc Pennington <hp@redhat.com>
7115 * shell/ev-window.c: hook up the find bar widget; now we just need
7116 a document to find things in
7118 * shell/eggfindbar.c: a find bar widget
7120 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7122 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7124 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7126 * pdf/**: Import of xpdf code from gpdf.
7128 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7130 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7131 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7132 Fix FreeType includes.
7134 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7135 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7136 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7137 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7138 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7139 Include xpdfconfig.h
7141 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7143 * shell/ev-window.c (ev_window_dispose): dispose can be called
7146 2004-12-21 Havoc Pennington <hp@redhat.com>
7148 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7151 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7152 items; really they should be synced with the strings, etc. from
7153 current gpdf, but just getting the boring typing out of the way
7155 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7158 * shell/ev-application.c: (window_destroy_cb):
7159 * shell/ev-window.c:
7160 * shell/main.c: (main):
7162 Actually show the window...
7164 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7167 * shell/Makefile.am:
7168 * shell/ev-application.c: (ev_application_class_init):
7169 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7173 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7175 Import to gnome cvs.
7177 * Remove copies of gpdf and ggv trees.
7178 * Rip out all the recursive configure code.
7179 * Remove bonobo machinery.
7180 * viewer/*: GInterfaces that backends should/can implement.
7182 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7184 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7187 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7189 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7190 (ev_application_finalize, ev_application_class_init)
7191 (ev_application_init): use GType instance private data for priv.
7193 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7194 (ev_window_finalize, ev_window_class_init)
7195 (ev_window_init): ditto.
7197 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7199 * shell/ev-application.c (ev_application_new_window): make public
7200 (ev_application_show_initial_window): kill.
7202 * shell/ev-application.h: update prototypes.
7204 * shell/main.cc (main): inline ev_application_show_initial_window.
7206 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7208 * shell/ev-application.c (ev_application_new_window): impl.
7209 (ev_application_show_initial_window): use it.
7210 (is_window_empty, ev_application_get_empty_window): returns an
7211 existing empty window or a new one.
7212 (ev_application_open): from ev_window_cmd_file_open.
7214 * shell/ev-application.h: update prototypes
7216 * shell/ev-window.c (ev_window_is_empty): impl.
7217 (ev_window_open): make public.
7218 (ev_window_cmd_file_open): use ev_application_open
7220 * shell/ev-window.h: update prototypes, remove unused.
7222 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7224 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7225 move destroy handler out of here...
7227 * shell/ev-application.c, shell/ev-application.h: ...into this new
7228 class. Also handles initial window creation.
7230 * shell/main.cc (main): use EvApplication to create initial
7233 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7235 * Makefile.am (SUBDIRS): add cut-n-paste
7237 * cut-n-paste/Makefile.am: add
7239 * configure.ac: generate Makefiles in cut-n-paste
7241 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7243 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7244 (ev_window_class_init): install ev_window_dispose.
7246 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7248 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7249 char (gchar looks stupid).
7251 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7253 * po/de.po: updated German translation.
7255 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7257 * configure.ac: add more pkg-config library checks for gnome-vfs,
7260 * gpdf/configure.in: temporarily disable libpaper
7261 checks. Otherwise I'd have to add the checks for the shell, too.
7263 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7265 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7266 and * file filters to the file choose.
7268 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7270 * po/de.po: Updated German translation.
7272 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7274 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7276 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7278 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7280 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7281 (ev_window_init): implement those menuitems.
7283 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7285 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7287 * shell/ev-window.c (ev_window_init): use the toolbar.
7289 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7291 * shell/ev-window.c (ev_window_init): use menu translations
7293 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7295 * configure.ac: add "de" to ALL_LINGUAS.
7297 * po/de.po: add German translation.
7299 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7301 * Makefile.am (SUBDIRS): add po
7303 * configure.ac: check intltool, glib-gettext etc, generate
7306 * po, po/POTFILES.in, po/POTFILES.skip: new.
7308 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7310 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7311 already use (#ifdef ENABLE_NLS)
7313 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7314 pointer indirection thinko.
7316 * shell/main.c: include gi18n.h for bindtextdomain etc.
7318 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7320 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7321 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7322 tooltips for menu items in the statusbar.
7324 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7326 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7327 pkgdatadir drop UIDIR
7329 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7331 * data/evince-ui.xml: Add File->Open menu item
7333 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7334 chooser), hook it up in the ui manager.
7336 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7338 * shell/ev-window.c: fix Help->About tooltip.
7340 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7342 * configure.ac: set CFLAGS for libevprivate.
7344 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7345 definitions, factory etc.
7347 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7349 * shell/Makefile.am: link against libevprivate.a.
7351 * shell/ev-window.c (entries): add stock icon to Help->About.
7353 * shell/main.c (main): init stock icon code.
7355 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7357 * lib/recent-files: egg recent files code
7359 * lib/Makefile.am: add.
7361 * Makefile.am: add lib subdir.
7363 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7364 set CFLAGS for recent-files.
7366 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7368 * configure.ac: disable -ansi and -pedantic gcc flags. They
7369 disable POSIX stuff in stdio.h, but egg-recent uses them.
7371 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7373 * configure.ac: add --disable-deprecated flag (defaults to on in
7376 * shell/Makefile.am (INCLUDES): use it.
7378 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7380 * shell/main.c: add missing #include.
7382 * shell/ev-window.c: fix for pedantic gcc.
7383 (ev_window_cmd_help_about): split license into paragraphs for
7384 translators and pedantic compilers.
7386 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7388 * configure.ac: add more warning flags if compiling with gcc from
7389 cvs (or explicitly requested with --enable-more-warnings).
7391 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7393 * data/evince-ui.xml: add File and File->Close menu.
7395 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7396 (ev_window_destroy): quit after destroy.
7397 (ev_window_class_init): override GtkObject::destroy.
7398 (entries): install close_window callback.
7400 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7402 * Makefile.am (SUBDIRS): add data subdir.
7404 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7405 gtk+ 2.5.0 for GtkAboutDialog.
7407 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7410 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7412 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7414 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7416 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7418 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7420 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7422 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7424 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7426 * shell/*: Added shell directory boilerplate, build it.
7428 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7430 * configure.ac, Makefile.am: Added top-level configure.ac and