1 2006-05-09 Carlos Garcia Campos <carlosgc@gnome.org>
4 * shell/ev-application.[ch]:
9 2006-05-09 Wouter Bolsterlee <uws+gnome@xs4all.nl>
11 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
13 Change the properties dialog response to
14 GTK_RESPONSE_CANCEL instead of GTK_RESPONSE_CLOSE. This
15 will make the dialog go away when the user presses
16 enter. With gtk+ >= 2.9 this will happen anyway, but for
17 older gtk+ versions only GTK_RESPONSE_CANCEL is bound to
18 escape by default. Fixes bug #340539. See also bug
19 #101293 for the gtk+ part.
21 2006-05-08 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
23 * shell/ev-view.c (tip_from_action_named): Replace some strings
24 that were wrong. Closes #340970.
26 2006-05-08 Carlos Garcia Campos <carlosgc@gnome.org>
28 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
30 Update sidebar chrome flag when sidebar visibility changes. Fixes bug
34 2006-05-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
38 * dvi/mdvi-lib/Makefile.am:
39 * properties/Makefile.am:
42 * thumbnailer/Makefile.am:
44 Due to broken libtool that is unable to track dependencies
45 of noinst libraries we are forced to explicitely point
46 libraries for binary. Fix for the bug #333334.
48 2006-05-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
50 * data/evince.desktop.in.in:
51 * shell/ev-view.c: (view_update_range_and_current_page),
52 (ev_view_next_page), (ev_view_previous_page):
53 * shell/ev-window.c: (update_chrome_visibility),
54 (setup_sidebar_from_metadata), (ev_window_setup_document),
55 (ev_window_update_fullscreen_popup), (fullscreen_timeout_cb),
56 (fullscreen_set_timeout), (fullscreen_clear_timeout),
57 (fullscreen_motion_notify_cb), (ev_window_run_fullscreen),
58 (ev_window_stop_fullscreen), (ev_window_run_presentation),
59 (ev_window_stop_presentation), (ev_window_focus_in_event),
60 (ev_window_focus_out_event), (ev_window_view_sidebar_cb),
62 * thumbnailer/Makefile.am:
64 Update fullscreen and presentation timeout handling. Hide
65 cursor in presentation after timeout. Fix for the bugs
68 2006-05-03 Carlos Garcia Campos <carlosgc@gnome.org>
70 * backend/ev-link-action.[ch]:
71 * pdf/ev-poppler.cc: (ev_link_from_action):
72 * shell/ev-view-private.h:
73 * shell/ev-view.c: (ev_view_handle_link), (tip_from_action_named):
74 * shell/ev-window.c: (do_action_named), (view_external_link_cb):
76 Add support for Named Action links
78 2006-05-02 Carlos Garcia Campos <carlosgc@gnome.org>
80 * backend/Makefile.am:
81 * backend/ev-document-links.[ch]:
82 * backend/ev-document.[ch]:
83 * backend/ev-link-action.[ch]:
84 * backend/ev-link-dest.[ch]:
85 * backend/ev-link.[ch]:
86 * pdf/ev-poppler.cc: (pdf_document_find_link_dest),
87 (ev_link_dest_from_dest), (ev_link_from_action), (build_tree):
88 * shell/ev-page-action.c: (build_new_tree_cb):
89 * shell/ev-sidebar-links.c: (get_page_from_dest), (print_section_cb),
90 (links_page_num_func), (update_page_callback):
91 * shell/ev-view.[ch]: (ev_view_goto_dest), (ev_view_handle_link),
94 * shell/ev-window.[ch]: (ev_window_open_uri),
95 (sidebar_links_link_activated_cb), (ev_view_popup_cmd_open_link):
96 * shell/ev-application.[ch]: (ev_application_open_window),
97 (ev_application_open_uri):
99 Rework links system, it adds support for remote links now and it makes
100 easier to add new kinds of actions and destinations. Fixes bug #317292
102 2006-05-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
106 * data/evince-16.png:
107 * data/evince-22.png:
109 * shell/main.c: (main):
111 Evince use it's own icon. Fix for the bug #313392.
113 * shell/ev-window.c: (fullscreen_timeout_cb),
114 (fullscreen_set_timeout), (fullscreen_clear_timeout),
115 (ev_window_cmd_help_about), (ev_window_dispose):
117 Simplify fullscreen timeout code.
119 2006-04-29 Carlos Garcia Campos <carlosgc@gnome.org>
121 * backend/ev-attachment.c:
122 * shell/ev-attachment-bar.c:
125 Allow multiple selection of attachments
127 2006-04-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
129 * shell/ev-view.c: (view_update_range_and_current_page),
132 Fix for the bug #312573 – Optimal selection of current
133 page among visible pages.
135 2006-04-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
141 Update to djvulibre-3.5.17, now it uses pkg-config. Fix
144 2006-04-22 Kjartan Maraas <kmaraas@gnome.org>
146 * configure.ac: Fix the LINGUAS stuff here too so it builds.
148 2006-04-21 Wouter Bolsterlee <uws+gnome@xs4all.nl>
150 * shell/ev-window.c: Add ellipsis to the Find... menu item, as
151 dictated by the GNOME HIG. Fixes bug #339235.
153 2006-04-20 Wouter Bolsterlee <uws+gnome@xs4all.nl>
155 * data/evince-ui.xml:
156 * shell/ev-view.c: (ev_view_can_find_previous):
158 * shell/ev-window.c: (ev_window_update_actions),
159 (ev_window_cmd_edit_find_previous):
161 Add support for "Find Previous" as dictated by the GNOME HIG. A
162 menu item is added and some glue code to make it all work is added
165 2006-04-09 Wouter Bolsterlee <uws+gnome@xs4all.nl>
167 * configure.ac: Award myself the "useless use of cat" award.
169 2006-04-09 Wouter Bolsterlee <uws+gnome@xs4all.nl>
171 * po/LINGUAS: New file listing all supported languages.
173 * configure.in: Use po/LINGUAS instead of including all languages
174 directly in this file. See the wiki for more information:
175 http://live.gnome.org/GnomeGoals/PoLinguas
177 2006-04-06 Carlos Garcia Campos <carlosgc@gnome.org>
179 * backend/ev-document-factory.c:
181 Do not load the document twice when there isn't errors
183 2006-04-03 Carlos Garcia Campos <carlosgc@gnome.org>
185 * backend/ev-attachment.c:
187 Fix a crash when there isn't a default application to open an
190 2006-04-03 Carlos Garcia Campos <carlosgc@gnome.org>
192 * backend/ev-attachment.[ch]:
193 * shell/ev-attachment-bar.[ch]:
197 2006-04-03 Carlos Garcia Campos <carlosgc@gnome.org>
199 * backend/Makefile.am:
200 * data/evince-ui.xml:
201 * backend/ev-attachment.[ch]:
202 * backend/ev-document.[ch]: (ev_document_has_attachments),
203 (ev_document_get_attachments):
204 * pdf/ev-poppler.cc: (pdf_document_has_attachments),
205 (attachment_save_to_buffer), (pdf_document_get_attachments),
206 (pdf_document_document_iface_init):
208 * shell/ev-attachment-bar.[ch]:
211 Add support for PDF attachments. Fixes bug #325143
213 2006-04-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
215 * backend/ev-document-factory.c: (get_document_from_uri),
216 (ev_document_factory_get_document):
217 * backend/ev-document-factory.h:
218 * properties/ev-properties-main.c: (ev_properties_get_pages):
220 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
221 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
222 (ev_job_queue_remove_job):
223 * shell/ev-job-queue.h:
224 * shell/ev-job-xfer.c:
225 * shell/ev-job-xfer.h:
226 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
227 (ev_job_fonts_new), (ev_job_fonts_run), (ev_job_xfer_init),
228 (ev_job_xfer_dispose), (ev_job_xfer_class_init), (ev_job_xfer_new),
231 * shell/ev-window.c: (ev_window_is_empty),
232 (password_dialog_response), (ev_window_clear_xfer_job),
233 (ev_window_xfer_job_cb), (ev_window_open_uri),
234 (ev_window_cmd_focus_page_selector),
235 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
236 (ev_window_cmd_continuous), (ev_window_cmd_dual),
237 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
239 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
241 * Cleanup mime type detection on document load. Fix for the
244 2006-04-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
246 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
248 Fix crash on exit, described in the bug #336825.
250 2006-03-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
252 * backend/ev-document-factory.c:
253 (ev_document_factory_get_from_mime),
254 (ev_document_factory_get_all_mime_types), (get_document_from_uri),
255 (ev_document_factory_get_document),
256 (file_filter_add_mime_list_and_free),
257 (ev_document_factory_add_filters):
258 * backend/ev-document-factory.h:
259 * properties/ev-properties-main.c: (ev_properties_get_pages):
261 * shell/ev-application.c:
262 * shell/ev-job-xfer.c: (ev_job_xfer_run):
263 * shell/ev-window.c: (ev_window_cmd_file_open),
264 (ev_window_cmd_save_as):
265 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
267 Rework factory functions so they are placed now in a single
268 file ev-document-factory.c
270 2006-03-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
272 * shell/ev-window.c: (update_chrome_visibility):
274 Fix for the bug 166566 - don't show menubar in fullscreen
277 2006-03-22 Tommi Vainikainen <thv@iki.fi>
279 * configure.ac (ALL_LINGUAS): Added Dzongkha (dz).
281 2006-03-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
283 * shell/ev-view.c: (ev_view_expose_event):
285 More correctly draw loading text when document
288 2006-03-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
290 * shell/ev-view.c: (ev_view_scroll):
292 Fix for the bug #334854, page down and page up switch
293 pages in presentation mode.
295 2006-03-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
297 * shell/ev-window.c: (ev_window_set_action_sensitive),
298 (ev_window_setup_action_sensitivity), (ev_window_update_actions),
299 (ev_window_set_view_accels_sensitivity),
300 (update_chrome_visibility), (ev_window_cmd_focus_page_selector),
301 (ev_window_cmd_continuous), (ev_window_cmd_dual),
302 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
303 (find_changed_cb), (page_changed_cb), (ev_window_setup_document),
304 (ev_window_cmd_edit_find), (ev_window_set_page_mode),
305 (ev_window_cmd_edit_toolbar_cb), (ev_window_zoom_changed_cb),
306 (ev_window_has_selection_changed_cb), (find_bar_search_changed_cb),
307 (view_actions_focus_in_cb), (ev_window_init):
309 Fix for the bug #333902, now it's possible to search
312 2006-03-16 Jérémy Ar Floc'h <jérémy.lefloch@gmail.com>
314 * configure.ac: Added Breton translation.
315 * po/br.po: Added Breton translation.
317 2006-03-14 Carlos Garcia Campos <carlosgc@gnome.org>
319 * shell/ev-window-title (ev_window_title_update):
321 Fix memory leak in window title. Fixes bug #333944
323 2006-03-14 Carlos Garcia Campos <carlosgc@gnome.org>
325 * shell/ev-metadata-manager.c (parseItem):
327 Fix memory leaks. Fixes bug #333945
329 2006-03-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
331 * NEWS, configure.ac, TODO:
333 Update for release 0.5.2.
335 2006-03-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
337 * shell/ev-view.c: (view_update_range_and_current_page),
340 Don't jump on scrolling, fix for the bug #333127.
342 2006-03-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
344 * shell/ev-view.c: (ev_view_next_page), (ev_view_previous_page):
346 Scroll by one page in presentation mode. Fix for the bug
349 2006-03-01 Vladimer SIchinava <vlsichinava@gmail.com>
351 * configure.ac: Added ka (Georgian) to ALL_LINGUAS line.
353 2006-02-28 Clytie Siddall <clytie@riverland.net.au>
355 * configure.ac Added lv in ALL_LINGUAS line.
357 2006-02-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
359 * NEWS, configure.ac:
361 Update for release 0.5.1
363 2006-02-24 Ricardo Markiewicz <rmarkie@fi.uba.ar>
365 * backend/ev-document-misc.c: (ev_document_misc_paint_one_page):
366 * backend/ev-document-misc.h:
367 * shell/ev-view.c: (draw_one_page):
369 Clairfy what page the toolbar page number applies to. Fix
372 2006-02-24 Stanislav Slusny <slusnys@gmail.com>
374 * shell/ev-view-private.h:
375 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_event),
376 (ev_view_init), (find_changed_cb), (ev_view_find_previous),
377 (ev_view_search_changed):
379 * shell/ev-window.c: (find_bar_search_changed_cb):
381 Dont't jump to find result if window was scrolled during search.
382 Fix for the bug #313266.
384 2006-02-21 Stanislav Slusny <slusnys@gmail.com>
386 * shell/eggfindbar.c: (egg_find_bar_class_init):
387 * shell/eggfindbar.h:
388 * shell/ev-view-accessible.c: (ev_view_accessible_idle_do_action):
389 * shell/ev-view-private.h:
390 * shell/ev-view.c: (add_scroll_binding_keypad), (ev_view_scroll),
391 (ev_view_class_init), (ev_sizing_mode_get_type),
392 (ev_scroll_type_get_type):
394 * shell/ev-window.c: (ev_window_cmd_scroll_forward),
395 (ev_window_cmd_scroll_backward), (find_bar_scroll),
398 Fix for the bug 319133 - Find entry should allow text scroll.
400 2006-02-20 Antoine Dopffer <antoine.dopffer@free.fr>
402 * shell/ev-view-private.h:
403 * shell/ev-view.c: (view_update_range_and_current_page),
404 (highlight_find_results), (find_changed_cb), (page_changed_cb),
405 (ev_view_set_document), (update_find_status_message),
406 (jump_to_find_result), (jump_to_find_page), (ev_view_find_next),
407 (ev_view_find_previous):
409 Fix for the bug #319137. Search now takes account for scrolling.
411 2006-02-19 Michael Hofmann <mh21@piware.de>
415 * djvu/djvu-document-private.h:
416 * djvu/djvu-document.c: (G_DEFINE_TYPE_WITH_CODE),
417 (djvu_handle_events), (djvu_document_load), (djvu_document_save),
418 (djvu_document_get_page_size), (djvu_document_render_pixbuf),
419 (djvu_document_can_get_text), (djvu_document_get_text),
420 (djvu_document_document_iface_init),
421 (djvu_document_thumbnails_get_thumbnail),
422 (djvu_document_find_begin), (djvu_document_find_get_n_results),
423 (djvu_document_find_get_result),
424 (djvu_document_find_page_has_results),
425 (djvu_document_find_get_progress), (djvu_document_find_cancel),
426 (djvu_document_find_iface_init):
427 * djvu/djvu-text-page.c: (djvu_text_page_selection_process),
428 (djvu_text_page_selection), (djvu_text_page_limits_process),
429 (djvu_text_page_limits), (djvu_text_page_copy),
430 (djvu_text_page_position), (djvu_text_page_union),
431 (djvu_text_page_sexpr_process), (djvu_text_page_sexpr),
432 (djvu_text_page_box), (djvu_text_page_append_text),
433 (djvu_text_page_search), (djvu_text_page_prepare_search),
434 (djvu_text_page_new), (djvu_text_page_free):
435 * djvu/djvu-text-page.h:
436 * djvu/djvu-text.c: (djvu_text_idle_callback), (djvu_text_new),
437 (djvu_text_copy), (djvu_text_free), (djvu_text_get_text),
438 (djvu_text_n_results), (djvu_text_has_results),
439 (djvu_text_get_result), (djvu_text_get_progress):
442 Text search in djvu. Fix for the bug #303415.
444 2006-02-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
447 * shell/ev-window.c: (ev_window_cmd_save_as):
449 Ask filechooser to confirm overwrite. Fix for the bug #328266.
450 Thanks to Gary Coady <gary@lyranthe.org>
452 2006-02-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
454 * shell/ev-print-job.c: (idle_print_handler):
456 Inverse order printing, bug #320919.
458 2006-02-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
460 * data/evince-toolbar.xml:
463 Allow to add sidebar checkbutton on toolbar. Fix
466 2006-02-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
468 * ps/ps-document.c: (push_pixbuf), (setup_pixmap):
470 Add checks that have sense for empty ps document.
472 2006-02-15 Luca Ferretti <elle.uca@libero.it>
474 * configure.ac: Include PS in mime types list.
476 2006-02-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
479 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
481 * ps/ps-document.c: (start_interpreter), (ps_document_load):
483 Runtime check for gs interpreter. Fix for the bug #320868.
484 Thanks to Antoine Dopffer antoine.dopffer@free.fr
486 2006-02-12 Carlos Garcia Campos <carlosgc@gnome.org>
488 * shell/ev-application.c:
490 Use DBUS_NAME_FLAG_DO_NOT_QUEUE flag in RequestName method when
491 dbus>=0.60, so that the request is not queued.
493 2006-02-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
497 * shell/ev-sidebar-links.c: (print_section_cb):
500 * shell/ev-window.c: (update_action_sensitivity),
501 (ev_window_close_dialogs), (ev_window_print):
504 Make printing support optional. Patch from Eduardo de Barros Lima
505 <eduardo.lima@indt.org.br> for the bug #330546.
507 2006-02-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
509 * shell/ev-view-private.h:
510 * shell/ev-view.c: (ev_view_expose_event), (ev_view_set_loading),
511 (ev_view_set_document):
513 * shell/ev-window.c: (ev_window_load_job_cb),
514 (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_dispose),
517 Draw Loading message during xfer job. Fix for the bug #329495.
519 2006-02-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
521 * comics/comics-document.c: (comics_regex_quote),
522 (comics_document_load), (extract_argv):
524 Correcly quote regexp before passing it to unzip.
526 2006-02-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
528 * shell/ev-page-cache.c: (build_height_to_page),
529 (ev_page_cache_new), (ev_page_cache_get_max_label_chars),
530 (ev_page_cache_get_dual_even_left):
531 * shell/ev-page-cache.h:
532 * shell/ev-view.c: (view_update_range_and_current_page),
533 (get_page_y_offset), (get_page_extents):
535 Place even pages to the left if document has less then
536 two pages. Fix for the bug #328856.
538 2006-01-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
540 * thumbnailer/evince-thumbnailer-comics.schemas.in:
542 Correct comics scheme. This make evince create thumbnails
543 for comic books. Fix for the bug 329088.
545 2006-01-31 Christopher Aillon <caillon@redhat.com>
547 * data/evince-password.glade: Don't explicitly set
548 invisible_char to the current default value in case
549 the default changes; let GTK+ do its magic.
551 2006-01-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
553 * shell/ev-job-xfer.c: (ev_job_xfer_run): Append
554 real filename to tmp filename since often document
555 type is determined by extension.
557 2006-01-24 Ricardo Markiewicz <rmarkie@fi.uba.ar>
559 * shell/ev-view.c: (add_scroll_binding_keypad),
560 (ev_view_binding_activated), (ev_view_class_init):
562 Add keybindings for percision-scrolling of display area.
563 Fix for the bug #314072.
565 2006-01-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
567 * data/evince.desktop.in.in:
569 Add GTK to the list of categories. Fix for the bug #328034.
571 2006-01-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
573 * shell/ev-application.c: (ev_application_shutdown),
574 (ev_application_set_chooser_uri), (ev_application_get_chooser_uri):
575 * shell/ev-application.h:
576 * shell/ev-window.c: (file_open_dialog_response_cb),
577 (ev_window_cmd_file_open):
579 Save last uri in file chooser dialog. Fix for the bug #327950.
581 2006-01-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
586 Final update for release 0.5.0
590 Remove disable deprecated until we'll require libgnome-2.13.7
591 and port to GOption argument parsing. See bug 327518.
593 2006-01-19 Jani Monoses <jani.monoses@gmail.com>
595 * comics/comics-document.c: (comics_document_save):
596 * djvu/djvu-document.c: (djvu_document_save):
597 * dvi/dvi-document.c: (dvi_document_save):
598 * lib/ev-file-helpers.c: (ev_tmp_filename), (ev_xfer_uri_simple):
599 * lib/ev-file-helpers.h:
600 * pixbuf/pixbuf-document.c: (pixbuf_document_save):
601 * tiff/tiff-document.c: (tiff_document_save):
603 Use common save function for backends.
605 2006-01-18 Jani Monoses <jani.monoses@gmail.com>
607 * backend/ev-document-types.c:
609 Fix crash on saving pixbuf.
611 2006-01-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
613 * cut-n-paste/recent-files/egg-recent-item.c:
614 (get_uri_shortname_for_display), (egg_recent_item_get_short_name):
615 * cut-n-paste/recent-files/egg-recent-model.c: (parse_info_init),
616 (parse_info_free), (valid_element), (start_element_handler),
617 (end_element_handler), (text_handler), (egg_recent_model_filter),
618 (egg_recent_model_monitor_cb), (egg_recent_model_poll_timeout),
619 (egg_recent_model_monitor), (egg_recent_model_read),
620 (egg_recent_model_open_file), (egg_recent_model_lock_file),
621 (egg_recent_model_unlock_file), (egg_recent_model_finalize),
622 (egg_recent_model_set_property), (egg_recent_model_class_init),
623 (egg_recent_model_init), (egg_recent_model_add_full),
624 (egg_recent_model_delete), (egg_recent_model_get_list),
625 (egg_recent_model_clear), (egg_recent_model_clear_mime_filter),
626 (egg_recent_model_set_filter_mime_types),
627 (egg_recent_model_clear_group_filter),
628 (egg_recent_model_set_filter_groups),
629 (egg_recent_model_clear_scheme_filter),
630 (egg_recent_model_set_filter_uri_schemes),
631 (egg_recent_model_remove_expired):
632 * cut-n-paste/recent-files/egg-recent-util.c:
633 (egg_recent_util_get_icon):
634 * cut-n-paste/recent-files/egg-recent-util.h:
635 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
636 (connect_proxy_cb), (egg_recent_view_uimanager_set_list),
637 (egg_recent_view_uimanager_set_empty_list), (model_changed_cb),
638 (egg_recent_view_uimanager_set_property),
639 (egg_recent_view_uimanager_get_property),
640 (egg_recent_view_uimanager_class_init),
641 (egg_recent_view_uimanager_init),
642 (egg_recent_view_uimanager_set_label_width),
643 (egg_recent_view_uimanager_get_label_width):
644 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
645 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
646 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
647 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
648 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
649 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
653 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
655 * shell/ev-page-cache.c: (build_height_to_page),
656 (ev_page_cache_get_height_to_page):
657 * shell/ev-page-cache.h:
658 * shell/ev-view.c: (view_update_range_and_current_page),
659 (get_page_y_offset), (get_page_extents), (ev_view_next_page),
660 (ev_view_previous_page):
662 Dual mode places even pages to the left. Fix for the bug #309393.
665 * shell/ev-window.c: (update_action_sensitivity),
666 (setup_view_from_metadata), (view_menu_popup_cb):
668 Don't restore presentation in empty windows, more intelligent
669 next page behaviour in dual mode.
671 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
672 (ev_pixbuf_cache_clear_job_sizes):
674 Cleanup job callback on removal. Fix for the bug #325886.
676 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
680 Commit workaround Mozilla problem. Fix for the bug #325919
682 * shell/ev-metadata-manager.c: (parse_value), (parseItem),
685 Fix for year 2038 problem.
687 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
689 * shell/ev-window.c: (setup_document_from_metadata),
690 (ev_window_cmd_view_reload):
692 Clamp page recieved from metadata in valid values. Fix
695 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
698 Add MAINTAINERS as requested on desktop-devel-list.
700 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
702 * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
703 (mime_type_supported_by_gdk_pixbuf),
704 (ev_document_factory_get_mime_types),
705 (ev_document_factory_get_all_mime_types):
707 Don't add pixbuf mime types if pixbuf backend is disabled.
709 * shell/ev-application.c: (ev_application_get_uri_window):
711 Fix for the bug 325815 - unhandled MIME type message doesn't
712 appear a second time.
714 * shell/ev-document-types.c: (ev_document_types_add_filters):
715 * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
716 (password_dialog_response), (ev_window_popup_password_dialog),
717 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
718 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
719 (ev_window_run_presentation), (ev_window_stop_presentation),
720 (save_sizing_mode), (ev_window_zoom_changed_cb),
721 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
722 (ev_window_dual_mode_changed_cb),
723 (ev_window_sidebar_current_page_changed_cb),
724 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
725 (window_state_event_cb), (window_configure_event_cb):
727 Cleanup additional uris holded by EvWindow.
729 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
731 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
732 (ev_view_can_previous_page), (ev_view_can_next_page):
734 * shell/ev-window.c: (update_action_sensitivity):
736 Two page scrolling with Space and PageUp in dual mode. Second fix
739 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
741 * shell/ev-view.c: (scroll_to_current_page):
743 Correctly clamp adjustment value. Fix for the bug
746 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
748 * shell/ev-sidebar-links.c: (print_section_cb):
749 * shell/ev-window.c: (ev_window_get_uri),
750 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
751 (ev_window_print_dialog_response_cb), (ev_window_print_range),
754 Make print dialog non-modal. Fix for the bug #325622.
756 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
758 * shell/ev-metadata-manager.c:
759 * shell/ev-utils.c: (using_pdf_printer),
760 (using_postscript_printer), (load_print_config_from_file),
761 (save_print_config_to_file):
763 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
764 (update_sidebar_visibility), (setup_sidebar_from_metadata),
765 (setup_view_from_metadata), (ev_window_setup_document),
766 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
767 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
768 (ev_window_run_presentation), (ev_window_stop_presentation),
769 (save_sizing_mode), (ev_window_zoom_changed_cb),
770 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
771 (ev_window_dual_mode_changed_cb),
772 (ev_window_sidebar_current_page_changed_cb),
773 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
774 (window_state_event_cb), (window_configure_event_cb),
777 Setting saving behaviour fixes.
779 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
783 Make antialiasing gs options better and allow
784 to change them during configure. Fix for the
787 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
789 * shell/ev-window.c: (setup_view_from_metadata):
791 Remember if last window was maximized. Fix for the
794 2005-12-28 Abel Cheung <maddog@linuxhall.org>
796 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
798 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
800 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
801 * shell/ev-page-action.c: (build_new_tree_cb):
802 * shell/ev-sidebar-links.c: (links_page_num_func),
803 (update_page_callback_foreach), (update_page_callback):
804 * shell/ev-view.c: (scroll_to_current_page):
806 Fix for the bug #325067 with more intelligent selection
807 of current link in sidebar. Make sidebar handle links
808 of FITR-like type more correctly.
810 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
811 (dvi_pixbuf_put_pixel):
813 Fix memory consumtion with disabled alpha channel.
815 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
817 * data/evince-ui.xml:
818 * shell/ev-window.c: (view_menu_popup_cb),
819 (ev_popup_cmd_open_link), (ev_window_init):
821 Update context menu for internal links. Fix for the bug
824 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
826 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
828 Bind context menu to keyboard also. Fix for the bug
831 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
833 * shell/ev-view.c: (selection_scroll_timeout_cb):
835 Horizontal scroll on selection also.
837 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
839 * shell/ev-metadata-manager.c: (parse_value):
840 * shell/ev-view.c: (goto_xyz_link):
842 Correct zoom setup and metadata save broken in
845 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
847 * shell/ev-view-private.h:
848 * shell/ev-view.c: (scroll_to_current_page),
849 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
850 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
851 (page_changed_cb), (ev_view_set_continuous),
852 (ev_view_set_dual_page), (ev_view_set_presentation):
854 Delay scroll until allocation to correctly position page. Fix
857 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
862 Update NEWS and require poppler 0.5.0.
864 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
866 * data/evince-ui.xml:
867 * shell/ev-view-private.h:
868 * shell/ev-view.c: (ev_view_get_link_at_location),
869 (handle_link_over_xy), (ev_view_button_press_event),
870 (ev_view_button_release_event), (ev_view_class_init):
871 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
872 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
875 Implement right-click context menu.
877 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
879 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
880 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
881 (mdvi_pixbuf_device_render):
884 Don't generate thumbnails with alpha. See bug #324077.
885 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
887 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
889 * shell/ev-window.c: (setup_chrome_from_metadata):
891 Fix typo that was hiding toolbar.
893 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
895 * shell/ev-view-private.h:
896 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
897 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
898 (ev_view_button_release_event), (ev_view_destroy):
900 Small cleanup and autoscrolling during selection. Thanks to
901 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
903 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
907 Correctly check for comics option.
909 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
912 * backend/Makefile.am:
913 * backend/ev-document-factory.c:
914 * shell/ev-document-types.c:
916 Included option in configure to make ps backend
917 compilation optional with --disable-ps.
919 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
921 * backend/ev-document-factory.c:
922 * comics/Makefile.am:
923 * comics/comics-document.c: (comics_document_load):
924 * comics/ev-cbr-mime.xml:
927 Comics mime types are added to shared-mime-info CVS. Now
928 we don't need to install our own mime types.
930 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
934 Add shortcut for "save a copy" menu entry. Fix for
937 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
939 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
940 (job_finished_cb), (new_selection_pixbuf_needed),
941 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
942 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
944 Rework selection job info logic and fix critical warning.
946 2005-12-17 Abel Cheung <maddog@linuxhall.org>
948 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
950 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
952 * data/evince-ui.xml:
953 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
955 Enter as shortcut key for next page. Fix for the bug
958 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
960 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
962 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
964 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
965 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
966 (new_selection_pixbuf_needed),
967 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
968 (clear_job_selection):
970 Too early for 0.5. Pixbuf cache code cleaned a bit.
972 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
977 Release 0.5.0 preparation
979 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
981 * comics/Makefile.am:
983 * shell/ev-document-types.c: (ev_document_types_add_filters):
985 More advanced handling of custom mime type installation.
987 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
989 * data/evince.schemas.in:
990 * shell/ev-metadata-manager.c: (value_free),
991 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
992 (ev_metadata_manager_get), (ev_metadata_manager_set):
993 * shell/ev-metadata-manager.h:
994 * shell/ev-window.c: (update_chrome_flag),
995 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
996 (setup_document_from_metadata), (setup_chrome_from_metadata),
997 (setup_sidebar_from_metadata), (setup_view_from_metadata),
998 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
999 (ev_window_view_toolbar_cb),
1000 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
1001 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
1003 Save last document settings and reuse them for new documents.
1005 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1008 * backend/Makefile.am:
1009 * backend/ev-document-factory.c:
1010 * backend/ev-document-factory.h:
1011 * comics/Makefile.am:
1012 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
1013 (comics_document_load), (comics_document_save),
1014 (comics_document_get_n_pages), (comics_document_get_page_size),
1015 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
1016 (comics_document_class_init), (comics_document_can_get_text),
1017 (comics_document_get_info), (comics_document_document_iface_init),
1018 (comics_document_init), (get_supported_image_extensions),
1019 (comics_document_thumbnails_get_geometry),
1020 (comics_document_thumbnails_get_thumbnail),
1021 (comics_document_thumbnails_get_dimensions),
1022 (comics_document_document_thumbnails_iface_init), (extract_argv):
1023 * comics/comics-document.h:
1024 * comics/ev-cbr-mime.xml:
1027 * shell/ev-application.c: (ev_application_register_service):
1028 * shell/ev-document-types.c: (ev_document_types_add_filters):
1029 * thumbnailer/Makefile.am:
1030 * thumbnailer/evince-thumbnailer-comics.schemas.in:
1032 New CBR/CBZ backend for comic books.
1034 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1036 * shell/main.c: (load_files_remote):
1038 Thanks to Robert McQueen <robot101@debian.org>. Dbus
1039 warning on startup of second instance is fixed. It
1042 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1044 * shell/ev-window.c: (ev_window_finalize):
1046 Fix double free that cause crash.
1048 2005-10-29 Bastien Nocera <hadess@hadess.net>
1050 * tiff/tiff-document.c: (tiff_document_load):
1054 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1057 * shell/Makefile.am:
1058 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
1059 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
1060 (ev_view_accessible_get_text),
1061 (ev_view_accessible_get_character_at_offset),
1062 (ev_view_accessible_get_text_before_offset),
1063 (ev_view_accessible_get_text_at_offset),
1064 (ev_view_accessible_get_text_after_offset),
1065 (ev_view_accessible_get_character_count),
1066 (ev_view_accessible_get_caret_offset),
1067 (ev_view_accessible_set_caret_offset),
1068 (ev_view_accessible_get_run_attributes),
1069 (ev_view_accessible_get_default_attributes),
1070 (ev_view_accessible_get_character_extents),
1071 (ev_view_accessible_get_offset_at_point),
1072 (ev_view_accessible_get_n_selections),
1073 (ev_view_accessible_get_selection),
1074 (ev_view_accessible_add_selection),
1075 (ev_view_accessible_remove_selection),
1076 (ev_view_accessible_set_selection),
1077 (ev_view_accessible_text_iface_init),
1078 (ev_view_accessible_idle_do_action),
1079 (ev_view_accessible_action_do_action),
1080 (ev_view_accessible_action_get_n_actions),
1081 (ev_view_accessible_action_get_description),
1082 (ev_view_accessible_action_get_name),
1083 (ev_view_accessible_action_set_description),
1084 (ev_view_accessible_action_iface_init),
1085 (ev_view_accessible_get_type), (ev_view_accessible_new),
1086 (ev_view_accessible_factory_get_accessible_type),
1087 (ev_view_accessible_factory_create_accessible),
1088 (ev_view_accessible_factory_class_init),
1089 (ev_view_accessible_factory_get_type):
1090 * shell/ev-view-accessible.h:
1091 * shell/ev-view-private.h:
1092 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
1095 Initial accessibility support.
1097 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
1099 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
1101 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
1103 * shell/ev-print-job.c: (idle_print_handler):
1105 Fix for bug Bug 318916: Printing multiple pages.
1107 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
1109 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
1111 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1113 * pdf/ev-poppler.cc:
1115 Thumnail dimensions unified with other backends.
1117 * shell/ev-window-title.c: (ev_window_title_update):
1121 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1123 * data/ev-stock-zoom-fit-width.png:
1127 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1130 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
1131 (djvu_document_finalize):
1132 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
1133 (dvi_document_finalize):
1134 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
1135 (pixbuf_document_save), (pixbuf_document_finalize):
1136 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
1137 (tiff_document_finalize):
1139 Save a copy implemented for various backends.
1141 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
1145 Don't link with ltiff if tiff is disabled.
1147 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1149 * pdf/GDKSplashOutputDev.cc:
1150 * pdf/GDKSplashOutputDev.h:
1153 * pdf/pdf-document.cc:
1154 * pdf/pdf-document.h:
1155 * pdf/test-gdk-output-dev.cc:
1157 Remove old unused files.
1159 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1161 * shell/ev-window.c: (ev_window_setup_document):
1163 Fixed warnings on reload and probably crash reason.
1165 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1167 * properties/ev-properties-view.c:
1168 (ev_properties_view_format_date):
1170 Check if date is invalid. Fix for bug 318134.
1172 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
1174 * shell/ev-window-title.c:
1176 Add .indd files (Adobe Indesign) to the list of "bad
1179 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1181 * data/evince-ui.xml:
1182 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
1184 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
1186 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
1188 * shell/ev-window.c: (launch_link), (launch_external_uri),
1189 (view_external_link_cb):
1191 URL-escape link before passing it to gnome_vfs_url_show.
1193 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
1195 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
1196 there isn't text selected.
1198 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
1200 * shell/ev-view.c: (handle_link_over_xy):
1202 Check tooltip is valid utf8 before showing it
1204 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
1206 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
1208 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
1210 * shell/ev-window-title.c: (ev_window_title_update):
1212 Guard against using g_strstrip on NULL. Fixes bug #317291.
1214 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
1216 * pdf/ev-poppler.cc:
1218 Show title even for unknown links
1220 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
1222 * shell/ev-window-title.c: (ev_window_title_update):
1224 Strip the title string
1226 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
1228 * shell/ev-window-title.c:
1230 Add .rtf to the bad extensions list
1232 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
1234 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
1235 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
1237 Ignore link coordinates if they are outside page bounds
1239 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
1241 * backend/ev-link.c: (ev_link_type_get_type),
1242 (ev_link_get_filename), (ev_link_get_params),
1243 (ev_link_get_property), (ev_link_set_property),
1244 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
1245 * backend/ev-link.h:
1246 * pdf/ev-poppler.cc:
1247 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
1248 * shell/ev-window.c: (launch_link), (view_external_link_cb),
1251 Implement launch links. Delegate external link opening to
1254 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
1256 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
1257 (ev_link_get_right), (ev_link_get_property),
1258 (ev_link_set_property), (ev_link_class_init),
1259 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
1260 * backend/ev-link.h:
1261 * pdf/ev-poppler.cc:
1262 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
1264 Implement fitr links
1266 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
1268 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
1269 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
1270 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
1271 (ev_view_size_request_continuous),
1272 (ev_view_size_request_dual_page),
1273 (ev_view_size_request_single_page), (ev_view_size_allocate),
1274 (ev_view_zoom_for_size_continuous_and_dual_page),
1275 (ev_view_zoom_for_size_continuous),
1276 (ev_view_zoom_for_size_dual_page),
1277 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1278 (ev_sizing_mode_get_type):
1280 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
1282 Do not use modes for link, we need to calculate size ad hoc.
1283 Still not perfect because of the usual scrollbar issues grrr.
1285 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
1287 * backend/ev-link.c: (ev_link_type_get_type),
1288 (ev_link_new_page_fith), (ev_link_new_page_fitv):
1289 * backend/ev-link.h:
1290 * pdf/ev-poppler.cc:
1291 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
1292 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
1293 (ev_view_size_request_continuous),
1294 (ev_view_size_request_dual_page),
1295 (ev_view_size_request_single_page), (ev_view_size_allocate),
1296 (zoom_for_size_fit_height),
1297 (ev_view_zoom_for_size_continuous_and_dual_page),
1298 (ev_view_zoom_for_size_continuous),
1299 (ev_view_zoom_for_size_dual_page),
1300 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1301 (ev_sizing_mode_get_type):
1303 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
1305 Implement FIT_HEIGHT mode (only for links).
1306 Implement FITH links
1308 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
1310 * shell/ev-window-title.c: (get_filename_from_uri),
1311 (ev_window_title_sanitize_extension), (ev_window_title_update),
1312 (ev_window_title_set_document), (ev_window_title_set_uri),
1313 (ev_window_title_free):
1314 * shell/ev-window-title.h:
1315 * shell/ev-window.c: (ev_window_setup_document),
1316 (ev_window_popup_password_dialog):
1318 Refactor window title building while fixing it for
1321 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
1323 * pdf/ev-poppler.cc:
1325 Escape link title before setting it in the model
1327 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
1329 * shell/ev-application.c: (removed_from_session), (save_session),
1330 (init_session), (ev_application_get_empty_window),
1331 (ev_application_init), (ev_application_get_windows):
1332 * shell/ev-application.h:
1333 * shell/ev-window.c: (ev_window_finalize):
1335 Add a function to retrieve window list and share it where
1337 Implement session handling, works pretty well thanks to the
1340 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1342 * shell/ev-password.c: (ev_password_item_created_callback),
1343 (ev_password_dialog_save_password):
1345 Fix for bug 316972. Use async gnome-keyring API.
1347 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
1349 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
1350 Remove unused unrealize handler. Add scroll handling to
1351 ev_view_scroll_event for presentation mode (bug #316708),
1352 and fix the event state checks there.
1354 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
1356 * shell/ev-page-action.c: (page_changed_cb):
1358 "marco, maybe we should be crazy and jump right to 6! :)"
1360 Bryan Clark, Sep 2005
1362 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
1364 * ps/ps-document.c: (save_document), (ps_document_save),
1365 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
1366 (ps_document_ps_export_end):
1368 Fix unstructured documents save and print
1370 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
1372 * shell/ev-application.c: (ev_application_open_uri):
1374 Fix window size persistance
1376 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
1378 * shell/ev-view.c: (ev_view_button_release_event):
1380 Based on a patch from carlosgc@gnome.org. Mouse buttons
1381 switch pages in presentation mode.
1383 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1385 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1387 Dont cast to int before scaling
1389 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1391 * backend/ev-link.c: (ev_link_type_get_type),
1392 (ev_link_new_page_xyz), (ev_link_new_page_fit),
1393 (ev_link_new_page_fith):
1394 * backend/ev-link.h:
1395 * pdf/ev-poppler.cc:
1396 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
1398 Implement FIT and FITH links
1400 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1402 * pdf/ev-poppler.cc:
1404 Return 0 results when search is not in progress.
1406 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
1407 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
1409 Update menu sensitivity when cancelling search
1411 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1413 * shell/ev-view.c: (ev_view_can_find_next):
1415 Take all pages in consideration, not just current one
1417 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1419 * shell/ev-page-cache.c:
1420 * shell/ev-page-cache.h:
1421 * shell/ev-view.c: (ev_view_binding_activated),
1422 (ev_view_next_page), (ev_view_previous_page),
1423 (ev_sizing_mode_get_type):
1425 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
1426 (ev_window_cmd_go_next_page):
1428 Move page next/previous functions from page chace to
1429 view and change it to move by 2 page steps in dual mode.
1431 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1433 * shell/ev-window.c: (update_sidebar_visibility),
1434 (setup_sidebar_from_metadata), (ev_window_setup_document),
1435 (setup_view_from_metadata):
1437 Show the index by default when there is one
1439 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1441 * shell/ev-window-title.c: (ev_window_title_set_document):
1445 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1447 * shell/ev-view.c: (view_update_range_and_current_page):
1449 Allow display of last odd page in dual view. Fix for 316347.
1451 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
1453 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1455 Make close button default. Fix for 316383.
1457 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1459 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1461 Mark close button as default. Fix for 316381.
1463 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1465 * backend/ev-link.c: (ev_link_class_init):
1467 Allow negative doubles in left/top properties
1469 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1471 * shell/ev-window.c:
1473 Remove a bunch of strings that was used only
1476 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1478 * shell/ev-window-title.c: (get_filename_from_uri),
1479 (ev_window_title_set_document):
1481 When title has a confusing extension, show also
1482 the document filename inside ()
1484 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1486 * shell/Makefile.am:
1487 * shell/ev-window-title.c: (ev_window_title_new),
1488 (ev_window_title_update), (ev_window_title_set_type),
1489 (ev_window_title_set_document), (ev_window_title_free):
1490 * shell/ev-window-title.h:
1491 * shell/ev-window.c: (ev_window_setup_document),
1492 (password_dialog_response), (ev_window_popup_password_dialog),
1493 (ev_window_dispose), (ev_window_init):
1495 Factor out and cleanup window title code
1497 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1499 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
1502 Make dialog transient so it doesnt block other windows
1504 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1506 * pdf/ev-poppler.cc:
1508 Fix pdf thumbnails rendering.
1510 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
1512 * shell/ev-window.c: (fullscreen_set_timeout):
1514 Increase timeout to hide full screen popup. Bug
1517 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1519 * data/evince.schemas.in:
1520 * shell/ev-window.c: (update_action_sensitivity):
1522 Allow the user to override document restrictions. Fix for bug
1525 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
1527 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
1528 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
1529 (ev_window_class_init): Fix multihead behaviour of fullscreen
1530 toolbar popup. Fixes bug #315451.
1532 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1535 * data/evince-password.glade:
1536 * shell/ev-password.c: (ev_password_dialog_set_property),
1537 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
1538 (ev_password_dialog_init), (ev_password_set_bad_password_label),
1539 (ev_password_dialog_entry_changed_cb),
1540 (ev_password_dialog_entry_activated_cb),
1541 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
1542 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
1543 (ev_password_dialog_set_bad_pass):
1544 * shell/ev-password.h:
1545 * shell/ev-window.c: (password_dialog_response),
1546 (ev_window_popup_password_dialog):
1548 Support for gnome-keyring for encrypted PDF's.
1550 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1552 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
1553 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
1554 (ev_view_enter_notify_event), (ev_view_class_init):
1556 More precise handling of enter_notify/leave_notify events
1557 in EvView. Fix for bug 315470.
1559 2005-09-08 Christopher Aillon <caillon@redhat.com>
1561 * shell/ev-window.c: (fullscreen_timeout_cb),
1562 (fullscreen_set_timeout), (fullscreen_clear_timeout),
1563 (ev_window_dispose):
1565 leak fix: unref fullscreen_timeout_source before clearing it
1567 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1569 * configure.ac, dvi/mdvi/Makefile.am:
1571 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
1573 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1575 * backend/ev-link.c: (ev_link_new_page_xyz):
1576 * pdf/ev-poppler.cc:
1577 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
1579 Fix some bugs with xyz links, respect zoom
1581 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1583 * shell/ev-window.c: (page_changed_cb),
1584 (setup_document_from_metadata), (update_sidebar_visibility),
1585 (setup_view_from_metadata), (ev_window_run_fullscreen),
1586 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1587 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
1588 (ev_window_dual_mode_changed_cb),
1589 (ev_window_sidebar_current_page_changed_cb):
1591 null check uri before setting and getting metadata
1593 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1596 * properties/Makefile.am:
1597 * shell/Makefile.am:
1598 * thumbnailer/Makefile.am:
1600 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
1602 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1604 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
1605 (selection_changed_callback):
1606 * shell/ev-sidebar-links.h:
1608 Add a signal for link activation.
1610 * shell/ev-view.c: (ev_view_goto_link),
1611 (ev_view_button_release_event):
1613 * shell/ev-window.c: (sidebar_links_link_activated_cb),
1616 Implement the signal so that we can handle all link types.
1618 * shell/ev-page-cache.c:
1620 Remove unused set_link function
1622 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1624 * lib/ev-tooltip.c: (ev_tooltip_set_position):
1626 Add some space from the cursor, hardcoded but I couldnt
1629 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1633 Use mozilla style vs gtk style, way better for links.
1635 * shell/ev-view.c: (ev_view_motion_notify_event),
1636 (ev_view_destroy), (ev_view_init):
1638 Deactive tooltip when the link hovered is changed.
1640 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1642 * backend/ev-document.h:
1643 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
1644 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
1645 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
1646 (ev_link_new_page), (ev_link_new_page_xyz):
1647 * backend/ev-link.h:
1648 * pdf/ev-poppler.cc:
1649 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
1650 (go_to_link), (tip_from_link):
1652 Implement xyz links, still not functional. Links are a total
1653 mess, will need to refactor and bugfix a lot :(
1655 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
1657 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
1659 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1661 * data/evince-ui.xml:
1662 * data/evince.schemas.in:
1663 * shell/Makefile.am:
1664 * shell/ev-window.c: (update_chrome_visibility),
1665 (password_dialog_response), (ev_window_load_job_cb),
1666 (ev_window_xfer_job_cb), (ev_window_open_uri),
1667 (ev_window_class_init), (set_chrome_actions), (load_chrome),
1670 Remove the statusbar. This regress loading feedback, need to
1671 check with Bryan what we want to do there...
1673 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1675 * lib/ev-tooltip.c: (ev_tooltip_init):
1677 Fix tooltip border and size handling
1679 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1681 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
1682 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
1683 (ev_tooltip_timeout), (ev_tooltip_activate),
1684 (ev_tooltip_deactivate):
1686 * shell/ev-view.c: (ev_view_motion_notify_event):
1688 Delay popup showing. Mirror gtk logic/times.
1690 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
1693 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
1694 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
1695 (ev_tooltip_set_text), (ev_tooltip_set_position):
1698 Simple widget to show tooltips at a custom position
1700 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1703 Use it for links. First go, needs work
1705 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
1707 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
1708 HIG fixes. Use title capitalization for window title. Use 12
1709 pixels of space between the dialog's vbox and action area.
1711 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1713 * shell/ev-window.c: (file_open_dialog_response_cb),
1714 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1715 (ev_window_cmd_save_as):
1717 Make file pickers not modal and refactor code some
1719 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1721 * shell/ev-sidebar.h:
1722 * shell/ev-sidebar.c: (ev_sidebar_set_property),
1723 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1724 (ev_sidebar_class_init), (ev_sidebar_select_page),
1725 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1726 (ev_sidebar_set_page):
1728 Add a current page property and allow to get/set it
1730 * shell/ev-window.c: (setup_view_from_metadata),
1731 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1733 Persist current sidebar page per document
1735 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1737 * data/evince.schemas.in:
1738 * shell/ev-window.c: (update_chrome_visibility),
1739 (setup_document_from_metadata), (update_sidebar_visibility),
1740 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1741 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1742 (ev_window_run_presentation), (ev_window_stop_presentation),
1743 (ev_window_view_sidebar_cb),
1744 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1745 (load_chrome), (ev_window_init):
1747 Persist size/visibility of sidebar per document
1749 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1751 * shell/ev-view.c (draw_loading_text): Draw loading text.
1753 2005-09-02 Dan Damian <dand@gnome.ro>
1755 * configure.in: Added "ro" to ALL_LINGUAS.
1757 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1759 * shell/ev-view.c: (clear_caches):
1761 ev_page_cache_get doesnt return a reference,
1762 dont try to unref it.
1764 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1766 * shell/main.c: (load_files_remote):
1768 Fix timestamp parameter with dbus <= 0.33
1770 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1772 * data/evince.schemas.in:
1774 Add missing full stop
1776 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1778 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1779 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1781 Plug some memory leaks
1783 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1786 * lib/ev-debug.c: (trap_handler):
1788 Check for execinfo.h and use it only if it exists.
1789 Ported from Epiphany (bug #314776).
1791 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1793 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1795 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1797 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1798 * po/id.po : Added Indonesian translation
1800 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1803 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1804 * NEWS: Release 0.4.0
1806 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1808 * configure.ac: catch another gtk+-2.8ism
1809 * shell/main.c: Make work with gtk+-2.6
1811 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1813 * shell/ev-application-service.xml: Add 'timestamp' argument to
1814 ev_application_open_window and ev_application_open_uri methods.
1816 * shell/ev-application.h: Add 'timestamp' argument to
1817 ev_application_open_window, ev_application_open_uri,
1818 and ev_application_open_uri_list functions.
1820 * shell/ev-application.c (ev_application_open_window,
1821 ev_application_open_uri, ev_application_open_uri_list): Change
1822 functions that show/present windows to use a timestamp if one
1825 * shell/ev-window.c (ev_window_cmd_file_open,
1826 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1827 * shell/main.c (load_files): Modify calls to ev_application to
1828 include GDK_CURRENT_TIME as timestamp.
1830 * shell/main.c (load_files_remote): Obtain timestamp for client
1831 instance from GDK and pass to server instance so new windows are
1832 focused properly. Fix dbus_g_proxy_call() calls by including second
1837 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1839 * shell/ev-window.c (ev_window_finalize): Check for
1840 avail. EvWindows when quiting to handle the finalize better,
1843 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1845 * properties/ev-properties-view.c:
1847 Set textdomain to libglade. Fixes translation problem in property page.
1849 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1851 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1853 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1854 * dvi/mdvi-lib/Makefile.am:
1856 Fix rotation of thumbnails, ported to new API. Moved library
1857 dependencies earlier, probably it will fix linkage problem.
1859 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1861 * backend/ev-document-misc.c:
1862 (ev_document_misc_get_thumbnail_frame):
1863 * backend/ev-document-misc.h:
1865 * pdf/ev-poppler.cc:
1866 * shell/Makefile.am:
1867 * shell/ev-sidebar-thumbnails.c: (add_range),
1868 (ev_sidebar_thumbnails_set_loading_icon),
1869 (ev_sidebar_thumbnails_refresh),
1870 (ev_sidebar_thumbnails_set_document):
1871 * shell/ev-sidebar-thumbnails.h:
1872 * shell/ev-view.c: (ev_view_motion_notify_event),
1873 (ev_view_set_property), (ev_view_get_property),
1874 (ev_view_class_init), (ev_view_set_rotation):
1875 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1876 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1878 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1879 Redo rotation (again). prepare for 0.4.0
1881 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1883 * configure.ac: Bump poppler requirement to 0.4.1.
1885 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1886 argument to poppler_page_render_selection() call.
1888 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1890 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1891 (djvu_document_thumbnails_get_thumbnail):
1892 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1893 (dvi_document_thumbnails_get_thumbnail):
1894 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1895 (pixbuf_document_thumbnails_get_thumbnail):
1896 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1898 Update rotation direction of backends to fit with pdf and ps.
1900 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1902 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1903 * backend/ev-async-renderer.h:
1904 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1905 (setup_page), (ps_document_get_page_size),
1906 (ps_async_renderer_render_pixbuf):
1908 * shell/ev-jobs.c: (ev_job_render_run):
1910 Fix orientation in the postscript document
1912 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1914 * pdf/ev-poppler.cc:
1915 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1916 * shell/ev-view.c: (highlight_find_results):
1918 Adapt to the new poppler rotation API. Fix text maps on landscape
1921 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1923 * shell/ev-view.c (compute_new_selection_text): get the correct
1924 region when selecting in modes other than continuous.
1926 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1928 * shell/main.c (main): remove redundant g_warnings.
1930 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1932 * shell/Makefile.am: Don't include autogenerated
1933 file ev-application-service.h into distribution, since
1934 it causes dbus crash. Fix for bugs 313724 and 313443.
1936 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1938 * configure.ac: Fix sed expression for FreeBSD. Thanks
1939 to Joe Marcus Clark <marcus@freebsd.org>
1941 * shell/eggfindbar.c: (entry_activate_callback),
1942 (entry_changed_callback), (egg_find_bar_init),
1943 (egg_find_bar_set_search_string):
1945 Made findbar buttons unsensitive if there is no text in
1946 entry. Fix for the bug 313285.
1948 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1950 * ps/ps-document.c: Use g_filename_display_name for displaying
1951 filenames and revert string freeze breackage
1953 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1960 * shell/Makefile.am:
1962 Add ev-application-service.xml to extra dist
1964 * shell/ev-view.c: (find_page_at_location):
1966 Remove unused function (fix warning)
1968 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1970 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1971 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1973 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1976 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1978 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1979 * shell/ev-window.c:
1982 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1984 * configure.ac: Update script to get dbus version.
1985 Fix for the bug #313443.
1987 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1989 * shell/ev-window.c: (ev_window_cmd_escape):
1991 Return focus back to view on escape. Fix for bug 313295.
1993 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1995 * shell/ev-window.c: (update_window_title),
1996 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1997 (ev_window_cmd_save_as):
1999 Correct conversion from uri to displayable string. Fix for
2002 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
2004 * ps/ps-document.c: convert filename to utf8 when there is an error
2005 loading document. Fixes #309915
2007 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
2011 We depend on poppler 0.4.0
2013 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
2016 * NEWS: Release 0.3.3.
2017 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
2019 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
2021 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
2022 add a couple missing mnemonics to menu items, use title
2023 capitalization for menu items and window titles, and add
2024 ellipsis to open menu item.
2026 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
2028 * pdf/ev-poppler.cc:
2029 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
2030 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
2031 (ev_view_get_rotation):
2033 * shell/ev-window.c: (setup_view_from_metadata),
2034 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
2035 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
2038 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
2040 * configure.ac: Added tr to ALL_LINGUAS
2042 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2044 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
2045 requires several clicks to find word. Thanks to
2046 Colin Slater <kiltedtaco@gmail.com>.
2048 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
2050 * data/evince.desktop.in.in: Hide menu entry and
2051 rename it to "Document Viewer". Fix for bug
2054 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
2056 * shell/ev-page-action.c (ev_page_action_class_init):
2058 Point to the correct function in constructor of the
2059 activate_label signal
2061 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
2063 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2064 * shell/ev-jobs.h: Make thread safe.
2066 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2068 * shell/ev-view.c: (view_update_range_and_current_page):
2069 Don't update page range if we are scrolling to some document
2072 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2074 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
2075 when getting max_page_width, fix drawing in dual mode.
2077 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
2079 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
2080 getting the area for select_all.
2082 2005-08-06 Kristian Høgsberg <krh@redhat.com>
2084 * backend/ev-selection.c: (ev_selection_render_selection):
2085 * backend/ev-selection.h:
2086 * pdf/ev-poppler.cc:
2087 * shell/ev-jobs.c: (ev_job_render_new):
2089 * shell/ev-pixbuf-cache.c: (get_selection_colors),
2090 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
2091 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
2092 (ev_view_class_init):
2094 Change selection color on focus in and focus out events. Also,
2095 poppler now uses GdkColor for specifying the selection colors, so
2096 drop some awkward conversion code.
2098 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
2100 * configure.ac: Added Hebrew translation
2102 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
2105 * backend/ev-selection.c: (ev_selection_render_selection):
2106 * backend/ev-selection.h:
2107 * pdf/ev-poppler.cc:
2108 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
2109 (ev_job_render_run):
2111 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2112 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
2113 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
2114 (ev_pixbuf_cache_style_changed),
2115 (ev_pixbuf_cache_get_selection_pixbuf),
2116 (ev_pixbuf_cache_set_selection_list),
2117 (ev_pixbuf_cache_get_selection_list):
2118 * shell/ev-pixbuf-cache.h:
2119 * shell/ev-utils.c: (ev_print_region_contents):
2121 * shell/ev-view.c: (ev_view_queue_draw_page),
2122 (selection_update_idle_cb), (ev_view_motion_notify_event),
2123 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
2124 (setup_caches), (ev_view_find_next), (merge_selection_region),
2126 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
2128 Clean up selection to be much smoother!
2130 2005-08-05 Kristian Høgsberg <krh@redhat.com>
2132 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
2133 to poppler_page_render_selection().
2135 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2137 * ps/ps-document.c: (save_page_list): Use
2138 unzipped document when printing. Thanks to
2139 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
2142 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2144 * shell/ev-window.c: (update_action_sensitivity):
2146 Disable print and save respect to lockdown gconf keys. Fix
2149 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2152 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
2153 (write_to_temp_file), (ev_file_set_contents):
2155 * shell/ev-window.c: (save_print_config_to_file):
2157 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
2160 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
2162 * shell/ev-window.c: (load_print_config_from_file),
2163 (save_print_config_to_file), (ev_window_print_range):
2165 Persist the print settings. Fixes bug #311578.
2167 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2169 * djvu/djvu-document.c: (djvu_document_get_page_size),
2170 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
2171 (djvu_document_thumbnails_get_thumbnail):
2172 * dvi/dvi-document.c: (dvi_document_get_page_size),
2173 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
2174 (dvi_document_thumbnails_get_dimensions),
2175 (dvi_document_thumbnails_get_thumbnail):
2176 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
2177 (pixbuf_document_render_pixbuf),
2178 (pixbuf_document_document_iface_init),
2179 (pixbuf_document_thumbnails_get_thumbnail):
2181 Update backends to make them build with new rotation system.
2183 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2185 * help/C/figures/evince_start_window.png:
2187 Update documentation image from Luca Ferretti <elle.uca@libero.it>
2189 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
2191 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
2192 * shell/ev-pixbuf-cache.h:
2193 * shell/ev-sidebar-thumbnails.c:
2194 (ev_sidebar_thumbnails_get_property), (add_range),
2195 (adjustment_changed_cb):
2196 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
2197 pixbuf cache. Make thumbnailing work again. Also, fix bug where
2198 we were thumbnailing the entire docment on startup, slowing us
2201 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
2203 * shell/ev-page-cache.c: (ev_page_cache_new):
2204 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
2205 == 0, fixes #310306.
2207 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
2209 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
2210 (ev_view_rotate_left):
2212 Account rotation in doc_rect_to_view_rect.
2213 Ensure rotation doesnt go out of bounds.
2215 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
2217 * shell/ev-page-cache.c: (ev_page_cache_get_size):
2219 Correct and cleanup w/h swapping
2221 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
2223 * backend/ev-document-thumbnails.c:
2224 (ev_document_thumbnails_get_thumbnail):
2225 * backend/ev-document-thumbnails.h:
2226 * backend/ev-document.c:
2227 * backend/ev-document.h:
2228 * backend/ev-render-context.c: (ev_render_context_new),
2229 (ev_render_context_set_rotation):
2230 * backend/ev-render-context.h:
2231 * pdf/ev-poppler.cc:
2232 * ps/ps-document.c: (ps_document_document_iface_init):
2233 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
2235 * shell/ev-page-cache.c: (build_height_to_page),
2236 (ev_page_cache_new), (ev_page_cache_get_size),
2237 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2238 (ev_page_cache_get_height_to_page):
2239 * shell/ev-page-cache.h:
2240 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
2241 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
2242 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
2243 (ev_pixbuf_cache_get_selection_pixbuf):
2244 * shell/ev-pixbuf-cache.h:
2245 * shell/ev-print-job.c: (idle_print_handler):
2246 * shell/ev-sidebar-thumbnails.c: (add_range):
2247 * shell/ev-view.c: (view_update_range_and_current_page),
2248 (get_page_y_offset), (get_page_extents),
2249 (ev_view_size_request_continuous_dual_page),
2250 (ev_view_size_request_continuous),
2251 (ev_view_size_request_dual_page),
2252 (ev_view_size_request_single_page), (draw_one_page),
2253 (ev_view_set_rotation), (ev_view_rotate_right),
2254 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
2255 (ev_view_zoom_for_size_continuous_and_dual_page),
2256 (ev_view_zoom_for_size_continuous),
2257 (ev_view_zoom_for_size_dual_page),
2258 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
2259 (ev_view_select_all):
2260 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2261 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
2262 (tiff_document_document_iface_init),
2263 (tiff_document_thumbnails_get_thumbnail):
2265 Use rotation rather than orientation. It's easier and enough
2268 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
2270 * shell/ev-page-cache.c: (build_height_to_page),
2271 (ev_page_cache_new), (ev_page_cache_get_size),
2272 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2273 (ev_page_cache_get_height_to_page):
2274 * shell/ev-page-cache.h:
2275 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
2276 (ev_view_size_request_continuous_dual_page),
2277 (ev_view_size_request_continuous),
2278 (ev_view_zoom_for_size_continuous_and_dual_page),
2279 (ev_view_zoom_for_size_continuous):
2281 Make the page cache aware of page orientation.
2283 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
2285 * backend/ev-document-thumbnails.c:
2286 (ev_document_thumbnails_get_thumbnail):
2287 * backend/ev-document-thumbnails.h:
2288 * backend/ev-document.c:
2289 * backend/ev-document.h:
2290 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
2291 * backend/ev-ps-exporter.h:
2292 * pdf/ev-poppler.cc:
2293 * ps/ps-document.c: (ps_document_document_iface_init),
2294 (ps_document_ps_export_do_page):
2295 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
2297 * shell/ev-page-cache.c: (ev_page_cache_get_size),
2298 (ev_page_cache_get):
2299 * shell/ev-page-cache.h:
2300 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
2301 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
2302 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
2303 * shell/ev-pixbuf-cache.h:
2304 * shell/ev-print-job.c: (idle_print_handler):
2305 * shell/ev-sidebar-thumbnails.c: (add_range):
2306 * shell/ev-view.c: (view_update_range_and_current_page),
2307 (get_page_extents), (ev_view_size_request_dual_page),
2308 (ev_view_size_request_single_page), (draw_one_page),
2309 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
2310 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
2311 (ev_view_zoom_for_size_dual_page),
2312 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
2313 (ev_view_select_all):
2314 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2315 * tiff/tiff-document.c: (tiff_document_get_page_size),
2316 (tiff_document_get_orientation), (rotate_pixbuf),
2317 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
2318 (tiff_document_thumbnails_get_thumbnail),
2319 (tiff_document_ps_export_do_page), (tiff_document_init):
2321 Really make use of the orientation bit of the render context.
2322 Use the render context in a few more places in the backend API.
2323 This regress orientation, but now it's done right. Will try to
2326 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
2328 * shell/ev-view.c: (ensure_rectangle_is_visible):
2330 Patch by Nickolay V. Shmyrev to fix find flickering
2332 2005-07-27 Martin Kretzschmar <martink@gnome.org>
2334 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
2335 duplex parameters to ::begin.
2337 * tiff/tiff-document.c (tiff_document_ps_export_begin):
2338 * shell/ev-print-job.c (idle_print_handler):
2339 * ps/ps-document.c (ps_document_ps_export_begin):
2340 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
2341 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
2342 implementations. Poppler backend needs poppler cvs. Rest has
2345 2005-07-25 Martin Kretzschmar <martink@gnome.org>
2347 * shell/ev-window.c (using_pdf_printer): new function.
2348 (ev_window_print_range): print a less techy message if someone
2349 tries to print to PDF.
2351 2005-07-25 Martin Kretzschmar <martink@gnome.org>
2353 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
2354 from "unknown font" string. Bug #311431
2356 2005-07-24 Martin Kretzschmar <martink@gnome.org>
2358 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
2360 2005-07-24 Martin Kretzschmar <martink@gnome.org>
2364 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
2365 name for PopplerFontTypes
2366 (pdf_document_fonts_fill_model): add font type to the detail column
2368 * backend/ev-document-fonts.h: added
2369 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
2371 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
2372 font name and font details, add a little markup.
2373 (ev_properties_fonts_init): use the new cell data func, specify ypad
2374 property for the cell renderer.
2375 (ev_properties_fonts_set_document): add the details column.
2377 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
2379 * configure.ac: Added "pl" to ALL_LINGUAS.
2381 2005-07-24 Danilo Šegan <danilo@gnome.org>
2383 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2385 2005-07-23 Tommi Vainikainen <thv@iki.fi>
2387 * help/ChangeLog: Started this for translations of manual.
2388 * configure.ac, autogen.sh, .cvsignore: Migrated to
2389 gnome-doc-utils. Patch in bug #311222.
2391 2005-07-22 Martin Kretzschmar <martink@gnome.org>
2393 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
2394 #ifdef this away to fix an unused-function warning.
2396 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
2398 * configure.ac: Added 'gl' to ALL_LINGUAS.
2400 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
2402 * configure.ac: Added ne in ALL_LINGUAS
2404 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2406 * shell/ev-view.c: (ev_view_leave_notify_event):
2408 Clear status message when pointer leaves view. Fix for bug
2411 2005-07-20 Ankit Patel <ankit644@yahoo.com>
2413 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
2415 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2417 * shell/ev-view.c: (ev_view_leave_notify_event),
2418 (ev_view_class_init):
2420 Set cursor to normal then leaving view.
2422 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2426 Fix required djvulibre version.
2428 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
2430 *configure.ac: Hindi (hi) language added
2432 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
2434 *configure.ac: Punjabi (pa) Language added
2436 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2438 * data/evince-ui.xml, shell/ev-window.c:
2440 Add keypad accelerators for zooming. Fix for bug 308128.
2442 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2445 * backend/Makefile.am:
2446 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
2448 * shell/ev-document-types.c: (ev_document_types_add_filters):
2450 Allow to enable/disable the pixbuf backend.
2451 Default to off for now. If we want it enabled we should
2452 really put mime types in the desktop, implement properties etc.
2454 * properties/evince-properties.c:
2456 Initialize error to NULL.
2457 Check error is not NULL before freeing.
2459 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2461 * shell/ev-window.c:
2463 Use F5 as presentation accell
2465 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2467 * shell/ev-window.c: (update_chrome_visibility),
2468 (ev_window_create_fullscreen_popup), (ev_window_init):
2470 Do not leak the fullscreen toolbar
2472 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2474 * shell/ev-window.c: (view_actions_focus_in_cb),
2475 (view_actions_focus_out_cb):
2477 These has a return value! Fix totally random focus
2478 issues we was seeing.
2480 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
2482 * shell/main.c: (load_files_remote):
2484 Allow open more than one file
2486 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2488 * shell/main.c: (load_files_remote):
2490 Fix for dbus 0.33. bug #309975
2492 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2494 * properties/ev-properties-main.c: (ev_properties_get_pages):
2496 Actually return NULL for types we dont support
2498 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
2504 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
2506 * backend/ev-document-factory.c:
2507 (ev_document_factory_get_document):
2509 Do not try to create the object if type
2512 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2514 * ps/ps-document.c: (ps_document_dispose),
2515 (ps_async_renderer_render_pixbuf):
2518 Do not leak the target window
2520 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2522 * shell/ev-application.c: (ev_application_init):
2524 Let tbe check file existence for us.
2525 Add a comment about eggrecent mime filter.
2527 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2529 * data/evince-ui.xml:
2530 * shell/ev-application.c: (ev_application_shutdown),
2531 (ev_application_init), (ev_application_get_toolbars_model),
2532 (ev_application_get_recent_model),
2533 (ev_application_save_toolbars_model):
2534 * shell/ev-application.h:
2535 * shell/ev-window.c: (ev_window_add_recent),
2536 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
2537 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
2540 Use common toolbar and recent models for all windows.
2541 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2543 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
2545 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
2546 successfully check for gtk_icon_view_get_visible_range.
2548 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2553 Fix djvu and dvi backend build.
2555 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
2557 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
2558 (new_separator_pixbuf):
2562 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
2564 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
2566 HIGification of toolbar editor dialogue.
2568 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2571 * shell/Makefile.am:
2573 Ever build metadata manager since it's just
2574 disabled at runtime now.
2576 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2578 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
2579 (ev_metadata_manager_get), (ev_metadata_manager_set):
2580 * shell/ev-metadata-manager.h:
2582 Add an _init functions that enabled metadata management
2585 * shell/ev-window.c: (page_changed_cb),
2586 (setup_document_from_metadata), (ev_window_setup_document),
2587 (setup_view_from_metadata), (ev_window_open_uri),
2588 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2589 (ev_window_run_presentation), (ev_window_stop_presentation),
2590 (save_sizing_mode), (ev_window_zoom_changed_cb),
2591 (ev_window_continuous_changed_cb),
2592 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
2593 (window_configure_event_cb):
2595 Remove all ugly metadata define since we deal with it
2598 * shell/main.c: (load_files_remote), (main):
2600 Add support for dbus cvs head. Hopefully didnt break one
2601 of the other versions now!
2603 If we dont get a response from the dbus server just
2604 give up with it and not enable metadata.
2606 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2609 * backend/Makefile.am:
2611 * cut-n-paste/recent-files/Makefile.am:
2612 * cut-n-paste/toolbar-editor/Makefile.am:
2613 * cut-n-paste/zoom-control/Makefile.am:
2616 * pixbuf/Makefile.am:
2617 * properties/Makefile.am:
2619 * shell/Makefile.am:
2620 * thumbnailer/Makefile.am:
2623 Make frontends depend on just libev.
2624 Rework and group CFLAGS/LIBS definitions.
2627 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2631 do not unnecessarily save zoom
2634 * lib/ev-file-helpers.c: (ev_dot_dir):
2635 * shell/Makefile.am:
2640 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2644 Remove unnecessary dependencies
2646 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2648 * properties/Makefile.am:
2649 * thumbnailer/Makefile.am:
2652 Some more cleanups. Was really necessary
2653 but I probably introduced bugs, feel free
2656 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2658 * backend/Makefile.am:
2660 * cut-n-paste/recent-files/Makefile.am:
2661 * cut-n-paste/toolbar-editor/Makefile.am:
2662 * cut-n-paste/zoom-control/Makefile.am:
2665 * pixbuf/Makefile.am:
2666 * properties/Makefile.am:
2668 * shell/Makefile.am:
2669 * thumbnailer/Makefile.am:
2672 Use gnome-common macros when possible.
2673 Cleanup dependencies.
2674 Actually disable deprecated where possible.
2676 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2679 * backend/Makefile.am:
2680 * properties/Makefile.am:
2681 * shell/Makefile.am:
2682 * thumbnailer/Makefile.am:
2684 This should solve the circular dep without
2685 requiring dir reorg!
2687 * shell/ev-window.c: (setup_view_from_metadata):
2689 Never restore window size/position when the
2690 window is already visible.
2692 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2694 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
2696 Return a boolean from timeout func. Fix ported from gedit.
2698 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
2700 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2702 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
2704 * shell/ev-document-types.c: set "All Documents" as default filter in
2707 2005-07-06 Martin Kretzschmar <martink@gnome.org>
2709 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2710 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2711 (ev_metadata_manager_set_boolean): fix value/val thinko.
2713 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2715 * shell/ev-window.c: (setup_view_from_metadata),
2716 (window_state_event_cb), (window_configure_event_cb),
2719 Remember window position and maximized state
2721 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2725 Fix DBUS configure checks.
2727 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2728 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2729 (ev_metadata_manager_set_boolean):
2733 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2734 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2735 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2736 (ev_window_continuous_changed_cb),
2737 (ev_window_dual_mode_changed_cb), (ev_window_new):
2739 Fix the build without DBUS.
2741 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2743 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2744 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2745 (ev_metadata_manager_set_string),
2746 (ev_metadata_manager_set_boolean):
2747 * shell/ev-metadata-manager.h:
2749 Add support for some more types
2751 * shell/ev-view.c: (scroll_to_current_page),
2752 (ev_view_get_continuous), (ev_view_set_continuous),
2753 (ev_view_get_dual_page):
2755 * shell/ev-window.c: (page_changed_cb),
2756 (setup_document_from_metadata), (ev_window_setup_document),
2757 (setup_view_from_metadata), (ev_window_open_uri),
2758 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2759 (ev_window_run_presentation), (ev_window_stop_presentation),
2760 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2761 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2762 (ev_window_update_dual_page_action),
2763 (ev_window_continuous_changed_cb),
2764 (ev_window_dual_mode_changed_cb), (ev_window_init):
2766 Remember a bunch of view/document properties. Prolly some
2767 are still missing but it's getting interesting.
2769 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2771 * configure.ac: check if dbus-binding-tool is installed. Not the
2772 case on current Ubuntu breezy, it seems.
2774 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2776 * data/evince.desktop.in.in:
2778 Allow open uri lists and add TryExec field.
2780 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2784 Enable dbus when available, do not require a configure
2787 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2791 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2794 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2795 Marco Pesenti Gritti <mpg@redhat.com>
2797 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2799 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2800 functions to the format required by dbus
2802 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2803 errors. Use the RPC parameters in the expected way
2805 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2808 * properties/Makefile.am:
2809 * properties/ev-properties-main.c: (ev_properties_get_pages):
2811 Support all mime types
2813 * shell/Makefile.am:
2814 * thumbnailer/Makefile.am:
2815 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2816 (evince_thumbnail_pngenc_get):
2818 Use the document factory
2820 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2822 * backend/Makefile.am:
2823 * backend/ev-document-factory.c:
2824 (mime_type_supported_by_gdk_pixbuf),
2825 (ev_document_type_get_from_mime),
2826 (ev_document_factory_get_document),
2827 (ev_document_factory_get_backend),
2828 (ev_document_factory_get_mime_types),
2829 (ev_document_factory_get_all_mime_types):
2830 * backend/ev-document-factory.h:
2831 * shell/Makefile.am:
2832 * shell/ev-document-types.c: (get_document_from_uri),
2833 (ev_document_types_get_document),
2834 (file_filter_add_mime_list_and_free),
2835 (ev_document_types_add_filters):
2836 * shell/ev-document-types.h:
2837 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2838 * shell/ev-properties-dialog.c:
2839 (ev_properties_dialog_set_document):
2840 * shell/ev-window.c: (ev_window_cmd_file_open),
2841 (ev_window_cmd_save_as):
2842 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2844 Rework document types managing to avoid code duplication
2845 and actually abstract from backend implementations.
2846 Also provide a minimal factory api that can be used by
2847 thumbnailer/properties.
2849 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2851 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2853 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2856 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2858 * shell/ev-properties-dialog.c
2859 (ev_properties_dialog_set_document): only call
2860 ev_properties_fonts_set_document() if the document implements the
2863 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2866 * properties/Makefile.am:
2867 * properties/ev-properties-view.c:
2868 (ev_properties_view_register_type):
2869 * properties/ev-properties-view.h:
2870 * properties/ev-properties-main.h:
2872 Implement nautilus plugin for properties.
2873 Works only for pdf atm, I need to rework the
2874 document types stuff to get this to work
2877 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2879 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2880 (ev_properties_fonts_set_document): use
2881 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2883 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2885 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2887 (PlaceImage, tiff2ps_process_page): use
2888 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2891 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2893 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2894 (main): to call gnome_authentication_manager_init. Should fix
2897 * configure.ac: that requires libgnomeui 2.6.0.
2899 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2901 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2902 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2903 use the new tiff2ps interfaces
2905 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2906 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2908 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2909 structure instead of global variables. Remove use of static
2910 variables in functions.
2912 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2914 * shell/ev-page-action.c: unref the completion after setting it to the
2917 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2919 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2922 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2924 * shell/ev-window.c (update_action_sensitivity): disable
2925 File->Print if the document does not implement the ps exporter
2928 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2932 * data/evince-properties.glade:
2933 * properties/.cvsignore:
2934 * properties/Makefile.am:
2935 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2936 (ev_properties_view_class_init), (ev_properties_view_format_date),
2937 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2938 (ev_properties_view_init), (ev_properties_view_new):
2939 * properties/ev-properties-view.h:
2940 * shell/Makefile.am:
2941 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2942 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2943 (ev_properties_dialog_new):
2944 * shell/ev-properties-dialog.h:
2945 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2946 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2947 (update_progress_label), (job_fonts_finished_cb),
2948 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2949 * shell/ev-properties-fonts.h:
2950 * shell/ev-properties.c:
2951 * shell/ev-properties.h:
2952 * shell/ev-window.c: (ev_window_setup_document),
2953 (ev_window_cmd_file_properties):
2955 Split the properties pages in two different objects, depend
2956 only on the backend where possible, use widgets instead
2957 of gobject for the glade part, reimplement the dialog
2959 I need this to implement nautilus properties page.
2961 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2963 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2964 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2965 (tiff_document_document_ps_exporter_iface_init): implement the ps
2966 exporter interface for tiff documents
2968 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2969 libtiff to implement TIFF postscript export
2971 * tiff/tiff2ps.h: added a header file for external tiff2ps
2974 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2977 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2979 * shell/ev-view.c: (scroll_to_current_page),
2980 (ev_view_set_fullscreen), (ev_view_set_presentation):
2982 Scroll to current page when exit from presentation
2984 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2986 * shell/ev-window.c: (update_document_mode),
2987 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2988 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2989 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2991 Exit from fullscreen mode when switch to presentation. Fix for
2994 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2996 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2997 return NULL if the document does not implement the selection
3000 2005-07-02 Matthew S. Wilson <msw@rpath.com>
3002 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
3003 reported height by using the resolution aspect ratio
3004 (tiff_document_render_pixbuf): scale the pixbuf using the
3005 resolution aspect ratio
3007 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3011 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
3012 <kiltedaco@gmail.com>
3014 * djvu/djvu-document.c: (djvu_document_get_orientation),
3015 (djvu_document_set_orientation), (djvu_document_get_page_size),
3016 (rotate_pixbuf), (djvu_document_render_pixbuf),
3017 (djvu_document_document_iface_init):
3018 * dvi/dvi-document.c: (dvi_document_get_orientation),
3019 (dvi_document_set_orientation), (dvi_document_get_page_size),
3020 (rotate_pixbuf), (dvi_document_render_pixbuf),
3021 (dvi_document_document_iface_init):
3023 Dvi and djvu backends are ported to new API
3025 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
3027 * backend/ev-selection.c: (ev_selection_get_selection_region),
3028 (ev_selection_get_selection_map):
3029 * backend/ev-selection.h:
3030 * pdf/ev-poppler.cc:
3031 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3033 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
3034 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
3035 (ev_pixbuf_cache_get_text_mapping):
3036 * shell/ev-pixbuf-cache.h:
3037 * shell/ev-view.c: (location_in_text),
3038 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
3039 support to EvView. Now we can see where we can select! Sweet!
3041 2005-06-30 Kristian Høgsberg <krh@redhat.com>
3043 * shell/ev-view.c (ev_view_button_press_event): Fix
3044 event->y + view->scroll_x typo.
3046 2005-06-30 Kristian Høgsberg <krh@redhat.com>
3048 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
3049 sub-GdkPixbuf instead of passing dest_x and dest_y.
3051 * shell/ev-view.c: (view_point_to_doc_point),
3052 (view_rect_to_doc_rect), (ev_view_button_press_event),
3053 (ev_view_motion_notify_event), (compute_new_selection_rect),
3054 (gdk_rectangle_point_in), (compute_new_selection_text),
3055 (compute_selections): Update selection code to keep the selection
3056 around as two points and not as a normalized rectangle, and fix
3057 page level selection in two-column mode.
3059 2005-06-30 Alex Duggan <aldug@astrolinux.com>
3061 * shell/ev-window.c: (window_configure_event_cb):
3065 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
3067 * pdf/ev-poppler.cc:
3071 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
3073 * shell/Makefile.am:
3074 * shell/ev-metadata-manager.c: (item_free),
3075 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
3076 (parse_value), (parseItem), (load_values),
3077 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
3078 (save_values), (save_item), (get_oldest), (resize_items),
3079 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
3080 * shell/ev-metadata-manager.h:
3082 Metadata manager from gedit but modified to use GValue, so that
3083 we dont need to keep converting from strings.
3087 ENABLE_METADATA conditional, on when dbus is on
3089 * shell/ev-application.c: (ev_application_open_uri):
3091 Show the window after load so that we can initialize
3092 window size before it's showed.
3094 * shell/ev-window.c: (ev_window_setup_from_metadata),
3095 (ev_window_open_uri), (window_configure_event_cb),
3098 Save and load metadata information about window size.
3099 Not yet keeping states in account.
3101 * shell/main.c: (main):
3103 Shutdown metadata manager.
3105 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
3107 * shell/ev-application-service.xml:
3109 * shell/Makefile.am:
3110 * shell/ev-application.c:
3111 * shell/ev-application.h:
3112 * shell/ev-window.c:
3113 * shell/ev-window.h:
3116 Add an optional dbus interface (--enable-dbus).
3117 Rework application code, mainly to be easier to
3119 Do not open multiple windows with the same document,
3122 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
3124 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
3125 pixbuf iff it exists.
3127 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
3130 * backend/ev-render-context.[ch]:
3131 * backend/ev-selection.[ch]:
3133 Massive changes. We now support text selection of pdfs, and not
3134 just rectangular selection. This is pretty broken still, but I
3135 want to get something into CVS.
3137 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3139 * pdf/ev-poppler.cc:
3141 Fix for Bug 309080: crash on window close.
3143 * shell/ev-page-action.c: (page_changed_cb):
3145 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
3146 jensgr@gmx.net (Jens Granseuer).
3148 2005-06-25 Marcel Telka <marcel@telka.sk>
3150 * configure.in (ALL_LINGUAS): Added sk.
3152 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
3154 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
3157 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
3164 * cut-n-paste/recent-files/Makefile.am:
3168 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
3170 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
3171 (pixbuf_document_set_orientation), (rotate_pixbuf),
3172 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
3173 (pixbuf_document_document_iface_init), (pixbuf_document_init):
3175 Implement rotation and cleanup the code a bit.
3177 * tiff/tiff-document.c: (tiff_document_get_page_size),
3178 (tiff_document_get_orientation), (tiff_document_set_orientation),
3179 (rotate_pixbuf), (tiff_document_render_pixbuf),
3180 (tiff_document_document_iface_init), (tiff_document_init):
3182 Implement rotation. Was the quicker solution for the release
3183 but we really need to share this code in the shell.
3185 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
3187 * pdf/ev-poppler.cc:
3189 Enable rotation, require poppler cvs. Fix a leak.
3191 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3193 * shell/ev-window.c: (update_action_sensitivity):
3195 Make properties unsensitive if document backend doesn't provide
3198 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3200 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
3201 (bitmap_flip_horizontally), (bitmap_flip_vertically),
3202 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
3203 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
3204 (bitmap_flip_rotate_counter_clockwise):
3205 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
3206 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
3208 * dvi/mdvi-lib/common.h:
3209 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
3210 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
3211 (opendvi), (mdvi_reload), (mdvi_init_context),
3212 (mdvi_destroy_context), (mdvi_dopage), (special):
3213 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
3214 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
3215 (file_hash_free), (register_encoding), (parse_spec),
3216 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
3217 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
3218 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
3219 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
3220 (mdvi_register_font_type), (mdvi_unregister_font_type),
3221 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
3222 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
3223 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
3224 (mdvi_hash_destroy_key), (mdvi_hash_reset):
3225 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
3226 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
3227 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
3228 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
3229 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3230 * dvi/mdvi-lib/special.c: (mdvi_register_special),
3231 (mdvi_unregister_special), (mdvi_flush_specials):
3232 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
3234 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
3235 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
3236 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
3237 (free_font_metrics), (flush_font_metrics):
3238 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
3240 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
3241 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
3242 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
3243 (dstring_insert), (dstring_new), (dstring_reset):
3244 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
3246 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
3247 avoid conflict with libtool on FC4
3249 * shell/ev-window.c: (ev_window_cmd_help_about):
3251 Update copyright year. Fix for bug 308828.
3253 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3255 * shell/ev-view.c: (add_scroll_binding_keypad),
3256 (ev_view_binding_activated), (ev_view_class_init),
3257 (on_adjustment_value_changed):
3259 Bug 170874: Arrow keys switch pages in presentation mode
3261 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3263 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
3265 Fix for Bug 308265: Sidebar dissappears coming out of
3268 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3270 * shell/ev-application.c: (ev_application_open):
3271 * shell/ev-document-types.c: (ev_document_types_add_filters),
3272 (ev_document_types_add_filters_for_type):
3273 * shell/ev-document-types.h:
3274 * shell/ev-window.c: (ev_window_cmd_save_as):
3276 Suggest basename as template when saving, provide filters
3277 for save dialog. It's bug 308402
3279 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3281 * pdf/ev-poppler.cc:
3282 * shell/ev-sidebar-links.c: (job_finished_callback):
3283 * shell/ev-view.c: (update_find_status_message):
3287 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
3289 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
3290 (egg_recent_view_uimanager_set_list):
3292 Fix buglet in !show_numbers case.
3294 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
3296 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
3297 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
3299 Use pango ellipsisation.
3301 * pdf/ev-poppler.cc:
3303 Fix refcount leak, from nsh.
3305 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3307 * cut-n-paste/recent-files/Makefile.am:
3308 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3309 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
3311 Removed EggRecentViewGtk
3313 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
3314 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
3315 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
3316 (ev_window_setup_recent):
3318 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
3321 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3323 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3324 (egg_recent_view_gtk_finalize):
3328 * cut-n-paste/toolbar-editor/Makefile.am:
3330 Fix location of cursor icon.
3332 * pdf/ev-poppler.cc:
3333 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
3334 (display_completion_text), (match_completion):
3335 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3336 (selection_changed_callback), (create_loading_model),
3337 (print_section_cb), (links_page_num_func),
3338 (update_page_callback_foreach):
3339 * shell/ev-window.c: (ev_window_dispose):
3341 Small memory fixes. Links model now store objects instead
3342 of pointers to improve memory management.
3344 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3346 * shell/ev-window.c: (zoom_control_changed_cb):
3348 Fix update of zoom control (bug 308268).
3350 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
3352 * shell/ev-properties.c (set_property): escape the text correctly.
3353 Handles non-UTF-8 properties and escaped properties. Also, sets
3354 the text to "<i>None</i>" if the property isn't set.
3356 * data/evince-properties.glade: Change the label to be ellipsized,
3357 and give it a minimum size.
3359 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3361 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
3362 * shell/ev-sidebar-links.c: (create_loading_model):
3363 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
3364 * shell/ev-view.c: (ev_view_set_document):
3365 * shell/ev-window.c: (ev_window_dispose):
3367 Various small fixes, mostly memory leaks. Thanks to valgrind.
3369 2005-06-19 Martin Kretzschmar <martink@gnome.org>
3371 * ps/ps-document.c: remove the locale.h include again ;-). And
3372 kill the (bogus) setlocale/savelocale business.
3374 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
3378 Include locale.h to fix build
3380 * shell/ev-sidebar.c:
3382 Remove unnecessary includes
3384 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3386 * dvi/dvi-document.c: (dvi_document_load):
3387 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
3390 Check for incorrect dvi files. Fix parsing dvi on AMD64
3391 platform. Thanks to tester@tester.ca (Olivier Crete).
3393 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3395 * shell/ev-page-action.c: (match_selected_cb),
3396 (display_completion_text), (match_completion), (update_model):
3397 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3398 (expand_open_links):
3399 * shell/ev-sidebar.c: (ev_sidebar_destroy),
3400 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
3401 (ev_sidebar_set_document):
3402 * shell/ev-window.c: (ev_window_xfer_job_cb),
3403 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
3405 Fixed lot's of memory leaks, for example, memory leak on reload,
3406 described in bug 307793.
3408 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
3410 * pdf/ev-poppler.cc:
3411 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
3412 (update_visible_range), (adjustment_changed_cb),
3413 (ev_sidebar_thumbnails_fill_model),
3414 (ev_sidebar_thumbnails_refresh),
3415 (ev_sidebar_tree_selection_changed),
3416 (ev_sidebar_icon_selection_changed),
3417 (ev_sidebar_thumbnails_use_icon_view),
3418 (ev_sidebar_thumbnails_set_document):
3419 * shell/ev-sidebar-thumbnails.h:
3420 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
3421 (ev_window_cmd_edit_rotate_right), (ev_window_init):
3423 Refresh thumbnails when changing orientation. Not fully
3424 working yet becuase of a sidebar bug.
3426 Set page orientation to poppler page everywhere. This sucks
3427 really need to fix poppler.
3429 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
3431 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3432 (egg_recent_view_gtk_new_menu_item),
3433 (egg_recent_view_gtk_set_property),
3434 (egg_recent_view_gtk_get_property),
3435 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
3436 (egg_recent_view_gtk_set_tooltip_func),
3437 (egg_recent_view_gtk_set_label_width),
3438 (egg_recent_view_gtk_get_label_width):
3439 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
3441 Sync with libegg (ellipsize labels)
3443 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3445 * data/evince-ui.xml:
3446 * shell/ev-window.c: (ev_window_cmd_go_forward),
3447 (ev_window_cmd_go_backward):
3449 Shift + PageUp moves 10 Pages. Fix for 306125
3451 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3453 * pdf/ev-poppler.cc:
3455 Add a flag to check if orientation has been overriden
3457 2005-06-17 Martin Kretzschmar <martink@gnome.org>
3459 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
3462 * ps/ps.h: add creator field to document.
3464 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
3467 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3469 * data/evince-properties.glade:
3470 * shell/ev-properties.c: (ev_properties_set_document):
3472 s/PDF Version/Format
3474 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3476 * shell/ev-properties.c: (ev_properties_set_document):
3478 Remove unnecessary translations
3480 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3482 * cut-n-paste/toolbar-editor/Makefile.am:
3484 Correct library name
3486 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3489 * cut-n-paste/recent-files/egg-recent-model.c:
3490 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
3491 (egg_recent_model_unlock_file):
3492 * cut-n-paste/recent-files/egg-recent-util.c:
3493 (egg_recent_util_get_unique_id):
3494 * cut-n-paste/recent-files/update-from-egg.sh:
3495 * cut-n-paste/toolbar-editor/Makefile.am:
3496 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3497 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3498 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3499 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3500 (egg_toolbars_model_get_type):
3501 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3503 Better makefile for toolbar editor and update everything
3506 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3508 * shell/ev-window.c: (update_document_mode):
3510 Prefer presentation mode when the document
3513 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3515 * data/evince-ui.xml:
3516 * shell/ev-window.c:
3518 Add control-equal for zooming
3520 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
3522 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
3524 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
3526 * backend/ev-document.c: (ev_document_get_orientation):
3527 * backend/ev-document.h:
3528 * pdf/ev-poppler.cc:
3529 * ps/ps-document.c: (ps_document_get_orientation),
3530 (ps_document_set_orientation), (ps_document_document_iface_init):
3532 Add a get_orientation api. Improve set_orientation.
3534 * data/evince-ui.xml:
3535 * shell/ev-view.c: (ev_view_set_orientation),
3536 (ev_view_rotate_right), (ev_view_rotate_left):
3538 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
3539 (ev_window_cmd_edit_rotate_right):
3541 Better ui for changing document orientation
3543 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3545 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
3546 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
3547 * shell/ev-sidebar-links.h:
3548 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3549 (ev_sidebar_page_iface_init):
3550 * shell/ev-sidebar-page.h:
3551 * shell/ev-sidebar-thumbnails.c:
3552 (ev_sidebar_thumbnails_get_property),
3553 (ev_sidebar_thumbnails_class_init),
3554 (ev_sidebar_thumbnails_set_document):
3555 * shell/ev-sidebar-thumbnails.h:
3556 * shell/ev-view.c: (ev_view_motion_notify_event):
3557 * shell/ev-window.c: (update_chrome_visibility),
3558 (ev_window_cmd_focus_page_selector),
3559 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
3560 (sidebar_page_main_widget_update_cb), (ev_window_init):
3562 Autoraise toolbar on GoToPage binding and fix bindings in
3563 EvSidebarThumbnails page.
3565 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
3567 * shell/ev-properties.c: (update_progress_label):
3569 Hide the progress label when finished; bug #307697.
3571 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3573 * pdf/ev-poppler.cc:
3575 Enable is_open for links, you will need poppler cvs
3577 * shell/ev-properties.c: (job_fonts_finished_cb):
3579 Get a lock on the document when filling the tree view
3581 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3583 * backend/ev-document-links.h:
3584 * pdf/ev-poppler.cc:
3585 * shell/ev-sidebar-links.c: (create_loading_model),
3586 (expand_open_links), (job_finished_callback):
3588 Expand links when specified by the document.
3589 Depend on a poppler api (defined out for now)
3591 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3593 * shell/ev-properties.c: (ev_properties_dispose),
3594 (ev_properties_class_init), (dialog_destroy_cb),
3595 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
3596 (ev_properties_set_document), (ev_properties_new),
3597 (ev_properties_show):
3598 * shell/ev-properties.h:
3600 Make it an object, cleanup the code, api to show it as transient
3601 and to set the document.
3603 * shell/ev-window.c: (ev_window_setup_document),
3604 (ev_window_cmd_file_properties):
3606 Adapt to EvProperties changes, do not show multiple
3607 times, update it when document changes.
3609 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3612 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
3613 (ps_document_set_orientation), (ps_document_document_iface_init):
3616 Implement orientation here too
3618 * shell/ev-properties.c: (ev_properties_new):
3619 * data/evince-properties.glade:
3621 Hide the fonts page for backends that doesnt
3624 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3626 * backend/ev-document.c: (ev_document_set_orientation):
3627 * backend/ev-document.h:
3628 * pdf/ev-poppler.cc:
3630 Add orientation api. Currently poppler api is not optimal,
3631 we need to set orientation every time we _get a page.
3632 I will try to fix that at some point.
3634 * data/evince-ui.xml:
3635 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
3636 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
3638 Add orientation menu items
3640 * shell/ev-page-cache.c: (ev_page_cache_clear):
3641 * shell/ev-page-cache.h:
3643 Add api to clear the cache
3645 * shell/ev-view.c: (setup_caches), (clear_caches),
3646 (ev_view_set_document), (ev_view_zoom_out),
3647 (ev_view_set_orientation):
3650 Implement orientation changing
3652 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
3654 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
3655 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
3656 * backend/ev-document-fonts.h:
3658 Separate scan and fill so that we can incrementally fill from
3659 the main thread. Add a progress api.
3661 * data/evince-properties.glade:
3662 * pdf/ev-poppler.cc:
3663 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
3665 * shell/ev-properties.c: (update_progress_label),
3666 (job_fonts_finished_cb), (setup_fonts_view):
3668 Incrementally feel the list and show the progress
3669 percentage in a label like acrobat does.
3671 You are going to need poppler cvs
3673 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
3675 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
3676 * backend/ev-document-fonts.h:
3677 * pdf/ev-poppler.cc:
3679 Make fonts model fill incrementally.
3681 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
3682 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
3683 (ev_job_queue_remove_job):
3684 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
3685 (ev_job_fonts_new), (ev_job_fonts_run):
3688 New job for fonts scanning
3690 * shell/ev-properties.c: (job_fonts_finished_cb),
3691 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
3692 * shell/ev-properties.h:
3693 * shell/ev-window.c: (ev_window_cmd_file_properties):
3695 Incrementally feel the treeview using the new job. Show Loading...
3696 message until scanning is completed.
3698 Hopefully I didnt break the build without the poppler patch.
3700 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3702 * shell/ev-application.c: (ev_application_open):
3703 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3704 (ev_document_type_get_type), (ev_document_type_lookup):
3705 * shell/ev-document-types.h:
3706 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3707 * shell/ev-job-xfer.h:
3708 * shell/ev-window.c: (ev_window_clear_local_uri),
3709 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3710 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3711 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3713 Transfer remote documents to tmp directory to display them later.
3715 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
3717 * backend/ev-document-info.h:
3718 * shell/ev-properties.c: (ev_properties_new):
3720 s/GTime*/GTime. Not sure why we was using a pointer
3723 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
3725 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3726 situations. That situation is that you're using GTK+-HEAD with
3727 the patch at #306726 is applied, and you have a document with <
3728 1500 pages in it. It's not quite as uniformly nice as the
3729 TreeView, but should be better in the long run.
3731 I'm pretty sure I guarded against breaking compilation with
3732 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3735 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3736 widget yet, so I commented that code out
3737 enable_view_actions_for_widget() for now. Need to figure this
3740 * shell/ev-page-action.c (match_selected_cb): emit the right
3741 signals. Our cool C-l completion now works.
3743 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3745 * backend/Makefile.am:
3746 * backend/ev-document-fonts.c:
3747 * backend/ev-document-links.c:
3748 * backend/ev-document.c: (ev_document_load):
3749 * backend/ev-document.h:
3750 * backend/ev-job-queue.c:
3751 * backend/ev-job-queue.h:
3752 * backend/ev-jobs.c:
3753 * backend/ev-jobs.h:
3754 * backend/ev-page-cache.c:
3755 * backend/ev-page-cache.h:
3757 EvPageCache and EvJobs are moved to shell.
3759 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3761 * lib/ev-file-helpers.h:
3763 New helper to work with temporary files
3765 * shell/Makefile.am:
3766 * shell/ev-application.c: (ev_application_open):
3767 * shell/ev-application.h:
3768 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3769 (remove_job_from_async_queue), (add_job_to_async_queue),
3770 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3771 (handle_job), (search_for_jobs_unlocked),
3772 (no_jobs_available_unlocked), (ev_render_thread),
3773 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3774 (ev_job_queue_add_job), (move_job_async), (move_job),
3775 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3776 * shell/ev-job-queue.h:
3777 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3778 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3779 * shell/ev-job-xfer.h:
3780 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3781 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3782 (ev_job_links_class_init), (ev_job_render_init),
3783 (ev_job_render_dispose), (ev_job_render_class_init),
3784 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3785 (ev_job_thumbnail_class_init), (ev_job_load_init),
3786 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3787 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3788 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3789 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3791 * shell/ev-page-action.c: (ev_page_action_set_document):
3792 * shell/ev-page-cache.c: (ev_page_cache_init),
3793 (ev_page_cache_class_init), (ev_page_cache_finalize),
3794 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3795 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3796 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3797 (ev_page_cache_get_title), (ev_page_cache_get_size),
3798 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3799 (ev_page_cache_get_height_to_page),
3800 (ev_page_cache_get_max_label_chars),
3801 (ev_page_cache_get_page_label),
3802 (ev_page_cache_has_nonnumeric_page_labels),
3803 (ev_page_cache_get_info), (ev_page_cache_next_page),
3804 (ev_page_cache_prev_page), (ev_page_cache_get):
3805 * shell/ev-page-cache.h:
3806 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3807 (ev_pixbuf_cache_clear_job_sizes),
3808 (ev_pixbuf_cache_add_jobs_if_needed),
3809 (ev_pixbuf_cache_set_page_range):
3810 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3811 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3812 * shell/ev-sidebar-thumbnails.c:
3813 (ev_sidebar_tree_selection_changed),
3814 (ev_sidebar_thumbnails_set_document):
3815 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3816 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3817 (ev_statusbar_get_context_id), (ev_statusbar_push),
3818 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3819 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3820 (ev_statusbar_set_progress):
3821 * shell/ev-statusbar.h:
3822 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3823 (ev_view_find_previous):
3824 * shell/ev-window.c: (ev_window_is_empty),
3825 (ev_window_setup_document), (password_dialog_response),
3826 (ev_window_clear_jobs), (ev_window_load_job_cb),
3827 (ev_window_xfer_job_cb), (ev_window_open_uri),
3828 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3829 (ev_window_print), (ev_window_print_range),
3830 (ev_window_state_event), (ev_window_cmd_view_reload),
3831 (menu_item_select_cb), (menu_item_deselect_cb),
3832 (view_status_changed_cb), (ev_window_dispose),
3833 (drag_data_received_cb), (ev_window_init):
3834 * shell/ev-window.h:
3835 * shell/main.c: (load_files):
3837 New statusbar to show progress on idle. Two new jobs -
3838 xfer job and load job to load document in background. And update
3839 of page_cache clients to new location of code.
3841 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3843 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3844 selection in open dialog. It also remembers the last visited directory
3845 in the current session.
3847 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3849 * shell/ev-properties.c: (ev_properties_new):
3850 * shell/ev-properties.h:
3851 * shell/ev-window.c: (ev_window_cmd_file_properties):
3853 Get document info from page cache instead of document itself.
3854 This should fix crash related to race conditions described in
3857 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3859 * ps/ps-document.c: (ps_document_init),
3860 (send_ps), (get_page_box), (output), (catchPipe), (input),
3861 (stop_interpreter), (file_length), (file_readable),
3862 (check_filecompressedb), (ps_document_enable_interpreter),
3863 (document_load), (ps_async_renderer_render_pixbuf):
3866 Big cleanup of the ps code
3868 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3870 * backend/Makefile.am:
3871 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3872 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3873 * backend/ev-async-renderer.h:
3875 Add an async renderer interface (method + callback) which
3876 is useful for backends like ps.
3878 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3879 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3880 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3881 (ev_job_queue_add_job), (move_job_async), (move_job),
3882 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3884 Add queues for async renderer, these are executed on the
3887 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3888 (ev_job_render_run):
3889 * backend/ev-jobs.h:
3891 If the backend support async renderer interface use it.
3893 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3894 (setup_pixmap), (ps_document_get_type),
3895 (ps_async_renderer_render_pixbuf),
3896 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3898 Implement async renderer interface.
3900 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3902 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3904 Cleanup links job on exit.
3906 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3908 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3909 (drag_data_get_cb), (drag_data_received_cb):
3910 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3911 (drag_data_get_cb), (parse_item_list),
3912 (egg_toolbar_editor_load_actions):
3913 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3914 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3915 (parse_item_list), (parse_toolbars):
3916 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3917 (dvi_pixbuf_put_pixel):
3919 Fix gcc 4.0 warnings
3921 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3923 * ps/ps-document.c: (start_interpreter):
3925 Fix warning when loading ps
3927 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3929 * ps/ps-document.c: (output):
3931 Fix crash when priting gs error messages.
3933 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3935 * backend/ev-page-cache.c: (_ev_page_cache_new):
3936 * backend/ev-page-cache.h:
3938 Use a const to return title so that we dont double
3939 free it. Small cleanup and fix a leak.
3941 * shell/ev-window.c: (update_window_title):
3943 strdup value from get_title.
3945 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3947 * shell/ev-sidebar-links.c: (job_finished_callback),
3948 (ev_sidebar_links_set_document):
3950 Cleanup the old job when changing document
3952 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3954 * shell/ev-stock-icons.c:
3955 * shell/ev-stock-icons.h:
3956 * shell/ev-window.c:
3958 Add stock icons for actions that can appear in toolbar. Fix for
3961 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3963 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3964 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3965 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3966 * backend/ev-page-cache.h:
3967 * shell/ev-view.c: (scroll_to_current_page),
3968 (view_update_range_and_current_page), (get_page_y_offset),
3969 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3970 (ev_view_size_request_continuous),
3971 (ev_view_zoom_for_size_continuous_and_dual_page),
3972 (ev_view_zoom_for_size_continuous):
3974 More compact EvView layout in document with pages of different size.
3976 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3978 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3981 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3983 * shell/ev-view.c: (view_set_adjustment_values):
3984 * shell/ev-window.c: (ev_window_cmd_file_properties):
3986 A bit different fix for rounding problem but it has no
3987 problems on startup. Make properties window transient to parent.
3989 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3991 * pdf/ev-poppler.cc:
3993 More commenting of font stuff.
3995 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3997 * pdf/ev-poppler.cc:
3999 Comment out some more fonts stuff. Should really
4000 work without the poppler patch now.
4002 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
4004 * pdf/ev-poppler.cc:
4008 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
4010 * data/evince-properties.glade:
4011 * pdf/ev-poppler.cc:
4012 * shell/ev-properties.c: (setup_fonts_view):
4014 Set the column title. Show the dialog only
4015 once everything is setup.
4016 Getting font info can be very slow... will
4017 prolly need to make this threaded too.
4019 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
4021 * backend/Makefile.am:
4022 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
4023 (ev_document_fonts_get_fonts_model):
4024 * backend/ev-document-fonts.h:
4025 * data/evince-properties.glade:
4026 * pdf/ev-poppler.cc:
4027 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
4028 * shell/ev-properties.h:
4029 * shell/ev-window.c: (ev_window_cmd_file_properties):
4031 Implement fonts list. Defined out for now, since it depends
4032 on a not yet committed poppler patch.
4034 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
4036 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
4039 * shell/ev-window.c: Make sure we add the timeout when we get a
4042 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
4043 adjustment->value before calculating the zoom factor to average
4044 out all of our rounding errors. The page no longer 'drifts' when
4047 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4049 * data/evince-properties.glade:
4050 * shell/ev-properties.c: (ev_properties_format_date),
4053 Labels don't expand when the dialogue is resized.
4054 strftime result needs to be converted to UTF-8. Thanks
4055 to Christian Persch <chpe@gnome.org>.
4057 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
4059 * data/evince-properties.glade:
4063 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
4065 * backend/ev-document-info.h:
4066 * backend/ev-document.c: (ev_document_info_free):
4067 * data/evince-properties.glade:
4068 * pdf/ev-poppler.cc:
4069 * ps/ps-document.c: (ps_document_get_info):
4070 * shell/ev-properties.c: (ev_properties_format_date),
4071 (set_property), (ev_properties_new):
4072 * shell/ev-properties.h:
4073 * shell/ev-window.c: (ev_window_cmd_file_properties):
4075 Rework properties code to take only EvPropertyInfo
4076 in the constructor so that it can be useful for
4077 nautilus plugin too.
4079 Deal with backends that doesnt support some properties.
4080 Make set property code generic.
4082 2005-06-04 Christian Persch <chpe@gnome.org>
4084 * data/evince-properties.glade:
4086 fix spacings, make resizeable, and make data labels
4087 selectable + ellipsised
4089 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
4091 * backend/ev-document-info.h:
4093 * data/evince-ui.xml:
4094 * pdf/ev-poppler.cc:
4095 * shell/Makefile.am:
4096 * shell/ev-window.c: (update_action_sensitivity),
4097 (ev_window_cmd_file_properties):
4099 Initial go at file properties. Patch by
4100 Emil Soleyman-Zomalan <emil@soleyman.com>.
4101 Needs love see #169583
4103 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
4105 * ps/ps-document.c: (output):
4106 * ps/ps.c: (psscan):
4108 Try to render even if psscan fails.
4110 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
4112 * ps/ps.c: (psscan), (pscopydoc):
4114 Port buffered reading code from gv
4116 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
4118 * ps/ps-document.c: (interpreter_message), (output):
4120 Do not fail on interpreter messages
4122 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
4124 * backend/ev-document-misc.c:
4125 (ev_document_misc_get_thumbnail_frame):
4127 Pages can be 0 x 0, dont assert on this case
4129 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
4131 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
4132 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
4134 Correctly manage our reference on document. Finally the reload
4135 huge leak is gone...
4137 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
4139 * ps/ps-document.c: (ps_document_dispose):
4141 Forgot to chain it to the parent. Thanks chpe.
4143 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
4145 * ps/ps-document.c: (ps_document_dispose),
4146 (ps_document_class_init), (stop_interpreter), (document_load):
4148 Cleanup dispose a bit. Dont leak the whole pixmap.
4150 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
4152 * pdf/ev-poppler.cc:
4154 Release the poppler document on dispose
4156 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
4158 * shell/ev-view.c: (ev_view_set_document):
4160 Release ref on the pixbuf cache when changing
4163 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
4165 * ps/ps-document.c: (ps_document_get_info):
4169 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4171 * backend/ev-page-cache.c: (ev_page_cache_init),
4172 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
4173 * backend/ev-page-cache.h:
4174 * shell/ev-page-action.c: (page_changed_cb):
4176 Set page action entry width depending on labels width. Fix
4179 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
4181 * backend/ev-link.c: (ev_link_class_init):
4183 Allow -1 as page value (error)
4185 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
4187 * shell/ev-sidebar-thumbnails.c:
4188 (ev_sidebar_thumbnails_set_document):
4189 * shell/ev-view.c: (scroll_to_current_page),
4190 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
4191 (page_changed_cb), (on_adjustment_value_changed),
4192 (ev_view_set_document):
4194 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
4197 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4200 * djvu/djvu-document.c: (djvu_document_get_page_size):
4202 Require djvulibre CVS. Now djvu loading is much faster. Fix for
4205 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
4207 * shell/ev-view.c (draw_one_page): modify the expose handling to
4210 * shell/ev-window.c (update_action_sensitivity): Respect
4211 permissions field. Kowtow to the man.
4213 * pdf/ev-poppler.cc: Get the permissions field.
4215 * tiff/*c: Make a tiny bit more robust.
4217 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4219 * djvu/djvu-document.c:
4221 Pop messages from djvu context message queue.
4223 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4225 * configure.ac, Makefile.am, shell/Makefile.am:
4226 * tiff/Makefile.am, shell/ev-document-types.c:
4228 Cleanup tiff configure checks. Fix for bug 305218.
4230 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
4232 * configure.ac: Added "uk" to ALL_LINGUAS.
4234 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4236 * cut-n-paste/zoom-control/ephy-zoom.c:
4237 (ephy_zoom_get_changed_zoom_level):
4238 * cut-n-paste/zoom-control/ephy-zoom.h:
4239 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
4240 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
4241 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
4242 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
4243 (zoom_control_changed_cb), (ev_window_init):
4245 Fix minor points related to moving best fit up. Introduce
4246 "zoom" property and make zoom control change it's value on
4247 notify::zoom signals. Fix for 305080.
4249 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4251 * data/evince-ui.xml:
4252 * shell/ev-window.c: (set_view_actions_sensitivity):
4254 Use + and - as accels for zoom in and zoom out. Fix for 305001.
4256 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
4260 Depends on poppler 0.3.2
4262 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
4264 * cut-n-paste/recent-files/egg-recent-item.c:
4265 (egg_recent_item_get_short_name):
4266 * cut-n-paste/toolbar-editor/Makefile.am:
4267 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4268 (new_pixbuf_from_widget):
4269 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4270 * cut-n-paste/toolbar-editor/egg-marshal.c:
4271 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4272 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4276 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
4278 * tiff/tiff-document.c: Rough TIFF backend.
4280 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
4284 * cut-n-paste/toolbar-editor/Makefile.am:
4288 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
4290 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
4291 (ev_view_find_next), (ev_view_find_previous):
4293 Remove the locks around get_n_results
4295 2005-05-21 Juerg Billeter <j@bitron.ch>
4297 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
4299 Pass correct number of pages to poppler.
4301 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4305 * data/evince.desktop.in:
4306 * data/evince.desktop.in.in:
4309 Add conditionally dvi and djvu to desktop types. Fix for 304658.
4311 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
4313 * shell/ev-view.c: (view_update_adjustments),
4314 (view_set_adjustment_values): cast adjustmen->value to (int)
4315 before using it. Otherwise, we get off by a pixel in some
4318 (draw_one_page): Draw the border on expose.
4320 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
4322 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
4323 adjustment when the mode changes, #304923
4325 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4327 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
4328 flickering on resize but still use gdk_window_scroll on
4331 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
4333 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
4336 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
4338 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
4339 second page on page_changed if possible, #304669
4341 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
4343 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
4344 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
4346 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
4349 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
4350 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
4351 (ev_view_zoom_for_size_presentation),
4352 (ev_view_zoom_for_size_continuous_and_dual_page),
4353 (ev_view_zoom_for_size_continuous),
4354 (ev_view_zoom_for_size_dual_page),
4355 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
4357 * shell/ev-window.c: (update_view_size),
4358 (ev_window_sizing_mode_changed_cb):
4360 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
4361 the scrollbars. It's not 100% right, but it's much closer. Kills
4362 an infinite loop, #304769
4365 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
4367 * data/evince-ui.xml:
4368 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
4369 * shell/ev-window.c: (set_view_actions_sensitivity):
4371 Make PgUp/Down behave like Space
4373 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
4375 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
4376 * backend/ev-ps-exporter.h:
4377 * pdf/ev-poppler.cc:
4378 * ps/ps-document.c: (ps_document_ps_export_begin):
4379 * shell/ev-print-job.c: (idle_print_handler):
4381 Adapt to new poppler api
4383 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
4385 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4386 (ephy_zoom_control_init):
4388 Translate zoom levels
4390 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
4392 * cut-n-paste/zoom-control/ephy-zoom.c:
4393 (ephy_zoom_get_zoom_level_index):
4395 Fix current zoom -> zoom control match
4397 2005-05-18 James Bowes <bowes@cs.dal.ca>
4399 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
4400 rather than the scrolled_window that it's in. Fixes bug #304655.
4402 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
4404 * shell/ev-view.c: (view_update_adjustments),
4405 (view_set_adjustment_values), (view_update_range_and_current_page),
4406 (view_scroll_to_page), (set_scroll_adjustment),
4407 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
4408 (ev_view_scroll), (ev_view_scroll_view),
4409 (ensure_rectangle_is_visible), (find_page_at_location),
4410 (get_link_at_location), (go_to_link), (status_message_from_link),
4411 (ev_view_size_request_continuous_dual_page),
4412 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
4413 (ev_view_unrealize), (ev_view_expose_event),
4414 (ev_view_button_press_event), (ev_view_motion_notify_event),
4415 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
4416 (draw_rubberband), (highlight_find_results), (draw_one_page),
4417 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
4418 (ev_view_init), (find_changed_cb), (page_changed_cb),
4419 (on_adjustment_value_changed), (ev_view_new),
4420 (ev_view_set_document), (ev_view_set_zoom),
4421 (ev_view_set_continuous), (ev_view_set_dual_page),
4422 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
4423 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
4424 (ev_view_zoom_for_size_presentation),
4425 (ev_view_zoom_for_size_continuous_dual_page),
4426 (ev_view_zoom_for_size_continuous),
4427 (ev_view_zoom_for_size_dual_page),
4428 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4429 (ev_view_get_status), (ev_view_set_status),
4430 (update_find_status_message), (ev_view_get_find_status),
4431 (ev_view_set_find_status), (jump_to_find_result),
4432 (jump_to_find_page), (compute_selections), (clear_selection),
4433 (ev_view_select_all), (get_selected_text), (ev_view_copy),
4434 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4435 (ev_view_update_primary_selection),
4436 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
4438 * shell/ev-window.c: (ev_window_open_page_label),
4439 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
4441 * shell/ev-window.h:
4442 * shell/main.c: (load_files):
4444 Massive code clean up from Nickolay Shmyrev. Keep page offset
4445 when resizing. Remove the bin_window(). Also, patch from James
4446 Bowes to fix command line page, #300641
4448 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
4450 * data/evince-ui.xml:
4453 * shell/ev-window.c: (update_action_sensitivity):
4455 Get rid of View->Normal Size, it's just confusing
4457 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
4459 * backend/ev-document-info.h:
4460 * backend/ev-document.c: (ev_document_info_free): Free the
4463 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4464 (clear_range), (add_range), (update_visible_range),
4465 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
4466 (ev_sidebar_thumbnails_set_document):
4467 * shell/ev-window.c: (ev_window_setup_document): Only render the
4468 visible thumbnails. It takes an instant to render, but it uses
4471 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
4473 * shell/ev-sidebar-links.c: (popup_menu_cb):
4477 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
4480 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
4481 (button_press_cb), (ev_sidebar_links_construct):
4483 Show the popup menu also on keybindings
4485 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
4487 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
4488 * shell/ev-window.h:
4490 Expose api to print a range (with dialog). Make private _print use
4493 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
4494 (ev_sidebar_links_construct):
4496 Show a print context menu on linkx, it prints the selected
4499 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
4501 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
4504 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
4510 * shell/ev-window.c: (build_comments_string),
4511 (ev_window_cmd_help_about):
4513 Show poppler version/backend and authors
4515 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
4517 * cut-n-paste/zoom-control/ephy-zoom.c:
4518 (ephy_zoom_get_zoom_level_index):
4519 * cut-n-paste/zoom-control/ephy-zoom.h:
4521 Move the best fit items at the top of the list
4523 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
4525 * shell/ev-marshal.list:
4526 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
4527 (activate_cb), (match_selected_cb), (activate_link_cb),
4528 (connect_proxy), (ev_page_action_class_init):
4529 * shell/ev-page-action.h:
4531 Use signals to notify action activation. Hopefully
4532 I did not break completion since I cant test...
4534 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
4535 (register_custom_actions):
4537 Connect to page selector actions and also grab focus on
4538 the view when activated.
4540 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
4542 * pdf/ev-poppler.cc:
4543 * backend/ev-page-cache.c: make page size calculation consistent
4544 and set it to (int)( width * scale + 0.5). This makes the weird
4545 line going through the middle of the page go away.
4547 * shell/ev-view.c: move painting the background page after
4548 checking the expose area covers us.
4550 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4552 * data/evince-password.glade:
4554 Mark labels as not translatable. Fix for bug 302842.
4556 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
4558 * configure.ac: Added "es" to ALL_LINGUAS.
4560 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4562 * data/evince-toolbar.xml:
4563 * shell/ev-window.c: (update_action_sensitivity),
4564 (ev_window_setup_document), (ev_window_set_page_mode),
4567 Remove some leftover code from jrb first continous
4568 attempt. Use the new actions, we still need good icons
4571 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4573 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
4575 Update label when connecting proxy. Fix a warning with NULL
4578 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4580 * data/evince-ui.xml:
4581 * shell/ev-page-action.c: (ev_page_action_grab_focus):
4582 * shell/ev-page-action.h:
4583 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
4585 Add mnemonic for edit toolbar.
4586 ctrl+l focus the page entry.
4588 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4591 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
4593 * shell/main.c: (main):
4595 Put the toolbar xml in evince own dot dir
4597 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4599 * shell/ev-window.c: (ev_window_init):
4601 Make the toolbar not removable
4603 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4605 * data/evince-ui.xml:
4606 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
4607 * shell/ev-sidebar-links.h:
4608 * shell/ev-sidebar-thumbnails.c:
4609 (ev_sidebar_thumbnails_get_treeview):
4610 * shell/ev-sidebar-thumbnails.h:
4611 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
4612 (ev_view_class_init):
4614 * shell/ev-window.c: (update_action_sensitivity),
4615 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
4616 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
4617 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
4620 This is evil... Make space/backspace global accelerators but
4621 enable them only for some widgets (sidebars and view).
4622 I dont like it, but I dont know a better way... :/
4624 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4626 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
4627 (ev_page_action_widget_finalize),
4628 (ev_page_action_widget_class_init), (update_page_cache):
4630 Keep a weak reference on proxy->page_cache so that we
4631 dont try to disconnect the signal if the object is already
4632 gone. Maybe there is a better way to cleanup reference handling
4633 in page action though...
4635 2005-05-10 Juerg Billeter <j@bitron.ch>
4637 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
4638 * backend/ev-ps-exporter.h:
4639 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
4640 * ps/ps-document.c: (ps_document_ps_export_begin):
4642 Change api to pass print range to ps_exporter_begin. The pdf backend
4643 requires this information.
4645 * shell/ev-print-job.c: (idle_print_handler):
4649 2005-05-10 Juerg Billeter <j@bitron.ch>
4651 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4652 (idle_print_handler)
4653 * shell/ev-window.c: (ev_window_print):
4655 Support printing page range, based on patch by Amaury Jacquot
4657 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4659 * data/evince-toolbar.xml:
4661 Add zoom control to available items
4663 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4665 * shell/ev-window.c: (update_action_sensitivity):
4667 Set slash action insensitive when appropriate
4669 2005-05-10 Christian Persch <chpe@gnome.org>
4671 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
4673 Fix warning on the overflow menu
4675 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4677 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
4679 Check for uri correctness/existence
4681 2005-05-09 Juerg Billeter <j@bitron.ch>
4683 * shell/ev-window.c: (using_postscript_printer):
4685 LPD printers use postscript, too
4687 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4689 * shell/ev-window.c: (register_custom_actions):
4691 The zoom one is actually sort of useful,
4694 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4696 * shell/ev-window.c: (register_custom_actions):
4698 Hide page/zoom controls from overflow, they
4701 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4703 * cut-n-paste/update-from-egg.sh:
4705 Share it between all cut-n-paste subdirs
4707 * cut-n-paste/recent-files/Makefile.am:
4709 Fix to use "global" update-from-egg.sh
4711 * cut-n-paste/recent-files/egg-recent-model.c:
4712 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4713 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4714 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4715 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4719 * cut-n-paste/toolbar-editor/Makefile.am:
4721 Fix to use "global" update-from-egg.sh
4723 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4727 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4730 * cut-n-paste/Makefile.am:
4731 * cut-n-paste/recent-files/Makefile.am:
4732 * cut-n-paste/toolbar-editor/.cvsignore:
4733 * cut-n-paste/toolbar-editor/Makefile.am:
4734 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4735 (egg_editable_toolbar_get_type), (get_toolbar_position),
4736 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4737 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4738 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4739 (set_item_drag_source), (create_item_from_action), (create_item),
4740 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4741 (popup_toolbar_context_menu_cb), (free_dragged_item),
4742 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4743 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4744 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4745 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4746 (item_added_cb), (item_removed_cb),
4747 (egg_editable_toolbar_construct),
4748 (egg_editable_toolbar_disconnect_model),
4749 (egg_editable_toolbar_deconstruct),
4750 (egg_editable_toolbar_set_model),
4751 (egg_editable_toolbar_set_ui_manager),
4752 (egg_editable_toolbar_set_property),
4753 (egg_editable_toolbar_get_property),
4754 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4755 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4756 (egg_editable_toolbar_new_with_model),
4757 (egg_editable_toolbar_get_edit_mode),
4758 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4759 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4760 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4761 (new_pixbuf_from_widget), (new_separator_pixbuf),
4762 (update_separator_image), (style_set_cb),
4763 (_egg_editable_toolbar_new_separator_image),
4764 (egg_editable_toolbar_get_model):
4765 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4766 * cut-n-paste/toolbar-editor/egg-marshal.c:
4767 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4768 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4769 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4770 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4771 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4772 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4773 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4774 (editor_drag_data_delete_cb), (drag_data_get_cb),
4775 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4776 (editor_create_item), (update_editor_sheet), (setup_editor),
4777 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4778 (parse_item_list), (model_has_action), (update_actions_list),
4779 (egg_toolbar_editor_load_actions):
4780 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4781 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4782 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4783 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4784 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4785 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4786 (egg_toolbars_model_add_separator), (impl_add_item),
4787 (parse_item_list), (egg_toolbars_model_add_toolbar),
4788 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4789 (impl_get_item_data), (impl_get_item_type),
4790 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4791 (egg_toolbars_model_init), (free_toolbar),
4792 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4793 (egg_toolbars_model_remove_toolbar),
4794 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4795 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4796 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4797 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4798 (egg_toolbars_model_get_item_data),
4799 (egg_toolbars_model_get_item_type):
4800 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4801 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4803 * data/evince-toolbar.xml:
4804 * data/evince-ui.xml:
4805 * data/hand-open.png:
4807 * shell/Makefile.am:
4808 * shell/ev-window.c: (update_chrome_visibility),
4809 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4810 (ev_window_dispose), (ev_window_init):
4812 Implement epiphany like toolbar editor. Based on patch by
4813 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4815 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4817 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4819 Use set_cursor instead of set_selection, so that
4820 the keyboard focus moves too.
4822 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4824 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4826 Fix infinite loop when loading Type1 fonts
4828 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4830 * data/evince-ui.xml:
4831 * shell/ev-window.c:
4835 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4839 Make --disable really disable
4841 2005-05-07 Juerg Billeter <j@bitron.ch>
4843 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4845 Compare page labels even without has_labels set, fixes setting page
4848 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4850 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4851 (ev_view_set_cursor), (ev_view_button_press_event),
4852 (ev_view_motion_notify_event), (ev_view_button_release_event),
4855 Implement middle button scrolling. Based on a patch
4856 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4858 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4860 * shell/ev-document-types.c: (get_slow_mime_type),
4861 (get_document_type_from_mime), (ev_document_type_lookup):
4862 * shell/ev-document-types.h:
4864 Change api to lookup from uri. Do fast lookup first, if the
4865 type is unknown try with data sniffing.
4867 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4868 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4872 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4874 * thumbnailer/Makefile.am:
4878 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4885 * data/evince-ui.xml:
4887 Hide presentation mode for now
4889 * shell/ev-view.c: (highlight_find_results):
4891 Show current find selection only on current page
4893 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4895 * shell/ev-view.c: (ev_view_select_all):
4897 Compute size of the actual page, not of
4900 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4902 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4903 (view_rect_to_doc_rect), (compute_selections),
4904 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4905 (ev_view_copy), (ev_view_primary_get_cb),
4906 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4907 (ev_view_button_press_event), (ev_view_motion_notify_event),
4908 (ev_view_button_release_event), (page_changed_cb):
4912 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4914 * shell/ev-view.c: (compute_border), (get_page_extents),
4915 (doc_rect_to_view_rect), (highlight_find_results),
4916 (ev_view_bin_expose), (ev_view_select_all),
4917 (ev_view_motion_notify_event), (update_find_status_message),
4918 (jump_to_find_result), (jump_to_find_page):
4920 First go at fixing search, still buggy
4922 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4924 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4925 dropdown box and button at the top of the sidebar.
4927 2005-05-02 James Bowes <bowes@cs.dal.ca>
4929 * configure.ac: Output zoom-control Makefile.
4930 * cut-n-paste/Makefile.am: build zoom-control subdir.
4931 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4932 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4933 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4934 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4935 * cut-n-paste/zoom-control/ephy-zoom.c:
4936 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4937 from epiphany, and modified to add a separator into the menu.
4938 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4939 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4940 zoom-control action.
4941 * shell/Makefile.am: Include zoom-control flags.
4942 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4943 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4944 (ev_view_zoom_for_size_presentation),
4945 (ev_view_zoom_for_size_continuous_and_dual_page),
4946 (ev_view_zoom_for_size_continuous),
4947 (ev_view_zoom_for_size_dual_page),
4948 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4949 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4950 ev_view_get_zoom and ev_view_get_sizing_mode.
4952 * shell/ev-window.c: (update_action_sensitivity),
4953 (update_sizing_buttons), (zoom_control_changed_cb),
4954 (register_custom_actions): Initialize and use the zoom-control
4957 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4959 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4960 preview cache back to 1. Don't know when it got set to 0.
4962 * shell/ev-view.c: (compute_border), (ev_view_realize),
4963 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4964 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4965 (ev_view_get_fullscreen), (ev_view_set_presentation),
4966 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4967 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4969 * shell/ev-window.c:
4970 (update_chrome_visibility),
4971 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4972 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4973 (update_document_mode), (ev_window_update_fullscreen_action),
4974 (ev_window_fullscreen), (ev_window_unfullscreen),
4975 (ev_window_cmd_view_fullscreen),
4976 (ev_window_update_presentation_action),
4977 (ev_window_run_presentation), (ev_window_stop_presentation),
4978 (ev_window_cmd_view_presentation), (ev_window_state_event),
4979 (ev_window_focus_in_event), (ev_window_focus_out_event),
4980 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4981 * data/evince-ui.xml: Initial presentation mode. We should
4982 probably hide this until it's done, as it's quite rough. Also,
4983 change full-screen to fullscreen and add two getters to EvView.
4985 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4987 * shell/ev-page-action.c: (update_page_cache),
4988 (ev_page_action_dispose):
4989 * shell/ev-window.c: (destroy_fullscreen_popup),
4990 (ev_window_create_fullscreen_popup):
4992 Use connect_object rather than explicitly
4993 disconnect on dispose.
4995 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4997 * shell/ev-page-action.c: (update_page_cache),
4998 (ev_page_action_dispose):
5000 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5002 * backend/ev-page-cache.c: (_ev_page_cache_new),
5003 (ev_page_cache_set_page_label),
5004 (ev_page_cache_has_nonnumeric_page_labels):
5005 * backend/ev-page-cache.h:
5006 * shell/ev-page-action.c: (update_pages_label):
5008 If all page labels are numeric, fallback to default
5009 way to display number of pages. See bug 173185.
5011 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5013 * shell/ev-page-action.c: (ev_page_action_dispose):
5014 * shell/ev-view.c: (view_update_range_and_current_page):
5015 * shell/ev-window.c: (ev_window_dispose):
5017 Set page on scroll in continuous mode. Fixes bug 301986.
5018 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
5020 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
5024 Require poppler 0.3.0
5026 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5028 * shell/Makefile.am, configure.ac: Fix build problems
5029 with t1lib. Bug 301996.
5031 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5033 * shell/ev-view.c: (ev_view_scroll_event):
5035 Scroll up increase zoom
5037 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5039 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
5040 (ev_view_set_sizing_mode),
5041 (ev_view_zoom_for_size_continuous_and_dual_page),
5042 (ev_view_zoom_for_size_continuous):
5043 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5044 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
5045 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
5048 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
5049 Fix for 165473 and 165472.
5051 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5054 * thumbnailer/Makefile.am:
5055 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
5056 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
5057 * thumbnailer/evince-thumbnailer.schemas.in:
5059 Make thumbnailer schemas translatable. Fix for bug 301773
5061 * thumbnailer/evince-thumbnailer-djvu.schemas:
5062 * thumbnailer/evince-thumbnailer-dvi.schemas:
5063 * thumbnailer/evince-thumbnailer.schemas:
5067 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
5069 * shell/ev-view.c (ev_view_init): forgot to set this.
5071 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
5073 * shell/ev-view.c: (find_page_at_location),
5074 (get_link_at_location),
5075 (ev_view_set_show_border), (ev_view_set_spacing),
5076 (ev_view_zoom_for_size_continuous_and_dual_page),
5077 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
5078 Also, add a quick fix measuring of widths. Also, removed
5079 ev_view_set_spacing and ev_view_set_show_border.
5081 * shell/ev-window.c: (ev_window_unfullscreen),
5082 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
5084 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5086 * shell/ev-view.c: (view_update_range_and_current_page),
5089 Fix crash on exit and scrolling to page in continuous view.
5091 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
5094 * backend/ev-page-cache.c: (_ev_page_cache_new),
5095 (ev_page_cache_get_max_width_size),
5096 (ev_page_cache_get_max_height_size):
5097 * backend/ev-page-cache.h:
5098 * data/evince-ui.xml:
5099 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
5100 * shell/ev-view.c: (view_update_adjustments),
5101 (view_update_range_and_current_page), (get_bounding_box_size),
5102 (ev_view_size_request_continuous_and_dual_page),
5103 (ev_view_size_request_continuous),
5104 (ev_view_size_request_dual_page),
5105 (ev_view_size_request_single_page), (ev_view_size_request),
5106 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
5107 (ev_view_bin_expose), (ev_view_expose_event),
5108 (ev_view_set_property), (ev_view_get_property),
5109 (ev_view_class_init), (ev_view_init), (ev_view_new),
5110 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
5111 (ev_view_set_dual_page), (ev_view_set_full_screen),
5112 (ev_view_set_presentation), (ev_view_set_sizing_mode),
5113 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
5114 (ev_view_zoom_out), (zoom_for_size_fit_width),
5115 (zoom_for_size_best_fit),
5116 (ev_view_zoom_for_size_continuous_and_dual_page),
5117 (ev_view_zoom_for_size_continuous),
5118 (ev_view_zoom_for_size_dual_page),
5119 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
5120 (ev_view_show_cursor), (ev_sizing_mode_get_type):
5122 * shell/ev-window.c: (update_action_sensitivity),
5123 (ev_window_cmd_continuous), (ev_window_cmd_dual),
5124 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
5125 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
5126 (ev_window_cmd_view_zoom_out), (update_view_size),
5127 (ev_window_set_sizing_mode), (ev_window_init):
5129 Add Continuous and Dual page modes.
5131 2005-04-23 James Bowes <bowes@cs.dal.ca>
5133 * dvi/dvi-document.c: (dvi_document_load),
5134 (dvi_document_thumbnails_get_thumbnail),
5135 (dvi_document_init_params): Fix up some mixups between
5136 width and height to correct thumbnail rendering.
5138 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5140 * dvi/mdvi-lib/private.h:
5141 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
5143 Suppess output for kpathsea during font generation. Thanks to
5146 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
5153 * Makefile.am: fix distcheck.
5155 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5157 * shell/ev-sidebar-links.c: (selection_changed_callback),
5158 (update_page_callback), (row_activated_callback),
5159 (job_finished_callback), (ev_sidebar_links_set_document):
5161 Fix for bug #169901. Double click on links expands tree.
5163 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
5165 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
5166 hard-coded style. Fix for bug 170111
5168 2005-04-22 Kristian Høgsberg <krh@redhat.com>
5170 * shell/ev-view.c (highlight_find_results): Remove unnecessary
5173 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
5175 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
5177 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
5179 * pdf/ev-poppler.cc:
5180 * shell/ev-view.c: (highlight_find_results):
5182 Fix find on single page documents
5184 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
5186 * data/evince.schemas.in: fix for bug 301390
5188 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
5190 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
5191 (ev_view_zoom_out), (ev_view_zoom_normal):
5193 * shell/ev-window.c: (update_action_sensitivity),
5194 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
5195 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
5196 (ev_window_cmd_view_normal_size):
5198 Fix normal size zoom. Make zoom in/zoom out unsensitive when
5199 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
5202 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
5206 Depend on 2.57, 2.59 doesnt seem to be necessary
5208 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
5210 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
5213 Put back total number of pages as (1 of 1234)
5215 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
5217 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
5220 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
5221 function. This helps debugging.
5223 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5225 * djvu/djvu-document.c: (djvu_document_class_init),
5226 (djvu_document_get_info), (djvu_document_document_iface_init):
5227 * dvi/dvi-document.c: (dvi_document_class_init),
5228 (dvi_document_get_info), (dvi_document_document_iface_init):
5230 Dummy implementation of get_info method for dvi and djvu. Fix
5231 crashes with those backends
5233 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
5235 * data/evince.desktop.in:
5237 Add application/x-gzpostscript
5239 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
5241 * data/evince.schemas.in: Added real long descriptions,
5244 * README: Added actual text, closes bug 171869
5246 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
5248 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5252 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
5254 * backend/ev-document-info.h:
5256 s/GDate */GDate so we can just use g_free
5258 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
5260 * shell/ev-window.c: (update_document_mode),
5261 (ev_window_setup_document):
5263 Show the window in fullscreen when specified by
5266 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
5268 * backend/ev-document.c: (ev_document_class_init),
5269 (ev_document_get_info), (ev_document_render_pixbuf):
5270 * backend/ev-document.h:
5271 * backend/ev-page-cache.c: (_ev_page_cache_new):
5272 * pdf/ev-poppler.cc:
5273 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5274 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
5275 * ps/ps-document.c: (ps_document_class_init), (document_load),
5276 (ps_document_get_info), (ps_document_document_iface_init):
5278 Remove get_title from the interface, we can just use document info
5280 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
5282 * backend/Makefile.am:
5283 * backend/ev-document.c: (ev_document_render_get_info):
5284 * backend/ev-document.h:
5285 * pdf/ev-poppler.cc:
5287 Initial support for document info. Based on jrb patch.
5289 2005-04-19 Paolo Borelli <pborelli@katamail.com>
5291 * shell/ev-window.c: (ev_window_state_event),
5292 (ev_window_class_init), (ev_window_init):
5294 Doesn't show resize grip when maximized. See bug #301053
5296 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5300 ev-sidebar-thumbnails now has translatable labels
5302 * shell/Makefile.am:
5303 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
5304 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
5305 (ev_sidebar_links_page_iface_init):
5306 * shell/ev-sidebar-links.h:
5307 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
5308 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
5309 (ev_sidebar_page_get_label):
5310 * shell/ev-sidebar-page.h:
5311 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
5312 (ev_sidebar_thumbnails_set_document),
5313 (ev_sidebar_thumbnails_support_document),
5314 (ev_sidebar_thumbnails_get_label),
5315 (ev_sidebar_thumbnails_page_iface_init):
5316 * shell/ev-sidebar-thumbnails.h:
5317 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5318 (ev_sidebar_set_document):
5319 * shell/ev-sidebar.h:
5320 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
5322 Small rework of sidebar code. Now sidebar pages should implement
5323 EvSidebarPage interface. That makes page management in EvSidebar
5324 easier. See bug #164811 for details
5326 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5328 * shell/ev-application.c: (ev_application_open):
5329 * shell/ev-document-types.c:
5331 Fix build error and small problem with application exit
5333 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5335 * thumbnailer/Makefile.am:
5336 * thumbnailer/evince-thumbnailer-djvu.schemas:
5337 * thumbnailer/evince-thumbnailer-dvi.schemas:
5339 Conditionally install schemas for djvu/dvi thumbnailer
5341 2005-04-18 David Malcolm <dmalcolm@redhat.com>
5343 * shell/ev-document-types.h:
5344 * shell/ev-document-types.c:
5345 New files, handling the mapping from mimetypes to backends
5347 * shell/ev-window.c:
5348 * thumbnailer/evince-thumbnailer.c:
5349 Use the ev-document-types code
5351 * shell/Makefile.am:
5352 Added new convenience library libevbackendfactory_la, containing
5353 the new mimetype->backend logic; moved the backends into it.
5355 * thumbnailer/Makefile.am:
5356 Make the thumbnailer link with the libevbackend.la convenience
5357 library, rather than having a duplicate of the backend logic here.
5359 2005-04-18 Paolo Borelli <pborelli@katamail.com>
5361 * shell/ev-stock-icons.c: constify some vars.
5362 * shell/ev-window.c: ditto.
5364 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
5366 * ps/ps-document.c (get_page_orientation):
5368 Respect document orientation
5370 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5374 * shell/Makefile.am:
5376 Move library dependencies to components.
5378 * shell/ev-window.c: (update_window_title),
5379 (start_loading_document):
5381 Fix display of uris with spaces. Bug 168358.
5383 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
5385 * shell/ev-sidebar-links.c: (selection_changed_cb):
5386 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
5387 (ev_view_button_release_event), (ev_view_set_document):
5389 * shell/ev-window.c: (find_bar_search_changed_cb):
5390 * shell/ev-window.h: Minor cleanups removing some dead code.
5392 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5394 * backend/ev-page-cache.c: (_ev_page_cache_new):
5396 Set current page to 0 if document has pages.
5398 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5400 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5402 Initialize GError to NULL, fix a crash when loading fails.
5404 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5406 * shell/ev-window.c: (update_view_size):
5408 Calculate shadow size only when there is actually
5411 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5413 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
5416 Allow setting view spacing, default to 0
5418 * shell/ev-window.c: (ev_window_unfullscreen),
5419 (ev_window_cmd_view_fullscreen), (ev_window_init):
5421 Remove spacing in fullscreen mode
5423 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5425 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
5426 (ev_view_size_request), (expose_bin_window),
5427 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
5429 * shell/ev-window.c: (ev_window_unfullscreen),
5430 (ev_window_cmd_view_fullscreen):
5432 Do not draw the border in fulscreen
5434 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5436 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
5437 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
5438 (find_page_at_location), (page_changed_cb):
5440 Rework border calculation, so that I can more easily disable it.
5441 Code somewhat cleaner too.
5443 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5445 * backend/ev-page-cache.c: (ev_page_cache_init),
5446 (_ev_page_cache_new):
5448 Remove some assertions, documents can have 0 pages.
5449 Make initial current page -1.
5451 * shell/ev-page-action.c: (page_changed_cb):
5453 Show "" if current page is -1
5455 * shell/ev-window.c: (update_action_sensitivity),
5456 (ev_window_setup_document):
5458 When document has 0 pages do not set the view
5459 and make nearly everything insensitive.
5461 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5463 * shell/ev-page-view.c:
5464 * shell/ev-page-view.h:
5466 Remove unused files.
5468 * shell/ev-sidebar-thumbnails.c:
5469 (ev_sidebar_thumbnails_set_document):
5470 * shell/ev-sidebar.c: (ev_sidebar_set_document),
5471 (ev_sidebar_supports_document):
5472 * shell/ev-sidebar.h:
5473 * shell/ev-window.c: (ev_window_setup_document):
5475 Doesn't show thumbnails if document has 1 page. Make
5476 sidebar menu entries sensitive only if if they have
5477 sense. Fix bug 164811.
5479 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
5481 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
5482 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
5483 (ev_view_zoom_out), (ev_view_set_size):
5485 Rework sizing to deal with documents with not uniform page
5488 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
5490 * backend/ev-page-cache.c: (_ev_page_cache_new):
5492 Fix several page size caching bugs
5494 2005-04-15 Luca Ferretti <elle.uca@libero.it>
5496 * shell/ev-window.c: (set_action_properties):
5498 Make all toolbar items translatable
5500 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
5502 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
5503 (save_page_list), (ps_document_save),
5504 (ps_document_document_iface_init), (ps_document_ps_export_begin),
5505 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
5506 (ps_document_ps_exporter_iface_init):
5509 Based on a patch by J�rg Billeter <j@bitron.ch>
5511 Implement print and save a copy for the ps backend.
5513 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
5515 * backend/ev-document.h:
5516 * djvu/djvu-document.c: (djvu_document_can_get_text),
5517 (djvu_document_document_iface_init):
5518 * dvi/dvi-document.c: (dvi_document_can_get_text),
5519 (dvi_document_document_iface_init):
5520 * pdf/ev-poppler.cc:
5521 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
5522 (pixbuf_document_document_iface_init):
5523 * ps/ps-document.c: (ps_document_can_get_text),
5524 (ps_document_document_iface_init):
5525 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
5526 * shell/ev-window.c: (update_action_sensitivity):
5528 Fix the crash when trying to copy in backends that doesnt
5529 support it. We can implement a better solution once we
5530 do real text selection.
5532 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
5534 * data/evince-ui.xml:
5535 * shell/ev-window.c: (ev_window_cmd_escape):
5537 Work around the Escape conflict (find bar and unfullscreen)
5539 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
5541 * backend/ev-page-cache.c: (ev_page_cache_next_page):
5543 Fix for #300233. Next page correctly handles document end.
5545 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
5546 (ev_sidebar_thumbnails_class_init),
5547 (ev_sidebar_thumbnails_set_document),
5548 (ev_sidebar_thumbnails_clear_job),
5549 (ev_sidebar_thumbnails_clear_model):
5551 Cleanup thumbnail jobs on document changes.
5553 * shell/ev-view.c: (add_scroll_binding_keypad),
5554 (add_scroll_binding_shifted), (ev_view_class_init):
5556 Shift + Space scrolls up. Fix for #173184
5558 * shell/ev-window.c: (ev_window_open_page),
5559 (ev_window_cmd_view_reload):
5561 Fix reload (Bug #300094)
5563 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5566 * dvi/mdvi-lib/assoc.c:
5567 * dvi/mdvi-lib/assoc.h: Removed garbage files
5569 * dvi/mdvi-lib/bitmap.c:
5570 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
5571 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
5572 * dvi/mdvi-lib/color.h: Antialias of rules
5574 * dvi/mdvi-lib/common.h:
5575 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
5576 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
5577 * dvi/mdvi-lib/files.c:
5578 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
5579 * dvi/mdvi-lib/mdvi.h:
5580 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
5581 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
5582 * dvi/mdvi-lib/util.c: Fix compile warnings
5584 * dvi/dvi-document.c:
5585 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
5586 (dvi_document_thumbnails_get_thumbnail),
5587 (dvi_document_document_thumbnails_iface_init):
5588 * dvi/mdvi-lib/Makefile.am:
5589 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
5590 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
5592 Dvi backend now renders thumbnails
5594 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
5596 * shell/main.c: (main):
5598 Save accelerators on exit. Fixes bug #172095.
5600 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
5602 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
5603 update priority" comment.
5605 * backend/ev-job-queue.c: Give a way to change priority.
5607 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
5609 * shell/ev-page-action.c: Fix logic.
5611 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5613 * shell/ev-view.c: (ev_view_can_find_next):
5614 * shell/ev-window.c: (ev_window_setup_document):
5616 Check that the document supports find
5618 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5620 * data/evince-ui.xml:
5621 * shell/ev-view.c: (ev_view_can_find_next):
5623 * shell/ev-window.c: (update_action_sensitivity),
5624 (find_changed_cb), (ev_window_setup_document),
5625 (ev_window_cmd_edit_find_next):
5629 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5631 * pdf/ev-poppler.cc:
5632 * shell/ev-print-job.c: (idle_print_handler):
5634 Make printing work again
5636 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
5638 * shell/ev-page-action.h:
5639 * shell/ev-page-action.c: (ev_page_action_widget_init),
5640 (ev_page_action_widget_class_init), (page_changed_cb),
5641 (create_tool_item), (update_page_cache), (build_new_tree_cb),
5642 (get_filter_model_from_model), (match_selected_cb),
5643 (display_completion_text), (match_completion), (update_model),
5644 (connect_proxy), (ev_page_action_set_property),
5645 (ev_page_action_get_property), (ev_page_action_set_document),
5646 (ev_page_action_set_model), (ev_page_action_class_init): Big
5647 reworking to make completions work iff we have >= GTK-2.7.0
5649 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
5650 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
5651 (job_finished_cb): We now have a 'model' property that is set when
5652 the links are loaded. This can be caught with "notify::model"
5654 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
5655 listen for the model to be set, and propagate it to the action.
5657 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5659 * cut-n-paste/recent-files/egg-recent-item.c:
5660 (egg_recent_item_set_uri), (make_valid_utf8),
5661 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
5662 * cut-n-paste/recent-files/egg-recent-item.h:
5664 Update egg-recent from libegg. This should fix long
5665 startup problem. For details see
5666 http://bugzilla.gnome.org/show_bug.cgi?id=160531
5668 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5670 * cut-n-paste/recent-files/Makefile.am:
5671 * data/evince-ui.xml, shell/Makefile.am:
5672 * shell/ev-application.c, shell/ev-application.h:
5673 * shell/ev-window.c: Recent files support.
5675 * configure.ac: Added "ru" to ALL_LINGUAS.
5677 * dvju: new backend to support DJVU files.
5678 * dvi: new backend to support DVI.
5680 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
5681 * ev-application.c: Support for new backends.
5683 * help, ev-window.c, main.c shell/Makefile.am:
5684 Evince user documentation.
5686 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5689 * shell/ev-window.c:
5690 * thumbnailer/evince-thumbnailer.c:
5692 s/pdf-document/ev-poppler
5694 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5701 * ps/ps-document.c: (setup_pixmap):
5705 2005-04-05 Kristian Høgsberg <krh@redhat.com>
5707 * backend/ev-page-cache.c (ev_page_cache_next_page):
5708 * shell/ev-window.c (ev_window_cmd_go_next_page)
5709 (ev_window_cmd_go_first_page): Fix of by one errors.
5711 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5713 * ps/ps-document.c: (get_page_box):
5715 Fix page size calculation
5717 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5719 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5720 (ps_document_cleanup), (setup_pixmap), (get_page_box),
5721 (get_page_orientation), (setup_page), (document_load),
5722 (ps_document_get_page_size), (render_pixbuf_idle):
5725 More refactoring to adapt to EvDocument changes
5727 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5729 * ps/ps-document.c: (start_interpreter):
5731 Actually add alpha args
5733 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5735 * pdf/ev-poppler.cc:
5737 Make clipboard work again
5739 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5741 Make searching work again.
5743 * backend/ev-document.c:
5744 * backend/ev-document.h:
5745 * backend/ev-document-find.c:
5746 * backend/ev-document-find.h: Change EvDocumentIface so we no
5747 longer store the current page or zoom level in the document. The
5748 consequence is that all calls that operate on the current page now
5749 instead take the page number as an extra argument, and all
5750 coordinates are now doubles in document coordinate system.
5752 * pdf/ev-poppler.cc:
5753 * pixbuf/pixbuf-document.c:
5754 * ps/ps-document.c: Update backends accordingly.
5756 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5760 Add required gettext version
5762 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5764 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5765 make F1 bring up non-existent help.
5767 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5768 epiphany's find bar, #167477
5770 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5771 <emil@nishra.com> to add space-bar scrolling,
5773 * shell/ev-window.c (static GtkActionEntry entries): add default
5774 keybinding for Help (F1)
5777 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5778 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5781 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5784 * pixbuf/pixbuf-document.c:
5786 Got pixbuf backend working again
5788 2005-04-01 Steve Murphy <murf@e-tools.com>
5790 * configure.in: Added "rw" to ALL_LINGUAS.
5792 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5794 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5795 model types, noticed by Martin Kretzschmar.
5797 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5799 * pdf/ev-poppler.cc: Implement search based on
5800 poppler_page_find_text(). Currently a bit crude since we remember
5801 all matches from all pages. Also, we grab the big document lock
5802 when we search since searching changes the underlying stream and
5803 thus conflicts with the rendering thread.
5805 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5806 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5807 (ev_view_find_previous): Fix some page indexes to be 0 based,
5808 offset rubber band by view offset,
5810 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5812 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5814 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5816 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5817 completely because I didn't understand GtkActions. I should
5818 read Marco's code more carefully in the future.
5820 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5823 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5825 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5826 PopplerRectangle change from poppler CVS.
5828 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5830 * backend/ev-document.c: (ev_document_get_page_label):
5831 * backend/ev-document.h:
5832 * backend/ev-page-cache.c: (_ev_page_cache_new),
5833 (ev_page_cache_get_page_label):
5834 * backend/ev-page-cache.h:
5835 * pdf/ev-poppler.cc:
5836 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5837 (links_page_num_func):
5838 * shell/ev-sidebar-thumbnails.c:
5839 (ev_sidebar_thumbnails_set_document):
5840 * shell/ev-view.c: (status_message_from_link),
5841 (ev_view_motion_notify_event):
5842 * shell/ev-window.c: (document_supports_sidebar): Add in page
5843 label support. It's not perfect yet, but it's the first 'feature'
5845 Also, fix a bogus comment noticed by crispin.
5847 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5849 * Makefile.am: Remove pixbuf backend for now
5851 * configure.ac: Require poppler-glib instead of just poppler.
5853 * backend/ev-document-thumbnails.h: Add a comment
5855 * backend/ev-document.h:
5856 * backend/ev-document.c: (ev_document_class_init),
5857 (ev_document_load), (ev_document_get_link),
5858 (ev_document_get_links): Remove 3 methods and add get_links.
5861 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5862 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5864 * backend/ev-link.c: (ev_link_set_title),
5865 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5866 (ev_link_mapping_find):
5867 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5869 * backend/ev-page-cache.c: (ev_page_cache_init),
5870 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5871 (ev_page_cache_get_size), (ev_page_cache_next_page),
5872 (ev_page_cache_prev_page): Fix to be 0 based.
5876 * pdf/ev-poppler.cc: New backend.
5878 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5879 (ps_document_get_page), (ps_document_document_iface_init):
5881 * shell/ev-pixbuf-cache.h:
5882 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5883 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5884 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5885 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5886 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5887 Fix up code to grab a page cache per each doc. Also, fix to be 0
5890 * shell/ev-sidebar-thumbnails.c:
5891 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5892 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5894 * shell/ev-view.c: (status_message_from_link),
5895 (find_page_at_location), (get_link_at_location),
5896 (ev_view_motion_notify_event), (ev_view_button_release_event),
5897 (ev_view_init): Use the new link code. Fix to be 0 based.
5899 * shell/ev-window.c: (update_action_sensitivity),
5900 (document_supports_sidebar): 0 based.
5902 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5904 * pdf/pdf-document.cc: Patch from Fernando Herrera
5905 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5908 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5910 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5911 1 to the page, as this seems to be 1 based. I thought we has this
5914 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5917 * backend/Makefile.am:
5918 * backend/ev-document-links.c:
5919 (ev_document_links_has_document_links),
5920 (ev_document_links_get_links_model):
5921 * backend/ev-document-links.h:
5922 * backend/ev-document.c: (ev_document_get_page_cache),
5923 (ev_document_get_doc_mutex), (ev_document_load),
5924 (ev_document_save), (ev_document_get_title),
5925 (ev_document_get_n_pages), (ev_document_set_page),
5926 (ev_document_get_page), (ev_document_set_target),
5927 (ev_document_set_scale), (ev_document_set_page_offset),
5928 (ev_document_get_page_size), (ev_document_get_text),
5929 (ev_document_get_link), (ev_document_render),
5930 (ev_document_render_pixbuf), (ev_document_scale_changed):
5931 * backend/ev-document.h:
5932 * backend/ev-job-queue.c: (remove_object_from_queue),
5933 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5934 (no_jobs_available_unlocked), (ev_render_thread),
5935 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5936 (ev_job_queue_remove_job):
5937 * backend/ev-job-queue.h:
5938 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5939 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5940 (ev_job_links_class_init), (ev_job_render_init),
5941 (ev_job_render_dispose), (ev_job_render_class_init),
5942 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5943 (ev_job_thumbnail_class_init), (ev_job_finished),
5944 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5945 (ev_job_render_run), (ev_job_thumbnail_new),
5946 (ev_job_thumbnail_run):
5947 * backend/ev-jobs.h:
5948 * backend/ev-link.c:
5949 * backend/ev-link.h:
5950 * backend/ev-page-cache.c: (ev_page_cache_init),
5951 (ev_page_cache_class_init), (ev_page_cache_finalize),
5952 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5953 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5954 (ev_page_cache_set_link), (ev_page_cache_get_title),
5955 (ev_page_cache_get_size), (ev_page_cache_next_page),
5956 (ev_page_cache_prev_page):
5957 * backend/ev-page-cache.h:
5958 * pdf/pdf-document.cc:
5961 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5962 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5963 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5964 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5965 (is_interpreter_ready), (output), (catchPipe), (input),
5966 (start_interpreter), (check_filecompressed), (compute_dimensions),
5967 (ps_document_enable_interpreter), (document_load),
5968 (ps_document_next_page), (render_page), (ps_document_set_page),
5969 (ps_document_set_scale), (render_pixbuf_idle),
5970 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5972 * shell/Makefile.am:
5973 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5974 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5975 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5976 (ev_pixbuf_cache_new), (job_finished_cb),
5977 (check_job_size_and_unref), (move_one_job),
5978 (ev_pixbuf_cache_update_range), (find_job_cache),
5979 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5980 (ev_pixbuf_cache_add_jobs_if_needed),
5981 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5982 * shell/ev-pixbuf-cache.h:
5983 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5984 (idle_print_handler):
5985 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5986 (selection_changed_cb), (create_loading_model),
5987 (ev_sidebar_links_construct), (links_page_num_func),
5988 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5989 (update_page_callback), (job_finished_cb),
5990 (ev_sidebar_links_set_document):
5991 * shell/ev-sidebar-thumbnails.c:
5992 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5993 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5994 (page_changed_cb), (thumbnail_job_completed_callback),
5995 (ev_sidebar_thumbnails_set_document):
5996 * shell/ev-sidebar-thumbnails.h:
5997 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5998 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5999 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
6000 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
6001 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
6002 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
6003 (ev_view_button_release_event), (ev_view_scroll_view),
6004 (ev_view_class_init), (ev_view_init), (update_find_status_message),
6005 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
6006 (ev_view_new), (job_finished_cb), (page_changed_cb),
6007 (ev_view_set_document), (go_to_link), (ev_view_zoom),
6008 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
6009 (ev_view_find_previous):
6011 * shell/ev-window.c: (update_action_sensitivity),
6012 (ev_window_open_page), (update_window_title), (update_total_pages),
6013 (page_changed_cb), (ev_window_setup_document),
6014 (password_dialog_response), (ev_window_cmd_save_as),
6015 (ev_window_print), (ev_window_cmd_go_previous_page),
6016 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
6017 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
6018 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
6019 * shell/main.c: (main):
6021 Merge evince-threads branch
6023 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
6025 * configure.ac: Added "lt" to ALL_LINGUAS.
6027 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
6034 2005-03-13 Fernando Herrera <fherrera@onirica.com>
6036 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
6038 Fix here also the thumbnails 1-basedness :)
6040 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
6047 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
6049 * pdf/pdf-document.cc:
6050 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
6051 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
6053 Fix the mess we did with thumbnails and 1-basedness
6055 2005-03-12 Changwoo Ryu <cwryu@debian.org>
6057 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
6059 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
6066 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
6069 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
6070 (gtk_gs_defaults_get_alpha_parameters),
6071 (gtk_gs_defaults_get_ungzip_cmd),
6072 (gtk_gs_defaults_get_unbzip2_cmd):
6074 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
6075 (ps_document_get_orientation), (document_load),
6076 (ps_document_goto_page), (ps_document_set_page_size):
6079 Some more sanitization of the ps backend. Remove a lot
6080 of unused code and do not base our defaults on ggv
6083 2005-03-08 Fernando Herrera <fherrera@onirica.com>
6085 * thumbnailer/evince-thumbnailer.schemas:
6086 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
6087 (main): add -s option for thumbnail size.
6089 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
6093 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
6096 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
6098 * pdf/pdf-document.cc:
6100 Remove 4 pixels of useless border from the
6103 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
6105 * backend/ev-document-thumbnails.c:
6106 (ev_document_thumbnails_get_thumbnail):
6107 * backend/ev-document-thumbnails.h:
6109 Rework API a bit. Add a border flag and
6110 change sizing logic (now the size we specify
6111 applies to the bigger dimension).
6113 * pdf/pdf-document.cc:
6114 * pixbuf/pixbuf-document.c:
6115 (pixbuf_document_thumbnails_get_thumbnail):
6116 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
6117 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
6119 Adapt to the new API and do not draw a border for nautilus
6122 2005-03-03 Fernando Herrera <fherrera@onirica.com>
6124 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
6125 take thumbnails from page "0" instead of "1". Added a copyright header.
6127 2005-03-03 Jens Granseuer <jensgr@gmx.net>
6129 * ps/ps-document.c: (set_up_page), (start_interpreter):
6131 Make it C89 compliant
6133 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
6138 * pdf/pdf-document.cc:
6139 * thumbnailer/Makefile.am:
6140 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
6142 * thumbnailer/evince-thumbnailer.schemas:
6143 * thumbnailer/pdf-icon.png:
6145 Add a nautilus thumbnailer.
6146 Based on patch by Fernando Herrera <fherrera@onirica.com>.
6148 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
6156 2005-03-01 Kristian Høgsberg <krh@redhat.com>
6158 Use poppler instead of including xpdf source code. Poppler is a
6159 fork of xpdf to build it as a shared library. See
6160 http://freedesktop.org/wiki/Software/poppler.
6162 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
6165 * pdf/Makefile.am: Build libpdfdocument.a here.
6167 * pdf/GDKSplashOutputDev.cc:
6168 * pdf/GDKSplashOutputDev.h:
6169 * pdf/GnomeVFSStream.cc:
6170 * pdf/GnomeVFSStream.h:
6173 * test-gdk-output-dev.cc
6175 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
6178 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
6180 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
6182 Clear idle stack before unsetting the document
6184 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
6186 * ps/ps-document.c: (ps_document_widget_event),
6187 (ps_document_set_target), (ps_document_finalize),
6188 (ps_document_get_page):
6190 Disconnect the widget event signal on finalize.
6193 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
6195 * ps/ps-document.c: (set_up_page):
6197 If there is no bpixmap create one, even if size
6200 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
6202 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
6203 (set_up_page), (document_load), (ps_document_set_zoom):
6205 Default page is 0. Calculate size even when we have no
6208 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
6210 * shell/ev-sidebar.c: expand the selection widget to be always as
6213 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
6215 * shell/ev-sidebar-thumbnails.c:
6216 (ev_sidebar_thumbnails_set_document):
6218 Clear the list store when setting document
6220 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
6222 * shell/ev-page-action.c: (update_entry), (sync_entry),
6223 (activate_cb), (entry_size_request_cb), (create_tool_item),
6226 Use an entry for the page control instead of spinbuttons
6228 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
6230 * data/evince.schemas.in:
6232 Correct confusing string
6234 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
6236 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
6237 for real. Gosh, how long has this been broken.
6239 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
6240 check for a NULL link. We crash otherwise.
6242 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
6249 2005-02-25 Sebastien Bacher <seb128@debian.org>
6251 * configure.ac: add the french translation.
6253 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
6255 * shell/ev-window.c:
6257 Remove unused header -> fix distcheck
6259 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
6261 * shell/ev-window.c: (update_window_title),
6262 (ev_window_popup_password_dialog):
6264 Unescape filename for display
6266 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
6268 * pdf/xpdf/pdf-document.cc:
6270 In get_page_size deal with rotation. Also
6271 cleanup the function a bit.
6273 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
6275 * pdf/xpdf/pdf-document.cc:
6277 Fix crash when opening in new window
6279 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
6283 Check ghostscript >= 7
6285 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
6287 * shell/ev-window.c:
6289 Make page width the default sizing mode
6291 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
6292 Marco Pesenti Gritti <marco@gnome.org>
6294 * shell/ev-window.c: Remember the sidebar size
6296 * data/evince.schemas.in: Add a new gconf key to store the size of
6299 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
6301 * data/evince-ui.xml:
6302 * shell/ev-window.c: (update_action_sensitivity),
6303 (ev_window_cmd_view_reload):
6305 Add a "Reload" action and menu entry
6307 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
6309 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
6310 iff the type doesn't support thumbnailing and indexing.
6312 2005-02-24 Martin Kretzschmar <martink@gnome.org>
6314 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
6316 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6318 * pdf/splash/Splash.cc:
6320 Port fix for a crasher from kde bug
6321 http://bugs.kde.org/show_bug.cgi?id=97131
6323 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6325 * pdf/xpdf/pdf-document.cc:
6327 Return a link even if it's of an unrecognized
6328 type. Otherwise we go in an infinte cycle.
6330 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6332 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
6333 (size_allocate_cb), (ev_window_set_sizing_mode):
6335 Update size when switching mode
6337 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6339 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
6340 (ev_window_cmd_view_page_width), (update_sizing_buttons),
6341 (ev_window_cmd_view_normal_size):
6343 Fix size toggle buttons behavior
6345 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6347 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
6348 (doc_rect_to_view_rect), (ev_view_size_allocate),
6349 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
6350 (scale_changed_callback):
6352 Do not cache offsets in size_allocate.
6354 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6356 * shell/ev-view.c: (ev_view_size_allocate):
6358 Calculate offsets before calling the parent
6359 class (which does a redraw)
6361 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6363 * pdf/xpdf/pdf-document.cc:
6365 Fix a crasher on exit. Unused code, put a TODO
6367 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6369 * backend/ev-document.c: (ev_document_class_init),
6370 (ev_document_page_changed), (ev_document_scale_changed):
6371 * backend/ev-document.h:
6373 Separate page/scale notifications
6375 * pdf/xpdf/pdf-document.cc:
6377 Emit the new signals.
6378 Do not display the pdf page in _render, do it
6379 when scale/page are requested.
6381 * ps/ps-document.c: (ps_document_set_zoom),
6382 (ps_document_widget_event):
6385 Emit the new signals.
6387 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
6388 (ev_view_init), (page_changed_callback), (scale_changed_callback),
6389 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
6390 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
6392 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
6393 (ev_window_cmd_view_page_width), (size_allocate_cb),
6394 (ev_window_set_sizing_mode):
6396 Rework sizing to be pixel based.
6397 There are bugs but should be already way better.
6399 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
6401 * shell/ev-window.c: (ev_window_init):
6403 Do not allow to shrink sidebar smaller then
6406 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
6408 * shell/ev-sidebar.[ch]
6409 * shell/ev-window.c:
6411 Improved sidebar widget. Fixes #166683
6413 2005-02-23 Tommi Vainikainen <thv@iki.fi>
6415 * shell/ev-view.c (update_find_status_message): Give translators
6416 more flexibility with ngettext plural handling.
6418 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
6420 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
6421 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
6422 page when we get the page size.
6424 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
6426 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
6428 ps pages are 0 based, convert
6430 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
6432 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
6434 Initialize correct parent class. Set GError on document load
6436 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
6438 * pdf/xpdf/pdf-document.cc:
6440 Fixup selection offset calculation
6442 * shell/ev-view.c: (view_rect_to_doc_rect),
6443 (doc_rect_to_view_rect), (ev_view_size_allocate),
6444 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
6445 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
6447 Store selection as document relative, so that zooming
6448 and offset changing doesnt break it.
6450 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
6452 * shell/ev-view.c: (ev_view_best_fit):
6454 Do not try to best fit if the view is not realized
6456 2005-02-20 Kostas Papadimas <pkst@gnome.org>
6458 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
6460 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
6462 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
6464 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
6466 * shell/ev-window.c: Change the fullscreen toolbar to always be in
6467 the popup window. That prevents it resizing when in full screen
6470 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
6471 multiple rerenders. This pretty much sucks.
6473 * data/evince-ui.xml: Change the fullscreen toolbar to include the
6474 rest of the toolbar.
6476 2005-02-18 Tommi Vainikainen <thv@iki.fi>
6478 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
6480 2005-02-17 Alexander Shopov <ash@contact.bg>
6482 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
6484 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
6486 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
6488 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
6490 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
6491 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
6492 (set_document_page), (document_changed_callback),
6493 (ev_view_set_document), (ev_view_find_previous),
6494 (ev_view_hide_cursor), (ev_view_show_cursor):
6496 * shell/ev-window.c: (update_chrome_visibility),
6497 (fullscreen_timeout_cb), (fullscreen_set_timeout),
6498 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
6499 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
6500 (ev_window_unfullscreen):
6501 * shell/main.c: (main):
6503 Automatically hide the fullscreen button.
6504 Patch by Kristian Høgsberg <krh@redhat.com>
6506 2005-02-16 Vincent Noel <vnoel@cox.net>
6508 * shell/main.c (main): Specify an icon for the window. Patch by
6509 Jaap A. Haitsma. Fixes #166177.
6511 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
6513 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
6515 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
6517 * backend/ev-document-misc.h:
6518 * backend/ev-document-misc.c:
6519 (ev_document_misc_get_page_border_size),
6520 (ev_document_misc_paint_one_page): New function to canonicalize
6521 sizing/painting a border.
6523 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
6526 * pdf/xpdf/pdf-document.cc: use new function
6528 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
6529 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
6530 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
6531 shell/ev-window.c: (update_sizing_buttons),
6532 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
6533 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
6534 (ev_window_cmd_view_page_width), (size_allocate_cb),
6535 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
6536 and "fit width" values act as toggle buttons so they stay
6537 toggled. It's not 100% perfect, and it's a little slow, but it's
6538 good enough to commit I think.
6540 2005-02-15 David Lodge <dave@cirt.net>
6542 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
6544 2005-02-15 Martin Kretzschmar <martink@gnome.org>
6546 * shell/ev-window.c (update_window_title): replace newlines in
6547 the title by spaces. Bug #166107.
6549 2005-02-14 Martin Kretzschmar <martink@gnome.org>
6551 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
6552 parameters providing allocation width and height without
6553 scrollbars and width of a possible vertical scrollbar. With this
6554 additional information the functions can work as
6555 intended. Unfortunately they're not idempotent. We should
6556 transform these commands to toggles. Fixes Bug #164976
6557 Initial patch by Stephane Loeuillet, then heavily modified.
6559 * shell/ev-view.h: update prototypes.
6561 * shell/ev-window.c (ev_window_cmd_view_best_fit)
6562 (ev_window_cmd_view_page_width): provide EvView fit functions with
6563 all the information they need. Formulas to calculate this
6564 information taken from GtkScrolledWindow.
6566 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
6568 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
6569 created a thumbnail, the list store is updated to know
6570 that the thumbnail is set. Fixes bug #166792
6572 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
6574 * shell/ev-window.c: fixed typo, closes bug 166897
6576 * TODO: updated TODO with bug numbers that are relevant
6578 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
6580 * shell/ev-window.c: Support for DnD of files. Fixes #164813
6582 2005-02-09 Vincent Noel <vnoel@cox.net>
6584 * shell/ev-window.c: (set_action_properties): Set the "Previous"
6585 and "Next" toolbar buttons as important to make them stand out.
6587 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
6591 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
6592 (start_interpreter), (stop_interpreter), (document_load),
6593 (ps_document_next_page), (ps_document_goto_page),
6594 (ps_document_set_page_size), (ps_document_widget_event),
6595 (ps_document_render):
6596 * shell/ev-page-view.c: (ev_page_view_dispose):
6597 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
6599 Fix compilation on non-gcc platforms
6601 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
6608 * pdf/xpdf/Catalog.cc:
6611 Fix the fix for CAN-2004-0888
6613 2005-02-09 Luca Ferretti <elle.uca@libero.it>
6616 * data/evince-ui.xml:
6617 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6618 * shell/ev-stock-icons.h:
6619 * shell/ev-window.c: (update_action_sensitivity),
6620 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
6621 (set_action_properties):
6623 Improve toolbar layout/icons
6625 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
6627 * pdf/xpdf/pdf-document.cc:
6629 Add warnings about unimplemented/unknown link
6632 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6634 * ps/ps-document.c: (set_up_page):
6638 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6640 * ps/ps-document.c: (start_interpreter):
6644 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6646 * shell/ev-page-view.c: (ev_page_view_dispose):
6647 * shell/ev-view.c: (ev_view_finalize):
6648 * shell/ev-window.c: (ev_window_setup_document),
6649 (ev_window_dispose), (ev_window_init):
6651 Solve more refs issues.
6653 I commented out the page_view initialization for now:
6654 it was never destroyed (because it's never added
6655 to a container). Because of that we was leaking
6656 gs processes. Couldnt think to a clean fix.
6657 We need to figure this out, password view has the
6658 same issue probably.
6660 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6662 * ps/ps-document.c: (ps_document_finalize),
6663 (ps_document_get_n_pages), (ps_document_get_page):
6665 Some cleanups, stop the interpreter on finalize
6667 * shell/ev-page-view.c: (ev_page_view_dispose),
6668 (ev_page_view_class_init):
6670 Release our reference on the document
6672 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6676 * doc/debugging.txt:
6679 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
6680 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
6681 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
6684 Add debugging helpers
6687 * ps/ps-document.c: (set_up_page), (start_interpreter),
6688 (stop_interpreter), (document_load), (ps_document_next_page),
6689 (ps_document_goto_page), (ps_document_set_page_size),
6690 (ps_document_widget_event), (ps_document_render):
6691 * shell/Makefile.am:
6692 * shell/ev-view.c: (expose_bin_window):
6693 * shell/main.c: (main):
6697 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6699 * ps/ps-document.c: (ps_document_widget_event):
6701 Initialize message_window, this should make ps
6702 rendering really work! (Never noticed because I was
6703 testing with a ps that is causing gs to exit every time!)
6705 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
6707 * data/evince.schemas.in: updated simple error in applyto closing tag
6709 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
6715 * data/evince-ui.xml:
6716 A data/evince.schemas.in:
6718 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6719 * shell/ev-stock-icons.h:
6720 * shell/ev-window.c: (update_chrome_visibility),
6721 (update_chrome_flag), (ev_window_cmd_edit_find),
6722 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6723 (ev_window_unfullscreen), (ev_window_focus_in_event),
6724 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6725 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6726 (ev_window_view_sidebar_cb), (find_bar_close_cb),
6727 (ev_window_dispose), (ev_window_class_init),
6728 (set_action_properties), (set_chrome_actions), (load_chrome),
6731 Implement fullscreen mode changes from bug #164776.
6732 Also implement persistent chrome toggles.
6734 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6736 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6738 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6744 Add another check for find interface
6748 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6750 * shell/ev-application.c: (ev_application_open):
6751 * shell/ev-window.c: (ev_window_open):
6753 Open gzipped ps documents
6755 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6758 * shell/ev-view.c: (set_document_page):
6760 Clamp page number, dont try to move to
6763 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6765 * backend/ev-document-find.c: (ev_document_find_changed):
6766 * backend/ev-document-find.h:
6767 * pdf/xpdf/pdf-document.cc:
6768 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6769 * shell/ev-window.c: (find_bar_search_changed_cb):
6771 Fix several bugs with find
6773 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6775 * shell/ev-sidebar-thumbnails.c
6776 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6777 document. Prevents warning from scroll_to_cell.
6779 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6781 * configure.ac: Add «nb» to ALL_LINGUAS too.
6783 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6785 * NOTES: New file with some random thoughts.
6789 * backend/ev-document-misc.c:
6790 (ev_document_misc_get_page_border_size): New function to
6791 canonicalize shadow drawing sizes. Possibly goofy.
6793 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6794 (ev_view_best_fit), (ev_view_fit_width):
6795 * pdf/xpdf/pdf-document.cc:
6796 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6797 * ps/ps-document.c: (ps_document_get_page_size):
6798 * backend/ev-document-misc.h:
6799 * backend/ev-document.c: (ev_document_get_page_size):
6800 * backend/ev-document.h: get_page_size now takes a page number
6801 parameter. Made all the backends/frontends honor it.
6803 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6804 see. Doesn't work yet.
6806 * shell/Makefile.am:
6807 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6808 Doesn't do anything yet.
6810 * shell/ev-sidebar-thumbnails.c:
6811 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6814 * shell/ev-window.c: (update_action_sensitivity),
6815 (ev_window_setup_document), (ev_window_set_page_mode),
6816 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6817 view-swapping code a bit so we can have multiple views on a
6818 document. Add the multi-page view, though it can't be turned on
6821 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6823 * shell/ev-application.c: (ev_application_open):
6824 * shell/ev-view.c: (expose_bin_window):
6825 * shell/ev-window.c: (ev_window_open):
6827 Support eps and check document supports find
6828 before drawing highlightings in expose.
6830 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6832 * pixbuf/pixbuf-document.c:
6833 (pixbuf_document_thumbnails_get_dimensions),
6834 (pixbuf_document_document_thumbnails_iface_init):
6836 implement get_dimensions
6838 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6845 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6847 * shell/ev-view.c: (set_document_page):
6849 Scroll at the top of the page when changing page
6851 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6853 * shell/ev-view.c: (ev_view_motion_notify_event):
6855 Do not redraw unnecessarily
6857 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6859 * pdf/xpdf/pdf-document.cc:
6860 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6861 (expose_bin_window), (find_changed_cb):
6863 Yay! find works now... Now to find bugs...
6865 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6867 * backend/ev-document-find.c: (ev_document_find_base_init),
6868 (ev_document_find_changed):
6869 * backend/ev-document-find.h:
6870 * pdf/xpdf/pdf-document.cc:
6871 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6872 (expose_bin_window), (ev_view_init), (set_document_page),
6873 (ensure_rectangle_is_visible), (jump_to_find_result),
6874 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6875 (ev_view_find_next), (ev_view_find_previous):
6877 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6879 More work on find implementation, mostly there now
6881 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6883 * backend/ev-backend-marshalers.list:
6884 * backend/ev-document-find.c: (ev_document_find_base_init),
6885 (ev_document_find_cancel), (ev_document_find_page_has_results),
6886 (ev_document_find_get_n_results), (ev_document_find_get_result),
6887 (ev_document_find_get_progress), (ev_document_find_changed):
6888 * backend/ev-document-find.h:
6890 Enanche the find interface to be really able to do
6893 * pdf/xpdf/pdf-document.cc:
6897 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6898 (expose_bin_window), (ev_view_init),
6899 (ev_view_get_find_status_message), (find_changed_cb),
6900 (ev_view_set_document), (set_document_page):
6902 Adapt to the new interface. A few things are regressed sorry,
6903 I will finish it soon.
6905 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6907 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6908 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6909 ev_sidebar_thumbnails_parent_class variable, don't define another
6910 parent_class variable.
6912 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6913 (ev_page_action_class_init): ditto.
6915 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6916 (pixbuf_document_class_init): ditto.
6918 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6921 * .cvsignore: ignore various valgrind output files.
6923 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6925 * data/evince-ui.xml:
6926 * shell/Makefile.am:
6927 * shell/ev-history.c:
6928 * shell/ev-history.h:
6929 * shell/ev-navigation-action.c:
6930 * shell/ev-navigation-action.h:
6931 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6932 (ev_view_set_page), (ev_view_fit_width):
6934 * shell/ev-window.c: (update_action_sensitivity),
6935 (ev_window_setup_document), (register_custom_actions):
6937 Kill session history
6939 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6941 * shell/ev-window.c: (update_action_sensitivity):
6943 Fix inverted up/down buttons
6945 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6947 * shell/ev-sidebar-thumbnails.c
6948 (ev_sidebar_thumbnails_select_page): make sure the selected
6949 thumbnail stays visible.
6951 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6953 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6954 scrolled window for Federico.
6956 2005-01-26 Ole Laursen <olau@hardworking.dk>
6958 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6960 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6963 * pdf/splash/SplashFTFontEngine.cc:
6965 Fix CID fonts with freetype 2.1.9
6967 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6969 * TODO: added item for desktop icon thumbnailer
6971 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6973 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6974 unloaded docs when the title is accessed.
6976 * shell/ev-password-view.[hc]: New widget for displaying password
6979 * shell/ev-window.[ch]: Refactor password handling code to handle
6982 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6990 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6992 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6993 ignore page offset here, to make search results independent of it,
6995 * shell/ev-view.c (expose_bin_window): but take offsets into
6996 account here. Bug #164932
6998 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6999 scale at the right time. Bug #164996
7001 2005-01-22 Martin Kretzschmar <martink@gnome.org>
7003 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
7004 fix the problem. Now I just removed the Adobe font names and hope
7005 that the URW fonts are always in outline format. Bug #164934
7007 * shell/ev-window.c (update_window_title): empty titles are
7008 useless, use filename in that case too.
7010 * NEWS: Add some content.
7012 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
7014 * TODO: added one more TODO item and a TODONE section :)
7016 2005-01-21 Martin Kretzschmar <martink@gnome.org>
7018 * ps/ps-document.h: add page_[xy]_offset fields.
7020 * ps/ps-document.c (ps_document_set_page_offset)
7021 (ps_document_render): Keep offset in consideration in a few
7022 places. Bug #164752 "postscript documents are not centered in
7025 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
7026 s/gpdf/evince/. Spotted by Stephane Loeuillet.
7028 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
7029 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
7030 stub out missing methods for complete EvDocument implementation.
7031 Fixes segfaults with Save A Copy and Copy actions.
7033 * ps/ps-document.c (ps_document_save, ps_document_get_text)
7034 (ps_document_document_iface_init): ditto.
7036 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
7040 * data/evince.desktop.in:
7044 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
7046 * shell/ev-view.c: (ev_view_button_press_event),
7047 (ev_view_motion_notify_event):
7049 Make selection work in any direction
7051 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
7054 * shell/ev-window.c: (set_short_labels), (ev_window_init):
7056 Use shorter labels for some of the toolbars items
7058 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
7060 * pdf/xpdf/pdf-document.cc:
7062 Check the links info is initialized before
7063 using it. Should fix a crash on startup.
7065 2005-01-21 Martin Kretzschmar <martink@gnome.org>
7067 * pixbuf/pixbuf-document.c
7068 (pixbuf_document_thumbnails_get_dimensions): force floating point
7069 division to calculate page_ratio. Fixes crash with landscape
7072 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
7074 * shell/ev-view.c (ev_view_realize): make the bg color darker.
7076 2005-01-20 Martin Kretzschmar <martink@gnome.org>
7078 * shell/ev-view.c (set_document_page): unset has_selection when
7080 (set_document_page): handle paper size changes when the page
7081 changes (test with Free Culture, page 2).
7083 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
7085 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
7086 (expose_bin_window), (ev_view_class_init), (ev_view_init):
7088 Use normal style color for the widget background and
7089 draw a black box around the page.
7091 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
7093 * pdf/xpdf/pdf-document.cc:
7095 Keep offset in consideration in a few places
7097 * shell/ev-view.c: (expose_bin_window):
7099 Set the offsets so that the document is ever centered
7101 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
7103 * TODO: Added TODO items and finished off the first todo item
7105 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
7106 reflect current authors
7108 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
7110 * pdf/xpdf/pdf-document.cc:
7111 * shell/ev-view.c: (ev_view_set_cursor),
7112 (ev_view_motion_notify_event), (document_changed_callback),
7113 (set_document_page):
7115 Show a wait cursor while the page is rendering
7117 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
7119 * shell/ev-sidebar-thumbnails.c:
7120 (ev_sidebar_tree_selection_changed),
7121 (ev_sidebar_thumbnails_select_page):
7122 * shell/ev-sidebar-thumbnails.h:
7123 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
7124 (ev_view_can_go_forward):
7125 * shell/ev-window.c: (ev_window_open_page),
7126 (ev_window_setup_document), (update_current_page),
7127 (view_page_changed_cb), (ev_window_init):
7128 * shell/ev-window.h:
7130 Ensure thumbnails selection, toolbar page control and
7131 current page are in sync.
7133 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
7139 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
7141 * backend/Makefile.am:
7142 * backend/ev-document-links.h:
7143 * backend/ev-document-security.c: (ev_document_security_get_type),
7144 (ev_document_security_has_document_security),
7145 (ev_document_security_set_password):
7146 * backend/ev-document-security.h:
7147 * backend/ev-document.c: (ev_document_error_quark):
7148 * backend/ev-document.h:
7150 * data/evince-password.glade:
7151 * pdf/xpdf/pdf-document.cc:
7152 * shell/Makefile.am:
7153 * shell/ev-password.c: (ev_password_set_bad_password_label),
7154 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
7155 (ev_password_dialog_get_password),
7156 (ev_password_dialog_set_bad_pass):
7157 * shell/ev-password.h:
7158 * shell/ev-window.c: (ev_window_get_attribute),
7159 (ev_window_set_property), (update_action_sensitivity),
7160 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
7161 (ev_window_setup_document), (ev_window_get_password),
7162 (ev_window_open), (ev_window_cmd_save_as),
7163 (using_postscript_printer), (ev_window_print),
7164 (find_not_supported_dialog), (ev_window_cmd_edit_find),
7165 (update_fullscreen_popup), (ev_window_fullscreen),
7166 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7167 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
7168 (menu_item_select_cb), (find_bar_search_changed_cb),
7169 (ev_window_dispose), (ev_window_init):
7171 Add initial support for password-supported dialogs. This could be
7172 a lot cooler, but it'll do for now.
7174 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
7176 * pdf/xpdf/pdf-document.cc:
7177 * shell/ev-view.c: (status_message_from_link),
7178 (ev_view_set_status), (ev_view_set_cursor),
7179 (ev_view_motion_notify_event), (ev_view_init):
7180 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
7182 Fix bugs in the links implementation and change cursor
7183 when hovering a link.
7185 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
7187 * viewer/.cvsignore: added cvsignore file for viewer directory
7189 * TODO: created TODO document
7191 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
7194 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
7195 new functions to help with implementation of sensitivity code
7196 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
7197 of all actions that might require it. Fixes a crash when you
7198 click on the Zoom actions in a window lacking a document.
7200 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
7202 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
7205 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
7207 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
7208 (pixbuf_document_document_iface_init):
7209 * ps/ps-document.c: (ps_document_get_link),
7210 (ps_document_document_iface_init):
7211 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
7212 (status_message_from_link), (ev_view_set_status),
7213 (ev_view_set_find_status), (ev_view_motion_notify_event),
7214 (ev_view_button_release_event), (ev_view_set_property),
7215 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
7216 (ev_view_get_find_status_message), (update_find_results),
7217 (ev_view_get_status), (ev_view_get_find_status):
7219 * shell/ev-window.c: (view_status_changed_cb),
7220 (view_find_status_changed_cb), (ev_window_init):
7222 View status message support, use it to show the links.
7225 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
7227 * backend/ev-document.c: (ev_document_get_link):
7228 * backend/ev-document.h:
7229 * pdf/xpdf/pdf-document.cc:
7230 * shell/ev-application.c: (ev_application_open):
7231 * shell/ev-application.h:
7232 * shell/ev-sidebar-links.c: (selection_changed_cb):
7233 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
7234 (ev_view_go_to_link):
7236 Add support for document links
7238 2005-01-13 Anders Carlsson <andersca@gnome.org>
7240 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
7242 Set the spin button limits correctly.
7244 * shell/ev-sidebar-thumbnails.c:
7245 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
7246 Support changing pages by clicking on the thumbnails.
7248 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
7250 * pixbuf/pixbuf-document.c:
7251 (pixbuf_document_thumbnails_get_dimensions),
7252 (pixbuf_document_document_thumbnails_iface_init):
7254 implement get_dimensions
7256 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
7258 * ps/ps-document.c: (ps_document_goto_page):
7260 Fix page switching on multipage documents
7262 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
7264 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
7266 check for NULL before assigning to width and height parameters
7268 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
7270 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
7271 (pixbuf_document_set_property), (pixbuf_document_get_property):
7273 implement get/set properties
7275 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
7277 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
7279 return NULL instead of "Unknown", letting the title get set to
7280 the filename when the pdf has no title.
7282 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
7284 * ps/ps-document.c: (ps_document_get_page_count),
7285 (ps_document_goto_page):
7287 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
7289 * shell/ev-history.c: (ev_history_get_property),
7290 (ev_history_set_property), (ev_history_class_init),
7291 (ev_history_add_page), (ev_history_set_current_index):
7292 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
7293 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
7294 (ev_navigation_action_finalize):
7295 * shell/ev-navigation-action.h:
7296 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
7297 (ev_view_go_forward), (ev_view_get_find_status_message),
7298 (history_index_changed_cb), (ev_view_set_history):
7300 * shell/ev-window.c: (update_total_pages), (ev_window_open),
7301 (update_current_page), (register_custom_actions):
7303 Implement history dropdowns
7305 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
7307 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
7308 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
7309 (ev_view_go_forward):
7310 * shell/ev-window.c: (register_custom_actions):
7312 Fix several history bugs
7314 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
7316 * configure.ac: Add «nb» to ALL_LINGUAS.
7318 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
7320 * backend/Makefile.am:
7321 * backend/ev-bookmark.c:
7322 * backend/ev-bookmark.h:
7323 * backend/ev-document-bookmarks.c:
7324 * backend/ev-document-bookmarks.h:
7325 * backend/ev-document-links.c: (ev_document_links_get_type),
7326 (ev_document_links_has_document_links),
7327 (ev_document_links_begin_read), (ev_document_links_get_link),
7328 (ev_document_links_get_child), (ev_document_links_next),
7329 (ev_document_links_free_iter):
7330 * backend/ev-document-links.h:
7331 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
7332 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
7333 (ev_link_get_link_type), (ev_link_set_link_type),
7334 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
7335 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
7336 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
7337 (ev_link_new_external):
7338 * backend/ev-link.h:
7339 * pdf/xpdf/pdf-document.cc:
7340 * shell/Makefile.am:
7341 * shell/ev-application.c: (ev_application_open_link):
7342 * shell/ev-application.h:
7343 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
7344 (ev_history_get_link_nth):
7345 * shell/ev-history.h:
7346 * shell/ev-sidebar-bookmarks.c:
7347 * shell/ev-sidebar-bookmarks.h:
7348 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
7349 (ev_sidebar_links_class_init), (selection_changed_cb),
7350 (ev_sidebar_links_construct), (ev_sidebar_links_init),
7351 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
7352 (do_one_iteration), (populate_links_idle),
7353 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
7354 * shell/ev-sidebar-links.h:
7355 * shell/ev-sidebar.c: (ev_sidebar_set_document):
7356 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
7359 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
7360 * shell/ev-window.h:
7362 Rename bookmark to link, and use "Index" for the sidebar panel.
7364 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
7366 * shell/Makefile.am:
7367 * shell/ev-application.c: (ev_application_open_bookmark):
7368 * shell/ev-application.h:
7369 * shell/ev-history.c: (ev_history_init), (free_links_list),
7370 (ev_history_finalize), (ev_history_class_init),
7371 (ev_history_add_link), (ev_history_add_page),
7372 (ev_history_get_link_nth), (ev_history_get_n_links),
7373 (ev_history_get_current_index), (ev_history_set_current_index),
7375 * shell/ev-history.h:
7376 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
7377 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
7378 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
7379 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
7382 * shell/ev-window.c: (ev_window_open_bookmark),
7383 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
7384 (goto_page_cb), (register_custom_actions):
7385 * shell/ev-window.h:
7387 Initial history implementation. Needs work.
7389 2005-01-09 Martin Kretzschmar <martink@gnome.org>
7391 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
7393 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
7395 * cut-n-paste/recent-files/egg-recent-item.c:
7396 * cut-n-paste/recent-files/egg-recent-item.h:
7397 * cut-n-paste/recent-files/egg-recent-model.c:
7398 * cut-n-paste/recent-files/egg-recent-util.c:
7399 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
7400 * cut-n-paste/recent-files/egg-recent-view.c:
7404 2005-01-08 Martin Kretzschmar <martink@gnome.org>
7406 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
7407 (fillGlyph, fillImageMask, drawImage):
7408 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
7409 pdf/splash/SplashTypes.h:
7410 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
7411 packed mode for Splash.
7413 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
7414 RGB8 packed mode, eliminates the pixbuf data creation loop.
7416 * shell/ev-print-job.c (ev_print_job_finalize)
7417 (ev_print_job_set_property, ev_print_job_get_property)
7418 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
7419 (ev_print_job_use_print_dialog_settings, idle_print_handler)
7420 (print_closure_finalize, ev_print_job_print): implement
7421 printing (for backends with EvPsExporter)
7423 * shell/ev_print_job.h: update prototypes.
7425 * shell/ev-window.c (ev_window_print): unref print job after
7428 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
7429 unless the document implements the EvDocumentFind interface.
7431 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
7433 * configure.ac: Added ja to ALL_LINGUAS.
7435 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7437 * pdf/xpdf/pdf-document.cc:
7439 add a FIXME. We should probably not allocate
7440 a bookmark object every time
7442 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7444 * shell/ev-application.c: (ev_application_open),
7445 (ev_application_open_bookmark):
7446 * shell/ev-application.h:
7448 Add a way to open bookmarks
7450 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
7451 (ev_bookmark_set_uri), (ev_bookmark_get_property),
7452 (ev_bookmark_set_property), (ev_bookmark_class_init),
7453 (ev_bookmark_new_title), (ev_bookmark_new_link),
7454 (ev_bookmark_new_external):
7456 Support for external uris, better constructors.
7458 * backend/ev-bookmark.h:
7459 * pdf/xpdf/pdf-document.cc:
7460 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
7462 Handle external uris
7464 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7466 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
7467 (ev_sidebar_bookmarks_construct), (do_one_iteration):
7469 Hook up bookmarks navigation
7471 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7473 * backend/Makefile.am:
7474 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
7475 (ev_bookmark_get_title), (ev_bookmark_set_title),
7476 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
7477 (ev_bookmark_get_page), (ev_bookmark_set_page),
7478 (ev_bookmark_get_property), (ev_bookmark_set_property),
7479 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
7481 * backend/ev-bookmark.h:
7482 * backend/ev-document-bookmarks.c:
7483 (ev_document_bookmarks_get_bookmark):
7484 * backend/ev-document-bookmarks.h:
7485 * pdf/xpdf/pdf-document.cc:
7486 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
7488 Add a bookmark object to the backend and use it instead of get_values
7490 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7492 * data/evince-ui.xml:
7494 Cleanup and add select all.
7496 * shell/ev-view.c: (ev_view_select_all),
7497 (ev_view_button_press_event):
7499 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
7502 Clear selection on click.
7504 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
7506 * shell/ev-sidebar-thumbnails.c
7507 (ev_sidebar_thumbnails_set_document): forgot to unref the
7510 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
7512 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
7513 at the visible page, not just linearly. This makes it look fast.
7515 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
7517 * backend/ev-document-misc.c
7518 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
7520 * backend/ev-document-thumbnails.h: New interface to get the size
7523 2005-01-06 Jeremy Katz <katzj@redhat.com>
7525 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
7528 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
7530 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
7531 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
7534 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
7536 2005-01-05 Martin Kretzschmar <martink@gnome.org>
7538 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
7539 fonts. Should fix font problems on systems that have the base
7540 fonts in bitmap format. Reported by James Henstridge
7541 <james@jamesh.id.au>.
7543 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7546 * pdf/xpdf/GfxState.cc:
7548 Fix for CAN-2004-1125
7550 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7552 * shell/ev-view.c: (ev_view_copy):
7554 * shell/ev-window.c: (ev_window_cmd_edit_copy):
7556 Implement Edit->Copy
7558 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7560 * backend/ev-document.c: (ev_document_get_text):
7561 * backend/ev-document.h:
7562 * pdf/xpdf/pdf-document.cc:
7563 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
7564 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
7565 (ev_view_update_primary_selection), (ev_view_button_press_event),
7566 (ev_view_motion_notify_event), (ev_view_button_release_event):
7568 Beginnings of clipboard support. Incomplete but primary sort
7571 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7573 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
7574 (expose_bin_window):
7576 Nicer rubberband drawing, from GtkIconView.
7578 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7580 * backend/ev-document.c: (ev_document_save):
7581 * backend/ev-document.h:
7582 * data/evince-ui.xml:
7583 * pdf/xpdf/pdf-document.cc:
7584 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
7586 Implement "Save a copy..." menu item
7588 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7590 * shell/ev-view.c: (ev_view_zoom):
7592 Queue a resize when zoom changes
7594 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
7596 * backend/ev-document-misc.[ch]: New misc file to do simple drop
7599 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
7602 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
7604 * pdf/xpdf/pdf-document.cc
7605 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
7607 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
7609 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
7610 It's slow, but I'll speed it up next!
7612 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
7614 * shell/main.c (load_files):
7616 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
7617 from the command line and because it seems more appropriate.
7619 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7621 * data/evince-ui.xml:
7622 * shell/ev-window.c: (update_action_sensitivity),
7623 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
7625 s/next page/page down
7626 s/previous page/page up
7628 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7630 * data/evince-ui.xml:
7632 Change the layout to match clarkbw design.
7634 * shell/Makefile.am:
7635 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
7636 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
7637 (ev_navigation_action_finalize),
7638 (ev_navigation_action_set_property),
7639 (ev_navigation_action_get_property),
7640 (ev_navigation_action_class_init):
7641 * shell/ev-navigation-action.h:
7643 Implement clarkbw toolbar navigation controls (incomplete)
7645 * shell/ev-page-action.c: (update_label), (update_spin),
7646 (value_changed_cb), (create_tool_item), (connect_proxy),
7647 (ev_page_action_init), (ev_page_action_finalize),
7648 (ev_page_action_set_property), (ev_page_action_get_property),
7649 (ev_page_action_set_current_page),
7650 (ev_page_action_set_total_pages), (ev_page_action_class_init):
7651 * shell/ev-page-action.h:
7653 Implement a page switcher in the toolbar
7655 * shell/ev-view.c: (ev_view_scroll_view):
7656 * shell/ev-window.c: (update_total_pages), (ev_window_open),
7657 (update_current_page), (view_page_changed_cb), (goto_page_cb),
7658 (register_custom_actions), (ev_window_init):
7660 Change page on PageUp/Down.
7662 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
7664 * pdf/xpdf/pdf-document.cc
7665 (pdf_document_thumbnails_get_thumbnail): initial stab at
7666 implementing thumbnail support for pdfs. It only does documents
7667 with precached pdfs now.
7669 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
7671 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
7672 thumbnail code into a time-based idle as well. Also, turn off the
7673 shadow temporarily as it's really slow.
7675 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7677 * backend/ev-document.c: (ev_document_class_init):
7678 * pdf/xpdf/pdf-document.cc:
7679 * shell/ev-window.c: (ev_window_open):
7681 Fix document title bugs and fallback to
7682 filename when not available.
7684 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7686 * backend/ev-document.c: (ev_document_get_type),
7687 (ev_document_class_init), (ev_document_load),
7688 (ev_document_get_title):
7689 * backend/ev-document.h:
7690 * pdf/xpdf/pdf-document.cc:
7691 * ps/ps-document.c: (ps_document_set_property),
7692 (ps_document_get_property), (ps_document_class_init),
7696 * shell/ev-window.c: (update_window_title), (ev_window_open),
7699 Initial support for document title. Not working yet.
7701 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7703 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7705 Grab focus on the view when clicking it
7707 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7709 * shell/ev-marshal.list:
7710 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7711 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7713 Add key bindings to the view. Now if the focus would work
7716 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7719 * backend/Makefile.am:
7722 * dvi/dvilib/Makefile.am:
7723 * pdf/xpdf/Makefile.am:
7729 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7731 * shell/ev-view.c: (ev_view_realize):
7733 Fix mouse wheel scrolling
7735 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7741 * ps/ps-document.c: (catchPipe), (ps_document_init),
7742 (ps_document_class_init), (ps_document_cleanup),
7743 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7744 (set_up_page), (close_pipe), (is_interpreter_ready),
7745 (interpreter_failed), (output), (input), (start_interpreter),
7746 (stop_interpreter), (file_length), (file_readable),
7747 (check_filecompressed), (check_pdf), (compute_xdpi),
7748 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7749 (ps_document_get_type), (ps_document_emit_error_msg),
7750 (document_load), (ps_document_next_page),
7751 (ps_document_get_current_page), (ps_document_get_page_count),
7752 (ps_document_goto_page), (ps_document_set_page_size),
7753 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7754 (ps_document_load), (ps_document_get_n_pages),
7755 (ps_document_set_page), (ps_document_get_page),
7756 (ps_document_widget_event), (ps_document_set_target),
7757 (ps_document_set_scale), (ps_document_set_page_offset),
7758 (ps_document_get_page_size), (ps_document_render),
7759 (ps_document_document_iface_init):
7762 * shell/ev-window.c: (ev_window_open):
7764 Rename GtkGS to PSDocument
7766 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7768 * ps/gtkgs.c: (gtk_gs_class_init):
7771 Some more leftover...
7773 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7775 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7776 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7777 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7780 Remove unused code and make a lot of stuff private
7782 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7784 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7785 (gtk_gs_defaults_changed):
7791 Cleanup headers dependencies
7793 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7798 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7800 * ps/gtkgs.c: (file_length), (file_readable),
7801 (check_filecompressed), (check_pdf), (gtk_gs_load),
7802 (gtk_gs_get_postscript):
7806 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7811 * ps/gtkgs.c: (gtk_gs_set_zoom):
7815 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7817 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7819 Ensure the page is rerendered when changing zoom
7821 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7823 * backend/ev-document.c: (ev_document_base_init),
7824 (ev_document_changed):
7825 * backend/ev-document.h:
7827 Add a changed event that is emitted when the page content
7828 changes. This is necessary to deal with the fact that
7829 in ps backend rendering happen asycrounously.
7830 This makes the ps backend mostly work.
7832 * pdf/xpdf/pdf-document.cc:
7836 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7837 (ps_document_set_target):
7841 * shell/ev-view.c: (document_changed_callback),
7842 (ev_view_set_document), (ev_view_set_page):
7844 Redraw on the changed signal
7846 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7848 * configure.ac: Added pt_BR to ALL_LINGUAS.
7850 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7852 * backend/ev-document-bookmarks.c:
7853 (ev_document_bookmarks_get_child): *
7854 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7855 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7856 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7857 (ev_sidebar_bookmarks_destroy),
7858 (ev_sidebar_bookmarks_class_init),
7859 (ev_sidebar_bookmarks_construct), (stack_data_free),
7860 (do_one_iteration), (populate_bookmarks_idle),
7861 (ev_sidebar_bookmarks_clear_document),
7862 (ev_sidebar_bookmarks_set_document): *
7863 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7864 (ev_sidebar_add_page),
7865 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7866 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7867 it displays both the topics and the page numbers.
7869 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7871 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7873 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7876 2004-12-23 Adam Weinberger <adamw@gnome.org>
7878 * configure.ac: Added en_CA to ALL_LINGUAS.
7880 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7882 * ChangeLog: replace bottom of this ChangeLog (merged history of
7883 ggv and gpdf; where all paths were wrong and most of the files are
7884 not even in this tree) with ChangeLog (from arch) of the shell
7887 2004-12-23 Havoc Pennington <hp@redhat.com>
7889 * shell/ev-window.c: hook up potentially-questionable "find
7890 results status text" feature - something involving the sidebar or
7891 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7892 might be better in the end.
7894 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7895 with corresponding signal when it should be updated
7897 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7899 2004-12-22 Havoc Pennington <hp@redhat.com>
7901 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7902 find stuff on other pages, sort of (only returns one result on
7903 invisible pages, to show they have results; updates full results
7904 for a page when you view it). Currently repaints the current page
7905 every time a new result is found on any page, which isn't so nice.
7907 2004-12-22 Havoc Pennington <hp@redhat.com>
7909 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7910 the document doesn't support find (better ideas?)
7911 (find_bar_search_changed_cb): handle missing document or document
7912 that doesn't support find
7914 * pdf/xpdf/pdf-document.cc: port to implement the new
7917 * backend/ev-document-find.c: create a new interface for searching
7919 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7921 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7923 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7926 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7927 EvPrintJob constructor arguments.
7929 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7930 for documents that can export PostScript (page by page).
7932 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7934 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7935 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7936 (pdf_document_ps_exporter_iface_init:
7937 Implement EvPSExporter.
7939 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7941 2004-12-22 Anders Carlsson <andersca@gnome.org>
7943 * backend/Makefile.am:
7944 * backend/ev-document-thumbnails.c:
7945 (ev_document_thumbnails_get_type),
7946 (ev_document_thumbnails_get_thumbnail):
7947 * backend/ev-document-thumbnails.h:
7948 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7949 (pixbuf_document_thumbnails_get_thumbnail),
7950 (pixbuf_document_document_thumbnails_iface_init):
7951 * shell/Makefile.am:
7952 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7953 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7954 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7955 * shell/ev-sidebar-thumbnails.h:
7956 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7957 (ev_sidebar_set_document):
7958 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7959 (create_shadow), (ev_pixbuf_add_shadow):
7961 Add thumbnail support.
7963 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7965 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7966 (using_postscript_printer): Set up a print dialog for "PostScript
7969 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7972 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7974 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7976 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7977 (ps_document_set_target), (ps_document_get_page_size),
7978 (ps_document_render):
7983 2004-12-22 Christian Rose <menthos@menthos.com>
7985 * configure.ac: Added "sv" to ALL_LINGUAS.
7987 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7989 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7990 document supports bookmarks.
7992 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7994 * ps/ggvutils.c: (ggv_file_readable):
7996 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7997 (gtk_gs_get_postscript):
8001 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
8003 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
8004 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
8005 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
8006 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
8007 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
8008 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
8009 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
8010 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
8011 (gtk_gs_set_antialiasing), (ps_document_load),
8012 (ps_document_render):
8015 Another check point for the ps backend. Now I can get it to show
8018 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
8020 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
8021 document setting code.
8023 2004-12-22 Anders Carlsson <andersca@gnome.org>
8025 * shell/eggfindbar.c: (entry_activate_callback):
8026 Animate the next button when activate is pressed.
8028 2004-12-22 Anders Carlsson <andersca@gnome.org>
8030 * shell/ev-window.c: (ev_window_cmd_edit_find),
8031 (update_fullscreen_popup), (ev_window_fullscreen),
8032 (ev_window_unfullscreen), (ev_window_state_event_cb),
8033 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
8034 Fix bugs in fullscreen code.
8036 2004-12-22 Anders Carlsson <andersca@gnome.org>
8040 * pixbuf/Makefile.am:
8041 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
8042 (pixbuf_document_load), (pixbuf_document_get_n_pages),
8043 (pixbuf_document_set_page), (pixbuf_document_get_page),
8044 (pixbuf_document_set_target), (pixbuf_document_set_scale),
8045 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
8046 (pixbuf_document_render), (pixbuf_document_begin_find),
8047 (pixbuf_document_end_find), (pixbuf_document_finalize),
8048 (pixbuf_document_class_init),
8049 (pixbuf_document_document_iface_init), (pixbuf_document_init):
8050 * pixbuf/pixbuf-document.h:
8051 * shell/Makefile.am:
8052 * shell/ev-application.c: (ev_application_open):
8053 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
8057 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
8060 * dvi/dvilib/Makefile.am:
8062 * configure.ac: Auto*ify dvi and dvi/dvilib
8064 * dvi/Makefile: Remove from CVS
8066 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
8069 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
8071 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
8073 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
8076 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
8077 (gtk_gs_value_adjustment_changed), (compute_size),
8078 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
8079 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
8080 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
8081 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
8082 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
8083 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
8084 (ps_document_load), (ps_document_get_n_pages),
8085 (ps_document_set_page), (ps_document_get_page),
8086 (ps_document_set_target), (ps_document_set_scale),
8087 (ps_document_set_page_offset), (ps_document_get_page_size),
8088 (ps_document_render), (ps_document_begin_find),
8089 (ps_document_end_find), (ps_document_document_iface_init):
8091 * shell/Makefile.am:
8092 * shell/ev-window.c: (ev_window_open):
8094 Some work to integrate gtkgs with EvDocument
8096 2004-12-22 Anders Carlsson <andersca@gnome.org>
8098 * shell/ev-window.c: (update_fullscreen_popup),
8099 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
8100 (exit_fullscreen_button_clicked_cb),
8101 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
8102 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
8103 (ev_window_state_event_cb), (ev_window_init):
8104 Add fullscreen support from Epiphany.
8106 2004-12-22 Mark McLoughlin <mark@skynet.ie>
8108 * data/ev-stock-zoom-fit-width.png: fit-width
8109 stock icon from gpdf.
8111 * shell/ev-stock-icons.[ch]: copied from gpdf.
8113 * shell/main.c: (main): init stock icons.
8115 * shell/ev-window.c: use the fit-width icon.
8117 * data/evince-ui.xml: add zooming toolbar items.
8119 2004-12-22 Mark McLoughlin <mark@skynet.ie>
8122 (ev_view_best_fit), (ev_view_fit_width): because
8123 get_page_size() returns the scaled page size, we
8124 need to calculate the scale factor relative to
8125 the previous scale factor. Should really just
8126 add get_real_page_size().
8128 2004-12-22 Mark McLoughlin <mark@skynet.ie>
8130 * shell/ev-view.[ch]:
8131 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
8132 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
8135 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
8136 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
8137 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
8140 * pdf/xpdf/pdf-document.cc:
8141 (pdf_document_begin_find),
8142 (pdf_document_end_find): make static.
8144 2004-12-22 Martin Kretzschmar <martink@gnome.org>
8146 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
8148 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
8149 names to fontconfig patterns.
8150 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
8152 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
8155 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
8171 Import ggv backend. Not hooked up yet.
8173 2004-12-22 Mark McLoughlin <mark@skynet.ie>
8175 * shell/main.c: (load_files), (main): load files
8176 from the command line.
8178 2004-12-22 Mark McLoughlin <mark@skynet.ie>
8180 * configure.ac: don't require bonobo.
8182 * cut-n-paste/recent-files/*: kill bonobo recent
8185 * shell/ev-window.c:
8186 (ev_window_is_empty): upd.
8187 (unable_to_load), (ev_window_open): load backend
8188 based on the mime type.
8190 2004-12-22 Martin Kretzschmar <martink@gnome.org>
8192 * backend/.cvsignore: ignore generated marshalers source.
8194 * shell/main.c (main): this is not epiphany.
8196 2004-12-22 Havoc Pennington <hp@redhat.com>
8198 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
8199 (expose_bin_window): draw find highlights
8201 * shell/ev-window.c (find_bar_search_changed_cb): implement
8203 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
8204 (pdf_document_end_find): implement this interface
8206 * backend/ev-document.c (ev_document_found): add this to emit
8209 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
8211 * data/evince-ui.xml: Add a few more toolbar items.
8213 * shell/ev-window.c: Hook up page navigation toolbar
8216 * shell/ev-view.[ch]: add ev_view_set/get_page and
8217 a page-changed signal.
8219 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
8220 Add ev_document_get_page().
8222 * shell/ev-window.c: Sensitize/desensitize navigation
8225 2004-12-21 Havoc Pennington <hp@redhat.com>
8227 * backend/ev-backend-marshal.c,
8228 backend/ev-backend-marshalers.list, backend/Makefile.am: add
8229 marshaler-generator thingy. I'm sure there's a better way to do
8230 this in the modern world.
8232 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
8233 end_find methods and "found" signal.
8235 * configure.ac: find glib-genmarshal
8237 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
8239 * shell/ev-sidebar.c: Construct an actual sidebar.
8240 * shell/ev-sidebar-bookmarks.[ch]:
8241 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
8243 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
8245 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
8248 * shell/ev-view.c: Track the size from the document.
8250 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
8252 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
8253 constructor assumes ownership of the string passed in.
8255 * shell/ev-window.c (ev_window_open): Destroy the error
8256 dialog once we've displayed it.
8258 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
8260 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
8261 a bit, it works! (sort of)
8263 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
8264 Move to .cc since we need to use C++ in the implementation.
8266 * shell/dummy.cc: Add a CC file to force evince
8267 to be linked as a C++ program.
8269 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
8271 * shell/ev-view.[ch]: Start of content-area widget.
8273 * shell/ev-window.c: Create a EvView, update it
8274 as we change documents.
8276 * shell/Makefile.am shell/ev-marshal.list: Add
8277 generated marshalers.
8279 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
8281 * Makefile.am (SUBDIRS): move shell.
8283 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
8285 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
8286 .a to libtool convenience libraries.
8288 * shell/ev-window.c (ev_window_open): Hard code loading
8291 * backend/ev-document.h: Add a boolean return to load(),
8292 fix GError * to GError **.
8294 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
8295 object for a PDF backend EvDocument.
8297 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
8299 * dvi/*: New directory with the beginning of a .dvi backend.
8301 2004-12-21 Havoc Pennington <hp@redhat.com>
8303 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
8304 previous/next instead of back/forward
8306 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
8308 * backend/ev-document.[ch]: Fix a couple of problems so
8311 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
8313 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
8314 to backend/ directory, rename EvViewer to EvDocument.
8316 2004-12-21 Havoc Pennington <hp@redhat.com>
8318 * shell/ev-window.c: hook up the find bar widget; now we just need
8319 a document to find things in
8321 * shell/eggfindbar.c: a find bar widget
8323 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
8325 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
8327 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
8329 * pdf/**: Import of xpdf code from gpdf.
8331 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
8333 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
8334 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
8335 Fix FreeType includes.
8337 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
8338 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
8339 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
8340 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
8341 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
8342 Include xpdfconfig.h
8344 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
8346 * shell/ev-window.c (ev_window_dispose): dispose can be called
8349 2004-12-21 Havoc Pennington <hp@redhat.com>
8351 * shell/ev-window.c (ev_window_init): set title to Document Viewer
8354 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
8355 items; really they should be synced with the strings, etc. from
8356 current gpdf, but just getting the boring typing out of the way
8358 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
8361 * shell/ev-application.c: (window_destroy_cb):
8362 * shell/ev-window.c:
8363 * shell/main.c: (main):
8365 Actually show the window...
8367 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
8370 * shell/Makefile.am:
8371 * shell/ev-application.c: (ev_application_class_init):
8372 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
8376 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
8378 Import to gnome cvs.
8380 * Remove copies of gpdf and ggv trees.
8381 * Rip out all the recursive configure code.
8382 * Remove bonobo machinery.
8383 * viewer/*: GInterfaces that backends should/can implement.
8385 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
8387 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
8390 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
8392 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
8393 (ev_application_finalize, ev_application_class_init)
8394 (ev_application_init): use GType instance private data for priv.
8396 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
8397 (ev_window_finalize, ev_window_class_init)
8398 (ev_window_init): ditto.
8400 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
8402 * shell/ev-application.c (ev_application_new_window): make public
8403 (ev_application_show_initial_window): kill.
8405 * shell/ev-application.h: update prototypes.
8407 * shell/main.cc (main): inline ev_application_show_initial_window.
8409 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
8411 * shell/ev-application.c (ev_application_new_window): impl.
8412 (ev_application_show_initial_window): use it.
8413 (is_window_empty, ev_application_get_empty_window): returns an
8414 existing empty window or a new one.
8415 (ev_application_open): from ev_window_cmd_file_open.
8417 * shell/ev-application.h: update prototypes
8419 * shell/ev-window.c (ev_window_is_empty): impl.
8420 (ev_window_open): make public.
8421 (ev_window_cmd_file_open): use ev_application_open
8423 * shell/ev-window.h: update prototypes, remove unused.
8425 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
8427 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
8428 move destroy handler out of here...
8430 * shell/ev-application.c, shell/ev-application.h: ...into this new
8431 class. Also handles initial window creation.
8433 * shell/main.cc (main): use EvApplication to create initial
8436 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
8438 * Makefile.am (SUBDIRS): add cut-n-paste
8440 * cut-n-paste/Makefile.am: add
8442 * configure.ac: generate Makefiles in cut-n-paste
8444 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
8446 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
8447 (ev_window_class_init): install ev_window_dispose.
8449 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
8451 * shell/ev-window.h, shell/ev-window.c: replace gchar with
8452 char (gchar looks stupid).
8454 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
8456 * po/de.po: updated German translation.
8458 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
8460 * configure.ac: add more pkg-config library checks for gnome-vfs,
8463 * gpdf/configure.in: temporarily disable libpaper
8464 checks. Otherwise I'd have to add the checks for the shell, too.
8466 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8468 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
8469 and * file filters to the file choose.
8471 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8473 * po/de.po: Updated German translation.
8475 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8477 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
8479 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8481 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
8483 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
8484 (ev_window_init): implement those menuitems.
8486 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8488 * data/evince-ui.xml: add a toolbar (with FileOpen action)
8490 * shell/ev-window.c (ev_window_init): use the toolbar.
8492 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8494 * shell/ev-window.c (ev_window_init): use menu translations
8496 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8498 * configure.ac: add "de" to ALL_LINGUAS.
8500 * po/de.po: add German translation.
8502 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8504 * Makefile.am (SUBDIRS): add po
8506 * configure.ac: check intltool, glib-gettext etc, generate
8509 * po, po/POTFILES.in, po/POTFILES.skip: new.
8511 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8513 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
8514 already use (#ifdef ENABLE_NLS)
8516 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
8517 pointer indirection thinko.
8519 * shell/main.c: include gi18n.h for bindtextdomain etc.
8521 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8523 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
8524 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
8525 tooltips for menu items in the statusbar.
8527 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8529 * configure.ac, data/Makefile.am, shell/Makefile.am: use
8530 pkgdatadir drop UIDIR
8532 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8534 * data/evince-ui.xml: Add File->Open menu item
8536 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
8537 chooser), hook it up in the ui manager.
8539 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8541 * shell/ev-window.c: fix Help->About tooltip.
8543 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8545 * configure.ac: set CFLAGS for libevprivate.
8547 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
8548 definitions, factory etc.
8550 * lib/Makefile.am: build libevprivate.a (only stock icon code).
8552 * shell/Makefile.am: link against libevprivate.a.
8554 * shell/ev-window.c (entries): add stock icon to Help->About.
8556 * shell/main.c (main): init stock icon code.
8558 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8560 * lib/recent-files: egg recent files code
8562 * lib/Makefile.am: add.
8564 * Makefile.am: add lib subdir.
8566 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
8567 set CFLAGS for recent-files.
8569 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8571 * configure.ac: disable -ansi and -pedantic gcc flags. They
8572 disable POSIX stuff in stdio.h, but egg-recent uses them.
8574 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8576 * configure.ac: add --disable-deprecated flag (defaults to on in
8579 * shell/Makefile.am (INCLUDES): use it.
8581 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8583 * shell/main.c: add missing #include.
8585 * shell/ev-window.c: fix for pedantic gcc.
8586 (ev_window_cmd_help_about): split license into paragraphs for
8587 translators and pedantic compilers.
8589 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8591 * configure.ac: add more warning flags if compiling with gcc from
8592 cvs (or explicitly requested with --enable-more-warnings).
8594 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8596 * data/evince-ui.xml: add File and File->Close menu.
8598 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
8599 (ev_window_destroy): quit after destroy.
8600 (ev_window_class_init): override GtkObject::destroy.
8601 (entries): install close_window callback.
8603 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8605 * Makefile.am (SUBDIRS): add data subdir.
8607 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
8608 gtk+ 2.5.0 for GtkAboutDialog.
8610 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
8613 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
8615 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
8617 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
8619 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8621 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
8623 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8625 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
8627 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8629 * shell/*: Added shell directory boilerplate, build it.
8631 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8633 * configure.ac, Makefile.am: Added top-level configure.ac and