1 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
3 * shell/ev-page-cache.c: (ev_page_cache_get_size):
5 Correct and cleanup w/h swapping
7 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
9 * backend/ev-document-thumbnails.c:
10 (ev_document_thumbnails_get_thumbnail):
11 * backend/ev-document-thumbnails.h:
12 * backend/ev-document.c:
13 * backend/ev-document.h:
14 * backend/ev-render-context.c: (ev_render_context_new),
15 (ev_render_context_set_rotation):
16 * backend/ev-render-context.h:
18 * ps/ps-document.c: (ps_document_document_iface_init):
19 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
21 * shell/ev-page-cache.c: (build_height_to_page),
22 (ev_page_cache_new), (ev_page_cache_get_size),
23 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
24 (ev_page_cache_get_height_to_page):
25 * shell/ev-page-cache.h:
26 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
27 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
28 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
29 (ev_pixbuf_cache_get_selection_pixbuf):
30 * shell/ev-pixbuf-cache.h:
31 * shell/ev-print-job.c: (idle_print_handler):
32 * shell/ev-sidebar-thumbnails.c: (add_range):
33 * shell/ev-view.c: (view_update_range_and_current_page),
34 (get_page_y_offset), (get_page_extents),
35 (ev_view_size_request_continuous_dual_page),
36 (ev_view_size_request_continuous),
37 (ev_view_size_request_dual_page),
38 (ev_view_size_request_single_page), (draw_one_page),
39 (ev_view_set_rotation), (ev_view_rotate_right),
40 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
41 (ev_view_zoom_for_size_continuous_and_dual_page),
42 (ev_view_zoom_for_size_continuous),
43 (ev_view_zoom_for_size_dual_page),
44 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
46 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
47 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
48 (tiff_document_document_iface_init),
49 (tiff_document_thumbnails_get_thumbnail):
51 Use rotation rather than orientation. It's easier and enough
54 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
56 * shell/ev-page-cache.c: (build_height_to_page),
57 (ev_page_cache_new), (ev_page_cache_get_size),
58 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
59 (ev_page_cache_get_height_to_page):
60 * shell/ev-page-cache.h:
61 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
62 (ev_view_size_request_continuous_dual_page),
63 (ev_view_size_request_continuous),
64 (ev_view_zoom_for_size_continuous_and_dual_page),
65 (ev_view_zoom_for_size_continuous):
67 Make the page cache aware of page orientation.
69 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
71 * backend/ev-document-thumbnails.c:
72 (ev_document_thumbnails_get_thumbnail):
73 * backend/ev-document-thumbnails.h:
74 * backend/ev-document.c:
75 * backend/ev-document.h:
76 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
77 * backend/ev-ps-exporter.h:
79 * ps/ps-document.c: (ps_document_document_iface_init),
80 (ps_document_ps_export_do_page):
81 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
83 * shell/ev-page-cache.c: (ev_page_cache_get_size),
85 * shell/ev-page-cache.h:
86 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
87 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
88 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
89 * shell/ev-pixbuf-cache.h:
90 * shell/ev-print-job.c: (idle_print_handler):
91 * shell/ev-sidebar-thumbnails.c: (add_range):
92 * shell/ev-view.c: (view_update_range_and_current_page),
93 (get_page_extents), (ev_view_size_request_dual_page),
94 (ev_view_size_request_single_page), (draw_one_page),
95 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
96 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
97 (ev_view_zoom_for_size_dual_page),
98 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
100 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
101 * tiff/tiff-document.c: (tiff_document_get_page_size),
102 (tiff_document_get_orientation), (rotate_pixbuf),
103 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
104 (tiff_document_thumbnails_get_thumbnail),
105 (tiff_document_ps_export_do_page), (tiff_document_init):
107 Really make use of the orientation bit of the render context.
108 Use the render context in a few more places in the backend API.
109 This regress orientation, but now it's done right. Will try to
112 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
114 * shell/ev-view.c: (ensure_rectangle_is_visible):
116 Patch by Nickolay V. Shmyrev to fix find flickering
118 2005-07-27 Martin Kretzschmar <martink@gnome.org>
120 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
121 duplex parameters to ::begin.
123 * tiff/tiff-document.c (tiff_document_ps_export_begin):
124 * shell/ev-print-job.c (idle_print_handler):
125 * ps/ps-document.c (ps_document_ps_export_begin):
126 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
127 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
128 implementations. Poppler backend needs poppler cvs. Rest has
131 2005-07-25 Martin Kretzschmar <martink@gnome.org>
133 * shell/ev-window.c (using_pdf_printer): new function.
134 (ev_window_print_range): print a less techy message if someone
135 tries to print to PDF.
137 2005-07-25 Martin Kretzschmar <martink@gnome.org>
139 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
140 from "unknown font" string. Bug #311431
142 2005-07-24 Martin Kretzschmar <martink@gnome.org>
144 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
146 2005-07-24 Martin Kretzschmar <martink@gnome.org>
150 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
151 name for PopplerFontTypes
152 (pdf_document_fonts_fill_model): add font type to the detail column
154 * backend/ev-document-fonts.h: added
155 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
157 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
158 font name and font details, add a little markup.
159 (ev_properties_fonts_init): use the new cell data func, specify ypad
160 property for the cell renderer.
161 (ev_properties_fonts_set_document): add the details column.
163 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
165 * configure.ac: Added "pl" to ALL_LINGUAS.
167 2005-07-24 Danilo Ĺ egan <danilo@gnome.org>
169 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
171 2005-07-23 Tommi Vainikainen <thv@iki.fi>
173 * help/ChangeLog: Started this for translations of manual.
174 * configure.ac, autogen.sh, .cvsignore: Migrated to
175 gnome-doc-utils. Patch in bug #311222.
177 2005-07-22 Martin Kretzschmar <martink@gnome.org>
179 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
180 #ifdef this away to fix an unused-function warning.
182 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
184 * configure.ac: Added 'gl' to ALL_LINGUAS.
186 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
188 * configure.ac: Added ne in ALL_LINGUAS
190 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
192 * shell/ev-view.c: (ev_view_leave_notify_event):
194 Clear status message when pointer leaves view. Fix for bug
197 2005-07-20 Ankit Patel <ankit644@yahoo.com>
199 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
201 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
203 * shell/ev-view.c: (ev_view_leave_notify_event),
204 (ev_view_class_init):
206 Set cursor to normal then leaving view.
208 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
212 Fix required djvulibre version.
214 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
216 *configure.ac: Hindi (hi) language added
218 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
220 *configure.ac: Punjabi (pa) Language added
222 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
224 * data/evince-ui.xml, shell/ev-window.c:
226 Add keypad accelerators for zooming. Fix for bug 308128.
228 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
231 * backend/Makefile.am:
232 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
234 * shell/ev-document-types.c: (ev_document_types_add_filters):
236 Allow to enable/disable the pixbuf backend.
237 Default to off for now. If we want it enabled we should
238 really put mime types in the desktop, implement properties etc.
240 * properties/evince-properties.c:
242 Initialize error to NULL.
243 Check error is not NULL before freeing.
245 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
249 Use F5 as presentation accell
251 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
253 * shell/ev-window.c: (update_chrome_visibility),
254 (ev_window_create_fullscreen_popup), (ev_window_init):
256 Do not leak the fullscreen toolbar
258 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
260 * shell/ev-window.c: (view_actions_focus_in_cb),
261 (view_actions_focus_out_cb):
263 These has a return value! Fix totally random focus
264 issues we was seeing.
266 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
268 * shell/main.c: (load_files_remote):
270 Allow open more than one file
272 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
274 * shell/main.c: (load_files_remote):
276 Fix for dbus 0.33. bug #309975
278 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
280 * properties/ev-properties-main.c: (ev_properties_get_pages):
282 Actually return NULL for types we dont support
284 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
290 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
292 * backend/ev-document-factory.c:
293 (ev_document_factory_get_document):
295 Do not try to create the object if type
298 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
300 * ps/ps-document.c: (ps_document_dispose),
301 (ps_async_renderer_render_pixbuf):
304 Do not leak the target window
306 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
308 * shell/ev-application.c: (ev_application_init):
310 Let tbe check file existence for us.
311 Add a comment about eggrecent mime filter.
313 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
315 * data/evince-ui.xml:
316 * shell/ev-application.c: (ev_application_shutdown),
317 (ev_application_init), (ev_application_get_toolbars_model),
318 (ev_application_get_recent_model),
319 (ev_application_save_toolbars_model):
320 * shell/ev-application.h:
321 * shell/ev-window.c: (ev_window_add_recent),
322 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
323 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
326 Use common toolbar and recent models for all windows.
327 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
329 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
331 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
332 successfully check for gtk_icon_view_get_visible_range.
334 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
339 Fix djvu and dvi backend build.
341 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
343 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
344 (new_separator_pixbuf):
348 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
350 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
352 HIGification of toolbar editor dialogue.
354 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
359 Ever build metadata manager since it's just
360 disabled at runtime now.
362 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
364 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
365 (ev_metadata_manager_get), (ev_metadata_manager_set):
366 * shell/ev-metadata-manager.h:
368 Add an _init functions that enabled metadata management
371 * shell/ev-window.c: (page_changed_cb),
372 (setup_document_from_metadata), (ev_window_setup_document),
373 (setup_view_from_metadata), (ev_window_open_uri),
374 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
375 (ev_window_run_presentation), (ev_window_stop_presentation),
376 (save_sizing_mode), (ev_window_zoom_changed_cb),
377 (ev_window_continuous_changed_cb),
378 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
379 (window_configure_event_cb):
381 Remove all ugly metadata define since we deal with it
384 * shell/main.c: (load_files_remote), (main):
386 Add support for dbus cvs head. Hopefully didnt break one
387 of the other versions now!
389 If we dont get a response from the dbus server just
390 give up with it and not enable metadata.
392 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
395 * backend/Makefile.am:
397 * cut-n-paste/recent-files/Makefile.am:
398 * cut-n-paste/toolbar-editor/Makefile.am:
399 * cut-n-paste/zoom-control/Makefile.am:
402 * pixbuf/Makefile.am:
403 * properties/Makefile.am:
406 * thumbnailer/Makefile.am:
409 Make frontends depend on just libev.
410 Rework and group CFLAGS/LIBS definitions.
413 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
417 do not unnecessarily save zoom
420 * lib/ev-file-helpers.c: (ev_dot_dir):
426 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
430 Remove unnecessary dependencies
432 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
434 * properties/Makefile.am:
435 * thumbnailer/Makefile.am:
438 Some more cleanups. Was really necessary
439 but I probably introduced bugs, feel free
442 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
444 * backend/Makefile.am:
446 * cut-n-paste/recent-files/Makefile.am:
447 * cut-n-paste/toolbar-editor/Makefile.am:
448 * cut-n-paste/zoom-control/Makefile.am:
451 * pixbuf/Makefile.am:
452 * properties/Makefile.am:
455 * thumbnailer/Makefile.am:
458 Use gnome-common macros when possible.
459 Cleanup dependencies.
460 Actually disable deprecated where possible.
462 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
465 * backend/Makefile.am:
466 * properties/Makefile.am:
468 * thumbnailer/Makefile.am:
470 This should solve the circular dep without
473 * shell/ev-window.c: (setup_view_from_metadata):
475 Never restore window size/position when the
476 window is already visible.
478 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
480 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
482 Return a boolean from timeout func. Fix ported from gedit.
484 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
486 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
488 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
490 * shell/ev-document-types.c: set "All Documents" as default filter in
493 2005-07-06 Martin Kretzschmar <martink@gnome.org>
495 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
496 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
497 (ev_metadata_manager_set_boolean): fix value/val thinko.
499 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
501 * shell/ev-window.c: (setup_view_from_metadata),
502 (window_state_event_cb), (window_configure_event_cb),
505 Remember window position and maximized state
507 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
511 Fix DBUS configure checks.
513 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
514 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
515 (ev_metadata_manager_set_boolean):
519 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
520 (ev_window_stop_fullscreen), (ev_window_run_presentation),
521 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
522 (ev_window_continuous_changed_cb),
523 (ev_window_dual_mode_changed_cb), (ev_window_new):
525 Fix the build without DBUS.
527 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
529 * shell/ev-metadata-manager.c: (parse_value), (save_values),
530 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
531 (ev_metadata_manager_set_string),
532 (ev_metadata_manager_set_boolean):
533 * shell/ev-metadata-manager.h:
535 Add support for some more types
537 * shell/ev-view.c: (scroll_to_current_page),
538 (ev_view_get_continuous), (ev_view_set_continuous),
539 (ev_view_get_dual_page):
541 * shell/ev-window.c: (page_changed_cb),
542 (setup_document_from_metadata), (ev_window_setup_document),
543 (setup_view_from_metadata), (ev_window_open_uri),
544 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
545 (ev_window_run_presentation), (ev_window_stop_presentation),
546 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
547 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
548 (ev_window_update_dual_page_action),
549 (ev_window_continuous_changed_cb),
550 (ev_window_dual_mode_changed_cb), (ev_window_init):
552 Remember a bunch of view/document properties. Prolly some
553 are still missing but it's getting interesting.
555 2005-07-05 Martin Kretzschmar <martink@gnome.org>
557 * configure.ac: check if dbus-binding-tool is installed. Not the
558 case on current Ubuntu breezy, it seems.
560 2005-07-05 Luca Ferretti <elle.uca@libero.it>
562 * data/evince.desktop.in.in:
564 Allow open uri lists and add TryExec field.
566 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
570 Enable dbus when available, do not require a configure
573 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
577 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
580 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
581 Marco Pesenti Gritti <mpg@redhat.com>
583 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
585 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
586 functions to the format required by dbus
588 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
589 errors. Use the RPC parameters in the expected way
591 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
594 * properties/Makefile.am:
595 * properties/ev-properties-main.c: (ev_properties_get_pages):
597 Support all mime types
600 * thumbnailer/Makefile.am:
601 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
602 (evince_thumbnail_pngenc_get):
604 Use the document factory
606 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
608 * backend/Makefile.am:
609 * backend/ev-document-factory.c:
610 (mime_type_supported_by_gdk_pixbuf),
611 (ev_document_type_get_from_mime),
612 (ev_document_factory_get_document),
613 (ev_document_factory_get_backend),
614 (ev_document_factory_get_mime_types),
615 (ev_document_factory_get_all_mime_types):
616 * backend/ev-document-factory.h:
618 * shell/ev-document-types.c: (get_document_from_uri),
619 (ev_document_types_get_document),
620 (file_filter_add_mime_list_and_free),
621 (ev_document_types_add_filters):
622 * shell/ev-document-types.h:
623 * shell/ev-job-xfer.c: (ev_job_xfer_run):
624 * shell/ev-properties-dialog.c:
625 (ev_properties_dialog_set_document):
626 * shell/ev-window.c: (ev_window_cmd_file_open),
627 (ev_window_cmd_save_as):
628 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
630 Rework document types managing to avoid code duplication
631 and actually abstract from backend implementations.
632 Also provide a minimal factory api that can be used by
633 thumbnailer/properties.
635 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
637 * properties/ev-properties-view.c: (ev_properties_view_set_info):
639 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
642 2005-07-04 Matthew S. Wilson <msw@rpath.com>
644 * shell/ev-properties-dialog.c
645 (ev_properties_dialog_set_document): only call
646 ev_properties_fonts_set_document() if the document implements the
649 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
652 * properties/Makefile.am:
653 * properties/ev-properties-view.c:
654 (ev_properties_view_register_type):
655 * properties/ev-properties-view.h:
656 * properties/ev-properties-main.h:
658 Implement nautilus plugin for properties.
659 Works only for pdf atm, I need to rework the
660 document types stuff to get this to work
663 2005-07-04 Martin Kretzschmar <martink@gnome.org>
665 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
666 (ev_properties_fonts_set_document): use
667 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
669 2005-07-04 Matthew S. Wilson <msw@rpath.com>
671 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
673 (PlaceImage, tiff2ps_process_page): use
674 g_ascii_dtostr to convert floats to strings in a locale-safe way.
677 2005-07-04 Martin Kretzschmar <martink@gnome.org>
679 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
680 (main): to call gnome_authentication_manager_init. Should fix
683 * configure.ac: that requires libgnomeui 2.6.0.
685 2005-07-04 Matthew S. Wilson <msw@rpath.com>
687 * tiff/tiff-document.c (tiff_document_ps_export_begin)
688 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
689 use the new tiff2ps interfaces
691 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
692 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
694 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
695 structure instead of global variables. Remove use of static
696 variables in functions.
698 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
700 * shell/ev-page-action.c: unref the completion after setting it to the
703 2005-07-04 Matthew S. Wilson <msw@rpath.com>
705 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
708 2005-07-04 Matthew S. Wilson <msw@rpath.com>
710 * shell/ev-window.c (update_action_sensitivity): disable
711 File->Print if the document does not implement the ps exporter
714 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
718 * data/evince-properties.glade:
719 * properties/.cvsignore:
720 * properties/Makefile.am:
721 * properties/ev-properties-view.c: (ev_properties_view_dispose),
722 (ev_properties_view_class_init), (ev_properties_view_format_date),
723 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
724 (ev_properties_view_init), (ev_properties_view_new):
725 * properties/ev-properties-view.h:
727 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
728 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
729 (ev_properties_dialog_new):
730 * shell/ev-properties-dialog.h:
731 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
732 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
733 (update_progress_label), (job_fonts_finished_cb),
734 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
735 * shell/ev-properties-fonts.h:
736 * shell/ev-properties.c:
737 * shell/ev-properties.h:
738 * shell/ev-window.c: (ev_window_setup_document),
739 (ev_window_cmd_file_properties):
741 Split the properties pages in two different objects, depend
742 only on the backend where possible, use widgets instead
743 of gobject for the glade part, reimplement the dialog
745 I need this to implement nautilus properties page.
747 2005-07-03 Matthew S. Wilson <msw@rpath.com>
749 * tiff/tiff-document.c (tiff_document_ps_export_begin)
750 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
751 (tiff_document_document_ps_exporter_iface_init): implement the ps
752 exporter interface for tiff documents
754 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
755 libtiff to implement TIFF postscript export
757 * tiff/tiff2ps.h: added a header file for external tiff2ps
760 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
763 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
765 * shell/ev-view.c: (scroll_to_current_page),
766 (ev_view_set_fullscreen), (ev_view_set_presentation):
768 Scroll to current page when exit from presentation
770 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
772 * shell/ev-window.c: (update_document_mode),
773 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
774 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
775 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
777 Exit from fullscreen mode when switch to presentation. Fix for
780 2005-07-02 Matthew S. Wilson <msw@rpath.com>
782 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
783 return NULL if the document does not implement the selection
786 2005-07-02 Matthew S. Wilson <msw@rpath.com>
788 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
789 reported height by using the resolution aspect ratio
790 (tiff_document_render_pixbuf): scale the pixbuf using the
791 resolution aspect ratio
793 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
797 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
798 <kiltedaco@gmail.com>
800 * djvu/djvu-document.c: (djvu_document_get_orientation),
801 (djvu_document_set_orientation), (djvu_document_get_page_size),
802 (rotate_pixbuf), (djvu_document_render_pixbuf),
803 (djvu_document_document_iface_init):
804 * dvi/dvi-document.c: (dvi_document_get_orientation),
805 (dvi_document_set_orientation), (dvi_document_get_page_size),
806 (rotate_pixbuf), (dvi_document_render_pixbuf),
807 (dvi_document_document_iface_init):
809 Dvi and djvu backends are ported to new API
811 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
813 * backend/ev-selection.c: (ev_selection_get_selection_region),
814 (ev_selection_get_selection_map):
815 * backend/ev-selection.h:
817 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
819 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
820 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
821 (ev_pixbuf_cache_get_text_mapping):
822 * shell/ev-pixbuf-cache.h:
823 * shell/ev-view.c: (location_in_text),
824 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
825 support to EvView. Now we can see where we can select! Sweet!
827 2005-06-30 Kristian Høgsberg <krh@redhat.com>
829 * shell/ev-view.c (ev_view_button_press_event): Fix
830 event->y + view->scroll_x typo.
832 2005-06-30 Kristian Høgsberg <krh@redhat.com>
834 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
835 sub-GdkPixbuf instead of passing dest_x and dest_y.
837 * shell/ev-view.c: (view_point_to_doc_point),
838 (view_rect_to_doc_rect), (ev_view_button_press_event),
839 (ev_view_motion_notify_event), (compute_new_selection_rect),
840 (gdk_rectangle_point_in), (compute_new_selection_text),
841 (compute_selections): Update selection code to keep the selection
842 around as two points and not as a normalized rectangle, and fix
843 page level selection in two-column mode.
845 2005-06-30 Alex Duggan <aldug@astrolinux.com>
847 * shell/ev-window.c: (window_configure_event_cb):
851 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
857 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
860 * shell/ev-metadata-manager.c: (item_free),
861 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
862 (parse_value), (parseItem), (load_values),
863 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
864 (save_values), (save_item), (get_oldest), (resize_items),
865 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
866 * shell/ev-metadata-manager.h:
868 Metadata manager from gedit but modified to use GValue, so that
869 we dont need to keep converting from strings.
873 ENABLE_METADATA conditional, on when dbus is on
875 * shell/ev-application.c: (ev_application_open_uri):
877 Show the window after load so that we can initialize
878 window size before it's showed.
880 * shell/ev-window.c: (ev_window_setup_from_metadata),
881 (ev_window_open_uri), (window_configure_event_cb),
884 Save and load metadata information about window size.
885 Not yet keeping states in account.
887 * shell/main.c: (main):
889 Shutdown metadata manager.
891 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
893 * shell/ev-application-service.xml:
896 * shell/ev-application.c:
897 * shell/ev-application.h:
902 Add an optional dbus interface (--enable-dbus).
903 Rework application code, mainly to be easier to
905 Do not open multiple windows with the same document,
908 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
910 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
911 pixbuf iff it exists.
913 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
916 * backend/ev-render-context.[ch]:
917 * backend/ev-selection.[ch]:
919 Massive changes. We now support text selection of pdfs, and not
920 just rectangular selection. This is pretty broken still, but I
921 want to get something into CVS.
923 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
927 Fix for Bug 309080: crash on window close.
929 * shell/ev-page-action.c: (page_changed_cb):
931 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
932 jensgr@gmx.net (Jens Granseuer).
934 2005-06-25 Marcel Telka <marcel@telka.sk>
936 * configure.in (ALL_LINGUAS): Added sk.
938 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
940 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
943 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
950 * cut-n-paste/recent-files/Makefile.am:
954 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
956 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
957 (pixbuf_document_set_orientation), (rotate_pixbuf),
958 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
959 (pixbuf_document_document_iface_init), (pixbuf_document_init):
961 Implement rotation and cleanup the code a bit.
963 * tiff/tiff-document.c: (tiff_document_get_page_size),
964 (tiff_document_get_orientation), (tiff_document_set_orientation),
965 (rotate_pixbuf), (tiff_document_render_pixbuf),
966 (tiff_document_document_iface_init), (tiff_document_init):
968 Implement rotation. Was the quicker solution for the release
969 but we really need to share this code in the shell.
971 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
975 Enable rotation, require poppler cvs. Fix a leak.
977 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
979 * shell/ev-window.c: (update_action_sensitivity):
981 Make properties unsensitive if document backend doesn't provide
984 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
986 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
987 (bitmap_flip_horizontally), (bitmap_flip_vertically),
988 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
989 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
990 (bitmap_flip_rotate_counter_clockwise):
991 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
992 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
994 * dvi/mdvi-lib/common.h:
995 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
996 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
997 (opendvi), (mdvi_reload), (mdvi_init_context),
998 (mdvi_destroy_context), (mdvi_dopage), (special):
999 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1000 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1001 (file_hash_free), (register_encoding), (parse_spec),
1002 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1003 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1004 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1005 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1006 (mdvi_register_font_type), (mdvi_unregister_font_type),
1007 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1008 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1009 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1010 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1011 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1012 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1013 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1014 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1015 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1016 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1017 (mdvi_unregister_special), (mdvi_flush_specials):
1018 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1020 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1021 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1022 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1023 (free_font_metrics), (flush_font_metrics):
1024 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1026 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1027 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1028 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1029 (dstring_insert), (dstring_new), (dstring_reset):
1030 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1032 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1033 avoid conflict with libtool on FC4
1035 * shell/ev-window.c: (ev_window_cmd_help_about):
1037 Update copyright year. Fix for bug 308828.
1039 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1041 * shell/ev-view.c: (add_scroll_binding_keypad),
1042 (ev_view_binding_activated), (ev_view_class_init),
1043 (on_adjustment_value_changed):
1045 Bug 170874: Arrow keys switch pages in presentation mode
1047 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1049 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1051 Fix for Bug 308265: Sidebar dissappears coming out of
1054 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1056 * shell/ev-application.c: (ev_application_open):
1057 * shell/ev-document-types.c: (ev_document_types_add_filters),
1058 (ev_document_types_add_filters_for_type):
1059 * shell/ev-document-types.h:
1060 * shell/ev-window.c: (ev_window_cmd_save_as):
1062 Suggest basename as template when saving, provide filters
1063 for save dialog. It's bug 308402
1065 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1067 * pdf/ev-poppler.cc:
1068 * shell/ev-sidebar-links.c: (job_finished_callback):
1069 * shell/ev-view.c: (update_find_status_message):
1073 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1075 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1076 (egg_recent_view_uimanager_set_list):
1078 Fix buglet in !show_numbers case.
1080 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1082 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1083 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1085 Use pango ellipsisation.
1087 * pdf/ev-poppler.cc:
1089 Fix refcount leak, from nsh.
1091 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1093 * cut-n-paste/recent-files/Makefile.am:
1094 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1095 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1097 Removed EggRecentViewGtk
1099 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1100 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1101 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1102 (ev_window_setup_recent):
1104 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1107 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1109 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1110 (egg_recent_view_gtk_finalize):
1114 * cut-n-paste/toolbar-editor/Makefile.am:
1116 Fix location of cursor icon.
1118 * pdf/ev-poppler.cc:
1119 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1120 (display_completion_text), (match_completion):
1121 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1122 (selection_changed_callback), (create_loading_model),
1123 (print_section_cb), (links_page_num_func),
1124 (update_page_callback_foreach):
1125 * shell/ev-window.c: (ev_window_dispose):
1127 Small memory fixes. Links model now store objects instead
1128 of pointers to improve memory management.
1130 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1132 * shell/ev-window.c: (zoom_control_changed_cb):
1134 Fix update of zoom control (bug 308268).
1136 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1138 * shell/ev-properties.c (set_property): escape the text correctly.
1139 Handles non-UTF-8 properties and escaped properties. Also, sets
1140 the text to "<i>None</i>" if the property isn't set.
1142 * data/evince-properties.glade: Change the label to be ellipsized,
1143 and give it a minimum size.
1145 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1147 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1148 * shell/ev-sidebar-links.c: (create_loading_model):
1149 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1150 * shell/ev-view.c: (ev_view_set_document):
1151 * shell/ev-window.c: (ev_window_dispose):
1153 Various small fixes, mostly memory leaks. Thanks to valgrind.
1155 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1157 * ps/ps-document.c: remove the locale.h include again ;-). And
1158 kill the (bogus) setlocale/savelocale business.
1160 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1164 Include locale.h to fix build
1166 * shell/ev-sidebar.c:
1168 Remove unnecessary includes
1170 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1172 * dvi/dvi-document.c: (dvi_document_load):
1173 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1176 Check for incorrect dvi files. Fix parsing dvi on AMD64
1177 platform. Thanks to tester@tester.ca (Olivier Crete).
1179 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1181 * shell/ev-page-action.c: (match_selected_cb),
1182 (display_completion_text), (match_completion), (update_model):
1183 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1184 (expand_open_links):
1185 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1186 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1187 (ev_sidebar_set_document):
1188 * shell/ev-window.c: (ev_window_xfer_job_cb),
1189 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1191 Fixed lot's of memory leaks, for example, memory leak on reload,
1192 described in bug 307793.
1194 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1196 * pdf/ev-poppler.cc:
1197 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1198 (update_visible_range), (adjustment_changed_cb),
1199 (ev_sidebar_thumbnails_fill_model),
1200 (ev_sidebar_thumbnails_refresh),
1201 (ev_sidebar_tree_selection_changed),
1202 (ev_sidebar_icon_selection_changed),
1203 (ev_sidebar_thumbnails_use_icon_view),
1204 (ev_sidebar_thumbnails_set_document):
1205 * shell/ev-sidebar-thumbnails.h:
1206 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1207 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1209 Refresh thumbnails when changing orientation. Not fully
1210 working yet becuase of a sidebar bug.
1212 Set page orientation to poppler page everywhere. This sucks
1213 really need to fix poppler.
1215 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1217 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1218 (egg_recent_view_gtk_new_menu_item),
1219 (egg_recent_view_gtk_set_property),
1220 (egg_recent_view_gtk_get_property),
1221 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1222 (egg_recent_view_gtk_set_tooltip_func),
1223 (egg_recent_view_gtk_set_label_width),
1224 (egg_recent_view_gtk_get_label_width):
1225 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1227 Sync with libegg (ellipsize labels)
1229 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1231 * data/evince-ui.xml:
1232 * shell/ev-window.c: (ev_window_cmd_go_forward),
1233 (ev_window_cmd_go_backward):
1235 Shift + PageUp moves 10 Pages. Fix for 306125
1237 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1239 * pdf/ev-poppler.cc:
1241 Add a flag to check if orientation has been overriden
1243 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1245 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1248 * ps/ps.h: add creator field to document.
1250 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1253 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1255 * data/evince-properties.glade:
1256 * shell/ev-properties.c: (ev_properties_set_document):
1258 s/PDF Version/Format
1260 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1262 * shell/ev-properties.c: (ev_properties_set_document):
1264 Remove unnecessary translations
1266 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1268 * cut-n-paste/toolbar-editor/Makefile.am:
1270 Correct library name
1272 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1275 * cut-n-paste/recent-files/egg-recent-model.c:
1276 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1277 (egg_recent_model_unlock_file):
1278 * cut-n-paste/recent-files/egg-recent-util.c:
1279 (egg_recent_util_get_unique_id):
1280 * cut-n-paste/recent-files/update-from-egg.sh:
1281 * cut-n-paste/toolbar-editor/Makefile.am:
1282 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1283 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1284 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1285 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1286 (egg_toolbars_model_get_type):
1287 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1289 Better makefile for toolbar editor and update everything
1292 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1294 * shell/ev-window.c: (update_document_mode):
1296 Prefer presentation mode when the document
1299 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1301 * data/evince-ui.xml:
1302 * shell/ev-window.c:
1304 Add control-equal for zooming
1306 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1308 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1310 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1312 * backend/ev-document.c: (ev_document_get_orientation):
1313 * backend/ev-document.h:
1314 * pdf/ev-poppler.cc:
1315 * ps/ps-document.c: (ps_document_get_orientation),
1316 (ps_document_set_orientation), (ps_document_document_iface_init):
1318 Add a get_orientation api. Improve set_orientation.
1320 * data/evince-ui.xml:
1321 * shell/ev-view.c: (ev_view_set_orientation),
1322 (ev_view_rotate_right), (ev_view_rotate_left):
1324 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1325 (ev_window_cmd_edit_rotate_right):
1327 Better ui for changing document orientation
1329 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1331 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1332 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1333 * shell/ev-sidebar-links.h:
1334 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1335 (ev_sidebar_page_iface_init):
1336 * shell/ev-sidebar-page.h:
1337 * shell/ev-sidebar-thumbnails.c:
1338 (ev_sidebar_thumbnails_get_property),
1339 (ev_sidebar_thumbnails_class_init),
1340 (ev_sidebar_thumbnails_set_document):
1341 * shell/ev-sidebar-thumbnails.h:
1342 * shell/ev-view.c: (ev_view_motion_notify_event):
1343 * shell/ev-window.c: (update_chrome_visibility),
1344 (ev_window_cmd_focus_page_selector),
1345 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1346 (sidebar_page_main_widget_update_cb), (ev_window_init):
1348 Autoraise toolbar on GoToPage binding and fix bindings in
1349 EvSidebarThumbnails page.
1351 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1353 * shell/ev-properties.c: (update_progress_label):
1355 Hide the progress label when finished; bug #307697.
1357 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1359 * pdf/ev-poppler.cc:
1361 Enable is_open for links, you will need poppler cvs
1363 * shell/ev-properties.c: (job_fonts_finished_cb):
1365 Get a lock on the document when filling the tree view
1367 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1369 * backend/ev-document-links.h:
1370 * pdf/ev-poppler.cc:
1371 * shell/ev-sidebar-links.c: (create_loading_model),
1372 (expand_open_links), (job_finished_callback):
1374 Expand links when specified by the document.
1375 Depend on a poppler api (defined out for now)
1377 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1379 * shell/ev-properties.c: (ev_properties_dispose),
1380 (ev_properties_class_init), (dialog_destroy_cb),
1381 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1382 (ev_properties_set_document), (ev_properties_new),
1383 (ev_properties_show):
1384 * shell/ev-properties.h:
1386 Make it an object, cleanup the code, api to show it as transient
1387 and to set the document.
1389 * shell/ev-window.c: (ev_window_setup_document),
1390 (ev_window_cmd_file_properties):
1392 Adapt to EvProperties changes, do not show multiple
1393 times, update it when document changes.
1395 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1398 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1399 (ps_document_set_orientation), (ps_document_document_iface_init):
1402 Implement orientation here too
1404 * shell/ev-properties.c: (ev_properties_new):
1405 * data/evince-properties.glade:
1407 Hide the fonts page for backends that doesnt
1410 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1412 * backend/ev-document.c: (ev_document_set_orientation):
1413 * backend/ev-document.h:
1414 * pdf/ev-poppler.cc:
1416 Add orientation api. Currently poppler api is not optimal,
1417 we need to set orientation every time we _get a page.
1418 I will try to fix that at some point.
1420 * data/evince-ui.xml:
1421 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1422 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1424 Add orientation menu items
1426 * shell/ev-page-cache.c: (ev_page_cache_clear):
1427 * shell/ev-page-cache.h:
1429 Add api to clear the cache
1431 * shell/ev-view.c: (setup_caches), (clear_caches),
1432 (ev_view_set_document), (ev_view_zoom_out),
1433 (ev_view_set_orientation):
1436 Implement orientation changing
1438 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1440 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1441 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1442 * backend/ev-document-fonts.h:
1444 Separate scan and fill so that we can incrementally fill from
1445 the main thread. Add a progress api.
1447 * data/evince-properties.glade:
1448 * pdf/ev-poppler.cc:
1449 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1451 * shell/ev-properties.c: (update_progress_label),
1452 (job_fonts_finished_cb), (setup_fonts_view):
1454 Incrementally feel the list and show the progress
1455 percentage in a label like acrobat does.
1457 You are going to need poppler cvs
1459 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1461 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1462 * backend/ev-document-fonts.h:
1463 * pdf/ev-poppler.cc:
1465 Make fonts model fill incrementally.
1467 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1468 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1469 (ev_job_queue_remove_job):
1470 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1471 (ev_job_fonts_new), (ev_job_fonts_run):
1474 New job for fonts scanning
1476 * shell/ev-properties.c: (job_fonts_finished_cb),
1477 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1478 * shell/ev-properties.h:
1479 * shell/ev-window.c: (ev_window_cmd_file_properties):
1481 Incrementally feel the treeview using the new job. Show Loading...
1482 message until scanning is completed.
1484 Hopefully I didnt break the build without the poppler patch.
1486 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1488 * shell/ev-application.c: (ev_application_open):
1489 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1490 (ev_document_type_get_type), (ev_document_type_lookup):
1491 * shell/ev-document-types.h:
1492 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1493 * shell/ev-job-xfer.h:
1494 * shell/ev-window.c: (ev_window_clear_local_uri),
1495 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1496 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1497 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1499 Transfer remote documents to tmp directory to display them later.
1501 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1503 * backend/ev-document-info.h:
1504 * shell/ev-properties.c: (ev_properties_new):
1506 s/GTime*/GTime. Not sure why we was using a pointer
1509 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1511 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1512 situations. That situation is that you're using GTK+-HEAD with
1513 the patch at #306726 is applied, and you have a document with <
1514 1500 pages in it. It's not quite as uniformly nice as the
1515 TreeView, but should be better in the long run.
1517 I'm pretty sure I guarded against breaking compilation with
1518 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1521 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1522 widget yet, so I commented that code out
1523 enable_view_actions_for_widget() for now. Need to figure this
1526 * shell/ev-page-action.c (match_selected_cb): emit the right
1527 signals. Our cool C-l completion now works.
1529 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1531 * backend/Makefile.am:
1532 * backend/ev-document-fonts.c:
1533 * backend/ev-document-links.c:
1534 * backend/ev-document.c: (ev_document_load):
1535 * backend/ev-document.h:
1536 * backend/ev-job-queue.c:
1537 * backend/ev-job-queue.h:
1538 * backend/ev-jobs.c:
1539 * backend/ev-jobs.h:
1540 * backend/ev-page-cache.c:
1541 * backend/ev-page-cache.h:
1543 EvPageCache and EvJobs are moved to shell.
1545 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1547 * lib/ev-file-helpers.h:
1549 New helper to work with temporary files
1551 * shell/Makefile.am:
1552 * shell/ev-application.c: (ev_application_open):
1553 * shell/ev-application.h:
1554 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1555 (remove_job_from_async_queue), (add_job_to_async_queue),
1556 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1557 (handle_job), (search_for_jobs_unlocked),
1558 (no_jobs_available_unlocked), (ev_render_thread),
1559 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1560 (ev_job_queue_add_job), (move_job_async), (move_job),
1561 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1562 * shell/ev-job-queue.h:
1563 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1564 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1565 * shell/ev-job-xfer.h:
1566 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1567 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1568 (ev_job_links_class_init), (ev_job_render_init),
1569 (ev_job_render_dispose), (ev_job_render_class_init),
1570 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1571 (ev_job_thumbnail_class_init), (ev_job_load_init),
1572 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1573 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1574 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1575 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1577 * shell/ev-page-action.c: (ev_page_action_set_document):
1578 * shell/ev-page-cache.c: (ev_page_cache_init),
1579 (ev_page_cache_class_init), (ev_page_cache_finalize),
1580 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1581 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1582 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1583 (ev_page_cache_get_title), (ev_page_cache_get_size),
1584 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1585 (ev_page_cache_get_height_to_page),
1586 (ev_page_cache_get_max_label_chars),
1587 (ev_page_cache_get_page_label),
1588 (ev_page_cache_has_nonnumeric_page_labels),
1589 (ev_page_cache_get_info), (ev_page_cache_next_page),
1590 (ev_page_cache_prev_page), (ev_page_cache_get):
1591 * shell/ev-page-cache.h:
1592 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1593 (ev_pixbuf_cache_clear_job_sizes),
1594 (ev_pixbuf_cache_add_jobs_if_needed),
1595 (ev_pixbuf_cache_set_page_range):
1596 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1597 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1598 * shell/ev-sidebar-thumbnails.c:
1599 (ev_sidebar_tree_selection_changed),
1600 (ev_sidebar_thumbnails_set_document):
1601 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1602 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1603 (ev_statusbar_get_context_id), (ev_statusbar_push),
1604 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1605 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1606 (ev_statusbar_set_progress):
1607 * shell/ev-statusbar.h:
1608 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1609 (ev_view_find_previous):
1610 * shell/ev-window.c: (ev_window_is_empty),
1611 (ev_window_setup_document), (password_dialog_response),
1612 (ev_window_clear_jobs), (ev_window_load_job_cb),
1613 (ev_window_xfer_job_cb), (ev_window_open_uri),
1614 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1615 (ev_window_print), (ev_window_print_range),
1616 (ev_window_state_event), (ev_window_cmd_view_reload),
1617 (menu_item_select_cb), (menu_item_deselect_cb),
1618 (view_status_changed_cb), (ev_window_dispose),
1619 (drag_data_received_cb), (ev_window_init):
1620 * shell/ev-window.h:
1621 * shell/main.c: (load_files):
1623 New statusbar to show progress on idle. Two new jobs -
1624 xfer job and load job to load document in background. And update
1625 of page_cache clients to new location of code.
1627 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1629 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1630 selection in open dialog. It also remembers the last visited directory
1631 in the current session.
1633 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1635 * shell/ev-properties.c: (ev_properties_new):
1636 * shell/ev-properties.h:
1637 * shell/ev-window.c: (ev_window_cmd_file_properties):
1639 Get document info from page cache instead of document itself.
1640 This should fix crash related to race conditions described in
1643 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1645 * ps/ps-document.c: (ps_document_init),
1646 (send_ps), (get_page_box), (output), (catchPipe), (input),
1647 (stop_interpreter), (file_length), (file_readable),
1648 (check_filecompressedb), (ps_document_enable_interpreter),
1649 (document_load), (ps_async_renderer_render_pixbuf):
1652 Big cleanup of the ps code
1654 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1656 * backend/Makefile.am:
1657 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1658 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1659 * backend/ev-async-renderer.h:
1661 Add an async renderer interface (method + callback) which
1662 is useful for backends like ps.
1664 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1665 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1666 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1667 (ev_job_queue_add_job), (move_job_async), (move_job),
1668 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1670 Add queues for async renderer, these are executed on the
1673 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1674 (ev_job_render_run):
1675 * backend/ev-jobs.h:
1677 If the backend support async renderer interface use it.
1679 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1680 (setup_pixmap), (ps_document_get_type),
1681 (ps_async_renderer_render_pixbuf),
1682 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1684 Implement async renderer interface.
1686 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1688 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1690 Cleanup links job on exit.
1692 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1694 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1695 (drag_data_get_cb), (drag_data_received_cb):
1696 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1697 (drag_data_get_cb), (parse_item_list),
1698 (egg_toolbar_editor_load_actions):
1699 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1700 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1701 (parse_item_list), (parse_toolbars):
1702 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1703 (dvi_pixbuf_put_pixel):
1705 Fix gcc 4.0 warnings
1707 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1709 * ps/ps-document.c: (start_interpreter):
1711 Fix warning when loading ps
1713 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1715 * ps/ps-document.c: (output):
1717 Fix crash when priting gs error messages.
1719 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1721 * backend/ev-page-cache.c: (_ev_page_cache_new):
1722 * backend/ev-page-cache.h:
1724 Use a const to return title so that we dont double
1725 free it. Small cleanup and fix a leak.
1727 * shell/ev-window.c: (update_window_title):
1729 strdup value from get_title.
1731 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1733 * shell/ev-sidebar-links.c: (job_finished_callback),
1734 (ev_sidebar_links_set_document):
1736 Cleanup the old job when changing document
1738 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1740 * shell/ev-stock-icons.c:
1741 * shell/ev-stock-icons.h:
1742 * shell/ev-window.c:
1744 Add stock icons for actions that can appear in toolbar. Fix for
1747 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1749 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1750 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1751 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1752 * backend/ev-page-cache.h:
1753 * shell/ev-view.c: (scroll_to_current_page),
1754 (view_update_range_and_current_page), (get_page_y_offset),
1755 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1756 (ev_view_size_request_continuous),
1757 (ev_view_zoom_for_size_continuous_and_dual_page),
1758 (ev_view_zoom_for_size_continuous):
1760 More compact EvView layout in document with pages of different size.
1762 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1764 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1767 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1769 * shell/ev-view.c: (view_set_adjustment_values):
1770 * shell/ev-window.c: (ev_window_cmd_file_properties):
1772 A bit different fix for rounding problem but it has no
1773 problems on startup. Make properties window transient to parent.
1775 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1777 * pdf/ev-poppler.cc:
1779 More commenting of font stuff.
1781 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1783 * pdf/ev-poppler.cc:
1785 Comment out some more fonts stuff. Should really
1786 work without the poppler patch now.
1788 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1790 * pdf/ev-poppler.cc:
1794 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1796 * data/evince-properties.glade:
1797 * pdf/ev-poppler.cc:
1798 * shell/ev-properties.c: (setup_fonts_view):
1800 Set the column title. Show the dialog only
1801 once everything is setup.
1802 Getting font info can be very slow... will
1803 prolly need to make this threaded too.
1805 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1807 * backend/Makefile.am:
1808 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1809 (ev_document_fonts_get_fonts_model):
1810 * backend/ev-document-fonts.h:
1811 * data/evince-properties.glade:
1812 * pdf/ev-poppler.cc:
1813 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1814 * shell/ev-properties.h:
1815 * shell/ev-window.c: (ev_window_cmd_file_properties):
1817 Implement fonts list. Defined out for now, since it depends
1818 on a not yet committed poppler patch.
1820 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1822 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1825 * shell/ev-window.c: Make sure we add the timeout when we get a
1828 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1829 adjustment->value before calculating the zoom factor to average
1830 out all of our rounding errors. The page no longer 'drifts' when
1833 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1835 * data/evince-properties.glade:
1836 * shell/ev-properties.c: (ev_properties_format_date),
1839 Labels don't expand when the dialogue is resized.
1840 strftime result needs to be converted to UTF-8. Thanks
1841 to Christian Persch <chpe@gnome.org>.
1843 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1845 * data/evince-properties.glade:
1849 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1851 * backend/ev-document-info.h:
1852 * backend/ev-document.c: (ev_document_info_free):
1853 * data/evince-properties.glade:
1854 * pdf/ev-poppler.cc:
1855 * ps/ps-document.c: (ps_document_get_info):
1856 * shell/ev-properties.c: (ev_properties_format_date),
1857 (set_property), (ev_properties_new):
1858 * shell/ev-properties.h:
1859 * shell/ev-window.c: (ev_window_cmd_file_properties):
1861 Rework properties code to take only EvPropertyInfo
1862 in the constructor so that it can be useful for
1863 nautilus plugin too.
1865 Deal with backends that doesnt support some properties.
1866 Make set property code generic.
1868 2005-06-04 Christian Persch <chpe@gnome.org>
1870 * data/evince-properties.glade:
1872 fix spacings, make resizeable, and make data labels
1873 selectable + ellipsised
1875 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1877 * backend/ev-document-info.h:
1879 * data/evince-ui.xml:
1880 * pdf/ev-poppler.cc:
1881 * shell/Makefile.am:
1882 * shell/ev-window.c: (update_action_sensitivity),
1883 (ev_window_cmd_file_properties):
1885 Initial go at file properties. Patch by
1886 Emil Soleyman-Zomalan <emil@soleyman.com>.
1887 Needs love see #169583
1889 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1891 * ps/ps-document.c: (output):
1892 * ps/ps.c: (psscan):
1894 Try to render even if psscan fails.
1896 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1898 * ps/ps.c: (psscan), (pscopydoc):
1900 Port buffered reading code from gv
1902 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1904 * ps/ps-document.c: (interpreter_message), (output):
1906 Do not fail on interpreter messages
1908 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1910 * backend/ev-document-misc.c:
1911 (ev_document_misc_get_thumbnail_frame):
1913 Pages can be 0 x 0, dont assert on this case
1915 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1917 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1918 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1920 Correctly manage our reference on document. Finally the reload
1921 huge leak is gone...
1923 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1925 * ps/ps-document.c: (ps_document_dispose):
1927 Forgot to chain it to the parent. Thanks chpe.
1929 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1931 * ps/ps-document.c: (ps_document_dispose),
1932 (ps_document_class_init), (stop_interpreter), (document_load):
1934 Cleanup dispose a bit. Dont leak the whole pixmap.
1936 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1938 * pdf/ev-poppler.cc:
1940 Release the poppler document on dispose
1942 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1944 * shell/ev-view.c: (ev_view_set_document):
1946 Release ref on the pixbuf cache when changing
1949 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1951 * ps/ps-document.c: (ps_document_get_info):
1955 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1957 * backend/ev-page-cache.c: (ev_page_cache_init),
1958 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1959 * backend/ev-page-cache.h:
1960 * shell/ev-page-action.c: (page_changed_cb):
1962 Set page action entry width depending on labels width. Fix
1965 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1967 * backend/ev-link.c: (ev_link_class_init):
1969 Allow -1 as page value (error)
1971 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1973 * shell/ev-sidebar-thumbnails.c:
1974 (ev_sidebar_thumbnails_set_document):
1975 * shell/ev-view.c: (scroll_to_current_page),
1976 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1977 (page_changed_cb), (on_adjustment_value_changed),
1978 (ev_view_set_document):
1980 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1983 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1986 * djvu/djvu-document.c: (djvu_document_get_page_size):
1988 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1991 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1993 * shell/ev-view.c (draw_one_page): modify the expose handling to
1996 * shell/ev-window.c (update_action_sensitivity): Respect
1997 permissions field. Kowtow to the man.
1999 * pdf/ev-poppler.cc: Get the permissions field.
2001 * tiff/*c: Make a tiny bit more robust.
2003 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005 * djvu/djvu-document.c:
2007 Pop messages from djvu context message queue.
2009 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2011 * configure.ac, Makefile.am, shell/Makefile.am:
2012 * tiff/Makefile.am, shell/ev-document-types.c:
2014 Cleanup tiff configure checks. Fix for bug 305218.
2016 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2018 * configure.ac: Added "uk" to ALL_LINGUAS.
2020 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2022 * cut-n-paste/zoom-control/ephy-zoom.c:
2023 (ephy_zoom_get_changed_zoom_level):
2024 * cut-n-paste/zoom-control/ephy-zoom.h:
2025 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2026 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2027 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2028 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2029 (zoom_control_changed_cb), (ev_window_init):
2031 Fix minor points related to moving best fit up. Introduce
2032 "zoom" property and make zoom control change it's value on
2033 notify::zoom signals. Fix for 305080.
2035 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2037 * data/evince-ui.xml:
2038 * shell/ev-window.c: (set_view_actions_sensitivity):
2040 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2042 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2046 Depends on poppler 0.3.2
2048 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2050 * cut-n-paste/recent-files/egg-recent-item.c:
2051 (egg_recent_item_get_short_name):
2052 * cut-n-paste/toolbar-editor/Makefile.am:
2053 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2054 (new_pixbuf_from_widget):
2055 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2056 * cut-n-paste/toolbar-editor/egg-marshal.c:
2057 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2058 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2062 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2064 * tiff/tiff-document.c: Rough TIFF backend.
2066 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2070 * cut-n-paste/toolbar-editor/Makefile.am:
2074 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2076 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2077 (ev_view_find_next), (ev_view_find_previous):
2079 Remove the locks around get_n_results
2081 2005-05-21 Juerg Billeter <j@bitron.ch>
2083 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2085 Pass correct number of pages to poppler.
2087 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2091 * data/evince.desktop.in:
2092 * data/evince.desktop.in.in:
2095 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2097 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2099 * shell/ev-view.c: (view_update_adjustments),
2100 (view_set_adjustment_values): cast adjustmen->value to (int)
2101 before using it. Otherwise, we get off by a pixel in some
2104 (draw_one_page): Draw the border on expose.
2106 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2108 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2109 adjustment when the mode changes, #304923
2111 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2113 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2114 flickering on resize but still use gdk_window_scroll on
2117 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2119 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2122 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2124 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2125 second page on page_changed if possible, #304669
2127 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2129 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2130 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2132 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2135 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2136 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2137 (ev_view_zoom_for_size_presentation),
2138 (ev_view_zoom_for_size_continuous_and_dual_page),
2139 (ev_view_zoom_for_size_continuous),
2140 (ev_view_zoom_for_size_dual_page),
2141 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2143 * shell/ev-window.c: (update_view_size),
2144 (ev_window_sizing_mode_changed_cb):
2146 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2147 the scrollbars. It's not 100% right, but it's much closer. Kills
2148 an infinite loop, #304769
2151 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2153 * data/evince-ui.xml:
2154 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2155 * shell/ev-window.c: (set_view_actions_sensitivity):
2157 Make PgUp/Down behave like Space
2159 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2161 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2162 * backend/ev-ps-exporter.h:
2163 * pdf/ev-poppler.cc:
2164 * ps/ps-document.c: (ps_document_ps_export_begin):
2165 * shell/ev-print-job.c: (idle_print_handler):
2167 Adapt to new poppler api
2169 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2171 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2172 (ephy_zoom_control_init):
2174 Translate zoom levels
2176 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2178 * cut-n-paste/zoom-control/ephy-zoom.c:
2179 (ephy_zoom_get_zoom_level_index):
2181 Fix current zoom -> zoom control match
2183 2005-05-18 James Bowes <bowes@cs.dal.ca>
2185 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2186 rather than the scrolled_window that it's in. Fixes bug #304655.
2188 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2190 * shell/ev-view.c: (view_update_adjustments),
2191 (view_set_adjustment_values), (view_update_range_and_current_page),
2192 (view_scroll_to_page), (set_scroll_adjustment),
2193 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2194 (ev_view_scroll), (ev_view_scroll_view),
2195 (ensure_rectangle_is_visible), (find_page_at_location),
2196 (get_link_at_location), (go_to_link), (status_message_from_link),
2197 (ev_view_size_request_continuous_dual_page),
2198 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2199 (ev_view_unrealize), (ev_view_expose_event),
2200 (ev_view_button_press_event), (ev_view_motion_notify_event),
2201 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2202 (draw_rubberband), (highlight_find_results), (draw_one_page),
2203 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2204 (ev_view_init), (find_changed_cb), (page_changed_cb),
2205 (on_adjustment_value_changed), (ev_view_new),
2206 (ev_view_set_document), (ev_view_set_zoom),
2207 (ev_view_set_continuous), (ev_view_set_dual_page),
2208 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2209 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2210 (ev_view_zoom_for_size_presentation),
2211 (ev_view_zoom_for_size_continuous_dual_page),
2212 (ev_view_zoom_for_size_continuous),
2213 (ev_view_zoom_for_size_dual_page),
2214 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2215 (ev_view_get_status), (ev_view_set_status),
2216 (update_find_status_message), (ev_view_get_find_status),
2217 (ev_view_set_find_status), (jump_to_find_result),
2218 (jump_to_find_page), (compute_selections), (clear_selection),
2219 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2220 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2221 (ev_view_update_primary_selection),
2222 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2224 * shell/ev-window.c: (ev_window_open_page_label),
2225 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2227 * shell/ev-window.h:
2228 * shell/main.c: (load_files):
2230 Massive code clean up from Nickolay Shmyrev. Keep page offset
2231 when resizing. Remove the bin_window(). Also, patch from James
2232 Bowes to fix command line page, #300641
2234 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2236 * data/evince-ui.xml:
2239 * shell/ev-window.c: (update_action_sensitivity):
2241 Get rid of View->Normal Size, it's just confusing
2243 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2245 * backend/ev-document-info.h:
2246 * backend/ev-document.c: (ev_document_info_free): Free the
2249 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2250 (clear_range), (add_range), (update_visible_range),
2251 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2252 (ev_sidebar_thumbnails_set_document):
2253 * shell/ev-window.c: (ev_window_setup_document): Only render the
2254 visible thumbnails. It takes an instant to render, but it uses
2257 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2259 * shell/ev-sidebar-links.c: (popup_menu_cb):
2263 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2266 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2267 (button_press_cb), (ev_sidebar_links_construct):
2269 Show the popup menu also on keybindings
2271 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2273 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2274 * shell/ev-window.h:
2276 Expose api to print a range (with dialog). Make private _print use
2279 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2280 (ev_sidebar_links_construct):
2282 Show a print context menu on linkx, it prints the selected
2285 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2287 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2290 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2296 * shell/ev-window.c: (build_comments_string),
2297 (ev_window_cmd_help_about):
2299 Show poppler version/backend and authors
2301 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2303 * cut-n-paste/zoom-control/ephy-zoom.c:
2304 (ephy_zoom_get_zoom_level_index):
2305 * cut-n-paste/zoom-control/ephy-zoom.h:
2307 Move the best fit items at the top of the list
2309 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2311 * shell/ev-marshal.list:
2312 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2313 (activate_cb), (match_selected_cb), (activate_link_cb),
2314 (connect_proxy), (ev_page_action_class_init):
2315 * shell/ev-page-action.h:
2317 Use signals to notify action activation. Hopefully
2318 I did not break completion since I cant test...
2320 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2321 (register_custom_actions):
2323 Connect to page selector actions and also grab focus on
2324 the view when activated.
2326 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2328 * pdf/ev-poppler.cc:
2329 * backend/ev-page-cache.c: make page size calculation consistent
2330 and set it to (int)( width * scale + 0.5). This makes the weird
2331 line going through the middle of the page go away.
2333 * shell/ev-view.c: move painting the background page after
2334 checking the expose area covers us.
2336 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2338 * data/evince-password.glade:
2340 Mark labels as not translatable. Fix for bug 302842.
2342 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2344 * configure.ac: Added "es" to ALL_LINGUAS.
2346 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2348 * data/evince-toolbar.xml:
2349 * shell/ev-window.c: (update_action_sensitivity),
2350 (ev_window_setup_document), (ev_window_set_page_mode),
2353 Remove some leftover code from jrb first continous
2354 attempt. Use the new actions, we still need good icons
2357 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2359 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2361 Update label when connecting proxy. Fix a warning with NULL
2364 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2366 * data/evince-ui.xml:
2367 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2368 * shell/ev-page-action.h:
2369 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2371 Add mnemonic for edit toolbar.
2372 ctrl+l focus the page entry.
2374 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2377 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2379 * shell/main.c: (main):
2381 Put the toolbar xml in evince own dot dir
2383 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2385 * shell/ev-window.c: (ev_window_init):
2387 Make the toolbar not removable
2389 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2391 * data/evince-ui.xml:
2392 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2393 * shell/ev-sidebar-links.h:
2394 * shell/ev-sidebar-thumbnails.c:
2395 (ev_sidebar_thumbnails_get_treeview):
2396 * shell/ev-sidebar-thumbnails.h:
2397 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2398 (ev_view_class_init):
2400 * shell/ev-window.c: (update_action_sensitivity),
2401 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2402 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2403 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2406 This is evil... Make space/backspace global accelerators but
2407 enable them only for some widgets (sidebars and view).
2408 I dont like it, but I dont know a better way... :/
2410 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2412 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2413 (ev_page_action_widget_finalize),
2414 (ev_page_action_widget_class_init), (update_page_cache):
2416 Keep a weak reference on proxy->page_cache so that we
2417 dont try to disconnect the signal if the object is already
2418 gone. Maybe there is a better way to cleanup reference handling
2419 in page action though...
2421 2005-05-10 Juerg Billeter <j@bitron.ch>
2423 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2424 * backend/ev-ps-exporter.h:
2425 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2426 * ps/ps-document.c: (ps_document_ps_export_begin):
2428 Change api to pass print range to ps_exporter_begin. The pdf backend
2429 requires this information.
2431 * shell/ev-print-job.c: (idle_print_handler):
2435 2005-05-10 Juerg Billeter <j@bitron.ch>
2437 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2438 (idle_print_handler)
2439 * shell/ev-window.c: (ev_window_print):
2441 Support printing page range, based on patch by Amaury Jacquot
2443 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2445 * data/evince-toolbar.xml:
2447 Add zoom control to available items
2449 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2451 * shell/ev-window.c: (update_action_sensitivity):
2453 Set slash action insensitive when appropriate
2455 2005-05-10 Christian Persch <chpe@gnome.org>
2457 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2459 Fix warning on the overflow menu
2461 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2463 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2465 Check for uri correctness/existence
2467 2005-05-09 Juerg Billeter <j@bitron.ch>
2469 * shell/ev-window.c: (using_postscript_printer):
2471 LPD printers use postscript, too
2473 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2475 * shell/ev-window.c: (register_custom_actions):
2477 The zoom one is actually sort of useful,
2480 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2482 * shell/ev-window.c: (register_custom_actions):
2484 Hide page/zoom controls from overflow, they
2487 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2489 * cut-n-paste/update-from-egg.sh:
2491 Share it between all cut-n-paste subdirs
2493 * cut-n-paste/recent-files/Makefile.am:
2495 Fix to use "global" update-from-egg.sh
2497 * cut-n-paste/recent-files/egg-recent-model.c:
2498 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2499 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2500 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2501 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2505 * cut-n-paste/toolbar-editor/Makefile.am:
2507 Fix to use "global" update-from-egg.sh
2509 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2513 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2516 * cut-n-paste/Makefile.am:
2517 * cut-n-paste/recent-files/Makefile.am:
2518 * cut-n-paste/toolbar-editor/.cvsignore:
2519 * cut-n-paste/toolbar-editor/Makefile.am:
2520 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2521 (egg_editable_toolbar_get_type), (get_toolbar_position),
2522 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2523 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2524 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2525 (set_item_drag_source), (create_item_from_action), (create_item),
2526 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2527 (popup_toolbar_context_menu_cb), (free_dragged_item),
2528 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2529 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2530 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2531 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2532 (item_added_cb), (item_removed_cb),
2533 (egg_editable_toolbar_construct),
2534 (egg_editable_toolbar_disconnect_model),
2535 (egg_editable_toolbar_deconstruct),
2536 (egg_editable_toolbar_set_model),
2537 (egg_editable_toolbar_set_ui_manager),
2538 (egg_editable_toolbar_set_property),
2539 (egg_editable_toolbar_get_property),
2540 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2541 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2542 (egg_editable_toolbar_new_with_model),
2543 (egg_editable_toolbar_get_edit_mode),
2544 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2545 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2546 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2547 (new_pixbuf_from_widget), (new_separator_pixbuf),
2548 (update_separator_image), (style_set_cb),
2549 (_egg_editable_toolbar_new_separator_image),
2550 (egg_editable_toolbar_get_model):
2551 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2552 * cut-n-paste/toolbar-editor/egg-marshal.c:
2553 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2554 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2555 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2556 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2557 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2558 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2559 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2560 (editor_drag_data_delete_cb), (drag_data_get_cb),
2561 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2562 (editor_create_item), (update_editor_sheet), (setup_editor),
2563 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2564 (parse_item_list), (model_has_action), (update_actions_list),
2565 (egg_toolbar_editor_load_actions):
2566 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2567 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2568 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2569 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2570 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2571 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2572 (egg_toolbars_model_add_separator), (impl_add_item),
2573 (parse_item_list), (egg_toolbars_model_add_toolbar),
2574 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2575 (impl_get_item_data), (impl_get_item_type),
2576 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2577 (egg_toolbars_model_init), (free_toolbar),
2578 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2579 (egg_toolbars_model_remove_toolbar),
2580 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2581 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2582 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2583 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2584 (egg_toolbars_model_get_item_data),
2585 (egg_toolbars_model_get_item_type):
2586 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2587 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2589 * data/evince-toolbar.xml:
2590 * data/evince-ui.xml:
2591 * data/hand-open.png:
2593 * shell/Makefile.am:
2594 * shell/ev-window.c: (update_chrome_visibility),
2595 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2596 (ev_window_dispose), (ev_window_init):
2598 Implement epiphany like toolbar editor. Based on patch by
2599 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2601 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2603 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2605 Use set_cursor instead of set_selection, so that
2606 the keyboard focus moves too.
2608 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2610 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2612 Fix infinite loop when loading Type1 fonts
2614 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2616 * data/evince-ui.xml:
2617 * shell/ev-window.c:
2621 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2625 Make --disable really disable
2627 2005-05-07 Juerg Billeter <j@bitron.ch>
2629 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2631 Compare page labels even without has_labels set, fixes setting page
2634 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2636 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2637 (ev_view_set_cursor), (ev_view_button_press_event),
2638 (ev_view_motion_notify_event), (ev_view_button_release_event),
2641 Implement middle button scrolling. Based on a patch
2642 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2644 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2646 * shell/ev-document-types.c: (get_slow_mime_type),
2647 (get_document_type_from_mime), (ev_document_type_lookup):
2648 * shell/ev-document-types.h:
2650 Change api to lookup from uri. Do fast lookup first, if the
2651 type is unknown try with data sniffing.
2653 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2654 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2658 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2660 * thumbnailer/Makefile.am:
2664 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2671 * data/evince-ui.xml:
2673 Hide presentation mode for now
2675 * shell/ev-view.c: (highlight_find_results):
2677 Show current find selection only on current page
2679 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2681 * shell/ev-view.c: (ev_view_select_all):
2683 Compute size of the actual page, not of
2686 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2688 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2689 (view_rect_to_doc_rect), (compute_selections),
2690 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2691 (ev_view_copy), (ev_view_primary_get_cb),
2692 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2693 (ev_view_button_press_event), (ev_view_motion_notify_event),
2694 (ev_view_button_release_event), (page_changed_cb):
2698 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2700 * shell/ev-view.c: (compute_border), (get_page_extents),
2701 (doc_rect_to_view_rect), (highlight_find_results),
2702 (ev_view_bin_expose), (ev_view_select_all),
2703 (ev_view_motion_notify_event), (update_find_status_message),
2704 (jump_to_find_result), (jump_to_find_page):
2706 First go at fixing search, still buggy
2708 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2710 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2711 dropdown box and button at the top of the sidebar.
2713 2005-05-02 James Bowes <bowes@cs.dal.ca>
2715 * configure.ac: Output zoom-control Makefile.
2716 * cut-n-paste/Makefile.am: build zoom-control subdir.
2717 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2718 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2719 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2720 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2721 * cut-n-paste/zoom-control/ephy-zoom.c:
2722 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2723 from epiphany, and modified to add a separator into the menu.
2724 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2725 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2726 zoom-control action.
2727 * shell/Makefile.am: Include zoom-control flags.
2728 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2729 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2730 (ev_view_zoom_for_size_presentation),
2731 (ev_view_zoom_for_size_continuous_and_dual_page),
2732 (ev_view_zoom_for_size_continuous),
2733 (ev_view_zoom_for_size_dual_page),
2734 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2735 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2736 ev_view_get_zoom and ev_view_get_sizing_mode.
2738 * shell/ev-window.c: (update_action_sensitivity),
2739 (update_sizing_buttons), (zoom_control_changed_cb),
2740 (register_custom_actions): Initialize and use the zoom-control
2743 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2745 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2746 preview cache back to 1. Don't know when it got set to 0.
2748 * shell/ev-view.c: (compute_border), (ev_view_realize),
2749 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2750 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2751 (ev_view_get_fullscreen), (ev_view_set_presentation),
2752 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2753 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2755 * shell/ev-window.c:
2756 (update_chrome_visibility),
2757 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2758 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2759 (update_document_mode), (ev_window_update_fullscreen_action),
2760 (ev_window_fullscreen), (ev_window_unfullscreen),
2761 (ev_window_cmd_view_fullscreen),
2762 (ev_window_update_presentation_action),
2763 (ev_window_run_presentation), (ev_window_stop_presentation),
2764 (ev_window_cmd_view_presentation), (ev_window_state_event),
2765 (ev_window_focus_in_event), (ev_window_focus_out_event),
2766 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2767 * data/evince-ui.xml: Initial presentation mode. We should
2768 probably hide this until it's done, as it's quite rough. Also,
2769 change full-screen to fullscreen and add two getters to EvView.
2771 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2773 * shell/ev-page-action.c: (update_page_cache),
2774 (ev_page_action_dispose):
2775 * shell/ev-window.c: (destroy_fullscreen_popup),
2776 (ev_window_create_fullscreen_popup):
2778 Use connect_object rather than explicitly
2779 disconnect on dispose.
2781 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2783 * shell/ev-page-action.c: (update_page_cache),
2784 (ev_page_action_dispose):
2786 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2788 * backend/ev-page-cache.c: (_ev_page_cache_new),
2789 (ev_page_cache_set_page_label),
2790 (ev_page_cache_has_nonnumeric_page_labels):
2791 * backend/ev-page-cache.h:
2792 * shell/ev-page-action.c: (update_pages_label):
2794 If all page labels are numeric, fallback to default
2795 way to display number of pages. See bug 173185.
2797 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2799 * shell/ev-page-action.c: (ev_page_action_dispose):
2800 * shell/ev-view.c: (view_update_range_and_current_page):
2801 * shell/ev-window.c: (ev_window_dispose):
2803 Set page on scroll in continuous mode. Fixes bug 301986.
2804 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2806 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2810 Require poppler 0.3.0
2812 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2814 * shell/Makefile.am, configure.ac: Fix build problems
2815 with t1lib. Bug 301996.
2817 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2819 * shell/ev-view.c: (ev_view_scroll_event):
2821 Scroll up increase zoom
2823 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2825 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2826 (ev_view_set_sizing_mode),
2827 (ev_view_zoom_for_size_continuous_and_dual_page),
2828 (ev_view_zoom_for_size_continuous):
2829 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2830 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2831 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2834 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2835 Fix for 165473 and 165472.
2837 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2840 * thumbnailer/Makefile.am:
2841 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2842 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2843 * thumbnailer/evince-thumbnailer.schemas.in:
2845 Make thumbnailer schemas translatable. Fix for bug 301773
2847 * thumbnailer/evince-thumbnailer-djvu.schemas:
2848 * thumbnailer/evince-thumbnailer-dvi.schemas:
2849 * thumbnailer/evince-thumbnailer.schemas:
2853 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2855 * shell/ev-view.c (ev_view_init): forgot to set this.
2857 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2859 * shell/ev-view.c: (find_page_at_location),
2860 (get_link_at_location),
2861 (ev_view_set_show_border), (ev_view_set_spacing),
2862 (ev_view_zoom_for_size_continuous_and_dual_page),
2863 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2864 Also, add a quick fix measuring of widths. Also, removed
2865 ev_view_set_spacing and ev_view_set_show_border.
2867 * shell/ev-window.c: (ev_window_unfullscreen),
2868 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2870 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2872 * shell/ev-view.c: (view_update_range_and_current_page),
2875 Fix crash on exit and scrolling to page in continuous view.
2877 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2880 * backend/ev-page-cache.c: (_ev_page_cache_new),
2881 (ev_page_cache_get_max_width_size),
2882 (ev_page_cache_get_max_height_size):
2883 * backend/ev-page-cache.h:
2884 * data/evince-ui.xml:
2885 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2886 * shell/ev-view.c: (view_update_adjustments),
2887 (view_update_range_and_current_page), (get_bounding_box_size),
2888 (ev_view_size_request_continuous_and_dual_page),
2889 (ev_view_size_request_continuous),
2890 (ev_view_size_request_dual_page),
2891 (ev_view_size_request_single_page), (ev_view_size_request),
2892 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2893 (ev_view_bin_expose), (ev_view_expose_event),
2894 (ev_view_set_property), (ev_view_get_property),
2895 (ev_view_class_init), (ev_view_init), (ev_view_new),
2896 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2897 (ev_view_set_dual_page), (ev_view_set_full_screen),
2898 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2899 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2900 (ev_view_zoom_out), (zoom_for_size_fit_width),
2901 (zoom_for_size_best_fit),
2902 (ev_view_zoom_for_size_continuous_and_dual_page),
2903 (ev_view_zoom_for_size_continuous),
2904 (ev_view_zoom_for_size_dual_page),
2905 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2906 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2908 * shell/ev-window.c: (update_action_sensitivity),
2909 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2910 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2911 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2912 (ev_window_cmd_view_zoom_out), (update_view_size),
2913 (ev_window_set_sizing_mode), (ev_window_init):
2915 Add Continuous and Dual page modes.
2917 2005-04-23 James Bowes <bowes@cs.dal.ca>
2919 * dvi/dvi-document.c: (dvi_document_load),
2920 (dvi_document_thumbnails_get_thumbnail),
2921 (dvi_document_init_params): Fix up some mixups between
2922 width and height to correct thumbnail rendering.
2924 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2926 * dvi/mdvi-lib/private.h:
2927 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2929 Suppess output for kpathsea during font generation. Thanks to
2932 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2939 * Makefile.am: fix distcheck.
2941 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2943 * shell/ev-sidebar-links.c: (selection_changed_callback),
2944 (update_page_callback), (row_activated_callback),
2945 (job_finished_callback), (ev_sidebar_links_set_document):
2947 Fix for bug #169901. Double click on links expands tree.
2949 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2951 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2952 hard-coded style. Fix for bug 170111
2954 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2956 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2959 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2961 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2963 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2965 * pdf/ev-poppler.cc:
2966 * shell/ev-view.c: (highlight_find_results):
2968 Fix find on single page documents
2970 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2972 * data/evince.schemas.in: fix for bug 301390
2974 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2976 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2977 (ev_view_zoom_out), (ev_view_zoom_normal):
2979 * shell/ev-window.c: (update_action_sensitivity),
2980 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2981 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2982 (ev_window_cmd_view_normal_size):
2984 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2985 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2988 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2992 Depend on 2.57, 2.59 doesnt seem to be necessary
2994 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2996 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2999 Put back total number of pages as (1 of 1234)
3001 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3003 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3006 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3007 function. This helps debugging.
3009 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3011 * djvu/djvu-document.c: (djvu_document_class_init),
3012 (djvu_document_get_info), (djvu_document_document_iface_init):
3013 * dvi/dvi-document.c: (dvi_document_class_init),
3014 (dvi_document_get_info), (dvi_document_document_iface_init):
3016 Dummy implementation of get_info method for dvi and djvu. Fix
3017 crashes with those backends
3019 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3021 * data/evince.desktop.in:
3023 Add application/x-gzpostscript
3025 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3027 * data/evince.schemas.in: Added real long descriptions,
3030 * README: Added actual text, closes bug 171869
3032 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3034 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3038 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3040 * backend/ev-document-info.h:
3042 s/GDate */GDate so we can just use g_free
3044 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3046 * shell/ev-window.c: (update_document_mode),
3047 (ev_window_setup_document):
3049 Show the window in fullscreen when specified by
3052 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3054 * backend/ev-document.c: (ev_document_class_init),
3055 (ev_document_get_info), (ev_document_render_pixbuf):
3056 * backend/ev-document.h:
3057 * backend/ev-page-cache.c: (_ev_page_cache_new):
3058 * pdf/ev-poppler.cc:
3059 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3060 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3061 * ps/ps-document.c: (ps_document_class_init), (document_load),
3062 (ps_document_get_info), (ps_document_document_iface_init):
3064 Remove get_title from the interface, we can just use document info
3066 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3068 * backend/Makefile.am:
3069 * backend/ev-document.c: (ev_document_render_get_info):
3070 * backend/ev-document.h:
3071 * pdf/ev-poppler.cc:
3073 Initial support for document info. Based on jrb patch.
3075 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3077 * shell/ev-window.c: (ev_window_state_event),
3078 (ev_window_class_init), (ev_window_init):
3080 Doesn't show resize grip when maximized. See bug #301053
3082 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3086 ev-sidebar-thumbnails now has translatable labels
3088 * shell/Makefile.am:
3089 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3090 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3091 (ev_sidebar_links_page_iface_init):
3092 * shell/ev-sidebar-links.h:
3093 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3094 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3095 (ev_sidebar_page_get_label):
3096 * shell/ev-sidebar-page.h:
3097 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3098 (ev_sidebar_thumbnails_set_document),
3099 (ev_sidebar_thumbnails_support_document),
3100 (ev_sidebar_thumbnails_get_label),
3101 (ev_sidebar_thumbnails_page_iface_init):
3102 * shell/ev-sidebar-thumbnails.h:
3103 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3104 (ev_sidebar_set_document):
3105 * shell/ev-sidebar.h:
3106 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3108 Small rework of sidebar code. Now sidebar pages should implement
3109 EvSidebarPage interface. That makes page management in EvSidebar
3110 easier. See bug #164811 for details
3112 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3114 * shell/ev-application.c: (ev_application_open):
3115 * shell/ev-document-types.c:
3117 Fix build error and small problem with application exit
3119 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3121 * thumbnailer/Makefile.am:
3122 * thumbnailer/evince-thumbnailer-djvu.schemas:
3123 * thumbnailer/evince-thumbnailer-dvi.schemas:
3125 Conditionally install schemas for djvu/dvi thumbnailer
3127 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3129 * shell/ev-document-types.h:
3130 * shell/ev-document-types.c:
3131 New files, handling the mapping from mimetypes to backends
3133 * shell/ev-window.c:
3134 * thumbnailer/evince-thumbnailer.c:
3135 Use the ev-document-types code
3137 * shell/Makefile.am:
3138 Added new convenience library libevbackendfactory_la, containing
3139 the new mimetype->backend logic; moved the backends into it.
3141 * thumbnailer/Makefile.am:
3142 Make the thumbnailer link with the libevbackend.la convenience
3143 library, rather than having a duplicate of the backend logic here.
3145 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3147 * shell/ev-stock-icons.c: constify some vars.
3148 * shell/ev-window.c: ditto.
3150 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3152 * ps/ps-document.c (get_page_orientation):
3154 Respect document orientation
3156 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3160 * shell/Makefile.am:
3162 Move library dependencies to components.
3164 * shell/ev-window.c: (update_window_title),
3165 (start_loading_document):
3167 Fix display of uris with spaces. Bug 168358.
3169 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3171 * shell/ev-sidebar-links.c: (selection_changed_cb):
3172 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3173 (ev_view_button_release_event), (ev_view_set_document):
3175 * shell/ev-window.c: (find_bar_search_changed_cb):
3176 * shell/ev-window.h: Minor cleanups removing some dead code.
3178 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3180 * backend/ev-page-cache.c: (_ev_page_cache_new):
3182 Set current page to 0 if document has pages.
3184 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3186 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3188 Initialize GError to NULL, fix a crash when loading fails.
3190 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3192 * shell/ev-window.c: (update_view_size):
3194 Calculate shadow size only when there is actually
3197 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3199 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3202 Allow setting view spacing, default to 0
3204 * shell/ev-window.c: (ev_window_unfullscreen),
3205 (ev_window_cmd_view_fullscreen), (ev_window_init):
3207 Remove spacing in fullscreen mode
3209 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3211 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3212 (ev_view_size_request), (expose_bin_window),
3213 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3215 * shell/ev-window.c: (ev_window_unfullscreen),
3216 (ev_window_cmd_view_fullscreen):
3218 Do not draw the border in fulscreen
3220 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3222 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3223 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3224 (find_page_at_location), (page_changed_cb):
3226 Rework border calculation, so that I can more easily disable it.
3227 Code somewhat cleaner too.
3229 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3231 * backend/ev-page-cache.c: (ev_page_cache_init),
3232 (_ev_page_cache_new):
3234 Remove some assertions, documents can have 0 pages.
3235 Make initial current page -1.
3237 * shell/ev-page-action.c: (page_changed_cb):
3239 Show "" if current page is -1
3241 * shell/ev-window.c: (update_action_sensitivity),
3242 (ev_window_setup_document):
3244 When document has 0 pages do not set the view
3245 and make nearly everything insensitive.
3247 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3249 * shell/ev-page-view.c:
3250 * shell/ev-page-view.h:
3252 Remove unused files.
3254 * shell/ev-sidebar-thumbnails.c:
3255 (ev_sidebar_thumbnails_set_document):
3256 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3257 (ev_sidebar_supports_document):
3258 * shell/ev-sidebar.h:
3259 * shell/ev-window.c: (ev_window_setup_document):
3261 Doesn't show thumbnails if document has 1 page. Make
3262 sidebar menu entries sensitive only if if they have
3263 sense. Fix bug 164811.
3265 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3267 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3268 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3269 (ev_view_zoom_out), (ev_view_set_size):
3271 Rework sizing to deal with documents with not uniform page
3274 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3276 * backend/ev-page-cache.c: (_ev_page_cache_new):
3278 Fix several page size caching bugs
3280 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3282 * shell/ev-window.c: (set_action_properties):
3284 Make all toolbar items translatable
3286 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3288 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3289 (save_page_list), (ps_document_save),
3290 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3291 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3292 (ps_document_ps_exporter_iface_init):
3295 Based on a patch by J�rg Billeter <j@bitron.ch>
3297 Implement print and save a copy for the ps backend.
3299 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3301 * backend/ev-document.h:
3302 * djvu/djvu-document.c: (djvu_document_can_get_text),
3303 (djvu_document_document_iface_init):
3304 * dvi/dvi-document.c: (dvi_document_can_get_text),
3305 (dvi_document_document_iface_init):
3306 * pdf/ev-poppler.cc:
3307 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3308 (pixbuf_document_document_iface_init):
3309 * ps/ps-document.c: (ps_document_can_get_text),
3310 (ps_document_document_iface_init):
3311 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3312 * shell/ev-window.c: (update_action_sensitivity):
3314 Fix the crash when trying to copy in backends that doesnt
3315 support it. We can implement a better solution once we
3316 do real text selection.
3318 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3320 * data/evince-ui.xml:
3321 * shell/ev-window.c: (ev_window_cmd_escape):
3323 Work around the Escape conflict (find bar and unfullscreen)
3325 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3327 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3329 Fix for #300233. Next page correctly handles document end.
3331 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3332 (ev_sidebar_thumbnails_class_init),
3333 (ev_sidebar_thumbnails_set_document),
3334 (ev_sidebar_thumbnails_clear_job),
3335 (ev_sidebar_thumbnails_clear_model):
3337 Cleanup thumbnail jobs on document changes.
3339 * shell/ev-view.c: (add_scroll_binding_keypad),
3340 (add_scroll_binding_shifted), (ev_view_class_init):
3342 Shift + Space scrolls up. Fix for #173184
3344 * shell/ev-window.c: (ev_window_open_page),
3345 (ev_window_cmd_view_reload):
3347 Fix reload (Bug #300094)
3349 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3352 * dvi/mdvi-lib/assoc.c:
3353 * dvi/mdvi-lib/assoc.h: Removed garbage files
3355 * dvi/mdvi-lib/bitmap.c:
3356 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3357 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3358 * dvi/mdvi-lib/color.h: Antialias of rules
3360 * dvi/mdvi-lib/common.h:
3361 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3362 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3363 * dvi/mdvi-lib/files.c:
3364 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3365 * dvi/mdvi-lib/mdvi.h:
3366 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3367 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3368 * dvi/mdvi-lib/util.c: Fix compile warnings
3370 * dvi/dvi-document.c:
3371 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3372 (dvi_document_thumbnails_get_thumbnail),
3373 (dvi_document_document_thumbnails_iface_init):
3374 * dvi/mdvi-lib/Makefile.am:
3375 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3376 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3378 Dvi backend now renders thumbnails
3380 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3382 * shell/main.c: (main):
3384 Save accelerators on exit. Fixes bug #172095.
3386 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3388 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3389 update priority" comment.
3391 * backend/ev-job-queue.c: Give a way to change priority.
3393 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3395 * shell/ev-page-action.c: Fix logic.
3397 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3399 * shell/ev-view.c: (ev_view_can_find_next):
3400 * shell/ev-window.c: (ev_window_setup_document):
3402 Check that the document supports find
3404 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3406 * data/evince-ui.xml:
3407 * shell/ev-view.c: (ev_view_can_find_next):
3409 * shell/ev-window.c: (update_action_sensitivity),
3410 (find_changed_cb), (ev_window_setup_document),
3411 (ev_window_cmd_edit_find_next):
3415 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3417 * pdf/ev-poppler.cc:
3418 * shell/ev-print-job.c: (idle_print_handler):
3420 Make printing work again
3422 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3424 * shell/ev-page-action.h:
3425 * shell/ev-page-action.c: (ev_page_action_widget_init),
3426 (ev_page_action_widget_class_init), (page_changed_cb),
3427 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3428 (get_filter_model_from_model), (match_selected_cb),
3429 (display_completion_text), (match_completion), (update_model),
3430 (connect_proxy), (ev_page_action_set_property),
3431 (ev_page_action_get_property), (ev_page_action_set_document),
3432 (ev_page_action_set_model), (ev_page_action_class_init): Big
3433 reworking to make completions work iff we have >= GTK-2.7.0
3435 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3436 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3437 (job_finished_cb): We now have a 'model' property that is set when
3438 the links are loaded. This can be caught with "notify::model"
3440 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3441 listen for the model to be set, and propagate it to the action.
3443 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3445 * cut-n-paste/recent-files/egg-recent-item.c:
3446 (egg_recent_item_set_uri), (make_valid_utf8),
3447 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3448 * cut-n-paste/recent-files/egg-recent-item.h:
3450 Update egg-recent from libegg. This should fix long
3451 startup problem. For details see
3452 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3454 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3456 * cut-n-paste/recent-files/Makefile.am:
3457 * data/evince-ui.xml, shell/Makefile.am:
3458 * shell/ev-application.c, shell/ev-application.h:
3459 * shell/ev-window.c: Recent files support.
3461 * configure.ac: Added "ru" to ALL_LINGUAS.
3463 * dvju: new backend to support DJVU files.
3464 * dvi: new backend to support DVI.
3466 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3467 * ev-application.c: Support for new backends.
3469 * help, ev-window.c, main.c shell/Makefile.am:
3470 Evince user documentation.
3472 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3475 * shell/ev-window.c:
3476 * thumbnailer/evince-thumbnailer.c:
3478 s/pdf-document/ev-poppler
3480 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3487 * ps/ps-document.c: (setup_pixmap):
3491 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3493 * backend/ev-page-cache.c (ev_page_cache_next_page):
3494 * shell/ev-window.c (ev_window_cmd_go_next_page)
3495 (ev_window_cmd_go_first_page): Fix of by one errors.
3497 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3499 * ps/ps-document.c: (get_page_box):
3501 Fix page size calculation
3503 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3505 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3506 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3507 (get_page_orientation), (setup_page), (document_load),
3508 (ps_document_get_page_size), (render_pixbuf_idle):
3511 More refactoring to adapt to EvDocument changes
3513 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3515 * ps/ps-document.c: (start_interpreter):
3517 Actually add alpha args
3519 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3521 * pdf/ev-poppler.cc:
3523 Make clipboard work again
3525 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3527 Make searching work again.
3529 * backend/ev-document.c:
3530 * backend/ev-document.h:
3531 * backend/ev-document-find.c:
3532 * backend/ev-document-find.h: Change EvDocumentIface so we no
3533 longer store the current page or zoom level in the document. The
3534 consequence is that all calls that operate on the current page now
3535 instead take the page number as an extra argument, and all
3536 coordinates are now doubles in document coordinate system.
3538 * pdf/ev-poppler.cc:
3539 * pixbuf/pixbuf-document.c:
3540 * ps/ps-document.c: Update backends accordingly.
3542 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3546 Add required gettext version
3548 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3550 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3551 make F1 bring up non-existent help.
3553 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3554 epiphany's find bar, #167477
3556 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3557 <emil@nishra.com> to add space-bar scrolling,
3559 * shell/ev-window.c (static GtkActionEntry entries): add default
3560 keybinding for Help (F1)
3563 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3564 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3567 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3570 * pixbuf/pixbuf-document.c:
3572 Got pixbuf backend working again
3574 2005-04-01 Steve Murphy <murf@e-tools.com>
3576 * configure.in: Added "rw" to ALL_LINGUAS.
3578 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3580 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3581 model types, noticed by Martin Kretzschmar.
3583 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3585 * pdf/ev-poppler.cc: Implement search based on
3586 poppler_page_find_text(). Currently a bit crude since we remember
3587 all matches from all pages. Also, we grab the big document lock
3588 when we search since searching changes the underlying stream and
3589 thus conflicts with the rendering thread.
3591 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3592 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3593 (ev_view_find_previous): Fix some page indexes to be 0 based,
3594 offset rubber band by view offset,
3596 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3598 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3600 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3602 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3603 completely because I didn't understand GtkActions. I should
3604 read Marco's code more carefully in the future.
3606 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3609 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3611 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3612 PopplerRectangle change from poppler CVS.
3614 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3616 * backend/ev-document.c: (ev_document_get_page_label):
3617 * backend/ev-document.h:
3618 * backend/ev-page-cache.c: (_ev_page_cache_new),
3619 (ev_page_cache_get_page_label):
3620 * backend/ev-page-cache.h:
3621 * pdf/ev-poppler.cc:
3622 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3623 (links_page_num_func):
3624 * shell/ev-sidebar-thumbnails.c:
3625 (ev_sidebar_thumbnails_set_document):
3626 * shell/ev-view.c: (status_message_from_link),
3627 (ev_view_motion_notify_event):
3628 * shell/ev-window.c: (document_supports_sidebar): Add in page
3629 label support. It's not perfect yet, but it's the first 'feature'
3631 Also, fix a bogus comment noticed by crispin.
3633 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3635 * Makefile.am: Remove pixbuf backend for now
3637 * configure.ac: Require poppler-glib instead of just poppler.
3639 * backend/ev-document-thumbnails.h: Add a comment
3641 * backend/ev-document.h:
3642 * backend/ev-document.c: (ev_document_class_init),
3643 (ev_document_load), (ev_document_get_link),
3644 (ev_document_get_links): Remove 3 methods and add get_links.
3647 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3648 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3650 * backend/ev-link.c: (ev_link_set_title),
3651 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3652 (ev_link_mapping_find):
3653 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3655 * backend/ev-page-cache.c: (ev_page_cache_init),
3656 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3657 (ev_page_cache_get_size), (ev_page_cache_next_page),
3658 (ev_page_cache_prev_page): Fix to be 0 based.
3662 * pdf/ev-poppler.cc: New backend.
3664 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3665 (ps_document_get_page), (ps_document_document_iface_init):
3667 * shell/ev-pixbuf-cache.h:
3668 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3669 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3670 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3671 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3672 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3673 Fix up code to grab a page cache per each doc. Also, fix to be 0
3676 * shell/ev-sidebar-thumbnails.c:
3677 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3678 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3680 * shell/ev-view.c: (status_message_from_link),
3681 (find_page_at_location), (get_link_at_location),
3682 (ev_view_motion_notify_event), (ev_view_button_release_event),
3683 (ev_view_init): Use the new link code. Fix to be 0 based.
3685 * shell/ev-window.c: (update_action_sensitivity),
3686 (document_supports_sidebar): 0 based.
3688 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3690 * pdf/pdf-document.cc: Patch from Fernando Herrera
3691 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3694 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3696 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3697 1 to the page, as this seems to be 1 based. I thought we has this
3700 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3703 * backend/Makefile.am:
3704 * backend/ev-document-links.c:
3705 (ev_document_links_has_document_links),
3706 (ev_document_links_get_links_model):
3707 * backend/ev-document-links.h:
3708 * backend/ev-document.c: (ev_document_get_page_cache),
3709 (ev_document_get_doc_mutex), (ev_document_load),
3710 (ev_document_save), (ev_document_get_title),
3711 (ev_document_get_n_pages), (ev_document_set_page),
3712 (ev_document_get_page), (ev_document_set_target),
3713 (ev_document_set_scale), (ev_document_set_page_offset),
3714 (ev_document_get_page_size), (ev_document_get_text),
3715 (ev_document_get_link), (ev_document_render),
3716 (ev_document_render_pixbuf), (ev_document_scale_changed):
3717 * backend/ev-document.h:
3718 * backend/ev-job-queue.c: (remove_object_from_queue),
3719 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3720 (no_jobs_available_unlocked), (ev_render_thread),
3721 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3722 (ev_job_queue_remove_job):
3723 * backend/ev-job-queue.h:
3724 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3725 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3726 (ev_job_links_class_init), (ev_job_render_init),
3727 (ev_job_render_dispose), (ev_job_render_class_init),
3728 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3729 (ev_job_thumbnail_class_init), (ev_job_finished),
3730 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3731 (ev_job_render_run), (ev_job_thumbnail_new),
3732 (ev_job_thumbnail_run):
3733 * backend/ev-jobs.h:
3734 * backend/ev-link.c:
3735 * backend/ev-link.h:
3736 * backend/ev-page-cache.c: (ev_page_cache_init),
3737 (ev_page_cache_class_init), (ev_page_cache_finalize),
3738 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3739 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3740 (ev_page_cache_set_link), (ev_page_cache_get_title),
3741 (ev_page_cache_get_size), (ev_page_cache_next_page),
3742 (ev_page_cache_prev_page):
3743 * backend/ev-page-cache.h:
3744 * pdf/pdf-document.cc:
3747 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3748 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3749 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3750 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3751 (is_interpreter_ready), (output), (catchPipe), (input),
3752 (start_interpreter), (check_filecompressed), (compute_dimensions),
3753 (ps_document_enable_interpreter), (document_load),
3754 (ps_document_next_page), (render_page), (ps_document_set_page),
3755 (ps_document_set_scale), (render_pixbuf_idle),
3756 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3758 * shell/Makefile.am:
3759 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3760 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3761 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3762 (ev_pixbuf_cache_new), (job_finished_cb),
3763 (check_job_size_and_unref), (move_one_job),
3764 (ev_pixbuf_cache_update_range), (find_job_cache),
3765 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3766 (ev_pixbuf_cache_add_jobs_if_needed),
3767 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3768 * shell/ev-pixbuf-cache.h:
3769 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3770 (idle_print_handler):
3771 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3772 (selection_changed_cb), (create_loading_model),
3773 (ev_sidebar_links_construct), (links_page_num_func),
3774 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3775 (update_page_callback), (job_finished_cb),
3776 (ev_sidebar_links_set_document):
3777 * shell/ev-sidebar-thumbnails.c:
3778 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3779 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3780 (page_changed_cb), (thumbnail_job_completed_callback),
3781 (ev_sidebar_thumbnails_set_document):
3782 * shell/ev-sidebar-thumbnails.h:
3783 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3784 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3785 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3786 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3787 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3788 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3789 (ev_view_button_release_event), (ev_view_scroll_view),
3790 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3791 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3792 (ev_view_new), (job_finished_cb), (page_changed_cb),
3793 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3794 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3795 (ev_view_find_previous):
3797 * shell/ev-window.c: (update_action_sensitivity),
3798 (ev_window_open_page), (update_window_title), (update_total_pages),
3799 (page_changed_cb), (ev_window_setup_document),
3800 (password_dialog_response), (ev_window_cmd_save_as),
3801 (ev_window_print), (ev_window_cmd_go_previous_page),
3802 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3803 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3804 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3805 * shell/main.c: (main):
3807 Merge evince-threads branch
3809 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3811 * configure.ac: Added "lt" to ALL_LINGUAS.
3813 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3820 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3822 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3824 Fix here also the thumbnails 1-basedness :)
3826 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3833 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3835 * pdf/pdf-document.cc:
3836 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3837 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3839 Fix the mess we did with thumbnails and 1-basedness
3841 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3843 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3845 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3852 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3855 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3856 (gtk_gs_defaults_get_alpha_parameters),
3857 (gtk_gs_defaults_get_ungzip_cmd),
3858 (gtk_gs_defaults_get_unbzip2_cmd):
3860 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3861 (ps_document_get_orientation), (document_load),
3862 (ps_document_goto_page), (ps_document_set_page_size):
3865 Some more sanitization of the ps backend. Remove a lot
3866 of unused code and do not base our defaults on ggv
3869 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3871 * thumbnailer/evince-thumbnailer.schemas:
3872 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3873 (main): add -s option for thumbnail size.
3875 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3879 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3882 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3884 * pdf/pdf-document.cc:
3886 Remove 4 pixels of useless border from the
3889 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3891 * backend/ev-document-thumbnails.c:
3892 (ev_document_thumbnails_get_thumbnail):
3893 * backend/ev-document-thumbnails.h:
3895 Rework API a bit. Add a border flag and
3896 change sizing logic (now the size we specify
3897 applies to the bigger dimension).
3899 * pdf/pdf-document.cc:
3900 * pixbuf/pixbuf-document.c:
3901 (pixbuf_document_thumbnails_get_thumbnail):
3902 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3903 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3905 Adapt to the new API and do not draw a border for nautilus
3908 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3910 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3911 take thumbnails from page "0" instead of "1". Added a copyright header.
3913 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3915 * ps/ps-document.c: (set_up_page), (start_interpreter):
3917 Make it C89 compliant
3919 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3924 * pdf/pdf-document.cc:
3925 * thumbnailer/Makefile.am:
3926 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3928 * thumbnailer/evince-thumbnailer.schemas:
3929 * thumbnailer/pdf-icon.png:
3931 Add a nautilus thumbnailer.
3932 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3934 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3942 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3944 Use poppler instead of including xpdf source code. Poppler is a
3945 fork of xpdf to build it as a shared library. See
3946 http://freedesktop.org/wiki/Software/poppler.
3948 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3951 * pdf/Makefile.am: Build libpdfdocument.a here.
3953 * pdf/GDKSplashOutputDev.cc:
3954 * pdf/GDKSplashOutputDev.h:
3955 * pdf/GnomeVFSStream.cc:
3956 * pdf/GnomeVFSStream.h:
3959 * test-gdk-output-dev.cc
3961 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3964 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3966 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3968 Clear idle stack before unsetting the document
3970 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3972 * ps/ps-document.c: (ps_document_widget_event),
3973 (ps_document_set_target), (ps_document_finalize),
3974 (ps_document_get_page):
3976 Disconnect the widget event signal on finalize.
3979 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3981 * ps/ps-document.c: (set_up_page):
3983 If there is no bpixmap create one, even if size
3986 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3988 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3989 (set_up_page), (document_load), (ps_document_set_zoom):
3991 Default page is 0. Calculate size even when we have no
3994 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3996 * shell/ev-sidebar.c: expand the selection widget to be always as
3999 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4001 * shell/ev-sidebar-thumbnails.c:
4002 (ev_sidebar_thumbnails_set_document):
4004 Clear the list store when setting document
4006 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4008 * shell/ev-page-action.c: (update_entry), (sync_entry),
4009 (activate_cb), (entry_size_request_cb), (create_tool_item),
4012 Use an entry for the page control instead of spinbuttons
4014 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4016 * data/evince.schemas.in:
4018 Correct confusing string
4020 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4022 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4023 for real. Gosh, how long has this been broken.
4025 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4026 check for a NULL link. We crash otherwise.
4028 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4035 2005-02-25 Sebastien Bacher <seb128@debian.org>
4037 * configure.ac: add the french translation.
4039 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4041 * shell/ev-window.c:
4043 Remove unused header -> fix distcheck
4045 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4047 * shell/ev-window.c: (update_window_title),
4048 (ev_window_popup_password_dialog):
4050 Unescape filename for display
4052 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4054 * pdf/xpdf/pdf-document.cc:
4056 In get_page_size deal with rotation. Also
4057 cleanup the function a bit.
4059 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4061 * pdf/xpdf/pdf-document.cc:
4063 Fix crash when opening in new window
4065 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4069 Check ghostscript >= 7
4071 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4073 * shell/ev-window.c:
4075 Make page width the default sizing mode
4077 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4078 Marco Pesenti Gritti <marco@gnome.org>
4080 * shell/ev-window.c: Remember the sidebar size
4082 * data/evince.schemas.in: Add a new gconf key to store the size of
4085 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4087 * data/evince-ui.xml:
4088 * shell/ev-window.c: (update_action_sensitivity),
4089 (ev_window_cmd_view_reload):
4091 Add a "Reload" action and menu entry
4093 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4095 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4096 iff the type doesn't support thumbnailing and indexing.
4098 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4100 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4102 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4104 * pdf/splash/Splash.cc:
4106 Port fix for a crasher from kde bug
4107 http://bugs.kde.org/show_bug.cgi?id=97131
4109 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4111 * pdf/xpdf/pdf-document.cc:
4113 Return a link even if it's of an unrecognized
4114 type. Otherwise we go in an infinte cycle.
4116 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4118 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4119 (size_allocate_cb), (ev_window_set_sizing_mode):
4121 Update size when switching mode
4123 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4125 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4126 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4127 (ev_window_cmd_view_normal_size):
4129 Fix size toggle buttons behavior
4131 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4133 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4134 (doc_rect_to_view_rect), (ev_view_size_allocate),
4135 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4136 (scale_changed_callback):
4138 Do not cache offsets in size_allocate.
4140 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4142 * shell/ev-view.c: (ev_view_size_allocate):
4144 Calculate offsets before calling the parent
4145 class (which does a redraw)
4147 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4149 * pdf/xpdf/pdf-document.cc:
4151 Fix a crasher on exit. Unused code, put a TODO
4153 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4155 * backend/ev-document.c: (ev_document_class_init),
4156 (ev_document_page_changed), (ev_document_scale_changed):
4157 * backend/ev-document.h:
4159 Separate page/scale notifications
4161 * pdf/xpdf/pdf-document.cc:
4163 Emit the new signals.
4164 Do not display the pdf page in _render, do it
4165 when scale/page are requested.
4167 * ps/ps-document.c: (ps_document_set_zoom),
4168 (ps_document_widget_event):
4171 Emit the new signals.
4173 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4174 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4175 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4176 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4178 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4179 (ev_window_cmd_view_page_width), (size_allocate_cb),
4180 (ev_window_set_sizing_mode):
4182 Rework sizing to be pixel based.
4183 There are bugs but should be already way better.
4185 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4187 * shell/ev-window.c: (ev_window_init):
4189 Do not allow to shrink sidebar smaller then
4192 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4194 * shell/ev-sidebar.[ch]
4195 * shell/ev-window.c:
4197 Improved sidebar widget. Fixes #166683
4199 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4201 * shell/ev-view.c (update_find_status_message): Give translators
4202 more flexibility with ngettext plural handling.
4204 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4206 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4207 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4208 page when we get the page size.
4210 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4212 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4214 ps pages are 0 based, convert
4216 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4218 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4220 Initialize correct parent class. Set GError on document load
4222 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4224 * pdf/xpdf/pdf-document.cc:
4226 Fixup selection offset calculation
4228 * shell/ev-view.c: (view_rect_to_doc_rect),
4229 (doc_rect_to_view_rect), (ev_view_size_allocate),
4230 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4231 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4233 Store selection as document relative, so that zooming
4234 and offset changing doesnt break it.
4236 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4238 * shell/ev-view.c: (ev_view_best_fit):
4240 Do not try to best fit if the view is not realized
4242 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4244 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4246 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4248 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4250 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4252 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4253 the popup window. That prevents it resizing when in full screen
4256 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4257 multiple rerenders. This pretty much sucks.
4259 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4260 rest of the toolbar.
4262 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4264 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4266 2005-02-17 Alexander Shopov <ash@contact.bg>
4268 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4270 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4272 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4274 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4276 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4277 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4278 (set_document_page), (document_changed_callback),
4279 (ev_view_set_document), (ev_view_find_previous),
4280 (ev_view_hide_cursor), (ev_view_show_cursor):
4282 * shell/ev-window.c: (update_chrome_visibility),
4283 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4284 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4285 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4286 (ev_window_unfullscreen):
4287 * shell/main.c: (main):
4289 Automatically hide the fullscreen button.
4290 Patch by Kristian Høgsberg <krh@redhat.com>
4292 2005-02-16 Vincent Noel <vnoel@cox.net>
4294 * shell/main.c (main): Specify an icon for the window. Patch by
4295 Jaap A. Haitsma. Fixes #166177.
4297 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4299 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4301 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4303 * backend/ev-document-misc.h:
4304 * backend/ev-document-misc.c:
4305 (ev_document_misc_get_page_border_size),
4306 (ev_document_misc_paint_one_page): New function to canonicalize
4307 sizing/painting a border.
4309 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4312 * pdf/xpdf/pdf-document.cc: use new function
4314 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4315 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4316 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4317 shell/ev-window.c: (update_sizing_buttons),
4318 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4319 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4320 (ev_window_cmd_view_page_width), (size_allocate_cb),
4321 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4322 and "fit width" values act as toggle buttons so they stay
4323 toggled. It's not 100% perfect, and it's a little slow, but it's
4324 good enough to commit I think.
4326 2005-02-15 David Lodge <dave@cirt.net>
4328 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4330 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4332 * shell/ev-window.c (update_window_title): replace newlines in
4333 the title by spaces. Bug #166107.
4335 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4337 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4338 parameters providing allocation width and height without
4339 scrollbars and width of a possible vertical scrollbar. With this
4340 additional information the functions can work as
4341 intended. Unfortunately they're not idempotent. We should
4342 transform these commands to toggles. Fixes Bug #164976
4343 Initial patch by Stephane Loeuillet, then heavily modified.
4345 * shell/ev-view.h: update prototypes.
4347 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4348 (ev_window_cmd_view_page_width): provide EvView fit functions with
4349 all the information they need. Formulas to calculate this
4350 information taken from GtkScrolledWindow.
4352 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4354 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4355 created a thumbnail, the list store is updated to know
4356 that the thumbnail is set. Fixes bug #166792
4358 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4360 * shell/ev-window.c: fixed typo, closes bug 166897
4362 * TODO: updated TODO with bug numbers that are relevant
4364 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4366 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4368 2005-02-09 Vincent Noel <vnoel@cox.net>
4370 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4371 and "Next" toolbar buttons as important to make them stand out.
4373 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4377 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4378 (start_interpreter), (stop_interpreter), (document_load),
4379 (ps_document_next_page), (ps_document_goto_page),
4380 (ps_document_set_page_size), (ps_document_widget_event),
4381 (ps_document_render):
4382 * shell/ev-page-view.c: (ev_page_view_dispose):
4383 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4385 Fix compilation on non-gcc platforms
4387 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4394 * pdf/xpdf/Catalog.cc:
4397 Fix the fix for CAN-2004-0888
4399 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4402 * data/evince-ui.xml:
4403 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4404 * shell/ev-stock-icons.h:
4405 * shell/ev-window.c: (update_action_sensitivity),
4406 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4407 (set_action_properties):
4409 Improve toolbar layout/icons
4411 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4413 * pdf/xpdf/pdf-document.cc:
4415 Add warnings about unimplemented/unknown link
4418 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4420 * ps/ps-document.c: (set_up_page):
4424 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4426 * ps/ps-document.c: (start_interpreter):
4430 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4432 * shell/ev-page-view.c: (ev_page_view_dispose):
4433 * shell/ev-view.c: (ev_view_finalize):
4434 * shell/ev-window.c: (ev_window_setup_document),
4435 (ev_window_dispose), (ev_window_init):
4437 Solve more refs issues.
4439 I commented out the page_view initialization for now:
4440 it was never destroyed (because it's never added
4441 to a container). Because of that we was leaking
4442 gs processes. Couldnt think to a clean fix.
4443 We need to figure this out, password view has the
4444 same issue probably.
4446 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4448 * ps/ps-document.c: (ps_document_finalize),
4449 (ps_document_get_n_pages), (ps_document_get_page):
4451 Some cleanups, stop the interpreter on finalize
4453 * shell/ev-page-view.c: (ev_page_view_dispose),
4454 (ev_page_view_class_init):
4456 Release our reference on the document
4458 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4462 * doc/debugging.txt:
4465 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4466 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4467 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4470 Add debugging helpers
4473 * ps/ps-document.c: (set_up_page), (start_interpreter),
4474 (stop_interpreter), (document_load), (ps_document_next_page),
4475 (ps_document_goto_page), (ps_document_set_page_size),
4476 (ps_document_widget_event), (ps_document_render):
4477 * shell/Makefile.am:
4478 * shell/ev-view.c: (expose_bin_window):
4479 * shell/main.c: (main):
4483 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4485 * ps/ps-document.c: (ps_document_widget_event):
4487 Initialize message_window, this should make ps
4488 rendering really work! (Never noticed because I was
4489 testing with a ps that is causing gs to exit every time!)
4491 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4493 * data/evince.schemas.in: updated simple error in applyto closing tag
4495 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4501 * data/evince-ui.xml:
4502 A data/evince.schemas.in:
4504 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4505 * shell/ev-stock-icons.h:
4506 * shell/ev-window.c: (update_chrome_visibility),
4507 (update_chrome_flag), (ev_window_cmd_edit_find),
4508 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4509 (ev_window_unfullscreen), (ev_window_focus_in_event),
4510 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4511 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4512 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4513 (ev_window_dispose), (ev_window_class_init),
4514 (set_action_properties), (set_chrome_actions), (load_chrome),
4517 Implement fullscreen mode changes from bug #164776.
4518 Also implement persistent chrome toggles.
4520 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4522 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4524 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4530 Add another check for find interface
4534 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4536 * shell/ev-application.c: (ev_application_open):
4537 * shell/ev-window.c: (ev_window_open):
4539 Open gzipped ps documents
4541 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4544 * shell/ev-view.c: (set_document_page):
4546 Clamp page number, dont try to move to
4549 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4551 * backend/ev-document-find.c: (ev_document_find_changed):
4552 * backend/ev-document-find.h:
4553 * pdf/xpdf/pdf-document.cc:
4554 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4555 * shell/ev-window.c: (find_bar_search_changed_cb):
4557 Fix several bugs with find
4559 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4561 * shell/ev-sidebar-thumbnails.c
4562 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4563 document. Prevents warning from scroll_to_cell.
4565 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4567 * configure.ac: Add «nb» to ALL_LINGUAS too.
4569 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4571 * NOTES: New file with some random thoughts.
4575 * backend/ev-document-misc.c:
4576 (ev_document_misc_get_page_border_size): New function to
4577 canonicalize shadow drawing sizes. Possibly goofy.
4579 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4580 (ev_view_best_fit), (ev_view_fit_width):
4581 * pdf/xpdf/pdf-document.cc:
4582 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4583 * ps/ps-document.c: (ps_document_get_page_size):
4584 * backend/ev-document-misc.h:
4585 * backend/ev-document.c: (ev_document_get_page_size):
4586 * backend/ev-document.h: get_page_size now takes a page number
4587 parameter. Made all the backends/frontends honor it.
4589 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4590 see. Doesn't work yet.
4592 * shell/Makefile.am:
4593 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4594 Doesn't do anything yet.
4596 * shell/ev-sidebar-thumbnails.c:
4597 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4600 * shell/ev-window.c: (update_action_sensitivity),
4601 (ev_window_setup_document), (ev_window_set_page_mode),
4602 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4603 view-swapping code a bit so we can have multiple views on a
4604 document. Add the multi-page view, though it can't be turned on
4607 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4609 * shell/ev-application.c: (ev_application_open):
4610 * shell/ev-view.c: (expose_bin_window):
4611 * shell/ev-window.c: (ev_window_open):
4613 Support eps and check document supports find
4614 before drawing highlightings in expose.
4616 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4618 * pixbuf/pixbuf-document.c:
4619 (pixbuf_document_thumbnails_get_dimensions),
4620 (pixbuf_document_document_thumbnails_iface_init):
4622 implement get_dimensions
4624 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4631 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4633 * shell/ev-view.c: (set_document_page):
4635 Scroll at the top of the page when changing page
4637 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4639 * shell/ev-view.c: (ev_view_motion_notify_event):
4641 Do not redraw unnecessarily
4643 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4645 * pdf/xpdf/pdf-document.cc:
4646 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4647 (expose_bin_window), (find_changed_cb):
4649 Yay! find works now... Now to find bugs...
4651 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4653 * backend/ev-document-find.c: (ev_document_find_base_init),
4654 (ev_document_find_changed):
4655 * backend/ev-document-find.h:
4656 * pdf/xpdf/pdf-document.cc:
4657 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4658 (expose_bin_window), (ev_view_init), (set_document_page),
4659 (ensure_rectangle_is_visible), (jump_to_find_result),
4660 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4661 (ev_view_find_next), (ev_view_find_previous):
4663 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4665 More work on find implementation, mostly there now
4667 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4669 * backend/ev-backend-marshalers.list:
4670 * backend/ev-document-find.c: (ev_document_find_base_init),
4671 (ev_document_find_cancel), (ev_document_find_page_has_results),
4672 (ev_document_find_get_n_results), (ev_document_find_get_result),
4673 (ev_document_find_get_progress), (ev_document_find_changed):
4674 * backend/ev-document-find.h:
4676 Enanche the find interface to be really able to do
4679 * pdf/xpdf/pdf-document.cc:
4683 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4684 (expose_bin_window), (ev_view_init),
4685 (ev_view_get_find_status_message), (find_changed_cb),
4686 (ev_view_set_document), (set_document_page):
4688 Adapt to the new interface. A few things are regressed sorry,
4689 I will finish it soon.
4691 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4693 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4694 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4695 ev_sidebar_thumbnails_parent_class variable, don't define another
4696 parent_class variable.
4698 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4699 (ev_page_action_class_init): ditto.
4701 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4702 (pixbuf_document_class_init): ditto.
4704 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4707 * .cvsignore: ignore various valgrind output files.
4709 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4711 * data/evince-ui.xml:
4712 * shell/Makefile.am:
4713 * shell/ev-history.c:
4714 * shell/ev-history.h:
4715 * shell/ev-navigation-action.c:
4716 * shell/ev-navigation-action.h:
4717 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4718 (ev_view_set_page), (ev_view_fit_width):
4720 * shell/ev-window.c: (update_action_sensitivity),
4721 (ev_window_setup_document), (register_custom_actions):
4723 Kill session history
4725 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4727 * shell/ev-window.c: (update_action_sensitivity):
4729 Fix inverted up/down buttons
4731 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4733 * shell/ev-sidebar-thumbnails.c
4734 (ev_sidebar_thumbnails_select_page): make sure the selected
4735 thumbnail stays visible.
4737 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4739 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4740 scrolled window for Federico.
4742 2005-01-26 Ole Laursen <olau@hardworking.dk>
4744 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4746 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4749 * pdf/splash/SplashFTFontEngine.cc:
4751 Fix CID fonts with freetype 2.1.9
4753 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4755 * TODO: added item for desktop icon thumbnailer
4757 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4759 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4760 unloaded docs when the title is accessed.
4762 * shell/ev-password-view.[hc]: New widget for displaying password
4765 * shell/ev-window.[ch]: Refactor password handling code to handle
4768 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4776 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4778 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4779 ignore page offset here, to make search results independent of it,
4781 * shell/ev-view.c (expose_bin_window): but take offsets into
4782 account here. Bug #164932
4784 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4785 scale at the right time. Bug #164996
4787 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4789 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4790 fix the problem. Now I just removed the Adobe font names and hope
4791 that the URW fonts are always in outline format. Bug #164934
4793 * shell/ev-window.c (update_window_title): empty titles are
4794 useless, use filename in that case too.
4796 * NEWS: Add some content.
4798 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4800 * TODO: added one more TODO item and a TODONE section :)
4802 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4804 * ps/ps-document.h: add page_[xy]_offset fields.
4806 * ps/ps-document.c (ps_document_set_page_offset)
4807 (ps_document_render): Keep offset in consideration in a few
4808 places. Bug #164752 "postscript documents are not centered in
4811 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4812 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4814 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4815 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4816 stub out missing methods for complete EvDocument implementation.
4817 Fixes segfaults with Save A Copy and Copy actions.
4819 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4820 (ps_document_document_iface_init): ditto.
4822 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4826 * data/evince.desktop.in:
4830 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4832 * shell/ev-view.c: (ev_view_button_press_event),
4833 (ev_view_motion_notify_event):
4835 Make selection work in any direction
4837 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4840 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4842 Use shorter labels for some of the toolbars items
4844 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4846 * pdf/xpdf/pdf-document.cc:
4848 Check the links info is initialized before
4849 using it. Should fix a crash on startup.
4851 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4853 * pixbuf/pixbuf-document.c
4854 (pixbuf_document_thumbnails_get_dimensions): force floating point
4855 division to calculate page_ratio. Fixes crash with landscape
4858 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4860 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4862 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4864 * shell/ev-view.c (set_document_page): unset has_selection when
4866 (set_document_page): handle paper size changes when the page
4867 changes (test with Free Culture, page 2).
4869 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4871 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4872 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4874 Use normal style color for the widget background and
4875 draw a black box around the page.
4877 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4879 * pdf/xpdf/pdf-document.cc:
4881 Keep offset in consideration in a few places
4883 * shell/ev-view.c: (expose_bin_window):
4885 Set the offsets so that the document is ever centered
4887 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4889 * TODO: Added TODO items and finished off the first todo item
4891 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4892 reflect current authors
4894 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4896 * pdf/xpdf/pdf-document.cc:
4897 * shell/ev-view.c: (ev_view_set_cursor),
4898 (ev_view_motion_notify_event), (document_changed_callback),
4899 (set_document_page):
4901 Show a wait cursor while the page is rendering
4903 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4905 * shell/ev-sidebar-thumbnails.c:
4906 (ev_sidebar_tree_selection_changed),
4907 (ev_sidebar_thumbnails_select_page):
4908 * shell/ev-sidebar-thumbnails.h:
4909 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4910 (ev_view_can_go_forward):
4911 * shell/ev-window.c: (ev_window_open_page),
4912 (ev_window_setup_document), (update_current_page),
4913 (view_page_changed_cb), (ev_window_init):
4914 * shell/ev-window.h:
4916 Ensure thumbnails selection, toolbar page control and
4917 current page are in sync.
4919 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4925 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4927 * backend/Makefile.am:
4928 * backend/ev-document-links.h:
4929 * backend/ev-document-security.c: (ev_document_security_get_type),
4930 (ev_document_security_has_document_security),
4931 (ev_document_security_set_password):
4932 * backend/ev-document-security.h:
4933 * backend/ev-document.c: (ev_document_error_quark):
4934 * backend/ev-document.h:
4936 * data/evince-password.glade:
4937 * pdf/xpdf/pdf-document.cc:
4938 * shell/Makefile.am:
4939 * shell/ev-password.c: (ev_password_set_bad_password_label),
4940 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4941 (ev_password_dialog_get_password),
4942 (ev_password_dialog_set_bad_pass):
4943 * shell/ev-password.h:
4944 * shell/ev-window.c: (ev_window_get_attribute),
4945 (ev_window_set_property), (update_action_sensitivity),
4946 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4947 (ev_window_setup_document), (ev_window_get_password),
4948 (ev_window_open), (ev_window_cmd_save_as),
4949 (using_postscript_printer), (ev_window_print),
4950 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4951 (update_fullscreen_popup), (ev_window_fullscreen),
4952 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4953 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4954 (menu_item_select_cb), (find_bar_search_changed_cb),
4955 (ev_window_dispose), (ev_window_init):
4957 Add initial support for password-supported dialogs. This could be
4958 a lot cooler, but it'll do for now.
4960 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4962 * pdf/xpdf/pdf-document.cc:
4963 * shell/ev-view.c: (status_message_from_link),
4964 (ev_view_set_status), (ev_view_set_cursor),
4965 (ev_view_motion_notify_event), (ev_view_init):
4966 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4968 Fix bugs in the links implementation and change cursor
4969 when hovering a link.
4971 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4973 * viewer/.cvsignore: added cvsignore file for viewer directory
4975 * TODO: created TODO document
4977 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4980 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4981 new functions to help with implementation of sensitivity code
4982 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4983 of all actions that might require it. Fixes a crash when you
4984 click on the Zoom actions in a window lacking a document.
4986 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4988 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4991 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4993 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4994 (pixbuf_document_document_iface_init):
4995 * ps/ps-document.c: (ps_document_get_link),
4996 (ps_document_document_iface_init):
4997 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4998 (status_message_from_link), (ev_view_set_status),
4999 (ev_view_set_find_status), (ev_view_motion_notify_event),
5000 (ev_view_button_release_event), (ev_view_set_property),
5001 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5002 (ev_view_get_find_status_message), (update_find_results),
5003 (ev_view_get_status), (ev_view_get_find_status):
5005 * shell/ev-window.c: (view_status_changed_cb),
5006 (view_find_status_changed_cb), (ev_window_init):
5008 View status message support, use it to show the links.
5011 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5013 * backend/ev-document.c: (ev_document_get_link):
5014 * backend/ev-document.h:
5015 * pdf/xpdf/pdf-document.cc:
5016 * shell/ev-application.c: (ev_application_open):
5017 * shell/ev-application.h:
5018 * shell/ev-sidebar-links.c: (selection_changed_cb):
5019 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5020 (ev_view_go_to_link):
5022 Add support for document links
5024 2005-01-13 Anders Carlsson <andersca@gnome.org>
5026 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5028 Set the spin button limits correctly.
5030 * shell/ev-sidebar-thumbnails.c:
5031 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5032 Support changing pages by clicking on the thumbnails.
5034 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5036 * pixbuf/pixbuf-document.c:
5037 (pixbuf_document_thumbnails_get_dimensions),
5038 (pixbuf_document_document_thumbnails_iface_init):
5040 implement get_dimensions
5042 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5044 * ps/ps-document.c: (ps_document_goto_page):
5046 Fix page switching on multipage documents
5048 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5050 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5052 check for NULL before assigning to width and height parameters
5054 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5056 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5057 (pixbuf_document_set_property), (pixbuf_document_get_property):
5059 implement get/set properties
5061 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5063 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5065 return NULL instead of "Unknown", letting the title get set to
5066 the filename when the pdf has no title.
5068 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5070 * ps/ps-document.c: (ps_document_get_page_count),
5071 (ps_document_goto_page):
5073 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5075 * shell/ev-history.c: (ev_history_get_property),
5076 (ev_history_set_property), (ev_history_class_init),
5077 (ev_history_add_page), (ev_history_set_current_index):
5078 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5079 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5080 (ev_navigation_action_finalize):
5081 * shell/ev-navigation-action.h:
5082 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5083 (ev_view_go_forward), (ev_view_get_find_status_message),
5084 (history_index_changed_cb), (ev_view_set_history):
5086 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5087 (update_current_page), (register_custom_actions):
5089 Implement history dropdowns
5091 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5093 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5094 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5095 (ev_view_go_forward):
5096 * shell/ev-window.c: (register_custom_actions):
5098 Fix several history bugs
5100 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5102 * configure.ac: Add «nb» to ALL_LINGUAS.
5104 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5106 * backend/Makefile.am:
5107 * backend/ev-bookmark.c:
5108 * backend/ev-bookmark.h:
5109 * backend/ev-document-bookmarks.c:
5110 * backend/ev-document-bookmarks.h:
5111 * backend/ev-document-links.c: (ev_document_links_get_type),
5112 (ev_document_links_has_document_links),
5113 (ev_document_links_begin_read), (ev_document_links_get_link),
5114 (ev_document_links_get_child), (ev_document_links_next),
5115 (ev_document_links_free_iter):
5116 * backend/ev-document-links.h:
5117 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5118 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5119 (ev_link_get_link_type), (ev_link_set_link_type),
5120 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5121 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5122 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5123 (ev_link_new_external):
5124 * backend/ev-link.h:
5125 * pdf/xpdf/pdf-document.cc:
5126 * shell/Makefile.am:
5127 * shell/ev-application.c: (ev_application_open_link):
5128 * shell/ev-application.h:
5129 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5130 (ev_history_get_link_nth):
5131 * shell/ev-history.h:
5132 * shell/ev-sidebar-bookmarks.c:
5133 * shell/ev-sidebar-bookmarks.h:
5134 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5135 (ev_sidebar_links_class_init), (selection_changed_cb),
5136 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5137 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5138 (do_one_iteration), (populate_links_idle),
5139 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5140 * shell/ev-sidebar-links.h:
5141 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5142 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5145 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5146 * shell/ev-window.h:
5148 Rename bookmark to link, and use "Index" for the sidebar panel.
5150 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5152 * shell/Makefile.am:
5153 * shell/ev-application.c: (ev_application_open_bookmark):
5154 * shell/ev-application.h:
5155 * shell/ev-history.c: (ev_history_init), (free_links_list),
5156 (ev_history_finalize), (ev_history_class_init),
5157 (ev_history_add_link), (ev_history_add_page),
5158 (ev_history_get_link_nth), (ev_history_get_n_links),
5159 (ev_history_get_current_index), (ev_history_set_current_index),
5161 * shell/ev-history.h:
5162 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5163 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5164 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5165 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5168 * shell/ev-window.c: (ev_window_open_bookmark),
5169 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5170 (goto_page_cb), (register_custom_actions):
5171 * shell/ev-window.h:
5173 Initial history implementation. Needs work.
5175 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5177 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5179 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5181 * cut-n-paste/recent-files/egg-recent-item.c:
5182 * cut-n-paste/recent-files/egg-recent-item.h:
5183 * cut-n-paste/recent-files/egg-recent-model.c:
5184 * cut-n-paste/recent-files/egg-recent-util.c:
5185 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5186 * cut-n-paste/recent-files/egg-recent-view.c:
5190 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5192 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5193 (fillGlyph, fillImageMask, drawImage):
5194 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5195 pdf/splash/SplashTypes.h:
5196 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5197 packed mode for Splash.
5199 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5200 RGB8 packed mode, eliminates the pixbuf data creation loop.
5202 * shell/ev-print-job.c (ev_print_job_finalize)
5203 (ev_print_job_set_property, ev_print_job_get_property)
5204 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5205 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5206 (print_closure_finalize, ev_print_job_print): implement
5207 printing (for backends with EvPsExporter)
5209 * shell/ev_print_job.h: update prototypes.
5211 * shell/ev-window.c (ev_window_print): unref print job after
5214 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5215 unless the document implements the EvDocumentFind interface.
5217 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5219 * configure.ac: Added ja to ALL_LINGUAS.
5221 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5223 * pdf/xpdf/pdf-document.cc:
5225 add a FIXME. We should probably not allocate
5226 a bookmark object every time
5228 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5230 * shell/ev-application.c: (ev_application_open),
5231 (ev_application_open_bookmark):
5232 * shell/ev-application.h:
5234 Add a way to open bookmarks
5236 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5237 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5238 (ev_bookmark_set_property), (ev_bookmark_class_init),
5239 (ev_bookmark_new_title), (ev_bookmark_new_link),
5240 (ev_bookmark_new_external):
5242 Support for external uris, better constructors.
5244 * backend/ev-bookmark.h:
5245 * pdf/xpdf/pdf-document.cc:
5246 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5248 Handle external uris
5250 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5252 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5253 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5255 Hook up bookmarks navigation
5257 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5259 * backend/Makefile.am:
5260 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5261 (ev_bookmark_get_title), (ev_bookmark_set_title),
5262 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5263 (ev_bookmark_get_page), (ev_bookmark_set_page),
5264 (ev_bookmark_get_property), (ev_bookmark_set_property),
5265 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5267 * backend/ev-bookmark.h:
5268 * backend/ev-document-bookmarks.c:
5269 (ev_document_bookmarks_get_bookmark):
5270 * backend/ev-document-bookmarks.h:
5271 * pdf/xpdf/pdf-document.cc:
5272 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5274 Add a bookmark object to the backend and use it instead of get_values
5276 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5278 * data/evince-ui.xml:
5280 Cleanup and add select all.
5282 * shell/ev-view.c: (ev_view_select_all),
5283 (ev_view_button_press_event):
5285 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5288 Clear selection on click.
5290 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5292 * shell/ev-sidebar-thumbnails.c
5293 (ev_sidebar_thumbnails_set_document): forgot to unref the
5296 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5298 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5299 at the visible page, not just linearly. This makes it look fast.
5301 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5303 * backend/ev-document-misc.c
5304 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5306 * backend/ev-document-thumbnails.h: New interface to get the size
5309 2005-01-06 Jeremy Katz <katzj@redhat.com>
5311 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5314 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5316 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5317 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5320 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5322 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5324 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5325 fonts. Should fix font problems on systems that have the base
5326 fonts in bitmap format. Reported by James Henstridge
5327 <james@jamesh.id.au>.
5329 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5332 * pdf/xpdf/GfxState.cc:
5334 Fix for CAN-2004-1125
5336 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5338 * shell/ev-view.c: (ev_view_copy):
5340 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5342 Implement Edit->Copy
5344 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5346 * backend/ev-document.c: (ev_document_get_text):
5347 * backend/ev-document.h:
5348 * pdf/xpdf/pdf-document.cc:
5349 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5350 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5351 (ev_view_update_primary_selection), (ev_view_button_press_event),
5352 (ev_view_motion_notify_event), (ev_view_button_release_event):
5354 Beginnings of clipboard support. Incomplete but primary sort
5357 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5359 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5360 (expose_bin_window):
5362 Nicer rubberband drawing, from GtkIconView.
5364 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5366 * backend/ev-document.c: (ev_document_save):
5367 * backend/ev-document.h:
5368 * data/evince-ui.xml:
5369 * pdf/xpdf/pdf-document.cc:
5370 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5372 Implement "Save a copy..." menu item
5374 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5376 * shell/ev-view.c: (ev_view_zoom):
5378 Queue a resize when zoom changes
5380 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5382 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5385 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5388 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5390 * pdf/xpdf/pdf-document.cc
5391 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5393 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5395 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5396 It's slow, but I'll speed it up next!
5398 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5400 * shell/main.c (load_files):
5402 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5403 from the command line and because it seems more appropriate.
5405 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5407 * data/evince-ui.xml:
5408 * shell/ev-window.c: (update_action_sensitivity),
5409 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5411 s/next page/page down
5412 s/previous page/page up
5414 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5416 * data/evince-ui.xml:
5418 Change the layout to match clarkbw design.
5420 * shell/Makefile.am:
5421 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5422 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5423 (ev_navigation_action_finalize),
5424 (ev_navigation_action_set_property),
5425 (ev_navigation_action_get_property),
5426 (ev_navigation_action_class_init):
5427 * shell/ev-navigation-action.h:
5429 Implement clarkbw toolbar navigation controls (incomplete)
5431 * shell/ev-page-action.c: (update_label), (update_spin),
5432 (value_changed_cb), (create_tool_item), (connect_proxy),
5433 (ev_page_action_init), (ev_page_action_finalize),
5434 (ev_page_action_set_property), (ev_page_action_get_property),
5435 (ev_page_action_set_current_page),
5436 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5437 * shell/ev-page-action.h:
5439 Implement a page switcher in the toolbar
5441 * shell/ev-view.c: (ev_view_scroll_view):
5442 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5443 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5444 (register_custom_actions), (ev_window_init):
5446 Change page on PageUp/Down.
5448 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5450 * pdf/xpdf/pdf-document.cc
5451 (pdf_document_thumbnails_get_thumbnail): initial stab at
5452 implementing thumbnail support for pdfs. It only does documents
5453 with precached pdfs now.
5455 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5457 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5458 thumbnail code into a time-based idle as well. Also, turn off the
5459 shadow temporarily as it's really slow.
5461 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5463 * backend/ev-document.c: (ev_document_class_init):
5464 * pdf/xpdf/pdf-document.cc:
5465 * shell/ev-window.c: (ev_window_open):
5467 Fix document title bugs and fallback to
5468 filename when not available.
5470 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5472 * backend/ev-document.c: (ev_document_get_type),
5473 (ev_document_class_init), (ev_document_load),
5474 (ev_document_get_title):
5475 * backend/ev-document.h:
5476 * pdf/xpdf/pdf-document.cc:
5477 * ps/ps-document.c: (ps_document_set_property),
5478 (ps_document_get_property), (ps_document_class_init),
5482 * shell/ev-window.c: (update_window_title), (ev_window_open),
5485 Initial support for document title. Not working yet.
5487 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5489 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5491 Grab focus on the view when clicking it
5493 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5495 * shell/ev-marshal.list:
5496 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5497 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5499 Add key bindings to the view. Now if the focus would work
5502 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5505 * backend/Makefile.am:
5508 * dvi/dvilib/Makefile.am:
5509 * pdf/xpdf/Makefile.am:
5515 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5517 * shell/ev-view.c: (ev_view_realize):
5519 Fix mouse wheel scrolling
5521 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5527 * ps/ps-document.c: (catchPipe), (ps_document_init),
5528 (ps_document_class_init), (ps_document_cleanup),
5529 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5530 (set_up_page), (close_pipe), (is_interpreter_ready),
5531 (interpreter_failed), (output), (input), (start_interpreter),
5532 (stop_interpreter), (file_length), (file_readable),
5533 (check_filecompressed), (check_pdf), (compute_xdpi),
5534 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5535 (ps_document_get_type), (ps_document_emit_error_msg),
5536 (document_load), (ps_document_next_page),
5537 (ps_document_get_current_page), (ps_document_get_page_count),
5538 (ps_document_goto_page), (ps_document_set_page_size),
5539 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5540 (ps_document_load), (ps_document_get_n_pages),
5541 (ps_document_set_page), (ps_document_get_page),
5542 (ps_document_widget_event), (ps_document_set_target),
5543 (ps_document_set_scale), (ps_document_set_page_offset),
5544 (ps_document_get_page_size), (ps_document_render),
5545 (ps_document_document_iface_init):
5548 * shell/ev-window.c: (ev_window_open):
5550 Rename GtkGS to PSDocument
5552 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5554 * ps/gtkgs.c: (gtk_gs_class_init):
5557 Some more leftover...
5559 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5561 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5562 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5563 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5566 Remove unused code and make a lot of stuff private
5568 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5570 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5571 (gtk_gs_defaults_changed):
5577 Cleanup headers dependencies
5579 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5584 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5586 * ps/gtkgs.c: (file_length), (file_readable),
5587 (check_filecompressed), (check_pdf), (gtk_gs_load),
5588 (gtk_gs_get_postscript):
5592 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5597 * ps/gtkgs.c: (gtk_gs_set_zoom):
5601 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5603 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5605 Ensure the page is rerendered when changing zoom
5607 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5609 * backend/ev-document.c: (ev_document_base_init),
5610 (ev_document_changed):
5611 * backend/ev-document.h:
5613 Add a changed event that is emitted when the page content
5614 changes. This is necessary to deal with the fact that
5615 in ps backend rendering happen asycrounously.
5616 This makes the ps backend mostly work.
5618 * pdf/xpdf/pdf-document.cc:
5622 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5623 (ps_document_set_target):
5627 * shell/ev-view.c: (document_changed_callback),
5628 (ev_view_set_document), (ev_view_set_page):
5630 Redraw on the changed signal
5632 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5634 * configure.ac: Added pt_BR to ALL_LINGUAS.
5636 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5638 * backend/ev-document-bookmarks.c:
5639 (ev_document_bookmarks_get_child): *
5640 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5641 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5642 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5643 (ev_sidebar_bookmarks_destroy),
5644 (ev_sidebar_bookmarks_class_init),
5645 (ev_sidebar_bookmarks_construct), (stack_data_free),
5646 (do_one_iteration), (populate_bookmarks_idle),
5647 (ev_sidebar_bookmarks_clear_document),
5648 (ev_sidebar_bookmarks_set_document): *
5649 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5650 (ev_sidebar_add_page),
5651 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5652 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5653 it displays both the topics and the page numbers.
5655 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5657 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5659 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5662 2004-12-23 Adam Weinberger <adamw@gnome.org>
5664 * configure.ac: Added en_CA to ALL_LINGUAS.
5666 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5668 * ChangeLog: replace bottom of this ChangeLog (merged history of
5669 ggv and gpdf; where all paths were wrong and most of the files are
5670 not even in this tree) with ChangeLog (from arch) of the shell
5673 2004-12-23 Havoc Pennington <hp@redhat.com>
5675 * shell/ev-window.c: hook up potentially-questionable "find
5676 results status text" feature - something involving the sidebar or
5677 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5678 might be better in the end.
5680 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5681 with corresponding signal when it should be updated
5683 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5685 2004-12-22 Havoc Pennington <hp@redhat.com>
5687 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5688 find stuff on other pages, sort of (only returns one result on
5689 invisible pages, to show they have results; updates full results
5690 for a page when you view it). Currently repaints the current page
5691 every time a new result is found on any page, which isn't so nice.
5693 2004-12-22 Havoc Pennington <hp@redhat.com>
5695 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5696 the document doesn't support find (better ideas?)
5697 (find_bar_search_changed_cb): handle missing document or document
5698 that doesn't support find
5700 * pdf/xpdf/pdf-document.cc: port to implement the new
5703 * backend/ev-document-find.c: create a new interface for searching
5705 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5707 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5709 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5712 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5713 EvPrintJob constructor arguments.
5715 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5716 for documents that can export PostScript (page by page).
5718 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5720 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5721 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5722 (pdf_document_ps_exporter_iface_init:
5723 Implement EvPSExporter.
5725 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5727 2004-12-22 Anders Carlsson <andersca@gnome.org>
5729 * backend/Makefile.am:
5730 * backend/ev-document-thumbnails.c:
5731 (ev_document_thumbnails_get_type),
5732 (ev_document_thumbnails_get_thumbnail):
5733 * backend/ev-document-thumbnails.h:
5734 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5735 (pixbuf_document_thumbnails_get_thumbnail),
5736 (pixbuf_document_document_thumbnails_iface_init):
5737 * shell/Makefile.am:
5738 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5739 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5740 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5741 * shell/ev-sidebar-thumbnails.h:
5742 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5743 (ev_sidebar_set_document):
5744 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5745 (create_shadow), (ev_pixbuf_add_shadow):
5747 Add thumbnail support.
5749 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5751 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5752 (using_postscript_printer): Set up a print dialog for "PostScript
5755 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5758 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5760 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5762 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5763 (ps_document_set_target), (ps_document_get_page_size),
5764 (ps_document_render):
5769 2004-12-22 Christian Rose <menthos@menthos.com>
5771 * configure.ac: Added "sv" to ALL_LINGUAS.
5773 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5775 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5776 document supports bookmarks.
5778 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5780 * ps/ggvutils.c: (ggv_file_readable):
5782 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5783 (gtk_gs_get_postscript):
5787 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5789 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5790 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5791 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5792 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5793 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5794 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5795 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5796 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5797 (gtk_gs_set_antialiasing), (ps_document_load),
5798 (ps_document_render):
5801 Another check point for the ps backend. Now I can get it to show
5804 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5806 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5807 document setting code.
5809 2004-12-22 Anders Carlsson <andersca@gnome.org>
5811 * shell/eggfindbar.c: (entry_activate_callback):
5812 Animate the next button when activate is pressed.
5814 2004-12-22 Anders Carlsson <andersca@gnome.org>
5816 * shell/ev-window.c: (ev_window_cmd_edit_find),
5817 (update_fullscreen_popup), (ev_window_fullscreen),
5818 (ev_window_unfullscreen), (ev_window_state_event_cb),
5819 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5820 Fix bugs in fullscreen code.
5822 2004-12-22 Anders Carlsson <andersca@gnome.org>
5826 * pixbuf/Makefile.am:
5827 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5828 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5829 (pixbuf_document_set_page), (pixbuf_document_get_page),
5830 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5831 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5832 (pixbuf_document_render), (pixbuf_document_begin_find),
5833 (pixbuf_document_end_find), (pixbuf_document_finalize),
5834 (pixbuf_document_class_init),
5835 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5836 * pixbuf/pixbuf-document.h:
5837 * shell/Makefile.am:
5838 * shell/ev-application.c: (ev_application_open):
5839 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5843 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5846 * dvi/dvilib/Makefile.am:
5848 * configure.ac: Auto*ify dvi and dvi/dvilib
5850 * dvi/Makefile: Remove from CVS
5852 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5855 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5857 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5859 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5862 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5863 (gtk_gs_value_adjustment_changed), (compute_size),
5864 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5865 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5866 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5867 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5868 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5869 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5870 (ps_document_load), (ps_document_get_n_pages),
5871 (ps_document_set_page), (ps_document_get_page),
5872 (ps_document_set_target), (ps_document_set_scale),
5873 (ps_document_set_page_offset), (ps_document_get_page_size),
5874 (ps_document_render), (ps_document_begin_find),
5875 (ps_document_end_find), (ps_document_document_iface_init):
5877 * shell/Makefile.am:
5878 * shell/ev-window.c: (ev_window_open):
5880 Some work to integrate gtkgs with EvDocument
5882 2004-12-22 Anders Carlsson <andersca@gnome.org>
5884 * shell/ev-window.c: (update_fullscreen_popup),
5885 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5886 (exit_fullscreen_button_clicked_cb),
5887 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5888 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5889 (ev_window_state_event_cb), (ev_window_init):
5890 Add fullscreen support from Epiphany.
5892 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5894 * data/ev-stock-zoom-fit-width.png: fit-width
5895 stock icon from gpdf.
5897 * shell/ev-stock-icons.[ch]: copied from gpdf.
5899 * shell/main.c: (main): init stock icons.
5901 * shell/ev-window.c: use the fit-width icon.
5903 * data/evince-ui.xml: add zooming toolbar items.
5905 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5908 (ev_view_best_fit), (ev_view_fit_width): because
5909 get_page_size() returns the scaled page size, we
5910 need to calculate the scale factor relative to
5911 the previous scale factor. Should really just
5912 add get_real_page_size().
5914 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5916 * shell/ev-view.[ch]:
5917 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5918 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5921 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5922 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5923 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5926 * pdf/xpdf/pdf-document.cc:
5927 (pdf_document_begin_find),
5928 (pdf_document_end_find): make static.
5930 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5932 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5934 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5935 names to fontconfig patterns.
5936 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5938 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5941 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5957 Import ggv backend. Not hooked up yet.
5959 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5961 * shell/main.c: (load_files), (main): load files
5962 from the command line.
5964 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5966 * configure.ac: don't require bonobo.
5968 * cut-n-paste/recent-files/*: kill bonobo recent
5971 * shell/ev-window.c:
5972 (ev_window_is_empty): upd.
5973 (unable_to_load), (ev_window_open): load backend
5974 based on the mime type.
5976 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5978 * backend/.cvsignore: ignore generated marshalers source.
5980 * shell/main.c (main): this is not epiphany.
5982 2004-12-22 Havoc Pennington <hp@redhat.com>
5984 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5985 (expose_bin_window): draw find highlights
5987 * shell/ev-window.c (find_bar_search_changed_cb): implement
5989 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5990 (pdf_document_end_find): implement this interface
5992 * backend/ev-document.c (ev_document_found): add this to emit
5995 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5997 * data/evince-ui.xml: Add a few more toolbar items.
5999 * shell/ev-window.c: Hook up page navigation toolbar
6002 * shell/ev-view.[ch]: add ev_view_set/get_page and
6003 a page-changed signal.
6005 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6006 Add ev_document_get_page().
6008 * shell/ev-window.c: Sensitize/desensitize navigation
6011 2004-12-21 Havoc Pennington <hp@redhat.com>
6013 * backend/ev-backend-marshal.c,
6014 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6015 marshaler-generator thingy. I'm sure there's a better way to do
6016 this in the modern world.
6018 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6019 end_find methods and "found" signal.
6021 * configure.ac: find glib-genmarshal
6023 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6025 * shell/ev-sidebar.c: Construct an actual sidebar.
6026 * shell/ev-sidebar-bookmarks.[ch]:
6027 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6029 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6031 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6034 * shell/ev-view.c: Track the size from the document.
6036 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6038 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6039 constructor assumes ownership of the string passed in.
6041 * shell/ev-window.c (ev_window_open): Destroy the error
6042 dialog once we've displayed it.
6044 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6046 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6047 a bit, it works! (sort of)
6049 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6050 Move to .cc since we need to use C++ in the implementation.
6052 * shell/dummy.cc: Add a CC file to force evince
6053 to be linked as a C++ program.
6055 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6057 * shell/ev-view.[ch]: Start of content-area widget.
6059 * shell/ev-window.c: Create a EvView, update it
6060 as we change documents.
6062 * shell/Makefile.am shell/ev-marshal.list: Add
6063 generated marshalers.
6065 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6067 * Makefile.am (SUBDIRS): move shell.
6069 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6071 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6072 .a to libtool convenience libraries.
6074 * shell/ev-window.c (ev_window_open): Hard code loading
6077 * backend/ev-document.h: Add a boolean return to load(),
6078 fix GError * to GError **.
6080 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6081 object for a PDF backend EvDocument.
6083 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6085 * dvi/*: New directory with the beginning of a .dvi backend.
6087 2004-12-21 Havoc Pennington <hp@redhat.com>
6089 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6090 previous/next instead of back/forward
6092 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6094 * backend/ev-document.[ch]: Fix a couple of problems so
6097 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6099 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6100 to backend/ directory, rename EvViewer to EvDocument.
6102 2004-12-21 Havoc Pennington <hp@redhat.com>
6104 * shell/ev-window.c: hook up the find bar widget; now we just need
6105 a document to find things in
6107 * shell/eggfindbar.c: a find bar widget
6109 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6111 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6113 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6115 * pdf/**: Import of xpdf code from gpdf.
6117 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6119 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6120 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6121 Fix FreeType includes.
6123 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6124 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6125 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6126 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6127 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6128 Include xpdfconfig.h
6130 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6132 * shell/ev-window.c (ev_window_dispose): dispose can be called
6135 2004-12-21 Havoc Pennington <hp@redhat.com>
6137 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6140 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6141 items; really they should be synced with the strings, etc. from
6142 current gpdf, but just getting the boring typing out of the way
6144 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6147 * shell/ev-application.c: (window_destroy_cb):
6148 * shell/ev-window.c:
6149 * shell/main.c: (main):
6151 Actually show the window...
6153 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6156 * shell/Makefile.am:
6157 * shell/ev-application.c: (ev_application_class_init):
6158 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6162 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6164 Import to gnome cvs.
6166 * Remove copies of gpdf and ggv trees.
6167 * Rip out all the recursive configure code.
6168 * Remove bonobo machinery.
6169 * viewer/*: GInterfaces that backends should/can implement.
6171 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6173 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6176 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6178 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6179 (ev_application_finalize, ev_application_class_init)
6180 (ev_application_init): use GType instance private data for priv.
6182 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6183 (ev_window_finalize, ev_window_class_init)
6184 (ev_window_init): ditto.
6186 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6188 * shell/ev-application.c (ev_application_new_window): make public
6189 (ev_application_show_initial_window): kill.
6191 * shell/ev-application.h: update prototypes.
6193 * shell/main.cc (main): inline ev_application_show_initial_window.
6195 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6197 * shell/ev-application.c (ev_application_new_window): impl.
6198 (ev_application_show_initial_window): use it.
6199 (is_window_empty, ev_application_get_empty_window): returns an
6200 existing empty window or a new one.
6201 (ev_application_open): from ev_window_cmd_file_open.
6203 * shell/ev-application.h: update prototypes
6205 * shell/ev-window.c (ev_window_is_empty): impl.
6206 (ev_window_open): make public.
6207 (ev_window_cmd_file_open): use ev_application_open
6209 * shell/ev-window.h: update prototypes, remove unused.
6211 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6213 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6214 move destroy handler out of here...
6216 * shell/ev-application.c, shell/ev-application.h: ...into this new
6217 class. Also handles initial window creation.
6219 * shell/main.cc (main): use EvApplication to create initial
6222 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6224 * Makefile.am (SUBDIRS): add cut-n-paste
6226 * cut-n-paste/Makefile.am: add
6228 * configure.ac: generate Makefiles in cut-n-paste
6230 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6232 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6233 (ev_window_class_init): install ev_window_dispose.
6235 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6237 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6238 char (gchar looks stupid).
6240 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6242 * po/de.po: updated German translation.
6244 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6246 * configure.ac: add more pkg-config library checks for gnome-vfs,
6249 * gpdf/configure.in: temporarily disable libpaper
6250 checks. Otherwise I'd have to add the checks for the shell, too.
6252 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6254 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6255 and * file filters to the file choose.
6257 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6259 * po/de.po: Updated German translation.
6261 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6263 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6265 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6267 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6269 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6270 (ev_window_init): implement those menuitems.
6272 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6274 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6276 * shell/ev-window.c (ev_window_init): use the toolbar.
6278 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6280 * shell/ev-window.c (ev_window_init): use menu translations
6282 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6284 * configure.ac: add "de" to ALL_LINGUAS.
6286 * po/de.po: add German translation.
6288 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6290 * Makefile.am (SUBDIRS): add po
6292 * configure.ac: check intltool, glib-gettext etc, generate
6295 * po, po/POTFILES.in, po/POTFILES.skip: new.
6297 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6299 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6300 already use (#ifdef ENABLE_NLS)
6302 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6303 pointer indirection thinko.
6305 * shell/main.c: include gi18n.h for bindtextdomain etc.
6307 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6309 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6310 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6311 tooltips for menu items in the statusbar.
6313 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6315 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6316 pkgdatadir drop UIDIR
6318 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6320 * data/evince-ui.xml: Add File->Open menu item
6322 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6323 chooser), hook it up in the ui manager.
6325 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6327 * shell/ev-window.c: fix Help->About tooltip.
6329 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6331 * configure.ac: set CFLAGS for libevprivate.
6333 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6334 definitions, factory etc.
6336 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6338 * shell/Makefile.am: link against libevprivate.a.
6340 * shell/ev-window.c (entries): add stock icon to Help->About.
6342 * shell/main.c (main): init stock icon code.
6344 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6346 * lib/recent-files: egg recent files code
6348 * lib/Makefile.am: add.
6350 * Makefile.am: add lib subdir.
6352 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6353 set CFLAGS for recent-files.
6355 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6357 * configure.ac: disable -ansi and -pedantic gcc flags. They
6358 disable POSIX stuff in stdio.h, but egg-recent uses them.
6360 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6362 * configure.ac: add --disable-deprecated flag (defaults to on in
6365 * shell/Makefile.am (INCLUDES): use it.
6367 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6369 * shell/main.c: add missing #include.
6371 * shell/ev-window.c: fix for pedantic gcc.
6372 (ev_window_cmd_help_about): split license into paragraphs for
6373 translators and pedantic compilers.
6375 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6377 * configure.ac: add more warning flags if compiling with gcc from
6378 cvs (or explicitly requested with --enable-more-warnings).
6380 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6382 * data/evince-ui.xml: add File and File->Close menu.
6384 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6385 (ev_window_destroy): quit after destroy.
6386 (ev_window_class_init): override GtkObject::destroy.
6387 (entries): install close_window callback.
6389 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6391 * Makefile.am (SUBDIRS): add data subdir.
6393 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6394 gtk+ 2.5.0 for GtkAboutDialog.
6396 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6399 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6401 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6403 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6405 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6407 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6409 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6411 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6413 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6415 * shell/*: Added shell directory boilerplate, build it.
6417 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6419 * configure.ac, Makefile.am: Added top-level configure.ac and