1 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
4 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
5 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
6 (ev_tooltip_set_text), (ev_tooltip_set_position):
9 Simple widget to show tooltips at a custom position
11 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
14 Use it for links. First go, needs work
16 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
18 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
19 HIG fixes. Use title capitalization for window title. Use 12
20 pixels of space between the dialog's vbox and action area.
22 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
24 * shell/ev-window.c: (file_open_dialog_response_cb),
25 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
26 (ev_window_cmd_save_as):
28 Make file pickers not modal and refactor code some
30 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
33 * shell/ev-sidebar.c: (ev_sidebar_set_property),
34 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
35 (ev_sidebar_class_init), (ev_sidebar_select_page),
36 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
37 (ev_sidebar_set_page):
39 Add a current page property and allow to get/set it
41 * shell/ev-window.c: (setup_view_from_metadata),
42 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
44 Persist current sidebar page per document
46 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
48 * data/evince.schemas.in:
49 * shell/ev-window.c: (update_chrome_visibility),
50 (setup_document_from_metadata), (update_sidebar_visibility),
51 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
52 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
53 (ev_window_run_presentation), (ev_window_stop_presentation),
54 (ev_window_view_sidebar_cb),
55 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
56 (load_chrome), (ev_window_init):
58 Persist size/visibility of sidebar per document
60 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
62 * shell/ev-view.c (draw_loading_text): Draw loading text.
64 2005-09-02 Dan Damian <dand@gnome.ro>
66 * configure.in: Added "ro" to ALL_LINGUAS.
68 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
70 * shell/ev-view.c: (clear_caches):
72 ev_page_cache_get doesnt return a reference,
75 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
77 * shell/main.c: (load_files_remote):
79 Fix timestamp parameter with dbus <= 0.33
81 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
83 * data/evince.schemas.in:
87 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
89 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
90 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
92 Plug some memory leaks
94 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
97 * lib/ev-debug.c: (trap_handler):
99 Check for execinfo.h and use it only if it exists.
100 Ported from Epiphany (bug #314776).
102 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
104 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
106 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
108 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
109 * po/id.po : Added Indonesian translation
111 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
114 * shell/ev-application.c: Last minute GTK-2.6 fixes.
115 * NEWS: Release 0.4.0
117 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
119 * configure.ac: catch another gtk+-2.8ism
120 * shell/main.c: Make work with gtk+-2.6
122 2005-08-25 Ryan Lortie <desrt@desrt.ca>
124 * shell/ev-application-service.xml: Add 'timestamp' argument to
125 ev_application_open_window and ev_application_open_uri methods.
127 * shell/ev-application.h: Add 'timestamp' argument to
128 ev_application_open_window, ev_application_open_uri,
129 and ev_application_open_uri_list functions.
131 * shell/ev-application.c (ev_application_open_window,
132 ev_application_open_uri, ev_application_open_uri_list): Change
133 functions that show/present windows to use a timestamp if one
136 * shell/ev-window.c (ev_window_cmd_file_open,
137 ev_window_cmd_recent_file_activate, drag_data_received_cb):
138 * shell/main.c (load_files): Modify calls to ev_application to
139 include GDK_CURRENT_TIME as timestamp.
141 * shell/main.c (load_files_remote): Obtain timestamp for client
142 instance from GDK and pass to server instance so new windows are
143 focused properly. Fix dbus_g_proxy_call() calls by including second
148 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
150 * shell/ev-window.c (ev_window_finalize): Check for
151 avail. EvWindows when quiting to handle the finalize better,
154 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
156 * properties/ev-properties-view.c:
158 Set textdomain to libglade. Fixes translation problem in property page.
160 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
162 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
164 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
165 * dvi/mdvi-lib/Makefile.am:
167 Fix rotation of thumbnails, ported to new API. Moved library
168 dependencies earlier, probably it will fix linkage problem.
170 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
172 * backend/ev-document-misc.c:
173 (ev_document_misc_get_thumbnail_frame):
174 * backend/ev-document-misc.h:
178 * shell/ev-sidebar-thumbnails.c: (add_range),
179 (ev_sidebar_thumbnails_set_loading_icon),
180 (ev_sidebar_thumbnails_refresh),
181 (ev_sidebar_thumbnails_set_document):
182 * shell/ev-sidebar-thumbnails.h:
183 * shell/ev-view.c: (ev_view_motion_notify_event),
184 (ev_view_set_property), (ev_view_get_property),
185 (ev_view_class_init), (ev_view_set_rotation):
186 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
187 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
189 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
190 Redo rotation (again). prepare for 0.4.0
192 2005-08-24 Kristian Høgsberg <krh@redhat.com>
194 * configure.ac: Bump poppler requirement to 0.4.1.
196 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
197 argument to poppler_page_render_selection() call.
199 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
201 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
202 (djvu_document_thumbnails_get_thumbnail):
203 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
204 (dvi_document_thumbnails_get_thumbnail):
205 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
206 (pixbuf_document_thumbnails_get_thumbnail):
207 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
209 Update rotation direction of backends to fit with pdf and ps.
211 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
213 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
214 * backend/ev-async-renderer.h:
215 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
216 (setup_page), (ps_document_get_page_size),
217 (ps_async_renderer_render_pixbuf):
219 * shell/ev-jobs.c: (ev_job_render_run):
221 Fix orientation in the postscript document
223 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
226 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
227 * shell/ev-view.c: (highlight_find_results):
229 Adapt to the new poppler rotation API. Fix text maps on landscape
232 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
234 * shell/ev-view.c (compute_new_selection_text): get the correct
235 region when selecting in modes other than continuous.
237 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
239 * shell/main.c (main): remove redundant g_warnings.
241 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
243 * shell/Makefile.am: Don't include autogenerated
244 file ev-application-service.h into distribution, since
245 it causes dbus crash. Fix for bugs 313724 and 313443.
247 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
249 * configure.ac: Fix sed expression for FreeBSD. Thanks
250 to Joe Marcus Clark <marcus@freebsd.org>
252 * shell/eggfindbar.c: (entry_activate_callback),
253 (entry_changed_callback), (egg_find_bar_init),
254 (egg_find_bar_set_search_string):
256 Made findbar buttons unsensitive if there is no text in
257 entry. Fix for the bug 313285.
259 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
261 * ps/ps-document.c: Use g_filename_display_name for displaying
262 filenames and revert string freeze breackage
264 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
273 Add ev-application-service.xml to extra dist
275 * shell/ev-view.c: (find_page_at_location):
277 Remove unused function (fix warning)
279 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
281 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
282 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
284 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
287 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
289 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
293 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
295 * configure.ac: Update script to get dbus version.
296 Fix for the bug #313443.
298 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
300 * shell/ev-window.c: (ev_window_cmd_escape):
302 Return focus back to view on escape. Fix for bug 313295.
304 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
306 * shell/ev-window.c: (update_window_title),
307 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
308 (ev_window_cmd_save_as):
310 Correct conversion from uri to displayable string. Fix for
313 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
315 * ps/ps-document.c: convert filename to utf8 when there is an error
316 loading document. Fixes #309915
318 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
322 We depend on poppler 0.4.0
324 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
327 * NEWS: Release 0.3.3.
328 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
330 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
332 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
333 add a couple missing mnemonics to menu items, use title
334 capitalization for menu items and window titles, and add
335 ellipsis to open menu item.
337 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
340 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
341 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
342 (ev_view_get_rotation):
344 * shell/ev-window.c: (setup_view_from_metadata),
345 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
346 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
349 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
351 * configure.ac: Added tr to ALL_LINGUAS
353 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
355 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
356 requires several clicks to find word. Thanks to
357 Colin Slater <kiltedtaco@gmail.com>.
359 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
361 * data/evince.desktop.in.in: Hide menu entry and
362 rename it to "Document Viewer". Fix for bug
365 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
367 * shell/ev-page-action.c (ev_page_action_class_init):
369 Point to the correct function in constructor of the
370 activate_label signal
372 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
374 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
375 * shell/ev-jobs.h: Make thread safe.
377 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
379 * shell/ev-view.c: (view_update_range_and_current_page):
380 Don't update page range if we are scrolling to some document
383 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
385 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
386 when getting max_page_width, fix drawing in dual mode.
388 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
390 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
391 getting the area for select_all.
393 2005-08-06 Kristian Høgsberg <krh@redhat.com>
395 * backend/ev-selection.c: (ev_selection_render_selection):
396 * backend/ev-selection.h:
398 * shell/ev-jobs.c: (ev_job_render_new):
400 * shell/ev-pixbuf-cache.c: (get_selection_colors),
401 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
402 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
403 (ev_view_class_init):
405 Change selection color on focus in and focus out events. Also,
406 poppler now uses GdkColor for specifying the selection colors, so
407 drop some awkward conversion code.
409 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
411 * configure.ac: Added Hebrew translation
413 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
416 * backend/ev-selection.c: (ev_selection_render_selection):
417 * backend/ev-selection.h:
419 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
422 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
423 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
424 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
425 (ev_pixbuf_cache_style_changed),
426 (ev_pixbuf_cache_get_selection_pixbuf),
427 (ev_pixbuf_cache_set_selection_list),
428 (ev_pixbuf_cache_get_selection_list):
429 * shell/ev-pixbuf-cache.h:
430 * shell/ev-utils.c: (ev_print_region_contents):
432 * shell/ev-view.c: (ev_view_queue_draw_page),
433 (selection_update_idle_cb), (ev_view_motion_notify_event),
434 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
435 (setup_caches), (ev_view_find_next), (merge_selection_region),
437 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
439 Clean up selection to be much smoother!
441 2005-08-05 Kristian Høgsberg <krh@redhat.com>
443 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
444 to poppler_page_render_selection().
446 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
448 * ps/ps-document.c: (save_page_list): Use
449 unzipped document when printing. Thanks to
450 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
453 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
455 * shell/ev-window.c: (update_action_sensitivity):
457 Disable print and save respect to lockdown gconf keys. Fix
460 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
463 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
464 (write_to_temp_file), (ev_file_set_contents):
466 * shell/ev-window.c: (save_print_config_to_file):
468 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
471 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
473 * shell/ev-window.c: (load_print_config_from_file),
474 (save_print_config_to_file), (ev_window_print_range):
476 Persist the print settings. Fixes bug #311578.
478 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
480 * djvu/djvu-document.c: (djvu_document_get_page_size),
481 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
482 (djvu_document_thumbnails_get_thumbnail):
483 * dvi/dvi-document.c: (dvi_document_get_page_size),
484 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
485 (dvi_document_thumbnails_get_dimensions),
486 (dvi_document_thumbnails_get_thumbnail):
487 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
488 (pixbuf_document_render_pixbuf),
489 (pixbuf_document_document_iface_init),
490 (pixbuf_document_thumbnails_get_thumbnail):
492 Update backends to make them build with new rotation system.
494 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
496 * help/C/figures/evince_start_window.png:
498 Update documentation image from Luca Ferretti <elle.uca@libero.it>
500 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
502 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
503 * shell/ev-pixbuf-cache.h:
504 * shell/ev-sidebar-thumbnails.c:
505 (ev_sidebar_thumbnails_get_property), (add_range),
506 (adjustment_changed_cb):
507 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
508 pixbuf cache. Make thumbnailing work again. Also, fix bug where
509 we were thumbnailing the entire docment on startup, slowing us
512 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
514 * shell/ev-page-cache.c: (ev_page_cache_new):
515 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
518 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
520 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
521 (ev_view_rotate_left):
523 Account rotation in doc_rect_to_view_rect.
524 Ensure rotation doesnt go out of bounds.
526 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
528 * shell/ev-page-cache.c: (ev_page_cache_get_size):
530 Correct and cleanup w/h swapping
532 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
534 * backend/ev-document-thumbnails.c:
535 (ev_document_thumbnails_get_thumbnail):
536 * backend/ev-document-thumbnails.h:
537 * backend/ev-document.c:
538 * backend/ev-document.h:
539 * backend/ev-render-context.c: (ev_render_context_new),
540 (ev_render_context_set_rotation):
541 * backend/ev-render-context.h:
543 * ps/ps-document.c: (ps_document_document_iface_init):
544 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
546 * shell/ev-page-cache.c: (build_height_to_page),
547 (ev_page_cache_new), (ev_page_cache_get_size),
548 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
549 (ev_page_cache_get_height_to_page):
550 * shell/ev-page-cache.h:
551 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
552 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
553 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
554 (ev_pixbuf_cache_get_selection_pixbuf):
555 * shell/ev-pixbuf-cache.h:
556 * shell/ev-print-job.c: (idle_print_handler):
557 * shell/ev-sidebar-thumbnails.c: (add_range):
558 * shell/ev-view.c: (view_update_range_and_current_page),
559 (get_page_y_offset), (get_page_extents),
560 (ev_view_size_request_continuous_dual_page),
561 (ev_view_size_request_continuous),
562 (ev_view_size_request_dual_page),
563 (ev_view_size_request_single_page), (draw_one_page),
564 (ev_view_set_rotation), (ev_view_rotate_right),
565 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
566 (ev_view_zoom_for_size_continuous_and_dual_page),
567 (ev_view_zoom_for_size_continuous),
568 (ev_view_zoom_for_size_dual_page),
569 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
570 (ev_view_select_all):
571 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
572 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
573 (tiff_document_document_iface_init),
574 (tiff_document_thumbnails_get_thumbnail):
576 Use rotation rather than orientation. It's easier and enough
579 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
581 * shell/ev-page-cache.c: (build_height_to_page),
582 (ev_page_cache_new), (ev_page_cache_get_size),
583 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
584 (ev_page_cache_get_height_to_page):
585 * shell/ev-page-cache.h:
586 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
587 (ev_view_size_request_continuous_dual_page),
588 (ev_view_size_request_continuous),
589 (ev_view_zoom_for_size_continuous_and_dual_page),
590 (ev_view_zoom_for_size_continuous):
592 Make the page cache aware of page orientation.
594 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
596 * backend/ev-document-thumbnails.c:
597 (ev_document_thumbnails_get_thumbnail):
598 * backend/ev-document-thumbnails.h:
599 * backend/ev-document.c:
600 * backend/ev-document.h:
601 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
602 * backend/ev-ps-exporter.h:
604 * ps/ps-document.c: (ps_document_document_iface_init),
605 (ps_document_ps_export_do_page):
606 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
608 * shell/ev-page-cache.c: (ev_page_cache_get_size),
610 * shell/ev-page-cache.h:
611 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
612 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
613 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
614 * shell/ev-pixbuf-cache.h:
615 * shell/ev-print-job.c: (idle_print_handler):
616 * shell/ev-sidebar-thumbnails.c: (add_range):
617 * shell/ev-view.c: (view_update_range_and_current_page),
618 (get_page_extents), (ev_view_size_request_dual_page),
619 (ev_view_size_request_single_page), (draw_one_page),
620 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
621 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
622 (ev_view_zoom_for_size_dual_page),
623 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
624 (ev_view_select_all):
625 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
626 * tiff/tiff-document.c: (tiff_document_get_page_size),
627 (tiff_document_get_orientation), (rotate_pixbuf),
628 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
629 (tiff_document_thumbnails_get_thumbnail),
630 (tiff_document_ps_export_do_page), (tiff_document_init):
632 Really make use of the orientation bit of the render context.
633 Use the render context in a few more places in the backend API.
634 This regress orientation, but now it's done right. Will try to
637 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
639 * shell/ev-view.c: (ensure_rectangle_is_visible):
641 Patch by Nickolay V. Shmyrev to fix find flickering
643 2005-07-27 Martin Kretzschmar <martink@gnome.org>
645 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
646 duplex parameters to ::begin.
648 * tiff/tiff-document.c (tiff_document_ps_export_begin):
649 * shell/ev-print-job.c (idle_print_handler):
650 * ps/ps-document.c (ps_document_ps_export_begin):
651 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
652 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
653 implementations. Poppler backend needs poppler cvs. Rest has
656 2005-07-25 Martin Kretzschmar <martink@gnome.org>
658 * shell/ev-window.c (using_pdf_printer): new function.
659 (ev_window_print_range): print a less techy message if someone
660 tries to print to PDF.
662 2005-07-25 Martin Kretzschmar <martink@gnome.org>
664 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
665 from "unknown font" string. Bug #311431
667 2005-07-24 Martin Kretzschmar <martink@gnome.org>
669 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
671 2005-07-24 Martin Kretzschmar <martink@gnome.org>
675 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
676 name for PopplerFontTypes
677 (pdf_document_fonts_fill_model): add font type to the detail column
679 * backend/ev-document-fonts.h: added
680 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
682 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
683 font name and font details, add a little markup.
684 (ev_properties_fonts_init): use the new cell data func, specify ypad
685 property for the cell renderer.
686 (ev_properties_fonts_set_document): add the details column.
688 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
690 * configure.ac: Added "pl" to ALL_LINGUAS.
692 2005-07-24 Danilo Šegan <danilo@gnome.org>
694 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
696 2005-07-23 Tommi Vainikainen <thv@iki.fi>
698 * help/ChangeLog: Started this for translations of manual.
699 * configure.ac, autogen.sh, .cvsignore: Migrated to
700 gnome-doc-utils. Patch in bug #311222.
702 2005-07-22 Martin Kretzschmar <martink@gnome.org>
704 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
705 #ifdef this away to fix an unused-function warning.
707 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
709 * configure.ac: Added 'gl' to ALL_LINGUAS.
711 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
713 * configure.ac: Added ne in ALL_LINGUAS
715 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
717 * shell/ev-view.c: (ev_view_leave_notify_event):
719 Clear status message when pointer leaves view. Fix for bug
722 2005-07-20 Ankit Patel <ankit644@yahoo.com>
724 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
726 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
728 * shell/ev-view.c: (ev_view_leave_notify_event),
729 (ev_view_class_init):
731 Set cursor to normal then leaving view.
733 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
737 Fix required djvulibre version.
739 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
741 *configure.ac: Hindi (hi) language added
743 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
745 *configure.ac: Punjabi (pa) Language added
747 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
749 * data/evince-ui.xml, shell/ev-window.c:
751 Add keypad accelerators for zooming. Fix for bug 308128.
753 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
756 * backend/Makefile.am:
757 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
759 * shell/ev-document-types.c: (ev_document_types_add_filters):
761 Allow to enable/disable the pixbuf backend.
762 Default to off for now. If we want it enabled we should
763 really put mime types in the desktop, implement properties etc.
765 * properties/evince-properties.c:
767 Initialize error to NULL.
768 Check error is not NULL before freeing.
770 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
774 Use F5 as presentation accell
776 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
778 * shell/ev-window.c: (update_chrome_visibility),
779 (ev_window_create_fullscreen_popup), (ev_window_init):
781 Do not leak the fullscreen toolbar
783 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
785 * shell/ev-window.c: (view_actions_focus_in_cb),
786 (view_actions_focus_out_cb):
788 These has a return value! Fix totally random focus
789 issues we was seeing.
791 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
793 * shell/main.c: (load_files_remote):
795 Allow open more than one file
797 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
799 * shell/main.c: (load_files_remote):
801 Fix for dbus 0.33. bug #309975
803 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
805 * properties/ev-properties-main.c: (ev_properties_get_pages):
807 Actually return NULL for types we dont support
809 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
815 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
817 * backend/ev-document-factory.c:
818 (ev_document_factory_get_document):
820 Do not try to create the object if type
823 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
825 * ps/ps-document.c: (ps_document_dispose),
826 (ps_async_renderer_render_pixbuf):
829 Do not leak the target window
831 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
833 * shell/ev-application.c: (ev_application_init):
835 Let tbe check file existence for us.
836 Add a comment about eggrecent mime filter.
838 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
840 * data/evince-ui.xml:
841 * shell/ev-application.c: (ev_application_shutdown),
842 (ev_application_init), (ev_application_get_toolbars_model),
843 (ev_application_get_recent_model),
844 (ev_application_save_toolbars_model):
845 * shell/ev-application.h:
846 * shell/ev-window.c: (ev_window_add_recent),
847 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
848 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
851 Use common toolbar and recent models for all windows.
852 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
854 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
856 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
857 successfully check for gtk_icon_view_get_visible_range.
859 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
864 Fix djvu and dvi backend build.
866 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
868 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
869 (new_separator_pixbuf):
873 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
875 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
877 HIGification of toolbar editor dialogue.
879 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
884 Ever build metadata manager since it's just
885 disabled at runtime now.
887 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
889 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
890 (ev_metadata_manager_get), (ev_metadata_manager_set):
891 * shell/ev-metadata-manager.h:
893 Add an _init functions that enabled metadata management
896 * shell/ev-window.c: (page_changed_cb),
897 (setup_document_from_metadata), (ev_window_setup_document),
898 (setup_view_from_metadata), (ev_window_open_uri),
899 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
900 (ev_window_run_presentation), (ev_window_stop_presentation),
901 (save_sizing_mode), (ev_window_zoom_changed_cb),
902 (ev_window_continuous_changed_cb),
903 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
904 (window_configure_event_cb):
906 Remove all ugly metadata define since we deal with it
909 * shell/main.c: (load_files_remote), (main):
911 Add support for dbus cvs head. Hopefully didnt break one
912 of the other versions now!
914 If we dont get a response from the dbus server just
915 give up with it and not enable metadata.
917 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
920 * backend/Makefile.am:
922 * cut-n-paste/recent-files/Makefile.am:
923 * cut-n-paste/toolbar-editor/Makefile.am:
924 * cut-n-paste/zoom-control/Makefile.am:
927 * pixbuf/Makefile.am:
928 * properties/Makefile.am:
931 * thumbnailer/Makefile.am:
934 Make frontends depend on just libev.
935 Rework and group CFLAGS/LIBS definitions.
938 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
942 do not unnecessarily save zoom
945 * lib/ev-file-helpers.c: (ev_dot_dir):
951 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
955 Remove unnecessary dependencies
957 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
959 * properties/Makefile.am:
960 * thumbnailer/Makefile.am:
963 Some more cleanups. Was really necessary
964 but I probably introduced bugs, feel free
967 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
969 * backend/Makefile.am:
971 * cut-n-paste/recent-files/Makefile.am:
972 * cut-n-paste/toolbar-editor/Makefile.am:
973 * cut-n-paste/zoom-control/Makefile.am:
976 * pixbuf/Makefile.am:
977 * properties/Makefile.am:
980 * thumbnailer/Makefile.am:
983 Use gnome-common macros when possible.
984 Cleanup dependencies.
985 Actually disable deprecated where possible.
987 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
990 * backend/Makefile.am:
991 * properties/Makefile.am:
993 * thumbnailer/Makefile.am:
995 This should solve the circular dep without
998 * shell/ev-window.c: (setup_view_from_metadata):
1000 Never restore window size/position when the
1001 window is already visible.
1003 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1005 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1007 Return a boolean from timeout func. Fix ported from gedit.
1009 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1011 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1013 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1015 * shell/ev-document-types.c: set "All Documents" as default filter in
1018 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1020 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1021 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1022 (ev_metadata_manager_set_boolean): fix value/val thinko.
1024 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1026 * shell/ev-window.c: (setup_view_from_metadata),
1027 (window_state_event_cb), (window_configure_event_cb),
1030 Remember window position and maximized state
1032 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1036 Fix DBUS configure checks.
1038 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1039 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1040 (ev_metadata_manager_set_boolean):
1044 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1045 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1046 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1047 (ev_window_continuous_changed_cb),
1048 (ev_window_dual_mode_changed_cb), (ev_window_new):
1050 Fix the build without DBUS.
1052 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1054 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1055 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1056 (ev_metadata_manager_set_string),
1057 (ev_metadata_manager_set_boolean):
1058 * shell/ev-metadata-manager.h:
1060 Add support for some more types
1062 * shell/ev-view.c: (scroll_to_current_page),
1063 (ev_view_get_continuous), (ev_view_set_continuous),
1064 (ev_view_get_dual_page):
1066 * shell/ev-window.c: (page_changed_cb),
1067 (setup_document_from_metadata), (ev_window_setup_document),
1068 (setup_view_from_metadata), (ev_window_open_uri),
1069 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1070 (ev_window_run_presentation), (ev_window_stop_presentation),
1071 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1072 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1073 (ev_window_update_dual_page_action),
1074 (ev_window_continuous_changed_cb),
1075 (ev_window_dual_mode_changed_cb), (ev_window_init):
1077 Remember a bunch of view/document properties. Prolly some
1078 are still missing but it's getting interesting.
1080 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1082 * configure.ac: check if dbus-binding-tool is installed. Not the
1083 case on current Ubuntu breezy, it seems.
1085 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1087 * data/evince.desktop.in.in:
1089 Allow open uri lists and add TryExec field.
1091 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1095 Enable dbus when available, do not require a configure
1098 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1102 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1105 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1106 Marco Pesenti Gritti <mpg@redhat.com>
1108 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1110 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1111 functions to the format required by dbus
1113 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1114 errors. Use the RPC parameters in the expected way
1116 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1119 * properties/Makefile.am:
1120 * properties/ev-properties-main.c: (ev_properties_get_pages):
1122 Support all mime types
1124 * shell/Makefile.am:
1125 * thumbnailer/Makefile.am:
1126 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1127 (evince_thumbnail_pngenc_get):
1129 Use the document factory
1131 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1133 * backend/Makefile.am:
1134 * backend/ev-document-factory.c:
1135 (mime_type_supported_by_gdk_pixbuf),
1136 (ev_document_type_get_from_mime),
1137 (ev_document_factory_get_document),
1138 (ev_document_factory_get_backend),
1139 (ev_document_factory_get_mime_types),
1140 (ev_document_factory_get_all_mime_types):
1141 * backend/ev-document-factory.h:
1142 * shell/Makefile.am:
1143 * shell/ev-document-types.c: (get_document_from_uri),
1144 (ev_document_types_get_document),
1145 (file_filter_add_mime_list_and_free),
1146 (ev_document_types_add_filters):
1147 * shell/ev-document-types.h:
1148 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1149 * shell/ev-properties-dialog.c:
1150 (ev_properties_dialog_set_document):
1151 * shell/ev-window.c: (ev_window_cmd_file_open),
1152 (ev_window_cmd_save_as):
1153 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1155 Rework document types managing to avoid code duplication
1156 and actually abstract from backend implementations.
1157 Also provide a minimal factory api that can be used by
1158 thumbnailer/properties.
1160 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1162 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1164 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1167 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1169 * shell/ev-properties-dialog.c
1170 (ev_properties_dialog_set_document): only call
1171 ev_properties_fonts_set_document() if the document implements the
1174 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1177 * properties/Makefile.am:
1178 * properties/ev-properties-view.c:
1179 (ev_properties_view_register_type):
1180 * properties/ev-properties-view.h:
1181 * properties/ev-properties-main.h:
1183 Implement nautilus plugin for properties.
1184 Works only for pdf atm, I need to rework the
1185 document types stuff to get this to work
1188 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1190 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1191 (ev_properties_fonts_set_document): use
1192 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1194 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1196 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1198 (PlaceImage, tiff2ps_process_page): use
1199 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1202 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1204 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1205 (main): to call gnome_authentication_manager_init. Should fix
1208 * configure.ac: that requires libgnomeui 2.6.0.
1210 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1212 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1213 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1214 use the new tiff2ps interfaces
1216 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1217 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1219 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1220 structure instead of global variables. Remove use of static
1221 variables in functions.
1223 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1225 * shell/ev-page-action.c: unref the completion after setting it to the
1228 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1230 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1233 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1235 * shell/ev-window.c (update_action_sensitivity): disable
1236 File->Print if the document does not implement the ps exporter
1239 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1243 * data/evince-properties.glade:
1244 * properties/.cvsignore:
1245 * properties/Makefile.am:
1246 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1247 (ev_properties_view_class_init), (ev_properties_view_format_date),
1248 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1249 (ev_properties_view_init), (ev_properties_view_new):
1250 * properties/ev-properties-view.h:
1251 * shell/Makefile.am:
1252 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1253 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1254 (ev_properties_dialog_new):
1255 * shell/ev-properties-dialog.h:
1256 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1257 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1258 (update_progress_label), (job_fonts_finished_cb),
1259 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1260 * shell/ev-properties-fonts.h:
1261 * shell/ev-properties.c:
1262 * shell/ev-properties.h:
1263 * shell/ev-window.c: (ev_window_setup_document),
1264 (ev_window_cmd_file_properties):
1266 Split the properties pages in two different objects, depend
1267 only on the backend where possible, use widgets instead
1268 of gobject for the glade part, reimplement the dialog
1270 I need this to implement nautilus properties page.
1272 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1274 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1275 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1276 (tiff_document_document_ps_exporter_iface_init): implement the ps
1277 exporter interface for tiff documents
1279 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1280 libtiff to implement TIFF postscript export
1282 * tiff/tiff2ps.h: added a header file for external tiff2ps
1285 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1288 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1290 * shell/ev-view.c: (scroll_to_current_page),
1291 (ev_view_set_fullscreen), (ev_view_set_presentation):
1293 Scroll to current page when exit from presentation
1295 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1297 * shell/ev-window.c: (update_document_mode),
1298 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1299 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1300 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1302 Exit from fullscreen mode when switch to presentation. Fix for
1305 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1307 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1308 return NULL if the document does not implement the selection
1311 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1313 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1314 reported height by using the resolution aspect ratio
1315 (tiff_document_render_pixbuf): scale the pixbuf using the
1316 resolution aspect ratio
1318 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1322 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1323 <kiltedaco@gmail.com>
1325 * djvu/djvu-document.c: (djvu_document_get_orientation),
1326 (djvu_document_set_orientation), (djvu_document_get_page_size),
1327 (rotate_pixbuf), (djvu_document_render_pixbuf),
1328 (djvu_document_document_iface_init):
1329 * dvi/dvi-document.c: (dvi_document_get_orientation),
1330 (dvi_document_set_orientation), (dvi_document_get_page_size),
1331 (rotate_pixbuf), (dvi_document_render_pixbuf),
1332 (dvi_document_document_iface_init):
1334 Dvi and djvu backends are ported to new API
1336 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1338 * backend/ev-selection.c: (ev_selection_get_selection_region),
1339 (ev_selection_get_selection_map):
1340 * backend/ev-selection.h:
1341 * pdf/ev-poppler.cc:
1342 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1344 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1345 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1346 (ev_pixbuf_cache_get_text_mapping):
1347 * shell/ev-pixbuf-cache.h:
1348 * shell/ev-view.c: (location_in_text),
1349 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1350 support to EvView. Now we can see where we can select! Sweet!
1352 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1354 * shell/ev-view.c (ev_view_button_press_event): Fix
1355 event->y + view->scroll_x typo.
1357 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1359 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1360 sub-GdkPixbuf instead of passing dest_x and dest_y.
1362 * shell/ev-view.c: (view_point_to_doc_point),
1363 (view_rect_to_doc_rect), (ev_view_button_press_event),
1364 (ev_view_motion_notify_event), (compute_new_selection_rect),
1365 (gdk_rectangle_point_in), (compute_new_selection_text),
1366 (compute_selections): Update selection code to keep the selection
1367 around as two points and not as a normalized rectangle, and fix
1368 page level selection in two-column mode.
1370 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1372 * shell/ev-window.c: (window_configure_event_cb):
1376 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1378 * pdf/ev-poppler.cc:
1382 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1384 * shell/Makefile.am:
1385 * shell/ev-metadata-manager.c: (item_free),
1386 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1387 (parse_value), (parseItem), (load_values),
1388 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1389 (save_values), (save_item), (get_oldest), (resize_items),
1390 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1391 * shell/ev-metadata-manager.h:
1393 Metadata manager from gedit but modified to use GValue, so that
1394 we dont need to keep converting from strings.
1398 ENABLE_METADATA conditional, on when dbus is on
1400 * shell/ev-application.c: (ev_application_open_uri):
1402 Show the window after load so that we can initialize
1403 window size before it's showed.
1405 * shell/ev-window.c: (ev_window_setup_from_metadata),
1406 (ev_window_open_uri), (window_configure_event_cb),
1409 Save and load metadata information about window size.
1410 Not yet keeping states in account.
1412 * shell/main.c: (main):
1414 Shutdown metadata manager.
1416 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1418 * shell/ev-application-service.xml:
1420 * shell/Makefile.am:
1421 * shell/ev-application.c:
1422 * shell/ev-application.h:
1423 * shell/ev-window.c:
1424 * shell/ev-window.h:
1427 Add an optional dbus interface (--enable-dbus).
1428 Rework application code, mainly to be easier to
1430 Do not open multiple windows with the same document,
1433 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1435 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1436 pixbuf iff it exists.
1438 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1441 * backend/ev-render-context.[ch]:
1442 * backend/ev-selection.[ch]:
1444 Massive changes. We now support text selection of pdfs, and not
1445 just rectangular selection. This is pretty broken still, but I
1446 want to get something into CVS.
1448 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1450 * pdf/ev-poppler.cc:
1452 Fix for Bug 309080: crash on window close.
1454 * shell/ev-page-action.c: (page_changed_cb):
1456 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1457 jensgr@gmx.net (Jens Granseuer).
1459 2005-06-25 Marcel Telka <marcel@telka.sk>
1461 * configure.in (ALL_LINGUAS): Added sk.
1463 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1465 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1468 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1475 * cut-n-paste/recent-files/Makefile.am:
1479 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1481 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1482 (pixbuf_document_set_orientation), (rotate_pixbuf),
1483 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1484 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1486 Implement rotation and cleanup the code a bit.
1488 * tiff/tiff-document.c: (tiff_document_get_page_size),
1489 (tiff_document_get_orientation), (tiff_document_set_orientation),
1490 (rotate_pixbuf), (tiff_document_render_pixbuf),
1491 (tiff_document_document_iface_init), (tiff_document_init):
1493 Implement rotation. Was the quicker solution for the release
1494 but we really need to share this code in the shell.
1496 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1498 * pdf/ev-poppler.cc:
1500 Enable rotation, require poppler cvs. Fix a leak.
1502 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1504 * shell/ev-window.c: (update_action_sensitivity):
1506 Make properties unsensitive if document backend doesn't provide
1509 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1511 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1512 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1513 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1514 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1515 (bitmap_flip_rotate_counter_clockwise):
1516 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1517 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1519 * dvi/mdvi-lib/common.h:
1520 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1521 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1522 (opendvi), (mdvi_reload), (mdvi_init_context),
1523 (mdvi_destroy_context), (mdvi_dopage), (special):
1524 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1525 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1526 (file_hash_free), (register_encoding), (parse_spec),
1527 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1528 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1529 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1530 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1531 (mdvi_register_font_type), (mdvi_unregister_font_type),
1532 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1533 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1534 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1535 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1536 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1537 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1538 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1539 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1540 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1541 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1542 (mdvi_unregister_special), (mdvi_flush_specials):
1543 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1545 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1546 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1547 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1548 (free_font_metrics), (flush_font_metrics):
1549 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1551 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1552 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1553 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1554 (dstring_insert), (dstring_new), (dstring_reset):
1555 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1557 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1558 avoid conflict with libtool on FC4
1560 * shell/ev-window.c: (ev_window_cmd_help_about):
1562 Update copyright year. Fix for bug 308828.
1564 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1566 * shell/ev-view.c: (add_scroll_binding_keypad),
1567 (ev_view_binding_activated), (ev_view_class_init),
1568 (on_adjustment_value_changed):
1570 Bug 170874: Arrow keys switch pages in presentation mode
1572 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1574 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1576 Fix for Bug 308265: Sidebar dissappears coming out of
1579 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1581 * shell/ev-application.c: (ev_application_open):
1582 * shell/ev-document-types.c: (ev_document_types_add_filters),
1583 (ev_document_types_add_filters_for_type):
1584 * shell/ev-document-types.h:
1585 * shell/ev-window.c: (ev_window_cmd_save_as):
1587 Suggest basename as template when saving, provide filters
1588 for save dialog. It's bug 308402
1590 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1592 * pdf/ev-poppler.cc:
1593 * shell/ev-sidebar-links.c: (job_finished_callback):
1594 * shell/ev-view.c: (update_find_status_message):
1598 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1600 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1601 (egg_recent_view_uimanager_set_list):
1603 Fix buglet in !show_numbers case.
1605 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1607 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1608 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1610 Use pango ellipsisation.
1612 * pdf/ev-poppler.cc:
1614 Fix refcount leak, from nsh.
1616 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1618 * cut-n-paste/recent-files/Makefile.am:
1619 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1620 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1622 Removed EggRecentViewGtk
1624 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1625 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1626 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1627 (ev_window_setup_recent):
1629 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1632 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1634 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1635 (egg_recent_view_gtk_finalize):
1639 * cut-n-paste/toolbar-editor/Makefile.am:
1641 Fix location of cursor icon.
1643 * pdf/ev-poppler.cc:
1644 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1645 (display_completion_text), (match_completion):
1646 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1647 (selection_changed_callback), (create_loading_model),
1648 (print_section_cb), (links_page_num_func),
1649 (update_page_callback_foreach):
1650 * shell/ev-window.c: (ev_window_dispose):
1652 Small memory fixes. Links model now store objects instead
1653 of pointers to improve memory management.
1655 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1657 * shell/ev-window.c: (zoom_control_changed_cb):
1659 Fix update of zoom control (bug 308268).
1661 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1663 * shell/ev-properties.c (set_property): escape the text correctly.
1664 Handles non-UTF-8 properties and escaped properties. Also, sets
1665 the text to "<i>None</i>" if the property isn't set.
1667 * data/evince-properties.glade: Change the label to be ellipsized,
1668 and give it a minimum size.
1670 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1672 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1673 * shell/ev-sidebar-links.c: (create_loading_model):
1674 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1675 * shell/ev-view.c: (ev_view_set_document):
1676 * shell/ev-window.c: (ev_window_dispose):
1678 Various small fixes, mostly memory leaks. Thanks to valgrind.
1680 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1682 * ps/ps-document.c: remove the locale.h include again ;-). And
1683 kill the (bogus) setlocale/savelocale business.
1685 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1689 Include locale.h to fix build
1691 * shell/ev-sidebar.c:
1693 Remove unnecessary includes
1695 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1697 * dvi/dvi-document.c: (dvi_document_load):
1698 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1701 Check for incorrect dvi files. Fix parsing dvi on AMD64
1702 platform. Thanks to tester@tester.ca (Olivier Crete).
1704 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1706 * shell/ev-page-action.c: (match_selected_cb),
1707 (display_completion_text), (match_completion), (update_model):
1708 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1709 (expand_open_links):
1710 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1711 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1712 (ev_sidebar_set_document):
1713 * shell/ev-window.c: (ev_window_xfer_job_cb),
1714 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1716 Fixed lot's of memory leaks, for example, memory leak on reload,
1717 described in bug 307793.
1719 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1721 * pdf/ev-poppler.cc:
1722 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1723 (update_visible_range), (adjustment_changed_cb),
1724 (ev_sidebar_thumbnails_fill_model),
1725 (ev_sidebar_thumbnails_refresh),
1726 (ev_sidebar_tree_selection_changed),
1727 (ev_sidebar_icon_selection_changed),
1728 (ev_sidebar_thumbnails_use_icon_view),
1729 (ev_sidebar_thumbnails_set_document):
1730 * shell/ev-sidebar-thumbnails.h:
1731 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1732 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1734 Refresh thumbnails when changing orientation. Not fully
1735 working yet becuase of a sidebar bug.
1737 Set page orientation to poppler page everywhere. This sucks
1738 really need to fix poppler.
1740 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1742 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1743 (egg_recent_view_gtk_new_menu_item),
1744 (egg_recent_view_gtk_set_property),
1745 (egg_recent_view_gtk_get_property),
1746 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1747 (egg_recent_view_gtk_set_tooltip_func),
1748 (egg_recent_view_gtk_set_label_width),
1749 (egg_recent_view_gtk_get_label_width):
1750 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1752 Sync with libegg (ellipsize labels)
1754 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1756 * data/evince-ui.xml:
1757 * shell/ev-window.c: (ev_window_cmd_go_forward),
1758 (ev_window_cmd_go_backward):
1760 Shift + PageUp moves 10 Pages. Fix for 306125
1762 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1764 * pdf/ev-poppler.cc:
1766 Add a flag to check if orientation has been overriden
1768 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1770 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1773 * ps/ps.h: add creator field to document.
1775 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1778 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1780 * data/evince-properties.glade:
1781 * shell/ev-properties.c: (ev_properties_set_document):
1783 s/PDF Version/Format
1785 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1787 * shell/ev-properties.c: (ev_properties_set_document):
1789 Remove unnecessary translations
1791 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1793 * cut-n-paste/toolbar-editor/Makefile.am:
1795 Correct library name
1797 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1800 * cut-n-paste/recent-files/egg-recent-model.c:
1801 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1802 (egg_recent_model_unlock_file):
1803 * cut-n-paste/recent-files/egg-recent-util.c:
1804 (egg_recent_util_get_unique_id):
1805 * cut-n-paste/recent-files/update-from-egg.sh:
1806 * cut-n-paste/toolbar-editor/Makefile.am:
1807 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1808 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1809 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1810 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1811 (egg_toolbars_model_get_type):
1812 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1814 Better makefile for toolbar editor and update everything
1817 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1819 * shell/ev-window.c: (update_document_mode):
1821 Prefer presentation mode when the document
1824 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1826 * data/evince-ui.xml:
1827 * shell/ev-window.c:
1829 Add control-equal for zooming
1831 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1833 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1835 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1837 * backend/ev-document.c: (ev_document_get_orientation):
1838 * backend/ev-document.h:
1839 * pdf/ev-poppler.cc:
1840 * ps/ps-document.c: (ps_document_get_orientation),
1841 (ps_document_set_orientation), (ps_document_document_iface_init):
1843 Add a get_orientation api. Improve set_orientation.
1845 * data/evince-ui.xml:
1846 * shell/ev-view.c: (ev_view_set_orientation),
1847 (ev_view_rotate_right), (ev_view_rotate_left):
1849 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1850 (ev_window_cmd_edit_rotate_right):
1852 Better ui for changing document orientation
1854 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1856 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1857 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1858 * shell/ev-sidebar-links.h:
1859 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1860 (ev_sidebar_page_iface_init):
1861 * shell/ev-sidebar-page.h:
1862 * shell/ev-sidebar-thumbnails.c:
1863 (ev_sidebar_thumbnails_get_property),
1864 (ev_sidebar_thumbnails_class_init),
1865 (ev_sidebar_thumbnails_set_document):
1866 * shell/ev-sidebar-thumbnails.h:
1867 * shell/ev-view.c: (ev_view_motion_notify_event):
1868 * shell/ev-window.c: (update_chrome_visibility),
1869 (ev_window_cmd_focus_page_selector),
1870 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1871 (sidebar_page_main_widget_update_cb), (ev_window_init):
1873 Autoraise toolbar on GoToPage binding and fix bindings in
1874 EvSidebarThumbnails page.
1876 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1878 * shell/ev-properties.c: (update_progress_label):
1880 Hide the progress label when finished; bug #307697.
1882 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1884 * pdf/ev-poppler.cc:
1886 Enable is_open for links, you will need poppler cvs
1888 * shell/ev-properties.c: (job_fonts_finished_cb):
1890 Get a lock on the document when filling the tree view
1892 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1894 * backend/ev-document-links.h:
1895 * pdf/ev-poppler.cc:
1896 * shell/ev-sidebar-links.c: (create_loading_model),
1897 (expand_open_links), (job_finished_callback):
1899 Expand links when specified by the document.
1900 Depend on a poppler api (defined out for now)
1902 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1904 * shell/ev-properties.c: (ev_properties_dispose),
1905 (ev_properties_class_init), (dialog_destroy_cb),
1906 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1907 (ev_properties_set_document), (ev_properties_new),
1908 (ev_properties_show):
1909 * shell/ev-properties.h:
1911 Make it an object, cleanup the code, api to show it as transient
1912 and to set the document.
1914 * shell/ev-window.c: (ev_window_setup_document),
1915 (ev_window_cmd_file_properties):
1917 Adapt to EvProperties changes, do not show multiple
1918 times, update it when document changes.
1920 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1923 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1924 (ps_document_set_orientation), (ps_document_document_iface_init):
1927 Implement orientation here too
1929 * shell/ev-properties.c: (ev_properties_new):
1930 * data/evince-properties.glade:
1932 Hide the fonts page for backends that doesnt
1935 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1937 * backend/ev-document.c: (ev_document_set_orientation):
1938 * backend/ev-document.h:
1939 * pdf/ev-poppler.cc:
1941 Add orientation api. Currently poppler api is not optimal,
1942 we need to set orientation every time we _get a page.
1943 I will try to fix that at some point.
1945 * data/evince-ui.xml:
1946 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1947 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1949 Add orientation menu items
1951 * shell/ev-page-cache.c: (ev_page_cache_clear):
1952 * shell/ev-page-cache.h:
1954 Add api to clear the cache
1956 * shell/ev-view.c: (setup_caches), (clear_caches),
1957 (ev_view_set_document), (ev_view_zoom_out),
1958 (ev_view_set_orientation):
1961 Implement orientation changing
1963 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1965 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1966 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1967 * backend/ev-document-fonts.h:
1969 Separate scan and fill so that we can incrementally fill from
1970 the main thread. Add a progress api.
1972 * data/evince-properties.glade:
1973 * pdf/ev-poppler.cc:
1974 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1976 * shell/ev-properties.c: (update_progress_label),
1977 (job_fonts_finished_cb), (setup_fonts_view):
1979 Incrementally feel the list and show the progress
1980 percentage in a label like acrobat does.
1982 You are going to need poppler cvs
1984 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1986 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1987 * backend/ev-document-fonts.h:
1988 * pdf/ev-poppler.cc:
1990 Make fonts model fill incrementally.
1992 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1993 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1994 (ev_job_queue_remove_job):
1995 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1996 (ev_job_fonts_new), (ev_job_fonts_run):
1999 New job for fonts scanning
2001 * shell/ev-properties.c: (job_fonts_finished_cb),
2002 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2003 * shell/ev-properties.h:
2004 * shell/ev-window.c: (ev_window_cmd_file_properties):
2006 Incrementally feel the treeview using the new job. Show Loading...
2007 message until scanning is completed.
2009 Hopefully I didnt break the build without the poppler patch.
2011 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2013 * shell/ev-application.c: (ev_application_open):
2014 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2015 (ev_document_type_get_type), (ev_document_type_lookup):
2016 * shell/ev-document-types.h:
2017 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2018 * shell/ev-job-xfer.h:
2019 * shell/ev-window.c: (ev_window_clear_local_uri),
2020 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2021 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2022 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2024 Transfer remote documents to tmp directory to display them later.
2026 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2028 * backend/ev-document-info.h:
2029 * shell/ev-properties.c: (ev_properties_new):
2031 s/GTime*/GTime. Not sure why we was using a pointer
2034 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2036 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2037 situations. That situation is that you're using GTK+-HEAD with
2038 the patch at #306726 is applied, and you have a document with <
2039 1500 pages in it. It's not quite as uniformly nice as the
2040 TreeView, but should be better in the long run.
2042 I'm pretty sure I guarded against breaking compilation with
2043 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2046 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2047 widget yet, so I commented that code out
2048 enable_view_actions_for_widget() for now. Need to figure this
2051 * shell/ev-page-action.c (match_selected_cb): emit the right
2052 signals. Our cool C-l completion now works.
2054 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2056 * backend/Makefile.am:
2057 * backend/ev-document-fonts.c:
2058 * backend/ev-document-links.c:
2059 * backend/ev-document.c: (ev_document_load):
2060 * backend/ev-document.h:
2061 * backend/ev-job-queue.c:
2062 * backend/ev-job-queue.h:
2063 * backend/ev-jobs.c:
2064 * backend/ev-jobs.h:
2065 * backend/ev-page-cache.c:
2066 * backend/ev-page-cache.h:
2068 EvPageCache and EvJobs are moved to shell.
2070 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2072 * lib/ev-file-helpers.h:
2074 New helper to work with temporary files
2076 * shell/Makefile.am:
2077 * shell/ev-application.c: (ev_application_open):
2078 * shell/ev-application.h:
2079 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2080 (remove_job_from_async_queue), (add_job_to_async_queue),
2081 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2082 (handle_job), (search_for_jobs_unlocked),
2083 (no_jobs_available_unlocked), (ev_render_thread),
2084 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2085 (ev_job_queue_add_job), (move_job_async), (move_job),
2086 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2087 * shell/ev-job-queue.h:
2088 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2089 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2090 * shell/ev-job-xfer.h:
2091 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2092 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2093 (ev_job_links_class_init), (ev_job_render_init),
2094 (ev_job_render_dispose), (ev_job_render_class_init),
2095 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2096 (ev_job_thumbnail_class_init), (ev_job_load_init),
2097 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2098 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2099 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2100 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2102 * shell/ev-page-action.c: (ev_page_action_set_document):
2103 * shell/ev-page-cache.c: (ev_page_cache_init),
2104 (ev_page_cache_class_init), (ev_page_cache_finalize),
2105 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2106 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2107 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2108 (ev_page_cache_get_title), (ev_page_cache_get_size),
2109 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2110 (ev_page_cache_get_height_to_page),
2111 (ev_page_cache_get_max_label_chars),
2112 (ev_page_cache_get_page_label),
2113 (ev_page_cache_has_nonnumeric_page_labels),
2114 (ev_page_cache_get_info), (ev_page_cache_next_page),
2115 (ev_page_cache_prev_page), (ev_page_cache_get):
2116 * shell/ev-page-cache.h:
2117 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2118 (ev_pixbuf_cache_clear_job_sizes),
2119 (ev_pixbuf_cache_add_jobs_if_needed),
2120 (ev_pixbuf_cache_set_page_range):
2121 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2122 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2123 * shell/ev-sidebar-thumbnails.c:
2124 (ev_sidebar_tree_selection_changed),
2125 (ev_sidebar_thumbnails_set_document):
2126 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2127 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2128 (ev_statusbar_get_context_id), (ev_statusbar_push),
2129 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2130 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2131 (ev_statusbar_set_progress):
2132 * shell/ev-statusbar.h:
2133 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2134 (ev_view_find_previous):
2135 * shell/ev-window.c: (ev_window_is_empty),
2136 (ev_window_setup_document), (password_dialog_response),
2137 (ev_window_clear_jobs), (ev_window_load_job_cb),
2138 (ev_window_xfer_job_cb), (ev_window_open_uri),
2139 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2140 (ev_window_print), (ev_window_print_range),
2141 (ev_window_state_event), (ev_window_cmd_view_reload),
2142 (menu_item_select_cb), (menu_item_deselect_cb),
2143 (view_status_changed_cb), (ev_window_dispose),
2144 (drag_data_received_cb), (ev_window_init):
2145 * shell/ev-window.h:
2146 * shell/main.c: (load_files):
2148 New statusbar to show progress on idle. Two new jobs -
2149 xfer job and load job to load document in background. And update
2150 of page_cache clients to new location of code.
2152 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2154 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2155 selection in open dialog. It also remembers the last visited directory
2156 in the current session.
2158 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2160 * shell/ev-properties.c: (ev_properties_new):
2161 * shell/ev-properties.h:
2162 * shell/ev-window.c: (ev_window_cmd_file_properties):
2164 Get document info from page cache instead of document itself.
2165 This should fix crash related to race conditions described in
2168 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2170 * ps/ps-document.c: (ps_document_init),
2171 (send_ps), (get_page_box), (output), (catchPipe), (input),
2172 (stop_interpreter), (file_length), (file_readable),
2173 (check_filecompressedb), (ps_document_enable_interpreter),
2174 (document_load), (ps_async_renderer_render_pixbuf):
2177 Big cleanup of the ps code
2179 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2181 * backend/Makefile.am:
2182 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2183 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2184 * backend/ev-async-renderer.h:
2186 Add an async renderer interface (method + callback) which
2187 is useful for backends like ps.
2189 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2190 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2191 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2192 (ev_job_queue_add_job), (move_job_async), (move_job),
2193 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2195 Add queues for async renderer, these are executed on the
2198 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2199 (ev_job_render_run):
2200 * backend/ev-jobs.h:
2202 If the backend support async renderer interface use it.
2204 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2205 (setup_pixmap), (ps_document_get_type),
2206 (ps_async_renderer_render_pixbuf),
2207 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2209 Implement async renderer interface.
2211 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2213 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2215 Cleanup links job on exit.
2217 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2219 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2220 (drag_data_get_cb), (drag_data_received_cb):
2221 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2222 (drag_data_get_cb), (parse_item_list),
2223 (egg_toolbar_editor_load_actions):
2224 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2225 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2226 (parse_item_list), (parse_toolbars):
2227 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2228 (dvi_pixbuf_put_pixel):
2230 Fix gcc 4.0 warnings
2232 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2234 * ps/ps-document.c: (start_interpreter):
2236 Fix warning when loading ps
2238 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2240 * ps/ps-document.c: (output):
2242 Fix crash when priting gs error messages.
2244 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2246 * backend/ev-page-cache.c: (_ev_page_cache_new):
2247 * backend/ev-page-cache.h:
2249 Use a const to return title so that we dont double
2250 free it. Small cleanup and fix a leak.
2252 * shell/ev-window.c: (update_window_title):
2254 strdup value from get_title.
2256 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2258 * shell/ev-sidebar-links.c: (job_finished_callback),
2259 (ev_sidebar_links_set_document):
2261 Cleanup the old job when changing document
2263 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2265 * shell/ev-stock-icons.c:
2266 * shell/ev-stock-icons.h:
2267 * shell/ev-window.c:
2269 Add stock icons for actions that can appear in toolbar. Fix for
2272 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2274 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2275 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2276 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2277 * backend/ev-page-cache.h:
2278 * shell/ev-view.c: (scroll_to_current_page),
2279 (view_update_range_and_current_page), (get_page_y_offset),
2280 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2281 (ev_view_size_request_continuous),
2282 (ev_view_zoom_for_size_continuous_and_dual_page),
2283 (ev_view_zoom_for_size_continuous):
2285 More compact EvView layout in document with pages of different size.
2287 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2289 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2292 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2294 * shell/ev-view.c: (view_set_adjustment_values):
2295 * shell/ev-window.c: (ev_window_cmd_file_properties):
2297 A bit different fix for rounding problem but it has no
2298 problems on startup. Make properties window transient to parent.
2300 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2302 * pdf/ev-poppler.cc:
2304 More commenting of font stuff.
2306 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2308 * pdf/ev-poppler.cc:
2310 Comment out some more fonts stuff. Should really
2311 work without the poppler patch now.
2313 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2315 * pdf/ev-poppler.cc:
2319 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2321 * data/evince-properties.glade:
2322 * pdf/ev-poppler.cc:
2323 * shell/ev-properties.c: (setup_fonts_view):
2325 Set the column title. Show the dialog only
2326 once everything is setup.
2327 Getting font info can be very slow... will
2328 prolly need to make this threaded too.
2330 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2332 * backend/Makefile.am:
2333 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2334 (ev_document_fonts_get_fonts_model):
2335 * backend/ev-document-fonts.h:
2336 * data/evince-properties.glade:
2337 * pdf/ev-poppler.cc:
2338 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2339 * shell/ev-properties.h:
2340 * shell/ev-window.c: (ev_window_cmd_file_properties):
2342 Implement fonts list. Defined out for now, since it depends
2343 on a not yet committed poppler patch.
2345 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2347 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2350 * shell/ev-window.c: Make sure we add the timeout when we get a
2353 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2354 adjustment->value before calculating the zoom factor to average
2355 out all of our rounding errors. The page no longer 'drifts' when
2358 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2360 * data/evince-properties.glade:
2361 * shell/ev-properties.c: (ev_properties_format_date),
2364 Labels don't expand when the dialogue is resized.
2365 strftime result needs to be converted to UTF-8. Thanks
2366 to Christian Persch <chpe@gnome.org>.
2368 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2370 * data/evince-properties.glade:
2374 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2376 * backend/ev-document-info.h:
2377 * backend/ev-document.c: (ev_document_info_free):
2378 * data/evince-properties.glade:
2379 * pdf/ev-poppler.cc:
2380 * ps/ps-document.c: (ps_document_get_info):
2381 * shell/ev-properties.c: (ev_properties_format_date),
2382 (set_property), (ev_properties_new):
2383 * shell/ev-properties.h:
2384 * shell/ev-window.c: (ev_window_cmd_file_properties):
2386 Rework properties code to take only EvPropertyInfo
2387 in the constructor so that it can be useful for
2388 nautilus plugin too.
2390 Deal with backends that doesnt support some properties.
2391 Make set property code generic.
2393 2005-06-04 Christian Persch <chpe@gnome.org>
2395 * data/evince-properties.glade:
2397 fix spacings, make resizeable, and make data labels
2398 selectable + ellipsised
2400 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2402 * backend/ev-document-info.h:
2404 * data/evince-ui.xml:
2405 * pdf/ev-poppler.cc:
2406 * shell/Makefile.am:
2407 * shell/ev-window.c: (update_action_sensitivity),
2408 (ev_window_cmd_file_properties):
2410 Initial go at file properties. Patch by
2411 Emil Soleyman-Zomalan <emil@soleyman.com>.
2412 Needs love see #169583
2414 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2416 * ps/ps-document.c: (output):
2417 * ps/ps.c: (psscan):
2419 Try to render even if psscan fails.
2421 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2423 * ps/ps.c: (psscan), (pscopydoc):
2425 Port buffered reading code from gv
2427 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2429 * ps/ps-document.c: (interpreter_message), (output):
2431 Do not fail on interpreter messages
2433 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2435 * backend/ev-document-misc.c:
2436 (ev_document_misc_get_thumbnail_frame):
2438 Pages can be 0 x 0, dont assert on this case
2440 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2442 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2443 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2445 Correctly manage our reference on document. Finally the reload
2446 huge leak is gone...
2448 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2450 * ps/ps-document.c: (ps_document_dispose):
2452 Forgot to chain it to the parent. Thanks chpe.
2454 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2456 * ps/ps-document.c: (ps_document_dispose),
2457 (ps_document_class_init), (stop_interpreter), (document_load):
2459 Cleanup dispose a bit. Dont leak the whole pixmap.
2461 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2463 * pdf/ev-poppler.cc:
2465 Release the poppler document on dispose
2467 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2469 * shell/ev-view.c: (ev_view_set_document):
2471 Release ref on the pixbuf cache when changing
2474 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2476 * ps/ps-document.c: (ps_document_get_info):
2480 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2482 * backend/ev-page-cache.c: (ev_page_cache_init),
2483 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2484 * backend/ev-page-cache.h:
2485 * shell/ev-page-action.c: (page_changed_cb):
2487 Set page action entry width depending on labels width. Fix
2490 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2492 * backend/ev-link.c: (ev_link_class_init):
2494 Allow -1 as page value (error)
2496 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2498 * shell/ev-sidebar-thumbnails.c:
2499 (ev_sidebar_thumbnails_set_document):
2500 * shell/ev-view.c: (scroll_to_current_page),
2501 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2502 (page_changed_cb), (on_adjustment_value_changed),
2503 (ev_view_set_document):
2505 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2508 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2511 * djvu/djvu-document.c: (djvu_document_get_page_size):
2513 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2516 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2518 * shell/ev-view.c (draw_one_page): modify the expose handling to
2521 * shell/ev-window.c (update_action_sensitivity): Respect
2522 permissions field. Kowtow to the man.
2524 * pdf/ev-poppler.cc: Get the permissions field.
2526 * tiff/*c: Make a tiny bit more robust.
2528 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2530 * djvu/djvu-document.c:
2532 Pop messages from djvu context message queue.
2534 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2536 * configure.ac, Makefile.am, shell/Makefile.am:
2537 * tiff/Makefile.am, shell/ev-document-types.c:
2539 Cleanup tiff configure checks. Fix for bug 305218.
2541 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2543 * configure.ac: Added "uk" to ALL_LINGUAS.
2545 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2547 * cut-n-paste/zoom-control/ephy-zoom.c:
2548 (ephy_zoom_get_changed_zoom_level):
2549 * cut-n-paste/zoom-control/ephy-zoom.h:
2550 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2551 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2552 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2553 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2554 (zoom_control_changed_cb), (ev_window_init):
2556 Fix minor points related to moving best fit up. Introduce
2557 "zoom" property and make zoom control change it's value on
2558 notify::zoom signals. Fix for 305080.
2560 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2562 * data/evince-ui.xml:
2563 * shell/ev-window.c: (set_view_actions_sensitivity):
2565 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2567 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2571 Depends on poppler 0.3.2
2573 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2575 * cut-n-paste/recent-files/egg-recent-item.c:
2576 (egg_recent_item_get_short_name):
2577 * cut-n-paste/toolbar-editor/Makefile.am:
2578 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2579 (new_pixbuf_from_widget):
2580 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2581 * cut-n-paste/toolbar-editor/egg-marshal.c:
2582 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2583 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2587 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2589 * tiff/tiff-document.c: Rough TIFF backend.
2591 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2595 * cut-n-paste/toolbar-editor/Makefile.am:
2599 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2601 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2602 (ev_view_find_next), (ev_view_find_previous):
2604 Remove the locks around get_n_results
2606 2005-05-21 Juerg Billeter <j@bitron.ch>
2608 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2610 Pass correct number of pages to poppler.
2612 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2616 * data/evince.desktop.in:
2617 * data/evince.desktop.in.in:
2620 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2622 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2624 * shell/ev-view.c: (view_update_adjustments),
2625 (view_set_adjustment_values): cast adjustmen->value to (int)
2626 before using it. Otherwise, we get off by a pixel in some
2629 (draw_one_page): Draw the border on expose.
2631 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2633 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2634 adjustment when the mode changes, #304923
2636 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2638 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2639 flickering on resize but still use gdk_window_scroll on
2642 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2644 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2647 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2649 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2650 second page on page_changed if possible, #304669
2652 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2654 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2655 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2657 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2660 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2661 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2662 (ev_view_zoom_for_size_presentation),
2663 (ev_view_zoom_for_size_continuous_and_dual_page),
2664 (ev_view_zoom_for_size_continuous),
2665 (ev_view_zoom_for_size_dual_page),
2666 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2668 * shell/ev-window.c: (update_view_size),
2669 (ev_window_sizing_mode_changed_cb):
2671 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2672 the scrollbars. It's not 100% right, but it's much closer. Kills
2673 an infinite loop, #304769
2676 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2678 * data/evince-ui.xml:
2679 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2680 * shell/ev-window.c: (set_view_actions_sensitivity):
2682 Make PgUp/Down behave like Space
2684 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2686 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2687 * backend/ev-ps-exporter.h:
2688 * pdf/ev-poppler.cc:
2689 * ps/ps-document.c: (ps_document_ps_export_begin):
2690 * shell/ev-print-job.c: (idle_print_handler):
2692 Adapt to new poppler api
2694 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2696 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2697 (ephy_zoom_control_init):
2699 Translate zoom levels
2701 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2703 * cut-n-paste/zoom-control/ephy-zoom.c:
2704 (ephy_zoom_get_zoom_level_index):
2706 Fix current zoom -> zoom control match
2708 2005-05-18 James Bowes <bowes@cs.dal.ca>
2710 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2711 rather than the scrolled_window that it's in. Fixes bug #304655.
2713 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2715 * shell/ev-view.c: (view_update_adjustments),
2716 (view_set_adjustment_values), (view_update_range_and_current_page),
2717 (view_scroll_to_page), (set_scroll_adjustment),
2718 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2719 (ev_view_scroll), (ev_view_scroll_view),
2720 (ensure_rectangle_is_visible), (find_page_at_location),
2721 (get_link_at_location), (go_to_link), (status_message_from_link),
2722 (ev_view_size_request_continuous_dual_page),
2723 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2724 (ev_view_unrealize), (ev_view_expose_event),
2725 (ev_view_button_press_event), (ev_view_motion_notify_event),
2726 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2727 (draw_rubberband), (highlight_find_results), (draw_one_page),
2728 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2729 (ev_view_init), (find_changed_cb), (page_changed_cb),
2730 (on_adjustment_value_changed), (ev_view_new),
2731 (ev_view_set_document), (ev_view_set_zoom),
2732 (ev_view_set_continuous), (ev_view_set_dual_page),
2733 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2734 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2735 (ev_view_zoom_for_size_presentation),
2736 (ev_view_zoom_for_size_continuous_dual_page),
2737 (ev_view_zoom_for_size_continuous),
2738 (ev_view_zoom_for_size_dual_page),
2739 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2740 (ev_view_get_status), (ev_view_set_status),
2741 (update_find_status_message), (ev_view_get_find_status),
2742 (ev_view_set_find_status), (jump_to_find_result),
2743 (jump_to_find_page), (compute_selections), (clear_selection),
2744 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2745 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2746 (ev_view_update_primary_selection),
2747 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2749 * shell/ev-window.c: (ev_window_open_page_label),
2750 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2752 * shell/ev-window.h:
2753 * shell/main.c: (load_files):
2755 Massive code clean up from Nickolay Shmyrev. Keep page offset
2756 when resizing. Remove the bin_window(). Also, patch from James
2757 Bowes to fix command line page, #300641
2759 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2761 * data/evince-ui.xml:
2764 * shell/ev-window.c: (update_action_sensitivity):
2766 Get rid of View->Normal Size, it's just confusing
2768 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2770 * backend/ev-document-info.h:
2771 * backend/ev-document.c: (ev_document_info_free): Free the
2774 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2775 (clear_range), (add_range), (update_visible_range),
2776 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2777 (ev_sidebar_thumbnails_set_document):
2778 * shell/ev-window.c: (ev_window_setup_document): Only render the
2779 visible thumbnails. It takes an instant to render, but it uses
2782 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2784 * shell/ev-sidebar-links.c: (popup_menu_cb):
2788 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2791 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2792 (button_press_cb), (ev_sidebar_links_construct):
2794 Show the popup menu also on keybindings
2796 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2798 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2799 * shell/ev-window.h:
2801 Expose api to print a range (with dialog). Make private _print use
2804 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2805 (ev_sidebar_links_construct):
2807 Show a print context menu on linkx, it prints the selected
2810 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2812 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2815 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2821 * shell/ev-window.c: (build_comments_string),
2822 (ev_window_cmd_help_about):
2824 Show poppler version/backend and authors
2826 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2828 * cut-n-paste/zoom-control/ephy-zoom.c:
2829 (ephy_zoom_get_zoom_level_index):
2830 * cut-n-paste/zoom-control/ephy-zoom.h:
2832 Move the best fit items at the top of the list
2834 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2836 * shell/ev-marshal.list:
2837 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2838 (activate_cb), (match_selected_cb), (activate_link_cb),
2839 (connect_proxy), (ev_page_action_class_init):
2840 * shell/ev-page-action.h:
2842 Use signals to notify action activation. Hopefully
2843 I did not break completion since I cant test...
2845 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2846 (register_custom_actions):
2848 Connect to page selector actions and also grab focus on
2849 the view when activated.
2851 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2853 * pdf/ev-poppler.cc:
2854 * backend/ev-page-cache.c: make page size calculation consistent
2855 and set it to (int)( width * scale + 0.5). This makes the weird
2856 line going through the middle of the page go away.
2858 * shell/ev-view.c: move painting the background page after
2859 checking the expose area covers us.
2861 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2863 * data/evince-password.glade:
2865 Mark labels as not translatable. Fix for bug 302842.
2867 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2869 * configure.ac: Added "es" to ALL_LINGUAS.
2871 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2873 * data/evince-toolbar.xml:
2874 * shell/ev-window.c: (update_action_sensitivity),
2875 (ev_window_setup_document), (ev_window_set_page_mode),
2878 Remove some leftover code from jrb first continous
2879 attempt. Use the new actions, we still need good icons
2882 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2884 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2886 Update label when connecting proxy. Fix a warning with NULL
2889 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2891 * data/evince-ui.xml:
2892 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2893 * shell/ev-page-action.h:
2894 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2896 Add mnemonic for edit toolbar.
2897 ctrl+l focus the page entry.
2899 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2902 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2904 * shell/main.c: (main):
2906 Put the toolbar xml in evince own dot dir
2908 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2910 * shell/ev-window.c: (ev_window_init):
2912 Make the toolbar not removable
2914 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2916 * data/evince-ui.xml:
2917 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2918 * shell/ev-sidebar-links.h:
2919 * shell/ev-sidebar-thumbnails.c:
2920 (ev_sidebar_thumbnails_get_treeview):
2921 * shell/ev-sidebar-thumbnails.h:
2922 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2923 (ev_view_class_init):
2925 * shell/ev-window.c: (update_action_sensitivity),
2926 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2927 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2928 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2931 This is evil... Make space/backspace global accelerators but
2932 enable them only for some widgets (sidebars and view).
2933 I dont like it, but I dont know a better way... :/
2935 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2937 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2938 (ev_page_action_widget_finalize),
2939 (ev_page_action_widget_class_init), (update_page_cache):
2941 Keep a weak reference on proxy->page_cache so that we
2942 dont try to disconnect the signal if the object is already
2943 gone. Maybe there is a better way to cleanup reference handling
2944 in page action though...
2946 2005-05-10 Juerg Billeter <j@bitron.ch>
2948 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2949 * backend/ev-ps-exporter.h:
2950 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2951 * ps/ps-document.c: (ps_document_ps_export_begin):
2953 Change api to pass print range to ps_exporter_begin. The pdf backend
2954 requires this information.
2956 * shell/ev-print-job.c: (idle_print_handler):
2960 2005-05-10 Juerg Billeter <j@bitron.ch>
2962 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2963 (idle_print_handler)
2964 * shell/ev-window.c: (ev_window_print):
2966 Support printing page range, based on patch by Amaury Jacquot
2968 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2970 * data/evince-toolbar.xml:
2972 Add zoom control to available items
2974 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2976 * shell/ev-window.c: (update_action_sensitivity):
2978 Set slash action insensitive when appropriate
2980 2005-05-10 Christian Persch <chpe@gnome.org>
2982 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2984 Fix warning on the overflow menu
2986 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2988 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2990 Check for uri correctness/existence
2992 2005-05-09 Juerg Billeter <j@bitron.ch>
2994 * shell/ev-window.c: (using_postscript_printer):
2996 LPD printers use postscript, too
2998 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3000 * shell/ev-window.c: (register_custom_actions):
3002 The zoom one is actually sort of useful,
3005 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3007 * shell/ev-window.c: (register_custom_actions):
3009 Hide page/zoom controls from overflow, they
3012 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3014 * cut-n-paste/update-from-egg.sh:
3016 Share it between all cut-n-paste subdirs
3018 * cut-n-paste/recent-files/Makefile.am:
3020 Fix to use "global" update-from-egg.sh
3022 * cut-n-paste/recent-files/egg-recent-model.c:
3023 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3024 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3025 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3026 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3030 * cut-n-paste/toolbar-editor/Makefile.am:
3032 Fix to use "global" update-from-egg.sh
3034 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3038 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3041 * cut-n-paste/Makefile.am:
3042 * cut-n-paste/recent-files/Makefile.am:
3043 * cut-n-paste/toolbar-editor/.cvsignore:
3044 * cut-n-paste/toolbar-editor/Makefile.am:
3045 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3046 (egg_editable_toolbar_get_type), (get_toolbar_position),
3047 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3048 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3049 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3050 (set_item_drag_source), (create_item_from_action), (create_item),
3051 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3052 (popup_toolbar_context_menu_cb), (free_dragged_item),
3053 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3054 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3055 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3056 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3057 (item_added_cb), (item_removed_cb),
3058 (egg_editable_toolbar_construct),
3059 (egg_editable_toolbar_disconnect_model),
3060 (egg_editable_toolbar_deconstruct),
3061 (egg_editable_toolbar_set_model),
3062 (egg_editable_toolbar_set_ui_manager),
3063 (egg_editable_toolbar_set_property),
3064 (egg_editable_toolbar_get_property),
3065 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3066 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3067 (egg_editable_toolbar_new_with_model),
3068 (egg_editable_toolbar_get_edit_mode),
3069 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3070 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3071 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3072 (new_pixbuf_from_widget), (new_separator_pixbuf),
3073 (update_separator_image), (style_set_cb),
3074 (_egg_editable_toolbar_new_separator_image),
3075 (egg_editable_toolbar_get_model):
3076 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3077 * cut-n-paste/toolbar-editor/egg-marshal.c:
3078 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3079 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3080 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3081 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3082 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3083 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3084 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3085 (editor_drag_data_delete_cb), (drag_data_get_cb),
3086 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3087 (editor_create_item), (update_editor_sheet), (setup_editor),
3088 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3089 (parse_item_list), (model_has_action), (update_actions_list),
3090 (egg_toolbar_editor_load_actions):
3091 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3092 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3093 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3094 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3095 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3096 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3097 (egg_toolbars_model_add_separator), (impl_add_item),
3098 (parse_item_list), (egg_toolbars_model_add_toolbar),
3099 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3100 (impl_get_item_data), (impl_get_item_type),
3101 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3102 (egg_toolbars_model_init), (free_toolbar),
3103 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3104 (egg_toolbars_model_remove_toolbar),
3105 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3106 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3107 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3108 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3109 (egg_toolbars_model_get_item_data),
3110 (egg_toolbars_model_get_item_type):
3111 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3112 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3114 * data/evince-toolbar.xml:
3115 * data/evince-ui.xml:
3116 * data/hand-open.png:
3118 * shell/Makefile.am:
3119 * shell/ev-window.c: (update_chrome_visibility),
3120 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3121 (ev_window_dispose), (ev_window_init):
3123 Implement epiphany like toolbar editor. Based on patch by
3124 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3126 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3128 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3130 Use set_cursor instead of set_selection, so that
3131 the keyboard focus moves too.
3133 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3135 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3137 Fix infinite loop when loading Type1 fonts
3139 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3141 * data/evince-ui.xml:
3142 * shell/ev-window.c:
3146 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3150 Make --disable really disable
3152 2005-05-07 Juerg Billeter <j@bitron.ch>
3154 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3156 Compare page labels even without has_labels set, fixes setting page
3159 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3161 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3162 (ev_view_set_cursor), (ev_view_button_press_event),
3163 (ev_view_motion_notify_event), (ev_view_button_release_event),
3166 Implement middle button scrolling. Based on a patch
3167 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3169 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3171 * shell/ev-document-types.c: (get_slow_mime_type),
3172 (get_document_type_from_mime), (ev_document_type_lookup):
3173 * shell/ev-document-types.h:
3175 Change api to lookup from uri. Do fast lookup first, if the
3176 type is unknown try with data sniffing.
3178 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3179 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3183 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3185 * thumbnailer/Makefile.am:
3189 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3196 * data/evince-ui.xml:
3198 Hide presentation mode for now
3200 * shell/ev-view.c: (highlight_find_results):
3202 Show current find selection only on current page
3204 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3206 * shell/ev-view.c: (ev_view_select_all):
3208 Compute size of the actual page, not of
3211 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3213 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3214 (view_rect_to_doc_rect), (compute_selections),
3215 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3216 (ev_view_copy), (ev_view_primary_get_cb),
3217 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3218 (ev_view_button_press_event), (ev_view_motion_notify_event),
3219 (ev_view_button_release_event), (page_changed_cb):
3223 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3225 * shell/ev-view.c: (compute_border), (get_page_extents),
3226 (doc_rect_to_view_rect), (highlight_find_results),
3227 (ev_view_bin_expose), (ev_view_select_all),
3228 (ev_view_motion_notify_event), (update_find_status_message),
3229 (jump_to_find_result), (jump_to_find_page):
3231 First go at fixing search, still buggy
3233 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3235 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3236 dropdown box and button at the top of the sidebar.
3238 2005-05-02 James Bowes <bowes@cs.dal.ca>
3240 * configure.ac: Output zoom-control Makefile.
3241 * cut-n-paste/Makefile.am: build zoom-control subdir.
3242 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3243 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3244 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3245 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3246 * cut-n-paste/zoom-control/ephy-zoom.c:
3247 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3248 from epiphany, and modified to add a separator into the menu.
3249 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3250 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3251 zoom-control action.
3252 * shell/Makefile.am: Include zoom-control flags.
3253 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3254 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3255 (ev_view_zoom_for_size_presentation),
3256 (ev_view_zoom_for_size_continuous_and_dual_page),
3257 (ev_view_zoom_for_size_continuous),
3258 (ev_view_zoom_for_size_dual_page),
3259 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3260 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3261 ev_view_get_zoom and ev_view_get_sizing_mode.
3263 * shell/ev-window.c: (update_action_sensitivity),
3264 (update_sizing_buttons), (zoom_control_changed_cb),
3265 (register_custom_actions): Initialize and use the zoom-control
3268 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3270 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3271 preview cache back to 1. Don't know when it got set to 0.
3273 * shell/ev-view.c: (compute_border), (ev_view_realize),
3274 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3275 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3276 (ev_view_get_fullscreen), (ev_view_set_presentation),
3277 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3278 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3280 * shell/ev-window.c:
3281 (update_chrome_visibility),
3282 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3283 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3284 (update_document_mode), (ev_window_update_fullscreen_action),
3285 (ev_window_fullscreen), (ev_window_unfullscreen),
3286 (ev_window_cmd_view_fullscreen),
3287 (ev_window_update_presentation_action),
3288 (ev_window_run_presentation), (ev_window_stop_presentation),
3289 (ev_window_cmd_view_presentation), (ev_window_state_event),
3290 (ev_window_focus_in_event), (ev_window_focus_out_event),
3291 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3292 * data/evince-ui.xml: Initial presentation mode. We should
3293 probably hide this until it's done, as it's quite rough. Also,
3294 change full-screen to fullscreen and add two getters to EvView.
3296 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3298 * shell/ev-page-action.c: (update_page_cache),
3299 (ev_page_action_dispose):
3300 * shell/ev-window.c: (destroy_fullscreen_popup),
3301 (ev_window_create_fullscreen_popup):
3303 Use connect_object rather than explicitly
3304 disconnect on dispose.
3306 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3308 * shell/ev-page-action.c: (update_page_cache),
3309 (ev_page_action_dispose):
3311 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3313 * backend/ev-page-cache.c: (_ev_page_cache_new),
3314 (ev_page_cache_set_page_label),
3315 (ev_page_cache_has_nonnumeric_page_labels):
3316 * backend/ev-page-cache.h:
3317 * shell/ev-page-action.c: (update_pages_label):
3319 If all page labels are numeric, fallback to default
3320 way to display number of pages. See bug 173185.
3322 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3324 * shell/ev-page-action.c: (ev_page_action_dispose):
3325 * shell/ev-view.c: (view_update_range_and_current_page):
3326 * shell/ev-window.c: (ev_window_dispose):
3328 Set page on scroll in continuous mode. Fixes bug 301986.
3329 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3331 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3335 Require poppler 0.3.0
3337 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3339 * shell/Makefile.am, configure.ac: Fix build problems
3340 with t1lib. Bug 301996.
3342 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3344 * shell/ev-view.c: (ev_view_scroll_event):
3346 Scroll up increase zoom
3348 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3350 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3351 (ev_view_set_sizing_mode),
3352 (ev_view_zoom_for_size_continuous_and_dual_page),
3353 (ev_view_zoom_for_size_continuous):
3354 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3355 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3356 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3359 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3360 Fix for 165473 and 165472.
3362 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3365 * thumbnailer/Makefile.am:
3366 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3367 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3368 * thumbnailer/evince-thumbnailer.schemas.in:
3370 Make thumbnailer schemas translatable. Fix for bug 301773
3372 * thumbnailer/evince-thumbnailer-djvu.schemas:
3373 * thumbnailer/evince-thumbnailer-dvi.schemas:
3374 * thumbnailer/evince-thumbnailer.schemas:
3378 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3380 * shell/ev-view.c (ev_view_init): forgot to set this.
3382 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3384 * shell/ev-view.c: (find_page_at_location),
3385 (get_link_at_location),
3386 (ev_view_set_show_border), (ev_view_set_spacing),
3387 (ev_view_zoom_for_size_continuous_and_dual_page),
3388 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3389 Also, add a quick fix measuring of widths. Also, removed
3390 ev_view_set_spacing and ev_view_set_show_border.
3392 * shell/ev-window.c: (ev_window_unfullscreen),
3393 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3395 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3397 * shell/ev-view.c: (view_update_range_and_current_page),
3400 Fix crash on exit and scrolling to page in continuous view.
3402 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3405 * backend/ev-page-cache.c: (_ev_page_cache_new),
3406 (ev_page_cache_get_max_width_size),
3407 (ev_page_cache_get_max_height_size):
3408 * backend/ev-page-cache.h:
3409 * data/evince-ui.xml:
3410 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3411 * shell/ev-view.c: (view_update_adjustments),
3412 (view_update_range_and_current_page), (get_bounding_box_size),
3413 (ev_view_size_request_continuous_and_dual_page),
3414 (ev_view_size_request_continuous),
3415 (ev_view_size_request_dual_page),
3416 (ev_view_size_request_single_page), (ev_view_size_request),
3417 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3418 (ev_view_bin_expose), (ev_view_expose_event),
3419 (ev_view_set_property), (ev_view_get_property),
3420 (ev_view_class_init), (ev_view_init), (ev_view_new),
3421 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3422 (ev_view_set_dual_page), (ev_view_set_full_screen),
3423 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3424 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3425 (ev_view_zoom_out), (zoom_for_size_fit_width),
3426 (zoom_for_size_best_fit),
3427 (ev_view_zoom_for_size_continuous_and_dual_page),
3428 (ev_view_zoom_for_size_continuous),
3429 (ev_view_zoom_for_size_dual_page),
3430 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3431 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3433 * shell/ev-window.c: (update_action_sensitivity),
3434 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3435 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3436 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3437 (ev_window_cmd_view_zoom_out), (update_view_size),
3438 (ev_window_set_sizing_mode), (ev_window_init):
3440 Add Continuous and Dual page modes.
3442 2005-04-23 James Bowes <bowes@cs.dal.ca>
3444 * dvi/dvi-document.c: (dvi_document_load),
3445 (dvi_document_thumbnails_get_thumbnail),
3446 (dvi_document_init_params): Fix up some mixups between
3447 width and height to correct thumbnail rendering.
3449 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3451 * dvi/mdvi-lib/private.h:
3452 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3454 Suppess output for kpathsea during font generation. Thanks to
3457 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3464 * Makefile.am: fix distcheck.
3466 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3468 * shell/ev-sidebar-links.c: (selection_changed_callback),
3469 (update_page_callback), (row_activated_callback),
3470 (job_finished_callback), (ev_sidebar_links_set_document):
3472 Fix for bug #169901. Double click on links expands tree.
3474 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3476 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3477 hard-coded style. Fix for bug 170111
3479 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3481 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3484 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3486 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3488 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3490 * pdf/ev-poppler.cc:
3491 * shell/ev-view.c: (highlight_find_results):
3493 Fix find on single page documents
3495 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3497 * data/evince.schemas.in: fix for bug 301390
3499 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3501 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3502 (ev_view_zoom_out), (ev_view_zoom_normal):
3504 * shell/ev-window.c: (update_action_sensitivity),
3505 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3506 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3507 (ev_window_cmd_view_normal_size):
3509 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3510 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3513 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3517 Depend on 2.57, 2.59 doesnt seem to be necessary
3519 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3521 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3524 Put back total number of pages as (1 of 1234)
3526 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3528 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3531 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3532 function. This helps debugging.
3534 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3536 * djvu/djvu-document.c: (djvu_document_class_init),
3537 (djvu_document_get_info), (djvu_document_document_iface_init):
3538 * dvi/dvi-document.c: (dvi_document_class_init),
3539 (dvi_document_get_info), (dvi_document_document_iface_init):
3541 Dummy implementation of get_info method for dvi and djvu. Fix
3542 crashes with those backends
3544 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3546 * data/evince.desktop.in:
3548 Add application/x-gzpostscript
3550 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3552 * data/evince.schemas.in: Added real long descriptions,
3555 * README: Added actual text, closes bug 171869
3557 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3559 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3563 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3565 * backend/ev-document-info.h:
3567 s/GDate */GDate so we can just use g_free
3569 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3571 * shell/ev-window.c: (update_document_mode),
3572 (ev_window_setup_document):
3574 Show the window in fullscreen when specified by
3577 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3579 * backend/ev-document.c: (ev_document_class_init),
3580 (ev_document_get_info), (ev_document_render_pixbuf):
3581 * backend/ev-document.h:
3582 * backend/ev-page-cache.c: (_ev_page_cache_new):
3583 * pdf/ev-poppler.cc:
3584 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3585 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3586 * ps/ps-document.c: (ps_document_class_init), (document_load),
3587 (ps_document_get_info), (ps_document_document_iface_init):
3589 Remove get_title from the interface, we can just use document info
3591 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3593 * backend/Makefile.am:
3594 * backend/ev-document.c: (ev_document_render_get_info):
3595 * backend/ev-document.h:
3596 * pdf/ev-poppler.cc:
3598 Initial support for document info. Based on jrb patch.
3600 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3602 * shell/ev-window.c: (ev_window_state_event),
3603 (ev_window_class_init), (ev_window_init):
3605 Doesn't show resize grip when maximized. See bug #301053
3607 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3611 ev-sidebar-thumbnails now has translatable labels
3613 * shell/Makefile.am:
3614 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3615 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3616 (ev_sidebar_links_page_iface_init):
3617 * shell/ev-sidebar-links.h:
3618 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3619 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3620 (ev_sidebar_page_get_label):
3621 * shell/ev-sidebar-page.h:
3622 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3623 (ev_sidebar_thumbnails_set_document),
3624 (ev_sidebar_thumbnails_support_document),
3625 (ev_sidebar_thumbnails_get_label),
3626 (ev_sidebar_thumbnails_page_iface_init):
3627 * shell/ev-sidebar-thumbnails.h:
3628 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3629 (ev_sidebar_set_document):
3630 * shell/ev-sidebar.h:
3631 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3633 Small rework of sidebar code. Now sidebar pages should implement
3634 EvSidebarPage interface. That makes page management in EvSidebar
3635 easier. See bug #164811 for details
3637 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3639 * shell/ev-application.c: (ev_application_open):
3640 * shell/ev-document-types.c:
3642 Fix build error and small problem with application exit
3644 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3646 * thumbnailer/Makefile.am:
3647 * thumbnailer/evince-thumbnailer-djvu.schemas:
3648 * thumbnailer/evince-thumbnailer-dvi.schemas:
3650 Conditionally install schemas for djvu/dvi thumbnailer
3652 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3654 * shell/ev-document-types.h:
3655 * shell/ev-document-types.c:
3656 New files, handling the mapping from mimetypes to backends
3658 * shell/ev-window.c:
3659 * thumbnailer/evince-thumbnailer.c:
3660 Use the ev-document-types code
3662 * shell/Makefile.am:
3663 Added new convenience library libevbackendfactory_la, containing
3664 the new mimetype->backend logic; moved the backends into it.
3666 * thumbnailer/Makefile.am:
3667 Make the thumbnailer link with the libevbackend.la convenience
3668 library, rather than having a duplicate of the backend logic here.
3670 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3672 * shell/ev-stock-icons.c: constify some vars.
3673 * shell/ev-window.c: ditto.
3675 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3677 * ps/ps-document.c (get_page_orientation):
3679 Respect document orientation
3681 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3685 * shell/Makefile.am:
3687 Move library dependencies to components.
3689 * shell/ev-window.c: (update_window_title),
3690 (start_loading_document):
3692 Fix display of uris with spaces. Bug 168358.
3694 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3696 * shell/ev-sidebar-links.c: (selection_changed_cb):
3697 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3698 (ev_view_button_release_event), (ev_view_set_document):
3700 * shell/ev-window.c: (find_bar_search_changed_cb):
3701 * shell/ev-window.h: Minor cleanups removing some dead code.
3703 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3705 * backend/ev-page-cache.c: (_ev_page_cache_new):
3707 Set current page to 0 if document has pages.
3709 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3711 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3713 Initialize GError to NULL, fix a crash when loading fails.
3715 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3717 * shell/ev-window.c: (update_view_size):
3719 Calculate shadow size only when there is actually
3722 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3724 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3727 Allow setting view spacing, default to 0
3729 * shell/ev-window.c: (ev_window_unfullscreen),
3730 (ev_window_cmd_view_fullscreen), (ev_window_init):
3732 Remove spacing in fullscreen mode
3734 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3736 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3737 (ev_view_size_request), (expose_bin_window),
3738 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3740 * shell/ev-window.c: (ev_window_unfullscreen),
3741 (ev_window_cmd_view_fullscreen):
3743 Do not draw the border in fulscreen
3745 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3747 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3748 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3749 (find_page_at_location), (page_changed_cb):
3751 Rework border calculation, so that I can more easily disable it.
3752 Code somewhat cleaner too.
3754 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3756 * backend/ev-page-cache.c: (ev_page_cache_init),
3757 (_ev_page_cache_new):
3759 Remove some assertions, documents can have 0 pages.
3760 Make initial current page -1.
3762 * shell/ev-page-action.c: (page_changed_cb):
3764 Show "" if current page is -1
3766 * shell/ev-window.c: (update_action_sensitivity),
3767 (ev_window_setup_document):
3769 When document has 0 pages do not set the view
3770 and make nearly everything insensitive.
3772 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3774 * shell/ev-page-view.c:
3775 * shell/ev-page-view.h:
3777 Remove unused files.
3779 * shell/ev-sidebar-thumbnails.c:
3780 (ev_sidebar_thumbnails_set_document):
3781 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3782 (ev_sidebar_supports_document):
3783 * shell/ev-sidebar.h:
3784 * shell/ev-window.c: (ev_window_setup_document):
3786 Doesn't show thumbnails if document has 1 page. Make
3787 sidebar menu entries sensitive only if if they have
3788 sense. Fix bug 164811.
3790 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3792 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3793 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3794 (ev_view_zoom_out), (ev_view_set_size):
3796 Rework sizing to deal with documents with not uniform page
3799 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3801 * backend/ev-page-cache.c: (_ev_page_cache_new):
3803 Fix several page size caching bugs
3805 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3807 * shell/ev-window.c: (set_action_properties):
3809 Make all toolbar items translatable
3811 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3813 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3814 (save_page_list), (ps_document_save),
3815 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3816 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3817 (ps_document_ps_exporter_iface_init):
3820 Based on a patch by J�rg Billeter <j@bitron.ch>
3822 Implement print and save a copy for the ps backend.
3824 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3826 * backend/ev-document.h:
3827 * djvu/djvu-document.c: (djvu_document_can_get_text),
3828 (djvu_document_document_iface_init):
3829 * dvi/dvi-document.c: (dvi_document_can_get_text),
3830 (dvi_document_document_iface_init):
3831 * pdf/ev-poppler.cc:
3832 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3833 (pixbuf_document_document_iface_init):
3834 * ps/ps-document.c: (ps_document_can_get_text),
3835 (ps_document_document_iface_init):
3836 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3837 * shell/ev-window.c: (update_action_sensitivity):
3839 Fix the crash when trying to copy in backends that doesnt
3840 support it. We can implement a better solution once we
3841 do real text selection.
3843 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3845 * data/evince-ui.xml:
3846 * shell/ev-window.c: (ev_window_cmd_escape):
3848 Work around the Escape conflict (find bar and unfullscreen)
3850 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3852 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3854 Fix for #300233. Next page correctly handles document end.
3856 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3857 (ev_sidebar_thumbnails_class_init),
3858 (ev_sidebar_thumbnails_set_document),
3859 (ev_sidebar_thumbnails_clear_job),
3860 (ev_sidebar_thumbnails_clear_model):
3862 Cleanup thumbnail jobs on document changes.
3864 * shell/ev-view.c: (add_scroll_binding_keypad),
3865 (add_scroll_binding_shifted), (ev_view_class_init):
3867 Shift + Space scrolls up. Fix for #173184
3869 * shell/ev-window.c: (ev_window_open_page),
3870 (ev_window_cmd_view_reload):
3872 Fix reload (Bug #300094)
3874 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3877 * dvi/mdvi-lib/assoc.c:
3878 * dvi/mdvi-lib/assoc.h: Removed garbage files
3880 * dvi/mdvi-lib/bitmap.c:
3881 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3882 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3883 * dvi/mdvi-lib/color.h: Antialias of rules
3885 * dvi/mdvi-lib/common.h:
3886 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3887 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3888 * dvi/mdvi-lib/files.c:
3889 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3890 * dvi/mdvi-lib/mdvi.h:
3891 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3892 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3893 * dvi/mdvi-lib/util.c: Fix compile warnings
3895 * dvi/dvi-document.c:
3896 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3897 (dvi_document_thumbnails_get_thumbnail),
3898 (dvi_document_document_thumbnails_iface_init):
3899 * dvi/mdvi-lib/Makefile.am:
3900 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3901 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3903 Dvi backend now renders thumbnails
3905 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3907 * shell/main.c: (main):
3909 Save accelerators on exit. Fixes bug #172095.
3911 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3913 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3914 update priority" comment.
3916 * backend/ev-job-queue.c: Give a way to change priority.
3918 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3920 * shell/ev-page-action.c: Fix logic.
3922 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3924 * shell/ev-view.c: (ev_view_can_find_next):
3925 * shell/ev-window.c: (ev_window_setup_document):
3927 Check that the document supports find
3929 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3931 * data/evince-ui.xml:
3932 * shell/ev-view.c: (ev_view_can_find_next):
3934 * shell/ev-window.c: (update_action_sensitivity),
3935 (find_changed_cb), (ev_window_setup_document),
3936 (ev_window_cmd_edit_find_next):
3940 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3942 * pdf/ev-poppler.cc:
3943 * shell/ev-print-job.c: (idle_print_handler):
3945 Make printing work again
3947 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3949 * shell/ev-page-action.h:
3950 * shell/ev-page-action.c: (ev_page_action_widget_init),
3951 (ev_page_action_widget_class_init), (page_changed_cb),
3952 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3953 (get_filter_model_from_model), (match_selected_cb),
3954 (display_completion_text), (match_completion), (update_model),
3955 (connect_proxy), (ev_page_action_set_property),
3956 (ev_page_action_get_property), (ev_page_action_set_document),
3957 (ev_page_action_set_model), (ev_page_action_class_init): Big
3958 reworking to make completions work iff we have >= GTK-2.7.0
3960 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3961 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3962 (job_finished_cb): We now have a 'model' property that is set when
3963 the links are loaded. This can be caught with "notify::model"
3965 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3966 listen for the model to be set, and propagate it to the action.
3968 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3970 * cut-n-paste/recent-files/egg-recent-item.c:
3971 (egg_recent_item_set_uri), (make_valid_utf8),
3972 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3973 * cut-n-paste/recent-files/egg-recent-item.h:
3975 Update egg-recent from libegg. This should fix long
3976 startup problem. For details see
3977 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3979 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3981 * cut-n-paste/recent-files/Makefile.am:
3982 * data/evince-ui.xml, shell/Makefile.am:
3983 * shell/ev-application.c, shell/ev-application.h:
3984 * shell/ev-window.c: Recent files support.
3986 * configure.ac: Added "ru" to ALL_LINGUAS.
3988 * dvju: new backend to support DJVU files.
3989 * dvi: new backend to support DVI.
3991 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3992 * ev-application.c: Support for new backends.
3994 * help, ev-window.c, main.c shell/Makefile.am:
3995 Evince user documentation.
3997 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4000 * shell/ev-window.c:
4001 * thumbnailer/evince-thumbnailer.c:
4003 s/pdf-document/ev-poppler
4005 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4012 * ps/ps-document.c: (setup_pixmap):
4016 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4018 * backend/ev-page-cache.c (ev_page_cache_next_page):
4019 * shell/ev-window.c (ev_window_cmd_go_next_page)
4020 (ev_window_cmd_go_first_page): Fix of by one errors.
4022 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4024 * ps/ps-document.c: (get_page_box):
4026 Fix page size calculation
4028 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4030 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4031 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4032 (get_page_orientation), (setup_page), (document_load),
4033 (ps_document_get_page_size), (render_pixbuf_idle):
4036 More refactoring to adapt to EvDocument changes
4038 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4040 * ps/ps-document.c: (start_interpreter):
4042 Actually add alpha args
4044 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4046 * pdf/ev-poppler.cc:
4048 Make clipboard work again
4050 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4052 Make searching work again.
4054 * backend/ev-document.c:
4055 * backend/ev-document.h:
4056 * backend/ev-document-find.c:
4057 * backend/ev-document-find.h: Change EvDocumentIface so we no
4058 longer store the current page or zoom level in the document. The
4059 consequence is that all calls that operate on the current page now
4060 instead take the page number as an extra argument, and all
4061 coordinates are now doubles in document coordinate system.
4063 * pdf/ev-poppler.cc:
4064 * pixbuf/pixbuf-document.c:
4065 * ps/ps-document.c: Update backends accordingly.
4067 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4071 Add required gettext version
4073 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4075 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4076 make F1 bring up non-existent help.
4078 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4079 epiphany's find bar, #167477
4081 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4082 <emil@nishra.com> to add space-bar scrolling,
4084 * shell/ev-window.c (static GtkActionEntry entries): add default
4085 keybinding for Help (F1)
4088 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4089 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4092 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4095 * pixbuf/pixbuf-document.c:
4097 Got pixbuf backend working again
4099 2005-04-01 Steve Murphy <murf@e-tools.com>
4101 * configure.in: Added "rw" to ALL_LINGUAS.
4103 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4105 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4106 model types, noticed by Martin Kretzschmar.
4108 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4110 * pdf/ev-poppler.cc: Implement search based on
4111 poppler_page_find_text(). Currently a bit crude since we remember
4112 all matches from all pages. Also, we grab the big document lock
4113 when we search since searching changes the underlying stream and
4114 thus conflicts with the rendering thread.
4116 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4117 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4118 (ev_view_find_previous): Fix some page indexes to be 0 based,
4119 offset rubber band by view offset,
4121 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4123 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4125 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4127 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4128 completely because I didn't understand GtkActions. I should
4129 read Marco's code more carefully in the future.
4131 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4134 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4136 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4137 PopplerRectangle change from poppler CVS.
4139 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4141 * backend/ev-document.c: (ev_document_get_page_label):
4142 * backend/ev-document.h:
4143 * backend/ev-page-cache.c: (_ev_page_cache_new),
4144 (ev_page_cache_get_page_label):
4145 * backend/ev-page-cache.h:
4146 * pdf/ev-poppler.cc:
4147 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4148 (links_page_num_func):
4149 * shell/ev-sidebar-thumbnails.c:
4150 (ev_sidebar_thumbnails_set_document):
4151 * shell/ev-view.c: (status_message_from_link),
4152 (ev_view_motion_notify_event):
4153 * shell/ev-window.c: (document_supports_sidebar): Add in page
4154 label support. It's not perfect yet, but it's the first 'feature'
4156 Also, fix a bogus comment noticed by crispin.
4158 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4160 * Makefile.am: Remove pixbuf backend for now
4162 * configure.ac: Require poppler-glib instead of just poppler.
4164 * backend/ev-document-thumbnails.h: Add a comment
4166 * backend/ev-document.h:
4167 * backend/ev-document.c: (ev_document_class_init),
4168 (ev_document_load), (ev_document_get_link),
4169 (ev_document_get_links): Remove 3 methods and add get_links.
4172 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4173 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4175 * backend/ev-link.c: (ev_link_set_title),
4176 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4177 (ev_link_mapping_find):
4178 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4180 * backend/ev-page-cache.c: (ev_page_cache_init),
4181 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4182 (ev_page_cache_get_size), (ev_page_cache_next_page),
4183 (ev_page_cache_prev_page): Fix to be 0 based.
4187 * pdf/ev-poppler.cc: New backend.
4189 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4190 (ps_document_get_page), (ps_document_document_iface_init):
4192 * shell/ev-pixbuf-cache.h:
4193 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4194 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4195 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4196 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4197 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4198 Fix up code to grab a page cache per each doc. Also, fix to be 0
4201 * shell/ev-sidebar-thumbnails.c:
4202 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4203 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4205 * shell/ev-view.c: (status_message_from_link),
4206 (find_page_at_location), (get_link_at_location),
4207 (ev_view_motion_notify_event), (ev_view_button_release_event),
4208 (ev_view_init): Use the new link code. Fix to be 0 based.
4210 * shell/ev-window.c: (update_action_sensitivity),
4211 (document_supports_sidebar): 0 based.
4213 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4215 * pdf/pdf-document.cc: Patch from Fernando Herrera
4216 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4219 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4221 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4222 1 to the page, as this seems to be 1 based. I thought we has this
4225 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4228 * backend/Makefile.am:
4229 * backend/ev-document-links.c:
4230 (ev_document_links_has_document_links),
4231 (ev_document_links_get_links_model):
4232 * backend/ev-document-links.h:
4233 * backend/ev-document.c: (ev_document_get_page_cache),
4234 (ev_document_get_doc_mutex), (ev_document_load),
4235 (ev_document_save), (ev_document_get_title),
4236 (ev_document_get_n_pages), (ev_document_set_page),
4237 (ev_document_get_page), (ev_document_set_target),
4238 (ev_document_set_scale), (ev_document_set_page_offset),
4239 (ev_document_get_page_size), (ev_document_get_text),
4240 (ev_document_get_link), (ev_document_render),
4241 (ev_document_render_pixbuf), (ev_document_scale_changed):
4242 * backend/ev-document.h:
4243 * backend/ev-job-queue.c: (remove_object_from_queue),
4244 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4245 (no_jobs_available_unlocked), (ev_render_thread),
4246 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4247 (ev_job_queue_remove_job):
4248 * backend/ev-job-queue.h:
4249 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4250 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4251 (ev_job_links_class_init), (ev_job_render_init),
4252 (ev_job_render_dispose), (ev_job_render_class_init),
4253 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4254 (ev_job_thumbnail_class_init), (ev_job_finished),
4255 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4256 (ev_job_render_run), (ev_job_thumbnail_new),
4257 (ev_job_thumbnail_run):
4258 * backend/ev-jobs.h:
4259 * backend/ev-link.c:
4260 * backend/ev-link.h:
4261 * backend/ev-page-cache.c: (ev_page_cache_init),
4262 (ev_page_cache_class_init), (ev_page_cache_finalize),
4263 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4264 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4265 (ev_page_cache_set_link), (ev_page_cache_get_title),
4266 (ev_page_cache_get_size), (ev_page_cache_next_page),
4267 (ev_page_cache_prev_page):
4268 * backend/ev-page-cache.h:
4269 * pdf/pdf-document.cc:
4272 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4273 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4274 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4275 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4276 (is_interpreter_ready), (output), (catchPipe), (input),
4277 (start_interpreter), (check_filecompressed), (compute_dimensions),
4278 (ps_document_enable_interpreter), (document_load),
4279 (ps_document_next_page), (render_page), (ps_document_set_page),
4280 (ps_document_set_scale), (render_pixbuf_idle),
4281 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4283 * shell/Makefile.am:
4284 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4285 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4286 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4287 (ev_pixbuf_cache_new), (job_finished_cb),
4288 (check_job_size_and_unref), (move_one_job),
4289 (ev_pixbuf_cache_update_range), (find_job_cache),
4290 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4291 (ev_pixbuf_cache_add_jobs_if_needed),
4292 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4293 * shell/ev-pixbuf-cache.h:
4294 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4295 (idle_print_handler):
4296 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4297 (selection_changed_cb), (create_loading_model),
4298 (ev_sidebar_links_construct), (links_page_num_func),
4299 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4300 (update_page_callback), (job_finished_cb),
4301 (ev_sidebar_links_set_document):
4302 * shell/ev-sidebar-thumbnails.c:
4303 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4304 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4305 (page_changed_cb), (thumbnail_job_completed_callback),
4306 (ev_sidebar_thumbnails_set_document):
4307 * shell/ev-sidebar-thumbnails.h:
4308 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4309 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4310 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4311 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4312 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4313 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4314 (ev_view_button_release_event), (ev_view_scroll_view),
4315 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4316 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4317 (ev_view_new), (job_finished_cb), (page_changed_cb),
4318 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4319 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4320 (ev_view_find_previous):
4322 * shell/ev-window.c: (update_action_sensitivity),
4323 (ev_window_open_page), (update_window_title), (update_total_pages),
4324 (page_changed_cb), (ev_window_setup_document),
4325 (password_dialog_response), (ev_window_cmd_save_as),
4326 (ev_window_print), (ev_window_cmd_go_previous_page),
4327 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4328 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4329 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4330 * shell/main.c: (main):
4332 Merge evince-threads branch
4334 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4336 * configure.ac: Added "lt" to ALL_LINGUAS.
4338 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4345 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4347 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4349 Fix here also the thumbnails 1-basedness :)
4351 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4358 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4360 * pdf/pdf-document.cc:
4361 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4362 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4364 Fix the mess we did with thumbnails and 1-basedness
4366 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4368 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4370 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4377 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4380 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4381 (gtk_gs_defaults_get_alpha_parameters),
4382 (gtk_gs_defaults_get_ungzip_cmd),
4383 (gtk_gs_defaults_get_unbzip2_cmd):
4385 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4386 (ps_document_get_orientation), (document_load),
4387 (ps_document_goto_page), (ps_document_set_page_size):
4390 Some more sanitization of the ps backend. Remove a lot
4391 of unused code and do not base our defaults on ggv
4394 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4396 * thumbnailer/evince-thumbnailer.schemas:
4397 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4398 (main): add -s option for thumbnail size.
4400 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4404 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4407 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4409 * pdf/pdf-document.cc:
4411 Remove 4 pixels of useless border from the
4414 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4416 * backend/ev-document-thumbnails.c:
4417 (ev_document_thumbnails_get_thumbnail):
4418 * backend/ev-document-thumbnails.h:
4420 Rework API a bit. Add a border flag and
4421 change sizing logic (now the size we specify
4422 applies to the bigger dimension).
4424 * pdf/pdf-document.cc:
4425 * pixbuf/pixbuf-document.c:
4426 (pixbuf_document_thumbnails_get_thumbnail):
4427 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4428 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4430 Adapt to the new API and do not draw a border for nautilus
4433 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4435 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4436 take thumbnails from page "0" instead of "1". Added a copyright header.
4438 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4440 * ps/ps-document.c: (set_up_page), (start_interpreter):
4442 Make it C89 compliant
4444 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4449 * pdf/pdf-document.cc:
4450 * thumbnailer/Makefile.am:
4451 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4453 * thumbnailer/evince-thumbnailer.schemas:
4454 * thumbnailer/pdf-icon.png:
4456 Add a nautilus thumbnailer.
4457 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4459 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4467 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4469 Use poppler instead of including xpdf source code. Poppler is a
4470 fork of xpdf to build it as a shared library. See
4471 http://freedesktop.org/wiki/Software/poppler.
4473 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4476 * pdf/Makefile.am: Build libpdfdocument.a here.
4478 * pdf/GDKSplashOutputDev.cc:
4479 * pdf/GDKSplashOutputDev.h:
4480 * pdf/GnomeVFSStream.cc:
4481 * pdf/GnomeVFSStream.h:
4484 * test-gdk-output-dev.cc
4486 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4489 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4491 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4493 Clear idle stack before unsetting the document
4495 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4497 * ps/ps-document.c: (ps_document_widget_event),
4498 (ps_document_set_target), (ps_document_finalize),
4499 (ps_document_get_page):
4501 Disconnect the widget event signal on finalize.
4504 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4506 * ps/ps-document.c: (set_up_page):
4508 If there is no bpixmap create one, even if size
4511 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4513 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4514 (set_up_page), (document_load), (ps_document_set_zoom):
4516 Default page is 0. Calculate size even when we have no
4519 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4521 * shell/ev-sidebar.c: expand the selection widget to be always as
4524 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4526 * shell/ev-sidebar-thumbnails.c:
4527 (ev_sidebar_thumbnails_set_document):
4529 Clear the list store when setting document
4531 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4533 * shell/ev-page-action.c: (update_entry), (sync_entry),
4534 (activate_cb), (entry_size_request_cb), (create_tool_item),
4537 Use an entry for the page control instead of spinbuttons
4539 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4541 * data/evince.schemas.in:
4543 Correct confusing string
4545 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4547 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4548 for real. Gosh, how long has this been broken.
4550 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4551 check for a NULL link. We crash otherwise.
4553 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4560 2005-02-25 Sebastien Bacher <seb128@debian.org>
4562 * configure.ac: add the french translation.
4564 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4566 * shell/ev-window.c:
4568 Remove unused header -> fix distcheck
4570 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4572 * shell/ev-window.c: (update_window_title),
4573 (ev_window_popup_password_dialog):
4575 Unescape filename for display
4577 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4579 * pdf/xpdf/pdf-document.cc:
4581 In get_page_size deal with rotation. Also
4582 cleanup the function a bit.
4584 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4586 * pdf/xpdf/pdf-document.cc:
4588 Fix crash when opening in new window
4590 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4594 Check ghostscript >= 7
4596 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4598 * shell/ev-window.c:
4600 Make page width the default sizing mode
4602 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4603 Marco Pesenti Gritti <marco@gnome.org>
4605 * shell/ev-window.c: Remember the sidebar size
4607 * data/evince.schemas.in: Add a new gconf key to store the size of
4610 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4612 * data/evince-ui.xml:
4613 * shell/ev-window.c: (update_action_sensitivity),
4614 (ev_window_cmd_view_reload):
4616 Add a "Reload" action and menu entry
4618 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4620 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4621 iff the type doesn't support thumbnailing and indexing.
4623 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4625 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4627 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4629 * pdf/splash/Splash.cc:
4631 Port fix for a crasher from kde bug
4632 http://bugs.kde.org/show_bug.cgi?id=97131
4634 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4636 * pdf/xpdf/pdf-document.cc:
4638 Return a link even if it's of an unrecognized
4639 type. Otherwise we go in an infinte cycle.
4641 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4643 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4644 (size_allocate_cb), (ev_window_set_sizing_mode):
4646 Update size when switching mode
4648 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4650 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4651 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4652 (ev_window_cmd_view_normal_size):
4654 Fix size toggle buttons behavior
4656 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4658 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4659 (doc_rect_to_view_rect), (ev_view_size_allocate),
4660 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4661 (scale_changed_callback):
4663 Do not cache offsets in size_allocate.
4665 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4667 * shell/ev-view.c: (ev_view_size_allocate):
4669 Calculate offsets before calling the parent
4670 class (which does a redraw)
4672 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4674 * pdf/xpdf/pdf-document.cc:
4676 Fix a crasher on exit. Unused code, put a TODO
4678 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4680 * backend/ev-document.c: (ev_document_class_init),
4681 (ev_document_page_changed), (ev_document_scale_changed):
4682 * backend/ev-document.h:
4684 Separate page/scale notifications
4686 * pdf/xpdf/pdf-document.cc:
4688 Emit the new signals.
4689 Do not display the pdf page in _render, do it
4690 when scale/page are requested.
4692 * ps/ps-document.c: (ps_document_set_zoom),
4693 (ps_document_widget_event):
4696 Emit the new signals.
4698 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4699 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4700 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4701 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4703 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4704 (ev_window_cmd_view_page_width), (size_allocate_cb),
4705 (ev_window_set_sizing_mode):
4707 Rework sizing to be pixel based.
4708 There are bugs but should be already way better.
4710 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4712 * shell/ev-window.c: (ev_window_init):
4714 Do not allow to shrink sidebar smaller then
4717 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4719 * shell/ev-sidebar.[ch]
4720 * shell/ev-window.c:
4722 Improved sidebar widget. Fixes #166683
4724 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4726 * shell/ev-view.c (update_find_status_message): Give translators
4727 more flexibility with ngettext plural handling.
4729 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4731 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4732 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4733 page when we get the page size.
4735 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4737 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4739 ps pages are 0 based, convert
4741 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4743 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4745 Initialize correct parent class. Set GError on document load
4747 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4749 * pdf/xpdf/pdf-document.cc:
4751 Fixup selection offset calculation
4753 * shell/ev-view.c: (view_rect_to_doc_rect),
4754 (doc_rect_to_view_rect), (ev_view_size_allocate),
4755 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4756 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4758 Store selection as document relative, so that zooming
4759 and offset changing doesnt break it.
4761 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4763 * shell/ev-view.c: (ev_view_best_fit):
4765 Do not try to best fit if the view is not realized
4767 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4769 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4771 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4773 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4775 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4777 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4778 the popup window. That prevents it resizing when in full screen
4781 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4782 multiple rerenders. This pretty much sucks.
4784 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4785 rest of the toolbar.
4787 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4789 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4791 2005-02-17 Alexander Shopov <ash@contact.bg>
4793 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4795 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4797 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4799 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4801 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4802 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4803 (set_document_page), (document_changed_callback),
4804 (ev_view_set_document), (ev_view_find_previous),
4805 (ev_view_hide_cursor), (ev_view_show_cursor):
4807 * shell/ev-window.c: (update_chrome_visibility),
4808 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4809 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4810 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4811 (ev_window_unfullscreen):
4812 * shell/main.c: (main):
4814 Automatically hide the fullscreen button.
4815 Patch by Kristian Høgsberg <krh@redhat.com>
4817 2005-02-16 Vincent Noel <vnoel@cox.net>
4819 * shell/main.c (main): Specify an icon for the window. Patch by
4820 Jaap A. Haitsma. Fixes #166177.
4822 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4824 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4826 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4828 * backend/ev-document-misc.h:
4829 * backend/ev-document-misc.c:
4830 (ev_document_misc_get_page_border_size),
4831 (ev_document_misc_paint_one_page): New function to canonicalize
4832 sizing/painting a border.
4834 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4837 * pdf/xpdf/pdf-document.cc: use new function
4839 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4840 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4841 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4842 shell/ev-window.c: (update_sizing_buttons),
4843 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4844 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4845 (ev_window_cmd_view_page_width), (size_allocate_cb),
4846 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4847 and "fit width" values act as toggle buttons so they stay
4848 toggled. It's not 100% perfect, and it's a little slow, but it's
4849 good enough to commit I think.
4851 2005-02-15 David Lodge <dave@cirt.net>
4853 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4855 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4857 * shell/ev-window.c (update_window_title): replace newlines in
4858 the title by spaces. Bug #166107.
4860 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4862 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4863 parameters providing allocation width and height without
4864 scrollbars and width of a possible vertical scrollbar. With this
4865 additional information the functions can work as
4866 intended. Unfortunately they're not idempotent. We should
4867 transform these commands to toggles. Fixes Bug #164976
4868 Initial patch by Stephane Loeuillet, then heavily modified.
4870 * shell/ev-view.h: update prototypes.
4872 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4873 (ev_window_cmd_view_page_width): provide EvView fit functions with
4874 all the information they need. Formulas to calculate this
4875 information taken from GtkScrolledWindow.
4877 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4879 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4880 created a thumbnail, the list store is updated to know
4881 that the thumbnail is set. Fixes bug #166792
4883 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4885 * shell/ev-window.c: fixed typo, closes bug 166897
4887 * TODO: updated TODO with bug numbers that are relevant
4889 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4891 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4893 2005-02-09 Vincent Noel <vnoel@cox.net>
4895 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4896 and "Next" toolbar buttons as important to make them stand out.
4898 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4902 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4903 (start_interpreter), (stop_interpreter), (document_load),
4904 (ps_document_next_page), (ps_document_goto_page),
4905 (ps_document_set_page_size), (ps_document_widget_event),
4906 (ps_document_render):
4907 * shell/ev-page-view.c: (ev_page_view_dispose):
4908 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4910 Fix compilation on non-gcc platforms
4912 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4919 * pdf/xpdf/Catalog.cc:
4922 Fix the fix for CAN-2004-0888
4924 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4927 * data/evince-ui.xml:
4928 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4929 * shell/ev-stock-icons.h:
4930 * shell/ev-window.c: (update_action_sensitivity),
4931 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4932 (set_action_properties):
4934 Improve toolbar layout/icons
4936 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4938 * pdf/xpdf/pdf-document.cc:
4940 Add warnings about unimplemented/unknown link
4943 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4945 * ps/ps-document.c: (set_up_page):
4949 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4951 * ps/ps-document.c: (start_interpreter):
4955 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4957 * shell/ev-page-view.c: (ev_page_view_dispose):
4958 * shell/ev-view.c: (ev_view_finalize):
4959 * shell/ev-window.c: (ev_window_setup_document),
4960 (ev_window_dispose), (ev_window_init):
4962 Solve more refs issues.
4964 I commented out the page_view initialization for now:
4965 it was never destroyed (because it's never added
4966 to a container). Because of that we was leaking
4967 gs processes. Couldnt think to a clean fix.
4968 We need to figure this out, password view has the
4969 same issue probably.
4971 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4973 * ps/ps-document.c: (ps_document_finalize),
4974 (ps_document_get_n_pages), (ps_document_get_page):
4976 Some cleanups, stop the interpreter on finalize
4978 * shell/ev-page-view.c: (ev_page_view_dispose),
4979 (ev_page_view_class_init):
4981 Release our reference on the document
4983 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4987 * doc/debugging.txt:
4990 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4991 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4992 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4995 Add debugging helpers
4998 * ps/ps-document.c: (set_up_page), (start_interpreter),
4999 (stop_interpreter), (document_load), (ps_document_next_page),
5000 (ps_document_goto_page), (ps_document_set_page_size),
5001 (ps_document_widget_event), (ps_document_render):
5002 * shell/Makefile.am:
5003 * shell/ev-view.c: (expose_bin_window):
5004 * shell/main.c: (main):
5008 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5010 * ps/ps-document.c: (ps_document_widget_event):
5012 Initialize message_window, this should make ps
5013 rendering really work! (Never noticed because I was
5014 testing with a ps that is causing gs to exit every time!)
5016 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5018 * data/evince.schemas.in: updated simple error in applyto closing tag
5020 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5026 * data/evince-ui.xml:
5027 A data/evince.schemas.in:
5029 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5030 * shell/ev-stock-icons.h:
5031 * shell/ev-window.c: (update_chrome_visibility),
5032 (update_chrome_flag), (ev_window_cmd_edit_find),
5033 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5034 (ev_window_unfullscreen), (ev_window_focus_in_event),
5035 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5036 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5037 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5038 (ev_window_dispose), (ev_window_class_init),
5039 (set_action_properties), (set_chrome_actions), (load_chrome),
5042 Implement fullscreen mode changes from bug #164776.
5043 Also implement persistent chrome toggles.
5045 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5047 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5049 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5055 Add another check for find interface
5059 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5061 * shell/ev-application.c: (ev_application_open):
5062 * shell/ev-window.c: (ev_window_open):
5064 Open gzipped ps documents
5066 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5069 * shell/ev-view.c: (set_document_page):
5071 Clamp page number, dont try to move to
5074 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5076 * backend/ev-document-find.c: (ev_document_find_changed):
5077 * backend/ev-document-find.h:
5078 * pdf/xpdf/pdf-document.cc:
5079 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5080 * shell/ev-window.c: (find_bar_search_changed_cb):
5082 Fix several bugs with find
5084 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5086 * shell/ev-sidebar-thumbnails.c
5087 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5088 document. Prevents warning from scroll_to_cell.
5090 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5092 * configure.ac: Add «nb» to ALL_LINGUAS too.
5094 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5096 * NOTES: New file with some random thoughts.
5100 * backend/ev-document-misc.c:
5101 (ev_document_misc_get_page_border_size): New function to
5102 canonicalize shadow drawing sizes. Possibly goofy.
5104 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5105 (ev_view_best_fit), (ev_view_fit_width):
5106 * pdf/xpdf/pdf-document.cc:
5107 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5108 * ps/ps-document.c: (ps_document_get_page_size):
5109 * backend/ev-document-misc.h:
5110 * backend/ev-document.c: (ev_document_get_page_size):
5111 * backend/ev-document.h: get_page_size now takes a page number
5112 parameter. Made all the backends/frontends honor it.
5114 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5115 see. Doesn't work yet.
5117 * shell/Makefile.am:
5118 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5119 Doesn't do anything yet.
5121 * shell/ev-sidebar-thumbnails.c:
5122 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5125 * shell/ev-window.c: (update_action_sensitivity),
5126 (ev_window_setup_document), (ev_window_set_page_mode),
5127 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5128 view-swapping code a bit so we can have multiple views on a
5129 document. Add the multi-page view, though it can't be turned on
5132 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5134 * shell/ev-application.c: (ev_application_open):
5135 * shell/ev-view.c: (expose_bin_window):
5136 * shell/ev-window.c: (ev_window_open):
5138 Support eps and check document supports find
5139 before drawing highlightings in expose.
5141 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5143 * pixbuf/pixbuf-document.c:
5144 (pixbuf_document_thumbnails_get_dimensions),
5145 (pixbuf_document_document_thumbnails_iface_init):
5147 implement get_dimensions
5149 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5156 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5158 * shell/ev-view.c: (set_document_page):
5160 Scroll at the top of the page when changing page
5162 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5164 * shell/ev-view.c: (ev_view_motion_notify_event):
5166 Do not redraw unnecessarily
5168 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5170 * pdf/xpdf/pdf-document.cc:
5171 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5172 (expose_bin_window), (find_changed_cb):
5174 Yay! find works now... Now to find bugs...
5176 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5178 * backend/ev-document-find.c: (ev_document_find_base_init),
5179 (ev_document_find_changed):
5180 * backend/ev-document-find.h:
5181 * pdf/xpdf/pdf-document.cc:
5182 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5183 (expose_bin_window), (ev_view_init), (set_document_page),
5184 (ensure_rectangle_is_visible), (jump_to_find_result),
5185 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5186 (ev_view_find_next), (ev_view_find_previous):
5188 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5190 More work on find implementation, mostly there now
5192 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5194 * backend/ev-backend-marshalers.list:
5195 * backend/ev-document-find.c: (ev_document_find_base_init),
5196 (ev_document_find_cancel), (ev_document_find_page_has_results),
5197 (ev_document_find_get_n_results), (ev_document_find_get_result),
5198 (ev_document_find_get_progress), (ev_document_find_changed):
5199 * backend/ev-document-find.h:
5201 Enanche the find interface to be really able to do
5204 * pdf/xpdf/pdf-document.cc:
5208 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5209 (expose_bin_window), (ev_view_init),
5210 (ev_view_get_find_status_message), (find_changed_cb),
5211 (ev_view_set_document), (set_document_page):
5213 Adapt to the new interface. A few things are regressed sorry,
5214 I will finish it soon.
5216 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5218 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5219 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5220 ev_sidebar_thumbnails_parent_class variable, don't define another
5221 parent_class variable.
5223 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5224 (ev_page_action_class_init): ditto.
5226 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5227 (pixbuf_document_class_init): ditto.
5229 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5232 * .cvsignore: ignore various valgrind output files.
5234 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5236 * data/evince-ui.xml:
5237 * shell/Makefile.am:
5238 * shell/ev-history.c:
5239 * shell/ev-history.h:
5240 * shell/ev-navigation-action.c:
5241 * shell/ev-navigation-action.h:
5242 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5243 (ev_view_set_page), (ev_view_fit_width):
5245 * shell/ev-window.c: (update_action_sensitivity),
5246 (ev_window_setup_document), (register_custom_actions):
5248 Kill session history
5250 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5252 * shell/ev-window.c: (update_action_sensitivity):
5254 Fix inverted up/down buttons
5256 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5258 * shell/ev-sidebar-thumbnails.c
5259 (ev_sidebar_thumbnails_select_page): make sure the selected
5260 thumbnail stays visible.
5262 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5264 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5265 scrolled window for Federico.
5267 2005-01-26 Ole Laursen <olau@hardworking.dk>
5269 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5271 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5274 * pdf/splash/SplashFTFontEngine.cc:
5276 Fix CID fonts with freetype 2.1.9
5278 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5280 * TODO: added item for desktop icon thumbnailer
5282 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5284 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5285 unloaded docs when the title is accessed.
5287 * shell/ev-password-view.[hc]: New widget for displaying password
5290 * shell/ev-window.[ch]: Refactor password handling code to handle
5293 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5301 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5303 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5304 ignore page offset here, to make search results independent of it,
5306 * shell/ev-view.c (expose_bin_window): but take offsets into
5307 account here. Bug #164932
5309 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5310 scale at the right time. Bug #164996
5312 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5314 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5315 fix the problem. Now I just removed the Adobe font names and hope
5316 that the URW fonts are always in outline format. Bug #164934
5318 * shell/ev-window.c (update_window_title): empty titles are
5319 useless, use filename in that case too.
5321 * NEWS: Add some content.
5323 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5325 * TODO: added one more TODO item and a TODONE section :)
5327 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5329 * ps/ps-document.h: add page_[xy]_offset fields.
5331 * ps/ps-document.c (ps_document_set_page_offset)
5332 (ps_document_render): Keep offset in consideration in a few
5333 places. Bug #164752 "postscript documents are not centered in
5336 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5337 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5339 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5340 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5341 stub out missing methods for complete EvDocument implementation.
5342 Fixes segfaults with Save A Copy and Copy actions.
5344 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5345 (ps_document_document_iface_init): ditto.
5347 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5351 * data/evince.desktop.in:
5355 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5357 * shell/ev-view.c: (ev_view_button_press_event),
5358 (ev_view_motion_notify_event):
5360 Make selection work in any direction
5362 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5365 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5367 Use shorter labels for some of the toolbars items
5369 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5371 * pdf/xpdf/pdf-document.cc:
5373 Check the links info is initialized before
5374 using it. Should fix a crash on startup.
5376 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5378 * pixbuf/pixbuf-document.c
5379 (pixbuf_document_thumbnails_get_dimensions): force floating point
5380 division to calculate page_ratio. Fixes crash with landscape
5383 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5385 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5387 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5389 * shell/ev-view.c (set_document_page): unset has_selection when
5391 (set_document_page): handle paper size changes when the page
5392 changes (test with Free Culture, page 2).
5394 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5396 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5397 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5399 Use normal style color for the widget background and
5400 draw a black box around the page.
5402 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5404 * pdf/xpdf/pdf-document.cc:
5406 Keep offset in consideration in a few places
5408 * shell/ev-view.c: (expose_bin_window):
5410 Set the offsets so that the document is ever centered
5412 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5414 * TODO: Added TODO items and finished off the first todo item
5416 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5417 reflect current authors
5419 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5421 * pdf/xpdf/pdf-document.cc:
5422 * shell/ev-view.c: (ev_view_set_cursor),
5423 (ev_view_motion_notify_event), (document_changed_callback),
5424 (set_document_page):
5426 Show a wait cursor while the page is rendering
5428 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5430 * shell/ev-sidebar-thumbnails.c:
5431 (ev_sidebar_tree_selection_changed),
5432 (ev_sidebar_thumbnails_select_page):
5433 * shell/ev-sidebar-thumbnails.h:
5434 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5435 (ev_view_can_go_forward):
5436 * shell/ev-window.c: (ev_window_open_page),
5437 (ev_window_setup_document), (update_current_page),
5438 (view_page_changed_cb), (ev_window_init):
5439 * shell/ev-window.h:
5441 Ensure thumbnails selection, toolbar page control and
5442 current page are in sync.
5444 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5450 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5452 * backend/Makefile.am:
5453 * backend/ev-document-links.h:
5454 * backend/ev-document-security.c: (ev_document_security_get_type),
5455 (ev_document_security_has_document_security),
5456 (ev_document_security_set_password):
5457 * backend/ev-document-security.h:
5458 * backend/ev-document.c: (ev_document_error_quark):
5459 * backend/ev-document.h:
5461 * data/evince-password.glade:
5462 * pdf/xpdf/pdf-document.cc:
5463 * shell/Makefile.am:
5464 * shell/ev-password.c: (ev_password_set_bad_password_label),
5465 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5466 (ev_password_dialog_get_password),
5467 (ev_password_dialog_set_bad_pass):
5468 * shell/ev-password.h:
5469 * shell/ev-window.c: (ev_window_get_attribute),
5470 (ev_window_set_property), (update_action_sensitivity),
5471 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5472 (ev_window_setup_document), (ev_window_get_password),
5473 (ev_window_open), (ev_window_cmd_save_as),
5474 (using_postscript_printer), (ev_window_print),
5475 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5476 (update_fullscreen_popup), (ev_window_fullscreen),
5477 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5478 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5479 (menu_item_select_cb), (find_bar_search_changed_cb),
5480 (ev_window_dispose), (ev_window_init):
5482 Add initial support for password-supported dialogs. This could be
5483 a lot cooler, but it'll do for now.
5485 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5487 * pdf/xpdf/pdf-document.cc:
5488 * shell/ev-view.c: (status_message_from_link),
5489 (ev_view_set_status), (ev_view_set_cursor),
5490 (ev_view_motion_notify_event), (ev_view_init):
5491 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5493 Fix bugs in the links implementation and change cursor
5494 when hovering a link.
5496 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5498 * viewer/.cvsignore: added cvsignore file for viewer directory
5500 * TODO: created TODO document
5502 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5505 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5506 new functions to help with implementation of sensitivity code
5507 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5508 of all actions that might require it. Fixes a crash when you
5509 click on the Zoom actions in a window lacking a document.
5511 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5513 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5516 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5518 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5519 (pixbuf_document_document_iface_init):
5520 * ps/ps-document.c: (ps_document_get_link),
5521 (ps_document_document_iface_init):
5522 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5523 (status_message_from_link), (ev_view_set_status),
5524 (ev_view_set_find_status), (ev_view_motion_notify_event),
5525 (ev_view_button_release_event), (ev_view_set_property),
5526 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5527 (ev_view_get_find_status_message), (update_find_results),
5528 (ev_view_get_status), (ev_view_get_find_status):
5530 * shell/ev-window.c: (view_status_changed_cb),
5531 (view_find_status_changed_cb), (ev_window_init):
5533 View status message support, use it to show the links.
5536 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5538 * backend/ev-document.c: (ev_document_get_link):
5539 * backend/ev-document.h:
5540 * pdf/xpdf/pdf-document.cc:
5541 * shell/ev-application.c: (ev_application_open):
5542 * shell/ev-application.h:
5543 * shell/ev-sidebar-links.c: (selection_changed_cb):
5544 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5545 (ev_view_go_to_link):
5547 Add support for document links
5549 2005-01-13 Anders Carlsson <andersca@gnome.org>
5551 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5553 Set the spin button limits correctly.
5555 * shell/ev-sidebar-thumbnails.c:
5556 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5557 Support changing pages by clicking on the thumbnails.
5559 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5561 * pixbuf/pixbuf-document.c:
5562 (pixbuf_document_thumbnails_get_dimensions),
5563 (pixbuf_document_document_thumbnails_iface_init):
5565 implement get_dimensions
5567 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5569 * ps/ps-document.c: (ps_document_goto_page):
5571 Fix page switching on multipage documents
5573 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5575 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5577 check for NULL before assigning to width and height parameters
5579 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5581 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5582 (pixbuf_document_set_property), (pixbuf_document_get_property):
5584 implement get/set properties
5586 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5588 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5590 return NULL instead of "Unknown", letting the title get set to
5591 the filename when the pdf has no title.
5593 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5595 * ps/ps-document.c: (ps_document_get_page_count),
5596 (ps_document_goto_page):
5598 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5600 * shell/ev-history.c: (ev_history_get_property),
5601 (ev_history_set_property), (ev_history_class_init),
5602 (ev_history_add_page), (ev_history_set_current_index):
5603 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5604 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5605 (ev_navigation_action_finalize):
5606 * shell/ev-navigation-action.h:
5607 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5608 (ev_view_go_forward), (ev_view_get_find_status_message),
5609 (history_index_changed_cb), (ev_view_set_history):
5611 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5612 (update_current_page), (register_custom_actions):
5614 Implement history dropdowns
5616 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5618 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5619 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5620 (ev_view_go_forward):
5621 * shell/ev-window.c: (register_custom_actions):
5623 Fix several history bugs
5625 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5627 * configure.ac: Add «nb» to ALL_LINGUAS.
5629 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5631 * backend/Makefile.am:
5632 * backend/ev-bookmark.c:
5633 * backend/ev-bookmark.h:
5634 * backend/ev-document-bookmarks.c:
5635 * backend/ev-document-bookmarks.h:
5636 * backend/ev-document-links.c: (ev_document_links_get_type),
5637 (ev_document_links_has_document_links),
5638 (ev_document_links_begin_read), (ev_document_links_get_link),
5639 (ev_document_links_get_child), (ev_document_links_next),
5640 (ev_document_links_free_iter):
5641 * backend/ev-document-links.h:
5642 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5643 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5644 (ev_link_get_link_type), (ev_link_set_link_type),
5645 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5646 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5647 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5648 (ev_link_new_external):
5649 * backend/ev-link.h:
5650 * pdf/xpdf/pdf-document.cc:
5651 * shell/Makefile.am:
5652 * shell/ev-application.c: (ev_application_open_link):
5653 * shell/ev-application.h:
5654 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5655 (ev_history_get_link_nth):
5656 * shell/ev-history.h:
5657 * shell/ev-sidebar-bookmarks.c:
5658 * shell/ev-sidebar-bookmarks.h:
5659 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5660 (ev_sidebar_links_class_init), (selection_changed_cb),
5661 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5662 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5663 (do_one_iteration), (populate_links_idle),
5664 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5665 * shell/ev-sidebar-links.h:
5666 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5667 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5670 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5671 * shell/ev-window.h:
5673 Rename bookmark to link, and use "Index" for the sidebar panel.
5675 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5677 * shell/Makefile.am:
5678 * shell/ev-application.c: (ev_application_open_bookmark):
5679 * shell/ev-application.h:
5680 * shell/ev-history.c: (ev_history_init), (free_links_list),
5681 (ev_history_finalize), (ev_history_class_init),
5682 (ev_history_add_link), (ev_history_add_page),
5683 (ev_history_get_link_nth), (ev_history_get_n_links),
5684 (ev_history_get_current_index), (ev_history_set_current_index),
5686 * shell/ev-history.h:
5687 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5688 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5689 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5690 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5693 * shell/ev-window.c: (ev_window_open_bookmark),
5694 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5695 (goto_page_cb), (register_custom_actions):
5696 * shell/ev-window.h:
5698 Initial history implementation. Needs work.
5700 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5702 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5704 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5706 * cut-n-paste/recent-files/egg-recent-item.c:
5707 * cut-n-paste/recent-files/egg-recent-item.h:
5708 * cut-n-paste/recent-files/egg-recent-model.c:
5709 * cut-n-paste/recent-files/egg-recent-util.c:
5710 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5711 * cut-n-paste/recent-files/egg-recent-view.c:
5715 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5717 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5718 (fillGlyph, fillImageMask, drawImage):
5719 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5720 pdf/splash/SplashTypes.h:
5721 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5722 packed mode for Splash.
5724 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5725 RGB8 packed mode, eliminates the pixbuf data creation loop.
5727 * shell/ev-print-job.c (ev_print_job_finalize)
5728 (ev_print_job_set_property, ev_print_job_get_property)
5729 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5730 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5731 (print_closure_finalize, ev_print_job_print): implement
5732 printing (for backends with EvPsExporter)
5734 * shell/ev_print_job.h: update prototypes.
5736 * shell/ev-window.c (ev_window_print): unref print job after
5739 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5740 unless the document implements the EvDocumentFind interface.
5742 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5744 * configure.ac: Added ja to ALL_LINGUAS.
5746 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5748 * pdf/xpdf/pdf-document.cc:
5750 add a FIXME. We should probably not allocate
5751 a bookmark object every time
5753 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5755 * shell/ev-application.c: (ev_application_open),
5756 (ev_application_open_bookmark):
5757 * shell/ev-application.h:
5759 Add a way to open bookmarks
5761 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5762 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5763 (ev_bookmark_set_property), (ev_bookmark_class_init),
5764 (ev_bookmark_new_title), (ev_bookmark_new_link),
5765 (ev_bookmark_new_external):
5767 Support for external uris, better constructors.
5769 * backend/ev-bookmark.h:
5770 * pdf/xpdf/pdf-document.cc:
5771 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5773 Handle external uris
5775 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5777 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5778 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5780 Hook up bookmarks navigation
5782 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5784 * backend/Makefile.am:
5785 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5786 (ev_bookmark_get_title), (ev_bookmark_set_title),
5787 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5788 (ev_bookmark_get_page), (ev_bookmark_set_page),
5789 (ev_bookmark_get_property), (ev_bookmark_set_property),
5790 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5792 * backend/ev-bookmark.h:
5793 * backend/ev-document-bookmarks.c:
5794 (ev_document_bookmarks_get_bookmark):
5795 * backend/ev-document-bookmarks.h:
5796 * pdf/xpdf/pdf-document.cc:
5797 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5799 Add a bookmark object to the backend and use it instead of get_values
5801 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5803 * data/evince-ui.xml:
5805 Cleanup and add select all.
5807 * shell/ev-view.c: (ev_view_select_all),
5808 (ev_view_button_press_event):
5810 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5813 Clear selection on click.
5815 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5817 * shell/ev-sidebar-thumbnails.c
5818 (ev_sidebar_thumbnails_set_document): forgot to unref the
5821 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5823 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5824 at the visible page, not just linearly. This makes it look fast.
5826 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5828 * backend/ev-document-misc.c
5829 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5831 * backend/ev-document-thumbnails.h: New interface to get the size
5834 2005-01-06 Jeremy Katz <katzj@redhat.com>
5836 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5839 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5841 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5842 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5845 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5847 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5849 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5850 fonts. Should fix font problems on systems that have the base
5851 fonts in bitmap format. Reported by James Henstridge
5852 <james@jamesh.id.au>.
5854 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5857 * pdf/xpdf/GfxState.cc:
5859 Fix for CAN-2004-1125
5861 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5863 * shell/ev-view.c: (ev_view_copy):
5865 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5867 Implement Edit->Copy
5869 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5871 * backend/ev-document.c: (ev_document_get_text):
5872 * backend/ev-document.h:
5873 * pdf/xpdf/pdf-document.cc:
5874 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5875 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5876 (ev_view_update_primary_selection), (ev_view_button_press_event),
5877 (ev_view_motion_notify_event), (ev_view_button_release_event):
5879 Beginnings of clipboard support. Incomplete but primary sort
5882 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5884 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5885 (expose_bin_window):
5887 Nicer rubberband drawing, from GtkIconView.
5889 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5891 * backend/ev-document.c: (ev_document_save):
5892 * backend/ev-document.h:
5893 * data/evince-ui.xml:
5894 * pdf/xpdf/pdf-document.cc:
5895 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5897 Implement "Save a copy..." menu item
5899 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5901 * shell/ev-view.c: (ev_view_zoom):
5903 Queue a resize when zoom changes
5905 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5907 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5910 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5913 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5915 * pdf/xpdf/pdf-document.cc
5916 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5918 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5920 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5921 It's slow, but I'll speed it up next!
5923 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5925 * shell/main.c (load_files):
5927 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5928 from the command line and because it seems more appropriate.
5930 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5932 * data/evince-ui.xml:
5933 * shell/ev-window.c: (update_action_sensitivity),
5934 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5936 s/next page/page down
5937 s/previous page/page up
5939 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5941 * data/evince-ui.xml:
5943 Change the layout to match clarkbw design.
5945 * shell/Makefile.am:
5946 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5947 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5948 (ev_navigation_action_finalize),
5949 (ev_navigation_action_set_property),
5950 (ev_navigation_action_get_property),
5951 (ev_navigation_action_class_init):
5952 * shell/ev-navigation-action.h:
5954 Implement clarkbw toolbar navigation controls (incomplete)
5956 * shell/ev-page-action.c: (update_label), (update_spin),
5957 (value_changed_cb), (create_tool_item), (connect_proxy),
5958 (ev_page_action_init), (ev_page_action_finalize),
5959 (ev_page_action_set_property), (ev_page_action_get_property),
5960 (ev_page_action_set_current_page),
5961 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5962 * shell/ev-page-action.h:
5964 Implement a page switcher in the toolbar
5966 * shell/ev-view.c: (ev_view_scroll_view):
5967 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5968 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5969 (register_custom_actions), (ev_window_init):
5971 Change page on PageUp/Down.
5973 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5975 * pdf/xpdf/pdf-document.cc
5976 (pdf_document_thumbnails_get_thumbnail): initial stab at
5977 implementing thumbnail support for pdfs. It only does documents
5978 with precached pdfs now.
5980 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5982 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5983 thumbnail code into a time-based idle as well. Also, turn off the
5984 shadow temporarily as it's really slow.
5986 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5988 * backend/ev-document.c: (ev_document_class_init):
5989 * pdf/xpdf/pdf-document.cc:
5990 * shell/ev-window.c: (ev_window_open):
5992 Fix document title bugs and fallback to
5993 filename when not available.
5995 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5997 * backend/ev-document.c: (ev_document_get_type),
5998 (ev_document_class_init), (ev_document_load),
5999 (ev_document_get_title):
6000 * backend/ev-document.h:
6001 * pdf/xpdf/pdf-document.cc:
6002 * ps/ps-document.c: (ps_document_set_property),
6003 (ps_document_get_property), (ps_document_class_init),
6007 * shell/ev-window.c: (update_window_title), (ev_window_open),
6010 Initial support for document title. Not working yet.
6012 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6014 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6016 Grab focus on the view when clicking it
6018 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6020 * shell/ev-marshal.list:
6021 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6022 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6024 Add key bindings to the view. Now if the focus would work
6027 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6030 * backend/Makefile.am:
6033 * dvi/dvilib/Makefile.am:
6034 * pdf/xpdf/Makefile.am:
6040 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6042 * shell/ev-view.c: (ev_view_realize):
6044 Fix mouse wheel scrolling
6046 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6052 * ps/ps-document.c: (catchPipe), (ps_document_init),
6053 (ps_document_class_init), (ps_document_cleanup),
6054 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6055 (set_up_page), (close_pipe), (is_interpreter_ready),
6056 (interpreter_failed), (output), (input), (start_interpreter),
6057 (stop_interpreter), (file_length), (file_readable),
6058 (check_filecompressed), (check_pdf), (compute_xdpi),
6059 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6060 (ps_document_get_type), (ps_document_emit_error_msg),
6061 (document_load), (ps_document_next_page),
6062 (ps_document_get_current_page), (ps_document_get_page_count),
6063 (ps_document_goto_page), (ps_document_set_page_size),
6064 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6065 (ps_document_load), (ps_document_get_n_pages),
6066 (ps_document_set_page), (ps_document_get_page),
6067 (ps_document_widget_event), (ps_document_set_target),
6068 (ps_document_set_scale), (ps_document_set_page_offset),
6069 (ps_document_get_page_size), (ps_document_render),
6070 (ps_document_document_iface_init):
6073 * shell/ev-window.c: (ev_window_open):
6075 Rename GtkGS to PSDocument
6077 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6079 * ps/gtkgs.c: (gtk_gs_class_init):
6082 Some more leftover...
6084 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6086 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6087 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6088 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6091 Remove unused code and make a lot of stuff private
6093 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6095 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6096 (gtk_gs_defaults_changed):
6102 Cleanup headers dependencies
6104 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6109 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6111 * ps/gtkgs.c: (file_length), (file_readable),
6112 (check_filecompressed), (check_pdf), (gtk_gs_load),
6113 (gtk_gs_get_postscript):
6117 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6122 * ps/gtkgs.c: (gtk_gs_set_zoom):
6126 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6128 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6130 Ensure the page is rerendered when changing zoom
6132 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6134 * backend/ev-document.c: (ev_document_base_init),
6135 (ev_document_changed):
6136 * backend/ev-document.h:
6138 Add a changed event that is emitted when the page content
6139 changes. This is necessary to deal with the fact that
6140 in ps backend rendering happen asycrounously.
6141 This makes the ps backend mostly work.
6143 * pdf/xpdf/pdf-document.cc:
6147 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6148 (ps_document_set_target):
6152 * shell/ev-view.c: (document_changed_callback),
6153 (ev_view_set_document), (ev_view_set_page):
6155 Redraw on the changed signal
6157 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6159 * configure.ac: Added pt_BR to ALL_LINGUAS.
6161 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6163 * backend/ev-document-bookmarks.c:
6164 (ev_document_bookmarks_get_child): *
6165 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6166 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6167 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6168 (ev_sidebar_bookmarks_destroy),
6169 (ev_sidebar_bookmarks_class_init),
6170 (ev_sidebar_bookmarks_construct), (stack_data_free),
6171 (do_one_iteration), (populate_bookmarks_idle),
6172 (ev_sidebar_bookmarks_clear_document),
6173 (ev_sidebar_bookmarks_set_document): *
6174 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6175 (ev_sidebar_add_page),
6176 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6177 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6178 it displays both the topics and the page numbers.
6180 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6182 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6184 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6187 2004-12-23 Adam Weinberger <adamw@gnome.org>
6189 * configure.ac: Added en_CA to ALL_LINGUAS.
6191 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6193 * ChangeLog: replace bottom of this ChangeLog (merged history of
6194 ggv and gpdf; where all paths were wrong and most of the files are
6195 not even in this tree) with ChangeLog (from arch) of the shell
6198 2004-12-23 Havoc Pennington <hp@redhat.com>
6200 * shell/ev-window.c: hook up potentially-questionable "find
6201 results status text" feature - something involving the sidebar or
6202 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6203 might be better in the end.
6205 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6206 with corresponding signal when it should be updated
6208 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6210 2004-12-22 Havoc Pennington <hp@redhat.com>
6212 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6213 find stuff on other pages, sort of (only returns one result on
6214 invisible pages, to show they have results; updates full results
6215 for a page when you view it). Currently repaints the current page
6216 every time a new result is found on any page, which isn't so nice.
6218 2004-12-22 Havoc Pennington <hp@redhat.com>
6220 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6221 the document doesn't support find (better ideas?)
6222 (find_bar_search_changed_cb): handle missing document or document
6223 that doesn't support find
6225 * pdf/xpdf/pdf-document.cc: port to implement the new
6228 * backend/ev-document-find.c: create a new interface for searching
6230 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6232 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6234 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6237 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6238 EvPrintJob constructor arguments.
6240 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6241 for documents that can export PostScript (page by page).
6243 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6245 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6246 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6247 (pdf_document_ps_exporter_iface_init:
6248 Implement EvPSExporter.
6250 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6252 2004-12-22 Anders Carlsson <andersca@gnome.org>
6254 * backend/Makefile.am:
6255 * backend/ev-document-thumbnails.c:
6256 (ev_document_thumbnails_get_type),
6257 (ev_document_thumbnails_get_thumbnail):
6258 * backend/ev-document-thumbnails.h:
6259 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6260 (pixbuf_document_thumbnails_get_thumbnail),
6261 (pixbuf_document_document_thumbnails_iface_init):
6262 * shell/Makefile.am:
6263 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6264 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6265 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6266 * shell/ev-sidebar-thumbnails.h:
6267 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6268 (ev_sidebar_set_document):
6269 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6270 (create_shadow), (ev_pixbuf_add_shadow):
6272 Add thumbnail support.
6274 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6276 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6277 (using_postscript_printer): Set up a print dialog for "PostScript
6280 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6283 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6285 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6287 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6288 (ps_document_set_target), (ps_document_get_page_size),
6289 (ps_document_render):
6294 2004-12-22 Christian Rose <menthos@menthos.com>
6296 * configure.ac: Added "sv" to ALL_LINGUAS.
6298 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6300 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6301 document supports bookmarks.
6303 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6305 * ps/ggvutils.c: (ggv_file_readable):
6307 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6308 (gtk_gs_get_postscript):
6312 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6314 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6315 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6316 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6317 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6318 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6319 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6320 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6321 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6322 (gtk_gs_set_antialiasing), (ps_document_load),
6323 (ps_document_render):
6326 Another check point for the ps backend. Now I can get it to show
6329 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6331 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6332 document setting code.
6334 2004-12-22 Anders Carlsson <andersca@gnome.org>
6336 * shell/eggfindbar.c: (entry_activate_callback):
6337 Animate the next button when activate is pressed.
6339 2004-12-22 Anders Carlsson <andersca@gnome.org>
6341 * shell/ev-window.c: (ev_window_cmd_edit_find),
6342 (update_fullscreen_popup), (ev_window_fullscreen),
6343 (ev_window_unfullscreen), (ev_window_state_event_cb),
6344 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6345 Fix bugs in fullscreen code.
6347 2004-12-22 Anders Carlsson <andersca@gnome.org>
6351 * pixbuf/Makefile.am:
6352 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6353 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6354 (pixbuf_document_set_page), (pixbuf_document_get_page),
6355 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6356 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6357 (pixbuf_document_render), (pixbuf_document_begin_find),
6358 (pixbuf_document_end_find), (pixbuf_document_finalize),
6359 (pixbuf_document_class_init),
6360 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6361 * pixbuf/pixbuf-document.h:
6362 * shell/Makefile.am:
6363 * shell/ev-application.c: (ev_application_open):
6364 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6368 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6371 * dvi/dvilib/Makefile.am:
6373 * configure.ac: Auto*ify dvi and dvi/dvilib
6375 * dvi/Makefile: Remove from CVS
6377 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6380 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6382 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6384 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6387 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6388 (gtk_gs_value_adjustment_changed), (compute_size),
6389 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6390 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6391 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6392 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6393 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6394 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6395 (ps_document_load), (ps_document_get_n_pages),
6396 (ps_document_set_page), (ps_document_get_page),
6397 (ps_document_set_target), (ps_document_set_scale),
6398 (ps_document_set_page_offset), (ps_document_get_page_size),
6399 (ps_document_render), (ps_document_begin_find),
6400 (ps_document_end_find), (ps_document_document_iface_init):
6402 * shell/Makefile.am:
6403 * shell/ev-window.c: (ev_window_open):
6405 Some work to integrate gtkgs with EvDocument
6407 2004-12-22 Anders Carlsson <andersca@gnome.org>
6409 * shell/ev-window.c: (update_fullscreen_popup),
6410 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6411 (exit_fullscreen_button_clicked_cb),
6412 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6413 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6414 (ev_window_state_event_cb), (ev_window_init):
6415 Add fullscreen support from Epiphany.
6417 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6419 * data/ev-stock-zoom-fit-width.png: fit-width
6420 stock icon from gpdf.
6422 * shell/ev-stock-icons.[ch]: copied from gpdf.
6424 * shell/main.c: (main): init stock icons.
6426 * shell/ev-window.c: use the fit-width icon.
6428 * data/evince-ui.xml: add zooming toolbar items.
6430 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6433 (ev_view_best_fit), (ev_view_fit_width): because
6434 get_page_size() returns the scaled page size, we
6435 need to calculate the scale factor relative to
6436 the previous scale factor. Should really just
6437 add get_real_page_size().
6439 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6441 * shell/ev-view.[ch]:
6442 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6443 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6446 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6447 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6448 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6451 * pdf/xpdf/pdf-document.cc:
6452 (pdf_document_begin_find),
6453 (pdf_document_end_find): make static.
6455 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6457 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6459 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6460 names to fontconfig patterns.
6461 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6463 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6466 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6482 Import ggv backend. Not hooked up yet.
6484 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6486 * shell/main.c: (load_files), (main): load files
6487 from the command line.
6489 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6491 * configure.ac: don't require bonobo.
6493 * cut-n-paste/recent-files/*: kill bonobo recent
6496 * shell/ev-window.c:
6497 (ev_window_is_empty): upd.
6498 (unable_to_load), (ev_window_open): load backend
6499 based on the mime type.
6501 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6503 * backend/.cvsignore: ignore generated marshalers source.
6505 * shell/main.c (main): this is not epiphany.
6507 2004-12-22 Havoc Pennington <hp@redhat.com>
6509 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6510 (expose_bin_window): draw find highlights
6512 * shell/ev-window.c (find_bar_search_changed_cb): implement
6514 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6515 (pdf_document_end_find): implement this interface
6517 * backend/ev-document.c (ev_document_found): add this to emit
6520 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6522 * data/evince-ui.xml: Add a few more toolbar items.
6524 * shell/ev-window.c: Hook up page navigation toolbar
6527 * shell/ev-view.[ch]: add ev_view_set/get_page and
6528 a page-changed signal.
6530 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6531 Add ev_document_get_page().
6533 * shell/ev-window.c: Sensitize/desensitize navigation
6536 2004-12-21 Havoc Pennington <hp@redhat.com>
6538 * backend/ev-backend-marshal.c,
6539 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6540 marshaler-generator thingy. I'm sure there's a better way to do
6541 this in the modern world.
6543 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6544 end_find methods and "found" signal.
6546 * configure.ac: find glib-genmarshal
6548 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6550 * shell/ev-sidebar.c: Construct an actual sidebar.
6551 * shell/ev-sidebar-bookmarks.[ch]:
6552 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6554 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6556 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6559 * shell/ev-view.c: Track the size from the document.
6561 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6563 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6564 constructor assumes ownership of the string passed in.
6566 * shell/ev-window.c (ev_window_open): Destroy the error
6567 dialog once we've displayed it.
6569 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6571 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6572 a bit, it works! (sort of)
6574 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6575 Move to .cc since we need to use C++ in the implementation.
6577 * shell/dummy.cc: Add a CC file to force evince
6578 to be linked as a C++ program.
6580 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6582 * shell/ev-view.[ch]: Start of content-area widget.
6584 * shell/ev-window.c: Create a EvView, update it
6585 as we change documents.
6587 * shell/Makefile.am shell/ev-marshal.list: Add
6588 generated marshalers.
6590 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6592 * Makefile.am (SUBDIRS): move shell.
6594 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6596 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6597 .a to libtool convenience libraries.
6599 * shell/ev-window.c (ev_window_open): Hard code loading
6602 * backend/ev-document.h: Add a boolean return to load(),
6603 fix GError * to GError **.
6605 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6606 object for a PDF backend EvDocument.
6608 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6610 * dvi/*: New directory with the beginning of a .dvi backend.
6612 2004-12-21 Havoc Pennington <hp@redhat.com>
6614 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6615 previous/next instead of back/forward
6617 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6619 * backend/ev-document.[ch]: Fix a couple of problems so
6622 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6624 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6625 to backend/ directory, rename EvViewer to EvDocument.
6627 2004-12-21 Havoc Pennington <hp@redhat.com>
6629 * shell/ev-window.c: hook up the find bar widget; now we just need
6630 a document to find things in
6632 * shell/eggfindbar.c: a find bar widget
6634 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6636 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6638 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6640 * pdf/**: Import of xpdf code from gpdf.
6642 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6644 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6645 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6646 Fix FreeType includes.
6648 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6649 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6650 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6651 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6652 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6653 Include xpdfconfig.h
6655 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6657 * shell/ev-window.c (ev_window_dispose): dispose can be called
6660 2004-12-21 Havoc Pennington <hp@redhat.com>
6662 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6665 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6666 items; really they should be synced with the strings, etc. from
6667 current gpdf, but just getting the boring typing out of the way
6669 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6672 * shell/ev-application.c: (window_destroy_cb):
6673 * shell/ev-window.c:
6674 * shell/main.c: (main):
6676 Actually show the window...
6678 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6681 * shell/Makefile.am:
6682 * shell/ev-application.c: (ev_application_class_init):
6683 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6687 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6689 Import to gnome cvs.
6691 * Remove copies of gpdf and ggv trees.
6692 * Rip out all the recursive configure code.
6693 * Remove bonobo machinery.
6694 * viewer/*: GInterfaces that backends should/can implement.
6696 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6698 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6701 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6703 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6704 (ev_application_finalize, ev_application_class_init)
6705 (ev_application_init): use GType instance private data for priv.
6707 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6708 (ev_window_finalize, ev_window_class_init)
6709 (ev_window_init): ditto.
6711 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6713 * shell/ev-application.c (ev_application_new_window): make public
6714 (ev_application_show_initial_window): kill.
6716 * shell/ev-application.h: update prototypes.
6718 * shell/main.cc (main): inline ev_application_show_initial_window.
6720 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6722 * shell/ev-application.c (ev_application_new_window): impl.
6723 (ev_application_show_initial_window): use it.
6724 (is_window_empty, ev_application_get_empty_window): returns an
6725 existing empty window or a new one.
6726 (ev_application_open): from ev_window_cmd_file_open.
6728 * shell/ev-application.h: update prototypes
6730 * shell/ev-window.c (ev_window_is_empty): impl.
6731 (ev_window_open): make public.
6732 (ev_window_cmd_file_open): use ev_application_open
6734 * shell/ev-window.h: update prototypes, remove unused.
6736 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6738 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6739 move destroy handler out of here...
6741 * shell/ev-application.c, shell/ev-application.h: ...into this new
6742 class. Also handles initial window creation.
6744 * shell/main.cc (main): use EvApplication to create initial
6747 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6749 * Makefile.am (SUBDIRS): add cut-n-paste
6751 * cut-n-paste/Makefile.am: add
6753 * configure.ac: generate Makefiles in cut-n-paste
6755 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6757 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6758 (ev_window_class_init): install ev_window_dispose.
6760 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6762 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6763 char (gchar looks stupid).
6765 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6767 * po/de.po: updated German translation.
6769 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6771 * configure.ac: add more pkg-config library checks for gnome-vfs,
6774 * gpdf/configure.in: temporarily disable libpaper
6775 checks. Otherwise I'd have to add the checks for the shell, too.
6777 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6779 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6780 and * file filters to the file choose.
6782 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6784 * po/de.po: Updated German translation.
6786 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6788 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6790 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6792 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6794 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6795 (ev_window_init): implement those menuitems.
6797 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6799 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6801 * shell/ev-window.c (ev_window_init): use the toolbar.
6803 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6805 * shell/ev-window.c (ev_window_init): use menu translations
6807 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6809 * configure.ac: add "de" to ALL_LINGUAS.
6811 * po/de.po: add German translation.
6813 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6815 * Makefile.am (SUBDIRS): add po
6817 * configure.ac: check intltool, glib-gettext etc, generate
6820 * po, po/POTFILES.in, po/POTFILES.skip: new.
6822 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6824 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6825 already use (#ifdef ENABLE_NLS)
6827 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6828 pointer indirection thinko.
6830 * shell/main.c: include gi18n.h for bindtextdomain etc.
6832 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6834 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6835 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6836 tooltips for menu items in the statusbar.
6838 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6840 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6841 pkgdatadir drop UIDIR
6843 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6845 * data/evince-ui.xml: Add File->Open menu item
6847 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6848 chooser), hook it up in the ui manager.
6850 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6852 * shell/ev-window.c: fix Help->About tooltip.
6854 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6856 * configure.ac: set CFLAGS for libevprivate.
6858 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6859 definitions, factory etc.
6861 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6863 * shell/Makefile.am: link against libevprivate.a.
6865 * shell/ev-window.c (entries): add stock icon to Help->About.
6867 * shell/main.c (main): init stock icon code.
6869 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6871 * lib/recent-files: egg recent files code
6873 * lib/Makefile.am: add.
6875 * Makefile.am: add lib subdir.
6877 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6878 set CFLAGS for recent-files.
6880 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6882 * configure.ac: disable -ansi and -pedantic gcc flags. They
6883 disable POSIX stuff in stdio.h, but egg-recent uses them.
6885 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6887 * configure.ac: add --disable-deprecated flag (defaults to on in
6890 * shell/Makefile.am (INCLUDES): use it.
6892 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6894 * shell/main.c: add missing #include.
6896 * shell/ev-window.c: fix for pedantic gcc.
6897 (ev_window_cmd_help_about): split license into paragraphs for
6898 translators and pedantic compilers.
6900 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6902 * configure.ac: add more warning flags if compiling with gcc from
6903 cvs (or explicitly requested with --enable-more-warnings).
6905 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6907 * data/evince-ui.xml: add File and File->Close menu.
6909 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6910 (ev_window_destroy): quit after destroy.
6911 (ev_window_class_init): override GtkObject::destroy.
6912 (entries): install close_window callback.
6914 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6916 * Makefile.am (SUBDIRS): add data subdir.
6918 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6919 gtk+ 2.5.0 for GtkAboutDialog.
6921 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6924 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6926 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6928 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6930 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6932 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6934 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6936 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6938 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6940 * shell/*: Added shell directory boilerplate, build it.
6942 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6944 * configure.ac, Makefile.am: Added top-level configure.ac and