1 2006-03-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-view.c: (ev_view_scroll):
5 Fix for the bug #334854, page down and page up switch
6 pages in presentation mode.
8 2006-03-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
10 * shell/ev-window.c: (ev_window_set_action_sensitive),
11 (ev_window_setup_action_sensitivity), (ev_window_update_actions),
12 (ev_window_set_view_accels_sensitivity),
13 (update_chrome_visibility), (ev_window_cmd_focus_page_selector),
14 (ev_window_cmd_continuous), (ev_window_cmd_dual),
15 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
16 (find_changed_cb), (page_changed_cb), (ev_window_setup_document),
17 (ev_window_cmd_edit_find), (ev_window_set_page_mode),
18 (ev_window_cmd_edit_toolbar_cb), (ev_window_zoom_changed_cb),
19 (ev_window_has_selection_changed_cb), (find_bar_search_changed_cb),
20 (view_actions_focus_in_cb), (ev_window_init):
22 Fix for the bug #333902, now it's possible to search
25 2006-03-16 Jérémy Ar Floc'h <jérémy.lefloch@gmail.com>
27 * configure.ac: Added Breton translation.
28 * po/br.po: Added Breton translation.
30 2006-03-14 Carlos Garcia Campos <carlosgc@gnome.org>
32 * shell/ev-window-title (ev_window_title_update):
34 Fix memory leak in window title. Fixes bug #333944
36 2006-03-14 Carlos Garcia Campos <carlosgc@gnome.org>
38 * shell/ev-metadata-manager.c (parseItem):
40 Fix memory leaks. Fixes bug #333945
42 2006-03-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
44 * NEWS, configure.ac, TODO:
46 Update for release 0.5.2.
48 2006-03-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
50 * shell/ev-view.c: (view_update_range_and_current_page),
53 Don't jump on scrolling, fix for the bug #333127.
55 2006-03-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
57 * shell/ev-view.c: (ev_view_next_page), (ev_view_previous_page):
59 Scroll by one page in presentation mode. Fix for the bug
62 2006-03-01 Vladimer SIchinava <vlsichinava@gmail.com>
64 * configure.ac: Added ka (Georgian) to ALL_LINGUAS line.
66 2006-02-28 Clytie Siddall <clytie@riverland.net.au>
68 * configure.ac Added lv in ALL_LINGUAS line.
70 2006-02-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
74 Update for release 0.5.1
76 2006-02-24 Ricardo Markiewicz <rmarkie@fi.uba.ar>
78 * backend/ev-document-misc.c: (ev_document_misc_paint_one_page):
79 * backend/ev-document-misc.h:
80 * shell/ev-view.c: (draw_one_page):
82 Clairfy what page the toolbar page number applies to. Fix
85 2006-02-24 Stanislav Slusny <slusnys@gmail.com>
87 * shell/ev-view-private.h:
88 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_event),
89 (ev_view_init), (find_changed_cb), (ev_view_find_previous),
90 (ev_view_search_changed):
92 * shell/ev-window.c: (find_bar_search_changed_cb):
94 Dont't jump to find result if window was scrolled during search.
95 Fix for the bug #313266.
97 2006-02-21 Stanislav Slusny <slusnys@gmail.com>
99 * shell/eggfindbar.c: (egg_find_bar_class_init):
100 * shell/eggfindbar.h:
101 * shell/ev-view-accessible.c: (ev_view_accessible_idle_do_action):
102 * shell/ev-view-private.h:
103 * shell/ev-view.c: (add_scroll_binding_keypad), (ev_view_scroll),
104 (ev_view_class_init), (ev_sizing_mode_get_type),
105 (ev_scroll_type_get_type):
107 * shell/ev-window.c: (ev_window_cmd_scroll_forward),
108 (ev_window_cmd_scroll_backward), (find_bar_scroll),
111 Fix for the bug 319133 - Find entry should allow text scroll.
113 2006-02-20 Antoine Dopffer <antoine.dopffer@free.fr>
115 * shell/ev-view-private.h:
116 * shell/ev-view.c: (view_update_range_and_current_page),
117 (highlight_find_results), (find_changed_cb), (page_changed_cb),
118 (ev_view_set_document), (update_find_status_message),
119 (jump_to_find_result), (jump_to_find_page), (ev_view_find_next),
120 (ev_view_find_previous):
122 Fix for the bug #319137. Search now takes account for scrolling.
124 2006-02-19 Michael Hofmann <mh21@piware.de>
128 * djvu/djvu-document-private.h:
129 * djvu/djvu-document.c: (G_DEFINE_TYPE_WITH_CODE),
130 (djvu_handle_events), (djvu_document_load), (djvu_document_save),
131 (djvu_document_get_page_size), (djvu_document_render_pixbuf),
132 (djvu_document_can_get_text), (djvu_document_get_text),
133 (djvu_document_document_iface_init),
134 (djvu_document_thumbnails_get_thumbnail),
135 (djvu_document_find_begin), (djvu_document_find_get_n_results),
136 (djvu_document_find_get_result),
137 (djvu_document_find_page_has_results),
138 (djvu_document_find_get_progress), (djvu_document_find_cancel),
139 (djvu_document_find_iface_init):
140 * djvu/djvu-text-page.c: (djvu_text_page_selection_process),
141 (djvu_text_page_selection), (djvu_text_page_limits_process),
142 (djvu_text_page_limits), (djvu_text_page_copy),
143 (djvu_text_page_position), (djvu_text_page_union),
144 (djvu_text_page_sexpr_process), (djvu_text_page_sexpr),
145 (djvu_text_page_box), (djvu_text_page_append_text),
146 (djvu_text_page_search), (djvu_text_page_prepare_search),
147 (djvu_text_page_new), (djvu_text_page_free):
148 * djvu/djvu-text-page.h:
149 * djvu/djvu-text.c: (djvu_text_idle_callback), (djvu_text_new),
150 (djvu_text_copy), (djvu_text_free), (djvu_text_get_text),
151 (djvu_text_n_results), (djvu_text_has_results),
152 (djvu_text_get_result), (djvu_text_get_progress):
155 Text search in djvu. Fix for the bug #303415.
157 2006-02-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
160 * shell/ev-window.c: (ev_window_cmd_save_as):
162 Ask filechooser to confirm overwrite. Fix for the bug #328266.
163 Thanks to Gary Coady <gary@lyranthe.org>
165 2006-02-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
167 * shell/ev-print-job.c: (idle_print_handler):
169 Inverse order printing, bug #320919.
171 2006-02-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
173 * data/evince-toolbar.xml:
176 Allow to add sidebar checkbutton on toolbar. Fix
179 2006-02-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
181 * ps/ps-document.c: (push_pixbuf), (setup_pixmap):
183 Add checks that have sense for empty ps document.
185 2006-02-15 Luca Ferretti <elle.uca@libero.it>
187 * configure.ac: Include PS in mime types list.
189 2006-02-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
192 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
194 * ps/ps-document.c: (start_interpreter), (ps_document_load):
196 Runtime check for gs interpreter. Fix for the bug #320868.
197 Thanks to Antoine Dopffer antoine.dopffer@free.fr
199 2006-02-12 Carlos Garcia Campos <carlosgc@gnome.org>
201 * shell/ev-application.c:
203 Use DBUS_NAME_FLAG_DO_NOT_QUEUE flag in RequestName method when
204 dbus>=0.60, so that the request is not queued.
206 2006-02-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
210 * shell/ev-sidebar-links.c: (print_section_cb):
213 * shell/ev-window.c: (update_action_sensitivity),
214 (ev_window_close_dialogs), (ev_window_print):
217 Make printing support optional. Patch from Eduardo de Barros Lima
218 <eduardo.lima@indt.org.br> for the bug #330546.
220 2006-02-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
222 * shell/ev-view-private.h:
223 * shell/ev-view.c: (ev_view_expose_event), (ev_view_set_loading),
224 (ev_view_set_document):
226 * shell/ev-window.c: (ev_window_load_job_cb),
227 (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_dispose),
230 Draw Loading message during xfer job. Fix for the bug #329495.
232 2006-02-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
234 * comics/comics-document.c: (comics_regex_quote),
235 (comics_document_load), (extract_argv):
237 Correcly quote regexp before passing it to unzip.
239 2006-02-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
241 * shell/ev-page-cache.c: (build_height_to_page),
242 (ev_page_cache_new), (ev_page_cache_get_max_label_chars),
243 (ev_page_cache_get_dual_even_left):
244 * shell/ev-page-cache.h:
245 * shell/ev-view.c: (view_update_range_and_current_page),
246 (get_page_y_offset), (get_page_extents):
248 Place even pages to the left if document has less then
249 two pages. Fix for the bug #328856.
251 2006-01-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
253 * thumbnailer/evince-thumbnailer-comics.schemas.in:
255 Correct comics scheme. This make evince create thumbnails
256 for comic books. Fix for the bug 329088.
258 2006-01-31 Christopher Aillon <caillon@redhat.com>
260 * data/evince-password.glade: Don't explicitly set
261 invisible_char to the current default value in case
262 the default changes; let GTK+ do its magic.
264 2006-01-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
266 * shell/ev-job-xfer.c: (ev_job_xfer_run): Append
267 real filename to tmp filename since often document
268 type is determined by extension.
270 2006-01-24 Ricardo Markiewicz <rmarkie@fi.uba.ar>
272 * shell/ev-view.c: (add_scroll_binding_keypad),
273 (ev_view_binding_activated), (ev_view_class_init):
275 Add keybindings for percision-scrolling of display area.
276 Fix for the bug #314072.
278 2006-01-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
280 * data/evince.desktop.in.in:
282 Add GTK to the list of categories. Fix for the bug #328034.
284 2006-01-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
286 * shell/ev-application.c: (ev_application_shutdown),
287 (ev_application_set_chooser_uri), (ev_application_get_chooser_uri):
288 * shell/ev-application.h:
289 * shell/ev-window.c: (file_open_dialog_response_cb),
290 (ev_window_cmd_file_open):
292 Save last uri in file chooser dialog. Fix for the bug #327950.
294 2006-01-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
299 Final update for release 0.5.0
303 Remove disable deprecated until we'll require libgnome-2.13.7
304 and port to GOption argument parsing. See bug 327518.
306 2006-01-19 Jani Monoses <jani.monoses@gmail.com>
308 * comics/comics-document.c: (comics_document_save):
309 * djvu/djvu-document.c: (djvu_document_save):
310 * dvi/dvi-document.c: (dvi_document_save):
311 * lib/ev-file-helpers.c: (ev_tmp_filename), (ev_xfer_uri_simple):
312 * lib/ev-file-helpers.h:
313 * pixbuf/pixbuf-document.c: (pixbuf_document_save):
314 * tiff/tiff-document.c: (tiff_document_save):
316 Use common save function for backends.
318 2006-01-18 Jani Monoses <jani.monoses@gmail.com>
320 * backend/ev-document-types.c:
322 Fix crash on saving pixbuf.
324 2006-01-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
326 * cut-n-paste/recent-files/egg-recent-item.c:
327 (get_uri_shortname_for_display), (egg_recent_item_get_short_name):
328 * cut-n-paste/recent-files/egg-recent-model.c: (parse_info_init),
329 (parse_info_free), (valid_element), (start_element_handler),
330 (end_element_handler), (text_handler), (egg_recent_model_filter),
331 (egg_recent_model_monitor_cb), (egg_recent_model_poll_timeout),
332 (egg_recent_model_monitor), (egg_recent_model_read),
333 (egg_recent_model_open_file), (egg_recent_model_lock_file),
334 (egg_recent_model_unlock_file), (egg_recent_model_finalize),
335 (egg_recent_model_set_property), (egg_recent_model_class_init),
336 (egg_recent_model_init), (egg_recent_model_add_full),
337 (egg_recent_model_delete), (egg_recent_model_get_list),
338 (egg_recent_model_clear), (egg_recent_model_clear_mime_filter),
339 (egg_recent_model_set_filter_mime_types),
340 (egg_recent_model_clear_group_filter),
341 (egg_recent_model_set_filter_groups),
342 (egg_recent_model_clear_scheme_filter),
343 (egg_recent_model_set_filter_uri_schemes),
344 (egg_recent_model_remove_expired):
345 * cut-n-paste/recent-files/egg-recent-util.c:
346 (egg_recent_util_get_icon):
347 * cut-n-paste/recent-files/egg-recent-util.h:
348 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
349 (connect_proxy_cb), (egg_recent_view_uimanager_set_list),
350 (egg_recent_view_uimanager_set_empty_list), (model_changed_cb),
351 (egg_recent_view_uimanager_set_property),
352 (egg_recent_view_uimanager_get_property),
353 (egg_recent_view_uimanager_class_init),
354 (egg_recent_view_uimanager_init),
355 (egg_recent_view_uimanager_set_label_width),
356 (egg_recent_view_uimanager_get_label_width):
357 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
358 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
359 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
360 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
361 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
362 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
366 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
368 * shell/ev-page-cache.c: (build_height_to_page),
369 (ev_page_cache_get_height_to_page):
370 * shell/ev-page-cache.h:
371 * shell/ev-view.c: (view_update_range_and_current_page),
372 (get_page_y_offset), (get_page_extents), (ev_view_next_page),
373 (ev_view_previous_page):
375 Dual mode places even pages to the left. Fix for the bug #309393.
378 * shell/ev-window.c: (update_action_sensitivity),
379 (setup_view_from_metadata), (view_menu_popup_cb):
381 Don't restore presentation in empty windows, more intelligent
382 next page behaviour in dual mode.
384 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
385 (ev_pixbuf_cache_clear_job_sizes):
387 Cleanup job callback on removal. Fix for the bug #325886.
389 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
393 Commit workaround Mozilla problem. Fix for the bug #325919
395 * shell/ev-metadata-manager.c: (parse_value), (parseItem),
398 Fix for year 2038 problem.
400 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
402 * shell/ev-window.c: (setup_document_from_metadata),
403 (ev_window_cmd_view_reload):
405 Clamp page recieved from metadata in valid values. Fix
408 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
411 Add MAINTAINERS as requested on desktop-devel-list.
413 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
415 * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
416 (mime_type_supported_by_gdk_pixbuf),
417 (ev_document_factory_get_mime_types),
418 (ev_document_factory_get_all_mime_types):
420 Don't add pixbuf mime types if pixbuf backend is disabled.
422 * shell/ev-application.c: (ev_application_get_uri_window):
424 Fix for the bug 325815 - unhandled MIME type message doesn't
425 appear a second time.
427 * shell/ev-document-types.c: (ev_document_types_add_filters):
428 * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
429 (password_dialog_response), (ev_window_popup_password_dialog),
430 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
431 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
432 (ev_window_run_presentation), (ev_window_stop_presentation),
433 (save_sizing_mode), (ev_window_zoom_changed_cb),
434 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
435 (ev_window_dual_mode_changed_cb),
436 (ev_window_sidebar_current_page_changed_cb),
437 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
438 (window_state_event_cb), (window_configure_event_cb):
440 Cleanup additional uris holded by EvWindow.
442 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
444 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
445 (ev_view_can_previous_page), (ev_view_can_next_page):
447 * shell/ev-window.c: (update_action_sensitivity):
449 Two page scrolling with Space and PageUp in dual mode. Second fix
452 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
454 * shell/ev-view.c: (scroll_to_current_page):
456 Correctly clamp adjustment value. Fix for the bug
459 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
461 * shell/ev-sidebar-links.c: (print_section_cb):
462 * shell/ev-window.c: (ev_window_get_uri),
463 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
464 (ev_window_print_dialog_response_cb), (ev_window_print_range),
467 Make print dialog non-modal. Fix for the bug #325622.
469 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
471 * shell/ev-metadata-manager.c:
472 * shell/ev-utils.c: (using_pdf_printer),
473 (using_postscript_printer), (load_print_config_from_file),
474 (save_print_config_to_file):
476 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
477 (update_sidebar_visibility), (setup_sidebar_from_metadata),
478 (setup_view_from_metadata), (ev_window_setup_document),
479 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
480 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
481 (ev_window_run_presentation), (ev_window_stop_presentation),
482 (save_sizing_mode), (ev_window_zoom_changed_cb),
483 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
484 (ev_window_dual_mode_changed_cb),
485 (ev_window_sidebar_current_page_changed_cb),
486 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
487 (window_state_event_cb), (window_configure_event_cb),
490 Setting saving behaviour fixes.
492 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
496 Make antialiasing gs options better and allow
497 to change them during configure. Fix for the
500 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
502 * shell/ev-window.c: (setup_view_from_metadata):
504 Remember if last window was maximized. Fix for the
507 2005-12-28 Abel Cheung <maddog@linuxhall.org>
509 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
511 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
513 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
514 * shell/ev-page-action.c: (build_new_tree_cb):
515 * shell/ev-sidebar-links.c: (links_page_num_func),
516 (update_page_callback_foreach), (update_page_callback):
517 * shell/ev-view.c: (scroll_to_current_page):
519 Fix for the bug #325067 with more intelligent selection
520 of current link in sidebar. Make sidebar handle links
521 of FITR-like type more correctly.
523 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
524 (dvi_pixbuf_put_pixel):
526 Fix memory consumtion with disabled alpha channel.
528 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
530 * data/evince-ui.xml:
531 * shell/ev-window.c: (view_menu_popup_cb),
532 (ev_popup_cmd_open_link), (ev_window_init):
534 Update context menu for internal links. Fix for the bug
537 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
539 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
541 Bind context menu to keyboard also. Fix for the bug
544 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
546 * shell/ev-view.c: (selection_scroll_timeout_cb):
548 Horizontal scroll on selection also.
550 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
552 * shell/ev-metadata-manager.c: (parse_value):
553 * shell/ev-view.c: (goto_xyz_link):
555 Correct zoom setup and metadata save broken in
558 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
560 * shell/ev-view-private.h:
561 * shell/ev-view.c: (scroll_to_current_page),
562 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
563 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
564 (page_changed_cb), (ev_view_set_continuous),
565 (ev_view_set_dual_page), (ev_view_set_presentation):
567 Delay scroll until allocation to correctly position page. Fix
570 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
575 Update NEWS and require poppler 0.5.0.
577 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
579 * data/evince-ui.xml:
580 * shell/ev-view-private.h:
581 * shell/ev-view.c: (ev_view_get_link_at_location),
582 (handle_link_over_xy), (ev_view_button_press_event),
583 (ev_view_button_release_event), (ev_view_class_init):
584 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
585 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
588 Implement right-click context menu.
590 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
592 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
593 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
594 (mdvi_pixbuf_device_render):
597 Don't generate thumbnails with alpha. See bug #324077.
598 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
600 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
602 * shell/ev-window.c: (setup_chrome_from_metadata):
604 Fix typo that was hiding toolbar.
606 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
608 * shell/ev-view-private.h:
609 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
610 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
611 (ev_view_button_release_event), (ev_view_destroy):
613 Small cleanup and autoscrolling during selection. Thanks to
614 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
616 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
620 Correctly check for comics option.
622 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
625 * backend/Makefile.am:
626 * backend/ev-document-factory.c:
627 * shell/ev-document-types.c:
629 Included option in configure to make ps backend
630 compilation optional with --disable-ps.
632 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
634 * backend/ev-document-factory.c:
635 * comics/Makefile.am:
636 * comics/comics-document.c: (comics_document_load):
637 * comics/ev-cbr-mime.xml:
640 Comics mime types are added to shared-mime-info CVS. Now
641 we don't need to install our own mime types.
643 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
647 Add shortcut for "save a copy" menu entry. Fix for
650 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
652 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
653 (job_finished_cb), (new_selection_pixbuf_needed),
654 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
655 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
657 Rework selection job info logic and fix critical warning.
659 2005-12-17 Abel Cheung <maddog@linuxhall.org>
661 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
663 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
665 * data/evince-ui.xml:
666 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
668 Enter as shortcut key for next page. Fix for the bug
671 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
673 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
675 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
677 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
678 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
679 (new_selection_pixbuf_needed),
680 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
681 (clear_job_selection):
683 Too early for 0.5. Pixbuf cache code cleaned a bit.
685 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
690 Release 0.5.0 preparation
692 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
694 * comics/Makefile.am:
696 * shell/ev-document-types.c: (ev_document_types_add_filters):
698 More advanced handling of custom mime type installation.
700 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
702 * data/evince.schemas.in:
703 * shell/ev-metadata-manager.c: (value_free),
704 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
705 (ev_metadata_manager_get), (ev_metadata_manager_set):
706 * shell/ev-metadata-manager.h:
707 * shell/ev-window.c: (update_chrome_flag),
708 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
709 (setup_document_from_metadata), (setup_chrome_from_metadata),
710 (setup_sidebar_from_metadata), (setup_view_from_metadata),
711 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
712 (ev_window_view_toolbar_cb),
713 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
714 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
716 Save last document settings and reuse them for new documents.
718 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
721 * backend/Makefile.am:
722 * backend/ev-document-factory.c:
723 * backend/ev-document-factory.h:
724 * comics/Makefile.am:
725 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
726 (comics_document_load), (comics_document_save),
727 (comics_document_get_n_pages), (comics_document_get_page_size),
728 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
729 (comics_document_class_init), (comics_document_can_get_text),
730 (comics_document_get_info), (comics_document_document_iface_init),
731 (comics_document_init), (get_supported_image_extensions),
732 (comics_document_thumbnails_get_geometry),
733 (comics_document_thumbnails_get_thumbnail),
734 (comics_document_thumbnails_get_dimensions),
735 (comics_document_document_thumbnails_iface_init), (extract_argv):
736 * comics/comics-document.h:
737 * comics/ev-cbr-mime.xml:
740 * shell/ev-application.c: (ev_application_register_service):
741 * shell/ev-document-types.c: (ev_document_types_add_filters):
742 * thumbnailer/Makefile.am:
743 * thumbnailer/evince-thumbnailer-comics.schemas.in:
745 New CBR/CBZ backend for comic books.
747 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
749 * shell/main.c: (load_files_remote):
751 Thanks to Robert McQueen <robot101@debian.org>. Dbus
752 warning on startup of second instance is fixed. It
755 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
757 * shell/ev-window.c: (ev_window_finalize):
759 Fix double free that cause crash.
761 2005-10-29 Bastien Nocera <hadess@hadess.net>
763 * tiff/tiff-document.c: (tiff_document_load):
767 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
771 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
772 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
773 (ev_view_accessible_get_text),
774 (ev_view_accessible_get_character_at_offset),
775 (ev_view_accessible_get_text_before_offset),
776 (ev_view_accessible_get_text_at_offset),
777 (ev_view_accessible_get_text_after_offset),
778 (ev_view_accessible_get_character_count),
779 (ev_view_accessible_get_caret_offset),
780 (ev_view_accessible_set_caret_offset),
781 (ev_view_accessible_get_run_attributes),
782 (ev_view_accessible_get_default_attributes),
783 (ev_view_accessible_get_character_extents),
784 (ev_view_accessible_get_offset_at_point),
785 (ev_view_accessible_get_n_selections),
786 (ev_view_accessible_get_selection),
787 (ev_view_accessible_add_selection),
788 (ev_view_accessible_remove_selection),
789 (ev_view_accessible_set_selection),
790 (ev_view_accessible_text_iface_init),
791 (ev_view_accessible_idle_do_action),
792 (ev_view_accessible_action_do_action),
793 (ev_view_accessible_action_get_n_actions),
794 (ev_view_accessible_action_get_description),
795 (ev_view_accessible_action_get_name),
796 (ev_view_accessible_action_set_description),
797 (ev_view_accessible_action_iface_init),
798 (ev_view_accessible_get_type), (ev_view_accessible_new),
799 (ev_view_accessible_factory_get_accessible_type),
800 (ev_view_accessible_factory_create_accessible),
801 (ev_view_accessible_factory_class_init),
802 (ev_view_accessible_factory_get_type):
803 * shell/ev-view-accessible.h:
804 * shell/ev-view-private.h:
805 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
808 Initial accessibility support.
810 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
812 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
814 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
816 * shell/ev-print-job.c: (idle_print_handler):
818 Fix for bug Bug 318916: Printing multiple pages.
820 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
822 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
824 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
828 Thumnail dimensions unified with other backends.
830 * shell/ev-window-title.c: (ev_window_title_update):
834 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
836 * data/ev-stock-zoom-fit-width.png:
840 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
843 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
844 (djvu_document_finalize):
845 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
846 (dvi_document_finalize):
847 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
848 (pixbuf_document_save), (pixbuf_document_finalize):
849 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
850 (tiff_document_finalize):
852 Save a copy implemented for various backends.
854 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
858 Don't link with ltiff if tiff is disabled.
860 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
862 * pdf/GDKSplashOutputDev.cc:
863 * pdf/GDKSplashOutputDev.h:
866 * pdf/pdf-document.cc:
867 * pdf/pdf-document.h:
868 * pdf/test-gdk-output-dev.cc:
870 Remove old unused files.
872 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
874 * shell/ev-window.c: (ev_window_setup_document):
876 Fixed warnings on reload and probably crash reason.
878 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
880 * properties/ev-properties-view.c:
881 (ev_properties_view_format_date):
883 Check if date is invalid. Fix for bug 318134.
885 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
887 * shell/ev-window-title.c:
889 Add .indd files (Adobe Indesign) to the list of "bad
892 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
894 * data/evince-ui.xml:
895 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
897 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
899 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
901 * shell/ev-window.c: (launch_link), (launch_external_uri),
902 (view_external_link_cb):
904 URL-escape link before passing it to gnome_vfs_url_show.
906 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
908 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
909 there isn't text selected.
911 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
913 * shell/ev-view.c: (handle_link_over_xy):
915 Check tooltip is valid utf8 before showing it
917 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
919 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
921 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
923 * shell/ev-window-title.c: (ev_window_title_update):
925 Guard against using g_strstrip on NULL. Fixes bug #317291.
927 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
931 Show title even for unknown links
933 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
935 * shell/ev-window-title.c: (ev_window_title_update):
937 Strip the title string
939 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
941 * shell/ev-window-title.c:
943 Add .rtf to the bad extensions list
945 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
947 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
948 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
950 Ignore link coordinates if they are outside page bounds
952 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
954 * backend/ev-link.c: (ev_link_type_get_type),
955 (ev_link_get_filename), (ev_link_get_params),
956 (ev_link_get_property), (ev_link_set_property),
957 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
960 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
961 * shell/ev-window.c: (launch_link), (view_external_link_cb),
964 Implement launch links. Delegate external link opening to
967 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
969 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
970 (ev_link_get_right), (ev_link_get_property),
971 (ev_link_set_property), (ev_link_class_init),
972 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
975 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
979 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
981 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
982 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
983 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
984 (ev_view_size_request_continuous),
985 (ev_view_size_request_dual_page),
986 (ev_view_size_request_single_page), (ev_view_size_allocate),
987 (ev_view_zoom_for_size_continuous_and_dual_page),
988 (ev_view_zoom_for_size_continuous),
989 (ev_view_zoom_for_size_dual_page),
990 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
991 (ev_sizing_mode_get_type):
993 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
995 Do not use modes for link, we need to calculate size ad hoc.
996 Still not perfect because of the usual scrollbar issues grrr.
998 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
1000 * backend/ev-link.c: (ev_link_type_get_type),
1001 (ev_link_new_page_fith), (ev_link_new_page_fitv):
1002 * backend/ev-link.h:
1003 * pdf/ev-poppler.cc:
1004 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
1005 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
1006 (ev_view_size_request_continuous),
1007 (ev_view_size_request_dual_page),
1008 (ev_view_size_request_single_page), (ev_view_size_allocate),
1009 (zoom_for_size_fit_height),
1010 (ev_view_zoom_for_size_continuous_and_dual_page),
1011 (ev_view_zoom_for_size_continuous),
1012 (ev_view_zoom_for_size_dual_page),
1013 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1014 (ev_sizing_mode_get_type):
1016 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
1018 Implement FIT_HEIGHT mode (only for links).
1019 Implement FITH links
1021 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
1023 * shell/ev-window-title.c: (get_filename_from_uri),
1024 (ev_window_title_sanitize_extension), (ev_window_title_update),
1025 (ev_window_title_set_document), (ev_window_title_set_uri),
1026 (ev_window_title_free):
1027 * shell/ev-window-title.h:
1028 * shell/ev-window.c: (ev_window_setup_document),
1029 (ev_window_popup_password_dialog):
1031 Refactor window title building while fixing it for
1034 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
1036 * pdf/ev-poppler.cc:
1038 Escape link title before setting it in the model
1040 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
1042 * shell/ev-application.c: (removed_from_session), (save_session),
1043 (init_session), (ev_application_get_empty_window),
1044 (ev_application_init), (ev_application_get_windows):
1045 * shell/ev-application.h:
1046 * shell/ev-window.c: (ev_window_finalize):
1048 Add a function to retrieve window list and share it where
1050 Implement session handling, works pretty well thanks to the
1053 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1055 * shell/ev-password.c: (ev_password_item_created_callback),
1056 (ev_password_dialog_save_password):
1058 Fix for bug 316972. Use async gnome-keyring API.
1060 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
1062 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
1063 Remove unused unrealize handler. Add scroll handling to
1064 ev_view_scroll_event for presentation mode (bug #316708),
1065 and fix the event state checks there.
1067 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
1069 * shell/ev-page-action.c: (page_changed_cb):
1071 "marco, maybe we should be crazy and jump right to 6! :)"
1073 Bryan Clark, Sep 2005
1075 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
1077 * ps/ps-document.c: (save_document), (ps_document_save),
1078 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
1079 (ps_document_ps_export_end):
1081 Fix unstructured documents save and print
1083 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
1085 * shell/ev-application.c: (ev_application_open_uri):
1087 Fix window size persistance
1089 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
1091 * shell/ev-view.c: (ev_view_button_release_event):
1093 Based on a patch from carlosgc@gnome.org. Mouse buttons
1094 switch pages in presentation mode.
1096 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1098 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1100 Dont cast to int before scaling
1102 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1104 * backend/ev-link.c: (ev_link_type_get_type),
1105 (ev_link_new_page_xyz), (ev_link_new_page_fit),
1106 (ev_link_new_page_fith):
1107 * backend/ev-link.h:
1108 * pdf/ev-poppler.cc:
1109 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
1111 Implement FIT and FITH links
1113 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1115 * pdf/ev-poppler.cc:
1117 Return 0 results when search is not in progress.
1119 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
1120 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
1122 Update menu sensitivity when cancelling search
1124 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1126 * shell/ev-view.c: (ev_view_can_find_next):
1128 Take all pages in consideration, not just current one
1130 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1132 * shell/ev-page-cache.c:
1133 * shell/ev-page-cache.h:
1134 * shell/ev-view.c: (ev_view_binding_activated),
1135 (ev_view_next_page), (ev_view_previous_page),
1136 (ev_sizing_mode_get_type):
1138 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
1139 (ev_window_cmd_go_next_page):
1141 Move page next/previous functions from page chace to
1142 view and change it to move by 2 page steps in dual mode.
1144 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1146 * shell/ev-window.c: (update_sidebar_visibility),
1147 (setup_sidebar_from_metadata), (ev_window_setup_document),
1148 (setup_view_from_metadata):
1150 Show the index by default when there is one
1152 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
1154 * shell/ev-window-title.c: (ev_window_title_set_document):
1158 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1160 * shell/ev-view.c: (view_update_range_and_current_page):
1162 Allow display of last odd page in dual view. Fix for 316347.
1164 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
1166 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1168 Make close button default. Fix for 316383.
1170 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1172 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1174 Mark close button as default. Fix for 316381.
1176 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1178 * backend/ev-link.c: (ev_link_class_init):
1180 Allow negative doubles in left/top properties
1182 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1184 * shell/ev-window.c:
1186 Remove a bunch of strings that was used only
1189 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1191 * shell/ev-window-title.c: (get_filename_from_uri),
1192 (ev_window_title_set_document):
1194 When title has a confusing extension, show also
1195 the document filename inside ()
1197 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1199 * shell/Makefile.am:
1200 * shell/ev-window-title.c: (ev_window_title_new),
1201 (ev_window_title_update), (ev_window_title_set_type),
1202 (ev_window_title_set_document), (ev_window_title_free):
1203 * shell/ev-window-title.h:
1204 * shell/ev-window.c: (ev_window_setup_document),
1205 (password_dialog_response), (ev_window_popup_password_dialog),
1206 (ev_window_dispose), (ev_window_init):
1208 Factor out and cleanup window title code
1210 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1212 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
1215 Make dialog transient so it doesnt block other windows
1217 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1219 * pdf/ev-poppler.cc:
1221 Fix pdf thumbnails rendering.
1223 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
1225 * shell/ev-window.c: (fullscreen_set_timeout):
1227 Increase timeout to hide full screen popup. Bug
1230 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1232 * data/evince.schemas.in:
1233 * shell/ev-window.c: (update_action_sensitivity):
1235 Allow the user to override document restrictions. Fix for bug
1238 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
1240 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
1241 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
1242 (ev_window_class_init): Fix multihead behaviour of fullscreen
1243 toolbar popup. Fixes bug #315451.
1245 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1248 * data/evince-password.glade:
1249 * shell/ev-password.c: (ev_password_dialog_set_property),
1250 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
1251 (ev_password_dialog_init), (ev_password_set_bad_password_label),
1252 (ev_password_dialog_entry_changed_cb),
1253 (ev_password_dialog_entry_activated_cb),
1254 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
1255 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
1256 (ev_password_dialog_set_bad_pass):
1257 * shell/ev-password.h:
1258 * shell/ev-window.c: (password_dialog_response),
1259 (ev_window_popup_password_dialog):
1261 Support for gnome-keyring for encrypted PDF's.
1263 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1265 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
1266 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
1267 (ev_view_enter_notify_event), (ev_view_class_init):
1269 More precise handling of enter_notify/leave_notify events
1270 in EvView. Fix for bug 315470.
1272 2005-09-08 Christopher Aillon <caillon@redhat.com>
1274 * shell/ev-window.c: (fullscreen_timeout_cb),
1275 (fullscreen_set_timeout), (fullscreen_clear_timeout),
1276 (ev_window_dispose):
1278 leak fix: unref fullscreen_timeout_source before clearing it
1280 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1282 * configure.ac, dvi/mdvi/Makefile.am:
1284 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
1286 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1288 * backend/ev-link.c: (ev_link_new_page_xyz):
1289 * pdf/ev-poppler.cc:
1290 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
1292 Fix some bugs with xyz links, respect zoom
1294 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1296 * shell/ev-window.c: (page_changed_cb),
1297 (setup_document_from_metadata), (update_sidebar_visibility),
1298 (setup_view_from_metadata), (ev_window_run_fullscreen),
1299 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1300 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
1301 (ev_window_dual_mode_changed_cb),
1302 (ev_window_sidebar_current_page_changed_cb):
1304 null check uri before setting and getting metadata
1306 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1309 * properties/Makefile.am:
1310 * shell/Makefile.am:
1311 * thumbnailer/Makefile.am:
1313 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
1315 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1317 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
1318 (selection_changed_callback):
1319 * shell/ev-sidebar-links.h:
1321 Add a signal for link activation.
1323 * shell/ev-view.c: (ev_view_goto_link),
1324 (ev_view_button_release_event):
1326 * shell/ev-window.c: (sidebar_links_link_activated_cb),
1329 Implement the signal so that we can handle all link types.
1331 * shell/ev-page-cache.c:
1333 Remove unused set_link function
1335 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1337 * lib/ev-tooltip.c: (ev_tooltip_set_position):
1339 Add some space from the cursor, hardcoded but I couldnt
1342 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1346 Use mozilla style vs gtk style, way better for links.
1348 * shell/ev-view.c: (ev_view_motion_notify_event),
1349 (ev_view_destroy), (ev_view_init):
1351 Deactive tooltip when the link hovered is changed.
1353 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1355 * backend/ev-document.h:
1356 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
1357 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
1358 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
1359 (ev_link_new_page), (ev_link_new_page_xyz):
1360 * backend/ev-link.h:
1361 * pdf/ev-poppler.cc:
1362 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
1363 (go_to_link), (tip_from_link):
1365 Implement xyz links, still not functional. Links are a total
1366 mess, will need to refactor and bugfix a lot :(
1368 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
1370 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
1372 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1374 * data/evince-ui.xml:
1375 * data/evince.schemas.in:
1376 * shell/Makefile.am:
1377 * shell/ev-window.c: (update_chrome_visibility),
1378 (password_dialog_response), (ev_window_load_job_cb),
1379 (ev_window_xfer_job_cb), (ev_window_open_uri),
1380 (ev_window_class_init), (set_chrome_actions), (load_chrome),
1383 Remove the statusbar. This regress loading feedback, need to
1384 check with Bryan what we want to do there...
1386 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1388 * lib/ev-tooltip.c: (ev_tooltip_init):
1390 Fix tooltip border and size handling
1392 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1394 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
1395 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
1396 (ev_tooltip_timeout), (ev_tooltip_activate),
1397 (ev_tooltip_deactivate):
1399 * shell/ev-view.c: (ev_view_motion_notify_event):
1401 Delay popup showing. Mirror gtk logic/times.
1403 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
1406 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
1407 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
1408 (ev_tooltip_set_text), (ev_tooltip_set_position):
1411 Simple widget to show tooltips at a custom position
1413 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1416 Use it for links. First go, needs work
1418 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
1420 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
1421 HIG fixes. Use title capitalization for window title. Use 12
1422 pixels of space between the dialog's vbox and action area.
1424 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1426 * shell/ev-window.c: (file_open_dialog_response_cb),
1427 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1428 (ev_window_cmd_save_as):
1430 Make file pickers not modal and refactor code some
1432 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1434 * shell/ev-sidebar.h:
1435 * shell/ev-sidebar.c: (ev_sidebar_set_property),
1436 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1437 (ev_sidebar_class_init), (ev_sidebar_select_page),
1438 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1439 (ev_sidebar_set_page):
1441 Add a current page property and allow to get/set it
1443 * shell/ev-window.c: (setup_view_from_metadata),
1444 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1446 Persist current sidebar page per document
1448 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1450 * data/evince.schemas.in:
1451 * shell/ev-window.c: (update_chrome_visibility),
1452 (setup_document_from_metadata), (update_sidebar_visibility),
1453 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1454 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1455 (ev_window_run_presentation), (ev_window_stop_presentation),
1456 (ev_window_view_sidebar_cb),
1457 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1458 (load_chrome), (ev_window_init):
1460 Persist size/visibility of sidebar per document
1462 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1464 * shell/ev-view.c (draw_loading_text): Draw loading text.
1466 2005-09-02 Dan Damian <dand@gnome.ro>
1468 * configure.in: Added "ro" to ALL_LINGUAS.
1470 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1472 * shell/ev-view.c: (clear_caches):
1474 ev_page_cache_get doesnt return a reference,
1475 dont try to unref it.
1477 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1479 * shell/main.c: (load_files_remote):
1481 Fix timestamp parameter with dbus <= 0.33
1483 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1485 * data/evince.schemas.in:
1487 Add missing full stop
1489 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1491 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1492 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1494 Plug some memory leaks
1496 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1499 * lib/ev-debug.c: (trap_handler):
1501 Check for execinfo.h and use it only if it exists.
1502 Ported from Epiphany (bug #314776).
1504 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1506 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1508 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1510 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1511 * po/id.po : Added Indonesian translation
1513 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1516 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1517 * NEWS: Release 0.4.0
1519 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1521 * configure.ac: catch another gtk+-2.8ism
1522 * shell/main.c: Make work with gtk+-2.6
1524 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1526 * shell/ev-application-service.xml: Add 'timestamp' argument to
1527 ev_application_open_window and ev_application_open_uri methods.
1529 * shell/ev-application.h: Add 'timestamp' argument to
1530 ev_application_open_window, ev_application_open_uri,
1531 and ev_application_open_uri_list functions.
1533 * shell/ev-application.c (ev_application_open_window,
1534 ev_application_open_uri, ev_application_open_uri_list): Change
1535 functions that show/present windows to use a timestamp if one
1538 * shell/ev-window.c (ev_window_cmd_file_open,
1539 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1540 * shell/main.c (load_files): Modify calls to ev_application to
1541 include GDK_CURRENT_TIME as timestamp.
1543 * shell/main.c (load_files_remote): Obtain timestamp for client
1544 instance from GDK and pass to server instance so new windows are
1545 focused properly. Fix dbus_g_proxy_call() calls by including second
1550 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1552 * shell/ev-window.c (ev_window_finalize): Check for
1553 avail. EvWindows when quiting to handle the finalize better,
1556 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1558 * properties/ev-properties-view.c:
1560 Set textdomain to libglade. Fixes translation problem in property page.
1562 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1564 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1566 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1567 * dvi/mdvi-lib/Makefile.am:
1569 Fix rotation of thumbnails, ported to new API. Moved library
1570 dependencies earlier, probably it will fix linkage problem.
1572 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1574 * backend/ev-document-misc.c:
1575 (ev_document_misc_get_thumbnail_frame):
1576 * backend/ev-document-misc.h:
1578 * pdf/ev-poppler.cc:
1579 * shell/Makefile.am:
1580 * shell/ev-sidebar-thumbnails.c: (add_range),
1581 (ev_sidebar_thumbnails_set_loading_icon),
1582 (ev_sidebar_thumbnails_refresh),
1583 (ev_sidebar_thumbnails_set_document):
1584 * shell/ev-sidebar-thumbnails.h:
1585 * shell/ev-view.c: (ev_view_motion_notify_event),
1586 (ev_view_set_property), (ev_view_get_property),
1587 (ev_view_class_init), (ev_view_set_rotation):
1588 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1589 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1591 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1592 Redo rotation (again). prepare for 0.4.0
1594 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1596 * configure.ac: Bump poppler requirement to 0.4.1.
1598 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1599 argument to poppler_page_render_selection() call.
1601 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1603 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1604 (djvu_document_thumbnails_get_thumbnail):
1605 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1606 (dvi_document_thumbnails_get_thumbnail):
1607 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1608 (pixbuf_document_thumbnails_get_thumbnail):
1609 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1611 Update rotation direction of backends to fit with pdf and ps.
1613 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1615 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1616 * backend/ev-async-renderer.h:
1617 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1618 (setup_page), (ps_document_get_page_size),
1619 (ps_async_renderer_render_pixbuf):
1621 * shell/ev-jobs.c: (ev_job_render_run):
1623 Fix orientation in the postscript document
1625 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1627 * pdf/ev-poppler.cc:
1628 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1629 * shell/ev-view.c: (highlight_find_results):
1631 Adapt to the new poppler rotation API. Fix text maps on landscape
1634 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1636 * shell/ev-view.c (compute_new_selection_text): get the correct
1637 region when selecting in modes other than continuous.
1639 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1641 * shell/main.c (main): remove redundant g_warnings.
1643 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1645 * shell/Makefile.am: Don't include autogenerated
1646 file ev-application-service.h into distribution, since
1647 it causes dbus crash. Fix for bugs 313724 and 313443.
1649 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1651 * configure.ac: Fix sed expression for FreeBSD. Thanks
1652 to Joe Marcus Clark <marcus@freebsd.org>
1654 * shell/eggfindbar.c: (entry_activate_callback),
1655 (entry_changed_callback), (egg_find_bar_init),
1656 (egg_find_bar_set_search_string):
1658 Made findbar buttons unsensitive if there is no text in
1659 entry. Fix for the bug 313285.
1661 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1663 * ps/ps-document.c: Use g_filename_display_name for displaying
1664 filenames and revert string freeze breackage
1666 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1673 * shell/Makefile.am:
1675 Add ev-application-service.xml to extra dist
1677 * shell/ev-view.c: (find_page_at_location):
1679 Remove unused function (fix warning)
1681 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1683 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1684 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1686 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1689 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1691 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1692 * shell/ev-window.c:
1695 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1697 * configure.ac: Update script to get dbus version.
1698 Fix for the bug #313443.
1700 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1702 * shell/ev-window.c: (ev_window_cmd_escape):
1704 Return focus back to view on escape. Fix for bug 313295.
1706 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1708 * shell/ev-window.c: (update_window_title),
1709 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1710 (ev_window_cmd_save_as):
1712 Correct conversion from uri to displayable string. Fix for
1715 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1717 * ps/ps-document.c: convert filename to utf8 when there is an error
1718 loading document. Fixes #309915
1720 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1724 We depend on poppler 0.4.0
1726 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1729 * NEWS: Release 0.3.3.
1730 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1732 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1734 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1735 add a couple missing mnemonics to menu items, use title
1736 capitalization for menu items and window titles, and add
1737 ellipsis to open menu item.
1739 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1741 * pdf/ev-poppler.cc:
1742 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1743 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1744 (ev_view_get_rotation):
1746 * shell/ev-window.c: (setup_view_from_metadata),
1747 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1748 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1751 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1753 * configure.ac: Added tr to ALL_LINGUAS
1755 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1757 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1758 requires several clicks to find word. Thanks to
1759 Colin Slater <kiltedtaco@gmail.com>.
1761 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1763 * data/evince.desktop.in.in: Hide menu entry and
1764 rename it to "Document Viewer". Fix for bug
1767 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1769 * shell/ev-page-action.c (ev_page_action_class_init):
1771 Point to the correct function in constructor of the
1772 activate_label signal
1774 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1776 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1777 * shell/ev-jobs.h: Make thread safe.
1779 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1781 * shell/ev-view.c: (view_update_range_and_current_page):
1782 Don't update page range if we are scrolling to some document
1785 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1787 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1788 when getting max_page_width, fix drawing in dual mode.
1790 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1792 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1793 getting the area for select_all.
1795 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1797 * backend/ev-selection.c: (ev_selection_render_selection):
1798 * backend/ev-selection.h:
1799 * pdf/ev-poppler.cc:
1800 * shell/ev-jobs.c: (ev_job_render_new):
1802 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1803 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1804 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1805 (ev_view_class_init):
1807 Change selection color on focus in and focus out events. Also,
1808 poppler now uses GdkColor for specifying the selection colors, so
1809 drop some awkward conversion code.
1811 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1813 * configure.ac: Added Hebrew translation
1815 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1818 * backend/ev-selection.c: (ev_selection_render_selection):
1819 * backend/ev-selection.h:
1820 * pdf/ev-poppler.cc:
1821 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1822 (ev_job_render_run):
1824 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1825 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1826 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1827 (ev_pixbuf_cache_style_changed),
1828 (ev_pixbuf_cache_get_selection_pixbuf),
1829 (ev_pixbuf_cache_set_selection_list),
1830 (ev_pixbuf_cache_get_selection_list):
1831 * shell/ev-pixbuf-cache.h:
1832 * shell/ev-utils.c: (ev_print_region_contents):
1834 * shell/ev-view.c: (ev_view_queue_draw_page),
1835 (selection_update_idle_cb), (ev_view_motion_notify_event),
1836 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1837 (setup_caches), (ev_view_find_next), (merge_selection_region),
1839 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1841 Clean up selection to be much smoother!
1843 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1845 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1846 to poppler_page_render_selection().
1848 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1850 * ps/ps-document.c: (save_page_list): Use
1851 unzipped document when printing. Thanks to
1852 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1855 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1857 * shell/ev-window.c: (update_action_sensitivity):
1859 Disable print and save respect to lockdown gconf keys. Fix
1862 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1865 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1866 (write_to_temp_file), (ev_file_set_contents):
1868 * shell/ev-window.c: (save_print_config_to_file):
1870 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1873 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1875 * shell/ev-window.c: (load_print_config_from_file),
1876 (save_print_config_to_file), (ev_window_print_range):
1878 Persist the print settings. Fixes bug #311578.
1880 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1882 * djvu/djvu-document.c: (djvu_document_get_page_size),
1883 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1884 (djvu_document_thumbnails_get_thumbnail):
1885 * dvi/dvi-document.c: (dvi_document_get_page_size),
1886 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1887 (dvi_document_thumbnails_get_dimensions),
1888 (dvi_document_thumbnails_get_thumbnail):
1889 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1890 (pixbuf_document_render_pixbuf),
1891 (pixbuf_document_document_iface_init),
1892 (pixbuf_document_thumbnails_get_thumbnail):
1894 Update backends to make them build with new rotation system.
1896 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1898 * help/C/figures/evince_start_window.png:
1900 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1902 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1904 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1905 * shell/ev-pixbuf-cache.h:
1906 * shell/ev-sidebar-thumbnails.c:
1907 (ev_sidebar_thumbnails_get_property), (add_range),
1908 (adjustment_changed_cb):
1909 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1910 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1911 we were thumbnailing the entire docment on startup, slowing us
1914 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1916 * shell/ev-page-cache.c: (ev_page_cache_new):
1917 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1918 == 0, fixes #310306.
1920 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1922 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1923 (ev_view_rotate_left):
1925 Account rotation in doc_rect_to_view_rect.
1926 Ensure rotation doesnt go out of bounds.
1928 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1930 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1932 Correct and cleanup w/h swapping
1934 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1936 * backend/ev-document-thumbnails.c:
1937 (ev_document_thumbnails_get_thumbnail):
1938 * backend/ev-document-thumbnails.h:
1939 * backend/ev-document.c:
1940 * backend/ev-document.h:
1941 * backend/ev-render-context.c: (ev_render_context_new),
1942 (ev_render_context_set_rotation):
1943 * backend/ev-render-context.h:
1944 * pdf/ev-poppler.cc:
1945 * ps/ps-document.c: (ps_document_document_iface_init):
1946 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1948 * shell/ev-page-cache.c: (build_height_to_page),
1949 (ev_page_cache_new), (ev_page_cache_get_size),
1950 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1951 (ev_page_cache_get_height_to_page):
1952 * shell/ev-page-cache.h:
1953 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1954 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1955 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1956 (ev_pixbuf_cache_get_selection_pixbuf):
1957 * shell/ev-pixbuf-cache.h:
1958 * shell/ev-print-job.c: (idle_print_handler):
1959 * shell/ev-sidebar-thumbnails.c: (add_range):
1960 * shell/ev-view.c: (view_update_range_and_current_page),
1961 (get_page_y_offset), (get_page_extents),
1962 (ev_view_size_request_continuous_dual_page),
1963 (ev_view_size_request_continuous),
1964 (ev_view_size_request_dual_page),
1965 (ev_view_size_request_single_page), (draw_one_page),
1966 (ev_view_set_rotation), (ev_view_rotate_right),
1967 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1968 (ev_view_zoom_for_size_continuous_and_dual_page),
1969 (ev_view_zoom_for_size_continuous),
1970 (ev_view_zoom_for_size_dual_page),
1971 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1972 (ev_view_select_all):
1973 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1974 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1975 (tiff_document_document_iface_init),
1976 (tiff_document_thumbnails_get_thumbnail):
1978 Use rotation rather than orientation. It's easier and enough
1981 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1983 * shell/ev-page-cache.c: (build_height_to_page),
1984 (ev_page_cache_new), (ev_page_cache_get_size),
1985 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1986 (ev_page_cache_get_height_to_page):
1987 * shell/ev-page-cache.h:
1988 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1989 (ev_view_size_request_continuous_dual_page),
1990 (ev_view_size_request_continuous),
1991 (ev_view_zoom_for_size_continuous_and_dual_page),
1992 (ev_view_zoom_for_size_continuous):
1994 Make the page cache aware of page orientation.
1996 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1998 * backend/ev-document-thumbnails.c:
1999 (ev_document_thumbnails_get_thumbnail):
2000 * backend/ev-document-thumbnails.h:
2001 * backend/ev-document.c:
2002 * backend/ev-document.h:
2003 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
2004 * backend/ev-ps-exporter.h:
2005 * pdf/ev-poppler.cc:
2006 * ps/ps-document.c: (ps_document_document_iface_init),
2007 (ps_document_ps_export_do_page):
2008 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
2010 * shell/ev-page-cache.c: (ev_page_cache_get_size),
2011 (ev_page_cache_get):
2012 * shell/ev-page-cache.h:
2013 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
2014 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
2015 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
2016 * shell/ev-pixbuf-cache.h:
2017 * shell/ev-print-job.c: (idle_print_handler):
2018 * shell/ev-sidebar-thumbnails.c: (add_range):
2019 * shell/ev-view.c: (view_update_range_and_current_page),
2020 (get_page_extents), (ev_view_size_request_dual_page),
2021 (ev_view_size_request_single_page), (draw_one_page),
2022 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
2023 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
2024 (ev_view_zoom_for_size_dual_page),
2025 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
2026 (ev_view_select_all):
2027 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2028 * tiff/tiff-document.c: (tiff_document_get_page_size),
2029 (tiff_document_get_orientation), (rotate_pixbuf),
2030 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
2031 (tiff_document_thumbnails_get_thumbnail),
2032 (tiff_document_ps_export_do_page), (tiff_document_init):
2034 Really make use of the orientation bit of the render context.
2035 Use the render context in a few more places in the backend API.
2036 This regress orientation, but now it's done right. Will try to
2039 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
2041 * shell/ev-view.c: (ensure_rectangle_is_visible):
2043 Patch by Nickolay V. Shmyrev to fix find flickering
2045 2005-07-27 Martin Kretzschmar <martink@gnome.org>
2047 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
2048 duplex parameters to ::begin.
2050 * tiff/tiff-document.c (tiff_document_ps_export_begin):
2051 * shell/ev-print-job.c (idle_print_handler):
2052 * ps/ps-document.c (ps_document_ps_export_begin):
2053 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
2054 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
2055 implementations. Poppler backend needs poppler cvs. Rest has
2058 2005-07-25 Martin Kretzschmar <martink@gnome.org>
2060 * shell/ev-window.c (using_pdf_printer): new function.
2061 (ev_window_print_range): print a less techy message if someone
2062 tries to print to PDF.
2064 2005-07-25 Martin Kretzschmar <martink@gnome.org>
2066 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
2067 from "unknown font" string. Bug #311431
2069 2005-07-24 Martin Kretzschmar <martink@gnome.org>
2071 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
2073 2005-07-24 Martin Kretzschmar <martink@gnome.org>
2077 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
2078 name for PopplerFontTypes
2079 (pdf_document_fonts_fill_model): add font type to the detail column
2081 * backend/ev-document-fonts.h: added
2082 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
2084 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
2085 font name and font details, add a little markup.
2086 (ev_properties_fonts_init): use the new cell data func, specify ypad
2087 property for the cell renderer.
2088 (ev_properties_fonts_set_document): add the details column.
2090 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
2092 * configure.ac: Added "pl" to ALL_LINGUAS.
2094 2005-07-24 Danilo Šegan <danilo@gnome.org>
2096 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2098 2005-07-23 Tommi Vainikainen <thv@iki.fi>
2100 * help/ChangeLog: Started this for translations of manual.
2101 * configure.ac, autogen.sh, .cvsignore: Migrated to
2102 gnome-doc-utils. Patch in bug #311222.
2104 2005-07-22 Martin Kretzschmar <martink@gnome.org>
2106 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
2107 #ifdef this away to fix an unused-function warning.
2109 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
2111 * configure.ac: Added 'gl' to ALL_LINGUAS.
2113 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
2115 * configure.ac: Added ne in ALL_LINGUAS
2117 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2119 * shell/ev-view.c: (ev_view_leave_notify_event):
2121 Clear status message when pointer leaves view. Fix for bug
2124 2005-07-20 Ankit Patel <ankit644@yahoo.com>
2126 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
2128 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2130 * shell/ev-view.c: (ev_view_leave_notify_event),
2131 (ev_view_class_init):
2133 Set cursor to normal then leaving view.
2135 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2139 Fix required djvulibre version.
2141 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
2143 *configure.ac: Hindi (hi) language added
2145 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
2147 *configure.ac: Punjabi (pa) Language added
2149 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2151 * data/evince-ui.xml, shell/ev-window.c:
2153 Add keypad accelerators for zooming. Fix for bug 308128.
2155 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2158 * backend/Makefile.am:
2159 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
2161 * shell/ev-document-types.c: (ev_document_types_add_filters):
2163 Allow to enable/disable the pixbuf backend.
2164 Default to off for now. If we want it enabled we should
2165 really put mime types in the desktop, implement properties etc.
2167 * properties/evince-properties.c:
2169 Initialize error to NULL.
2170 Check error is not NULL before freeing.
2172 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2174 * shell/ev-window.c:
2176 Use F5 as presentation accell
2178 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2180 * shell/ev-window.c: (update_chrome_visibility),
2181 (ev_window_create_fullscreen_popup), (ev_window_init):
2183 Do not leak the fullscreen toolbar
2185 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2187 * shell/ev-window.c: (view_actions_focus_in_cb),
2188 (view_actions_focus_out_cb):
2190 These has a return value! Fix totally random focus
2191 issues we was seeing.
2193 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
2195 * shell/main.c: (load_files_remote):
2197 Allow open more than one file
2199 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2201 * shell/main.c: (load_files_remote):
2203 Fix for dbus 0.33. bug #309975
2205 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2207 * properties/ev-properties-main.c: (ev_properties_get_pages):
2209 Actually return NULL for types we dont support
2211 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
2217 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
2219 * backend/ev-document-factory.c:
2220 (ev_document_factory_get_document):
2222 Do not try to create the object if type
2225 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2227 * ps/ps-document.c: (ps_document_dispose),
2228 (ps_async_renderer_render_pixbuf):
2231 Do not leak the target window
2233 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2235 * shell/ev-application.c: (ev_application_init):
2237 Let tbe check file existence for us.
2238 Add a comment about eggrecent mime filter.
2240 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2242 * data/evince-ui.xml:
2243 * shell/ev-application.c: (ev_application_shutdown),
2244 (ev_application_init), (ev_application_get_toolbars_model),
2245 (ev_application_get_recent_model),
2246 (ev_application_save_toolbars_model):
2247 * shell/ev-application.h:
2248 * shell/ev-window.c: (ev_window_add_recent),
2249 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
2250 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
2253 Use common toolbar and recent models for all windows.
2254 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2256 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
2258 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
2259 successfully check for gtk_icon_view_get_visible_range.
2261 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2266 Fix djvu and dvi backend build.
2268 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
2270 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
2271 (new_separator_pixbuf):
2275 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
2277 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
2279 HIGification of toolbar editor dialogue.
2281 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2284 * shell/Makefile.am:
2286 Ever build metadata manager since it's just
2287 disabled at runtime now.
2289 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2291 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
2292 (ev_metadata_manager_get), (ev_metadata_manager_set):
2293 * shell/ev-metadata-manager.h:
2295 Add an _init functions that enabled metadata management
2298 * shell/ev-window.c: (page_changed_cb),
2299 (setup_document_from_metadata), (ev_window_setup_document),
2300 (setup_view_from_metadata), (ev_window_open_uri),
2301 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2302 (ev_window_run_presentation), (ev_window_stop_presentation),
2303 (save_sizing_mode), (ev_window_zoom_changed_cb),
2304 (ev_window_continuous_changed_cb),
2305 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
2306 (window_configure_event_cb):
2308 Remove all ugly metadata define since we deal with it
2311 * shell/main.c: (load_files_remote), (main):
2313 Add support for dbus cvs head. Hopefully didnt break one
2314 of the other versions now!
2316 If we dont get a response from the dbus server just
2317 give up with it and not enable metadata.
2319 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2322 * backend/Makefile.am:
2324 * cut-n-paste/recent-files/Makefile.am:
2325 * cut-n-paste/toolbar-editor/Makefile.am:
2326 * cut-n-paste/zoom-control/Makefile.am:
2329 * pixbuf/Makefile.am:
2330 * properties/Makefile.am:
2332 * shell/Makefile.am:
2333 * thumbnailer/Makefile.am:
2336 Make frontends depend on just libev.
2337 Rework and group CFLAGS/LIBS definitions.
2340 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2344 do not unnecessarily save zoom
2347 * lib/ev-file-helpers.c: (ev_dot_dir):
2348 * shell/Makefile.am:
2353 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2357 Remove unnecessary dependencies
2359 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2361 * properties/Makefile.am:
2362 * thumbnailer/Makefile.am:
2365 Some more cleanups. Was really necessary
2366 but I probably introduced bugs, feel free
2369 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2371 * backend/Makefile.am:
2373 * cut-n-paste/recent-files/Makefile.am:
2374 * cut-n-paste/toolbar-editor/Makefile.am:
2375 * cut-n-paste/zoom-control/Makefile.am:
2378 * pixbuf/Makefile.am:
2379 * properties/Makefile.am:
2381 * shell/Makefile.am:
2382 * thumbnailer/Makefile.am:
2385 Use gnome-common macros when possible.
2386 Cleanup dependencies.
2387 Actually disable deprecated where possible.
2389 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2392 * backend/Makefile.am:
2393 * properties/Makefile.am:
2394 * shell/Makefile.am:
2395 * thumbnailer/Makefile.am:
2397 This should solve the circular dep without
2398 requiring dir reorg!
2400 * shell/ev-window.c: (setup_view_from_metadata):
2402 Never restore window size/position when the
2403 window is already visible.
2405 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2407 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
2409 Return a boolean from timeout func. Fix ported from gedit.
2411 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
2413 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2415 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
2417 * shell/ev-document-types.c: set "All Documents" as default filter in
2420 2005-07-06 Martin Kretzschmar <martink@gnome.org>
2422 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2423 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2424 (ev_metadata_manager_set_boolean): fix value/val thinko.
2426 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2428 * shell/ev-window.c: (setup_view_from_metadata),
2429 (window_state_event_cb), (window_configure_event_cb),
2432 Remember window position and maximized state
2434 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2438 Fix DBUS configure checks.
2440 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2441 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2442 (ev_metadata_manager_set_boolean):
2446 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2447 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2448 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2449 (ev_window_continuous_changed_cb),
2450 (ev_window_dual_mode_changed_cb), (ev_window_new):
2452 Fix the build without DBUS.
2454 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2456 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2457 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2458 (ev_metadata_manager_set_string),
2459 (ev_metadata_manager_set_boolean):
2460 * shell/ev-metadata-manager.h:
2462 Add support for some more types
2464 * shell/ev-view.c: (scroll_to_current_page),
2465 (ev_view_get_continuous), (ev_view_set_continuous),
2466 (ev_view_get_dual_page):
2468 * shell/ev-window.c: (page_changed_cb),
2469 (setup_document_from_metadata), (ev_window_setup_document),
2470 (setup_view_from_metadata), (ev_window_open_uri),
2471 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2472 (ev_window_run_presentation), (ev_window_stop_presentation),
2473 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2474 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2475 (ev_window_update_dual_page_action),
2476 (ev_window_continuous_changed_cb),
2477 (ev_window_dual_mode_changed_cb), (ev_window_init):
2479 Remember a bunch of view/document properties. Prolly some
2480 are still missing but it's getting interesting.
2482 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2484 * configure.ac: check if dbus-binding-tool is installed. Not the
2485 case on current Ubuntu breezy, it seems.
2487 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2489 * data/evince.desktop.in.in:
2491 Allow open uri lists and add TryExec field.
2493 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2497 Enable dbus when available, do not require a configure
2500 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2504 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2507 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2508 Marco Pesenti Gritti <mpg@redhat.com>
2510 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2512 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2513 functions to the format required by dbus
2515 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2516 errors. Use the RPC parameters in the expected way
2518 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2521 * properties/Makefile.am:
2522 * properties/ev-properties-main.c: (ev_properties_get_pages):
2524 Support all mime types
2526 * shell/Makefile.am:
2527 * thumbnailer/Makefile.am:
2528 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2529 (evince_thumbnail_pngenc_get):
2531 Use the document factory
2533 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2535 * backend/Makefile.am:
2536 * backend/ev-document-factory.c:
2537 (mime_type_supported_by_gdk_pixbuf),
2538 (ev_document_type_get_from_mime),
2539 (ev_document_factory_get_document),
2540 (ev_document_factory_get_backend),
2541 (ev_document_factory_get_mime_types),
2542 (ev_document_factory_get_all_mime_types):
2543 * backend/ev-document-factory.h:
2544 * shell/Makefile.am:
2545 * shell/ev-document-types.c: (get_document_from_uri),
2546 (ev_document_types_get_document),
2547 (file_filter_add_mime_list_and_free),
2548 (ev_document_types_add_filters):
2549 * shell/ev-document-types.h:
2550 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2551 * shell/ev-properties-dialog.c:
2552 (ev_properties_dialog_set_document):
2553 * shell/ev-window.c: (ev_window_cmd_file_open),
2554 (ev_window_cmd_save_as):
2555 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2557 Rework document types managing to avoid code duplication
2558 and actually abstract from backend implementations.
2559 Also provide a minimal factory api that can be used by
2560 thumbnailer/properties.
2562 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2564 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2566 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2569 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2571 * shell/ev-properties-dialog.c
2572 (ev_properties_dialog_set_document): only call
2573 ev_properties_fonts_set_document() if the document implements the
2576 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2579 * properties/Makefile.am:
2580 * properties/ev-properties-view.c:
2581 (ev_properties_view_register_type):
2582 * properties/ev-properties-view.h:
2583 * properties/ev-properties-main.h:
2585 Implement nautilus plugin for properties.
2586 Works only for pdf atm, I need to rework the
2587 document types stuff to get this to work
2590 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2592 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2593 (ev_properties_fonts_set_document): use
2594 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2596 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2598 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2600 (PlaceImage, tiff2ps_process_page): use
2601 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2604 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2606 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2607 (main): to call gnome_authentication_manager_init. Should fix
2610 * configure.ac: that requires libgnomeui 2.6.0.
2612 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2614 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2615 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2616 use the new tiff2ps interfaces
2618 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2619 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2621 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2622 structure instead of global variables. Remove use of static
2623 variables in functions.
2625 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2627 * shell/ev-page-action.c: unref the completion after setting it to the
2630 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2632 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2635 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2637 * shell/ev-window.c (update_action_sensitivity): disable
2638 File->Print if the document does not implement the ps exporter
2641 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2645 * data/evince-properties.glade:
2646 * properties/.cvsignore:
2647 * properties/Makefile.am:
2648 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2649 (ev_properties_view_class_init), (ev_properties_view_format_date),
2650 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2651 (ev_properties_view_init), (ev_properties_view_new):
2652 * properties/ev-properties-view.h:
2653 * shell/Makefile.am:
2654 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2655 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2656 (ev_properties_dialog_new):
2657 * shell/ev-properties-dialog.h:
2658 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2659 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2660 (update_progress_label), (job_fonts_finished_cb),
2661 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2662 * shell/ev-properties-fonts.h:
2663 * shell/ev-properties.c:
2664 * shell/ev-properties.h:
2665 * shell/ev-window.c: (ev_window_setup_document),
2666 (ev_window_cmd_file_properties):
2668 Split the properties pages in two different objects, depend
2669 only on the backend where possible, use widgets instead
2670 of gobject for the glade part, reimplement the dialog
2672 I need this to implement nautilus properties page.
2674 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2676 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2677 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2678 (tiff_document_document_ps_exporter_iface_init): implement the ps
2679 exporter interface for tiff documents
2681 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2682 libtiff to implement TIFF postscript export
2684 * tiff/tiff2ps.h: added a header file for external tiff2ps
2687 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2690 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2692 * shell/ev-view.c: (scroll_to_current_page),
2693 (ev_view_set_fullscreen), (ev_view_set_presentation):
2695 Scroll to current page when exit from presentation
2697 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2699 * shell/ev-window.c: (update_document_mode),
2700 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2701 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2702 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2704 Exit from fullscreen mode when switch to presentation. Fix for
2707 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2709 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2710 return NULL if the document does not implement the selection
2713 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2715 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2716 reported height by using the resolution aspect ratio
2717 (tiff_document_render_pixbuf): scale the pixbuf using the
2718 resolution aspect ratio
2720 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2724 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2725 <kiltedaco@gmail.com>
2727 * djvu/djvu-document.c: (djvu_document_get_orientation),
2728 (djvu_document_set_orientation), (djvu_document_get_page_size),
2729 (rotate_pixbuf), (djvu_document_render_pixbuf),
2730 (djvu_document_document_iface_init):
2731 * dvi/dvi-document.c: (dvi_document_get_orientation),
2732 (dvi_document_set_orientation), (dvi_document_get_page_size),
2733 (rotate_pixbuf), (dvi_document_render_pixbuf),
2734 (dvi_document_document_iface_init):
2736 Dvi and djvu backends are ported to new API
2738 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2740 * backend/ev-selection.c: (ev_selection_get_selection_region),
2741 (ev_selection_get_selection_map):
2742 * backend/ev-selection.h:
2743 * pdf/ev-poppler.cc:
2744 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2746 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2747 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2748 (ev_pixbuf_cache_get_text_mapping):
2749 * shell/ev-pixbuf-cache.h:
2750 * shell/ev-view.c: (location_in_text),
2751 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2752 support to EvView. Now we can see where we can select! Sweet!
2754 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2756 * shell/ev-view.c (ev_view_button_press_event): Fix
2757 event->y + view->scroll_x typo.
2759 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2761 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2762 sub-GdkPixbuf instead of passing dest_x and dest_y.
2764 * shell/ev-view.c: (view_point_to_doc_point),
2765 (view_rect_to_doc_rect), (ev_view_button_press_event),
2766 (ev_view_motion_notify_event), (compute_new_selection_rect),
2767 (gdk_rectangle_point_in), (compute_new_selection_text),
2768 (compute_selections): Update selection code to keep the selection
2769 around as two points and not as a normalized rectangle, and fix
2770 page level selection in two-column mode.
2772 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2774 * shell/ev-window.c: (window_configure_event_cb):
2778 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2780 * pdf/ev-poppler.cc:
2784 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2786 * shell/Makefile.am:
2787 * shell/ev-metadata-manager.c: (item_free),
2788 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2789 (parse_value), (parseItem), (load_values),
2790 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2791 (save_values), (save_item), (get_oldest), (resize_items),
2792 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2793 * shell/ev-metadata-manager.h:
2795 Metadata manager from gedit but modified to use GValue, so that
2796 we dont need to keep converting from strings.
2800 ENABLE_METADATA conditional, on when dbus is on
2802 * shell/ev-application.c: (ev_application_open_uri):
2804 Show the window after load so that we can initialize
2805 window size before it's showed.
2807 * shell/ev-window.c: (ev_window_setup_from_metadata),
2808 (ev_window_open_uri), (window_configure_event_cb),
2811 Save and load metadata information about window size.
2812 Not yet keeping states in account.
2814 * shell/main.c: (main):
2816 Shutdown metadata manager.
2818 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2820 * shell/ev-application-service.xml:
2822 * shell/Makefile.am:
2823 * shell/ev-application.c:
2824 * shell/ev-application.h:
2825 * shell/ev-window.c:
2826 * shell/ev-window.h:
2829 Add an optional dbus interface (--enable-dbus).
2830 Rework application code, mainly to be easier to
2832 Do not open multiple windows with the same document,
2835 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2837 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2838 pixbuf iff it exists.
2840 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2843 * backend/ev-render-context.[ch]:
2844 * backend/ev-selection.[ch]:
2846 Massive changes. We now support text selection of pdfs, and not
2847 just rectangular selection. This is pretty broken still, but I
2848 want to get something into CVS.
2850 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2852 * pdf/ev-poppler.cc:
2854 Fix for Bug 309080: crash on window close.
2856 * shell/ev-page-action.c: (page_changed_cb):
2858 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2859 jensgr@gmx.net (Jens Granseuer).
2861 2005-06-25 Marcel Telka <marcel@telka.sk>
2863 * configure.in (ALL_LINGUAS): Added sk.
2865 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2867 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2870 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2877 * cut-n-paste/recent-files/Makefile.am:
2881 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2883 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2884 (pixbuf_document_set_orientation), (rotate_pixbuf),
2885 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2886 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2888 Implement rotation and cleanup the code a bit.
2890 * tiff/tiff-document.c: (tiff_document_get_page_size),
2891 (tiff_document_get_orientation), (tiff_document_set_orientation),
2892 (rotate_pixbuf), (tiff_document_render_pixbuf),
2893 (tiff_document_document_iface_init), (tiff_document_init):
2895 Implement rotation. Was the quicker solution for the release
2896 but we really need to share this code in the shell.
2898 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2900 * pdf/ev-poppler.cc:
2902 Enable rotation, require poppler cvs. Fix a leak.
2904 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2906 * shell/ev-window.c: (update_action_sensitivity):
2908 Make properties unsensitive if document backend doesn't provide
2911 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2913 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2914 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2915 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2916 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2917 (bitmap_flip_rotate_counter_clockwise):
2918 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2919 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2921 * dvi/mdvi-lib/common.h:
2922 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2923 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2924 (opendvi), (mdvi_reload), (mdvi_init_context),
2925 (mdvi_destroy_context), (mdvi_dopage), (special):
2926 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2927 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2928 (file_hash_free), (register_encoding), (parse_spec),
2929 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2930 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2931 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2932 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2933 (mdvi_register_font_type), (mdvi_unregister_font_type),
2934 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2935 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2936 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2937 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2938 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2939 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2940 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2941 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2942 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2943 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2944 (mdvi_unregister_special), (mdvi_flush_specials):
2945 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2947 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2948 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2949 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2950 (free_font_metrics), (flush_font_metrics):
2951 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2953 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2954 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2955 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2956 (dstring_insert), (dstring_new), (dstring_reset):
2957 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2959 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2960 avoid conflict with libtool on FC4
2962 * shell/ev-window.c: (ev_window_cmd_help_about):
2964 Update copyright year. Fix for bug 308828.
2966 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2968 * shell/ev-view.c: (add_scroll_binding_keypad),
2969 (ev_view_binding_activated), (ev_view_class_init),
2970 (on_adjustment_value_changed):
2972 Bug 170874: Arrow keys switch pages in presentation mode
2974 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2976 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2978 Fix for Bug 308265: Sidebar dissappears coming out of
2981 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2983 * shell/ev-application.c: (ev_application_open):
2984 * shell/ev-document-types.c: (ev_document_types_add_filters),
2985 (ev_document_types_add_filters_for_type):
2986 * shell/ev-document-types.h:
2987 * shell/ev-window.c: (ev_window_cmd_save_as):
2989 Suggest basename as template when saving, provide filters
2990 for save dialog. It's bug 308402
2992 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2994 * pdf/ev-poppler.cc:
2995 * shell/ev-sidebar-links.c: (job_finished_callback):
2996 * shell/ev-view.c: (update_find_status_message):
3000 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
3002 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
3003 (egg_recent_view_uimanager_set_list):
3005 Fix buglet in !show_numbers case.
3007 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
3009 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
3010 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
3012 Use pango ellipsisation.
3014 * pdf/ev-poppler.cc:
3016 Fix refcount leak, from nsh.
3018 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3020 * cut-n-paste/recent-files/Makefile.am:
3021 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3022 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
3024 Removed EggRecentViewGtk
3026 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
3027 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
3028 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
3029 (ev_window_setup_recent):
3031 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
3034 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3036 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3037 (egg_recent_view_gtk_finalize):
3041 * cut-n-paste/toolbar-editor/Makefile.am:
3043 Fix location of cursor icon.
3045 * pdf/ev-poppler.cc:
3046 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
3047 (display_completion_text), (match_completion):
3048 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3049 (selection_changed_callback), (create_loading_model),
3050 (print_section_cb), (links_page_num_func),
3051 (update_page_callback_foreach):
3052 * shell/ev-window.c: (ev_window_dispose):
3054 Small memory fixes. Links model now store objects instead
3055 of pointers to improve memory management.
3057 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3059 * shell/ev-window.c: (zoom_control_changed_cb):
3061 Fix update of zoom control (bug 308268).
3063 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
3065 * shell/ev-properties.c (set_property): escape the text correctly.
3066 Handles non-UTF-8 properties and escaped properties. Also, sets
3067 the text to "<i>None</i>" if the property isn't set.
3069 * data/evince-properties.glade: Change the label to be ellipsized,
3070 and give it a minimum size.
3072 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3074 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
3075 * shell/ev-sidebar-links.c: (create_loading_model):
3076 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
3077 * shell/ev-view.c: (ev_view_set_document):
3078 * shell/ev-window.c: (ev_window_dispose):
3080 Various small fixes, mostly memory leaks. Thanks to valgrind.
3082 2005-06-19 Martin Kretzschmar <martink@gnome.org>
3084 * ps/ps-document.c: remove the locale.h include again ;-). And
3085 kill the (bogus) setlocale/savelocale business.
3087 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
3091 Include locale.h to fix build
3093 * shell/ev-sidebar.c:
3095 Remove unnecessary includes
3097 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3099 * dvi/dvi-document.c: (dvi_document_load):
3100 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
3103 Check for incorrect dvi files. Fix parsing dvi on AMD64
3104 platform. Thanks to tester@tester.ca (Olivier Crete).
3106 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3108 * shell/ev-page-action.c: (match_selected_cb),
3109 (display_completion_text), (match_completion), (update_model):
3110 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3111 (expand_open_links):
3112 * shell/ev-sidebar.c: (ev_sidebar_destroy),
3113 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
3114 (ev_sidebar_set_document):
3115 * shell/ev-window.c: (ev_window_xfer_job_cb),
3116 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
3118 Fixed lot's of memory leaks, for example, memory leak on reload,
3119 described in bug 307793.
3121 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
3123 * pdf/ev-poppler.cc:
3124 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
3125 (update_visible_range), (adjustment_changed_cb),
3126 (ev_sidebar_thumbnails_fill_model),
3127 (ev_sidebar_thumbnails_refresh),
3128 (ev_sidebar_tree_selection_changed),
3129 (ev_sidebar_icon_selection_changed),
3130 (ev_sidebar_thumbnails_use_icon_view),
3131 (ev_sidebar_thumbnails_set_document):
3132 * shell/ev-sidebar-thumbnails.h:
3133 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
3134 (ev_window_cmd_edit_rotate_right), (ev_window_init):
3136 Refresh thumbnails when changing orientation. Not fully
3137 working yet becuase of a sidebar bug.
3139 Set page orientation to poppler page everywhere. This sucks
3140 really need to fix poppler.
3142 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
3144 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3145 (egg_recent_view_gtk_new_menu_item),
3146 (egg_recent_view_gtk_set_property),
3147 (egg_recent_view_gtk_get_property),
3148 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
3149 (egg_recent_view_gtk_set_tooltip_func),
3150 (egg_recent_view_gtk_set_label_width),
3151 (egg_recent_view_gtk_get_label_width):
3152 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
3154 Sync with libegg (ellipsize labels)
3156 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3158 * data/evince-ui.xml:
3159 * shell/ev-window.c: (ev_window_cmd_go_forward),
3160 (ev_window_cmd_go_backward):
3162 Shift + PageUp moves 10 Pages. Fix for 306125
3164 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3166 * pdf/ev-poppler.cc:
3168 Add a flag to check if orientation has been overriden
3170 2005-06-17 Martin Kretzschmar <martink@gnome.org>
3172 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
3175 * ps/ps.h: add creator field to document.
3177 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
3180 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3182 * data/evince-properties.glade:
3183 * shell/ev-properties.c: (ev_properties_set_document):
3185 s/PDF Version/Format
3187 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3189 * shell/ev-properties.c: (ev_properties_set_document):
3191 Remove unnecessary translations
3193 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3195 * cut-n-paste/toolbar-editor/Makefile.am:
3197 Correct library name
3199 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3202 * cut-n-paste/recent-files/egg-recent-model.c:
3203 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
3204 (egg_recent_model_unlock_file):
3205 * cut-n-paste/recent-files/egg-recent-util.c:
3206 (egg_recent_util_get_unique_id):
3207 * cut-n-paste/recent-files/update-from-egg.sh:
3208 * cut-n-paste/toolbar-editor/Makefile.am:
3209 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3210 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3211 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3212 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3213 (egg_toolbars_model_get_type):
3214 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3216 Better makefile for toolbar editor and update everything
3219 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3221 * shell/ev-window.c: (update_document_mode):
3223 Prefer presentation mode when the document
3226 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3228 * data/evince-ui.xml:
3229 * shell/ev-window.c:
3231 Add control-equal for zooming
3233 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
3235 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
3237 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
3239 * backend/ev-document.c: (ev_document_get_orientation):
3240 * backend/ev-document.h:
3241 * pdf/ev-poppler.cc:
3242 * ps/ps-document.c: (ps_document_get_orientation),
3243 (ps_document_set_orientation), (ps_document_document_iface_init):
3245 Add a get_orientation api. Improve set_orientation.
3247 * data/evince-ui.xml:
3248 * shell/ev-view.c: (ev_view_set_orientation),
3249 (ev_view_rotate_right), (ev_view_rotate_left):
3251 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
3252 (ev_window_cmd_edit_rotate_right):
3254 Better ui for changing document orientation
3256 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3258 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
3259 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
3260 * shell/ev-sidebar-links.h:
3261 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3262 (ev_sidebar_page_iface_init):
3263 * shell/ev-sidebar-page.h:
3264 * shell/ev-sidebar-thumbnails.c:
3265 (ev_sidebar_thumbnails_get_property),
3266 (ev_sidebar_thumbnails_class_init),
3267 (ev_sidebar_thumbnails_set_document):
3268 * shell/ev-sidebar-thumbnails.h:
3269 * shell/ev-view.c: (ev_view_motion_notify_event):
3270 * shell/ev-window.c: (update_chrome_visibility),
3271 (ev_window_cmd_focus_page_selector),
3272 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
3273 (sidebar_page_main_widget_update_cb), (ev_window_init):
3275 Autoraise toolbar on GoToPage binding and fix bindings in
3276 EvSidebarThumbnails page.
3278 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
3280 * shell/ev-properties.c: (update_progress_label):
3282 Hide the progress label when finished; bug #307697.
3284 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3286 * pdf/ev-poppler.cc:
3288 Enable is_open for links, you will need poppler cvs
3290 * shell/ev-properties.c: (job_fonts_finished_cb):
3292 Get a lock on the document when filling the tree view
3294 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3296 * backend/ev-document-links.h:
3297 * pdf/ev-poppler.cc:
3298 * shell/ev-sidebar-links.c: (create_loading_model),
3299 (expand_open_links), (job_finished_callback):
3301 Expand links when specified by the document.
3302 Depend on a poppler api (defined out for now)
3304 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3306 * shell/ev-properties.c: (ev_properties_dispose),
3307 (ev_properties_class_init), (dialog_destroy_cb),
3308 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
3309 (ev_properties_set_document), (ev_properties_new),
3310 (ev_properties_show):
3311 * shell/ev-properties.h:
3313 Make it an object, cleanup the code, api to show it as transient
3314 and to set the document.
3316 * shell/ev-window.c: (ev_window_setup_document),
3317 (ev_window_cmd_file_properties):
3319 Adapt to EvProperties changes, do not show multiple
3320 times, update it when document changes.
3322 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3325 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
3326 (ps_document_set_orientation), (ps_document_document_iface_init):
3329 Implement orientation here too
3331 * shell/ev-properties.c: (ev_properties_new):
3332 * data/evince-properties.glade:
3334 Hide the fonts page for backends that doesnt
3337 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3339 * backend/ev-document.c: (ev_document_set_orientation):
3340 * backend/ev-document.h:
3341 * pdf/ev-poppler.cc:
3343 Add orientation api. Currently poppler api is not optimal,
3344 we need to set orientation every time we _get a page.
3345 I will try to fix that at some point.
3347 * data/evince-ui.xml:
3348 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
3349 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
3351 Add orientation menu items
3353 * shell/ev-page-cache.c: (ev_page_cache_clear):
3354 * shell/ev-page-cache.h:
3356 Add api to clear the cache
3358 * shell/ev-view.c: (setup_caches), (clear_caches),
3359 (ev_view_set_document), (ev_view_zoom_out),
3360 (ev_view_set_orientation):
3363 Implement orientation changing
3365 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
3367 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
3368 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
3369 * backend/ev-document-fonts.h:
3371 Separate scan and fill so that we can incrementally fill from
3372 the main thread. Add a progress api.
3374 * data/evince-properties.glade:
3375 * pdf/ev-poppler.cc:
3376 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
3378 * shell/ev-properties.c: (update_progress_label),
3379 (job_fonts_finished_cb), (setup_fonts_view):
3381 Incrementally feel the list and show the progress
3382 percentage in a label like acrobat does.
3384 You are going to need poppler cvs
3386 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
3388 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
3389 * backend/ev-document-fonts.h:
3390 * pdf/ev-poppler.cc:
3392 Make fonts model fill incrementally.
3394 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
3395 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
3396 (ev_job_queue_remove_job):
3397 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
3398 (ev_job_fonts_new), (ev_job_fonts_run):
3401 New job for fonts scanning
3403 * shell/ev-properties.c: (job_fonts_finished_cb),
3404 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
3405 * shell/ev-properties.h:
3406 * shell/ev-window.c: (ev_window_cmd_file_properties):
3408 Incrementally feel the treeview using the new job. Show Loading...
3409 message until scanning is completed.
3411 Hopefully I didnt break the build without the poppler patch.
3413 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3415 * shell/ev-application.c: (ev_application_open):
3416 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3417 (ev_document_type_get_type), (ev_document_type_lookup):
3418 * shell/ev-document-types.h:
3419 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3420 * shell/ev-job-xfer.h:
3421 * shell/ev-window.c: (ev_window_clear_local_uri),
3422 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3423 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3424 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3426 Transfer remote documents to tmp directory to display them later.
3428 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
3430 * backend/ev-document-info.h:
3431 * shell/ev-properties.c: (ev_properties_new):
3433 s/GTime*/GTime. Not sure why we was using a pointer
3436 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
3438 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3439 situations. That situation is that you're using GTK+-HEAD with
3440 the patch at #306726 is applied, and you have a document with <
3441 1500 pages in it. It's not quite as uniformly nice as the
3442 TreeView, but should be better in the long run.
3444 I'm pretty sure I guarded against breaking compilation with
3445 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3448 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3449 widget yet, so I commented that code out
3450 enable_view_actions_for_widget() for now. Need to figure this
3453 * shell/ev-page-action.c (match_selected_cb): emit the right
3454 signals. Our cool C-l completion now works.
3456 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3458 * backend/Makefile.am:
3459 * backend/ev-document-fonts.c:
3460 * backend/ev-document-links.c:
3461 * backend/ev-document.c: (ev_document_load):
3462 * backend/ev-document.h:
3463 * backend/ev-job-queue.c:
3464 * backend/ev-job-queue.h:
3465 * backend/ev-jobs.c:
3466 * backend/ev-jobs.h:
3467 * backend/ev-page-cache.c:
3468 * backend/ev-page-cache.h:
3470 EvPageCache and EvJobs are moved to shell.
3472 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3474 * lib/ev-file-helpers.h:
3476 New helper to work with temporary files
3478 * shell/Makefile.am:
3479 * shell/ev-application.c: (ev_application_open):
3480 * shell/ev-application.h:
3481 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3482 (remove_job_from_async_queue), (add_job_to_async_queue),
3483 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3484 (handle_job), (search_for_jobs_unlocked),
3485 (no_jobs_available_unlocked), (ev_render_thread),
3486 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3487 (ev_job_queue_add_job), (move_job_async), (move_job),
3488 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3489 * shell/ev-job-queue.h:
3490 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3491 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3492 * shell/ev-job-xfer.h:
3493 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3494 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3495 (ev_job_links_class_init), (ev_job_render_init),
3496 (ev_job_render_dispose), (ev_job_render_class_init),
3497 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3498 (ev_job_thumbnail_class_init), (ev_job_load_init),
3499 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3500 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3501 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3502 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3504 * shell/ev-page-action.c: (ev_page_action_set_document):
3505 * shell/ev-page-cache.c: (ev_page_cache_init),
3506 (ev_page_cache_class_init), (ev_page_cache_finalize),
3507 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3508 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3509 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3510 (ev_page_cache_get_title), (ev_page_cache_get_size),
3511 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3512 (ev_page_cache_get_height_to_page),
3513 (ev_page_cache_get_max_label_chars),
3514 (ev_page_cache_get_page_label),
3515 (ev_page_cache_has_nonnumeric_page_labels),
3516 (ev_page_cache_get_info), (ev_page_cache_next_page),
3517 (ev_page_cache_prev_page), (ev_page_cache_get):
3518 * shell/ev-page-cache.h:
3519 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3520 (ev_pixbuf_cache_clear_job_sizes),
3521 (ev_pixbuf_cache_add_jobs_if_needed),
3522 (ev_pixbuf_cache_set_page_range):
3523 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3524 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3525 * shell/ev-sidebar-thumbnails.c:
3526 (ev_sidebar_tree_selection_changed),
3527 (ev_sidebar_thumbnails_set_document):
3528 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3529 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3530 (ev_statusbar_get_context_id), (ev_statusbar_push),
3531 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3532 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3533 (ev_statusbar_set_progress):
3534 * shell/ev-statusbar.h:
3535 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3536 (ev_view_find_previous):
3537 * shell/ev-window.c: (ev_window_is_empty),
3538 (ev_window_setup_document), (password_dialog_response),
3539 (ev_window_clear_jobs), (ev_window_load_job_cb),
3540 (ev_window_xfer_job_cb), (ev_window_open_uri),
3541 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3542 (ev_window_print), (ev_window_print_range),
3543 (ev_window_state_event), (ev_window_cmd_view_reload),
3544 (menu_item_select_cb), (menu_item_deselect_cb),
3545 (view_status_changed_cb), (ev_window_dispose),
3546 (drag_data_received_cb), (ev_window_init):
3547 * shell/ev-window.h:
3548 * shell/main.c: (load_files):
3550 New statusbar to show progress on idle. Two new jobs -
3551 xfer job and load job to load document in background. And update
3552 of page_cache clients to new location of code.
3554 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3556 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3557 selection in open dialog. It also remembers the last visited directory
3558 in the current session.
3560 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3562 * shell/ev-properties.c: (ev_properties_new):
3563 * shell/ev-properties.h:
3564 * shell/ev-window.c: (ev_window_cmd_file_properties):
3566 Get document info from page cache instead of document itself.
3567 This should fix crash related to race conditions described in
3570 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3572 * ps/ps-document.c: (ps_document_init),
3573 (send_ps), (get_page_box), (output), (catchPipe), (input),
3574 (stop_interpreter), (file_length), (file_readable),
3575 (check_filecompressedb), (ps_document_enable_interpreter),
3576 (document_load), (ps_async_renderer_render_pixbuf):
3579 Big cleanup of the ps code
3581 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3583 * backend/Makefile.am:
3584 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3585 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3586 * backend/ev-async-renderer.h:
3588 Add an async renderer interface (method + callback) which
3589 is useful for backends like ps.
3591 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3592 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3593 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3594 (ev_job_queue_add_job), (move_job_async), (move_job),
3595 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3597 Add queues for async renderer, these are executed on the
3600 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3601 (ev_job_render_run):
3602 * backend/ev-jobs.h:
3604 If the backend support async renderer interface use it.
3606 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3607 (setup_pixmap), (ps_document_get_type),
3608 (ps_async_renderer_render_pixbuf),
3609 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3611 Implement async renderer interface.
3613 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3615 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3617 Cleanup links job on exit.
3619 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3621 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3622 (drag_data_get_cb), (drag_data_received_cb):
3623 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3624 (drag_data_get_cb), (parse_item_list),
3625 (egg_toolbar_editor_load_actions):
3626 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3627 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3628 (parse_item_list), (parse_toolbars):
3629 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3630 (dvi_pixbuf_put_pixel):
3632 Fix gcc 4.0 warnings
3634 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3636 * ps/ps-document.c: (start_interpreter):
3638 Fix warning when loading ps
3640 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3642 * ps/ps-document.c: (output):
3644 Fix crash when priting gs error messages.
3646 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3648 * backend/ev-page-cache.c: (_ev_page_cache_new):
3649 * backend/ev-page-cache.h:
3651 Use a const to return title so that we dont double
3652 free it. Small cleanup and fix a leak.
3654 * shell/ev-window.c: (update_window_title):
3656 strdup value from get_title.
3658 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3660 * shell/ev-sidebar-links.c: (job_finished_callback),
3661 (ev_sidebar_links_set_document):
3663 Cleanup the old job when changing document
3665 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3667 * shell/ev-stock-icons.c:
3668 * shell/ev-stock-icons.h:
3669 * shell/ev-window.c:
3671 Add stock icons for actions that can appear in toolbar. Fix for
3674 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3676 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3677 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3678 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3679 * backend/ev-page-cache.h:
3680 * shell/ev-view.c: (scroll_to_current_page),
3681 (view_update_range_and_current_page), (get_page_y_offset),
3682 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3683 (ev_view_size_request_continuous),
3684 (ev_view_zoom_for_size_continuous_and_dual_page),
3685 (ev_view_zoom_for_size_continuous):
3687 More compact EvView layout in document with pages of different size.
3689 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3691 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3694 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3696 * shell/ev-view.c: (view_set_adjustment_values):
3697 * shell/ev-window.c: (ev_window_cmd_file_properties):
3699 A bit different fix for rounding problem but it has no
3700 problems on startup. Make properties window transient to parent.
3702 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3704 * pdf/ev-poppler.cc:
3706 More commenting of font stuff.
3708 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3710 * pdf/ev-poppler.cc:
3712 Comment out some more fonts stuff. Should really
3713 work without the poppler patch now.
3715 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3717 * pdf/ev-poppler.cc:
3721 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3723 * data/evince-properties.glade:
3724 * pdf/ev-poppler.cc:
3725 * shell/ev-properties.c: (setup_fonts_view):
3727 Set the column title. Show the dialog only
3728 once everything is setup.
3729 Getting font info can be very slow... will
3730 prolly need to make this threaded too.
3732 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3734 * backend/Makefile.am:
3735 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3736 (ev_document_fonts_get_fonts_model):
3737 * backend/ev-document-fonts.h:
3738 * data/evince-properties.glade:
3739 * pdf/ev-poppler.cc:
3740 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3741 * shell/ev-properties.h:
3742 * shell/ev-window.c: (ev_window_cmd_file_properties):
3744 Implement fonts list. Defined out for now, since it depends
3745 on a not yet committed poppler patch.
3747 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3749 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3752 * shell/ev-window.c: Make sure we add the timeout when we get a
3755 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3756 adjustment->value before calculating the zoom factor to average
3757 out all of our rounding errors. The page no longer 'drifts' when
3760 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3762 * data/evince-properties.glade:
3763 * shell/ev-properties.c: (ev_properties_format_date),
3766 Labels don't expand when the dialogue is resized.
3767 strftime result needs to be converted to UTF-8. Thanks
3768 to Christian Persch <chpe@gnome.org>.
3770 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3772 * data/evince-properties.glade:
3776 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3778 * backend/ev-document-info.h:
3779 * backend/ev-document.c: (ev_document_info_free):
3780 * data/evince-properties.glade:
3781 * pdf/ev-poppler.cc:
3782 * ps/ps-document.c: (ps_document_get_info):
3783 * shell/ev-properties.c: (ev_properties_format_date),
3784 (set_property), (ev_properties_new):
3785 * shell/ev-properties.h:
3786 * shell/ev-window.c: (ev_window_cmd_file_properties):
3788 Rework properties code to take only EvPropertyInfo
3789 in the constructor so that it can be useful for
3790 nautilus plugin too.
3792 Deal with backends that doesnt support some properties.
3793 Make set property code generic.
3795 2005-06-04 Christian Persch <chpe@gnome.org>
3797 * data/evince-properties.glade:
3799 fix spacings, make resizeable, and make data labels
3800 selectable + ellipsised
3802 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3804 * backend/ev-document-info.h:
3806 * data/evince-ui.xml:
3807 * pdf/ev-poppler.cc:
3808 * shell/Makefile.am:
3809 * shell/ev-window.c: (update_action_sensitivity),
3810 (ev_window_cmd_file_properties):
3812 Initial go at file properties. Patch by
3813 Emil Soleyman-Zomalan <emil@soleyman.com>.
3814 Needs love see #169583
3816 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3818 * ps/ps-document.c: (output):
3819 * ps/ps.c: (psscan):
3821 Try to render even if psscan fails.
3823 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3825 * ps/ps.c: (psscan), (pscopydoc):
3827 Port buffered reading code from gv
3829 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3831 * ps/ps-document.c: (interpreter_message), (output):
3833 Do not fail on interpreter messages
3835 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3837 * backend/ev-document-misc.c:
3838 (ev_document_misc_get_thumbnail_frame):
3840 Pages can be 0 x 0, dont assert on this case
3842 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3844 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3845 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3847 Correctly manage our reference on document. Finally the reload
3848 huge leak is gone...
3850 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3852 * ps/ps-document.c: (ps_document_dispose):
3854 Forgot to chain it to the parent. Thanks chpe.
3856 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3858 * ps/ps-document.c: (ps_document_dispose),
3859 (ps_document_class_init), (stop_interpreter), (document_load):
3861 Cleanup dispose a bit. Dont leak the whole pixmap.
3863 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3865 * pdf/ev-poppler.cc:
3867 Release the poppler document on dispose
3869 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3871 * shell/ev-view.c: (ev_view_set_document):
3873 Release ref on the pixbuf cache when changing
3876 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3878 * ps/ps-document.c: (ps_document_get_info):
3882 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3884 * backend/ev-page-cache.c: (ev_page_cache_init),
3885 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3886 * backend/ev-page-cache.h:
3887 * shell/ev-page-action.c: (page_changed_cb):
3889 Set page action entry width depending on labels width. Fix
3892 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3894 * backend/ev-link.c: (ev_link_class_init):
3896 Allow -1 as page value (error)
3898 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3900 * shell/ev-sidebar-thumbnails.c:
3901 (ev_sidebar_thumbnails_set_document):
3902 * shell/ev-view.c: (scroll_to_current_page),
3903 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3904 (page_changed_cb), (on_adjustment_value_changed),
3905 (ev_view_set_document):
3907 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3910 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3913 * djvu/djvu-document.c: (djvu_document_get_page_size):
3915 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3918 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3920 * shell/ev-view.c (draw_one_page): modify the expose handling to
3923 * shell/ev-window.c (update_action_sensitivity): Respect
3924 permissions field. Kowtow to the man.
3926 * pdf/ev-poppler.cc: Get the permissions field.
3928 * tiff/*c: Make a tiny bit more robust.
3930 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3932 * djvu/djvu-document.c:
3934 Pop messages from djvu context message queue.
3936 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3938 * configure.ac, Makefile.am, shell/Makefile.am:
3939 * tiff/Makefile.am, shell/ev-document-types.c:
3941 Cleanup tiff configure checks. Fix for bug 305218.
3943 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3945 * configure.ac: Added "uk" to ALL_LINGUAS.
3947 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3949 * cut-n-paste/zoom-control/ephy-zoom.c:
3950 (ephy_zoom_get_changed_zoom_level):
3951 * cut-n-paste/zoom-control/ephy-zoom.h:
3952 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3953 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3954 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3955 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3956 (zoom_control_changed_cb), (ev_window_init):
3958 Fix minor points related to moving best fit up. Introduce
3959 "zoom" property and make zoom control change it's value on
3960 notify::zoom signals. Fix for 305080.
3962 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3964 * data/evince-ui.xml:
3965 * shell/ev-window.c: (set_view_actions_sensitivity):
3967 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3969 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3973 Depends on poppler 0.3.2
3975 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3977 * cut-n-paste/recent-files/egg-recent-item.c:
3978 (egg_recent_item_get_short_name):
3979 * cut-n-paste/toolbar-editor/Makefile.am:
3980 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3981 (new_pixbuf_from_widget):
3982 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3983 * cut-n-paste/toolbar-editor/egg-marshal.c:
3984 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3985 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3989 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3991 * tiff/tiff-document.c: Rough TIFF backend.
3993 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3997 * cut-n-paste/toolbar-editor/Makefile.am:
4001 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
4003 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
4004 (ev_view_find_next), (ev_view_find_previous):
4006 Remove the locks around get_n_results
4008 2005-05-21 Juerg Billeter <j@bitron.ch>
4010 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
4012 Pass correct number of pages to poppler.
4014 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4018 * data/evince.desktop.in:
4019 * data/evince.desktop.in.in:
4022 Add conditionally dvi and djvu to desktop types. Fix for 304658.
4024 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
4026 * shell/ev-view.c: (view_update_adjustments),
4027 (view_set_adjustment_values): cast adjustmen->value to (int)
4028 before using it. Otherwise, we get off by a pixel in some
4031 (draw_one_page): Draw the border on expose.
4033 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
4035 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
4036 adjustment when the mode changes, #304923
4038 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4040 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
4041 flickering on resize but still use gdk_window_scroll on
4044 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
4046 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
4049 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
4051 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
4052 second page on page_changed if possible, #304669
4054 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
4056 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
4057 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
4059 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
4062 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
4063 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
4064 (ev_view_zoom_for_size_presentation),
4065 (ev_view_zoom_for_size_continuous_and_dual_page),
4066 (ev_view_zoom_for_size_continuous),
4067 (ev_view_zoom_for_size_dual_page),
4068 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
4070 * shell/ev-window.c: (update_view_size),
4071 (ev_window_sizing_mode_changed_cb):
4073 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
4074 the scrollbars. It's not 100% right, but it's much closer. Kills
4075 an infinite loop, #304769
4078 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
4080 * data/evince-ui.xml:
4081 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
4082 * shell/ev-window.c: (set_view_actions_sensitivity):
4084 Make PgUp/Down behave like Space
4086 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
4088 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
4089 * backend/ev-ps-exporter.h:
4090 * pdf/ev-poppler.cc:
4091 * ps/ps-document.c: (ps_document_ps_export_begin):
4092 * shell/ev-print-job.c: (idle_print_handler):
4094 Adapt to new poppler api
4096 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
4098 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4099 (ephy_zoom_control_init):
4101 Translate zoom levels
4103 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
4105 * cut-n-paste/zoom-control/ephy-zoom.c:
4106 (ephy_zoom_get_zoom_level_index):
4108 Fix current zoom -> zoom control match
4110 2005-05-18 James Bowes <bowes@cs.dal.ca>
4112 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
4113 rather than the scrolled_window that it's in. Fixes bug #304655.
4115 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
4117 * shell/ev-view.c: (view_update_adjustments),
4118 (view_set_adjustment_values), (view_update_range_and_current_page),
4119 (view_scroll_to_page), (set_scroll_adjustment),
4120 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
4121 (ev_view_scroll), (ev_view_scroll_view),
4122 (ensure_rectangle_is_visible), (find_page_at_location),
4123 (get_link_at_location), (go_to_link), (status_message_from_link),
4124 (ev_view_size_request_continuous_dual_page),
4125 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
4126 (ev_view_unrealize), (ev_view_expose_event),
4127 (ev_view_button_press_event), (ev_view_motion_notify_event),
4128 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
4129 (draw_rubberband), (highlight_find_results), (draw_one_page),
4130 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
4131 (ev_view_init), (find_changed_cb), (page_changed_cb),
4132 (on_adjustment_value_changed), (ev_view_new),
4133 (ev_view_set_document), (ev_view_set_zoom),
4134 (ev_view_set_continuous), (ev_view_set_dual_page),
4135 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
4136 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
4137 (ev_view_zoom_for_size_presentation),
4138 (ev_view_zoom_for_size_continuous_dual_page),
4139 (ev_view_zoom_for_size_continuous),
4140 (ev_view_zoom_for_size_dual_page),
4141 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4142 (ev_view_get_status), (ev_view_set_status),
4143 (update_find_status_message), (ev_view_get_find_status),
4144 (ev_view_set_find_status), (jump_to_find_result),
4145 (jump_to_find_page), (compute_selections), (clear_selection),
4146 (ev_view_select_all), (get_selected_text), (ev_view_copy),
4147 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4148 (ev_view_update_primary_selection),
4149 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
4151 * shell/ev-window.c: (ev_window_open_page_label),
4152 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
4154 * shell/ev-window.h:
4155 * shell/main.c: (load_files):
4157 Massive code clean up from Nickolay Shmyrev. Keep page offset
4158 when resizing. Remove the bin_window(). Also, patch from James
4159 Bowes to fix command line page, #300641
4161 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
4163 * data/evince-ui.xml:
4166 * shell/ev-window.c: (update_action_sensitivity):
4168 Get rid of View->Normal Size, it's just confusing
4170 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
4172 * backend/ev-document-info.h:
4173 * backend/ev-document.c: (ev_document_info_free): Free the
4176 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4177 (clear_range), (add_range), (update_visible_range),
4178 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
4179 (ev_sidebar_thumbnails_set_document):
4180 * shell/ev-window.c: (ev_window_setup_document): Only render the
4181 visible thumbnails. It takes an instant to render, but it uses
4184 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
4186 * shell/ev-sidebar-links.c: (popup_menu_cb):
4190 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
4193 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
4194 (button_press_cb), (ev_sidebar_links_construct):
4196 Show the popup menu also on keybindings
4198 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
4200 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
4201 * shell/ev-window.h:
4203 Expose api to print a range (with dialog). Make private _print use
4206 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
4207 (ev_sidebar_links_construct):
4209 Show a print context menu on linkx, it prints the selected
4212 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
4214 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
4217 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
4223 * shell/ev-window.c: (build_comments_string),
4224 (ev_window_cmd_help_about):
4226 Show poppler version/backend and authors
4228 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
4230 * cut-n-paste/zoom-control/ephy-zoom.c:
4231 (ephy_zoom_get_zoom_level_index):
4232 * cut-n-paste/zoom-control/ephy-zoom.h:
4234 Move the best fit items at the top of the list
4236 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
4238 * shell/ev-marshal.list:
4239 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
4240 (activate_cb), (match_selected_cb), (activate_link_cb),
4241 (connect_proxy), (ev_page_action_class_init):
4242 * shell/ev-page-action.h:
4244 Use signals to notify action activation. Hopefully
4245 I did not break completion since I cant test...
4247 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
4248 (register_custom_actions):
4250 Connect to page selector actions and also grab focus on
4251 the view when activated.
4253 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
4255 * pdf/ev-poppler.cc:
4256 * backend/ev-page-cache.c: make page size calculation consistent
4257 and set it to (int)( width * scale + 0.5). This makes the weird
4258 line going through the middle of the page go away.
4260 * shell/ev-view.c: move painting the background page after
4261 checking the expose area covers us.
4263 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4265 * data/evince-password.glade:
4267 Mark labels as not translatable. Fix for bug 302842.
4269 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
4271 * configure.ac: Added "es" to ALL_LINGUAS.
4273 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4275 * data/evince-toolbar.xml:
4276 * shell/ev-window.c: (update_action_sensitivity),
4277 (ev_window_setup_document), (ev_window_set_page_mode),
4280 Remove some leftover code from jrb first continous
4281 attempt. Use the new actions, we still need good icons
4284 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4286 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
4288 Update label when connecting proxy. Fix a warning with NULL
4291 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4293 * data/evince-ui.xml:
4294 * shell/ev-page-action.c: (ev_page_action_grab_focus):
4295 * shell/ev-page-action.h:
4296 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
4298 Add mnemonic for edit toolbar.
4299 ctrl+l focus the page entry.
4301 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4304 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
4306 * shell/main.c: (main):
4308 Put the toolbar xml in evince own dot dir
4310 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4312 * shell/ev-window.c: (ev_window_init):
4314 Make the toolbar not removable
4316 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4318 * data/evince-ui.xml:
4319 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
4320 * shell/ev-sidebar-links.h:
4321 * shell/ev-sidebar-thumbnails.c:
4322 (ev_sidebar_thumbnails_get_treeview):
4323 * shell/ev-sidebar-thumbnails.h:
4324 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
4325 (ev_view_class_init):
4327 * shell/ev-window.c: (update_action_sensitivity),
4328 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
4329 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
4330 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
4333 This is evil... Make space/backspace global accelerators but
4334 enable them only for some widgets (sidebars and view).
4335 I dont like it, but I dont know a better way... :/
4337 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4339 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
4340 (ev_page_action_widget_finalize),
4341 (ev_page_action_widget_class_init), (update_page_cache):
4343 Keep a weak reference on proxy->page_cache so that we
4344 dont try to disconnect the signal if the object is already
4345 gone. Maybe there is a better way to cleanup reference handling
4346 in page action though...
4348 2005-05-10 Juerg Billeter <j@bitron.ch>
4350 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
4351 * backend/ev-ps-exporter.h:
4352 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
4353 * ps/ps-document.c: (ps_document_ps_export_begin):
4355 Change api to pass print range to ps_exporter_begin. The pdf backend
4356 requires this information.
4358 * shell/ev-print-job.c: (idle_print_handler):
4362 2005-05-10 Juerg Billeter <j@bitron.ch>
4364 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4365 (idle_print_handler)
4366 * shell/ev-window.c: (ev_window_print):
4368 Support printing page range, based on patch by Amaury Jacquot
4370 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4372 * data/evince-toolbar.xml:
4374 Add zoom control to available items
4376 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4378 * shell/ev-window.c: (update_action_sensitivity):
4380 Set slash action insensitive when appropriate
4382 2005-05-10 Christian Persch <chpe@gnome.org>
4384 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
4386 Fix warning on the overflow menu
4388 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4390 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
4392 Check for uri correctness/existence
4394 2005-05-09 Juerg Billeter <j@bitron.ch>
4396 * shell/ev-window.c: (using_postscript_printer):
4398 LPD printers use postscript, too
4400 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4402 * shell/ev-window.c: (register_custom_actions):
4404 The zoom one is actually sort of useful,
4407 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4409 * shell/ev-window.c: (register_custom_actions):
4411 Hide page/zoom controls from overflow, they
4414 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4416 * cut-n-paste/update-from-egg.sh:
4418 Share it between all cut-n-paste subdirs
4420 * cut-n-paste/recent-files/Makefile.am:
4422 Fix to use "global" update-from-egg.sh
4424 * cut-n-paste/recent-files/egg-recent-model.c:
4425 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4426 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4427 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4428 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4432 * cut-n-paste/toolbar-editor/Makefile.am:
4434 Fix to use "global" update-from-egg.sh
4436 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4440 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4443 * cut-n-paste/Makefile.am:
4444 * cut-n-paste/recent-files/Makefile.am:
4445 * cut-n-paste/toolbar-editor/.cvsignore:
4446 * cut-n-paste/toolbar-editor/Makefile.am:
4447 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4448 (egg_editable_toolbar_get_type), (get_toolbar_position),
4449 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4450 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4451 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4452 (set_item_drag_source), (create_item_from_action), (create_item),
4453 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4454 (popup_toolbar_context_menu_cb), (free_dragged_item),
4455 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4456 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4457 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4458 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4459 (item_added_cb), (item_removed_cb),
4460 (egg_editable_toolbar_construct),
4461 (egg_editable_toolbar_disconnect_model),
4462 (egg_editable_toolbar_deconstruct),
4463 (egg_editable_toolbar_set_model),
4464 (egg_editable_toolbar_set_ui_manager),
4465 (egg_editable_toolbar_set_property),
4466 (egg_editable_toolbar_get_property),
4467 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4468 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4469 (egg_editable_toolbar_new_with_model),
4470 (egg_editable_toolbar_get_edit_mode),
4471 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4472 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4473 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4474 (new_pixbuf_from_widget), (new_separator_pixbuf),
4475 (update_separator_image), (style_set_cb),
4476 (_egg_editable_toolbar_new_separator_image),
4477 (egg_editable_toolbar_get_model):
4478 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4479 * cut-n-paste/toolbar-editor/egg-marshal.c:
4480 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4481 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4482 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4483 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4484 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4485 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4486 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4487 (editor_drag_data_delete_cb), (drag_data_get_cb),
4488 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4489 (editor_create_item), (update_editor_sheet), (setup_editor),
4490 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4491 (parse_item_list), (model_has_action), (update_actions_list),
4492 (egg_toolbar_editor_load_actions):
4493 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4494 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4495 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4496 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4497 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4498 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4499 (egg_toolbars_model_add_separator), (impl_add_item),
4500 (parse_item_list), (egg_toolbars_model_add_toolbar),
4501 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4502 (impl_get_item_data), (impl_get_item_type),
4503 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4504 (egg_toolbars_model_init), (free_toolbar),
4505 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4506 (egg_toolbars_model_remove_toolbar),
4507 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4508 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4509 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4510 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4511 (egg_toolbars_model_get_item_data),
4512 (egg_toolbars_model_get_item_type):
4513 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4514 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4516 * data/evince-toolbar.xml:
4517 * data/evince-ui.xml:
4518 * data/hand-open.png:
4520 * shell/Makefile.am:
4521 * shell/ev-window.c: (update_chrome_visibility),
4522 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4523 (ev_window_dispose), (ev_window_init):
4525 Implement epiphany like toolbar editor. Based on patch by
4526 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4528 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4530 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4532 Use set_cursor instead of set_selection, so that
4533 the keyboard focus moves too.
4535 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4537 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4539 Fix infinite loop when loading Type1 fonts
4541 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4543 * data/evince-ui.xml:
4544 * shell/ev-window.c:
4548 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4552 Make --disable really disable
4554 2005-05-07 Juerg Billeter <j@bitron.ch>
4556 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4558 Compare page labels even without has_labels set, fixes setting page
4561 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4563 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4564 (ev_view_set_cursor), (ev_view_button_press_event),
4565 (ev_view_motion_notify_event), (ev_view_button_release_event),
4568 Implement middle button scrolling. Based on a patch
4569 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4571 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4573 * shell/ev-document-types.c: (get_slow_mime_type),
4574 (get_document_type_from_mime), (ev_document_type_lookup):
4575 * shell/ev-document-types.h:
4577 Change api to lookup from uri. Do fast lookup first, if the
4578 type is unknown try with data sniffing.
4580 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4581 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4585 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4587 * thumbnailer/Makefile.am:
4591 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4598 * data/evince-ui.xml:
4600 Hide presentation mode for now
4602 * shell/ev-view.c: (highlight_find_results):
4604 Show current find selection only on current page
4606 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4608 * shell/ev-view.c: (ev_view_select_all):
4610 Compute size of the actual page, not of
4613 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4615 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4616 (view_rect_to_doc_rect), (compute_selections),
4617 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4618 (ev_view_copy), (ev_view_primary_get_cb),
4619 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4620 (ev_view_button_press_event), (ev_view_motion_notify_event),
4621 (ev_view_button_release_event), (page_changed_cb):
4625 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4627 * shell/ev-view.c: (compute_border), (get_page_extents),
4628 (doc_rect_to_view_rect), (highlight_find_results),
4629 (ev_view_bin_expose), (ev_view_select_all),
4630 (ev_view_motion_notify_event), (update_find_status_message),
4631 (jump_to_find_result), (jump_to_find_page):
4633 First go at fixing search, still buggy
4635 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4637 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4638 dropdown box and button at the top of the sidebar.
4640 2005-05-02 James Bowes <bowes@cs.dal.ca>
4642 * configure.ac: Output zoom-control Makefile.
4643 * cut-n-paste/Makefile.am: build zoom-control subdir.
4644 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4645 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4646 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4647 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4648 * cut-n-paste/zoom-control/ephy-zoom.c:
4649 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4650 from epiphany, and modified to add a separator into the menu.
4651 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4652 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4653 zoom-control action.
4654 * shell/Makefile.am: Include zoom-control flags.
4655 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4656 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4657 (ev_view_zoom_for_size_presentation),
4658 (ev_view_zoom_for_size_continuous_and_dual_page),
4659 (ev_view_zoom_for_size_continuous),
4660 (ev_view_zoom_for_size_dual_page),
4661 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4662 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4663 ev_view_get_zoom and ev_view_get_sizing_mode.
4665 * shell/ev-window.c: (update_action_sensitivity),
4666 (update_sizing_buttons), (zoom_control_changed_cb),
4667 (register_custom_actions): Initialize and use the zoom-control
4670 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4672 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4673 preview cache back to 1. Don't know when it got set to 0.
4675 * shell/ev-view.c: (compute_border), (ev_view_realize),
4676 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4677 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4678 (ev_view_get_fullscreen), (ev_view_set_presentation),
4679 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4680 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4682 * shell/ev-window.c:
4683 (update_chrome_visibility),
4684 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4685 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4686 (update_document_mode), (ev_window_update_fullscreen_action),
4687 (ev_window_fullscreen), (ev_window_unfullscreen),
4688 (ev_window_cmd_view_fullscreen),
4689 (ev_window_update_presentation_action),
4690 (ev_window_run_presentation), (ev_window_stop_presentation),
4691 (ev_window_cmd_view_presentation), (ev_window_state_event),
4692 (ev_window_focus_in_event), (ev_window_focus_out_event),
4693 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4694 * data/evince-ui.xml: Initial presentation mode. We should
4695 probably hide this until it's done, as it's quite rough. Also,
4696 change full-screen to fullscreen and add two getters to EvView.
4698 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4700 * shell/ev-page-action.c: (update_page_cache),
4701 (ev_page_action_dispose):
4702 * shell/ev-window.c: (destroy_fullscreen_popup),
4703 (ev_window_create_fullscreen_popup):
4705 Use connect_object rather than explicitly
4706 disconnect on dispose.
4708 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4710 * shell/ev-page-action.c: (update_page_cache),
4711 (ev_page_action_dispose):
4713 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4715 * backend/ev-page-cache.c: (_ev_page_cache_new),
4716 (ev_page_cache_set_page_label),
4717 (ev_page_cache_has_nonnumeric_page_labels):
4718 * backend/ev-page-cache.h:
4719 * shell/ev-page-action.c: (update_pages_label):
4721 If all page labels are numeric, fallback to default
4722 way to display number of pages. See bug 173185.
4724 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4726 * shell/ev-page-action.c: (ev_page_action_dispose):
4727 * shell/ev-view.c: (view_update_range_and_current_page):
4728 * shell/ev-window.c: (ev_window_dispose):
4730 Set page on scroll in continuous mode. Fixes bug 301986.
4731 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4733 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4737 Require poppler 0.3.0
4739 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4741 * shell/Makefile.am, configure.ac: Fix build problems
4742 with t1lib. Bug 301996.
4744 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4746 * shell/ev-view.c: (ev_view_scroll_event):
4748 Scroll up increase zoom
4750 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4752 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4753 (ev_view_set_sizing_mode),
4754 (ev_view_zoom_for_size_continuous_and_dual_page),
4755 (ev_view_zoom_for_size_continuous):
4756 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4757 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4758 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4761 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4762 Fix for 165473 and 165472.
4764 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4767 * thumbnailer/Makefile.am:
4768 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4769 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4770 * thumbnailer/evince-thumbnailer.schemas.in:
4772 Make thumbnailer schemas translatable. Fix for bug 301773
4774 * thumbnailer/evince-thumbnailer-djvu.schemas:
4775 * thumbnailer/evince-thumbnailer-dvi.schemas:
4776 * thumbnailer/evince-thumbnailer.schemas:
4780 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4782 * shell/ev-view.c (ev_view_init): forgot to set this.
4784 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4786 * shell/ev-view.c: (find_page_at_location),
4787 (get_link_at_location),
4788 (ev_view_set_show_border), (ev_view_set_spacing),
4789 (ev_view_zoom_for_size_continuous_and_dual_page),
4790 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4791 Also, add a quick fix measuring of widths. Also, removed
4792 ev_view_set_spacing and ev_view_set_show_border.
4794 * shell/ev-window.c: (ev_window_unfullscreen),
4795 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4797 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4799 * shell/ev-view.c: (view_update_range_and_current_page),
4802 Fix crash on exit and scrolling to page in continuous view.
4804 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4807 * backend/ev-page-cache.c: (_ev_page_cache_new),
4808 (ev_page_cache_get_max_width_size),
4809 (ev_page_cache_get_max_height_size):
4810 * backend/ev-page-cache.h:
4811 * data/evince-ui.xml:
4812 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4813 * shell/ev-view.c: (view_update_adjustments),
4814 (view_update_range_and_current_page), (get_bounding_box_size),
4815 (ev_view_size_request_continuous_and_dual_page),
4816 (ev_view_size_request_continuous),
4817 (ev_view_size_request_dual_page),
4818 (ev_view_size_request_single_page), (ev_view_size_request),
4819 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4820 (ev_view_bin_expose), (ev_view_expose_event),
4821 (ev_view_set_property), (ev_view_get_property),
4822 (ev_view_class_init), (ev_view_init), (ev_view_new),
4823 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4824 (ev_view_set_dual_page), (ev_view_set_full_screen),
4825 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4826 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4827 (ev_view_zoom_out), (zoom_for_size_fit_width),
4828 (zoom_for_size_best_fit),
4829 (ev_view_zoom_for_size_continuous_and_dual_page),
4830 (ev_view_zoom_for_size_continuous),
4831 (ev_view_zoom_for_size_dual_page),
4832 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4833 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4835 * shell/ev-window.c: (update_action_sensitivity),
4836 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4837 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4838 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4839 (ev_window_cmd_view_zoom_out), (update_view_size),
4840 (ev_window_set_sizing_mode), (ev_window_init):
4842 Add Continuous and Dual page modes.
4844 2005-04-23 James Bowes <bowes@cs.dal.ca>
4846 * dvi/dvi-document.c: (dvi_document_load),
4847 (dvi_document_thumbnails_get_thumbnail),
4848 (dvi_document_init_params): Fix up some mixups between
4849 width and height to correct thumbnail rendering.
4851 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4853 * dvi/mdvi-lib/private.h:
4854 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4856 Suppess output for kpathsea during font generation. Thanks to
4859 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4866 * Makefile.am: fix distcheck.
4868 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4870 * shell/ev-sidebar-links.c: (selection_changed_callback),
4871 (update_page_callback), (row_activated_callback),
4872 (job_finished_callback), (ev_sidebar_links_set_document):
4874 Fix for bug #169901. Double click on links expands tree.
4876 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4878 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4879 hard-coded style. Fix for bug 170111
4881 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4883 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4886 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4888 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4890 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4892 * pdf/ev-poppler.cc:
4893 * shell/ev-view.c: (highlight_find_results):
4895 Fix find on single page documents
4897 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4899 * data/evince.schemas.in: fix for bug 301390
4901 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4903 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4904 (ev_view_zoom_out), (ev_view_zoom_normal):
4906 * shell/ev-window.c: (update_action_sensitivity),
4907 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4908 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4909 (ev_window_cmd_view_normal_size):
4911 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4912 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4915 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4919 Depend on 2.57, 2.59 doesnt seem to be necessary
4921 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4923 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4926 Put back total number of pages as (1 of 1234)
4928 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4930 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4933 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4934 function. This helps debugging.
4936 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4938 * djvu/djvu-document.c: (djvu_document_class_init),
4939 (djvu_document_get_info), (djvu_document_document_iface_init):
4940 * dvi/dvi-document.c: (dvi_document_class_init),
4941 (dvi_document_get_info), (dvi_document_document_iface_init):
4943 Dummy implementation of get_info method for dvi and djvu. Fix
4944 crashes with those backends
4946 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4948 * data/evince.desktop.in:
4950 Add application/x-gzpostscript
4952 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4954 * data/evince.schemas.in: Added real long descriptions,
4957 * README: Added actual text, closes bug 171869
4959 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4961 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4965 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4967 * backend/ev-document-info.h:
4969 s/GDate */GDate so we can just use g_free
4971 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4973 * shell/ev-window.c: (update_document_mode),
4974 (ev_window_setup_document):
4976 Show the window in fullscreen when specified by
4979 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4981 * backend/ev-document.c: (ev_document_class_init),
4982 (ev_document_get_info), (ev_document_render_pixbuf):
4983 * backend/ev-document.h:
4984 * backend/ev-page-cache.c: (_ev_page_cache_new):
4985 * pdf/ev-poppler.cc:
4986 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4987 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4988 * ps/ps-document.c: (ps_document_class_init), (document_load),
4989 (ps_document_get_info), (ps_document_document_iface_init):
4991 Remove get_title from the interface, we can just use document info
4993 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4995 * backend/Makefile.am:
4996 * backend/ev-document.c: (ev_document_render_get_info):
4997 * backend/ev-document.h:
4998 * pdf/ev-poppler.cc:
5000 Initial support for document info. Based on jrb patch.
5002 2005-04-19 Paolo Borelli <pborelli@katamail.com>
5004 * shell/ev-window.c: (ev_window_state_event),
5005 (ev_window_class_init), (ev_window_init):
5007 Doesn't show resize grip when maximized. See bug #301053
5009 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5013 ev-sidebar-thumbnails now has translatable labels
5015 * shell/Makefile.am:
5016 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
5017 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
5018 (ev_sidebar_links_page_iface_init):
5019 * shell/ev-sidebar-links.h:
5020 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
5021 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
5022 (ev_sidebar_page_get_label):
5023 * shell/ev-sidebar-page.h:
5024 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
5025 (ev_sidebar_thumbnails_set_document),
5026 (ev_sidebar_thumbnails_support_document),
5027 (ev_sidebar_thumbnails_get_label),
5028 (ev_sidebar_thumbnails_page_iface_init):
5029 * shell/ev-sidebar-thumbnails.h:
5030 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5031 (ev_sidebar_set_document):
5032 * shell/ev-sidebar.h:
5033 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
5035 Small rework of sidebar code. Now sidebar pages should implement
5036 EvSidebarPage interface. That makes page management in EvSidebar
5037 easier. See bug #164811 for details
5039 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5041 * shell/ev-application.c: (ev_application_open):
5042 * shell/ev-document-types.c:
5044 Fix build error and small problem with application exit
5046 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5048 * thumbnailer/Makefile.am:
5049 * thumbnailer/evince-thumbnailer-djvu.schemas:
5050 * thumbnailer/evince-thumbnailer-dvi.schemas:
5052 Conditionally install schemas for djvu/dvi thumbnailer
5054 2005-04-18 David Malcolm <dmalcolm@redhat.com>
5056 * shell/ev-document-types.h:
5057 * shell/ev-document-types.c:
5058 New files, handling the mapping from mimetypes to backends
5060 * shell/ev-window.c:
5061 * thumbnailer/evince-thumbnailer.c:
5062 Use the ev-document-types code
5064 * shell/Makefile.am:
5065 Added new convenience library libevbackendfactory_la, containing
5066 the new mimetype->backend logic; moved the backends into it.
5068 * thumbnailer/Makefile.am:
5069 Make the thumbnailer link with the libevbackend.la convenience
5070 library, rather than having a duplicate of the backend logic here.
5072 2005-04-18 Paolo Borelli <pborelli@katamail.com>
5074 * shell/ev-stock-icons.c: constify some vars.
5075 * shell/ev-window.c: ditto.
5077 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
5079 * ps/ps-document.c (get_page_orientation):
5081 Respect document orientation
5083 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5087 * shell/Makefile.am:
5089 Move library dependencies to components.
5091 * shell/ev-window.c: (update_window_title),
5092 (start_loading_document):
5094 Fix display of uris with spaces. Bug 168358.
5096 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
5098 * shell/ev-sidebar-links.c: (selection_changed_cb):
5099 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
5100 (ev_view_button_release_event), (ev_view_set_document):
5102 * shell/ev-window.c: (find_bar_search_changed_cb):
5103 * shell/ev-window.h: Minor cleanups removing some dead code.
5105 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5107 * backend/ev-page-cache.c: (_ev_page_cache_new):
5109 Set current page to 0 if document has pages.
5111 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5113 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5115 Initialize GError to NULL, fix a crash when loading fails.
5117 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5119 * shell/ev-window.c: (update_view_size):
5121 Calculate shadow size only when there is actually
5124 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5126 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
5129 Allow setting view spacing, default to 0
5131 * shell/ev-window.c: (ev_window_unfullscreen),
5132 (ev_window_cmd_view_fullscreen), (ev_window_init):
5134 Remove spacing in fullscreen mode
5136 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5138 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
5139 (ev_view_size_request), (expose_bin_window),
5140 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
5142 * shell/ev-window.c: (ev_window_unfullscreen),
5143 (ev_window_cmd_view_fullscreen):
5145 Do not draw the border in fulscreen
5147 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5149 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
5150 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
5151 (find_page_at_location), (page_changed_cb):
5153 Rework border calculation, so that I can more easily disable it.
5154 Code somewhat cleaner too.
5156 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
5158 * backend/ev-page-cache.c: (ev_page_cache_init),
5159 (_ev_page_cache_new):
5161 Remove some assertions, documents can have 0 pages.
5162 Make initial current page -1.
5164 * shell/ev-page-action.c: (page_changed_cb):
5166 Show "" if current page is -1
5168 * shell/ev-window.c: (update_action_sensitivity),
5169 (ev_window_setup_document):
5171 When document has 0 pages do not set the view
5172 and make nearly everything insensitive.
5174 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5176 * shell/ev-page-view.c:
5177 * shell/ev-page-view.h:
5179 Remove unused files.
5181 * shell/ev-sidebar-thumbnails.c:
5182 (ev_sidebar_thumbnails_set_document):
5183 * shell/ev-sidebar.c: (ev_sidebar_set_document),
5184 (ev_sidebar_supports_document):
5185 * shell/ev-sidebar.h:
5186 * shell/ev-window.c: (ev_window_setup_document):
5188 Doesn't show thumbnails if document has 1 page. Make
5189 sidebar menu entries sensitive only if if they have
5190 sense. Fix bug 164811.
5192 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
5194 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
5195 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
5196 (ev_view_zoom_out), (ev_view_set_size):
5198 Rework sizing to deal with documents with not uniform page
5201 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
5203 * backend/ev-page-cache.c: (_ev_page_cache_new):
5205 Fix several page size caching bugs
5207 2005-04-15 Luca Ferretti <elle.uca@libero.it>
5209 * shell/ev-window.c: (set_action_properties):
5211 Make all toolbar items translatable
5213 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
5215 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
5216 (save_page_list), (ps_document_save),
5217 (ps_document_document_iface_init), (ps_document_ps_export_begin),
5218 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
5219 (ps_document_ps_exporter_iface_init):
5222 Based on a patch by J�rg Billeter <j@bitron.ch>
5224 Implement print and save a copy for the ps backend.
5226 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
5228 * backend/ev-document.h:
5229 * djvu/djvu-document.c: (djvu_document_can_get_text),
5230 (djvu_document_document_iface_init):
5231 * dvi/dvi-document.c: (dvi_document_can_get_text),
5232 (dvi_document_document_iface_init):
5233 * pdf/ev-poppler.cc:
5234 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
5235 (pixbuf_document_document_iface_init):
5236 * ps/ps-document.c: (ps_document_can_get_text),
5237 (ps_document_document_iface_init):
5238 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
5239 * shell/ev-window.c: (update_action_sensitivity):
5241 Fix the crash when trying to copy in backends that doesnt
5242 support it. We can implement a better solution once we
5243 do real text selection.
5245 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
5247 * data/evince-ui.xml:
5248 * shell/ev-window.c: (ev_window_cmd_escape):
5250 Work around the Escape conflict (find bar and unfullscreen)
5252 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
5254 * backend/ev-page-cache.c: (ev_page_cache_next_page):
5256 Fix for #300233. Next page correctly handles document end.
5258 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
5259 (ev_sidebar_thumbnails_class_init),
5260 (ev_sidebar_thumbnails_set_document),
5261 (ev_sidebar_thumbnails_clear_job),
5262 (ev_sidebar_thumbnails_clear_model):
5264 Cleanup thumbnail jobs on document changes.
5266 * shell/ev-view.c: (add_scroll_binding_keypad),
5267 (add_scroll_binding_shifted), (ev_view_class_init):
5269 Shift + Space scrolls up. Fix for #173184
5271 * shell/ev-window.c: (ev_window_open_page),
5272 (ev_window_cmd_view_reload):
5274 Fix reload (Bug #300094)
5276 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5279 * dvi/mdvi-lib/assoc.c:
5280 * dvi/mdvi-lib/assoc.h: Removed garbage files
5282 * dvi/mdvi-lib/bitmap.c:
5283 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
5284 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
5285 * dvi/mdvi-lib/color.h: Antialias of rules
5287 * dvi/mdvi-lib/common.h:
5288 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
5289 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
5290 * dvi/mdvi-lib/files.c:
5291 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
5292 * dvi/mdvi-lib/mdvi.h:
5293 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
5294 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
5295 * dvi/mdvi-lib/util.c: Fix compile warnings
5297 * dvi/dvi-document.c:
5298 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
5299 (dvi_document_thumbnails_get_thumbnail),
5300 (dvi_document_document_thumbnails_iface_init):
5301 * dvi/mdvi-lib/Makefile.am:
5302 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
5303 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
5305 Dvi backend now renders thumbnails
5307 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
5309 * shell/main.c: (main):
5311 Save accelerators on exit. Fixes bug #172095.
5313 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
5315 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
5316 update priority" comment.
5318 * backend/ev-job-queue.c: Give a way to change priority.
5320 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
5322 * shell/ev-page-action.c: Fix logic.
5324 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5326 * shell/ev-view.c: (ev_view_can_find_next):
5327 * shell/ev-window.c: (ev_window_setup_document):
5329 Check that the document supports find
5331 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5333 * data/evince-ui.xml:
5334 * shell/ev-view.c: (ev_view_can_find_next):
5336 * shell/ev-window.c: (update_action_sensitivity),
5337 (find_changed_cb), (ev_window_setup_document),
5338 (ev_window_cmd_edit_find_next):
5342 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5344 * pdf/ev-poppler.cc:
5345 * shell/ev-print-job.c: (idle_print_handler):
5347 Make printing work again
5349 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
5351 * shell/ev-page-action.h:
5352 * shell/ev-page-action.c: (ev_page_action_widget_init),
5353 (ev_page_action_widget_class_init), (page_changed_cb),
5354 (create_tool_item), (update_page_cache), (build_new_tree_cb),
5355 (get_filter_model_from_model), (match_selected_cb),
5356 (display_completion_text), (match_completion), (update_model),
5357 (connect_proxy), (ev_page_action_set_property),
5358 (ev_page_action_get_property), (ev_page_action_set_document),
5359 (ev_page_action_set_model), (ev_page_action_class_init): Big
5360 reworking to make completions work iff we have >= GTK-2.7.0
5362 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
5363 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
5364 (job_finished_cb): We now have a 'model' property that is set when
5365 the links are loaded. This can be caught with "notify::model"
5367 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
5368 listen for the model to be set, and propagate it to the action.
5370 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5372 * cut-n-paste/recent-files/egg-recent-item.c:
5373 (egg_recent_item_set_uri), (make_valid_utf8),
5374 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
5375 * cut-n-paste/recent-files/egg-recent-item.h:
5377 Update egg-recent from libegg. This should fix long
5378 startup problem. For details see
5379 http://bugzilla.gnome.org/show_bug.cgi?id=160531
5381 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5383 * cut-n-paste/recent-files/Makefile.am:
5384 * data/evince-ui.xml, shell/Makefile.am:
5385 * shell/ev-application.c, shell/ev-application.h:
5386 * shell/ev-window.c: Recent files support.
5388 * configure.ac: Added "ru" to ALL_LINGUAS.
5390 * dvju: new backend to support DJVU files.
5391 * dvi: new backend to support DVI.
5393 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
5394 * ev-application.c: Support for new backends.
5396 * help, ev-window.c, main.c shell/Makefile.am:
5397 Evince user documentation.
5399 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5402 * shell/ev-window.c:
5403 * thumbnailer/evince-thumbnailer.c:
5405 s/pdf-document/ev-poppler
5407 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5414 * ps/ps-document.c: (setup_pixmap):
5418 2005-04-05 Kristian Høgsberg <krh@redhat.com>
5420 * backend/ev-page-cache.c (ev_page_cache_next_page):
5421 * shell/ev-window.c (ev_window_cmd_go_next_page)
5422 (ev_window_cmd_go_first_page): Fix of by one errors.
5424 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5426 * ps/ps-document.c: (get_page_box):
5428 Fix page size calculation
5430 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5432 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5433 (ps_document_cleanup), (setup_pixmap), (get_page_box),
5434 (get_page_orientation), (setup_page), (document_load),
5435 (ps_document_get_page_size), (render_pixbuf_idle):
5438 More refactoring to adapt to EvDocument changes
5440 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5442 * ps/ps-document.c: (start_interpreter):
5444 Actually add alpha args
5446 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5448 * pdf/ev-poppler.cc:
5450 Make clipboard work again
5452 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5454 Make searching work again.
5456 * backend/ev-document.c:
5457 * backend/ev-document.h:
5458 * backend/ev-document-find.c:
5459 * backend/ev-document-find.h: Change EvDocumentIface so we no
5460 longer store the current page or zoom level in the document. The
5461 consequence is that all calls that operate on the current page now
5462 instead take the page number as an extra argument, and all
5463 coordinates are now doubles in document coordinate system.
5465 * pdf/ev-poppler.cc:
5466 * pixbuf/pixbuf-document.c:
5467 * ps/ps-document.c: Update backends accordingly.
5469 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5473 Add required gettext version
5475 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5477 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5478 make F1 bring up non-existent help.
5480 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5481 epiphany's find bar, #167477
5483 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5484 <emil@nishra.com> to add space-bar scrolling,
5486 * shell/ev-window.c (static GtkActionEntry entries): add default
5487 keybinding for Help (F1)
5490 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5491 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5494 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5497 * pixbuf/pixbuf-document.c:
5499 Got pixbuf backend working again
5501 2005-04-01 Steve Murphy <murf@e-tools.com>
5503 * configure.in: Added "rw" to ALL_LINGUAS.
5505 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5507 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5508 model types, noticed by Martin Kretzschmar.
5510 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5512 * pdf/ev-poppler.cc: Implement search based on
5513 poppler_page_find_text(). Currently a bit crude since we remember
5514 all matches from all pages. Also, we grab the big document lock
5515 when we search since searching changes the underlying stream and
5516 thus conflicts with the rendering thread.
5518 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5519 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5520 (ev_view_find_previous): Fix some page indexes to be 0 based,
5521 offset rubber band by view offset,
5523 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5525 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5527 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5529 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5530 completely because I didn't understand GtkActions. I should
5531 read Marco's code more carefully in the future.
5533 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5536 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5538 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5539 PopplerRectangle change from poppler CVS.
5541 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5543 * backend/ev-document.c: (ev_document_get_page_label):
5544 * backend/ev-document.h:
5545 * backend/ev-page-cache.c: (_ev_page_cache_new),
5546 (ev_page_cache_get_page_label):
5547 * backend/ev-page-cache.h:
5548 * pdf/ev-poppler.cc:
5549 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5550 (links_page_num_func):
5551 * shell/ev-sidebar-thumbnails.c:
5552 (ev_sidebar_thumbnails_set_document):
5553 * shell/ev-view.c: (status_message_from_link),
5554 (ev_view_motion_notify_event):
5555 * shell/ev-window.c: (document_supports_sidebar): Add in page
5556 label support. It's not perfect yet, but it's the first 'feature'
5558 Also, fix a bogus comment noticed by crispin.
5560 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5562 * Makefile.am: Remove pixbuf backend for now
5564 * configure.ac: Require poppler-glib instead of just poppler.
5566 * backend/ev-document-thumbnails.h: Add a comment
5568 * backend/ev-document.h:
5569 * backend/ev-document.c: (ev_document_class_init),
5570 (ev_document_load), (ev_document_get_link),
5571 (ev_document_get_links): Remove 3 methods and add get_links.
5574 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5575 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5577 * backend/ev-link.c: (ev_link_set_title),
5578 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5579 (ev_link_mapping_find):
5580 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5582 * backend/ev-page-cache.c: (ev_page_cache_init),
5583 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5584 (ev_page_cache_get_size), (ev_page_cache_next_page),
5585 (ev_page_cache_prev_page): Fix to be 0 based.
5589 * pdf/ev-poppler.cc: New backend.
5591 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5592 (ps_document_get_page), (ps_document_document_iface_init):
5594 * shell/ev-pixbuf-cache.h:
5595 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5596 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5597 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5598 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5599 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5600 Fix up code to grab a page cache per each doc. Also, fix to be 0
5603 * shell/ev-sidebar-thumbnails.c:
5604 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5605 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5607 * shell/ev-view.c: (status_message_from_link),
5608 (find_page_at_location), (get_link_at_location),
5609 (ev_view_motion_notify_event), (ev_view_button_release_event),
5610 (ev_view_init): Use the new link code. Fix to be 0 based.
5612 * shell/ev-window.c: (update_action_sensitivity),
5613 (document_supports_sidebar): 0 based.
5615 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5617 * pdf/pdf-document.cc: Patch from Fernando Herrera
5618 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5621 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5623 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5624 1 to the page, as this seems to be 1 based. I thought we has this
5627 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5630 * backend/Makefile.am:
5631 * backend/ev-document-links.c:
5632 (ev_document_links_has_document_links),
5633 (ev_document_links_get_links_model):
5634 * backend/ev-document-links.h:
5635 * backend/ev-document.c: (ev_document_get_page_cache),
5636 (ev_document_get_doc_mutex), (ev_document_load),
5637 (ev_document_save), (ev_document_get_title),
5638 (ev_document_get_n_pages), (ev_document_set_page),
5639 (ev_document_get_page), (ev_document_set_target),
5640 (ev_document_set_scale), (ev_document_set_page_offset),
5641 (ev_document_get_page_size), (ev_document_get_text),
5642 (ev_document_get_link), (ev_document_render),
5643 (ev_document_render_pixbuf), (ev_document_scale_changed):
5644 * backend/ev-document.h:
5645 * backend/ev-job-queue.c: (remove_object_from_queue),
5646 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5647 (no_jobs_available_unlocked), (ev_render_thread),
5648 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5649 (ev_job_queue_remove_job):
5650 * backend/ev-job-queue.h:
5651 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5652 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5653 (ev_job_links_class_init), (ev_job_render_init),
5654 (ev_job_render_dispose), (ev_job_render_class_init),
5655 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5656 (ev_job_thumbnail_class_init), (ev_job_finished),
5657 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5658 (ev_job_render_run), (ev_job_thumbnail_new),
5659 (ev_job_thumbnail_run):
5660 * backend/ev-jobs.h:
5661 * backend/ev-link.c:
5662 * backend/ev-link.h:
5663 * backend/ev-page-cache.c: (ev_page_cache_init),
5664 (ev_page_cache_class_init), (ev_page_cache_finalize),
5665 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5666 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5667 (ev_page_cache_set_link), (ev_page_cache_get_title),
5668 (ev_page_cache_get_size), (ev_page_cache_next_page),
5669 (ev_page_cache_prev_page):
5670 * backend/ev-page-cache.h:
5671 * pdf/pdf-document.cc:
5674 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5675 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5676 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5677 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5678 (is_interpreter_ready), (output), (catchPipe), (input),
5679 (start_interpreter), (check_filecompressed), (compute_dimensions),
5680 (ps_document_enable_interpreter), (document_load),
5681 (ps_document_next_page), (render_page), (ps_document_set_page),
5682 (ps_document_set_scale), (render_pixbuf_idle),
5683 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5685 * shell/Makefile.am:
5686 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5687 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5688 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5689 (ev_pixbuf_cache_new), (job_finished_cb),
5690 (check_job_size_and_unref), (move_one_job),
5691 (ev_pixbuf_cache_update_range), (find_job_cache),
5692 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5693 (ev_pixbuf_cache_add_jobs_if_needed),
5694 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5695 * shell/ev-pixbuf-cache.h:
5696 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5697 (idle_print_handler):
5698 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5699 (selection_changed_cb), (create_loading_model),
5700 (ev_sidebar_links_construct), (links_page_num_func),
5701 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5702 (update_page_callback), (job_finished_cb),
5703 (ev_sidebar_links_set_document):
5704 * shell/ev-sidebar-thumbnails.c:
5705 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5706 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5707 (page_changed_cb), (thumbnail_job_completed_callback),
5708 (ev_sidebar_thumbnails_set_document):
5709 * shell/ev-sidebar-thumbnails.h:
5710 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5711 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5712 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5713 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5714 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5715 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5716 (ev_view_button_release_event), (ev_view_scroll_view),
5717 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5718 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5719 (ev_view_new), (job_finished_cb), (page_changed_cb),
5720 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5721 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5722 (ev_view_find_previous):
5724 * shell/ev-window.c: (update_action_sensitivity),
5725 (ev_window_open_page), (update_window_title), (update_total_pages),
5726 (page_changed_cb), (ev_window_setup_document),
5727 (password_dialog_response), (ev_window_cmd_save_as),
5728 (ev_window_print), (ev_window_cmd_go_previous_page),
5729 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5730 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5731 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5732 * shell/main.c: (main):
5734 Merge evince-threads branch
5736 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5738 * configure.ac: Added "lt" to ALL_LINGUAS.
5740 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5747 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5749 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5751 Fix here also the thumbnails 1-basedness :)
5753 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5760 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5762 * pdf/pdf-document.cc:
5763 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5764 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5766 Fix the mess we did with thumbnails and 1-basedness
5768 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5770 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5772 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5779 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5782 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5783 (gtk_gs_defaults_get_alpha_parameters),
5784 (gtk_gs_defaults_get_ungzip_cmd),
5785 (gtk_gs_defaults_get_unbzip2_cmd):
5787 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5788 (ps_document_get_orientation), (document_load),
5789 (ps_document_goto_page), (ps_document_set_page_size):
5792 Some more sanitization of the ps backend. Remove a lot
5793 of unused code and do not base our defaults on ggv
5796 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5798 * thumbnailer/evince-thumbnailer.schemas:
5799 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5800 (main): add -s option for thumbnail size.
5802 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5806 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5809 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5811 * pdf/pdf-document.cc:
5813 Remove 4 pixels of useless border from the
5816 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5818 * backend/ev-document-thumbnails.c:
5819 (ev_document_thumbnails_get_thumbnail):
5820 * backend/ev-document-thumbnails.h:
5822 Rework API a bit. Add a border flag and
5823 change sizing logic (now the size we specify
5824 applies to the bigger dimension).
5826 * pdf/pdf-document.cc:
5827 * pixbuf/pixbuf-document.c:
5828 (pixbuf_document_thumbnails_get_thumbnail):
5829 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5830 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5832 Adapt to the new API and do not draw a border for nautilus
5835 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5837 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5838 take thumbnails from page "0" instead of "1". Added a copyright header.
5840 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5842 * ps/ps-document.c: (set_up_page), (start_interpreter):
5844 Make it C89 compliant
5846 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5851 * pdf/pdf-document.cc:
5852 * thumbnailer/Makefile.am:
5853 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5855 * thumbnailer/evince-thumbnailer.schemas:
5856 * thumbnailer/pdf-icon.png:
5858 Add a nautilus thumbnailer.
5859 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5861 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5869 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5871 Use poppler instead of including xpdf source code. Poppler is a
5872 fork of xpdf to build it as a shared library. See
5873 http://freedesktop.org/wiki/Software/poppler.
5875 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5878 * pdf/Makefile.am: Build libpdfdocument.a here.
5880 * pdf/GDKSplashOutputDev.cc:
5881 * pdf/GDKSplashOutputDev.h:
5882 * pdf/GnomeVFSStream.cc:
5883 * pdf/GnomeVFSStream.h:
5886 * test-gdk-output-dev.cc
5888 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5891 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5893 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5895 Clear idle stack before unsetting the document
5897 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5899 * ps/ps-document.c: (ps_document_widget_event),
5900 (ps_document_set_target), (ps_document_finalize),
5901 (ps_document_get_page):
5903 Disconnect the widget event signal on finalize.
5906 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5908 * ps/ps-document.c: (set_up_page):
5910 If there is no bpixmap create one, even if size
5913 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5915 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5916 (set_up_page), (document_load), (ps_document_set_zoom):
5918 Default page is 0. Calculate size even when we have no
5921 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5923 * shell/ev-sidebar.c: expand the selection widget to be always as
5926 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5928 * shell/ev-sidebar-thumbnails.c:
5929 (ev_sidebar_thumbnails_set_document):
5931 Clear the list store when setting document
5933 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5935 * shell/ev-page-action.c: (update_entry), (sync_entry),
5936 (activate_cb), (entry_size_request_cb), (create_tool_item),
5939 Use an entry for the page control instead of spinbuttons
5941 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5943 * data/evince.schemas.in:
5945 Correct confusing string
5947 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5949 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5950 for real. Gosh, how long has this been broken.
5952 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5953 check for a NULL link. We crash otherwise.
5955 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5962 2005-02-25 Sebastien Bacher <seb128@debian.org>
5964 * configure.ac: add the french translation.
5966 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5968 * shell/ev-window.c:
5970 Remove unused header -> fix distcheck
5972 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5974 * shell/ev-window.c: (update_window_title),
5975 (ev_window_popup_password_dialog):
5977 Unescape filename for display
5979 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5981 * pdf/xpdf/pdf-document.cc:
5983 In get_page_size deal with rotation. Also
5984 cleanup the function a bit.
5986 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5988 * pdf/xpdf/pdf-document.cc:
5990 Fix crash when opening in new window
5992 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5996 Check ghostscript >= 7
5998 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
6000 * shell/ev-window.c:
6002 Make page width the default sizing mode
6004 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
6005 Marco Pesenti Gritti <marco@gnome.org>
6007 * shell/ev-window.c: Remember the sidebar size
6009 * data/evince.schemas.in: Add a new gconf key to store the size of
6012 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
6014 * data/evince-ui.xml:
6015 * shell/ev-window.c: (update_action_sensitivity),
6016 (ev_window_cmd_view_reload):
6018 Add a "Reload" action and menu entry
6020 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
6022 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
6023 iff the type doesn't support thumbnailing and indexing.
6025 2005-02-24 Martin Kretzschmar <martink@gnome.org>
6027 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
6029 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6031 * pdf/splash/Splash.cc:
6033 Port fix for a crasher from kde bug
6034 http://bugs.kde.org/show_bug.cgi?id=97131
6036 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6038 * pdf/xpdf/pdf-document.cc:
6040 Return a link even if it's of an unrecognized
6041 type. Otherwise we go in an infinte cycle.
6043 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6045 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
6046 (size_allocate_cb), (ev_window_set_sizing_mode):
6048 Update size when switching mode
6050 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6052 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
6053 (ev_window_cmd_view_page_width), (update_sizing_buttons),
6054 (ev_window_cmd_view_normal_size):
6056 Fix size toggle buttons behavior
6058 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6060 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
6061 (doc_rect_to_view_rect), (ev_view_size_allocate),
6062 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
6063 (scale_changed_callback):
6065 Do not cache offsets in size_allocate.
6067 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6069 * shell/ev-view.c: (ev_view_size_allocate):
6071 Calculate offsets before calling the parent
6072 class (which does a redraw)
6074 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6076 * pdf/xpdf/pdf-document.cc:
6078 Fix a crasher on exit. Unused code, put a TODO
6080 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
6082 * backend/ev-document.c: (ev_document_class_init),
6083 (ev_document_page_changed), (ev_document_scale_changed):
6084 * backend/ev-document.h:
6086 Separate page/scale notifications
6088 * pdf/xpdf/pdf-document.cc:
6090 Emit the new signals.
6091 Do not display the pdf page in _render, do it
6092 when scale/page are requested.
6094 * ps/ps-document.c: (ps_document_set_zoom),
6095 (ps_document_widget_event):
6098 Emit the new signals.
6100 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
6101 (ev_view_init), (page_changed_callback), (scale_changed_callback),
6102 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
6103 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
6105 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
6106 (ev_window_cmd_view_page_width), (size_allocate_cb),
6107 (ev_window_set_sizing_mode):
6109 Rework sizing to be pixel based.
6110 There are bugs but should be already way better.
6112 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
6114 * shell/ev-window.c: (ev_window_init):
6116 Do not allow to shrink sidebar smaller then
6119 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
6121 * shell/ev-sidebar.[ch]
6122 * shell/ev-window.c:
6124 Improved sidebar widget. Fixes #166683
6126 2005-02-23 Tommi Vainikainen <thv@iki.fi>
6128 * shell/ev-view.c (update_find_status_message): Give translators
6129 more flexibility with ngettext plural handling.
6131 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
6133 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
6134 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
6135 page when we get the page size.
6137 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
6139 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
6141 ps pages are 0 based, convert
6143 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
6145 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
6147 Initialize correct parent class. Set GError on document load
6149 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
6151 * pdf/xpdf/pdf-document.cc:
6153 Fixup selection offset calculation
6155 * shell/ev-view.c: (view_rect_to_doc_rect),
6156 (doc_rect_to_view_rect), (ev_view_size_allocate),
6157 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
6158 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
6160 Store selection as document relative, so that zooming
6161 and offset changing doesnt break it.
6163 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
6165 * shell/ev-view.c: (ev_view_best_fit):
6167 Do not try to best fit if the view is not realized
6169 2005-02-20 Kostas Papadimas <pkst@gnome.org>
6171 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
6173 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
6175 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
6177 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
6179 * shell/ev-window.c: Change the fullscreen toolbar to always be in
6180 the popup window. That prevents it resizing when in full screen
6183 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
6184 multiple rerenders. This pretty much sucks.
6186 * data/evince-ui.xml: Change the fullscreen toolbar to include the
6187 rest of the toolbar.
6189 2005-02-18 Tommi Vainikainen <thv@iki.fi>
6191 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
6193 2005-02-17 Alexander Shopov <ash@contact.bg>
6195 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
6197 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
6199 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
6201 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
6203 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
6204 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
6205 (set_document_page), (document_changed_callback),
6206 (ev_view_set_document), (ev_view_find_previous),
6207 (ev_view_hide_cursor), (ev_view_show_cursor):
6209 * shell/ev-window.c: (update_chrome_visibility),
6210 (fullscreen_timeout_cb), (fullscreen_set_timeout),
6211 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
6212 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
6213 (ev_window_unfullscreen):
6214 * shell/main.c: (main):
6216 Automatically hide the fullscreen button.
6217 Patch by Kristian Høgsberg <krh@redhat.com>
6219 2005-02-16 Vincent Noel <vnoel@cox.net>
6221 * shell/main.c (main): Specify an icon for the window. Patch by
6222 Jaap A. Haitsma. Fixes #166177.
6224 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
6226 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
6228 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
6230 * backend/ev-document-misc.h:
6231 * backend/ev-document-misc.c:
6232 (ev_document_misc_get_page_border_size),
6233 (ev_document_misc_paint_one_page): New function to canonicalize
6234 sizing/painting a border.
6236 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
6239 * pdf/xpdf/pdf-document.cc: use new function
6241 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
6242 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
6243 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
6244 shell/ev-window.c: (update_sizing_buttons),
6245 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
6246 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
6247 (ev_window_cmd_view_page_width), (size_allocate_cb),
6248 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
6249 and "fit width" values act as toggle buttons so they stay
6250 toggled. It's not 100% perfect, and it's a little slow, but it's
6251 good enough to commit I think.
6253 2005-02-15 David Lodge <dave@cirt.net>
6255 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
6257 2005-02-15 Martin Kretzschmar <martink@gnome.org>
6259 * shell/ev-window.c (update_window_title): replace newlines in
6260 the title by spaces. Bug #166107.
6262 2005-02-14 Martin Kretzschmar <martink@gnome.org>
6264 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
6265 parameters providing allocation width and height without
6266 scrollbars and width of a possible vertical scrollbar. With this
6267 additional information the functions can work as
6268 intended. Unfortunately they're not idempotent. We should
6269 transform these commands to toggles. Fixes Bug #164976
6270 Initial patch by Stephane Loeuillet, then heavily modified.
6272 * shell/ev-view.h: update prototypes.
6274 * shell/ev-window.c (ev_window_cmd_view_best_fit)
6275 (ev_window_cmd_view_page_width): provide EvView fit functions with
6276 all the information they need. Formulas to calculate this
6277 information taken from GtkScrolledWindow.
6279 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
6281 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
6282 created a thumbnail, the list store is updated to know
6283 that the thumbnail is set. Fixes bug #166792
6285 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
6287 * shell/ev-window.c: fixed typo, closes bug 166897
6289 * TODO: updated TODO with bug numbers that are relevant
6291 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
6293 * shell/ev-window.c: Support for DnD of files. Fixes #164813
6295 2005-02-09 Vincent Noel <vnoel@cox.net>
6297 * shell/ev-window.c: (set_action_properties): Set the "Previous"
6298 and "Next" toolbar buttons as important to make them stand out.
6300 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
6304 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
6305 (start_interpreter), (stop_interpreter), (document_load),
6306 (ps_document_next_page), (ps_document_goto_page),
6307 (ps_document_set_page_size), (ps_document_widget_event),
6308 (ps_document_render):
6309 * shell/ev-page-view.c: (ev_page_view_dispose):
6310 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
6312 Fix compilation on non-gcc platforms
6314 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
6321 * pdf/xpdf/Catalog.cc:
6324 Fix the fix for CAN-2004-0888
6326 2005-02-09 Luca Ferretti <elle.uca@libero.it>
6329 * data/evince-ui.xml:
6330 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6331 * shell/ev-stock-icons.h:
6332 * shell/ev-window.c: (update_action_sensitivity),
6333 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
6334 (set_action_properties):
6336 Improve toolbar layout/icons
6338 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
6340 * pdf/xpdf/pdf-document.cc:
6342 Add warnings about unimplemented/unknown link
6345 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6347 * ps/ps-document.c: (set_up_page):
6351 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6353 * ps/ps-document.c: (start_interpreter):
6357 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6359 * shell/ev-page-view.c: (ev_page_view_dispose):
6360 * shell/ev-view.c: (ev_view_finalize):
6361 * shell/ev-window.c: (ev_window_setup_document),
6362 (ev_window_dispose), (ev_window_init):
6364 Solve more refs issues.
6366 I commented out the page_view initialization for now:
6367 it was never destroyed (because it's never added
6368 to a container). Because of that we was leaking
6369 gs processes. Couldnt think to a clean fix.
6370 We need to figure this out, password view has the
6371 same issue probably.
6373 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6375 * ps/ps-document.c: (ps_document_finalize),
6376 (ps_document_get_n_pages), (ps_document_get_page):
6378 Some cleanups, stop the interpreter on finalize
6380 * shell/ev-page-view.c: (ev_page_view_dispose),
6381 (ev_page_view_class_init):
6383 Release our reference on the document
6385 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6389 * doc/debugging.txt:
6392 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
6393 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
6394 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
6397 Add debugging helpers
6400 * ps/ps-document.c: (set_up_page), (start_interpreter),
6401 (stop_interpreter), (document_load), (ps_document_next_page),
6402 (ps_document_goto_page), (ps_document_set_page_size),
6403 (ps_document_widget_event), (ps_document_render):
6404 * shell/Makefile.am:
6405 * shell/ev-view.c: (expose_bin_window):
6406 * shell/main.c: (main):
6410 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6412 * ps/ps-document.c: (ps_document_widget_event):
6414 Initialize message_window, this should make ps
6415 rendering really work! (Never noticed because I was
6416 testing with a ps that is causing gs to exit every time!)
6418 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
6420 * data/evince.schemas.in: updated simple error in applyto closing tag
6422 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
6428 * data/evince-ui.xml:
6429 A data/evince.schemas.in:
6431 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6432 * shell/ev-stock-icons.h:
6433 * shell/ev-window.c: (update_chrome_visibility),
6434 (update_chrome_flag), (ev_window_cmd_edit_find),
6435 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6436 (ev_window_unfullscreen), (ev_window_focus_in_event),
6437 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6438 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6439 (ev_window_view_sidebar_cb), (find_bar_close_cb),
6440 (ev_window_dispose), (ev_window_class_init),
6441 (set_action_properties), (set_chrome_actions), (load_chrome),
6444 Implement fullscreen mode changes from bug #164776.
6445 Also implement persistent chrome toggles.
6447 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6449 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6451 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6457 Add another check for find interface
6461 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6463 * shell/ev-application.c: (ev_application_open):
6464 * shell/ev-window.c: (ev_window_open):
6466 Open gzipped ps documents
6468 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6471 * shell/ev-view.c: (set_document_page):
6473 Clamp page number, dont try to move to
6476 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6478 * backend/ev-document-find.c: (ev_document_find_changed):
6479 * backend/ev-document-find.h:
6480 * pdf/xpdf/pdf-document.cc:
6481 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6482 * shell/ev-window.c: (find_bar_search_changed_cb):
6484 Fix several bugs with find
6486 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6488 * shell/ev-sidebar-thumbnails.c
6489 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6490 document. Prevents warning from scroll_to_cell.
6492 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6494 * configure.ac: Add «nb» to ALL_LINGUAS too.
6496 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6498 * NOTES: New file with some random thoughts.
6502 * backend/ev-document-misc.c:
6503 (ev_document_misc_get_page_border_size): New function to
6504 canonicalize shadow drawing sizes. Possibly goofy.
6506 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6507 (ev_view_best_fit), (ev_view_fit_width):
6508 * pdf/xpdf/pdf-document.cc:
6509 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6510 * ps/ps-document.c: (ps_document_get_page_size):
6511 * backend/ev-document-misc.h:
6512 * backend/ev-document.c: (ev_document_get_page_size):
6513 * backend/ev-document.h: get_page_size now takes a page number
6514 parameter. Made all the backends/frontends honor it.
6516 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6517 see. Doesn't work yet.
6519 * shell/Makefile.am:
6520 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6521 Doesn't do anything yet.
6523 * shell/ev-sidebar-thumbnails.c:
6524 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6527 * shell/ev-window.c: (update_action_sensitivity),
6528 (ev_window_setup_document), (ev_window_set_page_mode),
6529 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6530 view-swapping code a bit so we can have multiple views on a
6531 document. Add the multi-page view, though it can't be turned on
6534 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6536 * shell/ev-application.c: (ev_application_open):
6537 * shell/ev-view.c: (expose_bin_window):
6538 * shell/ev-window.c: (ev_window_open):
6540 Support eps and check document supports find
6541 before drawing highlightings in expose.
6543 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6545 * pixbuf/pixbuf-document.c:
6546 (pixbuf_document_thumbnails_get_dimensions),
6547 (pixbuf_document_document_thumbnails_iface_init):
6549 implement get_dimensions
6551 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6558 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6560 * shell/ev-view.c: (set_document_page):
6562 Scroll at the top of the page when changing page
6564 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6566 * shell/ev-view.c: (ev_view_motion_notify_event):
6568 Do not redraw unnecessarily
6570 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6572 * pdf/xpdf/pdf-document.cc:
6573 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6574 (expose_bin_window), (find_changed_cb):
6576 Yay! find works now... Now to find bugs...
6578 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6580 * backend/ev-document-find.c: (ev_document_find_base_init),
6581 (ev_document_find_changed):
6582 * backend/ev-document-find.h:
6583 * pdf/xpdf/pdf-document.cc:
6584 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6585 (expose_bin_window), (ev_view_init), (set_document_page),
6586 (ensure_rectangle_is_visible), (jump_to_find_result),
6587 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6588 (ev_view_find_next), (ev_view_find_previous):
6590 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6592 More work on find implementation, mostly there now
6594 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6596 * backend/ev-backend-marshalers.list:
6597 * backend/ev-document-find.c: (ev_document_find_base_init),
6598 (ev_document_find_cancel), (ev_document_find_page_has_results),
6599 (ev_document_find_get_n_results), (ev_document_find_get_result),
6600 (ev_document_find_get_progress), (ev_document_find_changed):
6601 * backend/ev-document-find.h:
6603 Enanche the find interface to be really able to do
6606 * pdf/xpdf/pdf-document.cc:
6610 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6611 (expose_bin_window), (ev_view_init),
6612 (ev_view_get_find_status_message), (find_changed_cb),
6613 (ev_view_set_document), (set_document_page):
6615 Adapt to the new interface. A few things are regressed sorry,
6616 I will finish it soon.
6618 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6620 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6621 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6622 ev_sidebar_thumbnails_parent_class variable, don't define another
6623 parent_class variable.
6625 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6626 (ev_page_action_class_init): ditto.
6628 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6629 (pixbuf_document_class_init): ditto.
6631 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6634 * .cvsignore: ignore various valgrind output files.
6636 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6638 * data/evince-ui.xml:
6639 * shell/Makefile.am:
6640 * shell/ev-history.c:
6641 * shell/ev-history.h:
6642 * shell/ev-navigation-action.c:
6643 * shell/ev-navigation-action.h:
6644 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6645 (ev_view_set_page), (ev_view_fit_width):
6647 * shell/ev-window.c: (update_action_sensitivity),
6648 (ev_window_setup_document), (register_custom_actions):
6650 Kill session history
6652 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6654 * shell/ev-window.c: (update_action_sensitivity):
6656 Fix inverted up/down buttons
6658 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6660 * shell/ev-sidebar-thumbnails.c
6661 (ev_sidebar_thumbnails_select_page): make sure the selected
6662 thumbnail stays visible.
6664 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6666 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6667 scrolled window for Federico.
6669 2005-01-26 Ole Laursen <olau@hardworking.dk>
6671 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6673 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6676 * pdf/splash/SplashFTFontEngine.cc:
6678 Fix CID fonts with freetype 2.1.9
6680 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6682 * TODO: added item for desktop icon thumbnailer
6684 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6686 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6687 unloaded docs when the title is accessed.
6689 * shell/ev-password-view.[hc]: New widget for displaying password
6692 * shell/ev-window.[ch]: Refactor password handling code to handle
6695 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6703 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6705 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6706 ignore page offset here, to make search results independent of it,
6708 * shell/ev-view.c (expose_bin_window): but take offsets into
6709 account here. Bug #164932
6711 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6712 scale at the right time. Bug #164996
6714 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6716 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6717 fix the problem. Now I just removed the Adobe font names and hope
6718 that the URW fonts are always in outline format. Bug #164934
6720 * shell/ev-window.c (update_window_title): empty titles are
6721 useless, use filename in that case too.
6723 * NEWS: Add some content.
6725 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6727 * TODO: added one more TODO item and a TODONE section :)
6729 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6731 * ps/ps-document.h: add page_[xy]_offset fields.
6733 * ps/ps-document.c (ps_document_set_page_offset)
6734 (ps_document_render): Keep offset in consideration in a few
6735 places. Bug #164752 "postscript documents are not centered in
6738 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6739 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6741 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6742 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6743 stub out missing methods for complete EvDocument implementation.
6744 Fixes segfaults with Save A Copy and Copy actions.
6746 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6747 (ps_document_document_iface_init): ditto.
6749 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6753 * data/evince.desktop.in:
6757 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6759 * shell/ev-view.c: (ev_view_button_press_event),
6760 (ev_view_motion_notify_event):
6762 Make selection work in any direction
6764 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6767 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6769 Use shorter labels for some of the toolbars items
6771 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6773 * pdf/xpdf/pdf-document.cc:
6775 Check the links info is initialized before
6776 using it. Should fix a crash on startup.
6778 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6780 * pixbuf/pixbuf-document.c
6781 (pixbuf_document_thumbnails_get_dimensions): force floating point
6782 division to calculate page_ratio. Fixes crash with landscape
6785 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6787 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6789 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6791 * shell/ev-view.c (set_document_page): unset has_selection when
6793 (set_document_page): handle paper size changes when the page
6794 changes (test with Free Culture, page 2).
6796 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6798 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6799 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6801 Use normal style color for the widget background and
6802 draw a black box around the page.
6804 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6806 * pdf/xpdf/pdf-document.cc:
6808 Keep offset in consideration in a few places
6810 * shell/ev-view.c: (expose_bin_window):
6812 Set the offsets so that the document is ever centered
6814 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6816 * TODO: Added TODO items and finished off the first todo item
6818 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6819 reflect current authors
6821 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6823 * pdf/xpdf/pdf-document.cc:
6824 * shell/ev-view.c: (ev_view_set_cursor),
6825 (ev_view_motion_notify_event), (document_changed_callback),
6826 (set_document_page):
6828 Show a wait cursor while the page is rendering
6830 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6832 * shell/ev-sidebar-thumbnails.c:
6833 (ev_sidebar_tree_selection_changed),
6834 (ev_sidebar_thumbnails_select_page):
6835 * shell/ev-sidebar-thumbnails.h:
6836 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6837 (ev_view_can_go_forward):
6838 * shell/ev-window.c: (ev_window_open_page),
6839 (ev_window_setup_document), (update_current_page),
6840 (view_page_changed_cb), (ev_window_init):
6841 * shell/ev-window.h:
6843 Ensure thumbnails selection, toolbar page control and
6844 current page are in sync.
6846 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6852 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6854 * backend/Makefile.am:
6855 * backend/ev-document-links.h:
6856 * backend/ev-document-security.c: (ev_document_security_get_type),
6857 (ev_document_security_has_document_security),
6858 (ev_document_security_set_password):
6859 * backend/ev-document-security.h:
6860 * backend/ev-document.c: (ev_document_error_quark):
6861 * backend/ev-document.h:
6863 * data/evince-password.glade:
6864 * pdf/xpdf/pdf-document.cc:
6865 * shell/Makefile.am:
6866 * shell/ev-password.c: (ev_password_set_bad_password_label),
6867 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6868 (ev_password_dialog_get_password),
6869 (ev_password_dialog_set_bad_pass):
6870 * shell/ev-password.h:
6871 * shell/ev-window.c: (ev_window_get_attribute),
6872 (ev_window_set_property), (update_action_sensitivity),
6873 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6874 (ev_window_setup_document), (ev_window_get_password),
6875 (ev_window_open), (ev_window_cmd_save_as),
6876 (using_postscript_printer), (ev_window_print),
6877 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6878 (update_fullscreen_popup), (ev_window_fullscreen),
6879 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6880 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6881 (menu_item_select_cb), (find_bar_search_changed_cb),
6882 (ev_window_dispose), (ev_window_init):
6884 Add initial support for password-supported dialogs. This could be
6885 a lot cooler, but it'll do for now.
6887 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6889 * pdf/xpdf/pdf-document.cc:
6890 * shell/ev-view.c: (status_message_from_link),
6891 (ev_view_set_status), (ev_view_set_cursor),
6892 (ev_view_motion_notify_event), (ev_view_init):
6893 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6895 Fix bugs in the links implementation and change cursor
6896 when hovering a link.
6898 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6900 * viewer/.cvsignore: added cvsignore file for viewer directory
6902 * TODO: created TODO document
6904 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6907 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6908 new functions to help with implementation of sensitivity code
6909 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6910 of all actions that might require it. Fixes a crash when you
6911 click on the Zoom actions in a window lacking a document.
6913 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6915 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6918 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6920 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6921 (pixbuf_document_document_iface_init):
6922 * ps/ps-document.c: (ps_document_get_link),
6923 (ps_document_document_iface_init):
6924 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6925 (status_message_from_link), (ev_view_set_status),
6926 (ev_view_set_find_status), (ev_view_motion_notify_event),
6927 (ev_view_button_release_event), (ev_view_set_property),
6928 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6929 (ev_view_get_find_status_message), (update_find_results),
6930 (ev_view_get_status), (ev_view_get_find_status):
6932 * shell/ev-window.c: (view_status_changed_cb),
6933 (view_find_status_changed_cb), (ev_window_init):
6935 View status message support, use it to show the links.
6938 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6940 * backend/ev-document.c: (ev_document_get_link):
6941 * backend/ev-document.h:
6942 * pdf/xpdf/pdf-document.cc:
6943 * shell/ev-application.c: (ev_application_open):
6944 * shell/ev-application.h:
6945 * shell/ev-sidebar-links.c: (selection_changed_cb):
6946 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6947 (ev_view_go_to_link):
6949 Add support for document links
6951 2005-01-13 Anders Carlsson <andersca@gnome.org>
6953 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6955 Set the spin button limits correctly.
6957 * shell/ev-sidebar-thumbnails.c:
6958 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6959 Support changing pages by clicking on the thumbnails.
6961 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6963 * pixbuf/pixbuf-document.c:
6964 (pixbuf_document_thumbnails_get_dimensions),
6965 (pixbuf_document_document_thumbnails_iface_init):
6967 implement get_dimensions
6969 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6971 * ps/ps-document.c: (ps_document_goto_page):
6973 Fix page switching on multipage documents
6975 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6977 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6979 check for NULL before assigning to width and height parameters
6981 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6983 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6984 (pixbuf_document_set_property), (pixbuf_document_get_property):
6986 implement get/set properties
6988 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6990 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6992 return NULL instead of "Unknown", letting the title get set to
6993 the filename when the pdf has no title.
6995 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6997 * ps/ps-document.c: (ps_document_get_page_count),
6998 (ps_document_goto_page):
7000 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
7002 * shell/ev-history.c: (ev_history_get_property),
7003 (ev_history_set_property), (ev_history_class_init),
7004 (ev_history_add_page), (ev_history_set_current_index):
7005 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
7006 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
7007 (ev_navigation_action_finalize):
7008 * shell/ev-navigation-action.h:
7009 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
7010 (ev_view_go_forward), (ev_view_get_find_status_message),
7011 (history_index_changed_cb), (ev_view_set_history):
7013 * shell/ev-window.c: (update_total_pages), (ev_window_open),
7014 (update_current_page), (register_custom_actions):
7016 Implement history dropdowns
7018 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
7020 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
7021 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
7022 (ev_view_go_forward):
7023 * shell/ev-window.c: (register_custom_actions):
7025 Fix several history bugs
7027 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
7029 * configure.ac: Add «nb» to ALL_LINGUAS.
7031 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
7033 * backend/Makefile.am:
7034 * backend/ev-bookmark.c:
7035 * backend/ev-bookmark.h:
7036 * backend/ev-document-bookmarks.c:
7037 * backend/ev-document-bookmarks.h:
7038 * backend/ev-document-links.c: (ev_document_links_get_type),
7039 (ev_document_links_has_document_links),
7040 (ev_document_links_begin_read), (ev_document_links_get_link),
7041 (ev_document_links_get_child), (ev_document_links_next),
7042 (ev_document_links_free_iter):
7043 * backend/ev-document-links.h:
7044 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
7045 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
7046 (ev_link_get_link_type), (ev_link_set_link_type),
7047 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
7048 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
7049 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
7050 (ev_link_new_external):
7051 * backend/ev-link.h:
7052 * pdf/xpdf/pdf-document.cc:
7053 * shell/Makefile.am:
7054 * shell/ev-application.c: (ev_application_open_link):
7055 * shell/ev-application.h:
7056 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
7057 (ev_history_get_link_nth):
7058 * shell/ev-history.h:
7059 * shell/ev-sidebar-bookmarks.c:
7060 * shell/ev-sidebar-bookmarks.h:
7061 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
7062 (ev_sidebar_links_class_init), (selection_changed_cb),
7063 (ev_sidebar_links_construct), (ev_sidebar_links_init),
7064 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
7065 (do_one_iteration), (populate_links_idle),
7066 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
7067 * shell/ev-sidebar-links.h:
7068 * shell/ev-sidebar.c: (ev_sidebar_set_document):
7069 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
7072 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
7073 * shell/ev-window.h:
7075 Rename bookmark to link, and use "Index" for the sidebar panel.
7077 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
7079 * shell/Makefile.am:
7080 * shell/ev-application.c: (ev_application_open_bookmark):
7081 * shell/ev-application.h:
7082 * shell/ev-history.c: (ev_history_init), (free_links_list),
7083 (ev_history_finalize), (ev_history_class_init),
7084 (ev_history_add_link), (ev_history_add_page),
7085 (ev_history_get_link_nth), (ev_history_get_n_links),
7086 (ev_history_get_current_index), (ev_history_set_current_index),
7088 * shell/ev-history.h:
7089 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
7090 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
7091 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
7092 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
7095 * shell/ev-window.c: (ev_window_open_bookmark),
7096 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
7097 (goto_page_cb), (register_custom_actions):
7098 * shell/ev-window.h:
7100 Initial history implementation. Needs work.
7102 2005-01-09 Martin Kretzschmar <martink@gnome.org>
7104 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
7106 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
7108 * cut-n-paste/recent-files/egg-recent-item.c:
7109 * cut-n-paste/recent-files/egg-recent-item.h:
7110 * cut-n-paste/recent-files/egg-recent-model.c:
7111 * cut-n-paste/recent-files/egg-recent-util.c:
7112 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
7113 * cut-n-paste/recent-files/egg-recent-view.c:
7117 2005-01-08 Martin Kretzschmar <martink@gnome.org>
7119 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
7120 (fillGlyph, fillImageMask, drawImage):
7121 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
7122 pdf/splash/SplashTypes.h:
7123 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
7124 packed mode for Splash.
7126 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
7127 RGB8 packed mode, eliminates the pixbuf data creation loop.
7129 * shell/ev-print-job.c (ev_print_job_finalize)
7130 (ev_print_job_set_property, ev_print_job_get_property)
7131 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
7132 (ev_print_job_use_print_dialog_settings, idle_print_handler)
7133 (print_closure_finalize, ev_print_job_print): implement
7134 printing (for backends with EvPsExporter)
7136 * shell/ev_print_job.h: update prototypes.
7138 * shell/ev-window.c (ev_window_print): unref print job after
7141 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
7142 unless the document implements the EvDocumentFind interface.
7144 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
7146 * configure.ac: Added ja to ALL_LINGUAS.
7148 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7150 * pdf/xpdf/pdf-document.cc:
7152 add a FIXME. We should probably not allocate
7153 a bookmark object every time
7155 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7157 * shell/ev-application.c: (ev_application_open),
7158 (ev_application_open_bookmark):
7159 * shell/ev-application.h:
7161 Add a way to open bookmarks
7163 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
7164 (ev_bookmark_set_uri), (ev_bookmark_get_property),
7165 (ev_bookmark_set_property), (ev_bookmark_class_init),
7166 (ev_bookmark_new_title), (ev_bookmark_new_link),
7167 (ev_bookmark_new_external):
7169 Support for external uris, better constructors.
7171 * backend/ev-bookmark.h:
7172 * pdf/xpdf/pdf-document.cc:
7173 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
7175 Handle external uris
7177 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7179 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
7180 (ev_sidebar_bookmarks_construct), (do_one_iteration):
7182 Hook up bookmarks navigation
7184 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7186 * backend/Makefile.am:
7187 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
7188 (ev_bookmark_get_title), (ev_bookmark_set_title),
7189 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
7190 (ev_bookmark_get_page), (ev_bookmark_set_page),
7191 (ev_bookmark_get_property), (ev_bookmark_set_property),
7192 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
7194 * backend/ev-bookmark.h:
7195 * backend/ev-document-bookmarks.c:
7196 (ev_document_bookmarks_get_bookmark):
7197 * backend/ev-document-bookmarks.h:
7198 * pdf/xpdf/pdf-document.cc:
7199 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
7201 Add a bookmark object to the backend and use it instead of get_values
7203 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7205 * data/evince-ui.xml:
7207 Cleanup and add select all.
7209 * shell/ev-view.c: (ev_view_select_all),
7210 (ev_view_button_press_event):
7212 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
7215 Clear selection on click.
7217 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
7219 * shell/ev-sidebar-thumbnails.c
7220 (ev_sidebar_thumbnails_set_document): forgot to unref the
7223 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
7225 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
7226 at the visible page, not just linearly. This makes it look fast.
7228 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
7230 * backend/ev-document-misc.c
7231 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
7233 * backend/ev-document-thumbnails.h: New interface to get the size
7236 2005-01-06 Jeremy Katz <katzj@redhat.com>
7238 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
7241 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
7243 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
7244 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
7247 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
7249 2005-01-05 Martin Kretzschmar <martink@gnome.org>
7251 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
7252 fonts. Should fix font problems on systems that have the base
7253 fonts in bitmap format. Reported by James Henstridge
7254 <james@jamesh.id.au>.
7256 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7259 * pdf/xpdf/GfxState.cc:
7261 Fix for CAN-2004-1125
7263 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7265 * shell/ev-view.c: (ev_view_copy):
7267 * shell/ev-window.c: (ev_window_cmd_edit_copy):
7269 Implement Edit->Copy
7271 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7273 * backend/ev-document.c: (ev_document_get_text):
7274 * backend/ev-document.h:
7275 * pdf/xpdf/pdf-document.cc:
7276 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
7277 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
7278 (ev_view_update_primary_selection), (ev_view_button_press_event),
7279 (ev_view_motion_notify_event), (ev_view_button_release_event):
7281 Beginnings of clipboard support. Incomplete but primary sort
7284 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7286 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
7287 (expose_bin_window):
7289 Nicer rubberband drawing, from GtkIconView.
7291 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7293 * backend/ev-document.c: (ev_document_save):
7294 * backend/ev-document.h:
7295 * data/evince-ui.xml:
7296 * pdf/xpdf/pdf-document.cc:
7297 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
7299 Implement "Save a copy..." menu item
7301 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7303 * shell/ev-view.c: (ev_view_zoom):
7305 Queue a resize when zoom changes
7307 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
7309 * backend/ev-document-misc.[ch]: New misc file to do simple drop
7312 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
7315 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
7317 * pdf/xpdf/pdf-document.cc
7318 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
7320 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
7322 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
7323 It's slow, but I'll speed it up next!
7325 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
7327 * shell/main.c (load_files):
7329 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
7330 from the command line and because it seems more appropriate.
7332 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7334 * data/evince-ui.xml:
7335 * shell/ev-window.c: (update_action_sensitivity),
7336 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
7338 s/next page/page down
7339 s/previous page/page up
7341 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7343 * data/evince-ui.xml:
7345 Change the layout to match clarkbw design.
7347 * shell/Makefile.am:
7348 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
7349 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
7350 (ev_navigation_action_finalize),
7351 (ev_navigation_action_set_property),
7352 (ev_navigation_action_get_property),
7353 (ev_navigation_action_class_init):
7354 * shell/ev-navigation-action.h:
7356 Implement clarkbw toolbar navigation controls (incomplete)
7358 * shell/ev-page-action.c: (update_label), (update_spin),
7359 (value_changed_cb), (create_tool_item), (connect_proxy),
7360 (ev_page_action_init), (ev_page_action_finalize),
7361 (ev_page_action_set_property), (ev_page_action_get_property),
7362 (ev_page_action_set_current_page),
7363 (ev_page_action_set_total_pages), (ev_page_action_class_init):
7364 * shell/ev-page-action.h:
7366 Implement a page switcher in the toolbar
7368 * shell/ev-view.c: (ev_view_scroll_view):
7369 * shell/ev-window.c: (update_total_pages), (ev_window_open),
7370 (update_current_page), (view_page_changed_cb), (goto_page_cb),
7371 (register_custom_actions), (ev_window_init):
7373 Change page on PageUp/Down.
7375 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
7377 * pdf/xpdf/pdf-document.cc
7378 (pdf_document_thumbnails_get_thumbnail): initial stab at
7379 implementing thumbnail support for pdfs. It only does documents
7380 with precached pdfs now.
7382 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
7384 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
7385 thumbnail code into a time-based idle as well. Also, turn off the
7386 shadow temporarily as it's really slow.
7388 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7390 * backend/ev-document.c: (ev_document_class_init):
7391 * pdf/xpdf/pdf-document.cc:
7392 * shell/ev-window.c: (ev_window_open):
7394 Fix document title bugs and fallback to
7395 filename when not available.
7397 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7399 * backend/ev-document.c: (ev_document_get_type),
7400 (ev_document_class_init), (ev_document_load),
7401 (ev_document_get_title):
7402 * backend/ev-document.h:
7403 * pdf/xpdf/pdf-document.cc:
7404 * ps/ps-document.c: (ps_document_set_property),
7405 (ps_document_get_property), (ps_document_class_init),
7409 * shell/ev-window.c: (update_window_title), (ev_window_open),
7412 Initial support for document title. Not working yet.
7414 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7416 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7418 Grab focus on the view when clicking it
7420 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7422 * shell/ev-marshal.list:
7423 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7424 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7426 Add key bindings to the view. Now if the focus would work
7429 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7432 * backend/Makefile.am:
7435 * dvi/dvilib/Makefile.am:
7436 * pdf/xpdf/Makefile.am:
7442 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7444 * shell/ev-view.c: (ev_view_realize):
7446 Fix mouse wheel scrolling
7448 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7454 * ps/ps-document.c: (catchPipe), (ps_document_init),
7455 (ps_document_class_init), (ps_document_cleanup),
7456 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7457 (set_up_page), (close_pipe), (is_interpreter_ready),
7458 (interpreter_failed), (output), (input), (start_interpreter),
7459 (stop_interpreter), (file_length), (file_readable),
7460 (check_filecompressed), (check_pdf), (compute_xdpi),
7461 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7462 (ps_document_get_type), (ps_document_emit_error_msg),
7463 (document_load), (ps_document_next_page),
7464 (ps_document_get_current_page), (ps_document_get_page_count),
7465 (ps_document_goto_page), (ps_document_set_page_size),
7466 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7467 (ps_document_load), (ps_document_get_n_pages),
7468 (ps_document_set_page), (ps_document_get_page),
7469 (ps_document_widget_event), (ps_document_set_target),
7470 (ps_document_set_scale), (ps_document_set_page_offset),
7471 (ps_document_get_page_size), (ps_document_render),
7472 (ps_document_document_iface_init):
7475 * shell/ev-window.c: (ev_window_open):
7477 Rename GtkGS to PSDocument
7479 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7481 * ps/gtkgs.c: (gtk_gs_class_init):
7484 Some more leftover...
7486 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7488 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7489 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7490 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7493 Remove unused code and make a lot of stuff private
7495 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7497 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7498 (gtk_gs_defaults_changed):
7504 Cleanup headers dependencies
7506 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7511 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7513 * ps/gtkgs.c: (file_length), (file_readable),
7514 (check_filecompressed), (check_pdf), (gtk_gs_load),
7515 (gtk_gs_get_postscript):
7519 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7524 * ps/gtkgs.c: (gtk_gs_set_zoom):
7528 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7530 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7532 Ensure the page is rerendered when changing zoom
7534 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7536 * backend/ev-document.c: (ev_document_base_init),
7537 (ev_document_changed):
7538 * backend/ev-document.h:
7540 Add a changed event that is emitted when the page content
7541 changes. This is necessary to deal with the fact that
7542 in ps backend rendering happen asycrounously.
7543 This makes the ps backend mostly work.
7545 * pdf/xpdf/pdf-document.cc:
7549 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7550 (ps_document_set_target):
7554 * shell/ev-view.c: (document_changed_callback),
7555 (ev_view_set_document), (ev_view_set_page):
7557 Redraw on the changed signal
7559 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7561 * configure.ac: Added pt_BR to ALL_LINGUAS.
7563 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7565 * backend/ev-document-bookmarks.c:
7566 (ev_document_bookmarks_get_child): *
7567 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7568 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7569 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7570 (ev_sidebar_bookmarks_destroy),
7571 (ev_sidebar_bookmarks_class_init),
7572 (ev_sidebar_bookmarks_construct), (stack_data_free),
7573 (do_one_iteration), (populate_bookmarks_idle),
7574 (ev_sidebar_bookmarks_clear_document),
7575 (ev_sidebar_bookmarks_set_document): *
7576 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7577 (ev_sidebar_add_page),
7578 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7579 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7580 it displays both the topics and the page numbers.
7582 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7584 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7586 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7589 2004-12-23 Adam Weinberger <adamw@gnome.org>
7591 * configure.ac: Added en_CA to ALL_LINGUAS.
7593 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7595 * ChangeLog: replace bottom of this ChangeLog (merged history of
7596 ggv and gpdf; where all paths were wrong and most of the files are
7597 not even in this tree) with ChangeLog (from arch) of the shell
7600 2004-12-23 Havoc Pennington <hp@redhat.com>
7602 * shell/ev-window.c: hook up potentially-questionable "find
7603 results status text" feature - something involving the sidebar or
7604 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7605 might be better in the end.
7607 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7608 with corresponding signal when it should be updated
7610 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7612 2004-12-22 Havoc Pennington <hp@redhat.com>
7614 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7615 find stuff on other pages, sort of (only returns one result on
7616 invisible pages, to show they have results; updates full results
7617 for a page when you view it). Currently repaints the current page
7618 every time a new result is found on any page, which isn't so nice.
7620 2004-12-22 Havoc Pennington <hp@redhat.com>
7622 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7623 the document doesn't support find (better ideas?)
7624 (find_bar_search_changed_cb): handle missing document or document
7625 that doesn't support find
7627 * pdf/xpdf/pdf-document.cc: port to implement the new
7630 * backend/ev-document-find.c: create a new interface for searching
7632 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7634 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7636 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7639 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7640 EvPrintJob constructor arguments.
7642 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7643 for documents that can export PostScript (page by page).
7645 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7647 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7648 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7649 (pdf_document_ps_exporter_iface_init:
7650 Implement EvPSExporter.
7652 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7654 2004-12-22 Anders Carlsson <andersca@gnome.org>
7656 * backend/Makefile.am:
7657 * backend/ev-document-thumbnails.c:
7658 (ev_document_thumbnails_get_type),
7659 (ev_document_thumbnails_get_thumbnail):
7660 * backend/ev-document-thumbnails.h:
7661 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7662 (pixbuf_document_thumbnails_get_thumbnail),
7663 (pixbuf_document_document_thumbnails_iface_init):
7664 * shell/Makefile.am:
7665 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7666 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7667 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7668 * shell/ev-sidebar-thumbnails.h:
7669 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7670 (ev_sidebar_set_document):
7671 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7672 (create_shadow), (ev_pixbuf_add_shadow):
7674 Add thumbnail support.
7676 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7678 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7679 (using_postscript_printer): Set up a print dialog for "PostScript
7682 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7685 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7687 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7689 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7690 (ps_document_set_target), (ps_document_get_page_size),
7691 (ps_document_render):
7696 2004-12-22 Christian Rose <menthos@menthos.com>
7698 * configure.ac: Added "sv" to ALL_LINGUAS.
7700 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7702 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7703 document supports bookmarks.
7705 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7707 * ps/ggvutils.c: (ggv_file_readable):
7709 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7710 (gtk_gs_get_postscript):
7714 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7716 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7717 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7718 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7719 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7720 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7721 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7722 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7723 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7724 (gtk_gs_set_antialiasing), (ps_document_load),
7725 (ps_document_render):
7728 Another check point for the ps backend. Now I can get it to show
7731 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7733 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7734 document setting code.
7736 2004-12-22 Anders Carlsson <andersca@gnome.org>
7738 * shell/eggfindbar.c: (entry_activate_callback):
7739 Animate the next button when activate is pressed.
7741 2004-12-22 Anders Carlsson <andersca@gnome.org>
7743 * shell/ev-window.c: (ev_window_cmd_edit_find),
7744 (update_fullscreen_popup), (ev_window_fullscreen),
7745 (ev_window_unfullscreen), (ev_window_state_event_cb),
7746 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7747 Fix bugs in fullscreen code.
7749 2004-12-22 Anders Carlsson <andersca@gnome.org>
7753 * pixbuf/Makefile.am:
7754 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7755 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7756 (pixbuf_document_set_page), (pixbuf_document_get_page),
7757 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7758 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7759 (pixbuf_document_render), (pixbuf_document_begin_find),
7760 (pixbuf_document_end_find), (pixbuf_document_finalize),
7761 (pixbuf_document_class_init),
7762 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7763 * pixbuf/pixbuf-document.h:
7764 * shell/Makefile.am:
7765 * shell/ev-application.c: (ev_application_open):
7766 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7770 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7773 * dvi/dvilib/Makefile.am:
7775 * configure.ac: Auto*ify dvi and dvi/dvilib
7777 * dvi/Makefile: Remove from CVS
7779 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7782 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7784 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7786 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7789 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7790 (gtk_gs_value_adjustment_changed), (compute_size),
7791 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7792 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7793 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7794 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7795 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7796 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7797 (ps_document_load), (ps_document_get_n_pages),
7798 (ps_document_set_page), (ps_document_get_page),
7799 (ps_document_set_target), (ps_document_set_scale),
7800 (ps_document_set_page_offset), (ps_document_get_page_size),
7801 (ps_document_render), (ps_document_begin_find),
7802 (ps_document_end_find), (ps_document_document_iface_init):
7804 * shell/Makefile.am:
7805 * shell/ev-window.c: (ev_window_open):
7807 Some work to integrate gtkgs with EvDocument
7809 2004-12-22 Anders Carlsson <andersca@gnome.org>
7811 * shell/ev-window.c: (update_fullscreen_popup),
7812 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7813 (exit_fullscreen_button_clicked_cb),
7814 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7815 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7816 (ev_window_state_event_cb), (ev_window_init):
7817 Add fullscreen support from Epiphany.
7819 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7821 * data/ev-stock-zoom-fit-width.png: fit-width
7822 stock icon from gpdf.
7824 * shell/ev-stock-icons.[ch]: copied from gpdf.
7826 * shell/main.c: (main): init stock icons.
7828 * shell/ev-window.c: use the fit-width icon.
7830 * data/evince-ui.xml: add zooming toolbar items.
7832 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7835 (ev_view_best_fit), (ev_view_fit_width): because
7836 get_page_size() returns the scaled page size, we
7837 need to calculate the scale factor relative to
7838 the previous scale factor. Should really just
7839 add get_real_page_size().
7841 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7843 * shell/ev-view.[ch]:
7844 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7845 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7848 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7849 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7850 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7853 * pdf/xpdf/pdf-document.cc:
7854 (pdf_document_begin_find),
7855 (pdf_document_end_find): make static.
7857 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7859 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7861 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7862 names to fontconfig patterns.
7863 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7865 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7868 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7884 Import ggv backend. Not hooked up yet.
7886 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7888 * shell/main.c: (load_files), (main): load files
7889 from the command line.
7891 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7893 * configure.ac: don't require bonobo.
7895 * cut-n-paste/recent-files/*: kill bonobo recent
7898 * shell/ev-window.c:
7899 (ev_window_is_empty): upd.
7900 (unable_to_load), (ev_window_open): load backend
7901 based on the mime type.
7903 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7905 * backend/.cvsignore: ignore generated marshalers source.
7907 * shell/main.c (main): this is not epiphany.
7909 2004-12-22 Havoc Pennington <hp@redhat.com>
7911 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7912 (expose_bin_window): draw find highlights
7914 * shell/ev-window.c (find_bar_search_changed_cb): implement
7916 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7917 (pdf_document_end_find): implement this interface
7919 * backend/ev-document.c (ev_document_found): add this to emit
7922 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7924 * data/evince-ui.xml: Add a few more toolbar items.
7926 * shell/ev-window.c: Hook up page navigation toolbar
7929 * shell/ev-view.[ch]: add ev_view_set/get_page and
7930 a page-changed signal.
7932 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7933 Add ev_document_get_page().
7935 * shell/ev-window.c: Sensitize/desensitize navigation
7938 2004-12-21 Havoc Pennington <hp@redhat.com>
7940 * backend/ev-backend-marshal.c,
7941 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7942 marshaler-generator thingy. I'm sure there's a better way to do
7943 this in the modern world.
7945 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7946 end_find methods and "found" signal.
7948 * configure.ac: find glib-genmarshal
7950 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7952 * shell/ev-sidebar.c: Construct an actual sidebar.
7953 * shell/ev-sidebar-bookmarks.[ch]:
7954 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7956 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7958 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7961 * shell/ev-view.c: Track the size from the document.
7963 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7965 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7966 constructor assumes ownership of the string passed in.
7968 * shell/ev-window.c (ev_window_open): Destroy the error
7969 dialog once we've displayed it.
7971 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7973 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7974 a bit, it works! (sort of)
7976 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7977 Move to .cc since we need to use C++ in the implementation.
7979 * shell/dummy.cc: Add a CC file to force evince
7980 to be linked as a C++ program.
7982 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7984 * shell/ev-view.[ch]: Start of content-area widget.
7986 * shell/ev-window.c: Create a EvView, update it
7987 as we change documents.
7989 * shell/Makefile.am shell/ev-marshal.list: Add
7990 generated marshalers.
7992 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7994 * Makefile.am (SUBDIRS): move shell.
7996 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7998 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7999 .a to libtool convenience libraries.
8001 * shell/ev-window.c (ev_window_open): Hard code loading
8004 * backend/ev-document.h: Add a boolean return to load(),
8005 fix GError * to GError **.
8007 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
8008 object for a PDF backend EvDocument.
8010 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
8012 * dvi/*: New directory with the beginning of a .dvi backend.
8014 2004-12-21 Havoc Pennington <hp@redhat.com>
8016 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
8017 previous/next instead of back/forward
8019 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
8021 * backend/ev-document.[ch]: Fix a couple of problems so
8024 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
8026 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
8027 to backend/ directory, rename EvViewer to EvDocument.
8029 2004-12-21 Havoc Pennington <hp@redhat.com>
8031 * shell/ev-window.c: hook up the find bar widget; now we just need
8032 a document to find things in
8034 * shell/eggfindbar.c: a find bar widget
8036 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
8038 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
8040 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
8042 * pdf/**: Import of xpdf code from gpdf.
8044 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
8046 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
8047 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
8048 Fix FreeType includes.
8050 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
8051 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
8052 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
8053 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
8054 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
8055 Include xpdfconfig.h
8057 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
8059 * shell/ev-window.c (ev_window_dispose): dispose can be called
8062 2004-12-21 Havoc Pennington <hp@redhat.com>
8064 * shell/ev-window.c (ev_window_init): set title to Document Viewer
8067 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
8068 items; really they should be synced with the strings, etc. from
8069 current gpdf, but just getting the boring typing out of the way
8071 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
8074 * shell/ev-application.c: (window_destroy_cb):
8075 * shell/ev-window.c:
8076 * shell/main.c: (main):
8078 Actually show the window...
8080 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
8083 * shell/Makefile.am:
8084 * shell/ev-application.c: (ev_application_class_init):
8085 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
8089 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
8091 Import to gnome cvs.
8093 * Remove copies of gpdf and ggv trees.
8094 * Rip out all the recursive configure code.
8095 * Remove bonobo machinery.
8096 * viewer/*: GInterfaces that backends should/can implement.
8098 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
8100 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
8103 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
8105 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
8106 (ev_application_finalize, ev_application_class_init)
8107 (ev_application_init): use GType instance private data for priv.
8109 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
8110 (ev_window_finalize, ev_window_class_init)
8111 (ev_window_init): ditto.
8113 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
8115 * shell/ev-application.c (ev_application_new_window): make public
8116 (ev_application_show_initial_window): kill.
8118 * shell/ev-application.h: update prototypes.
8120 * shell/main.cc (main): inline ev_application_show_initial_window.
8122 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
8124 * shell/ev-application.c (ev_application_new_window): impl.
8125 (ev_application_show_initial_window): use it.
8126 (is_window_empty, ev_application_get_empty_window): returns an
8127 existing empty window or a new one.
8128 (ev_application_open): from ev_window_cmd_file_open.
8130 * shell/ev-application.h: update prototypes
8132 * shell/ev-window.c (ev_window_is_empty): impl.
8133 (ev_window_open): make public.
8134 (ev_window_cmd_file_open): use ev_application_open
8136 * shell/ev-window.h: update prototypes, remove unused.
8138 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
8140 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
8141 move destroy handler out of here...
8143 * shell/ev-application.c, shell/ev-application.h: ...into this new
8144 class. Also handles initial window creation.
8146 * shell/main.cc (main): use EvApplication to create initial
8149 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
8151 * Makefile.am (SUBDIRS): add cut-n-paste
8153 * cut-n-paste/Makefile.am: add
8155 * configure.ac: generate Makefiles in cut-n-paste
8157 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
8159 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
8160 (ev_window_class_init): install ev_window_dispose.
8162 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
8164 * shell/ev-window.h, shell/ev-window.c: replace gchar with
8165 char (gchar looks stupid).
8167 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
8169 * po/de.po: updated German translation.
8171 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
8173 * configure.ac: add more pkg-config library checks for gnome-vfs,
8176 * gpdf/configure.in: temporarily disable libpaper
8177 checks. Otherwise I'd have to add the checks for the shell, too.
8179 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8181 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
8182 and * file filters to the file choose.
8184 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8186 * po/de.po: Updated German translation.
8188 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8190 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
8192 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8194 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
8196 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
8197 (ev_window_init): implement those menuitems.
8199 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8201 * data/evince-ui.xml: add a toolbar (with FileOpen action)
8203 * shell/ev-window.c (ev_window_init): use the toolbar.
8205 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8207 * shell/ev-window.c (ev_window_init): use menu translations
8209 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8211 * configure.ac: add "de" to ALL_LINGUAS.
8213 * po/de.po: add German translation.
8215 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8217 * Makefile.am (SUBDIRS): add po
8219 * configure.ac: check intltool, glib-gettext etc, generate
8222 * po, po/POTFILES.in, po/POTFILES.skip: new.
8224 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8226 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
8227 already use (#ifdef ENABLE_NLS)
8229 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
8230 pointer indirection thinko.
8232 * shell/main.c: include gi18n.h for bindtextdomain etc.
8234 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8236 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
8237 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
8238 tooltips for menu items in the statusbar.
8240 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8242 * configure.ac, data/Makefile.am, shell/Makefile.am: use
8243 pkgdatadir drop UIDIR
8245 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8247 * data/evince-ui.xml: Add File->Open menu item
8249 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
8250 chooser), hook it up in the ui manager.
8252 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8254 * shell/ev-window.c: fix Help->About tooltip.
8256 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8258 * configure.ac: set CFLAGS for libevprivate.
8260 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
8261 definitions, factory etc.
8263 * lib/Makefile.am: build libevprivate.a (only stock icon code).
8265 * shell/Makefile.am: link against libevprivate.a.
8267 * shell/ev-window.c (entries): add stock icon to Help->About.
8269 * shell/main.c (main): init stock icon code.
8271 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8273 * lib/recent-files: egg recent files code
8275 * lib/Makefile.am: add.
8277 * Makefile.am: add lib subdir.
8279 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
8280 set CFLAGS for recent-files.
8282 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8284 * configure.ac: disable -ansi and -pedantic gcc flags. They
8285 disable POSIX stuff in stdio.h, but egg-recent uses them.
8287 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8289 * configure.ac: add --disable-deprecated flag (defaults to on in
8292 * shell/Makefile.am (INCLUDES): use it.
8294 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8296 * shell/main.c: add missing #include.
8298 * shell/ev-window.c: fix for pedantic gcc.
8299 (ev_window_cmd_help_about): split license into paragraphs for
8300 translators and pedantic compilers.
8302 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8304 * configure.ac: add more warning flags if compiling with gcc from
8305 cvs (or explicitly requested with --enable-more-warnings).
8307 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8309 * data/evince-ui.xml: add File and File->Close menu.
8311 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
8312 (ev_window_destroy): quit after destroy.
8313 (ev_window_class_init): override GtkObject::destroy.
8314 (entries): install close_window callback.
8316 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8318 * Makefile.am (SUBDIRS): add data subdir.
8320 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
8321 gtk+ 2.5.0 for GtkAboutDialog.
8323 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
8326 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
8328 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
8330 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
8332 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8334 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
8336 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8338 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
8340 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8342 * shell/*: Added shell directory boilerplate, build it.
8344 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8346 * configure.ac, Makefile.am: Added top-level configure.ac and