1 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
3 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
4 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
6 Ignore link coordinates if they are outside page bounds
8 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
10 * backend/ev-link.c: (ev_link_type_get_type),
11 (ev_link_get_filename), (ev_link_get_params),
12 (ev_link_get_property), (ev_link_set_property),
13 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
16 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
17 * shell/ev-window.c: (launch_link), (view_external_link_cb),
20 Implement launch links. Delegate external link opening to
23 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
25 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
26 (ev_link_get_right), (ev_link_get_property),
27 (ev_link_set_property), (ev_link_class_init),
28 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
31 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
35 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
37 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
38 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
39 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
40 (ev_view_size_request_continuous),
41 (ev_view_size_request_dual_page),
42 (ev_view_size_request_single_page), (ev_view_size_allocate),
43 (ev_view_zoom_for_size_continuous_and_dual_page),
44 (ev_view_zoom_for_size_continuous),
45 (ev_view_zoom_for_size_dual_page),
46 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
47 (ev_sizing_mode_get_type):
49 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
51 Do not use modes for link, we need to calculate size ad hoc.
52 Still not perfect because of the usual scrollbar issues grrr.
54 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
56 * backend/ev-link.c: (ev_link_type_get_type),
57 (ev_link_new_page_fith), (ev_link_new_page_fitv):
60 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
61 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
62 (ev_view_size_request_continuous),
63 (ev_view_size_request_dual_page),
64 (ev_view_size_request_single_page), (ev_view_size_allocate),
65 (zoom_for_size_fit_height),
66 (ev_view_zoom_for_size_continuous_and_dual_page),
67 (ev_view_zoom_for_size_continuous),
68 (ev_view_zoom_for_size_dual_page),
69 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
70 (ev_sizing_mode_get_type):
72 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
74 Implement FIT_HEIGHT mode (only for links).
77 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
79 * shell/ev-window-title.c: (get_filename_from_uri),
80 (ev_window_title_sanitize_extension), (ev_window_title_update),
81 (ev_window_title_set_document), (ev_window_title_set_uri),
82 (ev_window_title_free):
83 * shell/ev-window-title.h:
84 * shell/ev-window.c: (ev_window_setup_document),
85 (ev_window_popup_password_dialog):
87 Refactor window title building while fixing it for
90 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
94 Escape link title before setting it in the model
96 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
98 * shell/ev-application.c: (removed_from_session), (save_session),
99 (init_session), (ev_application_get_empty_window),
100 (ev_application_init), (ev_application_get_windows):
101 * shell/ev-application.h:
102 * shell/ev-window.c: (ev_window_finalize):
104 Add a function to retrieve window list and share it where
106 Implement session handling, works pretty well thanks to the
109 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
111 * shell/ev-password.c: (ev_password_item_created_callback),
112 (ev_password_dialog_save_password):
114 Fix for bug 316972. Use async gnome-keyring API.
116 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
118 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
119 Remove unused unrealize handler. Add scroll handling to
120 ev_view_scroll_event for presentation mode (bug #316708),
121 and fix the event state checks there.
123 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
125 * shell/ev-page-action.c: (page_changed_cb):
127 "marco, maybe we should be crazy and jump right to 6! :)"
129 Bryan Clark, Sep 2005
131 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
133 * ps/ps-document.c: (save_document), (ps_document_save),
134 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
135 (ps_document_ps_export_end):
137 Fix unstructured documents save and print
139 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
141 * shell/ev-application.c: (ev_application_open_uri):
143 Fix window size persistance
145 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
147 * shell/ev-view.c: (ev_view_button_release_event):
149 Based on a patch from carlosgc@gnome.org. Mouse buttons
150 switch pages in presentation mode.
152 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
154 * shell/ev-page-cache.c: (ev_page_cache_get_size):
156 Dont cast to int before scaling
158 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
160 * backend/ev-link.c: (ev_link_type_get_type),
161 (ev_link_new_page_xyz), (ev_link_new_page_fit),
162 (ev_link_new_page_fith):
165 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
167 Implement FIT and FITH links
169 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
173 Return 0 results when search is not in progress.
175 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
176 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
178 Update menu sensitivity when cancelling search
180 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
182 * shell/ev-view.c: (ev_view_can_find_next):
184 Take all pages in consideration, not just current one
186 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
188 * shell/ev-page-cache.c:
189 * shell/ev-page-cache.h:
190 * shell/ev-view.c: (ev_view_binding_activated),
191 (ev_view_next_page), (ev_view_previous_page),
192 (ev_sizing_mode_get_type):
194 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
195 (ev_window_cmd_go_next_page):
197 Move page next/previous functions from page chace to
198 view and change it to move by 2 page steps in dual mode.
200 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
202 * shell/ev-window.c: (update_sidebar_visibility),
203 (setup_sidebar_from_metadata), (ev_window_setup_document),
204 (setup_view_from_metadata):
206 Show the index by default when there is one
208 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
210 * shell/ev-window-title.c: (ev_window_title_set_document):
214 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
216 * shell/ev-view.c: (view_update_range_and_current_page):
218 Allow display of last odd page in dual view. Fix for 316347.
220 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
222 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
224 Make close button default. Fix for 316383.
226 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
228 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
230 Mark close button as default. Fix for 316381.
232 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
234 * backend/ev-link.c: (ev_link_class_init):
236 Allow negative doubles in left/top properties
238 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
242 Remove a bunch of strings that was used only
245 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
247 * shell/ev-window-title.c: (get_filename_from_uri),
248 (ev_window_title_set_document):
250 When title has a confusing extension, show also
251 the document filename inside ()
253 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
256 * shell/ev-window-title.c: (ev_window_title_new),
257 (ev_window_title_update), (ev_window_title_set_type),
258 (ev_window_title_set_document), (ev_window_title_free):
259 * shell/ev-window-title.h:
260 * shell/ev-window.c: (ev_window_setup_document),
261 (password_dialog_response), (ev_window_popup_password_dialog),
262 (ev_window_dispose), (ev_window_init):
264 Factor out and cleanup window title code
266 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
268 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
271 Make dialog transient so it doesnt block other windows
273 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
277 Fix pdf thumbnails rendering.
279 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
281 * shell/ev-window.c: (fullscreen_set_timeout):
283 Increase timeout to hide full screen popup. Bug
286 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
288 * data/evince.schemas.in:
289 * shell/ev-window.c: (update_action_sensitivity):
291 Allow the user to override document restrictions. Fix for bug
294 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
296 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
297 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
298 (ev_window_class_init): Fix multihead behaviour of fullscreen
299 toolbar popup. Fixes bug #315451.
301 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
304 * data/evince-password.glade:
305 * shell/ev-password.c: (ev_password_dialog_set_property),
306 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
307 (ev_password_dialog_init), (ev_password_set_bad_password_label),
308 (ev_password_dialog_entry_changed_cb),
309 (ev_password_dialog_entry_activated_cb),
310 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
311 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
312 (ev_password_dialog_set_bad_pass):
313 * shell/ev-password.h:
314 * shell/ev-window.c: (password_dialog_response),
315 (ev_window_popup_password_dialog):
317 Support for gnome-keyring for encrypted PDF's.
319 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
321 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
322 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
323 (ev_view_enter_notify_event), (ev_view_class_init):
325 More precise handling of enter_notify/leave_notify events
326 in EvView. Fix for bug 315470.
328 2005-09-08 Christopher Aillon <caillon@redhat.com>
330 * shell/ev-window.c: (fullscreen_timeout_cb),
331 (fullscreen_set_timeout), (fullscreen_clear_timeout),
334 leak fix: unref fullscreen_timeout_source before clearing it
336 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
338 * configure.ac, dvi/mdvi/Makefile.am:
340 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
342 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
344 * backend/ev-link.c: (ev_link_new_page_xyz):
346 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
348 Fix some bugs with xyz links, respect zoom
350 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
352 * shell/ev-window.c: (page_changed_cb),
353 (setup_document_from_metadata), (update_sidebar_visibility),
354 (setup_view_from_metadata), (ev_window_run_fullscreen),
355 (ev_window_stop_fullscreen), (ev_window_run_presentation),
356 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
357 (ev_window_dual_mode_changed_cb),
358 (ev_window_sidebar_current_page_changed_cb):
360 null check uri before setting and getting metadata
362 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
365 * properties/Makefile.am:
367 * thumbnailer/Makefile.am:
369 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
371 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
373 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
374 (selection_changed_callback):
375 * shell/ev-sidebar-links.h:
377 Add a signal for link activation.
379 * shell/ev-view.c: (ev_view_goto_link),
380 (ev_view_button_release_event):
382 * shell/ev-window.c: (sidebar_links_link_activated_cb),
385 Implement the signal so that we can handle all link types.
387 * shell/ev-page-cache.c:
389 Remove unused set_link function
391 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
393 * lib/ev-tooltip.c: (ev_tooltip_set_position):
395 Add some space from the cursor, hardcoded but I couldnt
398 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
402 Use mozilla style vs gtk style, way better for links.
404 * shell/ev-view.c: (ev_view_motion_notify_event),
405 (ev_view_destroy), (ev_view_init):
407 Deactive tooltip when the link hovered is changed.
409 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
411 * backend/ev-document.h:
412 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
413 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
414 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
415 (ev_link_new_page), (ev_link_new_page_xyz):
418 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
419 (go_to_link), (tip_from_link):
421 Implement xyz links, still not functional. Links are a total
422 mess, will need to refactor and bugfix a lot :(
424 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
426 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
428 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
430 * data/evince-ui.xml:
431 * data/evince.schemas.in:
433 * shell/ev-window.c: (update_chrome_visibility),
434 (password_dialog_response), (ev_window_load_job_cb),
435 (ev_window_xfer_job_cb), (ev_window_open_uri),
436 (ev_window_class_init), (set_chrome_actions), (load_chrome),
439 Remove the statusbar. This regress loading feedback, need to
440 check with Bryan what we want to do there...
442 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
444 * lib/ev-tooltip.c: (ev_tooltip_init):
446 Fix tooltip border and size handling
448 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
450 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
451 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
452 (ev_tooltip_timeout), (ev_tooltip_activate),
453 (ev_tooltip_deactivate):
455 * shell/ev-view.c: (ev_view_motion_notify_event):
457 Delay popup showing. Mirror gtk logic/times.
459 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
462 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
463 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
464 (ev_tooltip_set_text), (ev_tooltip_set_position):
467 Simple widget to show tooltips at a custom position
469 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
472 Use it for links. First go, needs work
474 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
476 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
477 HIG fixes. Use title capitalization for window title. Use 12
478 pixels of space between the dialog's vbox and action area.
480 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
482 * shell/ev-window.c: (file_open_dialog_response_cb),
483 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
484 (ev_window_cmd_save_as):
486 Make file pickers not modal and refactor code some
488 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
490 * shell/ev-sidebar.h:
491 * shell/ev-sidebar.c: (ev_sidebar_set_property),
492 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
493 (ev_sidebar_class_init), (ev_sidebar_select_page),
494 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
495 (ev_sidebar_set_page):
497 Add a current page property and allow to get/set it
499 * shell/ev-window.c: (setup_view_from_metadata),
500 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
502 Persist current sidebar page per document
504 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
506 * data/evince.schemas.in:
507 * shell/ev-window.c: (update_chrome_visibility),
508 (setup_document_from_metadata), (update_sidebar_visibility),
509 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
510 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
511 (ev_window_run_presentation), (ev_window_stop_presentation),
512 (ev_window_view_sidebar_cb),
513 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
514 (load_chrome), (ev_window_init):
516 Persist size/visibility of sidebar per document
518 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
520 * shell/ev-view.c (draw_loading_text): Draw loading text.
522 2005-09-02 Dan Damian <dand@gnome.ro>
524 * configure.in: Added "ro" to ALL_LINGUAS.
526 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
528 * shell/ev-view.c: (clear_caches):
530 ev_page_cache_get doesnt return a reference,
531 dont try to unref it.
533 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
535 * shell/main.c: (load_files_remote):
537 Fix timestamp parameter with dbus <= 0.33
539 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
541 * data/evince.schemas.in:
543 Add missing full stop
545 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
547 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
548 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
550 Plug some memory leaks
552 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
555 * lib/ev-debug.c: (trap_handler):
557 Check for execinfo.h and use it only if it exists.
558 Ported from Epiphany (bug #314776).
560 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
562 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
564 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
566 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
567 * po/id.po : Added Indonesian translation
569 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
572 * shell/ev-application.c: Last minute GTK-2.6 fixes.
573 * NEWS: Release 0.4.0
575 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
577 * configure.ac: catch another gtk+-2.8ism
578 * shell/main.c: Make work with gtk+-2.6
580 2005-08-25 Ryan Lortie <desrt@desrt.ca>
582 * shell/ev-application-service.xml: Add 'timestamp' argument to
583 ev_application_open_window and ev_application_open_uri methods.
585 * shell/ev-application.h: Add 'timestamp' argument to
586 ev_application_open_window, ev_application_open_uri,
587 and ev_application_open_uri_list functions.
589 * shell/ev-application.c (ev_application_open_window,
590 ev_application_open_uri, ev_application_open_uri_list): Change
591 functions that show/present windows to use a timestamp if one
594 * shell/ev-window.c (ev_window_cmd_file_open,
595 ev_window_cmd_recent_file_activate, drag_data_received_cb):
596 * shell/main.c (load_files): Modify calls to ev_application to
597 include GDK_CURRENT_TIME as timestamp.
599 * shell/main.c (load_files_remote): Obtain timestamp for client
600 instance from GDK and pass to server instance so new windows are
601 focused properly. Fix dbus_g_proxy_call() calls by including second
606 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
608 * shell/ev-window.c (ev_window_finalize): Check for
609 avail. EvWindows when quiting to handle the finalize better,
612 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
614 * properties/ev-properties-view.c:
616 Set textdomain to libglade. Fixes translation problem in property page.
618 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
620 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
622 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
623 * dvi/mdvi-lib/Makefile.am:
625 Fix rotation of thumbnails, ported to new API. Moved library
626 dependencies earlier, probably it will fix linkage problem.
628 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
630 * backend/ev-document-misc.c:
631 (ev_document_misc_get_thumbnail_frame):
632 * backend/ev-document-misc.h:
636 * shell/ev-sidebar-thumbnails.c: (add_range),
637 (ev_sidebar_thumbnails_set_loading_icon),
638 (ev_sidebar_thumbnails_refresh),
639 (ev_sidebar_thumbnails_set_document):
640 * shell/ev-sidebar-thumbnails.h:
641 * shell/ev-view.c: (ev_view_motion_notify_event),
642 (ev_view_set_property), (ev_view_get_property),
643 (ev_view_class_init), (ev_view_set_rotation):
644 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
645 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
647 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
648 Redo rotation (again). prepare for 0.4.0
650 2005-08-24 Kristian Høgsberg <krh@redhat.com>
652 * configure.ac: Bump poppler requirement to 0.4.1.
654 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
655 argument to poppler_page_render_selection() call.
657 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
659 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
660 (djvu_document_thumbnails_get_thumbnail):
661 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
662 (dvi_document_thumbnails_get_thumbnail):
663 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
664 (pixbuf_document_thumbnails_get_thumbnail):
665 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
667 Update rotation direction of backends to fit with pdf and ps.
669 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
671 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
672 * backend/ev-async-renderer.h:
673 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
674 (setup_page), (ps_document_get_page_size),
675 (ps_async_renderer_render_pixbuf):
677 * shell/ev-jobs.c: (ev_job_render_run):
679 Fix orientation in the postscript document
681 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
684 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
685 * shell/ev-view.c: (highlight_find_results):
687 Adapt to the new poppler rotation API. Fix text maps on landscape
690 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
692 * shell/ev-view.c (compute_new_selection_text): get the correct
693 region when selecting in modes other than continuous.
695 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
697 * shell/main.c (main): remove redundant g_warnings.
699 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
701 * shell/Makefile.am: Don't include autogenerated
702 file ev-application-service.h into distribution, since
703 it causes dbus crash. Fix for bugs 313724 and 313443.
705 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
707 * configure.ac: Fix sed expression for FreeBSD. Thanks
708 to Joe Marcus Clark <marcus@freebsd.org>
710 * shell/eggfindbar.c: (entry_activate_callback),
711 (entry_changed_callback), (egg_find_bar_init),
712 (egg_find_bar_set_search_string):
714 Made findbar buttons unsensitive if there is no text in
715 entry. Fix for the bug 313285.
717 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
719 * ps/ps-document.c: Use g_filename_display_name for displaying
720 filenames and revert string freeze breackage
722 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
731 Add ev-application-service.xml to extra dist
733 * shell/ev-view.c: (find_page_at_location):
735 Remove unused function (fix warning)
737 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
739 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
740 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
742 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
745 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
747 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
751 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
753 * configure.ac: Update script to get dbus version.
754 Fix for the bug #313443.
756 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
758 * shell/ev-window.c: (ev_window_cmd_escape):
760 Return focus back to view on escape. Fix for bug 313295.
762 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
764 * shell/ev-window.c: (update_window_title),
765 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
766 (ev_window_cmd_save_as):
768 Correct conversion from uri to displayable string. Fix for
771 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
773 * ps/ps-document.c: convert filename to utf8 when there is an error
774 loading document. Fixes #309915
776 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
780 We depend on poppler 0.4.0
782 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
785 * NEWS: Release 0.3.3.
786 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
788 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
790 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
791 add a couple missing mnemonics to menu items, use title
792 capitalization for menu items and window titles, and add
793 ellipsis to open menu item.
795 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
798 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
799 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
800 (ev_view_get_rotation):
802 * shell/ev-window.c: (setup_view_from_metadata),
803 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
804 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
807 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
809 * configure.ac: Added tr to ALL_LINGUAS
811 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
813 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
814 requires several clicks to find word. Thanks to
815 Colin Slater <kiltedtaco@gmail.com>.
817 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
819 * data/evince.desktop.in.in: Hide menu entry and
820 rename it to "Document Viewer". Fix for bug
823 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
825 * shell/ev-page-action.c (ev_page_action_class_init):
827 Point to the correct function in constructor of the
828 activate_label signal
830 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
832 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
833 * shell/ev-jobs.h: Make thread safe.
835 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
837 * shell/ev-view.c: (view_update_range_and_current_page):
838 Don't update page range if we are scrolling to some document
841 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
843 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
844 when getting max_page_width, fix drawing in dual mode.
846 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
848 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
849 getting the area for select_all.
851 2005-08-06 Kristian Høgsberg <krh@redhat.com>
853 * backend/ev-selection.c: (ev_selection_render_selection):
854 * backend/ev-selection.h:
856 * shell/ev-jobs.c: (ev_job_render_new):
858 * shell/ev-pixbuf-cache.c: (get_selection_colors),
859 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
860 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
861 (ev_view_class_init):
863 Change selection color on focus in and focus out events. Also,
864 poppler now uses GdkColor for specifying the selection colors, so
865 drop some awkward conversion code.
867 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
869 * configure.ac: Added Hebrew translation
871 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
874 * backend/ev-selection.c: (ev_selection_render_selection):
875 * backend/ev-selection.h:
877 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
880 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
881 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
882 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
883 (ev_pixbuf_cache_style_changed),
884 (ev_pixbuf_cache_get_selection_pixbuf),
885 (ev_pixbuf_cache_set_selection_list),
886 (ev_pixbuf_cache_get_selection_list):
887 * shell/ev-pixbuf-cache.h:
888 * shell/ev-utils.c: (ev_print_region_contents):
890 * shell/ev-view.c: (ev_view_queue_draw_page),
891 (selection_update_idle_cb), (ev_view_motion_notify_event),
892 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
893 (setup_caches), (ev_view_find_next), (merge_selection_region),
895 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
897 Clean up selection to be much smoother!
899 2005-08-05 Kristian Høgsberg <krh@redhat.com>
901 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
902 to poppler_page_render_selection().
904 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
906 * ps/ps-document.c: (save_page_list): Use
907 unzipped document when printing. Thanks to
908 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
911 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
913 * shell/ev-window.c: (update_action_sensitivity):
915 Disable print and save respect to lockdown gconf keys. Fix
918 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
921 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
922 (write_to_temp_file), (ev_file_set_contents):
924 * shell/ev-window.c: (save_print_config_to_file):
926 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
929 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
931 * shell/ev-window.c: (load_print_config_from_file),
932 (save_print_config_to_file), (ev_window_print_range):
934 Persist the print settings. Fixes bug #311578.
936 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
938 * djvu/djvu-document.c: (djvu_document_get_page_size),
939 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
940 (djvu_document_thumbnails_get_thumbnail):
941 * dvi/dvi-document.c: (dvi_document_get_page_size),
942 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
943 (dvi_document_thumbnails_get_dimensions),
944 (dvi_document_thumbnails_get_thumbnail):
945 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
946 (pixbuf_document_render_pixbuf),
947 (pixbuf_document_document_iface_init),
948 (pixbuf_document_thumbnails_get_thumbnail):
950 Update backends to make them build with new rotation system.
952 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
954 * help/C/figures/evince_start_window.png:
956 Update documentation image from Luca Ferretti <elle.uca@libero.it>
958 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
960 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
961 * shell/ev-pixbuf-cache.h:
962 * shell/ev-sidebar-thumbnails.c:
963 (ev_sidebar_thumbnails_get_property), (add_range),
964 (adjustment_changed_cb):
965 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
966 pixbuf cache. Make thumbnailing work again. Also, fix bug where
967 we were thumbnailing the entire docment on startup, slowing us
970 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
972 * shell/ev-page-cache.c: (ev_page_cache_new):
973 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
976 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
978 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
979 (ev_view_rotate_left):
981 Account rotation in doc_rect_to_view_rect.
982 Ensure rotation doesnt go out of bounds.
984 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
986 * shell/ev-page-cache.c: (ev_page_cache_get_size):
988 Correct and cleanup w/h swapping
990 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
992 * backend/ev-document-thumbnails.c:
993 (ev_document_thumbnails_get_thumbnail):
994 * backend/ev-document-thumbnails.h:
995 * backend/ev-document.c:
996 * backend/ev-document.h:
997 * backend/ev-render-context.c: (ev_render_context_new),
998 (ev_render_context_set_rotation):
999 * backend/ev-render-context.h:
1000 * pdf/ev-poppler.cc:
1001 * ps/ps-document.c: (ps_document_document_iface_init):
1002 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1004 * shell/ev-page-cache.c: (build_height_to_page),
1005 (ev_page_cache_new), (ev_page_cache_get_size),
1006 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1007 (ev_page_cache_get_height_to_page):
1008 * shell/ev-page-cache.h:
1009 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1010 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1011 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1012 (ev_pixbuf_cache_get_selection_pixbuf):
1013 * shell/ev-pixbuf-cache.h:
1014 * shell/ev-print-job.c: (idle_print_handler):
1015 * shell/ev-sidebar-thumbnails.c: (add_range):
1016 * shell/ev-view.c: (view_update_range_and_current_page),
1017 (get_page_y_offset), (get_page_extents),
1018 (ev_view_size_request_continuous_dual_page),
1019 (ev_view_size_request_continuous),
1020 (ev_view_size_request_dual_page),
1021 (ev_view_size_request_single_page), (draw_one_page),
1022 (ev_view_set_rotation), (ev_view_rotate_right),
1023 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1024 (ev_view_zoom_for_size_continuous_and_dual_page),
1025 (ev_view_zoom_for_size_continuous),
1026 (ev_view_zoom_for_size_dual_page),
1027 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1028 (ev_view_select_all):
1029 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1030 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1031 (tiff_document_document_iface_init),
1032 (tiff_document_thumbnails_get_thumbnail):
1034 Use rotation rather than orientation. It's easier and enough
1037 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1039 * shell/ev-page-cache.c: (build_height_to_page),
1040 (ev_page_cache_new), (ev_page_cache_get_size),
1041 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1042 (ev_page_cache_get_height_to_page):
1043 * shell/ev-page-cache.h:
1044 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1045 (ev_view_size_request_continuous_dual_page),
1046 (ev_view_size_request_continuous),
1047 (ev_view_zoom_for_size_continuous_and_dual_page),
1048 (ev_view_zoom_for_size_continuous):
1050 Make the page cache aware of page orientation.
1052 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1054 * backend/ev-document-thumbnails.c:
1055 (ev_document_thumbnails_get_thumbnail):
1056 * backend/ev-document-thumbnails.h:
1057 * backend/ev-document.c:
1058 * backend/ev-document.h:
1059 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1060 * backend/ev-ps-exporter.h:
1061 * pdf/ev-poppler.cc:
1062 * ps/ps-document.c: (ps_document_document_iface_init),
1063 (ps_document_ps_export_do_page):
1064 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1066 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1067 (ev_page_cache_get):
1068 * shell/ev-page-cache.h:
1069 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1070 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1071 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1072 * shell/ev-pixbuf-cache.h:
1073 * shell/ev-print-job.c: (idle_print_handler):
1074 * shell/ev-sidebar-thumbnails.c: (add_range):
1075 * shell/ev-view.c: (view_update_range_and_current_page),
1076 (get_page_extents), (ev_view_size_request_dual_page),
1077 (ev_view_size_request_single_page), (draw_one_page),
1078 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1079 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1080 (ev_view_zoom_for_size_dual_page),
1081 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1082 (ev_view_select_all):
1083 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1084 * tiff/tiff-document.c: (tiff_document_get_page_size),
1085 (tiff_document_get_orientation), (rotate_pixbuf),
1086 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1087 (tiff_document_thumbnails_get_thumbnail),
1088 (tiff_document_ps_export_do_page), (tiff_document_init):
1090 Really make use of the orientation bit of the render context.
1091 Use the render context in a few more places in the backend API.
1092 This regress orientation, but now it's done right. Will try to
1095 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1097 * shell/ev-view.c: (ensure_rectangle_is_visible):
1099 Patch by Nickolay V. Shmyrev to fix find flickering
1101 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1103 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1104 duplex parameters to ::begin.
1106 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1107 * shell/ev-print-job.c (idle_print_handler):
1108 * ps/ps-document.c (ps_document_ps_export_begin):
1109 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1110 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1111 implementations. Poppler backend needs poppler cvs. Rest has
1114 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1116 * shell/ev-window.c (using_pdf_printer): new function.
1117 (ev_window_print_range): print a less techy message if someone
1118 tries to print to PDF.
1120 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1122 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1123 from "unknown font" string. Bug #311431
1125 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1127 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1129 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1133 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1134 name for PopplerFontTypes
1135 (pdf_document_fonts_fill_model): add font type to the detail column
1137 * backend/ev-document-fonts.h: added
1138 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1140 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1141 font name and font details, add a little markup.
1142 (ev_properties_fonts_init): use the new cell data func, specify ypad
1143 property for the cell renderer.
1144 (ev_properties_fonts_set_document): add the details column.
1146 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1148 * configure.ac: Added "pl" to ALL_LINGUAS.
1150 2005-07-24 Danilo Šegan <danilo@gnome.org>
1152 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1154 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1156 * help/ChangeLog: Started this for translations of manual.
1157 * configure.ac, autogen.sh, .cvsignore: Migrated to
1158 gnome-doc-utils. Patch in bug #311222.
1160 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1162 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1163 #ifdef this away to fix an unused-function warning.
1165 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1167 * configure.ac: Added 'gl' to ALL_LINGUAS.
1169 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1171 * configure.ac: Added ne in ALL_LINGUAS
1173 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1175 * shell/ev-view.c: (ev_view_leave_notify_event):
1177 Clear status message when pointer leaves view. Fix for bug
1180 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1182 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1184 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1186 * shell/ev-view.c: (ev_view_leave_notify_event),
1187 (ev_view_class_init):
1189 Set cursor to normal then leaving view.
1191 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1195 Fix required djvulibre version.
1197 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1199 *configure.ac: Hindi (hi) language added
1201 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1203 *configure.ac: Punjabi (pa) Language added
1205 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1207 * data/evince-ui.xml, shell/ev-window.c:
1209 Add keypad accelerators for zooming. Fix for bug 308128.
1211 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1214 * backend/Makefile.am:
1215 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1217 * shell/ev-document-types.c: (ev_document_types_add_filters):
1219 Allow to enable/disable the pixbuf backend.
1220 Default to off for now. If we want it enabled we should
1221 really put mime types in the desktop, implement properties etc.
1223 * properties/evince-properties.c:
1225 Initialize error to NULL.
1226 Check error is not NULL before freeing.
1228 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1230 * shell/ev-window.c:
1232 Use F5 as presentation accell
1234 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1236 * shell/ev-window.c: (update_chrome_visibility),
1237 (ev_window_create_fullscreen_popup), (ev_window_init):
1239 Do not leak the fullscreen toolbar
1241 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1243 * shell/ev-window.c: (view_actions_focus_in_cb),
1244 (view_actions_focus_out_cb):
1246 These has a return value! Fix totally random focus
1247 issues we was seeing.
1249 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1251 * shell/main.c: (load_files_remote):
1253 Allow open more than one file
1255 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1257 * shell/main.c: (load_files_remote):
1259 Fix for dbus 0.33. bug #309975
1261 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1263 * properties/ev-properties-main.c: (ev_properties_get_pages):
1265 Actually return NULL for types we dont support
1267 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1273 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1275 * backend/ev-document-factory.c:
1276 (ev_document_factory_get_document):
1278 Do not try to create the object if type
1281 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1283 * ps/ps-document.c: (ps_document_dispose),
1284 (ps_async_renderer_render_pixbuf):
1287 Do not leak the target window
1289 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1291 * shell/ev-application.c: (ev_application_init):
1293 Let tbe check file existence for us.
1294 Add a comment about eggrecent mime filter.
1296 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1298 * data/evince-ui.xml:
1299 * shell/ev-application.c: (ev_application_shutdown),
1300 (ev_application_init), (ev_application_get_toolbars_model),
1301 (ev_application_get_recent_model),
1302 (ev_application_save_toolbars_model):
1303 * shell/ev-application.h:
1304 * shell/ev-window.c: (ev_window_add_recent),
1305 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1306 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1309 Use common toolbar and recent models for all windows.
1310 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1312 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1314 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1315 successfully check for gtk_icon_view_get_visible_range.
1317 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1322 Fix djvu and dvi backend build.
1324 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1326 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1327 (new_separator_pixbuf):
1331 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1333 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1335 HIGification of toolbar editor dialogue.
1337 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1340 * shell/Makefile.am:
1342 Ever build metadata manager since it's just
1343 disabled at runtime now.
1345 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1347 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1348 (ev_metadata_manager_get), (ev_metadata_manager_set):
1349 * shell/ev-metadata-manager.h:
1351 Add an _init functions that enabled metadata management
1354 * shell/ev-window.c: (page_changed_cb),
1355 (setup_document_from_metadata), (ev_window_setup_document),
1356 (setup_view_from_metadata), (ev_window_open_uri),
1357 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1358 (ev_window_run_presentation), (ev_window_stop_presentation),
1359 (save_sizing_mode), (ev_window_zoom_changed_cb),
1360 (ev_window_continuous_changed_cb),
1361 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1362 (window_configure_event_cb):
1364 Remove all ugly metadata define since we deal with it
1367 * shell/main.c: (load_files_remote), (main):
1369 Add support for dbus cvs head. Hopefully didnt break one
1370 of the other versions now!
1372 If we dont get a response from the dbus server just
1373 give up with it and not enable metadata.
1375 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1378 * backend/Makefile.am:
1380 * cut-n-paste/recent-files/Makefile.am:
1381 * cut-n-paste/toolbar-editor/Makefile.am:
1382 * cut-n-paste/zoom-control/Makefile.am:
1385 * pixbuf/Makefile.am:
1386 * properties/Makefile.am:
1388 * shell/Makefile.am:
1389 * thumbnailer/Makefile.am:
1392 Make frontends depend on just libev.
1393 Rework and group CFLAGS/LIBS definitions.
1396 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1400 do not unnecessarily save zoom
1403 * lib/ev-file-helpers.c: (ev_dot_dir):
1404 * shell/Makefile.am:
1409 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1413 Remove unnecessary dependencies
1415 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1417 * properties/Makefile.am:
1418 * thumbnailer/Makefile.am:
1421 Some more cleanups. Was really necessary
1422 but I probably introduced bugs, feel free
1425 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1427 * backend/Makefile.am:
1429 * cut-n-paste/recent-files/Makefile.am:
1430 * cut-n-paste/toolbar-editor/Makefile.am:
1431 * cut-n-paste/zoom-control/Makefile.am:
1434 * pixbuf/Makefile.am:
1435 * properties/Makefile.am:
1437 * shell/Makefile.am:
1438 * thumbnailer/Makefile.am:
1441 Use gnome-common macros when possible.
1442 Cleanup dependencies.
1443 Actually disable deprecated where possible.
1445 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1448 * backend/Makefile.am:
1449 * properties/Makefile.am:
1450 * shell/Makefile.am:
1451 * thumbnailer/Makefile.am:
1453 This should solve the circular dep without
1454 requiring dir reorg!
1456 * shell/ev-window.c: (setup_view_from_metadata):
1458 Never restore window size/position when the
1459 window is already visible.
1461 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1463 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1465 Return a boolean from timeout func. Fix ported from gedit.
1467 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1469 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1471 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1473 * shell/ev-document-types.c: set "All Documents" as default filter in
1476 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1478 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1479 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1480 (ev_metadata_manager_set_boolean): fix value/val thinko.
1482 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1484 * shell/ev-window.c: (setup_view_from_metadata),
1485 (window_state_event_cb), (window_configure_event_cb),
1488 Remember window position and maximized state
1490 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1494 Fix DBUS configure checks.
1496 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1497 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1498 (ev_metadata_manager_set_boolean):
1502 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1503 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1504 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1505 (ev_window_continuous_changed_cb),
1506 (ev_window_dual_mode_changed_cb), (ev_window_new):
1508 Fix the build without DBUS.
1510 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1512 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1513 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1514 (ev_metadata_manager_set_string),
1515 (ev_metadata_manager_set_boolean):
1516 * shell/ev-metadata-manager.h:
1518 Add support for some more types
1520 * shell/ev-view.c: (scroll_to_current_page),
1521 (ev_view_get_continuous), (ev_view_set_continuous),
1522 (ev_view_get_dual_page):
1524 * shell/ev-window.c: (page_changed_cb),
1525 (setup_document_from_metadata), (ev_window_setup_document),
1526 (setup_view_from_metadata), (ev_window_open_uri),
1527 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1528 (ev_window_run_presentation), (ev_window_stop_presentation),
1529 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1530 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1531 (ev_window_update_dual_page_action),
1532 (ev_window_continuous_changed_cb),
1533 (ev_window_dual_mode_changed_cb), (ev_window_init):
1535 Remember a bunch of view/document properties. Prolly some
1536 are still missing but it's getting interesting.
1538 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1540 * configure.ac: check if dbus-binding-tool is installed. Not the
1541 case on current Ubuntu breezy, it seems.
1543 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1545 * data/evince.desktop.in.in:
1547 Allow open uri lists and add TryExec field.
1549 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1553 Enable dbus when available, do not require a configure
1556 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1560 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1563 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1564 Marco Pesenti Gritti <mpg@redhat.com>
1566 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1568 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1569 functions to the format required by dbus
1571 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1572 errors. Use the RPC parameters in the expected way
1574 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1577 * properties/Makefile.am:
1578 * properties/ev-properties-main.c: (ev_properties_get_pages):
1580 Support all mime types
1582 * shell/Makefile.am:
1583 * thumbnailer/Makefile.am:
1584 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1585 (evince_thumbnail_pngenc_get):
1587 Use the document factory
1589 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1591 * backend/Makefile.am:
1592 * backend/ev-document-factory.c:
1593 (mime_type_supported_by_gdk_pixbuf),
1594 (ev_document_type_get_from_mime),
1595 (ev_document_factory_get_document),
1596 (ev_document_factory_get_backend),
1597 (ev_document_factory_get_mime_types),
1598 (ev_document_factory_get_all_mime_types):
1599 * backend/ev-document-factory.h:
1600 * shell/Makefile.am:
1601 * shell/ev-document-types.c: (get_document_from_uri),
1602 (ev_document_types_get_document),
1603 (file_filter_add_mime_list_and_free),
1604 (ev_document_types_add_filters):
1605 * shell/ev-document-types.h:
1606 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1607 * shell/ev-properties-dialog.c:
1608 (ev_properties_dialog_set_document):
1609 * shell/ev-window.c: (ev_window_cmd_file_open),
1610 (ev_window_cmd_save_as):
1611 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1613 Rework document types managing to avoid code duplication
1614 and actually abstract from backend implementations.
1615 Also provide a minimal factory api that can be used by
1616 thumbnailer/properties.
1618 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1620 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1622 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1625 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1627 * shell/ev-properties-dialog.c
1628 (ev_properties_dialog_set_document): only call
1629 ev_properties_fonts_set_document() if the document implements the
1632 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1635 * properties/Makefile.am:
1636 * properties/ev-properties-view.c:
1637 (ev_properties_view_register_type):
1638 * properties/ev-properties-view.h:
1639 * properties/ev-properties-main.h:
1641 Implement nautilus plugin for properties.
1642 Works only for pdf atm, I need to rework the
1643 document types stuff to get this to work
1646 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1648 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1649 (ev_properties_fonts_set_document): use
1650 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1652 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1654 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1656 (PlaceImage, tiff2ps_process_page): use
1657 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1660 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1662 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1663 (main): to call gnome_authentication_manager_init. Should fix
1666 * configure.ac: that requires libgnomeui 2.6.0.
1668 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1670 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1671 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1672 use the new tiff2ps interfaces
1674 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1675 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1677 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1678 structure instead of global variables. Remove use of static
1679 variables in functions.
1681 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1683 * shell/ev-page-action.c: unref the completion after setting it to the
1686 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1688 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1691 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1693 * shell/ev-window.c (update_action_sensitivity): disable
1694 File->Print if the document does not implement the ps exporter
1697 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1701 * data/evince-properties.glade:
1702 * properties/.cvsignore:
1703 * properties/Makefile.am:
1704 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1705 (ev_properties_view_class_init), (ev_properties_view_format_date),
1706 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1707 (ev_properties_view_init), (ev_properties_view_new):
1708 * properties/ev-properties-view.h:
1709 * shell/Makefile.am:
1710 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1711 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1712 (ev_properties_dialog_new):
1713 * shell/ev-properties-dialog.h:
1714 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1715 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1716 (update_progress_label), (job_fonts_finished_cb),
1717 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1718 * shell/ev-properties-fonts.h:
1719 * shell/ev-properties.c:
1720 * shell/ev-properties.h:
1721 * shell/ev-window.c: (ev_window_setup_document),
1722 (ev_window_cmd_file_properties):
1724 Split the properties pages in two different objects, depend
1725 only on the backend where possible, use widgets instead
1726 of gobject for the glade part, reimplement the dialog
1728 I need this to implement nautilus properties page.
1730 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1732 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1733 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1734 (tiff_document_document_ps_exporter_iface_init): implement the ps
1735 exporter interface for tiff documents
1737 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1738 libtiff to implement TIFF postscript export
1740 * tiff/tiff2ps.h: added a header file for external tiff2ps
1743 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1746 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1748 * shell/ev-view.c: (scroll_to_current_page),
1749 (ev_view_set_fullscreen), (ev_view_set_presentation):
1751 Scroll to current page when exit from presentation
1753 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1755 * shell/ev-window.c: (update_document_mode),
1756 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1757 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1758 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1760 Exit from fullscreen mode when switch to presentation. Fix for
1763 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1765 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1766 return NULL if the document does not implement the selection
1769 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1771 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1772 reported height by using the resolution aspect ratio
1773 (tiff_document_render_pixbuf): scale the pixbuf using the
1774 resolution aspect ratio
1776 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1780 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1781 <kiltedaco@gmail.com>
1783 * djvu/djvu-document.c: (djvu_document_get_orientation),
1784 (djvu_document_set_orientation), (djvu_document_get_page_size),
1785 (rotate_pixbuf), (djvu_document_render_pixbuf),
1786 (djvu_document_document_iface_init):
1787 * dvi/dvi-document.c: (dvi_document_get_orientation),
1788 (dvi_document_set_orientation), (dvi_document_get_page_size),
1789 (rotate_pixbuf), (dvi_document_render_pixbuf),
1790 (dvi_document_document_iface_init):
1792 Dvi and djvu backends are ported to new API
1794 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1796 * backend/ev-selection.c: (ev_selection_get_selection_region),
1797 (ev_selection_get_selection_map):
1798 * backend/ev-selection.h:
1799 * pdf/ev-poppler.cc:
1800 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1802 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1803 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1804 (ev_pixbuf_cache_get_text_mapping):
1805 * shell/ev-pixbuf-cache.h:
1806 * shell/ev-view.c: (location_in_text),
1807 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1808 support to EvView. Now we can see where we can select! Sweet!
1810 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1812 * shell/ev-view.c (ev_view_button_press_event): Fix
1813 event->y + view->scroll_x typo.
1815 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1817 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1818 sub-GdkPixbuf instead of passing dest_x and dest_y.
1820 * shell/ev-view.c: (view_point_to_doc_point),
1821 (view_rect_to_doc_rect), (ev_view_button_press_event),
1822 (ev_view_motion_notify_event), (compute_new_selection_rect),
1823 (gdk_rectangle_point_in), (compute_new_selection_text),
1824 (compute_selections): Update selection code to keep the selection
1825 around as two points and not as a normalized rectangle, and fix
1826 page level selection in two-column mode.
1828 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1830 * shell/ev-window.c: (window_configure_event_cb):
1834 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1836 * pdf/ev-poppler.cc:
1840 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1842 * shell/Makefile.am:
1843 * shell/ev-metadata-manager.c: (item_free),
1844 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1845 (parse_value), (parseItem), (load_values),
1846 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1847 (save_values), (save_item), (get_oldest), (resize_items),
1848 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1849 * shell/ev-metadata-manager.h:
1851 Metadata manager from gedit but modified to use GValue, so that
1852 we dont need to keep converting from strings.
1856 ENABLE_METADATA conditional, on when dbus is on
1858 * shell/ev-application.c: (ev_application_open_uri):
1860 Show the window after load so that we can initialize
1861 window size before it's showed.
1863 * shell/ev-window.c: (ev_window_setup_from_metadata),
1864 (ev_window_open_uri), (window_configure_event_cb),
1867 Save and load metadata information about window size.
1868 Not yet keeping states in account.
1870 * shell/main.c: (main):
1872 Shutdown metadata manager.
1874 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1876 * shell/ev-application-service.xml:
1878 * shell/Makefile.am:
1879 * shell/ev-application.c:
1880 * shell/ev-application.h:
1881 * shell/ev-window.c:
1882 * shell/ev-window.h:
1885 Add an optional dbus interface (--enable-dbus).
1886 Rework application code, mainly to be easier to
1888 Do not open multiple windows with the same document,
1891 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1893 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1894 pixbuf iff it exists.
1896 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1899 * backend/ev-render-context.[ch]:
1900 * backend/ev-selection.[ch]:
1902 Massive changes. We now support text selection of pdfs, and not
1903 just rectangular selection. This is pretty broken still, but I
1904 want to get something into CVS.
1906 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1908 * pdf/ev-poppler.cc:
1910 Fix for Bug 309080: crash on window close.
1912 * shell/ev-page-action.c: (page_changed_cb):
1914 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1915 jensgr@gmx.net (Jens Granseuer).
1917 2005-06-25 Marcel Telka <marcel@telka.sk>
1919 * configure.in (ALL_LINGUAS): Added sk.
1921 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1923 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1926 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1933 * cut-n-paste/recent-files/Makefile.am:
1937 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1939 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1940 (pixbuf_document_set_orientation), (rotate_pixbuf),
1941 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1942 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1944 Implement rotation and cleanup the code a bit.
1946 * tiff/tiff-document.c: (tiff_document_get_page_size),
1947 (tiff_document_get_orientation), (tiff_document_set_orientation),
1948 (rotate_pixbuf), (tiff_document_render_pixbuf),
1949 (tiff_document_document_iface_init), (tiff_document_init):
1951 Implement rotation. Was the quicker solution for the release
1952 but we really need to share this code in the shell.
1954 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1956 * pdf/ev-poppler.cc:
1958 Enable rotation, require poppler cvs. Fix a leak.
1960 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1962 * shell/ev-window.c: (update_action_sensitivity):
1964 Make properties unsensitive if document backend doesn't provide
1967 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1969 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1970 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1971 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1972 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1973 (bitmap_flip_rotate_counter_clockwise):
1974 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1975 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1977 * dvi/mdvi-lib/common.h:
1978 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1979 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1980 (opendvi), (mdvi_reload), (mdvi_init_context),
1981 (mdvi_destroy_context), (mdvi_dopage), (special):
1982 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1983 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1984 (file_hash_free), (register_encoding), (parse_spec),
1985 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1986 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1987 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1988 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1989 (mdvi_register_font_type), (mdvi_unregister_font_type),
1990 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1991 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1992 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1993 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1994 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1995 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1996 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1997 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1998 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1999 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2000 (mdvi_unregister_special), (mdvi_flush_specials):
2001 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2003 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2004 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2005 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2006 (free_font_metrics), (flush_font_metrics):
2007 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2009 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2010 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2011 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2012 (dstring_insert), (dstring_new), (dstring_reset):
2013 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2015 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2016 avoid conflict with libtool on FC4
2018 * shell/ev-window.c: (ev_window_cmd_help_about):
2020 Update copyright year. Fix for bug 308828.
2022 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2024 * shell/ev-view.c: (add_scroll_binding_keypad),
2025 (ev_view_binding_activated), (ev_view_class_init),
2026 (on_adjustment_value_changed):
2028 Bug 170874: Arrow keys switch pages in presentation mode
2030 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2032 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2034 Fix for Bug 308265: Sidebar dissappears coming out of
2037 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2039 * shell/ev-application.c: (ev_application_open):
2040 * shell/ev-document-types.c: (ev_document_types_add_filters),
2041 (ev_document_types_add_filters_for_type):
2042 * shell/ev-document-types.h:
2043 * shell/ev-window.c: (ev_window_cmd_save_as):
2045 Suggest basename as template when saving, provide filters
2046 for save dialog. It's bug 308402
2048 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2050 * pdf/ev-poppler.cc:
2051 * shell/ev-sidebar-links.c: (job_finished_callback):
2052 * shell/ev-view.c: (update_find_status_message):
2056 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2058 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2059 (egg_recent_view_uimanager_set_list):
2061 Fix buglet in !show_numbers case.
2063 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2065 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2066 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2068 Use pango ellipsisation.
2070 * pdf/ev-poppler.cc:
2072 Fix refcount leak, from nsh.
2074 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2076 * cut-n-paste/recent-files/Makefile.am:
2077 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2078 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2080 Removed EggRecentViewGtk
2082 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2083 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2084 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2085 (ev_window_setup_recent):
2087 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2090 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2092 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2093 (egg_recent_view_gtk_finalize):
2097 * cut-n-paste/toolbar-editor/Makefile.am:
2099 Fix location of cursor icon.
2101 * pdf/ev-poppler.cc:
2102 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2103 (display_completion_text), (match_completion):
2104 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2105 (selection_changed_callback), (create_loading_model),
2106 (print_section_cb), (links_page_num_func),
2107 (update_page_callback_foreach):
2108 * shell/ev-window.c: (ev_window_dispose):
2110 Small memory fixes. Links model now store objects instead
2111 of pointers to improve memory management.
2113 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2115 * shell/ev-window.c: (zoom_control_changed_cb):
2117 Fix update of zoom control (bug 308268).
2119 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2121 * shell/ev-properties.c (set_property): escape the text correctly.
2122 Handles non-UTF-8 properties and escaped properties. Also, sets
2123 the text to "<i>None</i>" if the property isn't set.
2125 * data/evince-properties.glade: Change the label to be ellipsized,
2126 and give it a minimum size.
2128 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2130 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2131 * shell/ev-sidebar-links.c: (create_loading_model):
2132 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2133 * shell/ev-view.c: (ev_view_set_document):
2134 * shell/ev-window.c: (ev_window_dispose):
2136 Various small fixes, mostly memory leaks. Thanks to valgrind.
2138 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2140 * ps/ps-document.c: remove the locale.h include again ;-). And
2141 kill the (bogus) setlocale/savelocale business.
2143 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2147 Include locale.h to fix build
2149 * shell/ev-sidebar.c:
2151 Remove unnecessary includes
2153 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2155 * dvi/dvi-document.c: (dvi_document_load):
2156 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2159 Check for incorrect dvi files. Fix parsing dvi on AMD64
2160 platform. Thanks to tester@tester.ca (Olivier Crete).
2162 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2164 * shell/ev-page-action.c: (match_selected_cb),
2165 (display_completion_text), (match_completion), (update_model):
2166 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2167 (expand_open_links):
2168 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2169 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2170 (ev_sidebar_set_document):
2171 * shell/ev-window.c: (ev_window_xfer_job_cb),
2172 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2174 Fixed lot's of memory leaks, for example, memory leak on reload,
2175 described in bug 307793.
2177 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2179 * pdf/ev-poppler.cc:
2180 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2181 (update_visible_range), (adjustment_changed_cb),
2182 (ev_sidebar_thumbnails_fill_model),
2183 (ev_sidebar_thumbnails_refresh),
2184 (ev_sidebar_tree_selection_changed),
2185 (ev_sidebar_icon_selection_changed),
2186 (ev_sidebar_thumbnails_use_icon_view),
2187 (ev_sidebar_thumbnails_set_document):
2188 * shell/ev-sidebar-thumbnails.h:
2189 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2190 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2192 Refresh thumbnails when changing orientation. Not fully
2193 working yet becuase of a sidebar bug.
2195 Set page orientation to poppler page everywhere. This sucks
2196 really need to fix poppler.
2198 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2200 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2201 (egg_recent_view_gtk_new_menu_item),
2202 (egg_recent_view_gtk_set_property),
2203 (egg_recent_view_gtk_get_property),
2204 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2205 (egg_recent_view_gtk_set_tooltip_func),
2206 (egg_recent_view_gtk_set_label_width),
2207 (egg_recent_view_gtk_get_label_width):
2208 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2210 Sync with libegg (ellipsize labels)
2212 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2214 * data/evince-ui.xml:
2215 * shell/ev-window.c: (ev_window_cmd_go_forward),
2216 (ev_window_cmd_go_backward):
2218 Shift + PageUp moves 10 Pages. Fix for 306125
2220 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2222 * pdf/ev-poppler.cc:
2224 Add a flag to check if orientation has been overriden
2226 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2228 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2231 * ps/ps.h: add creator field to document.
2233 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2236 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2238 * data/evince-properties.glade:
2239 * shell/ev-properties.c: (ev_properties_set_document):
2241 s/PDF Version/Format
2243 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2245 * shell/ev-properties.c: (ev_properties_set_document):
2247 Remove unnecessary translations
2249 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2251 * cut-n-paste/toolbar-editor/Makefile.am:
2253 Correct library name
2255 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2258 * cut-n-paste/recent-files/egg-recent-model.c:
2259 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2260 (egg_recent_model_unlock_file):
2261 * cut-n-paste/recent-files/egg-recent-util.c:
2262 (egg_recent_util_get_unique_id):
2263 * cut-n-paste/recent-files/update-from-egg.sh:
2264 * cut-n-paste/toolbar-editor/Makefile.am:
2265 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2266 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2267 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2268 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2269 (egg_toolbars_model_get_type):
2270 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2272 Better makefile for toolbar editor and update everything
2275 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2277 * shell/ev-window.c: (update_document_mode):
2279 Prefer presentation mode when the document
2282 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2284 * data/evince-ui.xml:
2285 * shell/ev-window.c:
2287 Add control-equal for zooming
2289 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2291 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2293 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2295 * backend/ev-document.c: (ev_document_get_orientation):
2296 * backend/ev-document.h:
2297 * pdf/ev-poppler.cc:
2298 * ps/ps-document.c: (ps_document_get_orientation),
2299 (ps_document_set_orientation), (ps_document_document_iface_init):
2301 Add a get_orientation api. Improve set_orientation.
2303 * data/evince-ui.xml:
2304 * shell/ev-view.c: (ev_view_set_orientation),
2305 (ev_view_rotate_right), (ev_view_rotate_left):
2307 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2308 (ev_window_cmd_edit_rotate_right):
2310 Better ui for changing document orientation
2312 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2314 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2315 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2316 * shell/ev-sidebar-links.h:
2317 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2318 (ev_sidebar_page_iface_init):
2319 * shell/ev-sidebar-page.h:
2320 * shell/ev-sidebar-thumbnails.c:
2321 (ev_sidebar_thumbnails_get_property),
2322 (ev_sidebar_thumbnails_class_init),
2323 (ev_sidebar_thumbnails_set_document):
2324 * shell/ev-sidebar-thumbnails.h:
2325 * shell/ev-view.c: (ev_view_motion_notify_event):
2326 * shell/ev-window.c: (update_chrome_visibility),
2327 (ev_window_cmd_focus_page_selector),
2328 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2329 (sidebar_page_main_widget_update_cb), (ev_window_init):
2331 Autoraise toolbar on GoToPage binding and fix bindings in
2332 EvSidebarThumbnails page.
2334 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2336 * shell/ev-properties.c: (update_progress_label):
2338 Hide the progress label when finished; bug #307697.
2340 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2342 * pdf/ev-poppler.cc:
2344 Enable is_open for links, you will need poppler cvs
2346 * shell/ev-properties.c: (job_fonts_finished_cb):
2348 Get a lock on the document when filling the tree view
2350 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2352 * backend/ev-document-links.h:
2353 * pdf/ev-poppler.cc:
2354 * shell/ev-sidebar-links.c: (create_loading_model),
2355 (expand_open_links), (job_finished_callback):
2357 Expand links when specified by the document.
2358 Depend on a poppler api (defined out for now)
2360 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2362 * shell/ev-properties.c: (ev_properties_dispose),
2363 (ev_properties_class_init), (dialog_destroy_cb),
2364 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2365 (ev_properties_set_document), (ev_properties_new),
2366 (ev_properties_show):
2367 * shell/ev-properties.h:
2369 Make it an object, cleanup the code, api to show it as transient
2370 and to set the document.
2372 * shell/ev-window.c: (ev_window_setup_document),
2373 (ev_window_cmd_file_properties):
2375 Adapt to EvProperties changes, do not show multiple
2376 times, update it when document changes.
2378 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2381 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2382 (ps_document_set_orientation), (ps_document_document_iface_init):
2385 Implement orientation here too
2387 * shell/ev-properties.c: (ev_properties_new):
2388 * data/evince-properties.glade:
2390 Hide the fonts page for backends that doesnt
2393 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2395 * backend/ev-document.c: (ev_document_set_orientation):
2396 * backend/ev-document.h:
2397 * pdf/ev-poppler.cc:
2399 Add orientation api. Currently poppler api is not optimal,
2400 we need to set orientation every time we _get a page.
2401 I will try to fix that at some point.
2403 * data/evince-ui.xml:
2404 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2405 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2407 Add orientation menu items
2409 * shell/ev-page-cache.c: (ev_page_cache_clear):
2410 * shell/ev-page-cache.h:
2412 Add api to clear the cache
2414 * shell/ev-view.c: (setup_caches), (clear_caches),
2415 (ev_view_set_document), (ev_view_zoom_out),
2416 (ev_view_set_orientation):
2419 Implement orientation changing
2421 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2423 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2424 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2425 * backend/ev-document-fonts.h:
2427 Separate scan and fill so that we can incrementally fill from
2428 the main thread. Add a progress api.
2430 * data/evince-properties.glade:
2431 * pdf/ev-poppler.cc:
2432 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2434 * shell/ev-properties.c: (update_progress_label),
2435 (job_fonts_finished_cb), (setup_fonts_view):
2437 Incrementally feel the list and show the progress
2438 percentage in a label like acrobat does.
2440 You are going to need poppler cvs
2442 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2444 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2445 * backend/ev-document-fonts.h:
2446 * pdf/ev-poppler.cc:
2448 Make fonts model fill incrementally.
2450 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2451 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2452 (ev_job_queue_remove_job):
2453 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2454 (ev_job_fonts_new), (ev_job_fonts_run):
2457 New job for fonts scanning
2459 * shell/ev-properties.c: (job_fonts_finished_cb),
2460 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2461 * shell/ev-properties.h:
2462 * shell/ev-window.c: (ev_window_cmd_file_properties):
2464 Incrementally feel the treeview using the new job. Show Loading...
2465 message until scanning is completed.
2467 Hopefully I didnt break the build without the poppler patch.
2469 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2471 * shell/ev-application.c: (ev_application_open):
2472 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2473 (ev_document_type_get_type), (ev_document_type_lookup):
2474 * shell/ev-document-types.h:
2475 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2476 * shell/ev-job-xfer.h:
2477 * shell/ev-window.c: (ev_window_clear_local_uri),
2478 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2479 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2480 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2482 Transfer remote documents to tmp directory to display them later.
2484 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2486 * backend/ev-document-info.h:
2487 * shell/ev-properties.c: (ev_properties_new):
2489 s/GTime*/GTime. Not sure why we was using a pointer
2492 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2494 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2495 situations. That situation is that you're using GTK+-HEAD with
2496 the patch at #306726 is applied, and you have a document with <
2497 1500 pages in it. It's not quite as uniformly nice as the
2498 TreeView, but should be better in the long run.
2500 I'm pretty sure I guarded against breaking compilation with
2501 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2504 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2505 widget yet, so I commented that code out
2506 enable_view_actions_for_widget() for now. Need to figure this
2509 * shell/ev-page-action.c (match_selected_cb): emit the right
2510 signals. Our cool C-l completion now works.
2512 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2514 * backend/Makefile.am:
2515 * backend/ev-document-fonts.c:
2516 * backend/ev-document-links.c:
2517 * backend/ev-document.c: (ev_document_load):
2518 * backend/ev-document.h:
2519 * backend/ev-job-queue.c:
2520 * backend/ev-job-queue.h:
2521 * backend/ev-jobs.c:
2522 * backend/ev-jobs.h:
2523 * backend/ev-page-cache.c:
2524 * backend/ev-page-cache.h:
2526 EvPageCache and EvJobs are moved to shell.
2528 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2530 * lib/ev-file-helpers.h:
2532 New helper to work with temporary files
2534 * shell/Makefile.am:
2535 * shell/ev-application.c: (ev_application_open):
2536 * shell/ev-application.h:
2537 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2538 (remove_job_from_async_queue), (add_job_to_async_queue),
2539 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2540 (handle_job), (search_for_jobs_unlocked),
2541 (no_jobs_available_unlocked), (ev_render_thread),
2542 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2543 (ev_job_queue_add_job), (move_job_async), (move_job),
2544 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2545 * shell/ev-job-queue.h:
2546 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2547 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2548 * shell/ev-job-xfer.h:
2549 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2550 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2551 (ev_job_links_class_init), (ev_job_render_init),
2552 (ev_job_render_dispose), (ev_job_render_class_init),
2553 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2554 (ev_job_thumbnail_class_init), (ev_job_load_init),
2555 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2556 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2557 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2558 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2560 * shell/ev-page-action.c: (ev_page_action_set_document):
2561 * shell/ev-page-cache.c: (ev_page_cache_init),
2562 (ev_page_cache_class_init), (ev_page_cache_finalize),
2563 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2564 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2565 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2566 (ev_page_cache_get_title), (ev_page_cache_get_size),
2567 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2568 (ev_page_cache_get_height_to_page),
2569 (ev_page_cache_get_max_label_chars),
2570 (ev_page_cache_get_page_label),
2571 (ev_page_cache_has_nonnumeric_page_labels),
2572 (ev_page_cache_get_info), (ev_page_cache_next_page),
2573 (ev_page_cache_prev_page), (ev_page_cache_get):
2574 * shell/ev-page-cache.h:
2575 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2576 (ev_pixbuf_cache_clear_job_sizes),
2577 (ev_pixbuf_cache_add_jobs_if_needed),
2578 (ev_pixbuf_cache_set_page_range):
2579 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2580 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2581 * shell/ev-sidebar-thumbnails.c:
2582 (ev_sidebar_tree_selection_changed),
2583 (ev_sidebar_thumbnails_set_document):
2584 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2585 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2586 (ev_statusbar_get_context_id), (ev_statusbar_push),
2587 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2588 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2589 (ev_statusbar_set_progress):
2590 * shell/ev-statusbar.h:
2591 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2592 (ev_view_find_previous):
2593 * shell/ev-window.c: (ev_window_is_empty),
2594 (ev_window_setup_document), (password_dialog_response),
2595 (ev_window_clear_jobs), (ev_window_load_job_cb),
2596 (ev_window_xfer_job_cb), (ev_window_open_uri),
2597 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2598 (ev_window_print), (ev_window_print_range),
2599 (ev_window_state_event), (ev_window_cmd_view_reload),
2600 (menu_item_select_cb), (menu_item_deselect_cb),
2601 (view_status_changed_cb), (ev_window_dispose),
2602 (drag_data_received_cb), (ev_window_init):
2603 * shell/ev-window.h:
2604 * shell/main.c: (load_files):
2606 New statusbar to show progress on idle. Two new jobs -
2607 xfer job and load job to load document in background. And update
2608 of page_cache clients to new location of code.
2610 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2612 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2613 selection in open dialog. It also remembers the last visited directory
2614 in the current session.
2616 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2618 * shell/ev-properties.c: (ev_properties_new):
2619 * shell/ev-properties.h:
2620 * shell/ev-window.c: (ev_window_cmd_file_properties):
2622 Get document info from page cache instead of document itself.
2623 This should fix crash related to race conditions described in
2626 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2628 * ps/ps-document.c: (ps_document_init),
2629 (send_ps), (get_page_box), (output), (catchPipe), (input),
2630 (stop_interpreter), (file_length), (file_readable),
2631 (check_filecompressedb), (ps_document_enable_interpreter),
2632 (document_load), (ps_async_renderer_render_pixbuf):
2635 Big cleanup of the ps code
2637 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2639 * backend/Makefile.am:
2640 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2641 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2642 * backend/ev-async-renderer.h:
2644 Add an async renderer interface (method + callback) which
2645 is useful for backends like ps.
2647 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2648 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2649 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2650 (ev_job_queue_add_job), (move_job_async), (move_job),
2651 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2653 Add queues for async renderer, these are executed on the
2656 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2657 (ev_job_render_run):
2658 * backend/ev-jobs.h:
2660 If the backend support async renderer interface use it.
2662 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2663 (setup_pixmap), (ps_document_get_type),
2664 (ps_async_renderer_render_pixbuf),
2665 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2667 Implement async renderer interface.
2669 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2671 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2673 Cleanup links job on exit.
2675 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2677 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2678 (drag_data_get_cb), (drag_data_received_cb):
2679 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2680 (drag_data_get_cb), (parse_item_list),
2681 (egg_toolbar_editor_load_actions):
2682 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2683 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2684 (parse_item_list), (parse_toolbars):
2685 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2686 (dvi_pixbuf_put_pixel):
2688 Fix gcc 4.0 warnings
2690 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2692 * ps/ps-document.c: (start_interpreter):
2694 Fix warning when loading ps
2696 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2698 * ps/ps-document.c: (output):
2700 Fix crash when priting gs error messages.
2702 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2704 * backend/ev-page-cache.c: (_ev_page_cache_new):
2705 * backend/ev-page-cache.h:
2707 Use a const to return title so that we dont double
2708 free it. Small cleanup and fix a leak.
2710 * shell/ev-window.c: (update_window_title):
2712 strdup value from get_title.
2714 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2716 * shell/ev-sidebar-links.c: (job_finished_callback),
2717 (ev_sidebar_links_set_document):
2719 Cleanup the old job when changing document
2721 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2723 * shell/ev-stock-icons.c:
2724 * shell/ev-stock-icons.h:
2725 * shell/ev-window.c:
2727 Add stock icons for actions that can appear in toolbar. Fix for
2730 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2732 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2733 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2734 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2735 * backend/ev-page-cache.h:
2736 * shell/ev-view.c: (scroll_to_current_page),
2737 (view_update_range_and_current_page), (get_page_y_offset),
2738 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2739 (ev_view_size_request_continuous),
2740 (ev_view_zoom_for_size_continuous_and_dual_page),
2741 (ev_view_zoom_for_size_continuous):
2743 More compact EvView layout in document with pages of different size.
2745 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2747 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2750 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2752 * shell/ev-view.c: (view_set_adjustment_values):
2753 * shell/ev-window.c: (ev_window_cmd_file_properties):
2755 A bit different fix for rounding problem but it has no
2756 problems on startup. Make properties window transient to parent.
2758 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2760 * pdf/ev-poppler.cc:
2762 More commenting of font stuff.
2764 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2766 * pdf/ev-poppler.cc:
2768 Comment out some more fonts stuff. Should really
2769 work without the poppler patch now.
2771 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2773 * pdf/ev-poppler.cc:
2777 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2779 * data/evince-properties.glade:
2780 * pdf/ev-poppler.cc:
2781 * shell/ev-properties.c: (setup_fonts_view):
2783 Set the column title. Show the dialog only
2784 once everything is setup.
2785 Getting font info can be very slow... will
2786 prolly need to make this threaded too.
2788 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2790 * backend/Makefile.am:
2791 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2792 (ev_document_fonts_get_fonts_model):
2793 * backend/ev-document-fonts.h:
2794 * data/evince-properties.glade:
2795 * pdf/ev-poppler.cc:
2796 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2797 * shell/ev-properties.h:
2798 * shell/ev-window.c: (ev_window_cmd_file_properties):
2800 Implement fonts list. Defined out for now, since it depends
2801 on a not yet committed poppler patch.
2803 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2805 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2808 * shell/ev-window.c: Make sure we add the timeout when we get a
2811 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2812 adjustment->value before calculating the zoom factor to average
2813 out all of our rounding errors. The page no longer 'drifts' when
2816 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2818 * data/evince-properties.glade:
2819 * shell/ev-properties.c: (ev_properties_format_date),
2822 Labels don't expand when the dialogue is resized.
2823 strftime result needs to be converted to UTF-8. Thanks
2824 to Christian Persch <chpe@gnome.org>.
2826 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2828 * data/evince-properties.glade:
2832 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2834 * backend/ev-document-info.h:
2835 * backend/ev-document.c: (ev_document_info_free):
2836 * data/evince-properties.glade:
2837 * pdf/ev-poppler.cc:
2838 * ps/ps-document.c: (ps_document_get_info):
2839 * shell/ev-properties.c: (ev_properties_format_date),
2840 (set_property), (ev_properties_new):
2841 * shell/ev-properties.h:
2842 * shell/ev-window.c: (ev_window_cmd_file_properties):
2844 Rework properties code to take only EvPropertyInfo
2845 in the constructor so that it can be useful for
2846 nautilus plugin too.
2848 Deal with backends that doesnt support some properties.
2849 Make set property code generic.
2851 2005-06-04 Christian Persch <chpe@gnome.org>
2853 * data/evince-properties.glade:
2855 fix spacings, make resizeable, and make data labels
2856 selectable + ellipsised
2858 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2860 * backend/ev-document-info.h:
2862 * data/evince-ui.xml:
2863 * pdf/ev-poppler.cc:
2864 * shell/Makefile.am:
2865 * shell/ev-window.c: (update_action_sensitivity),
2866 (ev_window_cmd_file_properties):
2868 Initial go at file properties. Patch by
2869 Emil Soleyman-Zomalan <emil@soleyman.com>.
2870 Needs love see #169583
2872 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2874 * ps/ps-document.c: (output):
2875 * ps/ps.c: (psscan):
2877 Try to render even if psscan fails.
2879 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2881 * ps/ps.c: (psscan), (pscopydoc):
2883 Port buffered reading code from gv
2885 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2887 * ps/ps-document.c: (interpreter_message), (output):
2889 Do not fail on interpreter messages
2891 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2893 * backend/ev-document-misc.c:
2894 (ev_document_misc_get_thumbnail_frame):
2896 Pages can be 0 x 0, dont assert on this case
2898 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2900 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2901 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2903 Correctly manage our reference on document. Finally the reload
2904 huge leak is gone...
2906 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2908 * ps/ps-document.c: (ps_document_dispose):
2910 Forgot to chain it to the parent. Thanks chpe.
2912 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2914 * ps/ps-document.c: (ps_document_dispose),
2915 (ps_document_class_init), (stop_interpreter), (document_load):
2917 Cleanup dispose a bit. Dont leak the whole pixmap.
2919 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2921 * pdf/ev-poppler.cc:
2923 Release the poppler document on dispose
2925 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2927 * shell/ev-view.c: (ev_view_set_document):
2929 Release ref on the pixbuf cache when changing
2932 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2934 * ps/ps-document.c: (ps_document_get_info):
2938 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2940 * backend/ev-page-cache.c: (ev_page_cache_init),
2941 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2942 * backend/ev-page-cache.h:
2943 * shell/ev-page-action.c: (page_changed_cb):
2945 Set page action entry width depending on labels width. Fix
2948 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2950 * backend/ev-link.c: (ev_link_class_init):
2952 Allow -1 as page value (error)
2954 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2956 * shell/ev-sidebar-thumbnails.c:
2957 (ev_sidebar_thumbnails_set_document):
2958 * shell/ev-view.c: (scroll_to_current_page),
2959 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2960 (page_changed_cb), (on_adjustment_value_changed),
2961 (ev_view_set_document):
2963 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2966 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2969 * djvu/djvu-document.c: (djvu_document_get_page_size):
2971 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2974 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2976 * shell/ev-view.c (draw_one_page): modify the expose handling to
2979 * shell/ev-window.c (update_action_sensitivity): Respect
2980 permissions field. Kowtow to the man.
2982 * pdf/ev-poppler.cc: Get the permissions field.
2984 * tiff/*c: Make a tiny bit more robust.
2986 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2988 * djvu/djvu-document.c:
2990 Pop messages from djvu context message queue.
2992 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2994 * configure.ac, Makefile.am, shell/Makefile.am:
2995 * tiff/Makefile.am, shell/ev-document-types.c:
2997 Cleanup tiff configure checks. Fix for bug 305218.
2999 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3001 * configure.ac: Added "uk" to ALL_LINGUAS.
3003 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3005 * cut-n-paste/zoom-control/ephy-zoom.c:
3006 (ephy_zoom_get_changed_zoom_level):
3007 * cut-n-paste/zoom-control/ephy-zoom.h:
3008 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3009 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3010 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3011 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3012 (zoom_control_changed_cb), (ev_window_init):
3014 Fix minor points related to moving best fit up. Introduce
3015 "zoom" property and make zoom control change it's value on
3016 notify::zoom signals. Fix for 305080.
3018 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3020 * data/evince-ui.xml:
3021 * shell/ev-window.c: (set_view_actions_sensitivity):
3023 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3025 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3029 Depends on poppler 0.3.2
3031 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3033 * cut-n-paste/recent-files/egg-recent-item.c:
3034 (egg_recent_item_get_short_name):
3035 * cut-n-paste/toolbar-editor/Makefile.am:
3036 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3037 (new_pixbuf_from_widget):
3038 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3039 * cut-n-paste/toolbar-editor/egg-marshal.c:
3040 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3041 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3045 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3047 * tiff/tiff-document.c: Rough TIFF backend.
3049 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3053 * cut-n-paste/toolbar-editor/Makefile.am:
3057 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3059 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3060 (ev_view_find_next), (ev_view_find_previous):
3062 Remove the locks around get_n_results
3064 2005-05-21 Juerg Billeter <j@bitron.ch>
3066 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3068 Pass correct number of pages to poppler.
3070 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3074 * data/evince.desktop.in:
3075 * data/evince.desktop.in.in:
3078 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3080 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3082 * shell/ev-view.c: (view_update_adjustments),
3083 (view_set_adjustment_values): cast adjustmen->value to (int)
3084 before using it. Otherwise, we get off by a pixel in some
3087 (draw_one_page): Draw the border on expose.
3089 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3091 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3092 adjustment when the mode changes, #304923
3094 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3096 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3097 flickering on resize but still use gdk_window_scroll on
3100 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3102 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3105 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3107 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3108 second page on page_changed if possible, #304669
3110 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3112 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3113 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3115 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3118 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3119 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3120 (ev_view_zoom_for_size_presentation),
3121 (ev_view_zoom_for_size_continuous_and_dual_page),
3122 (ev_view_zoom_for_size_continuous),
3123 (ev_view_zoom_for_size_dual_page),
3124 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3126 * shell/ev-window.c: (update_view_size),
3127 (ev_window_sizing_mode_changed_cb):
3129 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3130 the scrollbars. It's not 100% right, but it's much closer. Kills
3131 an infinite loop, #304769
3134 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3136 * data/evince-ui.xml:
3137 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3138 * shell/ev-window.c: (set_view_actions_sensitivity):
3140 Make PgUp/Down behave like Space
3142 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3144 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3145 * backend/ev-ps-exporter.h:
3146 * pdf/ev-poppler.cc:
3147 * ps/ps-document.c: (ps_document_ps_export_begin):
3148 * shell/ev-print-job.c: (idle_print_handler):
3150 Adapt to new poppler api
3152 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3154 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3155 (ephy_zoom_control_init):
3157 Translate zoom levels
3159 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3161 * cut-n-paste/zoom-control/ephy-zoom.c:
3162 (ephy_zoom_get_zoom_level_index):
3164 Fix current zoom -> zoom control match
3166 2005-05-18 James Bowes <bowes@cs.dal.ca>
3168 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3169 rather than the scrolled_window that it's in. Fixes bug #304655.
3171 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3173 * shell/ev-view.c: (view_update_adjustments),
3174 (view_set_adjustment_values), (view_update_range_and_current_page),
3175 (view_scroll_to_page), (set_scroll_adjustment),
3176 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3177 (ev_view_scroll), (ev_view_scroll_view),
3178 (ensure_rectangle_is_visible), (find_page_at_location),
3179 (get_link_at_location), (go_to_link), (status_message_from_link),
3180 (ev_view_size_request_continuous_dual_page),
3181 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3182 (ev_view_unrealize), (ev_view_expose_event),
3183 (ev_view_button_press_event), (ev_view_motion_notify_event),
3184 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3185 (draw_rubberband), (highlight_find_results), (draw_one_page),
3186 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3187 (ev_view_init), (find_changed_cb), (page_changed_cb),
3188 (on_adjustment_value_changed), (ev_view_new),
3189 (ev_view_set_document), (ev_view_set_zoom),
3190 (ev_view_set_continuous), (ev_view_set_dual_page),
3191 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3192 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3193 (ev_view_zoom_for_size_presentation),
3194 (ev_view_zoom_for_size_continuous_dual_page),
3195 (ev_view_zoom_for_size_continuous),
3196 (ev_view_zoom_for_size_dual_page),
3197 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3198 (ev_view_get_status), (ev_view_set_status),
3199 (update_find_status_message), (ev_view_get_find_status),
3200 (ev_view_set_find_status), (jump_to_find_result),
3201 (jump_to_find_page), (compute_selections), (clear_selection),
3202 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3203 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3204 (ev_view_update_primary_selection),
3205 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3207 * shell/ev-window.c: (ev_window_open_page_label),
3208 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3210 * shell/ev-window.h:
3211 * shell/main.c: (load_files):
3213 Massive code clean up from Nickolay Shmyrev. Keep page offset
3214 when resizing. Remove the bin_window(). Also, patch from James
3215 Bowes to fix command line page, #300641
3217 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3219 * data/evince-ui.xml:
3222 * shell/ev-window.c: (update_action_sensitivity):
3224 Get rid of View->Normal Size, it's just confusing
3226 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3228 * backend/ev-document-info.h:
3229 * backend/ev-document.c: (ev_document_info_free): Free the
3232 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3233 (clear_range), (add_range), (update_visible_range),
3234 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3235 (ev_sidebar_thumbnails_set_document):
3236 * shell/ev-window.c: (ev_window_setup_document): Only render the
3237 visible thumbnails. It takes an instant to render, but it uses
3240 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3242 * shell/ev-sidebar-links.c: (popup_menu_cb):
3246 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3249 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3250 (button_press_cb), (ev_sidebar_links_construct):
3252 Show the popup menu also on keybindings
3254 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3256 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3257 * shell/ev-window.h:
3259 Expose api to print a range (with dialog). Make private _print use
3262 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3263 (ev_sidebar_links_construct):
3265 Show a print context menu on linkx, it prints the selected
3268 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3270 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3273 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3279 * shell/ev-window.c: (build_comments_string),
3280 (ev_window_cmd_help_about):
3282 Show poppler version/backend and authors
3284 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3286 * cut-n-paste/zoom-control/ephy-zoom.c:
3287 (ephy_zoom_get_zoom_level_index):
3288 * cut-n-paste/zoom-control/ephy-zoom.h:
3290 Move the best fit items at the top of the list
3292 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3294 * shell/ev-marshal.list:
3295 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3296 (activate_cb), (match_selected_cb), (activate_link_cb),
3297 (connect_proxy), (ev_page_action_class_init):
3298 * shell/ev-page-action.h:
3300 Use signals to notify action activation. Hopefully
3301 I did not break completion since I cant test...
3303 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3304 (register_custom_actions):
3306 Connect to page selector actions and also grab focus on
3307 the view when activated.
3309 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3311 * pdf/ev-poppler.cc:
3312 * backend/ev-page-cache.c: make page size calculation consistent
3313 and set it to (int)( width * scale + 0.5). This makes the weird
3314 line going through the middle of the page go away.
3316 * shell/ev-view.c: move painting the background page after
3317 checking the expose area covers us.
3319 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3321 * data/evince-password.glade:
3323 Mark labels as not translatable. Fix for bug 302842.
3325 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3327 * configure.ac: Added "es" to ALL_LINGUAS.
3329 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3331 * data/evince-toolbar.xml:
3332 * shell/ev-window.c: (update_action_sensitivity),
3333 (ev_window_setup_document), (ev_window_set_page_mode),
3336 Remove some leftover code from jrb first continous
3337 attempt. Use the new actions, we still need good icons
3340 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3342 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3344 Update label when connecting proxy. Fix a warning with NULL
3347 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3349 * data/evince-ui.xml:
3350 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3351 * shell/ev-page-action.h:
3352 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3354 Add mnemonic for edit toolbar.
3355 ctrl+l focus the page entry.
3357 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3360 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3362 * shell/main.c: (main):
3364 Put the toolbar xml in evince own dot dir
3366 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3368 * shell/ev-window.c: (ev_window_init):
3370 Make the toolbar not removable
3372 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3374 * data/evince-ui.xml:
3375 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3376 * shell/ev-sidebar-links.h:
3377 * shell/ev-sidebar-thumbnails.c:
3378 (ev_sidebar_thumbnails_get_treeview):
3379 * shell/ev-sidebar-thumbnails.h:
3380 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3381 (ev_view_class_init):
3383 * shell/ev-window.c: (update_action_sensitivity),
3384 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3385 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3386 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3389 This is evil... Make space/backspace global accelerators but
3390 enable them only for some widgets (sidebars and view).
3391 I dont like it, but I dont know a better way... :/
3393 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3395 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3396 (ev_page_action_widget_finalize),
3397 (ev_page_action_widget_class_init), (update_page_cache):
3399 Keep a weak reference on proxy->page_cache so that we
3400 dont try to disconnect the signal if the object is already
3401 gone. Maybe there is a better way to cleanup reference handling
3402 in page action though...
3404 2005-05-10 Juerg Billeter <j@bitron.ch>
3406 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3407 * backend/ev-ps-exporter.h:
3408 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3409 * ps/ps-document.c: (ps_document_ps_export_begin):
3411 Change api to pass print range to ps_exporter_begin. The pdf backend
3412 requires this information.
3414 * shell/ev-print-job.c: (idle_print_handler):
3418 2005-05-10 Juerg Billeter <j@bitron.ch>
3420 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3421 (idle_print_handler)
3422 * shell/ev-window.c: (ev_window_print):
3424 Support printing page range, based on patch by Amaury Jacquot
3426 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3428 * data/evince-toolbar.xml:
3430 Add zoom control to available items
3432 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3434 * shell/ev-window.c: (update_action_sensitivity):
3436 Set slash action insensitive when appropriate
3438 2005-05-10 Christian Persch <chpe@gnome.org>
3440 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3442 Fix warning on the overflow menu
3444 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3446 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3448 Check for uri correctness/existence
3450 2005-05-09 Juerg Billeter <j@bitron.ch>
3452 * shell/ev-window.c: (using_postscript_printer):
3454 LPD printers use postscript, too
3456 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3458 * shell/ev-window.c: (register_custom_actions):
3460 The zoom one is actually sort of useful,
3463 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3465 * shell/ev-window.c: (register_custom_actions):
3467 Hide page/zoom controls from overflow, they
3470 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3472 * cut-n-paste/update-from-egg.sh:
3474 Share it between all cut-n-paste subdirs
3476 * cut-n-paste/recent-files/Makefile.am:
3478 Fix to use "global" update-from-egg.sh
3480 * cut-n-paste/recent-files/egg-recent-model.c:
3481 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3482 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3483 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3484 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3488 * cut-n-paste/toolbar-editor/Makefile.am:
3490 Fix to use "global" update-from-egg.sh
3492 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3496 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3499 * cut-n-paste/Makefile.am:
3500 * cut-n-paste/recent-files/Makefile.am:
3501 * cut-n-paste/toolbar-editor/.cvsignore:
3502 * cut-n-paste/toolbar-editor/Makefile.am:
3503 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3504 (egg_editable_toolbar_get_type), (get_toolbar_position),
3505 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3506 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3507 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3508 (set_item_drag_source), (create_item_from_action), (create_item),
3509 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3510 (popup_toolbar_context_menu_cb), (free_dragged_item),
3511 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3512 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3513 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3514 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3515 (item_added_cb), (item_removed_cb),
3516 (egg_editable_toolbar_construct),
3517 (egg_editable_toolbar_disconnect_model),
3518 (egg_editable_toolbar_deconstruct),
3519 (egg_editable_toolbar_set_model),
3520 (egg_editable_toolbar_set_ui_manager),
3521 (egg_editable_toolbar_set_property),
3522 (egg_editable_toolbar_get_property),
3523 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3524 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3525 (egg_editable_toolbar_new_with_model),
3526 (egg_editable_toolbar_get_edit_mode),
3527 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3528 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3529 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3530 (new_pixbuf_from_widget), (new_separator_pixbuf),
3531 (update_separator_image), (style_set_cb),
3532 (_egg_editable_toolbar_new_separator_image),
3533 (egg_editable_toolbar_get_model):
3534 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3535 * cut-n-paste/toolbar-editor/egg-marshal.c:
3536 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3537 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3538 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3539 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3540 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3541 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3542 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3543 (editor_drag_data_delete_cb), (drag_data_get_cb),
3544 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3545 (editor_create_item), (update_editor_sheet), (setup_editor),
3546 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3547 (parse_item_list), (model_has_action), (update_actions_list),
3548 (egg_toolbar_editor_load_actions):
3549 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3550 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3551 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3552 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3553 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3554 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3555 (egg_toolbars_model_add_separator), (impl_add_item),
3556 (parse_item_list), (egg_toolbars_model_add_toolbar),
3557 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3558 (impl_get_item_data), (impl_get_item_type),
3559 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3560 (egg_toolbars_model_init), (free_toolbar),
3561 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3562 (egg_toolbars_model_remove_toolbar),
3563 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3564 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3565 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3566 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3567 (egg_toolbars_model_get_item_data),
3568 (egg_toolbars_model_get_item_type):
3569 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3570 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3572 * data/evince-toolbar.xml:
3573 * data/evince-ui.xml:
3574 * data/hand-open.png:
3576 * shell/Makefile.am:
3577 * shell/ev-window.c: (update_chrome_visibility),
3578 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3579 (ev_window_dispose), (ev_window_init):
3581 Implement epiphany like toolbar editor. Based on patch by
3582 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3584 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3586 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3588 Use set_cursor instead of set_selection, so that
3589 the keyboard focus moves too.
3591 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3593 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3595 Fix infinite loop when loading Type1 fonts
3597 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3599 * data/evince-ui.xml:
3600 * shell/ev-window.c:
3604 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3608 Make --disable really disable
3610 2005-05-07 Juerg Billeter <j@bitron.ch>
3612 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3614 Compare page labels even without has_labels set, fixes setting page
3617 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3619 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3620 (ev_view_set_cursor), (ev_view_button_press_event),
3621 (ev_view_motion_notify_event), (ev_view_button_release_event),
3624 Implement middle button scrolling. Based on a patch
3625 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3627 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3629 * shell/ev-document-types.c: (get_slow_mime_type),
3630 (get_document_type_from_mime), (ev_document_type_lookup):
3631 * shell/ev-document-types.h:
3633 Change api to lookup from uri. Do fast lookup first, if the
3634 type is unknown try with data sniffing.
3636 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3637 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3641 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3643 * thumbnailer/Makefile.am:
3647 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3654 * data/evince-ui.xml:
3656 Hide presentation mode for now
3658 * shell/ev-view.c: (highlight_find_results):
3660 Show current find selection only on current page
3662 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3664 * shell/ev-view.c: (ev_view_select_all):
3666 Compute size of the actual page, not of
3669 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3671 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3672 (view_rect_to_doc_rect), (compute_selections),
3673 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3674 (ev_view_copy), (ev_view_primary_get_cb),
3675 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3676 (ev_view_button_press_event), (ev_view_motion_notify_event),
3677 (ev_view_button_release_event), (page_changed_cb):
3681 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3683 * shell/ev-view.c: (compute_border), (get_page_extents),
3684 (doc_rect_to_view_rect), (highlight_find_results),
3685 (ev_view_bin_expose), (ev_view_select_all),
3686 (ev_view_motion_notify_event), (update_find_status_message),
3687 (jump_to_find_result), (jump_to_find_page):
3689 First go at fixing search, still buggy
3691 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3693 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3694 dropdown box and button at the top of the sidebar.
3696 2005-05-02 James Bowes <bowes@cs.dal.ca>
3698 * configure.ac: Output zoom-control Makefile.
3699 * cut-n-paste/Makefile.am: build zoom-control subdir.
3700 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3701 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3702 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3703 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3704 * cut-n-paste/zoom-control/ephy-zoom.c:
3705 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3706 from epiphany, and modified to add a separator into the menu.
3707 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3708 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3709 zoom-control action.
3710 * shell/Makefile.am: Include zoom-control flags.
3711 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3712 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3713 (ev_view_zoom_for_size_presentation),
3714 (ev_view_zoom_for_size_continuous_and_dual_page),
3715 (ev_view_zoom_for_size_continuous),
3716 (ev_view_zoom_for_size_dual_page),
3717 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3718 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3719 ev_view_get_zoom and ev_view_get_sizing_mode.
3721 * shell/ev-window.c: (update_action_sensitivity),
3722 (update_sizing_buttons), (zoom_control_changed_cb),
3723 (register_custom_actions): Initialize and use the zoom-control
3726 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3728 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3729 preview cache back to 1. Don't know when it got set to 0.
3731 * shell/ev-view.c: (compute_border), (ev_view_realize),
3732 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3733 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3734 (ev_view_get_fullscreen), (ev_view_set_presentation),
3735 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3736 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3738 * shell/ev-window.c:
3739 (update_chrome_visibility),
3740 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3741 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3742 (update_document_mode), (ev_window_update_fullscreen_action),
3743 (ev_window_fullscreen), (ev_window_unfullscreen),
3744 (ev_window_cmd_view_fullscreen),
3745 (ev_window_update_presentation_action),
3746 (ev_window_run_presentation), (ev_window_stop_presentation),
3747 (ev_window_cmd_view_presentation), (ev_window_state_event),
3748 (ev_window_focus_in_event), (ev_window_focus_out_event),
3749 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3750 * data/evince-ui.xml: Initial presentation mode. We should
3751 probably hide this until it's done, as it's quite rough. Also,
3752 change full-screen to fullscreen and add two getters to EvView.
3754 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3756 * shell/ev-page-action.c: (update_page_cache),
3757 (ev_page_action_dispose):
3758 * shell/ev-window.c: (destroy_fullscreen_popup),
3759 (ev_window_create_fullscreen_popup):
3761 Use connect_object rather than explicitly
3762 disconnect on dispose.
3764 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3766 * shell/ev-page-action.c: (update_page_cache),
3767 (ev_page_action_dispose):
3769 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3771 * backend/ev-page-cache.c: (_ev_page_cache_new),
3772 (ev_page_cache_set_page_label),
3773 (ev_page_cache_has_nonnumeric_page_labels):
3774 * backend/ev-page-cache.h:
3775 * shell/ev-page-action.c: (update_pages_label):
3777 If all page labels are numeric, fallback to default
3778 way to display number of pages. See bug 173185.
3780 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3782 * shell/ev-page-action.c: (ev_page_action_dispose):
3783 * shell/ev-view.c: (view_update_range_and_current_page):
3784 * shell/ev-window.c: (ev_window_dispose):
3786 Set page on scroll in continuous mode. Fixes bug 301986.
3787 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3789 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3793 Require poppler 0.3.0
3795 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3797 * shell/Makefile.am, configure.ac: Fix build problems
3798 with t1lib. Bug 301996.
3800 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3802 * shell/ev-view.c: (ev_view_scroll_event):
3804 Scroll up increase zoom
3806 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3808 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3809 (ev_view_set_sizing_mode),
3810 (ev_view_zoom_for_size_continuous_and_dual_page),
3811 (ev_view_zoom_for_size_continuous):
3812 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3813 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3814 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3817 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3818 Fix for 165473 and 165472.
3820 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3823 * thumbnailer/Makefile.am:
3824 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3825 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3826 * thumbnailer/evince-thumbnailer.schemas.in:
3828 Make thumbnailer schemas translatable. Fix for bug 301773
3830 * thumbnailer/evince-thumbnailer-djvu.schemas:
3831 * thumbnailer/evince-thumbnailer-dvi.schemas:
3832 * thumbnailer/evince-thumbnailer.schemas:
3836 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3838 * shell/ev-view.c (ev_view_init): forgot to set this.
3840 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3842 * shell/ev-view.c: (find_page_at_location),
3843 (get_link_at_location),
3844 (ev_view_set_show_border), (ev_view_set_spacing),
3845 (ev_view_zoom_for_size_continuous_and_dual_page),
3846 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3847 Also, add a quick fix measuring of widths. Also, removed
3848 ev_view_set_spacing and ev_view_set_show_border.
3850 * shell/ev-window.c: (ev_window_unfullscreen),
3851 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3853 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3855 * shell/ev-view.c: (view_update_range_and_current_page),
3858 Fix crash on exit and scrolling to page in continuous view.
3860 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3863 * backend/ev-page-cache.c: (_ev_page_cache_new),
3864 (ev_page_cache_get_max_width_size),
3865 (ev_page_cache_get_max_height_size):
3866 * backend/ev-page-cache.h:
3867 * data/evince-ui.xml:
3868 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3869 * shell/ev-view.c: (view_update_adjustments),
3870 (view_update_range_and_current_page), (get_bounding_box_size),
3871 (ev_view_size_request_continuous_and_dual_page),
3872 (ev_view_size_request_continuous),
3873 (ev_view_size_request_dual_page),
3874 (ev_view_size_request_single_page), (ev_view_size_request),
3875 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3876 (ev_view_bin_expose), (ev_view_expose_event),
3877 (ev_view_set_property), (ev_view_get_property),
3878 (ev_view_class_init), (ev_view_init), (ev_view_new),
3879 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3880 (ev_view_set_dual_page), (ev_view_set_full_screen),
3881 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3882 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3883 (ev_view_zoom_out), (zoom_for_size_fit_width),
3884 (zoom_for_size_best_fit),
3885 (ev_view_zoom_for_size_continuous_and_dual_page),
3886 (ev_view_zoom_for_size_continuous),
3887 (ev_view_zoom_for_size_dual_page),
3888 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3889 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3891 * shell/ev-window.c: (update_action_sensitivity),
3892 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3893 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3894 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3895 (ev_window_cmd_view_zoom_out), (update_view_size),
3896 (ev_window_set_sizing_mode), (ev_window_init):
3898 Add Continuous and Dual page modes.
3900 2005-04-23 James Bowes <bowes@cs.dal.ca>
3902 * dvi/dvi-document.c: (dvi_document_load),
3903 (dvi_document_thumbnails_get_thumbnail),
3904 (dvi_document_init_params): Fix up some mixups between
3905 width and height to correct thumbnail rendering.
3907 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3909 * dvi/mdvi-lib/private.h:
3910 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3912 Suppess output for kpathsea during font generation. Thanks to
3915 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3922 * Makefile.am: fix distcheck.
3924 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3926 * shell/ev-sidebar-links.c: (selection_changed_callback),
3927 (update_page_callback), (row_activated_callback),
3928 (job_finished_callback), (ev_sidebar_links_set_document):
3930 Fix for bug #169901. Double click on links expands tree.
3932 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3934 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3935 hard-coded style. Fix for bug 170111
3937 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3939 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3942 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3944 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3946 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3948 * pdf/ev-poppler.cc:
3949 * shell/ev-view.c: (highlight_find_results):
3951 Fix find on single page documents
3953 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3955 * data/evince.schemas.in: fix for bug 301390
3957 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3959 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3960 (ev_view_zoom_out), (ev_view_zoom_normal):
3962 * shell/ev-window.c: (update_action_sensitivity),
3963 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3964 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3965 (ev_window_cmd_view_normal_size):
3967 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3968 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3971 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3975 Depend on 2.57, 2.59 doesnt seem to be necessary
3977 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3979 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3982 Put back total number of pages as (1 of 1234)
3984 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3986 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3989 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3990 function. This helps debugging.
3992 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3994 * djvu/djvu-document.c: (djvu_document_class_init),
3995 (djvu_document_get_info), (djvu_document_document_iface_init):
3996 * dvi/dvi-document.c: (dvi_document_class_init),
3997 (dvi_document_get_info), (dvi_document_document_iface_init):
3999 Dummy implementation of get_info method for dvi and djvu. Fix
4000 crashes with those backends
4002 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4004 * data/evince.desktop.in:
4006 Add application/x-gzpostscript
4008 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4010 * data/evince.schemas.in: Added real long descriptions,
4013 * README: Added actual text, closes bug 171869
4015 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4017 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4021 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4023 * backend/ev-document-info.h:
4025 s/GDate */GDate so we can just use g_free
4027 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4029 * shell/ev-window.c: (update_document_mode),
4030 (ev_window_setup_document):
4032 Show the window in fullscreen when specified by
4035 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4037 * backend/ev-document.c: (ev_document_class_init),
4038 (ev_document_get_info), (ev_document_render_pixbuf):
4039 * backend/ev-document.h:
4040 * backend/ev-page-cache.c: (_ev_page_cache_new):
4041 * pdf/ev-poppler.cc:
4042 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4043 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4044 * ps/ps-document.c: (ps_document_class_init), (document_load),
4045 (ps_document_get_info), (ps_document_document_iface_init):
4047 Remove get_title from the interface, we can just use document info
4049 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4051 * backend/Makefile.am:
4052 * backend/ev-document.c: (ev_document_render_get_info):
4053 * backend/ev-document.h:
4054 * pdf/ev-poppler.cc:
4056 Initial support for document info. Based on jrb patch.
4058 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4060 * shell/ev-window.c: (ev_window_state_event),
4061 (ev_window_class_init), (ev_window_init):
4063 Doesn't show resize grip when maximized. See bug #301053
4065 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4069 ev-sidebar-thumbnails now has translatable labels
4071 * shell/Makefile.am:
4072 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4073 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4074 (ev_sidebar_links_page_iface_init):
4075 * shell/ev-sidebar-links.h:
4076 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4077 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4078 (ev_sidebar_page_get_label):
4079 * shell/ev-sidebar-page.h:
4080 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4081 (ev_sidebar_thumbnails_set_document),
4082 (ev_sidebar_thumbnails_support_document),
4083 (ev_sidebar_thumbnails_get_label),
4084 (ev_sidebar_thumbnails_page_iface_init):
4085 * shell/ev-sidebar-thumbnails.h:
4086 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4087 (ev_sidebar_set_document):
4088 * shell/ev-sidebar.h:
4089 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4091 Small rework of sidebar code. Now sidebar pages should implement
4092 EvSidebarPage interface. That makes page management in EvSidebar
4093 easier. See bug #164811 for details
4095 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4097 * shell/ev-application.c: (ev_application_open):
4098 * shell/ev-document-types.c:
4100 Fix build error and small problem with application exit
4102 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4104 * thumbnailer/Makefile.am:
4105 * thumbnailer/evince-thumbnailer-djvu.schemas:
4106 * thumbnailer/evince-thumbnailer-dvi.schemas:
4108 Conditionally install schemas for djvu/dvi thumbnailer
4110 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4112 * shell/ev-document-types.h:
4113 * shell/ev-document-types.c:
4114 New files, handling the mapping from mimetypes to backends
4116 * shell/ev-window.c:
4117 * thumbnailer/evince-thumbnailer.c:
4118 Use the ev-document-types code
4120 * shell/Makefile.am:
4121 Added new convenience library libevbackendfactory_la, containing
4122 the new mimetype->backend logic; moved the backends into it.
4124 * thumbnailer/Makefile.am:
4125 Make the thumbnailer link with the libevbackend.la convenience
4126 library, rather than having a duplicate of the backend logic here.
4128 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4130 * shell/ev-stock-icons.c: constify some vars.
4131 * shell/ev-window.c: ditto.
4133 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4135 * ps/ps-document.c (get_page_orientation):
4137 Respect document orientation
4139 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4143 * shell/Makefile.am:
4145 Move library dependencies to components.
4147 * shell/ev-window.c: (update_window_title),
4148 (start_loading_document):
4150 Fix display of uris with spaces. Bug 168358.
4152 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4154 * shell/ev-sidebar-links.c: (selection_changed_cb):
4155 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4156 (ev_view_button_release_event), (ev_view_set_document):
4158 * shell/ev-window.c: (find_bar_search_changed_cb):
4159 * shell/ev-window.h: Minor cleanups removing some dead code.
4161 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4163 * backend/ev-page-cache.c: (_ev_page_cache_new):
4165 Set current page to 0 if document has pages.
4167 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4169 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4171 Initialize GError to NULL, fix a crash when loading fails.
4173 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4175 * shell/ev-window.c: (update_view_size):
4177 Calculate shadow size only when there is actually
4180 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4182 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4185 Allow setting view spacing, default to 0
4187 * shell/ev-window.c: (ev_window_unfullscreen),
4188 (ev_window_cmd_view_fullscreen), (ev_window_init):
4190 Remove spacing in fullscreen mode
4192 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4194 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4195 (ev_view_size_request), (expose_bin_window),
4196 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4198 * shell/ev-window.c: (ev_window_unfullscreen),
4199 (ev_window_cmd_view_fullscreen):
4201 Do not draw the border in fulscreen
4203 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4205 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4206 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4207 (find_page_at_location), (page_changed_cb):
4209 Rework border calculation, so that I can more easily disable it.
4210 Code somewhat cleaner too.
4212 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4214 * backend/ev-page-cache.c: (ev_page_cache_init),
4215 (_ev_page_cache_new):
4217 Remove some assertions, documents can have 0 pages.
4218 Make initial current page -1.
4220 * shell/ev-page-action.c: (page_changed_cb):
4222 Show "" if current page is -1
4224 * shell/ev-window.c: (update_action_sensitivity),
4225 (ev_window_setup_document):
4227 When document has 0 pages do not set the view
4228 and make nearly everything insensitive.
4230 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4232 * shell/ev-page-view.c:
4233 * shell/ev-page-view.h:
4235 Remove unused files.
4237 * shell/ev-sidebar-thumbnails.c:
4238 (ev_sidebar_thumbnails_set_document):
4239 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4240 (ev_sidebar_supports_document):
4241 * shell/ev-sidebar.h:
4242 * shell/ev-window.c: (ev_window_setup_document):
4244 Doesn't show thumbnails if document has 1 page. Make
4245 sidebar menu entries sensitive only if if they have
4246 sense. Fix bug 164811.
4248 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4250 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4251 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4252 (ev_view_zoom_out), (ev_view_set_size):
4254 Rework sizing to deal with documents with not uniform page
4257 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4259 * backend/ev-page-cache.c: (_ev_page_cache_new):
4261 Fix several page size caching bugs
4263 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4265 * shell/ev-window.c: (set_action_properties):
4267 Make all toolbar items translatable
4269 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4271 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4272 (save_page_list), (ps_document_save),
4273 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4274 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4275 (ps_document_ps_exporter_iface_init):
4278 Based on a patch by J�rg Billeter <j@bitron.ch>
4280 Implement print and save a copy for the ps backend.
4282 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4284 * backend/ev-document.h:
4285 * djvu/djvu-document.c: (djvu_document_can_get_text),
4286 (djvu_document_document_iface_init):
4287 * dvi/dvi-document.c: (dvi_document_can_get_text),
4288 (dvi_document_document_iface_init):
4289 * pdf/ev-poppler.cc:
4290 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4291 (pixbuf_document_document_iface_init):
4292 * ps/ps-document.c: (ps_document_can_get_text),
4293 (ps_document_document_iface_init):
4294 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4295 * shell/ev-window.c: (update_action_sensitivity):
4297 Fix the crash when trying to copy in backends that doesnt
4298 support it. We can implement a better solution once we
4299 do real text selection.
4301 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4303 * data/evince-ui.xml:
4304 * shell/ev-window.c: (ev_window_cmd_escape):
4306 Work around the Escape conflict (find bar and unfullscreen)
4308 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4310 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4312 Fix for #300233. Next page correctly handles document end.
4314 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4315 (ev_sidebar_thumbnails_class_init),
4316 (ev_sidebar_thumbnails_set_document),
4317 (ev_sidebar_thumbnails_clear_job),
4318 (ev_sidebar_thumbnails_clear_model):
4320 Cleanup thumbnail jobs on document changes.
4322 * shell/ev-view.c: (add_scroll_binding_keypad),
4323 (add_scroll_binding_shifted), (ev_view_class_init):
4325 Shift + Space scrolls up. Fix for #173184
4327 * shell/ev-window.c: (ev_window_open_page),
4328 (ev_window_cmd_view_reload):
4330 Fix reload (Bug #300094)
4332 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4335 * dvi/mdvi-lib/assoc.c:
4336 * dvi/mdvi-lib/assoc.h: Removed garbage files
4338 * dvi/mdvi-lib/bitmap.c:
4339 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4340 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4341 * dvi/mdvi-lib/color.h: Antialias of rules
4343 * dvi/mdvi-lib/common.h:
4344 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4345 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4346 * dvi/mdvi-lib/files.c:
4347 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4348 * dvi/mdvi-lib/mdvi.h:
4349 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4350 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4351 * dvi/mdvi-lib/util.c: Fix compile warnings
4353 * dvi/dvi-document.c:
4354 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4355 (dvi_document_thumbnails_get_thumbnail),
4356 (dvi_document_document_thumbnails_iface_init):
4357 * dvi/mdvi-lib/Makefile.am:
4358 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4359 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4361 Dvi backend now renders thumbnails
4363 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4365 * shell/main.c: (main):
4367 Save accelerators on exit. Fixes bug #172095.
4369 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4371 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4372 update priority" comment.
4374 * backend/ev-job-queue.c: Give a way to change priority.
4376 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4378 * shell/ev-page-action.c: Fix logic.
4380 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4382 * shell/ev-view.c: (ev_view_can_find_next):
4383 * shell/ev-window.c: (ev_window_setup_document):
4385 Check that the document supports find
4387 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4389 * data/evince-ui.xml:
4390 * shell/ev-view.c: (ev_view_can_find_next):
4392 * shell/ev-window.c: (update_action_sensitivity),
4393 (find_changed_cb), (ev_window_setup_document),
4394 (ev_window_cmd_edit_find_next):
4398 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4400 * pdf/ev-poppler.cc:
4401 * shell/ev-print-job.c: (idle_print_handler):
4403 Make printing work again
4405 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4407 * shell/ev-page-action.h:
4408 * shell/ev-page-action.c: (ev_page_action_widget_init),
4409 (ev_page_action_widget_class_init), (page_changed_cb),
4410 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4411 (get_filter_model_from_model), (match_selected_cb),
4412 (display_completion_text), (match_completion), (update_model),
4413 (connect_proxy), (ev_page_action_set_property),
4414 (ev_page_action_get_property), (ev_page_action_set_document),
4415 (ev_page_action_set_model), (ev_page_action_class_init): Big
4416 reworking to make completions work iff we have >= GTK-2.7.0
4418 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4419 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4420 (job_finished_cb): We now have a 'model' property that is set when
4421 the links are loaded. This can be caught with "notify::model"
4423 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4424 listen for the model to be set, and propagate it to the action.
4426 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4428 * cut-n-paste/recent-files/egg-recent-item.c:
4429 (egg_recent_item_set_uri), (make_valid_utf8),
4430 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4431 * cut-n-paste/recent-files/egg-recent-item.h:
4433 Update egg-recent from libegg. This should fix long
4434 startup problem. For details see
4435 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4437 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4439 * cut-n-paste/recent-files/Makefile.am:
4440 * data/evince-ui.xml, shell/Makefile.am:
4441 * shell/ev-application.c, shell/ev-application.h:
4442 * shell/ev-window.c: Recent files support.
4444 * configure.ac: Added "ru" to ALL_LINGUAS.
4446 * dvju: new backend to support DJVU files.
4447 * dvi: new backend to support DVI.
4449 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4450 * ev-application.c: Support for new backends.
4452 * help, ev-window.c, main.c shell/Makefile.am:
4453 Evince user documentation.
4455 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4458 * shell/ev-window.c:
4459 * thumbnailer/evince-thumbnailer.c:
4461 s/pdf-document/ev-poppler
4463 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4470 * ps/ps-document.c: (setup_pixmap):
4474 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4476 * backend/ev-page-cache.c (ev_page_cache_next_page):
4477 * shell/ev-window.c (ev_window_cmd_go_next_page)
4478 (ev_window_cmd_go_first_page): Fix of by one errors.
4480 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4482 * ps/ps-document.c: (get_page_box):
4484 Fix page size calculation
4486 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4488 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4489 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4490 (get_page_orientation), (setup_page), (document_load),
4491 (ps_document_get_page_size), (render_pixbuf_idle):
4494 More refactoring to adapt to EvDocument changes
4496 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4498 * ps/ps-document.c: (start_interpreter):
4500 Actually add alpha args
4502 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4504 * pdf/ev-poppler.cc:
4506 Make clipboard work again
4508 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4510 Make searching work again.
4512 * backend/ev-document.c:
4513 * backend/ev-document.h:
4514 * backend/ev-document-find.c:
4515 * backend/ev-document-find.h: Change EvDocumentIface so we no
4516 longer store the current page or zoom level in the document. The
4517 consequence is that all calls that operate on the current page now
4518 instead take the page number as an extra argument, and all
4519 coordinates are now doubles in document coordinate system.
4521 * pdf/ev-poppler.cc:
4522 * pixbuf/pixbuf-document.c:
4523 * ps/ps-document.c: Update backends accordingly.
4525 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4529 Add required gettext version
4531 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4533 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4534 make F1 bring up non-existent help.
4536 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4537 epiphany's find bar, #167477
4539 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4540 <emil@nishra.com> to add space-bar scrolling,
4542 * shell/ev-window.c (static GtkActionEntry entries): add default
4543 keybinding for Help (F1)
4546 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4547 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4550 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4553 * pixbuf/pixbuf-document.c:
4555 Got pixbuf backend working again
4557 2005-04-01 Steve Murphy <murf@e-tools.com>
4559 * configure.in: Added "rw" to ALL_LINGUAS.
4561 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4563 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4564 model types, noticed by Martin Kretzschmar.
4566 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4568 * pdf/ev-poppler.cc: Implement search based on
4569 poppler_page_find_text(). Currently a bit crude since we remember
4570 all matches from all pages. Also, we grab the big document lock
4571 when we search since searching changes the underlying stream and
4572 thus conflicts with the rendering thread.
4574 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4575 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4576 (ev_view_find_previous): Fix some page indexes to be 0 based,
4577 offset rubber band by view offset,
4579 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4581 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4583 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4585 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4586 completely because I didn't understand GtkActions. I should
4587 read Marco's code more carefully in the future.
4589 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4592 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4594 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4595 PopplerRectangle change from poppler CVS.
4597 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4599 * backend/ev-document.c: (ev_document_get_page_label):
4600 * backend/ev-document.h:
4601 * backend/ev-page-cache.c: (_ev_page_cache_new),
4602 (ev_page_cache_get_page_label):
4603 * backend/ev-page-cache.h:
4604 * pdf/ev-poppler.cc:
4605 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4606 (links_page_num_func):
4607 * shell/ev-sidebar-thumbnails.c:
4608 (ev_sidebar_thumbnails_set_document):
4609 * shell/ev-view.c: (status_message_from_link),
4610 (ev_view_motion_notify_event):
4611 * shell/ev-window.c: (document_supports_sidebar): Add in page
4612 label support. It's not perfect yet, but it's the first 'feature'
4614 Also, fix a bogus comment noticed by crispin.
4616 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4618 * Makefile.am: Remove pixbuf backend for now
4620 * configure.ac: Require poppler-glib instead of just poppler.
4622 * backend/ev-document-thumbnails.h: Add a comment
4624 * backend/ev-document.h:
4625 * backend/ev-document.c: (ev_document_class_init),
4626 (ev_document_load), (ev_document_get_link),
4627 (ev_document_get_links): Remove 3 methods and add get_links.
4630 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4631 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4633 * backend/ev-link.c: (ev_link_set_title),
4634 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4635 (ev_link_mapping_find):
4636 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4638 * backend/ev-page-cache.c: (ev_page_cache_init),
4639 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4640 (ev_page_cache_get_size), (ev_page_cache_next_page),
4641 (ev_page_cache_prev_page): Fix to be 0 based.
4645 * pdf/ev-poppler.cc: New backend.
4647 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4648 (ps_document_get_page), (ps_document_document_iface_init):
4650 * shell/ev-pixbuf-cache.h:
4651 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4652 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4653 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4654 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4655 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4656 Fix up code to grab a page cache per each doc. Also, fix to be 0
4659 * shell/ev-sidebar-thumbnails.c:
4660 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4661 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4663 * shell/ev-view.c: (status_message_from_link),
4664 (find_page_at_location), (get_link_at_location),
4665 (ev_view_motion_notify_event), (ev_view_button_release_event),
4666 (ev_view_init): Use the new link code. Fix to be 0 based.
4668 * shell/ev-window.c: (update_action_sensitivity),
4669 (document_supports_sidebar): 0 based.
4671 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4673 * pdf/pdf-document.cc: Patch from Fernando Herrera
4674 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4677 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4679 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4680 1 to the page, as this seems to be 1 based. I thought we has this
4683 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4686 * backend/Makefile.am:
4687 * backend/ev-document-links.c:
4688 (ev_document_links_has_document_links),
4689 (ev_document_links_get_links_model):
4690 * backend/ev-document-links.h:
4691 * backend/ev-document.c: (ev_document_get_page_cache),
4692 (ev_document_get_doc_mutex), (ev_document_load),
4693 (ev_document_save), (ev_document_get_title),
4694 (ev_document_get_n_pages), (ev_document_set_page),
4695 (ev_document_get_page), (ev_document_set_target),
4696 (ev_document_set_scale), (ev_document_set_page_offset),
4697 (ev_document_get_page_size), (ev_document_get_text),
4698 (ev_document_get_link), (ev_document_render),
4699 (ev_document_render_pixbuf), (ev_document_scale_changed):
4700 * backend/ev-document.h:
4701 * backend/ev-job-queue.c: (remove_object_from_queue),
4702 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4703 (no_jobs_available_unlocked), (ev_render_thread),
4704 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4705 (ev_job_queue_remove_job):
4706 * backend/ev-job-queue.h:
4707 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4708 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4709 (ev_job_links_class_init), (ev_job_render_init),
4710 (ev_job_render_dispose), (ev_job_render_class_init),
4711 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4712 (ev_job_thumbnail_class_init), (ev_job_finished),
4713 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4714 (ev_job_render_run), (ev_job_thumbnail_new),
4715 (ev_job_thumbnail_run):
4716 * backend/ev-jobs.h:
4717 * backend/ev-link.c:
4718 * backend/ev-link.h:
4719 * backend/ev-page-cache.c: (ev_page_cache_init),
4720 (ev_page_cache_class_init), (ev_page_cache_finalize),
4721 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4722 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4723 (ev_page_cache_set_link), (ev_page_cache_get_title),
4724 (ev_page_cache_get_size), (ev_page_cache_next_page),
4725 (ev_page_cache_prev_page):
4726 * backend/ev-page-cache.h:
4727 * pdf/pdf-document.cc:
4730 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4731 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4732 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4733 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4734 (is_interpreter_ready), (output), (catchPipe), (input),
4735 (start_interpreter), (check_filecompressed), (compute_dimensions),
4736 (ps_document_enable_interpreter), (document_load),
4737 (ps_document_next_page), (render_page), (ps_document_set_page),
4738 (ps_document_set_scale), (render_pixbuf_idle),
4739 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4741 * shell/Makefile.am:
4742 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4743 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4744 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4745 (ev_pixbuf_cache_new), (job_finished_cb),
4746 (check_job_size_and_unref), (move_one_job),
4747 (ev_pixbuf_cache_update_range), (find_job_cache),
4748 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4749 (ev_pixbuf_cache_add_jobs_if_needed),
4750 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4751 * shell/ev-pixbuf-cache.h:
4752 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4753 (idle_print_handler):
4754 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4755 (selection_changed_cb), (create_loading_model),
4756 (ev_sidebar_links_construct), (links_page_num_func),
4757 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4758 (update_page_callback), (job_finished_cb),
4759 (ev_sidebar_links_set_document):
4760 * shell/ev-sidebar-thumbnails.c:
4761 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4762 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4763 (page_changed_cb), (thumbnail_job_completed_callback),
4764 (ev_sidebar_thumbnails_set_document):
4765 * shell/ev-sidebar-thumbnails.h:
4766 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4767 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4768 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4769 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4770 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4771 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4772 (ev_view_button_release_event), (ev_view_scroll_view),
4773 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4774 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4775 (ev_view_new), (job_finished_cb), (page_changed_cb),
4776 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4777 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4778 (ev_view_find_previous):
4780 * shell/ev-window.c: (update_action_sensitivity),
4781 (ev_window_open_page), (update_window_title), (update_total_pages),
4782 (page_changed_cb), (ev_window_setup_document),
4783 (password_dialog_response), (ev_window_cmd_save_as),
4784 (ev_window_print), (ev_window_cmd_go_previous_page),
4785 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4786 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4787 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4788 * shell/main.c: (main):
4790 Merge evince-threads branch
4792 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4794 * configure.ac: Added "lt" to ALL_LINGUAS.
4796 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4803 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4805 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4807 Fix here also the thumbnails 1-basedness :)
4809 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4816 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4818 * pdf/pdf-document.cc:
4819 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4820 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4822 Fix the mess we did with thumbnails and 1-basedness
4824 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4826 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4828 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4835 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4838 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4839 (gtk_gs_defaults_get_alpha_parameters),
4840 (gtk_gs_defaults_get_ungzip_cmd),
4841 (gtk_gs_defaults_get_unbzip2_cmd):
4843 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4844 (ps_document_get_orientation), (document_load),
4845 (ps_document_goto_page), (ps_document_set_page_size):
4848 Some more sanitization of the ps backend. Remove a lot
4849 of unused code and do not base our defaults on ggv
4852 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4854 * thumbnailer/evince-thumbnailer.schemas:
4855 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4856 (main): add -s option for thumbnail size.
4858 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4862 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4865 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4867 * pdf/pdf-document.cc:
4869 Remove 4 pixels of useless border from the
4872 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4874 * backend/ev-document-thumbnails.c:
4875 (ev_document_thumbnails_get_thumbnail):
4876 * backend/ev-document-thumbnails.h:
4878 Rework API a bit. Add a border flag and
4879 change sizing logic (now the size we specify
4880 applies to the bigger dimension).
4882 * pdf/pdf-document.cc:
4883 * pixbuf/pixbuf-document.c:
4884 (pixbuf_document_thumbnails_get_thumbnail):
4885 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4886 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4888 Adapt to the new API and do not draw a border for nautilus
4891 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4893 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4894 take thumbnails from page "0" instead of "1". Added a copyright header.
4896 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4898 * ps/ps-document.c: (set_up_page), (start_interpreter):
4900 Make it C89 compliant
4902 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4907 * pdf/pdf-document.cc:
4908 * thumbnailer/Makefile.am:
4909 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4911 * thumbnailer/evince-thumbnailer.schemas:
4912 * thumbnailer/pdf-icon.png:
4914 Add a nautilus thumbnailer.
4915 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4917 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4925 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4927 Use poppler instead of including xpdf source code. Poppler is a
4928 fork of xpdf to build it as a shared library. See
4929 http://freedesktop.org/wiki/Software/poppler.
4931 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4934 * pdf/Makefile.am: Build libpdfdocument.a here.
4936 * pdf/GDKSplashOutputDev.cc:
4937 * pdf/GDKSplashOutputDev.h:
4938 * pdf/GnomeVFSStream.cc:
4939 * pdf/GnomeVFSStream.h:
4942 * test-gdk-output-dev.cc
4944 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4947 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4949 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4951 Clear idle stack before unsetting the document
4953 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4955 * ps/ps-document.c: (ps_document_widget_event),
4956 (ps_document_set_target), (ps_document_finalize),
4957 (ps_document_get_page):
4959 Disconnect the widget event signal on finalize.
4962 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4964 * ps/ps-document.c: (set_up_page):
4966 If there is no bpixmap create one, even if size
4969 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4971 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4972 (set_up_page), (document_load), (ps_document_set_zoom):
4974 Default page is 0. Calculate size even when we have no
4977 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4979 * shell/ev-sidebar.c: expand the selection widget to be always as
4982 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4984 * shell/ev-sidebar-thumbnails.c:
4985 (ev_sidebar_thumbnails_set_document):
4987 Clear the list store when setting document
4989 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4991 * shell/ev-page-action.c: (update_entry), (sync_entry),
4992 (activate_cb), (entry_size_request_cb), (create_tool_item),
4995 Use an entry for the page control instead of spinbuttons
4997 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4999 * data/evince.schemas.in:
5001 Correct confusing string
5003 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5005 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5006 for real. Gosh, how long has this been broken.
5008 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5009 check for a NULL link. We crash otherwise.
5011 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5018 2005-02-25 Sebastien Bacher <seb128@debian.org>
5020 * configure.ac: add the french translation.
5022 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5024 * shell/ev-window.c:
5026 Remove unused header -> fix distcheck
5028 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5030 * shell/ev-window.c: (update_window_title),
5031 (ev_window_popup_password_dialog):
5033 Unescape filename for display
5035 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5037 * pdf/xpdf/pdf-document.cc:
5039 In get_page_size deal with rotation. Also
5040 cleanup the function a bit.
5042 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5044 * pdf/xpdf/pdf-document.cc:
5046 Fix crash when opening in new window
5048 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5052 Check ghostscript >= 7
5054 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5056 * shell/ev-window.c:
5058 Make page width the default sizing mode
5060 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5061 Marco Pesenti Gritti <marco@gnome.org>
5063 * shell/ev-window.c: Remember the sidebar size
5065 * data/evince.schemas.in: Add a new gconf key to store the size of
5068 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5070 * data/evince-ui.xml:
5071 * shell/ev-window.c: (update_action_sensitivity),
5072 (ev_window_cmd_view_reload):
5074 Add a "Reload" action and menu entry
5076 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5078 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5079 iff the type doesn't support thumbnailing and indexing.
5081 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5083 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5085 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5087 * pdf/splash/Splash.cc:
5089 Port fix for a crasher from kde bug
5090 http://bugs.kde.org/show_bug.cgi?id=97131
5092 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5094 * pdf/xpdf/pdf-document.cc:
5096 Return a link even if it's of an unrecognized
5097 type. Otherwise we go in an infinte cycle.
5099 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5101 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5102 (size_allocate_cb), (ev_window_set_sizing_mode):
5104 Update size when switching mode
5106 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5108 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5109 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5110 (ev_window_cmd_view_normal_size):
5112 Fix size toggle buttons behavior
5114 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5116 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5117 (doc_rect_to_view_rect), (ev_view_size_allocate),
5118 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5119 (scale_changed_callback):
5121 Do not cache offsets in size_allocate.
5123 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5125 * shell/ev-view.c: (ev_view_size_allocate):
5127 Calculate offsets before calling the parent
5128 class (which does a redraw)
5130 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5132 * pdf/xpdf/pdf-document.cc:
5134 Fix a crasher on exit. Unused code, put a TODO
5136 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5138 * backend/ev-document.c: (ev_document_class_init),
5139 (ev_document_page_changed), (ev_document_scale_changed):
5140 * backend/ev-document.h:
5142 Separate page/scale notifications
5144 * pdf/xpdf/pdf-document.cc:
5146 Emit the new signals.
5147 Do not display the pdf page in _render, do it
5148 when scale/page are requested.
5150 * ps/ps-document.c: (ps_document_set_zoom),
5151 (ps_document_widget_event):
5154 Emit the new signals.
5156 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5157 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5158 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5159 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5161 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5162 (ev_window_cmd_view_page_width), (size_allocate_cb),
5163 (ev_window_set_sizing_mode):
5165 Rework sizing to be pixel based.
5166 There are bugs but should be already way better.
5168 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5170 * shell/ev-window.c: (ev_window_init):
5172 Do not allow to shrink sidebar smaller then
5175 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5177 * shell/ev-sidebar.[ch]
5178 * shell/ev-window.c:
5180 Improved sidebar widget. Fixes #166683
5182 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5184 * shell/ev-view.c (update_find_status_message): Give translators
5185 more flexibility with ngettext plural handling.
5187 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5189 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5190 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5191 page when we get the page size.
5193 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5195 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5197 ps pages are 0 based, convert
5199 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5201 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5203 Initialize correct parent class. Set GError on document load
5205 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5207 * pdf/xpdf/pdf-document.cc:
5209 Fixup selection offset calculation
5211 * shell/ev-view.c: (view_rect_to_doc_rect),
5212 (doc_rect_to_view_rect), (ev_view_size_allocate),
5213 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5214 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5216 Store selection as document relative, so that zooming
5217 and offset changing doesnt break it.
5219 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5221 * shell/ev-view.c: (ev_view_best_fit):
5223 Do not try to best fit if the view is not realized
5225 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5227 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5229 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5231 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5233 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5235 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5236 the popup window. That prevents it resizing when in full screen
5239 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5240 multiple rerenders. This pretty much sucks.
5242 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5243 rest of the toolbar.
5245 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5247 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5249 2005-02-17 Alexander Shopov <ash@contact.bg>
5251 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5253 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5255 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5257 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5259 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5260 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5261 (set_document_page), (document_changed_callback),
5262 (ev_view_set_document), (ev_view_find_previous),
5263 (ev_view_hide_cursor), (ev_view_show_cursor):
5265 * shell/ev-window.c: (update_chrome_visibility),
5266 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5267 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5268 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5269 (ev_window_unfullscreen):
5270 * shell/main.c: (main):
5272 Automatically hide the fullscreen button.
5273 Patch by Kristian Høgsberg <krh@redhat.com>
5275 2005-02-16 Vincent Noel <vnoel@cox.net>
5277 * shell/main.c (main): Specify an icon for the window. Patch by
5278 Jaap A. Haitsma. Fixes #166177.
5280 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5282 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5284 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5286 * backend/ev-document-misc.h:
5287 * backend/ev-document-misc.c:
5288 (ev_document_misc_get_page_border_size),
5289 (ev_document_misc_paint_one_page): New function to canonicalize
5290 sizing/painting a border.
5292 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5295 * pdf/xpdf/pdf-document.cc: use new function
5297 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5298 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5299 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5300 shell/ev-window.c: (update_sizing_buttons),
5301 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5302 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5303 (ev_window_cmd_view_page_width), (size_allocate_cb),
5304 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5305 and "fit width" values act as toggle buttons so they stay
5306 toggled. It's not 100% perfect, and it's a little slow, but it's
5307 good enough to commit I think.
5309 2005-02-15 David Lodge <dave@cirt.net>
5311 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5313 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5315 * shell/ev-window.c (update_window_title): replace newlines in
5316 the title by spaces. Bug #166107.
5318 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5320 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5321 parameters providing allocation width and height without
5322 scrollbars and width of a possible vertical scrollbar. With this
5323 additional information the functions can work as
5324 intended. Unfortunately they're not idempotent. We should
5325 transform these commands to toggles. Fixes Bug #164976
5326 Initial patch by Stephane Loeuillet, then heavily modified.
5328 * shell/ev-view.h: update prototypes.
5330 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5331 (ev_window_cmd_view_page_width): provide EvView fit functions with
5332 all the information they need. Formulas to calculate this
5333 information taken from GtkScrolledWindow.
5335 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5337 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5338 created a thumbnail, the list store is updated to know
5339 that the thumbnail is set. Fixes bug #166792
5341 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5343 * shell/ev-window.c: fixed typo, closes bug 166897
5345 * TODO: updated TODO with bug numbers that are relevant
5347 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5349 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5351 2005-02-09 Vincent Noel <vnoel@cox.net>
5353 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5354 and "Next" toolbar buttons as important to make them stand out.
5356 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5360 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5361 (start_interpreter), (stop_interpreter), (document_load),
5362 (ps_document_next_page), (ps_document_goto_page),
5363 (ps_document_set_page_size), (ps_document_widget_event),
5364 (ps_document_render):
5365 * shell/ev-page-view.c: (ev_page_view_dispose):
5366 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5368 Fix compilation on non-gcc platforms
5370 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5377 * pdf/xpdf/Catalog.cc:
5380 Fix the fix for CAN-2004-0888
5382 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5385 * data/evince-ui.xml:
5386 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5387 * shell/ev-stock-icons.h:
5388 * shell/ev-window.c: (update_action_sensitivity),
5389 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5390 (set_action_properties):
5392 Improve toolbar layout/icons
5394 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5396 * pdf/xpdf/pdf-document.cc:
5398 Add warnings about unimplemented/unknown link
5401 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5403 * ps/ps-document.c: (set_up_page):
5407 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5409 * ps/ps-document.c: (start_interpreter):
5413 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5415 * shell/ev-page-view.c: (ev_page_view_dispose):
5416 * shell/ev-view.c: (ev_view_finalize):
5417 * shell/ev-window.c: (ev_window_setup_document),
5418 (ev_window_dispose), (ev_window_init):
5420 Solve more refs issues.
5422 I commented out the page_view initialization for now:
5423 it was never destroyed (because it's never added
5424 to a container). Because of that we was leaking
5425 gs processes. Couldnt think to a clean fix.
5426 We need to figure this out, password view has the
5427 same issue probably.
5429 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5431 * ps/ps-document.c: (ps_document_finalize),
5432 (ps_document_get_n_pages), (ps_document_get_page):
5434 Some cleanups, stop the interpreter on finalize
5436 * shell/ev-page-view.c: (ev_page_view_dispose),
5437 (ev_page_view_class_init):
5439 Release our reference on the document
5441 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5445 * doc/debugging.txt:
5448 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5449 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5450 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5453 Add debugging helpers
5456 * ps/ps-document.c: (set_up_page), (start_interpreter),
5457 (stop_interpreter), (document_load), (ps_document_next_page),
5458 (ps_document_goto_page), (ps_document_set_page_size),
5459 (ps_document_widget_event), (ps_document_render):
5460 * shell/Makefile.am:
5461 * shell/ev-view.c: (expose_bin_window):
5462 * shell/main.c: (main):
5466 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5468 * ps/ps-document.c: (ps_document_widget_event):
5470 Initialize message_window, this should make ps
5471 rendering really work! (Never noticed because I was
5472 testing with a ps that is causing gs to exit every time!)
5474 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5476 * data/evince.schemas.in: updated simple error in applyto closing tag
5478 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5484 * data/evince-ui.xml:
5485 A data/evince.schemas.in:
5487 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5488 * shell/ev-stock-icons.h:
5489 * shell/ev-window.c: (update_chrome_visibility),
5490 (update_chrome_flag), (ev_window_cmd_edit_find),
5491 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5492 (ev_window_unfullscreen), (ev_window_focus_in_event),
5493 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5494 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5495 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5496 (ev_window_dispose), (ev_window_class_init),
5497 (set_action_properties), (set_chrome_actions), (load_chrome),
5500 Implement fullscreen mode changes from bug #164776.
5501 Also implement persistent chrome toggles.
5503 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5505 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5507 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5513 Add another check for find interface
5517 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5519 * shell/ev-application.c: (ev_application_open):
5520 * shell/ev-window.c: (ev_window_open):
5522 Open gzipped ps documents
5524 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5527 * shell/ev-view.c: (set_document_page):
5529 Clamp page number, dont try to move to
5532 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5534 * backend/ev-document-find.c: (ev_document_find_changed):
5535 * backend/ev-document-find.h:
5536 * pdf/xpdf/pdf-document.cc:
5537 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5538 * shell/ev-window.c: (find_bar_search_changed_cb):
5540 Fix several bugs with find
5542 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5544 * shell/ev-sidebar-thumbnails.c
5545 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5546 document. Prevents warning from scroll_to_cell.
5548 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5550 * configure.ac: Add «nb» to ALL_LINGUAS too.
5552 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5554 * NOTES: New file with some random thoughts.
5558 * backend/ev-document-misc.c:
5559 (ev_document_misc_get_page_border_size): New function to
5560 canonicalize shadow drawing sizes. Possibly goofy.
5562 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5563 (ev_view_best_fit), (ev_view_fit_width):
5564 * pdf/xpdf/pdf-document.cc:
5565 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5566 * ps/ps-document.c: (ps_document_get_page_size):
5567 * backend/ev-document-misc.h:
5568 * backend/ev-document.c: (ev_document_get_page_size):
5569 * backend/ev-document.h: get_page_size now takes a page number
5570 parameter. Made all the backends/frontends honor it.
5572 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5573 see. Doesn't work yet.
5575 * shell/Makefile.am:
5576 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5577 Doesn't do anything yet.
5579 * shell/ev-sidebar-thumbnails.c:
5580 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5583 * shell/ev-window.c: (update_action_sensitivity),
5584 (ev_window_setup_document), (ev_window_set_page_mode),
5585 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5586 view-swapping code a bit so we can have multiple views on a
5587 document. Add the multi-page view, though it can't be turned on
5590 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5592 * shell/ev-application.c: (ev_application_open):
5593 * shell/ev-view.c: (expose_bin_window):
5594 * shell/ev-window.c: (ev_window_open):
5596 Support eps and check document supports find
5597 before drawing highlightings in expose.
5599 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5601 * pixbuf/pixbuf-document.c:
5602 (pixbuf_document_thumbnails_get_dimensions),
5603 (pixbuf_document_document_thumbnails_iface_init):
5605 implement get_dimensions
5607 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5614 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5616 * shell/ev-view.c: (set_document_page):
5618 Scroll at the top of the page when changing page
5620 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5622 * shell/ev-view.c: (ev_view_motion_notify_event):
5624 Do not redraw unnecessarily
5626 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5628 * pdf/xpdf/pdf-document.cc:
5629 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5630 (expose_bin_window), (find_changed_cb):
5632 Yay! find works now... Now to find bugs...
5634 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5636 * backend/ev-document-find.c: (ev_document_find_base_init),
5637 (ev_document_find_changed):
5638 * backend/ev-document-find.h:
5639 * pdf/xpdf/pdf-document.cc:
5640 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5641 (expose_bin_window), (ev_view_init), (set_document_page),
5642 (ensure_rectangle_is_visible), (jump_to_find_result),
5643 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5644 (ev_view_find_next), (ev_view_find_previous):
5646 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5648 More work on find implementation, mostly there now
5650 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5652 * backend/ev-backend-marshalers.list:
5653 * backend/ev-document-find.c: (ev_document_find_base_init),
5654 (ev_document_find_cancel), (ev_document_find_page_has_results),
5655 (ev_document_find_get_n_results), (ev_document_find_get_result),
5656 (ev_document_find_get_progress), (ev_document_find_changed):
5657 * backend/ev-document-find.h:
5659 Enanche the find interface to be really able to do
5662 * pdf/xpdf/pdf-document.cc:
5666 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5667 (expose_bin_window), (ev_view_init),
5668 (ev_view_get_find_status_message), (find_changed_cb),
5669 (ev_view_set_document), (set_document_page):
5671 Adapt to the new interface. A few things are regressed sorry,
5672 I will finish it soon.
5674 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5676 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5677 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5678 ev_sidebar_thumbnails_parent_class variable, don't define another
5679 parent_class variable.
5681 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5682 (ev_page_action_class_init): ditto.
5684 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5685 (pixbuf_document_class_init): ditto.
5687 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5690 * .cvsignore: ignore various valgrind output files.
5692 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5694 * data/evince-ui.xml:
5695 * shell/Makefile.am:
5696 * shell/ev-history.c:
5697 * shell/ev-history.h:
5698 * shell/ev-navigation-action.c:
5699 * shell/ev-navigation-action.h:
5700 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5701 (ev_view_set_page), (ev_view_fit_width):
5703 * shell/ev-window.c: (update_action_sensitivity),
5704 (ev_window_setup_document), (register_custom_actions):
5706 Kill session history
5708 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5710 * shell/ev-window.c: (update_action_sensitivity):
5712 Fix inverted up/down buttons
5714 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5716 * shell/ev-sidebar-thumbnails.c
5717 (ev_sidebar_thumbnails_select_page): make sure the selected
5718 thumbnail stays visible.
5720 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5722 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5723 scrolled window for Federico.
5725 2005-01-26 Ole Laursen <olau@hardworking.dk>
5727 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5729 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5732 * pdf/splash/SplashFTFontEngine.cc:
5734 Fix CID fonts with freetype 2.1.9
5736 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5738 * TODO: added item for desktop icon thumbnailer
5740 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5742 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5743 unloaded docs when the title is accessed.
5745 * shell/ev-password-view.[hc]: New widget for displaying password
5748 * shell/ev-window.[ch]: Refactor password handling code to handle
5751 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5759 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5761 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5762 ignore page offset here, to make search results independent of it,
5764 * shell/ev-view.c (expose_bin_window): but take offsets into
5765 account here. Bug #164932
5767 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5768 scale at the right time. Bug #164996
5770 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5772 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5773 fix the problem. Now I just removed the Adobe font names and hope
5774 that the URW fonts are always in outline format. Bug #164934
5776 * shell/ev-window.c (update_window_title): empty titles are
5777 useless, use filename in that case too.
5779 * NEWS: Add some content.
5781 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5783 * TODO: added one more TODO item and a TODONE section :)
5785 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5787 * ps/ps-document.h: add page_[xy]_offset fields.
5789 * ps/ps-document.c (ps_document_set_page_offset)
5790 (ps_document_render): Keep offset in consideration in a few
5791 places. Bug #164752 "postscript documents are not centered in
5794 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5795 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5797 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5798 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5799 stub out missing methods for complete EvDocument implementation.
5800 Fixes segfaults with Save A Copy and Copy actions.
5802 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5803 (ps_document_document_iface_init): ditto.
5805 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5809 * data/evince.desktop.in:
5813 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5815 * shell/ev-view.c: (ev_view_button_press_event),
5816 (ev_view_motion_notify_event):
5818 Make selection work in any direction
5820 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5823 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5825 Use shorter labels for some of the toolbars items
5827 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5829 * pdf/xpdf/pdf-document.cc:
5831 Check the links info is initialized before
5832 using it. Should fix a crash on startup.
5834 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5836 * pixbuf/pixbuf-document.c
5837 (pixbuf_document_thumbnails_get_dimensions): force floating point
5838 division to calculate page_ratio. Fixes crash with landscape
5841 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5843 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5845 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5847 * shell/ev-view.c (set_document_page): unset has_selection when
5849 (set_document_page): handle paper size changes when the page
5850 changes (test with Free Culture, page 2).
5852 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5854 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5855 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5857 Use normal style color for the widget background and
5858 draw a black box around the page.
5860 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5862 * pdf/xpdf/pdf-document.cc:
5864 Keep offset in consideration in a few places
5866 * shell/ev-view.c: (expose_bin_window):
5868 Set the offsets so that the document is ever centered
5870 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5872 * TODO: Added TODO items and finished off the first todo item
5874 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5875 reflect current authors
5877 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5879 * pdf/xpdf/pdf-document.cc:
5880 * shell/ev-view.c: (ev_view_set_cursor),
5881 (ev_view_motion_notify_event), (document_changed_callback),
5882 (set_document_page):
5884 Show a wait cursor while the page is rendering
5886 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5888 * shell/ev-sidebar-thumbnails.c:
5889 (ev_sidebar_tree_selection_changed),
5890 (ev_sidebar_thumbnails_select_page):
5891 * shell/ev-sidebar-thumbnails.h:
5892 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5893 (ev_view_can_go_forward):
5894 * shell/ev-window.c: (ev_window_open_page),
5895 (ev_window_setup_document), (update_current_page),
5896 (view_page_changed_cb), (ev_window_init):
5897 * shell/ev-window.h:
5899 Ensure thumbnails selection, toolbar page control and
5900 current page are in sync.
5902 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5908 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5910 * backend/Makefile.am:
5911 * backend/ev-document-links.h:
5912 * backend/ev-document-security.c: (ev_document_security_get_type),
5913 (ev_document_security_has_document_security),
5914 (ev_document_security_set_password):
5915 * backend/ev-document-security.h:
5916 * backend/ev-document.c: (ev_document_error_quark):
5917 * backend/ev-document.h:
5919 * data/evince-password.glade:
5920 * pdf/xpdf/pdf-document.cc:
5921 * shell/Makefile.am:
5922 * shell/ev-password.c: (ev_password_set_bad_password_label),
5923 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5924 (ev_password_dialog_get_password),
5925 (ev_password_dialog_set_bad_pass):
5926 * shell/ev-password.h:
5927 * shell/ev-window.c: (ev_window_get_attribute),
5928 (ev_window_set_property), (update_action_sensitivity),
5929 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5930 (ev_window_setup_document), (ev_window_get_password),
5931 (ev_window_open), (ev_window_cmd_save_as),
5932 (using_postscript_printer), (ev_window_print),
5933 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5934 (update_fullscreen_popup), (ev_window_fullscreen),
5935 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5936 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5937 (menu_item_select_cb), (find_bar_search_changed_cb),
5938 (ev_window_dispose), (ev_window_init):
5940 Add initial support for password-supported dialogs. This could be
5941 a lot cooler, but it'll do for now.
5943 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5945 * pdf/xpdf/pdf-document.cc:
5946 * shell/ev-view.c: (status_message_from_link),
5947 (ev_view_set_status), (ev_view_set_cursor),
5948 (ev_view_motion_notify_event), (ev_view_init):
5949 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5951 Fix bugs in the links implementation and change cursor
5952 when hovering a link.
5954 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5956 * viewer/.cvsignore: added cvsignore file for viewer directory
5958 * TODO: created TODO document
5960 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5963 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5964 new functions to help with implementation of sensitivity code
5965 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5966 of all actions that might require it. Fixes a crash when you
5967 click on the Zoom actions in a window lacking a document.
5969 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5971 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5974 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5976 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5977 (pixbuf_document_document_iface_init):
5978 * ps/ps-document.c: (ps_document_get_link),
5979 (ps_document_document_iface_init):
5980 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5981 (status_message_from_link), (ev_view_set_status),
5982 (ev_view_set_find_status), (ev_view_motion_notify_event),
5983 (ev_view_button_release_event), (ev_view_set_property),
5984 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5985 (ev_view_get_find_status_message), (update_find_results),
5986 (ev_view_get_status), (ev_view_get_find_status):
5988 * shell/ev-window.c: (view_status_changed_cb),
5989 (view_find_status_changed_cb), (ev_window_init):
5991 View status message support, use it to show the links.
5994 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5996 * backend/ev-document.c: (ev_document_get_link):
5997 * backend/ev-document.h:
5998 * pdf/xpdf/pdf-document.cc:
5999 * shell/ev-application.c: (ev_application_open):
6000 * shell/ev-application.h:
6001 * shell/ev-sidebar-links.c: (selection_changed_cb):
6002 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6003 (ev_view_go_to_link):
6005 Add support for document links
6007 2005-01-13 Anders Carlsson <andersca@gnome.org>
6009 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6011 Set the spin button limits correctly.
6013 * shell/ev-sidebar-thumbnails.c:
6014 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6015 Support changing pages by clicking on the thumbnails.
6017 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6019 * pixbuf/pixbuf-document.c:
6020 (pixbuf_document_thumbnails_get_dimensions),
6021 (pixbuf_document_document_thumbnails_iface_init):
6023 implement get_dimensions
6025 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6027 * ps/ps-document.c: (ps_document_goto_page):
6029 Fix page switching on multipage documents
6031 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6033 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6035 check for NULL before assigning to width and height parameters
6037 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6039 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6040 (pixbuf_document_set_property), (pixbuf_document_get_property):
6042 implement get/set properties
6044 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6046 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6048 return NULL instead of "Unknown", letting the title get set to
6049 the filename when the pdf has no title.
6051 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6053 * ps/ps-document.c: (ps_document_get_page_count),
6054 (ps_document_goto_page):
6056 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6058 * shell/ev-history.c: (ev_history_get_property),
6059 (ev_history_set_property), (ev_history_class_init),
6060 (ev_history_add_page), (ev_history_set_current_index):
6061 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6062 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6063 (ev_navigation_action_finalize):
6064 * shell/ev-navigation-action.h:
6065 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6066 (ev_view_go_forward), (ev_view_get_find_status_message),
6067 (history_index_changed_cb), (ev_view_set_history):
6069 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6070 (update_current_page), (register_custom_actions):
6072 Implement history dropdowns
6074 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6076 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6077 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6078 (ev_view_go_forward):
6079 * shell/ev-window.c: (register_custom_actions):
6081 Fix several history bugs
6083 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6085 * configure.ac: Add «nb» to ALL_LINGUAS.
6087 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6089 * backend/Makefile.am:
6090 * backend/ev-bookmark.c:
6091 * backend/ev-bookmark.h:
6092 * backend/ev-document-bookmarks.c:
6093 * backend/ev-document-bookmarks.h:
6094 * backend/ev-document-links.c: (ev_document_links_get_type),
6095 (ev_document_links_has_document_links),
6096 (ev_document_links_begin_read), (ev_document_links_get_link),
6097 (ev_document_links_get_child), (ev_document_links_next),
6098 (ev_document_links_free_iter):
6099 * backend/ev-document-links.h:
6100 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6101 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6102 (ev_link_get_link_type), (ev_link_set_link_type),
6103 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6104 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6105 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6106 (ev_link_new_external):
6107 * backend/ev-link.h:
6108 * pdf/xpdf/pdf-document.cc:
6109 * shell/Makefile.am:
6110 * shell/ev-application.c: (ev_application_open_link):
6111 * shell/ev-application.h:
6112 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6113 (ev_history_get_link_nth):
6114 * shell/ev-history.h:
6115 * shell/ev-sidebar-bookmarks.c:
6116 * shell/ev-sidebar-bookmarks.h:
6117 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6118 (ev_sidebar_links_class_init), (selection_changed_cb),
6119 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6120 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6121 (do_one_iteration), (populate_links_idle),
6122 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6123 * shell/ev-sidebar-links.h:
6124 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6125 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6128 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6129 * shell/ev-window.h:
6131 Rename bookmark to link, and use "Index" for the sidebar panel.
6133 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6135 * shell/Makefile.am:
6136 * shell/ev-application.c: (ev_application_open_bookmark):
6137 * shell/ev-application.h:
6138 * shell/ev-history.c: (ev_history_init), (free_links_list),
6139 (ev_history_finalize), (ev_history_class_init),
6140 (ev_history_add_link), (ev_history_add_page),
6141 (ev_history_get_link_nth), (ev_history_get_n_links),
6142 (ev_history_get_current_index), (ev_history_set_current_index),
6144 * shell/ev-history.h:
6145 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6146 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6147 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6148 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6151 * shell/ev-window.c: (ev_window_open_bookmark),
6152 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6153 (goto_page_cb), (register_custom_actions):
6154 * shell/ev-window.h:
6156 Initial history implementation. Needs work.
6158 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6160 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6162 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6164 * cut-n-paste/recent-files/egg-recent-item.c:
6165 * cut-n-paste/recent-files/egg-recent-item.h:
6166 * cut-n-paste/recent-files/egg-recent-model.c:
6167 * cut-n-paste/recent-files/egg-recent-util.c:
6168 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6169 * cut-n-paste/recent-files/egg-recent-view.c:
6173 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6175 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6176 (fillGlyph, fillImageMask, drawImage):
6177 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6178 pdf/splash/SplashTypes.h:
6179 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6180 packed mode for Splash.
6182 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6183 RGB8 packed mode, eliminates the pixbuf data creation loop.
6185 * shell/ev-print-job.c (ev_print_job_finalize)
6186 (ev_print_job_set_property, ev_print_job_get_property)
6187 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6188 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6189 (print_closure_finalize, ev_print_job_print): implement
6190 printing (for backends with EvPsExporter)
6192 * shell/ev_print_job.h: update prototypes.
6194 * shell/ev-window.c (ev_window_print): unref print job after
6197 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6198 unless the document implements the EvDocumentFind interface.
6200 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6202 * configure.ac: Added ja to ALL_LINGUAS.
6204 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6206 * pdf/xpdf/pdf-document.cc:
6208 add a FIXME. We should probably not allocate
6209 a bookmark object every time
6211 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6213 * shell/ev-application.c: (ev_application_open),
6214 (ev_application_open_bookmark):
6215 * shell/ev-application.h:
6217 Add a way to open bookmarks
6219 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6220 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6221 (ev_bookmark_set_property), (ev_bookmark_class_init),
6222 (ev_bookmark_new_title), (ev_bookmark_new_link),
6223 (ev_bookmark_new_external):
6225 Support for external uris, better constructors.
6227 * backend/ev-bookmark.h:
6228 * pdf/xpdf/pdf-document.cc:
6229 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6231 Handle external uris
6233 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6235 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6236 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6238 Hook up bookmarks navigation
6240 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6242 * backend/Makefile.am:
6243 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6244 (ev_bookmark_get_title), (ev_bookmark_set_title),
6245 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6246 (ev_bookmark_get_page), (ev_bookmark_set_page),
6247 (ev_bookmark_get_property), (ev_bookmark_set_property),
6248 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6250 * backend/ev-bookmark.h:
6251 * backend/ev-document-bookmarks.c:
6252 (ev_document_bookmarks_get_bookmark):
6253 * backend/ev-document-bookmarks.h:
6254 * pdf/xpdf/pdf-document.cc:
6255 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6257 Add a bookmark object to the backend and use it instead of get_values
6259 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6261 * data/evince-ui.xml:
6263 Cleanup and add select all.
6265 * shell/ev-view.c: (ev_view_select_all),
6266 (ev_view_button_press_event):
6268 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6271 Clear selection on click.
6273 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6275 * shell/ev-sidebar-thumbnails.c
6276 (ev_sidebar_thumbnails_set_document): forgot to unref the
6279 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6281 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6282 at the visible page, not just linearly. This makes it look fast.
6284 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6286 * backend/ev-document-misc.c
6287 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6289 * backend/ev-document-thumbnails.h: New interface to get the size
6292 2005-01-06 Jeremy Katz <katzj@redhat.com>
6294 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6297 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6299 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6300 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6303 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6305 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6307 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6308 fonts. Should fix font problems on systems that have the base
6309 fonts in bitmap format. Reported by James Henstridge
6310 <james@jamesh.id.au>.
6312 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6315 * pdf/xpdf/GfxState.cc:
6317 Fix for CAN-2004-1125
6319 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6321 * shell/ev-view.c: (ev_view_copy):
6323 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6325 Implement Edit->Copy
6327 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6329 * backend/ev-document.c: (ev_document_get_text):
6330 * backend/ev-document.h:
6331 * pdf/xpdf/pdf-document.cc:
6332 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6333 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6334 (ev_view_update_primary_selection), (ev_view_button_press_event),
6335 (ev_view_motion_notify_event), (ev_view_button_release_event):
6337 Beginnings of clipboard support. Incomplete but primary sort
6340 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6342 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6343 (expose_bin_window):
6345 Nicer rubberband drawing, from GtkIconView.
6347 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6349 * backend/ev-document.c: (ev_document_save):
6350 * backend/ev-document.h:
6351 * data/evince-ui.xml:
6352 * pdf/xpdf/pdf-document.cc:
6353 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6355 Implement "Save a copy..." menu item
6357 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6359 * shell/ev-view.c: (ev_view_zoom):
6361 Queue a resize when zoom changes
6363 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6365 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6368 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6371 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6373 * pdf/xpdf/pdf-document.cc
6374 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6376 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6378 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6379 It's slow, but I'll speed it up next!
6381 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6383 * shell/main.c (load_files):
6385 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6386 from the command line and because it seems more appropriate.
6388 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6390 * data/evince-ui.xml:
6391 * shell/ev-window.c: (update_action_sensitivity),
6392 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6394 s/next page/page down
6395 s/previous page/page up
6397 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6399 * data/evince-ui.xml:
6401 Change the layout to match clarkbw design.
6403 * shell/Makefile.am:
6404 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6405 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6406 (ev_navigation_action_finalize),
6407 (ev_navigation_action_set_property),
6408 (ev_navigation_action_get_property),
6409 (ev_navigation_action_class_init):
6410 * shell/ev-navigation-action.h:
6412 Implement clarkbw toolbar navigation controls (incomplete)
6414 * shell/ev-page-action.c: (update_label), (update_spin),
6415 (value_changed_cb), (create_tool_item), (connect_proxy),
6416 (ev_page_action_init), (ev_page_action_finalize),
6417 (ev_page_action_set_property), (ev_page_action_get_property),
6418 (ev_page_action_set_current_page),
6419 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6420 * shell/ev-page-action.h:
6422 Implement a page switcher in the toolbar
6424 * shell/ev-view.c: (ev_view_scroll_view):
6425 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6426 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6427 (register_custom_actions), (ev_window_init):
6429 Change page on PageUp/Down.
6431 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6433 * pdf/xpdf/pdf-document.cc
6434 (pdf_document_thumbnails_get_thumbnail): initial stab at
6435 implementing thumbnail support for pdfs. It only does documents
6436 with precached pdfs now.
6438 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6440 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6441 thumbnail code into a time-based idle as well. Also, turn off the
6442 shadow temporarily as it's really slow.
6444 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6446 * backend/ev-document.c: (ev_document_class_init):
6447 * pdf/xpdf/pdf-document.cc:
6448 * shell/ev-window.c: (ev_window_open):
6450 Fix document title bugs and fallback to
6451 filename when not available.
6453 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6455 * backend/ev-document.c: (ev_document_get_type),
6456 (ev_document_class_init), (ev_document_load),
6457 (ev_document_get_title):
6458 * backend/ev-document.h:
6459 * pdf/xpdf/pdf-document.cc:
6460 * ps/ps-document.c: (ps_document_set_property),
6461 (ps_document_get_property), (ps_document_class_init),
6465 * shell/ev-window.c: (update_window_title), (ev_window_open),
6468 Initial support for document title. Not working yet.
6470 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6472 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6474 Grab focus on the view when clicking it
6476 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6478 * shell/ev-marshal.list:
6479 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6480 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6482 Add key bindings to the view. Now if the focus would work
6485 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6488 * backend/Makefile.am:
6491 * dvi/dvilib/Makefile.am:
6492 * pdf/xpdf/Makefile.am:
6498 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6500 * shell/ev-view.c: (ev_view_realize):
6502 Fix mouse wheel scrolling
6504 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6510 * ps/ps-document.c: (catchPipe), (ps_document_init),
6511 (ps_document_class_init), (ps_document_cleanup),
6512 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6513 (set_up_page), (close_pipe), (is_interpreter_ready),
6514 (interpreter_failed), (output), (input), (start_interpreter),
6515 (stop_interpreter), (file_length), (file_readable),
6516 (check_filecompressed), (check_pdf), (compute_xdpi),
6517 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6518 (ps_document_get_type), (ps_document_emit_error_msg),
6519 (document_load), (ps_document_next_page),
6520 (ps_document_get_current_page), (ps_document_get_page_count),
6521 (ps_document_goto_page), (ps_document_set_page_size),
6522 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6523 (ps_document_load), (ps_document_get_n_pages),
6524 (ps_document_set_page), (ps_document_get_page),
6525 (ps_document_widget_event), (ps_document_set_target),
6526 (ps_document_set_scale), (ps_document_set_page_offset),
6527 (ps_document_get_page_size), (ps_document_render),
6528 (ps_document_document_iface_init):
6531 * shell/ev-window.c: (ev_window_open):
6533 Rename GtkGS to PSDocument
6535 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6537 * ps/gtkgs.c: (gtk_gs_class_init):
6540 Some more leftover...
6542 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6544 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6545 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6546 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6549 Remove unused code and make a lot of stuff private
6551 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6553 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6554 (gtk_gs_defaults_changed):
6560 Cleanup headers dependencies
6562 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6567 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6569 * ps/gtkgs.c: (file_length), (file_readable),
6570 (check_filecompressed), (check_pdf), (gtk_gs_load),
6571 (gtk_gs_get_postscript):
6575 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6580 * ps/gtkgs.c: (gtk_gs_set_zoom):
6584 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6586 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6588 Ensure the page is rerendered when changing zoom
6590 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6592 * backend/ev-document.c: (ev_document_base_init),
6593 (ev_document_changed):
6594 * backend/ev-document.h:
6596 Add a changed event that is emitted when the page content
6597 changes. This is necessary to deal with the fact that
6598 in ps backend rendering happen asycrounously.
6599 This makes the ps backend mostly work.
6601 * pdf/xpdf/pdf-document.cc:
6605 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6606 (ps_document_set_target):
6610 * shell/ev-view.c: (document_changed_callback),
6611 (ev_view_set_document), (ev_view_set_page):
6613 Redraw on the changed signal
6615 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6617 * configure.ac: Added pt_BR to ALL_LINGUAS.
6619 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6621 * backend/ev-document-bookmarks.c:
6622 (ev_document_bookmarks_get_child): *
6623 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6624 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6625 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6626 (ev_sidebar_bookmarks_destroy),
6627 (ev_sidebar_bookmarks_class_init),
6628 (ev_sidebar_bookmarks_construct), (stack_data_free),
6629 (do_one_iteration), (populate_bookmarks_idle),
6630 (ev_sidebar_bookmarks_clear_document),
6631 (ev_sidebar_bookmarks_set_document): *
6632 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6633 (ev_sidebar_add_page),
6634 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6635 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6636 it displays both the topics and the page numbers.
6638 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6640 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6642 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6645 2004-12-23 Adam Weinberger <adamw@gnome.org>
6647 * configure.ac: Added en_CA to ALL_LINGUAS.
6649 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6651 * ChangeLog: replace bottom of this ChangeLog (merged history of
6652 ggv and gpdf; where all paths were wrong and most of the files are
6653 not even in this tree) with ChangeLog (from arch) of the shell
6656 2004-12-23 Havoc Pennington <hp@redhat.com>
6658 * shell/ev-window.c: hook up potentially-questionable "find
6659 results status text" feature - something involving the sidebar or
6660 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6661 might be better in the end.
6663 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6664 with corresponding signal when it should be updated
6666 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6668 2004-12-22 Havoc Pennington <hp@redhat.com>
6670 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6671 find stuff on other pages, sort of (only returns one result on
6672 invisible pages, to show they have results; updates full results
6673 for a page when you view it). Currently repaints the current page
6674 every time a new result is found on any page, which isn't so nice.
6676 2004-12-22 Havoc Pennington <hp@redhat.com>
6678 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6679 the document doesn't support find (better ideas?)
6680 (find_bar_search_changed_cb): handle missing document or document
6681 that doesn't support find
6683 * pdf/xpdf/pdf-document.cc: port to implement the new
6686 * backend/ev-document-find.c: create a new interface for searching
6688 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6690 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6692 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6695 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6696 EvPrintJob constructor arguments.
6698 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6699 for documents that can export PostScript (page by page).
6701 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6703 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6704 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6705 (pdf_document_ps_exporter_iface_init:
6706 Implement EvPSExporter.
6708 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6710 2004-12-22 Anders Carlsson <andersca@gnome.org>
6712 * backend/Makefile.am:
6713 * backend/ev-document-thumbnails.c:
6714 (ev_document_thumbnails_get_type),
6715 (ev_document_thumbnails_get_thumbnail):
6716 * backend/ev-document-thumbnails.h:
6717 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6718 (pixbuf_document_thumbnails_get_thumbnail),
6719 (pixbuf_document_document_thumbnails_iface_init):
6720 * shell/Makefile.am:
6721 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6722 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6723 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6724 * shell/ev-sidebar-thumbnails.h:
6725 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6726 (ev_sidebar_set_document):
6727 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6728 (create_shadow), (ev_pixbuf_add_shadow):
6730 Add thumbnail support.
6732 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6734 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6735 (using_postscript_printer): Set up a print dialog for "PostScript
6738 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6741 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6743 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6745 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6746 (ps_document_set_target), (ps_document_get_page_size),
6747 (ps_document_render):
6752 2004-12-22 Christian Rose <menthos@menthos.com>
6754 * configure.ac: Added "sv" to ALL_LINGUAS.
6756 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6758 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6759 document supports bookmarks.
6761 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6763 * ps/ggvutils.c: (ggv_file_readable):
6765 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6766 (gtk_gs_get_postscript):
6770 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6772 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6773 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6774 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6775 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6776 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6777 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6778 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6779 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6780 (gtk_gs_set_antialiasing), (ps_document_load),
6781 (ps_document_render):
6784 Another check point for the ps backend. Now I can get it to show
6787 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6789 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6790 document setting code.
6792 2004-12-22 Anders Carlsson <andersca@gnome.org>
6794 * shell/eggfindbar.c: (entry_activate_callback):
6795 Animate the next button when activate is pressed.
6797 2004-12-22 Anders Carlsson <andersca@gnome.org>
6799 * shell/ev-window.c: (ev_window_cmd_edit_find),
6800 (update_fullscreen_popup), (ev_window_fullscreen),
6801 (ev_window_unfullscreen), (ev_window_state_event_cb),
6802 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6803 Fix bugs in fullscreen code.
6805 2004-12-22 Anders Carlsson <andersca@gnome.org>
6809 * pixbuf/Makefile.am:
6810 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6811 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6812 (pixbuf_document_set_page), (pixbuf_document_get_page),
6813 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6814 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6815 (pixbuf_document_render), (pixbuf_document_begin_find),
6816 (pixbuf_document_end_find), (pixbuf_document_finalize),
6817 (pixbuf_document_class_init),
6818 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6819 * pixbuf/pixbuf-document.h:
6820 * shell/Makefile.am:
6821 * shell/ev-application.c: (ev_application_open):
6822 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6826 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6829 * dvi/dvilib/Makefile.am:
6831 * configure.ac: Auto*ify dvi and dvi/dvilib
6833 * dvi/Makefile: Remove from CVS
6835 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6838 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6840 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6842 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6845 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6846 (gtk_gs_value_adjustment_changed), (compute_size),
6847 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6848 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6849 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6850 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6851 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6852 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6853 (ps_document_load), (ps_document_get_n_pages),
6854 (ps_document_set_page), (ps_document_get_page),
6855 (ps_document_set_target), (ps_document_set_scale),
6856 (ps_document_set_page_offset), (ps_document_get_page_size),
6857 (ps_document_render), (ps_document_begin_find),
6858 (ps_document_end_find), (ps_document_document_iface_init):
6860 * shell/Makefile.am:
6861 * shell/ev-window.c: (ev_window_open):
6863 Some work to integrate gtkgs with EvDocument
6865 2004-12-22 Anders Carlsson <andersca@gnome.org>
6867 * shell/ev-window.c: (update_fullscreen_popup),
6868 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6869 (exit_fullscreen_button_clicked_cb),
6870 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6871 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6872 (ev_window_state_event_cb), (ev_window_init):
6873 Add fullscreen support from Epiphany.
6875 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6877 * data/ev-stock-zoom-fit-width.png: fit-width
6878 stock icon from gpdf.
6880 * shell/ev-stock-icons.[ch]: copied from gpdf.
6882 * shell/main.c: (main): init stock icons.
6884 * shell/ev-window.c: use the fit-width icon.
6886 * data/evince-ui.xml: add zooming toolbar items.
6888 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6891 (ev_view_best_fit), (ev_view_fit_width): because
6892 get_page_size() returns the scaled page size, we
6893 need to calculate the scale factor relative to
6894 the previous scale factor. Should really just
6895 add get_real_page_size().
6897 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6899 * shell/ev-view.[ch]:
6900 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6901 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6904 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6905 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6906 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6909 * pdf/xpdf/pdf-document.cc:
6910 (pdf_document_begin_find),
6911 (pdf_document_end_find): make static.
6913 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6915 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6917 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6918 names to fontconfig patterns.
6919 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6921 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6924 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6940 Import ggv backend. Not hooked up yet.
6942 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6944 * shell/main.c: (load_files), (main): load files
6945 from the command line.
6947 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6949 * configure.ac: don't require bonobo.
6951 * cut-n-paste/recent-files/*: kill bonobo recent
6954 * shell/ev-window.c:
6955 (ev_window_is_empty): upd.
6956 (unable_to_load), (ev_window_open): load backend
6957 based on the mime type.
6959 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6961 * backend/.cvsignore: ignore generated marshalers source.
6963 * shell/main.c (main): this is not epiphany.
6965 2004-12-22 Havoc Pennington <hp@redhat.com>
6967 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6968 (expose_bin_window): draw find highlights
6970 * shell/ev-window.c (find_bar_search_changed_cb): implement
6972 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6973 (pdf_document_end_find): implement this interface
6975 * backend/ev-document.c (ev_document_found): add this to emit
6978 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6980 * data/evince-ui.xml: Add a few more toolbar items.
6982 * shell/ev-window.c: Hook up page navigation toolbar
6985 * shell/ev-view.[ch]: add ev_view_set/get_page and
6986 a page-changed signal.
6988 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6989 Add ev_document_get_page().
6991 * shell/ev-window.c: Sensitize/desensitize navigation
6994 2004-12-21 Havoc Pennington <hp@redhat.com>
6996 * backend/ev-backend-marshal.c,
6997 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6998 marshaler-generator thingy. I'm sure there's a better way to do
6999 this in the modern world.
7001 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7002 end_find methods and "found" signal.
7004 * configure.ac: find glib-genmarshal
7006 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7008 * shell/ev-sidebar.c: Construct an actual sidebar.
7009 * shell/ev-sidebar-bookmarks.[ch]:
7010 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7012 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7014 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7017 * shell/ev-view.c: Track the size from the document.
7019 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7021 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7022 constructor assumes ownership of the string passed in.
7024 * shell/ev-window.c (ev_window_open): Destroy the error
7025 dialog once we've displayed it.
7027 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7029 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7030 a bit, it works! (sort of)
7032 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7033 Move to .cc since we need to use C++ in the implementation.
7035 * shell/dummy.cc: Add a CC file to force evince
7036 to be linked as a C++ program.
7038 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7040 * shell/ev-view.[ch]: Start of content-area widget.
7042 * shell/ev-window.c: Create a EvView, update it
7043 as we change documents.
7045 * shell/Makefile.am shell/ev-marshal.list: Add
7046 generated marshalers.
7048 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7050 * Makefile.am (SUBDIRS): move shell.
7052 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7054 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7055 .a to libtool convenience libraries.
7057 * shell/ev-window.c (ev_window_open): Hard code loading
7060 * backend/ev-document.h: Add a boolean return to load(),
7061 fix GError * to GError **.
7063 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7064 object for a PDF backend EvDocument.
7066 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7068 * dvi/*: New directory with the beginning of a .dvi backend.
7070 2004-12-21 Havoc Pennington <hp@redhat.com>
7072 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7073 previous/next instead of back/forward
7075 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7077 * backend/ev-document.[ch]: Fix a couple of problems so
7080 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7082 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7083 to backend/ directory, rename EvViewer to EvDocument.
7085 2004-12-21 Havoc Pennington <hp@redhat.com>
7087 * shell/ev-window.c: hook up the find bar widget; now we just need
7088 a document to find things in
7090 * shell/eggfindbar.c: a find bar widget
7092 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7094 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7096 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7098 * pdf/**: Import of xpdf code from gpdf.
7100 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7102 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7103 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7104 Fix FreeType includes.
7106 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7107 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7108 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7109 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7110 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7111 Include xpdfconfig.h
7113 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7115 * shell/ev-window.c (ev_window_dispose): dispose can be called
7118 2004-12-21 Havoc Pennington <hp@redhat.com>
7120 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7123 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7124 items; really they should be synced with the strings, etc. from
7125 current gpdf, but just getting the boring typing out of the way
7127 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7130 * shell/ev-application.c: (window_destroy_cb):
7131 * shell/ev-window.c:
7132 * shell/main.c: (main):
7134 Actually show the window...
7136 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7139 * shell/Makefile.am:
7140 * shell/ev-application.c: (ev_application_class_init):
7141 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7145 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7147 Import to gnome cvs.
7149 * Remove copies of gpdf and ggv trees.
7150 * Rip out all the recursive configure code.
7151 * Remove bonobo machinery.
7152 * viewer/*: GInterfaces that backends should/can implement.
7154 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7156 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7159 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7161 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7162 (ev_application_finalize, ev_application_class_init)
7163 (ev_application_init): use GType instance private data for priv.
7165 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7166 (ev_window_finalize, ev_window_class_init)
7167 (ev_window_init): ditto.
7169 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7171 * shell/ev-application.c (ev_application_new_window): make public
7172 (ev_application_show_initial_window): kill.
7174 * shell/ev-application.h: update prototypes.
7176 * shell/main.cc (main): inline ev_application_show_initial_window.
7178 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7180 * shell/ev-application.c (ev_application_new_window): impl.
7181 (ev_application_show_initial_window): use it.
7182 (is_window_empty, ev_application_get_empty_window): returns an
7183 existing empty window or a new one.
7184 (ev_application_open): from ev_window_cmd_file_open.
7186 * shell/ev-application.h: update prototypes
7188 * shell/ev-window.c (ev_window_is_empty): impl.
7189 (ev_window_open): make public.
7190 (ev_window_cmd_file_open): use ev_application_open
7192 * shell/ev-window.h: update prototypes, remove unused.
7194 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7196 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7197 move destroy handler out of here...
7199 * shell/ev-application.c, shell/ev-application.h: ...into this new
7200 class. Also handles initial window creation.
7202 * shell/main.cc (main): use EvApplication to create initial
7205 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7207 * Makefile.am (SUBDIRS): add cut-n-paste
7209 * cut-n-paste/Makefile.am: add
7211 * configure.ac: generate Makefiles in cut-n-paste
7213 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7215 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7216 (ev_window_class_init): install ev_window_dispose.
7218 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7220 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7221 char (gchar looks stupid).
7223 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7225 * po/de.po: updated German translation.
7227 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7229 * configure.ac: add more pkg-config library checks for gnome-vfs,
7232 * gpdf/configure.in: temporarily disable libpaper
7233 checks. Otherwise I'd have to add the checks for the shell, too.
7235 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7237 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7238 and * file filters to the file choose.
7240 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7242 * po/de.po: Updated German translation.
7244 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7246 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7248 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7250 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7252 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7253 (ev_window_init): implement those menuitems.
7255 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7257 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7259 * shell/ev-window.c (ev_window_init): use the toolbar.
7261 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7263 * shell/ev-window.c (ev_window_init): use menu translations
7265 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7267 * configure.ac: add "de" to ALL_LINGUAS.
7269 * po/de.po: add German translation.
7271 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7273 * Makefile.am (SUBDIRS): add po
7275 * configure.ac: check intltool, glib-gettext etc, generate
7278 * po, po/POTFILES.in, po/POTFILES.skip: new.
7280 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7282 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7283 already use (#ifdef ENABLE_NLS)
7285 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7286 pointer indirection thinko.
7288 * shell/main.c: include gi18n.h for bindtextdomain etc.
7290 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7292 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7293 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7294 tooltips for menu items in the statusbar.
7296 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7298 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7299 pkgdatadir drop UIDIR
7301 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7303 * data/evince-ui.xml: Add File->Open menu item
7305 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7306 chooser), hook it up in the ui manager.
7308 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7310 * shell/ev-window.c: fix Help->About tooltip.
7312 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7314 * configure.ac: set CFLAGS for libevprivate.
7316 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7317 definitions, factory etc.
7319 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7321 * shell/Makefile.am: link against libevprivate.a.
7323 * shell/ev-window.c (entries): add stock icon to Help->About.
7325 * shell/main.c (main): init stock icon code.
7327 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7329 * lib/recent-files: egg recent files code
7331 * lib/Makefile.am: add.
7333 * Makefile.am: add lib subdir.
7335 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7336 set CFLAGS for recent-files.
7338 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7340 * configure.ac: disable -ansi and -pedantic gcc flags. They
7341 disable POSIX stuff in stdio.h, but egg-recent uses them.
7343 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7345 * configure.ac: add --disable-deprecated flag (defaults to on in
7348 * shell/Makefile.am (INCLUDES): use it.
7350 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7352 * shell/main.c: add missing #include.
7354 * shell/ev-window.c: fix for pedantic gcc.
7355 (ev_window_cmd_help_about): split license into paragraphs for
7356 translators and pedantic compilers.
7358 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7360 * configure.ac: add more warning flags if compiling with gcc from
7361 cvs (or explicitly requested with --enable-more-warnings).
7363 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7365 * data/evince-ui.xml: add File and File->Close menu.
7367 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7368 (ev_window_destroy): quit after destroy.
7369 (ev_window_class_init): override GtkObject::destroy.
7370 (entries): install close_window callback.
7372 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7374 * Makefile.am (SUBDIRS): add data subdir.
7376 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7377 gtk+ 2.5.0 for GtkAboutDialog.
7379 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7382 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7384 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7386 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7388 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7390 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7392 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7394 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7396 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7398 * shell/*: Added shell directory boilerplate, build it.
7400 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7402 * configure.ac, Makefile.am: Added top-level configure.ac and