1 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
5 Remove unnecessary dependencies
7 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
9 * properties/Makefile.am:
10 * thumbnailer/Makefile.am:
13 Some more cleanups. Was really necessary
14 but I probably introduced bugs, feel free
17 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
19 * backend/Makefile.am:
21 * cut-n-paste/recent-files/Makefile.am:
22 * cut-n-paste/toolbar-editor/Makefile.am:
23 * cut-n-paste/zoom-control/Makefile.am:
27 * properties/Makefile.am:
30 * thumbnailer/Makefile.am:
33 Use gnome-common macros when possible.
35 Actually disable deprecated where possible.
37 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
40 * backend/Makefile.am:
41 * properties/Makefile.am:
43 * thumbnailer/Makefile.am:
45 This should solve the circular dep without
48 * shell/ev-window.c: (setup_view_from_metadata):
50 Never restore window size/position when the
51 window is already visible.
53 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
55 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
57 Return a boolean from timeout func. Fix ported from gedit.
59 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
61 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
63 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
65 * shell/ev-document-types.c: set "All Documents" as default filter in
68 2005-07-06 Martin Kretzschmar <martink@gnome.org>
70 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
71 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
72 (ev_metadata_manager_set_boolean): fix value/val thinko.
74 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
76 * shell/ev-window.c: (setup_view_from_metadata),
77 (window_state_event_cb), (window_configure_event_cb),
80 Remember window position and maximized state
82 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
86 Fix DBUS configure checks.
88 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
89 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
90 (ev_metadata_manager_set_boolean):
94 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
95 (ev_window_stop_fullscreen), (ev_window_run_presentation),
96 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
97 (ev_window_continuous_changed_cb),
98 (ev_window_dual_mode_changed_cb), (ev_window_new):
100 Fix the build without DBUS.
102 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
104 * shell/ev-metadata-manager.c: (parse_value), (save_values),
105 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
106 (ev_metadata_manager_set_string),
107 (ev_metadata_manager_set_boolean):
108 * shell/ev-metadata-manager.h:
110 Add support for some more types
112 * shell/ev-view.c: (scroll_to_current_page),
113 (ev_view_get_continuous), (ev_view_set_continuous),
114 (ev_view_get_dual_page):
116 * shell/ev-window.c: (page_changed_cb),
117 (setup_document_from_metadata), (ev_window_setup_document),
118 (setup_view_from_metadata), (ev_window_open_uri),
119 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
120 (ev_window_run_presentation), (ev_window_stop_presentation),
121 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
122 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
123 (ev_window_update_dual_page_action),
124 (ev_window_continuous_changed_cb),
125 (ev_window_dual_mode_changed_cb), (ev_window_init):
127 Remember a bunch of view/document properties. Prolly some
128 are still missing but it's getting interesting.
130 2005-07-05 Martin Kretzschmar <martink@gnome.org>
132 * configure.ac: check if dbus-binding-tool is installed. Not the
133 case on current Ubuntu breezy, it seems.
135 2005-07-05 Luca Ferretti <elle.uca@libero.it>
137 * data/evince.desktop.in.in:
139 Allow open uri lists and add TryExec field.
141 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
145 Enable dbus when available, do not require a configure
148 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
152 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
155 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
156 Marco Pesenti Gritti <mpg@redhat.com>
158 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
160 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
161 functions to the format required by dbus
163 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
164 errors. Use the RPC parameters in the expected way
166 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
169 * properties/Makefile.am:
170 * properties/ev-properties-main.c: (ev_properties_get_pages):
172 Support all mime types
175 * thumbnailer/Makefile.am:
176 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
177 (evince_thumbnail_pngenc_get):
179 Use the document factory
181 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
183 * backend/Makefile.am:
184 * backend/ev-document-factory.c:
185 (mime_type_supported_by_gdk_pixbuf),
186 (ev_document_type_get_from_mime),
187 (ev_document_factory_get_document),
188 (ev_document_factory_get_backend),
189 (ev_document_factory_get_mime_types),
190 (ev_document_factory_get_all_mime_types):
191 * backend/ev-document-factory.h:
193 * shell/ev-document-types.c: (get_document_from_uri),
194 (ev_document_types_get_document),
195 (file_filter_add_mime_list_and_free),
196 (ev_document_types_add_filters):
197 * shell/ev-document-types.h:
198 * shell/ev-job-xfer.c: (ev_job_xfer_run):
199 * shell/ev-properties-dialog.c:
200 (ev_properties_dialog_set_document):
201 * shell/ev-window.c: (ev_window_cmd_file_open),
202 (ev_window_cmd_save_as):
203 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
205 Rework document types managing to avoid code duplication
206 and actually abstract from backend implementations.
207 Also provide a minimal factory api that can be used by
208 thumbnailer/properties.
210 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
212 * properties/ev-properties-view.c: (ev_properties_view_set_info):
214 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
217 2005-07-04 Matthew S. Wilson <msw@rpath.com>
219 * shell/ev-properties-dialog.c
220 (ev_properties_dialog_set_document): only call
221 ev_properties_fonts_set_document() if the document implements the
224 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
227 * properties/Makefile.am:
228 * properties/ev-properties-view.c:
229 (ev_properties_view_register_type):
230 * properties/ev-properties-view.h:
231 * properties/ev-properties-main.h:
233 Implement nautilus plugin for properties.
234 Works only for pdf atm, I need to rework the
235 document types stuff to get this to work
238 2005-07-04 Martin Kretzschmar <martink@gnome.org>
240 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
241 (ev_properties_fonts_set_document): use
242 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
244 2005-07-04 Matthew S. Wilson <msw@rpath.com>
246 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
248 (PlaceImage, tiff2ps_process_page): use
249 g_ascii_dtostr to convert floats to strings in a locale-safe way.
252 2005-07-04 Martin Kretzschmar <martink@gnome.org>
254 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
255 (main): to call gnome_authentication_manager_init. Should fix
258 * configure.ac: that requires libgnomeui 2.6.0.
260 2005-07-04 Matthew S. Wilson <msw@rpath.com>
262 * tiff/tiff-document.c (tiff_document_ps_export_begin)
263 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
264 use the new tiff2ps interfaces
266 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
267 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
269 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
270 structure instead of global variables. Remove use of static
271 variables in functions.
273 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
275 * shell/ev-page-action.c: unref the completion after setting it to the
278 2005-07-04 Matthew S. Wilson <msw@rpath.com>
280 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
283 2005-07-04 Matthew S. Wilson <msw@rpath.com>
285 * shell/ev-window.c (update_action_sensitivity): disable
286 File->Print if the document does not implement the ps exporter
289 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
293 * data/evince-properties.glade:
294 * properties/.cvsignore:
295 * properties/Makefile.am:
296 * properties/ev-properties-view.c: (ev_properties_view_dispose),
297 (ev_properties_view_class_init), (ev_properties_view_format_date),
298 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
299 (ev_properties_view_init), (ev_properties_view_new):
300 * properties/ev-properties-view.h:
302 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
303 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
304 (ev_properties_dialog_new):
305 * shell/ev-properties-dialog.h:
306 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
307 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
308 (update_progress_label), (job_fonts_finished_cb),
309 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
310 * shell/ev-properties-fonts.h:
311 * shell/ev-properties.c:
312 * shell/ev-properties.h:
313 * shell/ev-window.c: (ev_window_setup_document),
314 (ev_window_cmd_file_properties):
316 Split the properties pages in two different objects, depend
317 only on the backend where possible, use widgets instead
318 of gobject for the glade part, reimplement the dialog
320 I need this to implement nautilus properties page.
322 2005-07-03 Matthew S. Wilson <msw@rpath.com>
324 * tiff/tiff-document.c (tiff_document_ps_export_begin)
325 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
326 (tiff_document_document_ps_exporter_iface_init): implement the ps
327 exporter interface for tiff documents
329 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
330 libtiff to implement TIFF postscript export
332 * tiff/tiff2ps.h: added a header file for external tiff2ps
335 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
338 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
340 * shell/ev-view.c: (scroll_to_current_page),
341 (ev_view_set_fullscreen), (ev_view_set_presentation):
343 Scroll to current page when exit from presentation
345 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
347 * shell/ev-window.c: (update_document_mode),
348 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
349 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
350 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
352 Exit from fullscreen mode when switch to presentation. Fix for
355 2005-07-02 Matthew S. Wilson <msw@rpath.com>
357 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
358 return NULL if the document does not implement the selection
361 2005-07-02 Matthew S. Wilson <msw@rpath.com>
363 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
364 reported height by using the resolution aspect ratio
365 (tiff_document_render_pixbuf): scale the pixbuf using the
366 resolution aspect ratio
368 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
372 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
373 <kiltedaco@gmail.com>
375 * djvu/djvu-document.c: (djvu_document_get_orientation),
376 (djvu_document_set_orientation), (djvu_document_get_page_size),
377 (rotate_pixbuf), (djvu_document_render_pixbuf),
378 (djvu_document_document_iface_init):
379 * dvi/dvi-document.c: (dvi_document_get_orientation),
380 (dvi_document_set_orientation), (dvi_document_get_page_size),
381 (rotate_pixbuf), (dvi_document_render_pixbuf),
382 (dvi_document_document_iface_init):
384 Dvi and djvu backends are ported to new API
386 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
388 * backend/ev-selection.c: (ev_selection_get_selection_region),
389 (ev_selection_get_selection_map):
390 * backend/ev-selection.h:
392 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
394 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
395 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
396 (ev_pixbuf_cache_get_text_mapping):
397 * shell/ev-pixbuf-cache.h:
398 * shell/ev-view.c: (location_in_text),
399 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
400 support to EvView. Now we can see where we can select! Sweet!
402 2005-06-30 Kristian Høgsberg <krh@redhat.com>
404 * shell/ev-view.c (ev_view_button_press_event): Fix
405 event->y + view->scroll_x typo.
407 2005-06-30 Kristian Høgsberg <krh@redhat.com>
409 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
410 sub-GdkPixbuf instead of passing dest_x and dest_y.
412 * shell/ev-view.c: (view_point_to_doc_point),
413 (view_rect_to_doc_rect), (ev_view_button_press_event),
414 (ev_view_motion_notify_event), (compute_new_selection_rect),
415 (gdk_rectangle_point_in), (compute_new_selection_text),
416 (compute_selections): Update selection code to keep the selection
417 around as two points and not as a normalized rectangle, and fix
418 page level selection in two-column mode.
420 2005-06-30 Alex Duggan <aldug@astrolinux.com>
422 * shell/ev-window.c: (window_configure_event_cb):
426 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
432 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
435 * shell/ev-metadata-manager.c: (item_free),
436 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
437 (parse_value), (parseItem), (load_values),
438 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
439 (save_values), (save_item), (get_oldest), (resize_items),
440 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
441 * shell/ev-metadata-manager.h:
443 Metadata manager from gedit but modified to use GValue, so that
444 we dont need to keep converting from strings.
448 ENABLE_METADATA conditional, on when dbus is on
450 * shell/ev-application.c: (ev_application_open_uri):
452 Show the window after load so that we can initialize
453 window size before it's showed.
455 * shell/ev-window.c: (ev_window_setup_from_metadata),
456 (ev_window_open_uri), (window_configure_event_cb),
459 Save and load metadata information about window size.
460 Not yet keeping states in account.
462 * shell/main.c: (main):
464 Shutdown metadata manager.
466 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
468 * shell/ev-application-service.xml:
471 * shell/ev-application.c:
472 * shell/ev-application.h:
477 Add an optional dbus interface (--enable-dbus).
478 Rework application code, mainly to be easier to
480 Do not open multiple windows with the same document,
483 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
485 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
486 pixbuf iff it exists.
488 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
491 * backend/ev-render-context.[ch]:
492 * backend/ev-selection.[ch]:
494 Massive changes. We now support text selection of pdfs, and not
495 just rectangular selection. This is pretty broken still, but I
496 want to get something into CVS.
498 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
502 Fix for Bug 309080: crash on window close.
504 * shell/ev-page-action.c: (page_changed_cb):
506 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
507 jensgr@gmx.net (Jens Granseuer).
509 2005-06-25 Marcel Telka <marcel@telka.sk>
511 * configure.in (ALL_LINGUAS): Added sk.
513 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
515 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
518 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
525 * cut-n-paste/recent-files/Makefile.am:
529 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
531 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
532 (pixbuf_document_set_orientation), (rotate_pixbuf),
533 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
534 (pixbuf_document_document_iface_init), (pixbuf_document_init):
536 Implement rotation and cleanup the code a bit.
538 * tiff/tiff-document.c: (tiff_document_get_page_size),
539 (tiff_document_get_orientation), (tiff_document_set_orientation),
540 (rotate_pixbuf), (tiff_document_render_pixbuf),
541 (tiff_document_document_iface_init), (tiff_document_init):
543 Implement rotation. Was the quicker solution for the release
544 but we really need to share this code in the shell.
546 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
550 Enable rotation, require poppler cvs. Fix a leak.
552 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
554 * shell/ev-window.c: (update_action_sensitivity):
556 Make properties unsensitive if document backend doesn't provide
559 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
561 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
562 (bitmap_flip_horizontally), (bitmap_flip_vertically),
563 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
564 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
565 (bitmap_flip_rotate_counter_clockwise):
566 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
567 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
569 * dvi/mdvi-lib/common.h:
570 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
571 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
572 (opendvi), (mdvi_reload), (mdvi_init_context),
573 (mdvi_destroy_context), (mdvi_dopage), (special):
574 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
575 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
576 (file_hash_free), (register_encoding), (parse_spec),
577 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
578 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
579 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
580 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
581 (mdvi_register_font_type), (mdvi_unregister_font_type),
582 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
583 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
584 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
585 (mdvi_hash_destroy_key), (mdvi_hash_reset):
586 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
587 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
588 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
589 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
590 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
591 * dvi/mdvi-lib/special.c: (mdvi_register_special),
592 (mdvi_unregister_special), (mdvi_flush_specials):
593 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
595 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
596 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
597 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
598 (free_font_metrics), (flush_font_metrics):
599 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
601 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
602 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
603 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
604 (dstring_insert), (dstring_new), (dstring_reset):
605 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
607 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
608 avoid conflict with libtool on FC4
610 * shell/ev-window.c: (ev_window_cmd_help_about):
612 Update copyright year. Fix for bug 308828.
614 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
616 * shell/ev-view.c: (add_scroll_binding_keypad),
617 (ev_view_binding_activated), (ev_view_class_init),
618 (on_adjustment_value_changed):
620 Bug 170874: Arrow keys switch pages in presentation mode
622 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
624 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
626 Fix for Bug 308265: Sidebar dissappears coming out of
629 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
631 * shell/ev-application.c: (ev_application_open):
632 * shell/ev-document-types.c: (ev_document_types_add_filters),
633 (ev_document_types_add_filters_for_type):
634 * shell/ev-document-types.h:
635 * shell/ev-window.c: (ev_window_cmd_save_as):
637 Suggest basename as template when saving, provide filters
638 for save dialog. It's bug 308402
640 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
643 * shell/ev-sidebar-links.c: (job_finished_callback):
644 * shell/ev-view.c: (update_find_status_message):
648 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
650 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
651 (egg_recent_view_uimanager_set_list):
653 Fix buglet in !show_numbers case.
655 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
657 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
658 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
660 Use pango ellipsisation.
664 Fix refcount leak, from nsh.
666 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
668 * cut-n-paste/recent-files/Makefile.am:
669 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
670 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
672 Removed EggRecentViewGtk
674 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
675 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
676 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
677 (ev_window_setup_recent):
679 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
682 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
684 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
685 (egg_recent_view_gtk_finalize):
689 * cut-n-paste/toolbar-editor/Makefile.am:
691 Fix location of cursor icon.
694 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
695 (display_completion_text), (match_completion):
696 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
697 (selection_changed_callback), (create_loading_model),
698 (print_section_cb), (links_page_num_func),
699 (update_page_callback_foreach):
700 * shell/ev-window.c: (ev_window_dispose):
702 Small memory fixes. Links model now store objects instead
703 of pointers to improve memory management.
705 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
707 * shell/ev-window.c: (zoom_control_changed_cb):
709 Fix update of zoom control (bug 308268).
711 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
713 * shell/ev-properties.c (set_property): escape the text correctly.
714 Handles non-UTF-8 properties and escaped properties. Also, sets
715 the text to "<i>None</i>" if the property isn't set.
717 * data/evince-properties.glade: Change the label to be ellipsized,
718 and give it a minimum size.
720 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
722 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
723 * shell/ev-sidebar-links.c: (create_loading_model):
724 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
725 * shell/ev-view.c: (ev_view_set_document):
726 * shell/ev-window.c: (ev_window_dispose):
728 Various small fixes, mostly memory leaks. Thanks to valgrind.
730 2005-06-19 Martin Kretzschmar <martink@gnome.org>
732 * ps/ps-document.c: remove the locale.h include again ;-). And
733 kill the (bogus) setlocale/savelocale business.
735 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
739 Include locale.h to fix build
741 * shell/ev-sidebar.c:
743 Remove unnecessary includes
745 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
747 * dvi/dvi-document.c: (dvi_document_load):
748 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
751 Check for incorrect dvi files. Fix parsing dvi on AMD64
752 platform. Thanks to tester@tester.ca (Olivier Crete).
754 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
756 * shell/ev-page-action.c: (match_selected_cb),
757 (display_completion_text), (match_completion), (update_model):
758 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
760 * shell/ev-sidebar.c: (ev_sidebar_destroy),
761 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
762 (ev_sidebar_set_document):
763 * shell/ev-window.c: (ev_window_xfer_job_cb),
764 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
766 Fixed lot's of memory leaks, for example, memory leak on reload,
767 described in bug 307793.
769 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
772 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
773 (update_visible_range), (adjustment_changed_cb),
774 (ev_sidebar_thumbnails_fill_model),
775 (ev_sidebar_thumbnails_refresh),
776 (ev_sidebar_tree_selection_changed),
777 (ev_sidebar_icon_selection_changed),
778 (ev_sidebar_thumbnails_use_icon_view),
779 (ev_sidebar_thumbnails_set_document):
780 * shell/ev-sidebar-thumbnails.h:
781 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
782 (ev_window_cmd_edit_rotate_right), (ev_window_init):
784 Refresh thumbnails when changing orientation. Not fully
785 working yet becuase of a sidebar bug.
787 Set page orientation to poppler page everywhere. This sucks
788 really need to fix poppler.
790 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
792 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
793 (egg_recent_view_gtk_new_menu_item),
794 (egg_recent_view_gtk_set_property),
795 (egg_recent_view_gtk_get_property),
796 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
797 (egg_recent_view_gtk_set_tooltip_func),
798 (egg_recent_view_gtk_set_label_width),
799 (egg_recent_view_gtk_get_label_width):
800 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
802 Sync with libegg (ellipsize labels)
804 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
806 * data/evince-ui.xml:
807 * shell/ev-window.c: (ev_window_cmd_go_forward),
808 (ev_window_cmd_go_backward):
810 Shift + PageUp moves 10 Pages. Fix for 306125
812 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
816 Add a flag to check if orientation has been overriden
818 2005-06-17 Martin Kretzschmar <martink@gnome.org>
820 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
823 * ps/ps.h: add creator field to document.
825 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
828 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
830 * data/evince-properties.glade:
831 * shell/ev-properties.c: (ev_properties_set_document):
835 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
837 * shell/ev-properties.c: (ev_properties_set_document):
839 Remove unnecessary translations
841 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
843 * cut-n-paste/toolbar-editor/Makefile.am:
847 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
850 * cut-n-paste/recent-files/egg-recent-model.c:
851 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
852 (egg_recent_model_unlock_file):
853 * cut-n-paste/recent-files/egg-recent-util.c:
854 (egg_recent_util_get_unique_id):
855 * cut-n-paste/recent-files/update-from-egg.sh:
856 * cut-n-paste/toolbar-editor/Makefile.am:
857 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
858 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
859 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
860 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
861 (egg_toolbars_model_get_type):
862 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
864 Better makefile for toolbar editor and update everything
867 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
869 * shell/ev-window.c: (update_document_mode):
871 Prefer presentation mode when the document
874 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
876 * data/evince-ui.xml:
879 Add control-equal for zooming
881 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
883 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
885 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
887 * backend/ev-document.c: (ev_document_get_orientation):
888 * backend/ev-document.h:
890 * ps/ps-document.c: (ps_document_get_orientation),
891 (ps_document_set_orientation), (ps_document_document_iface_init):
893 Add a get_orientation api. Improve set_orientation.
895 * data/evince-ui.xml:
896 * shell/ev-view.c: (ev_view_set_orientation),
897 (ev_view_rotate_right), (ev_view_rotate_left):
899 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
900 (ev_window_cmd_edit_rotate_right):
902 Better ui for changing document orientation
904 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
906 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
907 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
908 * shell/ev-sidebar-links.h:
909 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
910 (ev_sidebar_page_iface_init):
911 * shell/ev-sidebar-page.h:
912 * shell/ev-sidebar-thumbnails.c:
913 (ev_sidebar_thumbnails_get_property),
914 (ev_sidebar_thumbnails_class_init),
915 (ev_sidebar_thumbnails_set_document):
916 * shell/ev-sidebar-thumbnails.h:
917 * shell/ev-view.c: (ev_view_motion_notify_event):
918 * shell/ev-window.c: (update_chrome_visibility),
919 (ev_window_cmd_focus_page_selector),
920 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
921 (sidebar_page_main_widget_update_cb), (ev_window_init):
923 Autoraise toolbar on GoToPage binding and fix bindings in
924 EvSidebarThumbnails page.
926 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
928 * shell/ev-properties.c: (update_progress_label):
930 Hide the progress label when finished; bug #307697.
932 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
936 Enable is_open for links, you will need poppler cvs
938 * shell/ev-properties.c: (job_fonts_finished_cb):
940 Get a lock on the document when filling the tree view
942 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
944 * backend/ev-document-links.h:
946 * shell/ev-sidebar-links.c: (create_loading_model),
947 (expand_open_links), (job_finished_callback):
949 Expand links when specified by the document.
950 Depend on a poppler api (defined out for now)
952 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
954 * shell/ev-properties.c: (ev_properties_dispose),
955 (ev_properties_class_init), (dialog_destroy_cb),
956 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
957 (ev_properties_set_document), (ev_properties_new),
958 (ev_properties_show):
959 * shell/ev-properties.h:
961 Make it an object, cleanup the code, api to show it as transient
962 and to set the document.
964 * shell/ev-window.c: (ev_window_setup_document),
965 (ev_window_cmd_file_properties):
967 Adapt to EvProperties changes, do not show multiple
968 times, update it when document changes.
970 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
973 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
974 (ps_document_set_orientation), (ps_document_document_iface_init):
977 Implement orientation here too
979 * shell/ev-properties.c: (ev_properties_new):
980 * data/evince-properties.glade:
982 Hide the fonts page for backends that doesnt
985 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
987 * backend/ev-document.c: (ev_document_set_orientation):
988 * backend/ev-document.h:
991 Add orientation api. Currently poppler api is not optimal,
992 we need to set orientation every time we _get a page.
993 I will try to fix that at some point.
995 * data/evince-ui.xml:
996 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
997 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
999 Add orientation menu items
1001 * shell/ev-page-cache.c: (ev_page_cache_clear):
1002 * shell/ev-page-cache.h:
1004 Add api to clear the cache
1006 * shell/ev-view.c: (setup_caches), (clear_caches),
1007 (ev_view_set_document), (ev_view_zoom_out),
1008 (ev_view_set_orientation):
1011 Implement orientation changing
1013 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1015 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1016 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1017 * backend/ev-document-fonts.h:
1019 Separate scan and fill so that we can incrementally fill from
1020 the main thread. Add a progress api.
1022 * data/evince-properties.glade:
1023 * pdf/ev-poppler.cc:
1024 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1026 * shell/ev-properties.c: (update_progress_label),
1027 (job_fonts_finished_cb), (setup_fonts_view):
1029 Incrementally feel the list and show the progress
1030 percentage in a label like acrobat does.
1032 You are going to need poppler cvs
1034 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1036 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1037 * backend/ev-document-fonts.h:
1038 * pdf/ev-poppler.cc:
1040 Make fonts model fill incrementally.
1042 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1043 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1044 (ev_job_queue_remove_job):
1045 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1046 (ev_job_fonts_new), (ev_job_fonts_run):
1049 New job for fonts scanning
1051 * shell/ev-properties.c: (job_fonts_finished_cb),
1052 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1053 * shell/ev-properties.h:
1054 * shell/ev-window.c: (ev_window_cmd_file_properties):
1056 Incrementally feel the treeview using the new job. Show Loading...
1057 message until scanning is completed.
1059 Hopefully I didnt break the build without the poppler patch.
1061 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1063 * shell/ev-application.c: (ev_application_open):
1064 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1065 (ev_document_type_get_type), (ev_document_type_lookup):
1066 * shell/ev-document-types.h:
1067 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1068 * shell/ev-job-xfer.h:
1069 * shell/ev-window.c: (ev_window_clear_local_uri),
1070 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1071 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1072 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1074 Transfer remote documents to tmp directory to display them later.
1076 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1078 * backend/ev-document-info.h:
1079 * shell/ev-properties.c: (ev_properties_new):
1081 s/GTime*/GTime. Not sure why we was using a pointer
1084 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1086 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1087 situations. That situation is that you're using GTK+-HEAD with
1088 the patch at #306726 is applied, and you have a document with <
1089 1500 pages in it. It's not quite as uniformly nice as the
1090 TreeView, but should be better in the long run.
1092 I'm pretty sure I guarded against breaking compilation with
1093 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1096 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1097 widget yet, so I commented that code out
1098 enable_view_actions_for_widget() for now. Need to figure this
1101 * shell/ev-page-action.c (match_selected_cb): emit the right
1102 signals. Our cool C-l completion now works.
1104 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1106 * backend/Makefile.am:
1107 * backend/ev-document-fonts.c:
1108 * backend/ev-document-links.c:
1109 * backend/ev-document.c: (ev_document_load):
1110 * backend/ev-document.h:
1111 * backend/ev-job-queue.c:
1112 * backend/ev-job-queue.h:
1113 * backend/ev-jobs.c:
1114 * backend/ev-jobs.h:
1115 * backend/ev-page-cache.c:
1116 * backend/ev-page-cache.h:
1118 EvPageCache and EvJobs are moved to shell.
1120 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1122 * lib/ev-file-helpers.h:
1124 New helper to work with temporary files
1126 * shell/Makefile.am:
1127 * shell/ev-application.c: (ev_application_open):
1128 * shell/ev-application.h:
1129 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1130 (remove_job_from_async_queue), (add_job_to_async_queue),
1131 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1132 (handle_job), (search_for_jobs_unlocked),
1133 (no_jobs_available_unlocked), (ev_render_thread),
1134 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1135 (ev_job_queue_add_job), (move_job_async), (move_job),
1136 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1137 * shell/ev-job-queue.h:
1138 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1139 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1140 * shell/ev-job-xfer.h:
1141 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1142 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1143 (ev_job_links_class_init), (ev_job_render_init),
1144 (ev_job_render_dispose), (ev_job_render_class_init),
1145 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1146 (ev_job_thumbnail_class_init), (ev_job_load_init),
1147 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1148 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1149 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1150 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1152 * shell/ev-page-action.c: (ev_page_action_set_document):
1153 * shell/ev-page-cache.c: (ev_page_cache_init),
1154 (ev_page_cache_class_init), (ev_page_cache_finalize),
1155 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1156 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1157 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1158 (ev_page_cache_get_title), (ev_page_cache_get_size),
1159 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1160 (ev_page_cache_get_height_to_page),
1161 (ev_page_cache_get_max_label_chars),
1162 (ev_page_cache_get_page_label),
1163 (ev_page_cache_has_nonnumeric_page_labels),
1164 (ev_page_cache_get_info), (ev_page_cache_next_page),
1165 (ev_page_cache_prev_page), (ev_page_cache_get):
1166 * shell/ev-page-cache.h:
1167 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1168 (ev_pixbuf_cache_clear_job_sizes),
1169 (ev_pixbuf_cache_add_jobs_if_needed),
1170 (ev_pixbuf_cache_set_page_range):
1171 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1172 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1173 * shell/ev-sidebar-thumbnails.c:
1174 (ev_sidebar_tree_selection_changed),
1175 (ev_sidebar_thumbnails_set_document):
1176 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1177 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1178 (ev_statusbar_get_context_id), (ev_statusbar_push),
1179 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1180 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1181 (ev_statusbar_set_progress):
1182 * shell/ev-statusbar.h:
1183 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1184 (ev_view_find_previous):
1185 * shell/ev-window.c: (ev_window_is_empty),
1186 (ev_window_setup_document), (password_dialog_response),
1187 (ev_window_clear_jobs), (ev_window_load_job_cb),
1188 (ev_window_xfer_job_cb), (ev_window_open_uri),
1189 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1190 (ev_window_print), (ev_window_print_range),
1191 (ev_window_state_event), (ev_window_cmd_view_reload),
1192 (menu_item_select_cb), (menu_item_deselect_cb),
1193 (view_status_changed_cb), (ev_window_dispose),
1194 (drag_data_received_cb), (ev_window_init):
1195 * shell/ev-window.h:
1196 * shell/main.c: (load_files):
1198 New statusbar to show progress on idle. Two new jobs -
1199 xfer job and load job to load document in background. And update
1200 of page_cache clients to new location of code.
1202 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1204 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1205 selection in open dialog. It also remembers the last visited directory
1206 in the current session.
1208 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1210 * shell/ev-properties.c: (ev_properties_new):
1211 * shell/ev-properties.h:
1212 * shell/ev-window.c: (ev_window_cmd_file_properties):
1214 Get document info from page cache instead of document itself.
1215 This should fix crash related to race conditions described in
1218 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1220 * ps/ps-document.c: (ps_document_init),
1221 (send_ps), (get_page_box), (output), (catchPipe), (input),
1222 (stop_interpreter), (file_length), (file_readable),
1223 (check_filecompressedb), (ps_document_enable_interpreter),
1224 (document_load), (ps_async_renderer_render_pixbuf):
1227 Big cleanup of the ps code
1229 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1231 * backend/Makefile.am:
1232 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1233 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1234 * backend/ev-async-renderer.h:
1236 Add an async renderer interface (method + callback) which
1237 is useful for backends like ps.
1239 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1240 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1241 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1242 (ev_job_queue_add_job), (move_job_async), (move_job),
1243 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1245 Add queues for async renderer, these are executed on the
1248 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1249 (ev_job_render_run):
1250 * backend/ev-jobs.h:
1252 If the backend support async renderer interface use it.
1254 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1255 (setup_pixmap), (ps_document_get_type),
1256 (ps_async_renderer_render_pixbuf),
1257 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1259 Implement async renderer interface.
1261 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1263 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1265 Cleanup links job on exit.
1267 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1269 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1270 (drag_data_get_cb), (drag_data_received_cb):
1271 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1272 (drag_data_get_cb), (parse_item_list),
1273 (egg_toolbar_editor_load_actions):
1274 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1275 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1276 (parse_item_list), (parse_toolbars):
1277 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1278 (dvi_pixbuf_put_pixel):
1280 Fix gcc 4.0 warnings
1282 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1284 * ps/ps-document.c: (start_interpreter):
1286 Fix warning when loading ps
1288 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1290 * ps/ps-document.c: (output):
1292 Fix crash when priting gs error messages.
1294 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1296 * backend/ev-page-cache.c: (_ev_page_cache_new):
1297 * backend/ev-page-cache.h:
1299 Use a const to return title so that we dont double
1300 free it. Small cleanup and fix a leak.
1302 * shell/ev-window.c: (update_window_title):
1304 strdup value from get_title.
1306 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1308 * shell/ev-sidebar-links.c: (job_finished_callback),
1309 (ev_sidebar_links_set_document):
1311 Cleanup the old job when changing document
1313 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1315 * shell/ev-stock-icons.c:
1316 * shell/ev-stock-icons.h:
1317 * shell/ev-window.c:
1319 Add stock icons for actions that can appear in toolbar. Fix for
1322 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1324 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1325 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1326 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1327 * backend/ev-page-cache.h:
1328 * shell/ev-view.c: (scroll_to_current_page),
1329 (view_update_range_and_current_page), (get_page_y_offset),
1330 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1331 (ev_view_size_request_continuous),
1332 (ev_view_zoom_for_size_continuous_and_dual_page),
1333 (ev_view_zoom_for_size_continuous):
1335 More compact EvView layout in document with pages of different size.
1337 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1339 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1342 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1344 * shell/ev-view.c: (view_set_adjustment_values):
1345 * shell/ev-window.c: (ev_window_cmd_file_properties):
1347 A bit different fix for rounding problem but it has no
1348 problems on startup. Make properties window transient to parent.
1350 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1352 * pdf/ev-poppler.cc:
1354 More commenting of font stuff.
1356 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1358 * pdf/ev-poppler.cc:
1360 Comment out some more fonts stuff. Should really
1361 work without the poppler patch now.
1363 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1365 * pdf/ev-poppler.cc:
1369 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1371 * data/evince-properties.glade:
1372 * pdf/ev-poppler.cc:
1373 * shell/ev-properties.c: (setup_fonts_view):
1375 Set the column title. Show the dialog only
1376 once everything is setup.
1377 Getting font info can be very slow... will
1378 prolly need to make this threaded too.
1380 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1382 * backend/Makefile.am:
1383 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1384 (ev_document_fonts_get_fonts_model):
1385 * backend/ev-document-fonts.h:
1386 * data/evince-properties.glade:
1387 * pdf/ev-poppler.cc:
1388 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1389 * shell/ev-properties.h:
1390 * shell/ev-window.c: (ev_window_cmd_file_properties):
1392 Implement fonts list. Defined out for now, since it depends
1393 on a not yet committed poppler patch.
1395 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1397 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1400 * shell/ev-window.c: Make sure we add the timeout when we get a
1403 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1404 adjustment->value before calculating the zoom factor to average
1405 out all of our rounding errors. The page no longer 'drifts' when
1408 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1410 * data/evince-properties.glade:
1411 * shell/ev-properties.c: (ev_properties_format_date),
1414 Labels don't expand when the dialogue is resized.
1415 strftime result needs to be converted to UTF-8. Thanks
1416 to Christian Persch <chpe@gnome.org>.
1418 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1420 * data/evince-properties.glade:
1424 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1426 * backend/ev-document-info.h:
1427 * backend/ev-document.c: (ev_document_info_free):
1428 * data/evince-properties.glade:
1429 * pdf/ev-poppler.cc:
1430 * ps/ps-document.c: (ps_document_get_info):
1431 * shell/ev-properties.c: (ev_properties_format_date),
1432 (set_property), (ev_properties_new):
1433 * shell/ev-properties.h:
1434 * shell/ev-window.c: (ev_window_cmd_file_properties):
1436 Rework properties code to take only EvPropertyInfo
1437 in the constructor so that it can be useful for
1438 nautilus plugin too.
1440 Deal with backends that doesnt support some properties.
1441 Make set property code generic.
1443 2005-06-04 Christian Persch <chpe@gnome.org>
1445 * data/evince-properties.glade:
1447 fix spacings, make resizeable, and make data labels
1448 selectable + ellipsised
1450 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1452 * backend/ev-document-info.h:
1454 * data/evince-ui.xml:
1455 * pdf/ev-poppler.cc:
1456 * shell/Makefile.am:
1457 * shell/ev-window.c: (update_action_sensitivity),
1458 (ev_window_cmd_file_properties):
1460 Initial go at file properties. Patch by
1461 Emil Soleyman-Zomalan <emil@soleyman.com>.
1462 Needs love see #169583
1464 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1466 * ps/ps-document.c: (output):
1467 * ps/ps.c: (psscan):
1469 Try to render even if psscan fails.
1471 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1473 * ps/ps.c: (psscan), (pscopydoc):
1475 Port buffered reading code from gv
1477 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1479 * ps/ps-document.c: (interpreter_message), (output):
1481 Do not fail on interpreter messages
1483 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1485 * backend/ev-document-misc.c:
1486 (ev_document_misc_get_thumbnail_frame):
1488 Pages can be 0 x 0, dont assert on this case
1490 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1492 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1493 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1495 Correctly manage our reference on document. Finally the reload
1496 huge leak is gone...
1498 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1500 * ps/ps-document.c: (ps_document_dispose):
1502 Forgot to chain it to the parent. Thanks chpe.
1504 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1506 * ps/ps-document.c: (ps_document_dispose),
1507 (ps_document_class_init), (stop_interpreter), (document_load):
1509 Cleanup dispose a bit. Dont leak the whole pixmap.
1511 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1513 * pdf/ev-poppler.cc:
1515 Release the poppler document on dispose
1517 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1519 * shell/ev-view.c: (ev_view_set_document):
1521 Release ref on the pixbuf cache when changing
1524 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1526 * ps/ps-document.c: (ps_document_get_info):
1530 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1532 * backend/ev-page-cache.c: (ev_page_cache_init),
1533 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1534 * backend/ev-page-cache.h:
1535 * shell/ev-page-action.c: (page_changed_cb):
1537 Set page action entry width depending on labels width. Fix
1540 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1542 * backend/ev-link.c: (ev_link_class_init):
1544 Allow -1 as page value (error)
1546 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1548 * shell/ev-sidebar-thumbnails.c:
1549 (ev_sidebar_thumbnails_set_document):
1550 * shell/ev-view.c: (scroll_to_current_page),
1551 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1552 (page_changed_cb), (on_adjustment_value_changed),
1553 (ev_view_set_document):
1555 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1558 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1561 * djvu/djvu-document.c: (djvu_document_get_page_size):
1563 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1566 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1568 * shell/ev-view.c (draw_one_page): modify the expose handling to
1571 * shell/ev-window.c (update_action_sensitivity): Respect
1572 permissions field. Kowtow to the man.
1574 * pdf/ev-poppler.cc: Get the permissions field.
1576 * tiff/*c: Make a tiny bit more robust.
1578 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1580 * djvu/djvu-document.c:
1582 Pop messages from djvu context message queue.
1584 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1586 * configure.ac, Makefile.am, shell/Makefile.am:
1587 * tiff/Makefile.am, shell/ev-document-types.c:
1589 Cleanup tiff configure checks. Fix for bug 305218.
1591 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1593 * configure.ac: Added "uk" to ALL_LINGUAS.
1595 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1597 * cut-n-paste/zoom-control/ephy-zoom.c:
1598 (ephy_zoom_get_changed_zoom_level):
1599 * cut-n-paste/zoom-control/ephy-zoom.h:
1600 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1601 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1602 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1603 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1604 (zoom_control_changed_cb), (ev_window_init):
1606 Fix minor points related to moving best fit up. Introduce
1607 "zoom" property and make zoom control change it's value on
1608 notify::zoom signals. Fix for 305080.
1610 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1612 * data/evince-ui.xml:
1613 * shell/ev-window.c: (set_view_actions_sensitivity):
1615 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1617 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1621 Depends on poppler 0.3.2
1623 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1625 * cut-n-paste/recent-files/egg-recent-item.c:
1626 (egg_recent_item_get_short_name):
1627 * cut-n-paste/toolbar-editor/Makefile.am:
1628 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1629 (new_pixbuf_from_widget):
1630 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1631 * cut-n-paste/toolbar-editor/egg-marshal.c:
1632 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1633 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1637 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1639 * tiff/tiff-document.c: Rough TIFF backend.
1641 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1645 * cut-n-paste/toolbar-editor/Makefile.am:
1649 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1651 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1652 (ev_view_find_next), (ev_view_find_previous):
1654 Remove the locks around get_n_results
1656 2005-05-21 Juerg Billeter <j@bitron.ch>
1658 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1660 Pass correct number of pages to poppler.
1662 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1666 * data/evince.desktop.in:
1667 * data/evince.desktop.in.in:
1670 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1672 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1674 * shell/ev-view.c: (view_update_adjustments),
1675 (view_set_adjustment_values): cast adjustmen->value to (int)
1676 before using it. Otherwise, we get off by a pixel in some
1679 (draw_one_page): Draw the border on expose.
1681 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1683 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1684 adjustment when the mode changes, #304923
1686 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1688 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1689 flickering on resize but still use gdk_window_scroll on
1692 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1694 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1697 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1699 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1700 second page on page_changed if possible, #304669
1702 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1704 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1705 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1707 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1710 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1711 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1712 (ev_view_zoom_for_size_presentation),
1713 (ev_view_zoom_for_size_continuous_and_dual_page),
1714 (ev_view_zoom_for_size_continuous),
1715 (ev_view_zoom_for_size_dual_page),
1716 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1718 * shell/ev-window.c: (update_view_size),
1719 (ev_window_sizing_mode_changed_cb):
1721 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1722 the scrollbars. It's not 100% right, but it's much closer. Kills
1723 an infinite loop, #304769
1726 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1728 * data/evince-ui.xml:
1729 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1730 * shell/ev-window.c: (set_view_actions_sensitivity):
1732 Make PgUp/Down behave like Space
1734 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1736 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1737 * backend/ev-ps-exporter.h:
1738 * pdf/ev-poppler.cc:
1739 * ps/ps-document.c: (ps_document_ps_export_begin):
1740 * shell/ev-print-job.c: (idle_print_handler):
1742 Adapt to new poppler api
1744 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1746 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1747 (ephy_zoom_control_init):
1749 Translate zoom levels
1751 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1753 * cut-n-paste/zoom-control/ephy-zoom.c:
1754 (ephy_zoom_get_zoom_level_index):
1756 Fix current zoom -> zoom control match
1758 2005-05-18 James Bowes <bowes@cs.dal.ca>
1760 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1761 rather than the scrolled_window that it's in. Fixes bug #304655.
1763 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1765 * shell/ev-view.c: (view_update_adjustments),
1766 (view_set_adjustment_values), (view_update_range_and_current_page),
1767 (view_scroll_to_page), (set_scroll_adjustment),
1768 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1769 (ev_view_scroll), (ev_view_scroll_view),
1770 (ensure_rectangle_is_visible), (find_page_at_location),
1771 (get_link_at_location), (go_to_link), (status_message_from_link),
1772 (ev_view_size_request_continuous_dual_page),
1773 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1774 (ev_view_unrealize), (ev_view_expose_event),
1775 (ev_view_button_press_event), (ev_view_motion_notify_event),
1776 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1777 (draw_rubberband), (highlight_find_results), (draw_one_page),
1778 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1779 (ev_view_init), (find_changed_cb), (page_changed_cb),
1780 (on_adjustment_value_changed), (ev_view_new),
1781 (ev_view_set_document), (ev_view_set_zoom),
1782 (ev_view_set_continuous), (ev_view_set_dual_page),
1783 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1784 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1785 (ev_view_zoom_for_size_presentation),
1786 (ev_view_zoom_for_size_continuous_dual_page),
1787 (ev_view_zoom_for_size_continuous),
1788 (ev_view_zoom_for_size_dual_page),
1789 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1790 (ev_view_get_status), (ev_view_set_status),
1791 (update_find_status_message), (ev_view_get_find_status),
1792 (ev_view_set_find_status), (jump_to_find_result),
1793 (jump_to_find_page), (compute_selections), (clear_selection),
1794 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1795 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1796 (ev_view_update_primary_selection),
1797 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1799 * shell/ev-window.c: (ev_window_open_page_label),
1800 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1802 * shell/ev-window.h:
1803 * shell/main.c: (load_files):
1805 Massive code clean up from Nickolay Shmyrev. Keep page offset
1806 when resizing. Remove the bin_window(). Also, patch from James
1807 Bowes to fix command line page, #300641
1809 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1811 * data/evince-ui.xml:
1814 * shell/ev-window.c: (update_action_sensitivity):
1816 Get rid of View->Normal Size, it's just confusing
1818 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1820 * backend/ev-document-info.h:
1821 * backend/ev-document.c: (ev_document_info_free): Free the
1824 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1825 (clear_range), (add_range), (update_visible_range),
1826 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1827 (ev_sidebar_thumbnails_set_document):
1828 * shell/ev-window.c: (ev_window_setup_document): Only render the
1829 visible thumbnails. It takes an instant to render, but it uses
1832 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1834 * shell/ev-sidebar-links.c: (popup_menu_cb):
1838 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1841 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1842 (button_press_cb), (ev_sidebar_links_construct):
1844 Show the popup menu also on keybindings
1846 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1848 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1849 * shell/ev-window.h:
1851 Expose api to print a range (with dialog). Make private _print use
1854 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1855 (ev_sidebar_links_construct):
1857 Show a print context menu on linkx, it prints the selected
1860 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1862 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1865 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1871 * shell/ev-window.c: (build_comments_string),
1872 (ev_window_cmd_help_about):
1874 Show poppler version/backend and authors
1876 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1878 * cut-n-paste/zoom-control/ephy-zoom.c:
1879 (ephy_zoom_get_zoom_level_index):
1880 * cut-n-paste/zoom-control/ephy-zoom.h:
1882 Move the best fit items at the top of the list
1884 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1886 * shell/ev-marshal.list:
1887 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1888 (activate_cb), (match_selected_cb), (activate_link_cb),
1889 (connect_proxy), (ev_page_action_class_init):
1890 * shell/ev-page-action.h:
1892 Use signals to notify action activation. Hopefully
1893 I did not break completion since I cant test...
1895 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1896 (register_custom_actions):
1898 Connect to page selector actions and also grab focus on
1899 the view when activated.
1901 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1903 * pdf/ev-poppler.cc:
1904 * backend/ev-page-cache.c: make page size calculation consistent
1905 and set it to (int)( width * scale + 0.5). This makes the weird
1906 line going through the middle of the page go away.
1908 * shell/ev-view.c: move painting the background page after
1909 checking the expose area covers us.
1911 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1913 * data/evince-password.glade:
1915 Mark labels as not translatable. Fix for bug 302842.
1917 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1919 * configure.ac: Added "es" to ALL_LINGUAS.
1921 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1923 * data/evince-toolbar.xml:
1924 * shell/ev-window.c: (update_action_sensitivity),
1925 (ev_window_setup_document), (ev_window_set_page_mode),
1928 Remove some leftover code from jrb first continous
1929 attempt. Use the new actions, we still need good icons
1932 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1934 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1936 Update label when connecting proxy. Fix a warning with NULL
1939 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1941 * data/evince-ui.xml:
1942 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1943 * shell/ev-page-action.h:
1944 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1946 Add mnemonic for edit toolbar.
1947 ctrl+l focus the page entry.
1949 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1952 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1954 * shell/main.c: (main):
1956 Put the toolbar xml in evince own dot dir
1958 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1960 * shell/ev-window.c: (ev_window_init):
1962 Make the toolbar not removable
1964 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1966 * data/evince-ui.xml:
1967 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1968 * shell/ev-sidebar-links.h:
1969 * shell/ev-sidebar-thumbnails.c:
1970 (ev_sidebar_thumbnails_get_treeview):
1971 * shell/ev-sidebar-thumbnails.h:
1972 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1973 (ev_view_class_init):
1975 * shell/ev-window.c: (update_action_sensitivity),
1976 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1977 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1978 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1981 This is evil... Make space/backspace global accelerators but
1982 enable them only for some widgets (sidebars and view).
1983 I dont like it, but I dont know a better way... :/
1985 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1987 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1988 (ev_page_action_widget_finalize),
1989 (ev_page_action_widget_class_init), (update_page_cache):
1991 Keep a weak reference on proxy->page_cache so that we
1992 dont try to disconnect the signal if the object is already
1993 gone. Maybe there is a better way to cleanup reference handling
1994 in page action though...
1996 2005-05-10 Juerg Billeter <j@bitron.ch>
1998 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1999 * backend/ev-ps-exporter.h:
2000 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2001 * ps/ps-document.c: (ps_document_ps_export_begin):
2003 Change api to pass print range to ps_exporter_begin. The pdf backend
2004 requires this information.
2006 * shell/ev-print-job.c: (idle_print_handler):
2010 2005-05-10 Juerg Billeter <j@bitron.ch>
2012 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2013 (idle_print_handler)
2014 * shell/ev-window.c: (ev_window_print):
2016 Support printing page range, based on patch by Amaury Jacquot
2018 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2020 * data/evince-toolbar.xml:
2022 Add zoom control to available items
2024 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2026 * shell/ev-window.c: (update_action_sensitivity):
2028 Set slash action insensitive when appropriate
2030 2005-05-10 Christian Persch <chpe@gnome.org>
2032 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2034 Fix warning on the overflow menu
2036 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2038 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2040 Check for uri correctness/existence
2042 2005-05-09 Juerg Billeter <j@bitron.ch>
2044 * shell/ev-window.c: (using_postscript_printer):
2046 LPD printers use postscript, too
2048 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2050 * shell/ev-window.c: (register_custom_actions):
2052 The zoom one is actually sort of useful,
2055 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2057 * shell/ev-window.c: (register_custom_actions):
2059 Hide page/zoom controls from overflow, they
2062 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2064 * cut-n-paste/update-from-egg.sh:
2066 Share it between all cut-n-paste subdirs
2068 * cut-n-paste/recent-files/Makefile.am:
2070 Fix to use "global" update-from-egg.sh
2072 * cut-n-paste/recent-files/egg-recent-model.c:
2073 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2074 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2075 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2076 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2080 * cut-n-paste/toolbar-editor/Makefile.am:
2082 Fix to use "global" update-from-egg.sh
2084 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2088 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2091 * cut-n-paste/Makefile.am:
2092 * cut-n-paste/recent-files/Makefile.am:
2093 * cut-n-paste/toolbar-editor/.cvsignore:
2094 * cut-n-paste/toolbar-editor/Makefile.am:
2095 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2096 (egg_editable_toolbar_get_type), (get_toolbar_position),
2097 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2098 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2099 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2100 (set_item_drag_source), (create_item_from_action), (create_item),
2101 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2102 (popup_toolbar_context_menu_cb), (free_dragged_item),
2103 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2104 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2105 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2106 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2107 (item_added_cb), (item_removed_cb),
2108 (egg_editable_toolbar_construct),
2109 (egg_editable_toolbar_disconnect_model),
2110 (egg_editable_toolbar_deconstruct),
2111 (egg_editable_toolbar_set_model),
2112 (egg_editable_toolbar_set_ui_manager),
2113 (egg_editable_toolbar_set_property),
2114 (egg_editable_toolbar_get_property),
2115 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2116 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2117 (egg_editable_toolbar_new_with_model),
2118 (egg_editable_toolbar_get_edit_mode),
2119 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2120 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2121 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2122 (new_pixbuf_from_widget), (new_separator_pixbuf),
2123 (update_separator_image), (style_set_cb),
2124 (_egg_editable_toolbar_new_separator_image),
2125 (egg_editable_toolbar_get_model):
2126 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2127 * cut-n-paste/toolbar-editor/egg-marshal.c:
2128 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2129 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2130 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2131 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2132 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2133 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2134 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2135 (editor_drag_data_delete_cb), (drag_data_get_cb),
2136 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2137 (editor_create_item), (update_editor_sheet), (setup_editor),
2138 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2139 (parse_item_list), (model_has_action), (update_actions_list),
2140 (egg_toolbar_editor_load_actions):
2141 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2142 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2143 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2144 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2145 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2146 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2147 (egg_toolbars_model_add_separator), (impl_add_item),
2148 (parse_item_list), (egg_toolbars_model_add_toolbar),
2149 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2150 (impl_get_item_data), (impl_get_item_type),
2151 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2152 (egg_toolbars_model_init), (free_toolbar),
2153 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2154 (egg_toolbars_model_remove_toolbar),
2155 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2156 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2157 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2158 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2159 (egg_toolbars_model_get_item_data),
2160 (egg_toolbars_model_get_item_type):
2161 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2162 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2164 * data/evince-toolbar.xml:
2165 * data/evince-ui.xml:
2166 * data/hand-open.png:
2168 * shell/Makefile.am:
2169 * shell/ev-window.c: (update_chrome_visibility),
2170 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2171 (ev_window_dispose), (ev_window_init):
2173 Implement epiphany like toolbar editor. Based on patch by
2174 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2176 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2178 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2180 Use set_cursor instead of set_selection, so that
2181 the keyboard focus moves too.
2183 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2185 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2187 Fix infinite loop when loading Type1 fonts
2189 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2191 * data/evince-ui.xml:
2192 * shell/ev-window.c:
2196 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2200 Make --disable really disable
2202 2005-05-07 Juerg Billeter <j@bitron.ch>
2204 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2206 Compare page labels even without has_labels set, fixes setting page
2209 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2211 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2212 (ev_view_set_cursor), (ev_view_button_press_event),
2213 (ev_view_motion_notify_event), (ev_view_button_release_event),
2216 Implement middle button scrolling. Based on a patch
2217 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2219 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2221 * shell/ev-document-types.c: (get_slow_mime_type),
2222 (get_document_type_from_mime), (ev_document_type_lookup):
2223 * shell/ev-document-types.h:
2225 Change api to lookup from uri. Do fast lookup first, if the
2226 type is unknown try with data sniffing.
2228 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2229 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2233 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2235 * thumbnailer/Makefile.am:
2239 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2246 * data/evince-ui.xml:
2248 Hide presentation mode for now
2250 * shell/ev-view.c: (highlight_find_results):
2252 Show current find selection only on current page
2254 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2256 * shell/ev-view.c: (ev_view_select_all):
2258 Compute size of the actual page, not of
2261 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2263 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2264 (view_rect_to_doc_rect), (compute_selections),
2265 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2266 (ev_view_copy), (ev_view_primary_get_cb),
2267 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2268 (ev_view_button_press_event), (ev_view_motion_notify_event),
2269 (ev_view_button_release_event), (page_changed_cb):
2273 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2275 * shell/ev-view.c: (compute_border), (get_page_extents),
2276 (doc_rect_to_view_rect), (highlight_find_results),
2277 (ev_view_bin_expose), (ev_view_select_all),
2278 (ev_view_motion_notify_event), (update_find_status_message),
2279 (jump_to_find_result), (jump_to_find_page):
2281 First go at fixing search, still buggy
2283 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2285 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2286 dropdown box and button at the top of the sidebar.
2288 2005-05-02 James Bowes <bowes@cs.dal.ca>
2290 * configure.ac: Output zoom-control Makefile.
2291 * cut-n-paste/Makefile.am: build zoom-control subdir.
2292 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2293 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2294 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2295 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2296 * cut-n-paste/zoom-control/ephy-zoom.c:
2297 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2298 from epiphany, and modified to add a separator into the menu.
2299 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2300 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2301 zoom-control action.
2302 * shell/Makefile.am: Include zoom-control flags.
2303 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2304 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2305 (ev_view_zoom_for_size_presentation),
2306 (ev_view_zoom_for_size_continuous_and_dual_page),
2307 (ev_view_zoom_for_size_continuous),
2308 (ev_view_zoom_for_size_dual_page),
2309 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2310 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2311 ev_view_get_zoom and ev_view_get_sizing_mode.
2313 * shell/ev-window.c: (update_action_sensitivity),
2314 (update_sizing_buttons), (zoom_control_changed_cb),
2315 (register_custom_actions): Initialize and use the zoom-control
2318 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2320 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2321 preview cache back to 1. Don't know when it got set to 0.
2323 * shell/ev-view.c: (compute_border), (ev_view_realize),
2324 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2325 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2326 (ev_view_get_fullscreen), (ev_view_set_presentation),
2327 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2328 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2330 * shell/ev-window.c:
2331 (update_chrome_visibility),
2332 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2333 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2334 (update_document_mode), (ev_window_update_fullscreen_action),
2335 (ev_window_fullscreen), (ev_window_unfullscreen),
2336 (ev_window_cmd_view_fullscreen),
2337 (ev_window_update_presentation_action),
2338 (ev_window_run_presentation), (ev_window_stop_presentation),
2339 (ev_window_cmd_view_presentation), (ev_window_state_event),
2340 (ev_window_focus_in_event), (ev_window_focus_out_event),
2341 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2342 * data/evince-ui.xml: Initial presentation mode. We should
2343 probably hide this until it's done, as it's quite rough. Also,
2344 change full-screen to fullscreen and add two getters to EvView.
2346 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2348 * shell/ev-page-action.c: (update_page_cache),
2349 (ev_page_action_dispose):
2350 * shell/ev-window.c: (destroy_fullscreen_popup),
2351 (ev_window_create_fullscreen_popup):
2353 Use connect_object rather than explicitly
2354 disconnect on dispose.
2356 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2358 * shell/ev-page-action.c: (update_page_cache),
2359 (ev_page_action_dispose):
2361 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2363 * backend/ev-page-cache.c: (_ev_page_cache_new),
2364 (ev_page_cache_set_page_label),
2365 (ev_page_cache_has_nonnumeric_page_labels):
2366 * backend/ev-page-cache.h:
2367 * shell/ev-page-action.c: (update_pages_label):
2369 If all page labels are numeric, fallback to default
2370 way to display number of pages. See bug 173185.
2372 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2374 * shell/ev-page-action.c: (ev_page_action_dispose):
2375 * shell/ev-view.c: (view_update_range_and_current_page):
2376 * shell/ev-window.c: (ev_window_dispose):
2378 Set page on scroll in continuous mode. Fixes bug 301986.
2379 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2381 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2385 Require poppler 0.3.0
2387 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2389 * shell/Makefile.am, configure.ac: Fix build problems
2390 with t1lib. Bug 301996.
2392 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2394 * shell/ev-view.c: (ev_view_scroll_event):
2396 Scroll up increase zoom
2398 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2400 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2401 (ev_view_set_sizing_mode),
2402 (ev_view_zoom_for_size_continuous_and_dual_page),
2403 (ev_view_zoom_for_size_continuous):
2404 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2405 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2406 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2409 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2410 Fix for 165473 and 165472.
2412 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2415 * thumbnailer/Makefile.am:
2416 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2417 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2418 * thumbnailer/evince-thumbnailer.schemas.in:
2420 Make thumbnailer schemas translatable. Fix for bug 301773
2422 * thumbnailer/evince-thumbnailer-djvu.schemas:
2423 * thumbnailer/evince-thumbnailer-dvi.schemas:
2424 * thumbnailer/evince-thumbnailer.schemas:
2428 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2430 * shell/ev-view.c (ev_view_init): forgot to set this.
2432 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2434 * shell/ev-view.c: (find_page_at_location),
2435 (get_link_at_location),
2436 (ev_view_set_show_border), (ev_view_set_spacing),
2437 (ev_view_zoom_for_size_continuous_and_dual_page),
2438 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2439 Also, add a quick fix measuring of widths. Also, removed
2440 ev_view_set_spacing and ev_view_set_show_border.
2442 * shell/ev-window.c: (ev_window_unfullscreen),
2443 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2445 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2447 * shell/ev-view.c: (view_update_range_and_current_page),
2450 Fix crash on exit and scrolling to page in continuous view.
2452 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2455 * backend/ev-page-cache.c: (_ev_page_cache_new),
2456 (ev_page_cache_get_max_width_size),
2457 (ev_page_cache_get_max_height_size):
2458 * backend/ev-page-cache.h:
2459 * data/evince-ui.xml:
2460 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2461 * shell/ev-view.c: (view_update_adjustments),
2462 (view_update_range_and_current_page), (get_bounding_box_size),
2463 (ev_view_size_request_continuous_and_dual_page),
2464 (ev_view_size_request_continuous),
2465 (ev_view_size_request_dual_page),
2466 (ev_view_size_request_single_page), (ev_view_size_request),
2467 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2468 (ev_view_bin_expose), (ev_view_expose_event),
2469 (ev_view_set_property), (ev_view_get_property),
2470 (ev_view_class_init), (ev_view_init), (ev_view_new),
2471 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2472 (ev_view_set_dual_page), (ev_view_set_full_screen),
2473 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2474 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2475 (ev_view_zoom_out), (zoom_for_size_fit_width),
2476 (zoom_for_size_best_fit),
2477 (ev_view_zoom_for_size_continuous_and_dual_page),
2478 (ev_view_zoom_for_size_continuous),
2479 (ev_view_zoom_for_size_dual_page),
2480 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2481 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2483 * shell/ev-window.c: (update_action_sensitivity),
2484 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2485 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2486 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2487 (ev_window_cmd_view_zoom_out), (update_view_size),
2488 (ev_window_set_sizing_mode), (ev_window_init):
2490 Add Continuous and Dual page modes.
2492 2005-04-23 James Bowes <bowes@cs.dal.ca>
2494 * dvi/dvi-document.c: (dvi_document_load),
2495 (dvi_document_thumbnails_get_thumbnail),
2496 (dvi_document_init_params): Fix up some mixups between
2497 width and height to correct thumbnail rendering.
2499 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2501 * dvi/mdvi-lib/private.h:
2502 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2504 Suppess output for kpathsea during font generation. Thanks to
2507 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2514 * Makefile.am: fix distcheck.
2516 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2518 * shell/ev-sidebar-links.c: (selection_changed_callback),
2519 (update_page_callback), (row_activated_callback),
2520 (job_finished_callback), (ev_sidebar_links_set_document):
2522 Fix for bug #169901. Double click on links expands tree.
2524 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2526 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2527 hard-coded style. Fix for bug 170111
2529 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2531 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2534 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2536 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2538 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2540 * pdf/ev-poppler.cc:
2541 * shell/ev-view.c: (highlight_find_results):
2543 Fix find on single page documents
2545 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2547 * data/evince.schemas.in: fix for bug 301390
2549 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2551 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2552 (ev_view_zoom_out), (ev_view_zoom_normal):
2554 * shell/ev-window.c: (update_action_sensitivity),
2555 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2556 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2557 (ev_window_cmd_view_normal_size):
2559 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2560 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2563 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2567 Depend on 2.57, 2.59 doesnt seem to be necessary
2569 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2571 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2574 Put back total number of pages as (1 of 1234)
2576 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2578 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2581 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2582 function. This helps debugging.
2584 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2586 * djvu/djvu-document.c: (djvu_document_class_init),
2587 (djvu_document_get_info), (djvu_document_document_iface_init):
2588 * dvi/dvi-document.c: (dvi_document_class_init),
2589 (dvi_document_get_info), (dvi_document_document_iface_init):
2591 Dummy implementation of get_info method for dvi and djvu. Fix
2592 crashes with those backends
2594 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2596 * data/evince.desktop.in:
2598 Add application/x-gzpostscript
2600 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2602 * data/evince.schemas.in: Added real long descriptions,
2605 * README: Added actual text, closes bug 171869
2607 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2609 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2613 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2615 * backend/ev-document-info.h:
2617 s/GDate */GDate so we can just use g_free
2619 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2621 * shell/ev-window.c: (update_document_mode),
2622 (ev_window_setup_document):
2624 Show the window in fullscreen when specified by
2627 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2629 * backend/ev-document.c: (ev_document_class_init),
2630 (ev_document_get_info), (ev_document_render_pixbuf):
2631 * backend/ev-document.h:
2632 * backend/ev-page-cache.c: (_ev_page_cache_new):
2633 * pdf/ev-poppler.cc:
2634 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2635 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2636 * ps/ps-document.c: (ps_document_class_init), (document_load),
2637 (ps_document_get_info), (ps_document_document_iface_init):
2639 Remove get_title from the interface, we can just use document info
2641 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2643 * backend/Makefile.am:
2644 * backend/ev-document.c: (ev_document_render_get_info):
2645 * backend/ev-document.h:
2646 * pdf/ev-poppler.cc:
2648 Initial support for document info. Based on jrb patch.
2650 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2652 * shell/ev-window.c: (ev_window_state_event),
2653 (ev_window_class_init), (ev_window_init):
2655 Doesn't show resize grip when maximized. See bug #301053
2657 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2661 ev-sidebar-thumbnails now has translatable labels
2663 * shell/Makefile.am:
2664 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2665 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2666 (ev_sidebar_links_page_iface_init):
2667 * shell/ev-sidebar-links.h:
2668 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2669 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2670 (ev_sidebar_page_get_label):
2671 * shell/ev-sidebar-page.h:
2672 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2673 (ev_sidebar_thumbnails_set_document),
2674 (ev_sidebar_thumbnails_support_document),
2675 (ev_sidebar_thumbnails_get_label),
2676 (ev_sidebar_thumbnails_page_iface_init):
2677 * shell/ev-sidebar-thumbnails.h:
2678 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2679 (ev_sidebar_set_document):
2680 * shell/ev-sidebar.h:
2681 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2683 Small rework of sidebar code. Now sidebar pages should implement
2684 EvSidebarPage interface. That makes page management in EvSidebar
2685 easier. See bug #164811 for details
2687 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2689 * shell/ev-application.c: (ev_application_open):
2690 * shell/ev-document-types.c:
2692 Fix build error and small problem with application exit
2694 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2696 * thumbnailer/Makefile.am:
2697 * thumbnailer/evince-thumbnailer-djvu.schemas:
2698 * thumbnailer/evince-thumbnailer-dvi.schemas:
2700 Conditionally install schemas for djvu/dvi thumbnailer
2702 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2704 * shell/ev-document-types.h:
2705 * shell/ev-document-types.c:
2706 New files, handling the mapping from mimetypes to backends
2708 * shell/ev-window.c:
2709 * thumbnailer/evince-thumbnailer.c:
2710 Use the ev-document-types code
2712 * shell/Makefile.am:
2713 Added new convenience library libevbackendfactory_la, containing
2714 the new mimetype->backend logic; moved the backends into it.
2716 * thumbnailer/Makefile.am:
2717 Make the thumbnailer link with the libevbackend.la convenience
2718 library, rather than having a duplicate of the backend logic here.
2720 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2722 * shell/ev-stock-icons.c: constify some vars.
2723 * shell/ev-window.c: ditto.
2725 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2727 * ps/ps-document.c (get_page_orientation):
2729 Respect document orientation
2731 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2735 * shell/Makefile.am:
2737 Move library dependencies to components.
2739 * shell/ev-window.c: (update_window_title),
2740 (start_loading_document):
2742 Fix display of uris with spaces. Bug 168358.
2744 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2746 * shell/ev-sidebar-links.c: (selection_changed_cb):
2747 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2748 (ev_view_button_release_event), (ev_view_set_document):
2750 * shell/ev-window.c: (find_bar_search_changed_cb):
2751 * shell/ev-window.h: Minor cleanups removing some dead code.
2753 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2755 * backend/ev-page-cache.c: (_ev_page_cache_new):
2757 Set current page to 0 if document has pages.
2759 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2761 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2763 Initialize GError to NULL, fix a crash when loading fails.
2765 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2767 * shell/ev-window.c: (update_view_size):
2769 Calculate shadow size only when there is actually
2772 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2774 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2777 Allow setting view spacing, default to 0
2779 * shell/ev-window.c: (ev_window_unfullscreen),
2780 (ev_window_cmd_view_fullscreen), (ev_window_init):
2782 Remove spacing in fullscreen mode
2784 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2786 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2787 (ev_view_size_request), (expose_bin_window),
2788 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2790 * shell/ev-window.c: (ev_window_unfullscreen),
2791 (ev_window_cmd_view_fullscreen):
2793 Do not draw the border in fulscreen
2795 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2797 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2798 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2799 (find_page_at_location), (page_changed_cb):
2801 Rework border calculation, so that I can more easily disable it.
2802 Code somewhat cleaner too.
2804 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2806 * backend/ev-page-cache.c: (ev_page_cache_init),
2807 (_ev_page_cache_new):
2809 Remove some assertions, documents can have 0 pages.
2810 Make initial current page -1.
2812 * shell/ev-page-action.c: (page_changed_cb):
2814 Show "" if current page is -1
2816 * shell/ev-window.c: (update_action_sensitivity),
2817 (ev_window_setup_document):
2819 When document has 0 pages do not set the view
2820 and make nearly everything insensitive.
2822 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2824 * shell/ev-page-view.c:
2825 * shell/ev-page-view.h:
2827 Remove unused files.
2829 * shell/ev-sidebar-thumbnails.c:
2830 (ev_sidebar_thumbnails_set_document):
2831 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2832 (ev_sidebar_supports_document):
2833 * shell/ev-sidebar.h:
2834 * shell/ev-window.c: (ev_window_setup_document):
2836 Doesn't show thumbnails if document has 1 page. Make
2837 sidebar menu entries sensitive only if if they have
2838 sense. Fix bug 164811.
2840 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2842 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2843 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2844 (ev_view_zoom_out), (ev_view_set_size):
2846 Rework sizing to deal with documents with not uniform page
2849 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2851 * backend/ev-page-cache.c: (_ev_page_cache_new):
2853 Fix several page size caching bugs
2855 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2857 * shell/ev-window.c: (set_action_properties):
2859 Make all toolbar items translatable
2861 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2863 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2864 (save_page_list), (ps_document_save),
2865 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2866 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2867 (ps_document_ps_exporter_iface_init):
2870 Based on a patch by J�rg Billeter <j@bitron.ch>
2872 Implement print and save a copy for the ps backend.
2874 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2876 * backend/ev-document.h:
2877 * djvu/djvu-document.c: (djvu_document_can_get_text),
2878 (djvu_document_document_iface_init):
2879 * dvi/dvi-document.c: (dvi_document_can_get_text),
2880 (dvi_document_document_iface_init):
2881 * pdf/ev-poppler.cc:
2882 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2883 (pixbuf_document_document_iface_init):
2884 * ps/ps-document.c: (ps_document_can_get_text),
2885 (ps_document_document_iface_init):
2886 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2887 * shell/ev-window.c: (update_action_sensitivity):
2889 Fix the crash when trying to copy in backends that doesnt
2890 support it. We can implement a better solution once we
2891 do real text selection.
2893 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2895 * data/evince-ui.xml:
2896 * shell/ev-window.c: (ev_window_cmd_escape):
2898 Work around the Escape conflict (find bar and unfullscreen)
2900 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2902 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2904 Fix for #300233. Next page correctly handles document end.
2906 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2907 (ev_sidebar_thumbnails_class_init),
2908 (ev_sidebar_thumbnails_set_document),
2909 (ev_sidebar_thumbnails_clear_job),
2910 (ev_sidebar_thumbnails_clear_model):
2912 Cleanup thumbnail jobs on document changes.
2914 * shell/ev-view.c: (add_scroll_binding_keypad),
2915 (add_scroll_binding_shifted), (ev_view_class_init):
2917 Shift + Space scrolls up. Fix for #173184
2919 * shell/ev-window.c: (ev_window_open_page),
2920 (ev_window_cmd_view_reload):
2922 Fix reload (Bug #300094)
2924 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2927 * dvi/mdvi-lib/assoc.c:
2928 * dvi/mdvi-lib/assoc.h: Removed garbage files
2930 * dvi/mdvi-lib/bitmap.c:
2931 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2932 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2933 * dvi/mdvi-lib/color.h: Antialias of rules
2935 * dvi/mdvi-lib/common.h:
2936 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2937 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2938 * dvi/mdvi-lib/files.c:
2939 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2940 * dvi/mdvi-lib/mdvi.h:
2941 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2942 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2943 * dvi/mdvi-lib/util.c: Fix compile warnings
2945 * dvi/dvi-document.c:
2946 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2947 (dvi_document_thumbnails_get_thumbnail),
2948 (dvi_document_document_thumbnails_iface_init):
2949 * dvi/mdvi-lib/Makefile.am:
2950 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2951 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2953 Dvi backend now renders thumbnails
2955 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2957 * shell/main.c: (main):
2959 Save accelerators on exit. Fixes bug #172095.
2961 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2963 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2964 update priority" comment.
2966 * backend/ev-job-queue.c: Give a way to change priority.
2968 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2970 * shell/ev-page-action.c: Fix logic.
2972 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2974 * shell/ev-view.c: (ev_view_can_find_next):
2975 * shell/ev-window.c: (ev_window_setup_document):
2977 Check that the document supports find
2979 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2981 * data/evince-ui.xml:
2982 * shell/ev-view.c: (ev_view_can_find_next):
2984 * shell/ev-window.c: (update_action_sensitivity),
2985 (find_changed_cb), (ev_window_setup_document),
2986 (ev_window_cmd_edit_find_next):
2990 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2992 * pdf/ev-poppler.cc:
2993 * shell/ev-print-job.c: (idle_print_handler):
2995 Make printing work again
2997 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2999 * shell/ev-page-action.h:
3000 * shell/ev-page-action.c: (ev_page_action_widget_init),
3001 (ev_page_action_widget_class_init), (page_changed_cb),
3002 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3003 (get_filter_model_from_model), (match_selected_cb),
3004 (display_completion_text), (match_completion), (update_model),
3005 (connect_proxy), (ev_page_action_set_property),
3006 (ev_page_action_get_property), (ev_page_action_set_document),
3007 (ev_page_action_set_model), (ev_page_action_class_init): Big
3008 reworking to make completions work iff we have >= GTK-2.7.0
3010 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3011 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3012 (job_finished_cb): We now have a 'model' property that is set when
3013 the links are loaded. This can be caught with "notify::model"
3015 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3016 listen for the model to be set, and propagate it to the action.
3018 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3020 * cut-n-paste/recent-files/egg-recent-item.c:
3021 (egg_recent_item_set_uri), (make_valid_utf8),
3022 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3023 * cut-n-paste/recent-files/egg-recent-item.h:
3025 Update egg-recent from libegg. This should fix long
3026 startup problem. For details see
3027 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3029 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3031 * cut-n-paste/recent-files/Makefile.am:
3032 * data/evince-ui.xml, shell/Makefile.am:
3033 * shell/ev-application.c, shell/ev-application.h:
3034 * shell/ev-window.c: Recent files support.
3036 * configure.ac: Added "ru" to ALL_LINGUAS.
3038 * dvju: new backend to support DJVU files.
3039 * dvi: new backend to support DVI.
3041 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3042 * ev-application.c: Support for new backends.
3044 * help, ev-window.c, main.c shell/Makefile.am:
3045 Evince user documentation.
3047 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3050 * shell/ev-window.c:
3051 * thumbnailer/evince-thumbnailer.c:
3053 s/pdf-document/ev-poppler
3055 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3062 * ps/ps-document.c: (setup_pixmap):
3066 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3068 * backend/ev-page-cache.c (ev_page_cache_next_page):
3069 * shell/ev-window.c (ev_window_cmd_go_next_page)
3070 (ev_window_cmd_go_first_page): Fix of by one errors.
3072 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3074 * ps/ps-document.c: (get_page_box):
3076 Fix page size calculation
3078 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3080 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3081 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3082 (get_page_orientation), (setup_page), (document_load),
3083 (ps_document_get_page_size), (render_pixbuf_idle):
3086 More refactoring to adapt to EvDocument changes
3088 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3090 * ps/ps-document.c: (start_interpreter):
3092 Actually add alpha args
3094 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3096 * pdf/ev-poppler.cc:
3098 Make clipboard work again
3100 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3102 Make searching work again.
3104 * backend/ev-document.c:
3105 * backend/ev-document.h:
3106 * backend/ev-document-find.c:
3107 * backend/ev-document-find.h: Change EvDocumentIface so we no
3108 longer store the current page or zoom level in the document. The
3109 consequence is that all calls that operate on the current page now
3110 instead take the page number as an extra argument, and all
3111 coordinates are now doubles in document coordinate system.
3113 * pdf/ev-poppler.cc:
3114 * pixbuf/pixbuf-document.c:
3115 * ps/ps-document.c: Update backends accordingly.
3117 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3121 Add required gettext version
3123 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3125 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3126 make F1 bring up non-existent help.
3128 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3129 epiphany's find bar, #167477
3131 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3132 <emil@nishra.com> to add space-bar scrolling,
3134 * shell/ev-window.c (static GtkActionEntry entries): add default
3135 keybinding for Help (F1)
3138 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3139 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3142 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3145 * pixbuf/pixbuf-document.c:
3147 Got pixbuf backend working again
3149 2005-04-01 Steve Murphy <murf@e-tools.com>
3151 * configure.in: Added "rw" to ALL_LINGUAS.
3153 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3155 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3156 model types, noticed by Martin Kretzschmar.
3158 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3160 * pdf/ev-poppler.cc: Implement search based on
3161 poppler_page_find_text(). Currently a bit crude since we remember
3162 all matches from all pages. Also, we grab the big document lock
3163 when we search since searching changes the underlying stream and
3164 thus conflicts with the rendering thread.
3166 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3167 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3168 (ev_view_find_previous): Fix some page indexes to be 0 based,
3169 offset rubber band by view offset,
3171 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3173 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3175 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3177 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3178 completely because I didn't understand GtkActions. I should
3179 read Marco's code more carefully in the future.
3181 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3184 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3186 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3187 PopplerRectangle change from poppler CVS.
3189 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3191 * backend/ev-document.c: (ev_document_get_page_label):
3192 * backend/ev-document.h:
3193 * backend/ev-page-cache.c: (_ev_page_cache_new),
3194 (ev_page_cache_get_page_label):
3195 * backend/ev-page-cache.h:
3196 * pdf/ev-poppler.cc:
3197 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3198 (links_page_num_func):
3199 * shell/ev-sidebar-thumbnails.c:
3200 (ev_sidebar_thumbnails_set_document):
3201 * shell/ev-view.c: (status_message_from_link),
3202 (ev_view_motion_notify_event):
3203 * shell/ev-window.c: (document_supports_sidebar): Add in page
3204 label support. It's not perfect yet, but it's the first 'feature'
3206 Also, fix a bogus comment noticed by crispin.
3208 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3210 * Makefile.am: Remove pixbuf backend for now
3212 * configure.ac: Require poppler-glib instead of just poppler.
3214 * backend/ev-document-thumbnails.h: Add a comment
3216 * backend/ev-document.h:
3217 * backend/ev-document.c: (ev_document_class_init),
3218 (ev_document_load), (ev_document_get_link),
3219 (ev_document_get_links): Remove 3 methods and add get_links.
3222 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3223 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3225 * backend/ev-link.c: (ev_link_set_title),
3226 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3227 (ev_link_mapping_find):
3228 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3230 * backend/ev-page-cache.c: (ev_page_cache_init),
3231 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3232 (ev_page_cache_get_size), (ev_page_cache_next_page),
3233 (ev_page_cache_prev_page): Fix to be 0 based.
3237 * pdf/ev-poppler.cc: New backend.
3239 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3240 (ps_document_get_page), (ps_document_document_iface_init):
3242 * shell/ev-pixbuf-cache.h:
3243 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3244 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3245 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3246 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3247 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3248 Fix up code to grab a page cache per each doc. Also, fix to be 0
3251 * shell/ev-sidebar-thumbnails.c:
3252 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3253 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3255 * shell/ev-view.c: (status_message_from_link),
3256 (find_page_at_location), (get_link_at_location),
3257 (ev_view_motion_notify_event), (ev_view_button_release_event),
3258 (ev_view_init): Use the new link code. Fix to be 0 based.
3260 * shell/ev-window.c: (update_action_sensitivity),
3261 (document_supports_sidebar): 0 based.
3263 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3265 * pdf/pdf-document.cc: Patch from Fernando Herrera
3266 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3269 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3271 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3272 1 to the page, as this seems to be 1 based. I thought we has this
3275 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3278 * backend/Makefile.am:
3279 * backend/ev-document-links.c:
3280 (ev_document_links_has_document_links),
3281 (ev_document_links_get_links_model):
3282 * backend/ev-document-links.h:
3283 * backend/ev-document.c: (ev_document_get_page_cache),
3284 (ev_document_get_doc_mutex), (ev_document_load),
3285 (ev_document_save), (ev_document_get_title),
3286 (ev_document_get_n_pages), (ev_document_set_page),
3287 (ev_document_get_page), (ev_document_set_target),
3288 (ev_document_set_scale), (ev_document_set_page_offset),
3289 (ev_document_get_page_size), (ev_document_get_text),
3290 (ev_document_get_link), (ev_document_render),
3291 (ev_document_render_pixbuf), (ev_document_scale_changed):
3292 * backend/ev-document.h:
3293 * backend/ev-job-queue.c: (remove_object_from_queue),
3294 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3295 (no_jobs_available_unlocked), (ev_render_thread),
3296 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3297 (ev_job_queue_remove_job):
3298 * backend/ev-job-queue.h:
3299 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3300 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3301 (ev_job_links_class_init), (ev_job_render_init),
3302 (ev_job_render_dispose), (ev_job_render_class_init),
3303 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3304 (ev_job_thumbnail_class_init), (ev_job_finished),
3305 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3306 (ev_job_render_run), (ev_job_thumbnail_new),
3307 (ev_job_thumbnail_run):
3308 * backend/ev-jobs.h:
3309 * backend/ev-link.c:
3310 * backend/ev-link.h:
3311 * backend/ev-page-cache.c: (ev_page_cache_init),
3312 (ev_page_cache_class_init), (ev_page_cache_finalize),
3313 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3314 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3315 (ev_page_cache_set_link), (ev_page_cache_get_title),
3316 (ev_page_cache_get_size), (ev_page_cache_next_page),
3317 (ev_page_cache_prev_page):
3318 * backend/ev-page-cache.h:
3319 * pdf/pdf-document.cc:
3322 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3323 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3324 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3325 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3326 (is_interpreter_ready), (output), (catchPipe), (input),
3327 (start_interpreter), (check_filecompressed), (compute_dimensions),
3328 (ps_document_enable_interpreter), (document_load),
3329 (ps_document_next_page), (render_page), (ps_document_set_page),
3330 (ps_document_set_scale), (render_pixbuf_idle),
3331 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3333 * shell/Makefile.am:
3334 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3335 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3336 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3337 (ev_pixbuf_cache_new), (job_finished_cb),
3338 (check_job_size_and_unref), (move_one_job),
3339 (ev_pixbuf_cache_update_range), (find_job_cache),
3340 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3341 (ev_pixbuf_cache_add_jobs_if_needed),
3342 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3343 * shell/ev-pixbuf-cache.h:
3344 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3345 (idle_print_handler):
3346 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3347 (selection_changed_cb), (create_loading_model),
3348 (ev_sidebar_links_construct), (links_page_num_func),
3349 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3350 (update_page_callback), (job_finished_cb),
3351 (ev_sidebar_links_set_document):
3352 * shell/ev-sidebar-thumbnails.c:
3353 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3354 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3355 (page_changed_cb), (thumbnail_job_completed_callback),
3356 (ev_sidebar_thumbnails_set_document):
3357 * shell/ev-sidebar-thumbnails.h:
3358 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3359 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3360 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3361 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3362 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3363 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3364 (ev_view_button_release_event), (ev_view_scroll_view),
3365 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3366 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3367 (ev_view_new), (job_finished_cb), (page_changed_cb),
3368 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3369 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3370 (ev_view_find_previous):
3372 * shell/ev-window.c: (update_action_sensitivity),
3373 (ev_window_open_page), (update_window_title), (update_total_pages),
3374 (page_changed_cb), (ev_window_setup_document),
3375 (password_dialog_response), (ev_window_cmd_save_as),
3376 (ev_window_print), (ev_window_cmd_go_previous_page),
3377 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3378 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3379 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3380 * shell/main.c: (main):
3382 Merge evince-threads branch
3384 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3386 * configure.ac: Added "lt" to ALL_LINGUAS.
3388 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3395 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3397 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3399 Fix here also the thumbnails 1-basedness :)
3401 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3408 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3410 * pdf/pdf-document.cc:
3411 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3412 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3414 Fix the mess we did with thumbnails and 1-basedness
3416 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3418 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3420 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3427 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3430 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3431 (gtk_gs_defaults_get_alpha_parameters),
3432 (gtk_gs_defaults_get_ungzip_cmd),
3433 (gtk_gs_defaults_get_unbzip2_cmd):
3435 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3436 (ps_document_get_orientation), (document_load),
3437 (ps_document_goto_page), (ps_document_set_page_size):
3440 Some more sanitization of the ps backend. Remove a lot
3441 of unused code and do not base our defaults on ggv
3444 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3446 * thumbnailer/evince-thumbnailer.schemas:
3447 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3448 (main): add -s option for thumbnail size.
3450 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3454 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3457 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3459 * pdf/pdf-document.cc:
3461 Remove 4 pixels of useless border from the
3464 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3466 * backend/ev-document-thumbnails.c:
3467 (ev_document_thumbnails_get_thumbnail):
3468 * backend/ev-document-thumbnails.h:
3470 Rework API a bit. Add a border flag and
3471 change sizing logic (now the size we specify
3472 applies to the bigger dimension).
3474 * pdf/pdf-document.cc:
3475 * pixbuf/pixbuf-document.c:
3476 (pixbuf_document_thumbnails_get_thumbnail):
3477 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3478 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3480 Adapt to the new API and do not draw a border for nautilus
3483 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3485 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3486 take thumbnails from page "0" instead of "1". Added a copyright header.
3488 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3490 * ps/ps-document.c: (set_up_page), (start_interpreter):
3492 Make it C89 compliant
3494 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3499 * pdf/pdf-document.cc:
3500 * thumbnailer/Makefile.am:
3501 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3503 * thumbnailer/evince-thumbnailer.schemas:
3504 * thumbnailer/pdf-icon.png:
3506 Add a nautilus thumbnailer.
3507 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3509 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3517 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3519 Use poppler instead of including xpdf source code. Poppler is a
3520 fork of xpdf to build it as a shared library. See
3521 http://freedesktop.org/wiki/Software/poppler.
3523 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3526 * pdf/Makefile.am: Build libpdfdocument.a here.
3528 * pdf/GDKSplashOutputDev.cc:
3529 * pdf/GDKSplashOutputDev.h:
3530 * pdf/GnomeVFSStream.cc:
3531 * pdf/GnomeVFSStream.h:
3534 * test-gdk-output-dev.cc
3536 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3539 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3541 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3543 Clear idle stack before unsetting the document
3545 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3547 * ps/ps-document.c: (ps_document_widget_event),
3548 (ps_document_set_target), (ps_document_finalize),
3549 (ps_document_get_page):
3551 Disconnect the widget event signal on finalize.
3554 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3556 * ps/ps-document.c: (set_up_page):
3558 If there is no bpixmap create one, even if size
3561 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3563 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3564 (set_up_page), (document_load), (ps_document_set_zoom):
3566 Default page is 0. Calculate size even when we have no
3569 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3571 * shell/ev-sidebar.c: expand the selection widget to be always as
3574 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3576 * shell/ev-sidebar-thumbnails.c:
3577 (ev_sidebar_thumbnails_set_document):
3579 Clear the list store when setting document
3581 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3583 * shell/ev-page-action.c: (update_entry), (sync_entry),
3584 (activate_cb), (entry_size_request_cb), (create_tool_item),
3587 Use an entry for the page control instead of spinbuttons
3589 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3591 * data/evince.schemas.in:
3593 Correct confusing string
3595 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3597 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3598 for real. Gosh, how long has this been broken.
3600 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3601 check for a NULL link. We crash otherwise.
3603 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3610 2005-02-25 Sebastien Bacher <seb128@debian.org>
3612 * configure.ac: add the french translation.
3614 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3616 * shell/ev-window.c:
3618 Remove unused header -> fix distcheck
3620 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3622 * shell/ev-window.c: (update_window_title),
3623 (ev_window_popup_password_dialog):
3625 Unescape filename for display
3627 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3629 * pdf/xpdf/pdf-document.cc:
3631 In get_page_size deal with rotation. Also
3632 cleanup the function a bit.
3634 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3636 * pdf/xpdf/pdf-document.cc:
3638 Fix crash when opening in new window
3640 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3644 Check ghostscript >= 7
3646 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3648 * shell/ev-window.c:
3650 Make page width the default sizing mode
3652 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3653 Marco Pesenti Gritti <marco@gnome.org>
3655 * shell/ev-window.c: Remember the sidebar size
3657 * data/evince.schemas.in: Add a new gconf key to store the size of
3660 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3662 * data/evince-ui.xml:
3663 * shell/ev-window.c: (update_action_sensitivity),
3664 (ev_window_cmd_view_reload):
3666 Add a "Reload" action and menu entry
3668 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3670 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3671 iff the type doesn't support thumbnailing and indexing.
3673 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3675 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3677 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3679 * pdf/splash/Splash.cc:
3681 Port fix for a crasher from kde bug
3682 http://bugs.kde.org/show_bug.cgi?id=97131
3684 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3686 * pdf/xpdf/pdf-document.cc:
3688 Return a link even if it's of an unrecognized
3689 type. Otherwise we go in an infinte cycle.
3691 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3693 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3694 (size_allocate_cb), (ev_window_set_sizing_mode):
3696 Update size when switching mode
3698 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3700 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3701 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3702 (ev_window_cmd_view_normal_size):
3704 Fix size toggle buttons behavior
3706 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3708 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3709 (doc_rect_to_view_rect), (ev_view_size_allocate),
3710 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3711 (scale_changed_callback):
3713 Do not cache offsets in size_allocate.
3715 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3717 * shell/ev-view.c: (ev_view_size_allocate):
3719 Calculate offsets before calling the parent
3720 class (which does a redraw)
3722 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3724 * pdf/xpdf/pdf-document.cc:
3726 Fix a crasher on exit. Unused code, put a TODO
3728 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3730 * backend/ev-document.c: (ev_document_class_init),
3731 (ev_document_page_changed), (ev_document_scale_changed):
3732 * backend/ev-document.h:
3734 Separate page/scale notifications
3736 * pdf/xpdf/pdf-document.cc:
3738 Emit the new signals.
3739 Do not display the pdf page in _render, do it
3740 when scale/page are requested.
3742 * ps/ps-document.c: (ps_document_set_zoom),
3743 (ps_document_widget_event):
3746 Emit the new signals.
3748 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3749 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3750 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3751 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3753 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3754 (ev_window_cmd_view_page_width), (size_allocate_cb),
3755 (ev_window_set_sizing_mode):
3757 Rework sizing to be pixel based.
3758 There are bugs but should be already way better.
3760 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3762 * shell/ev-window.c: (ev_window_init):
3764 Do not allow to shrink sidebar smaller then
3767 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3769 * shell/ev-sidebar.[ch]
3770 * shell/ev-window.c:
3772 Improved sidebar widget. Fixes #166683
3774 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3776 * shell/ev-view.c (update_find_status_message): Give translators
3777 more flexibility with ngettext plural handling.
3779 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3781 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3782 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3783 page when we get the page size.
3785 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3787 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3789 ps pages are 0 based, convert
3791 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3793 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3795 Initialize correct parent class. Set GError on document load
3797 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3799 * pdf/xpdf/pdf-document.cc:
3801 Fixup selection offset calculation
3803 * shell/ev-view.c: (view_rect_to_doc_rect),
3804 (doc_rect_to_view_rect), (ev_view_size_allocate),
3805 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3806 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3808 Store selection as document relative, so that zooming
3809 and offset changing doesnt break it.
3811 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3813 * shell/ev-view.c: (ev_view_best_fit):
3815 Do not try to best fit if the view is not realized
3817 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3819 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3821 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3823 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3825 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3827 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3828 the popup window. That prevents it resizing when in full screen
3831 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3832 multiple rerenders. This pretty much sucks.
3834 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3835 rest of the toolbar.
3837 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3839 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3841 2005-02-17 Alexander Shopov <ash@contact.bg>
3843 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3845 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3847 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3849 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3851 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3852 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3853 (set_document_page), (document_changed_callback),
3854 (ev_view_set_document), (ev_view_find_previous),
3855 (ev_view_hide_cursor), (ev_view_show_cursor):
3857 * shell/ev-window.c: (update_chrome_visibility),
3858 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3859 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3860 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3861 (ev_window_unfullscreen):
3862 * shell/main.c: (main):
3864 Automatically hide the fullscreen button.
3865 Patch by Kristian Høgsberg <krh@redhat.com>
3867 2005-02-16 Vincent Noel <vnoel@cox.net>
3869 * shell/main.c (main): Specify an icon for the window. Patch by
3870 Jaap A. Haitsma. Fixes #166177.
3872 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3874 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3876 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3878 * backend/ev-document-misc.h:
3879 * backend/ev-document-misc.c:
3880 (ev_document_misc_get_page_border_size),
3881 (ev_document_misc_paint_one_page): New function to canonicalize
3882 sizing/painting a border.
3884 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3887 * pdf/xpdf/pdf-document.cc: use new function
3889 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3890 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3891 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3892 shell/ev-window.c: (update_sizing_buttons),
3893 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3894 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3895 (ev_window_cmd_view_page_width), (size_allocate_cb),
3896 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3897 and "fit width" values act as toggle buttons so they stay
3898 toggled. It's not 100% perfect, and it's a little slow, but it's
3899 good enough to commit I think.
3901 2005-02-15 David Lodge <dave@cirt.net>
3903 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3905 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3907 * shell/ev-window.c (update_window_title): replace newlines in
3908 the title by spaces. Bug #166107.
3910 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3912 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3913 parameters providing allocation width and height without
3914 scrollbars and width of a possible vertical scrollbar. With this
3915 additional information the functions can work as
3916 intended. Unfortunately they're not idempotent. We should
3917 transform these commands to toggles. Fixes Bug #164976
3918 Initial patch by Stephane Loeuillet, then heavily modified.
3920 * shell/ev-view.h: update prototypes.
3922 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3923 (ev_window_cmd_view_page_width): provide EvView fit functions with
3924 all the information they need. Formulas to calculate this
3925 information taken from GtkScrolledWindow.
3927 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3929 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3930 created a thumbnail, the list store is updated to know
3931 that the thumbnail is set. Fixes bug #166792
3933 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3935 * shell/ev-window.c: fixed typo, closes bug 166897
3937 * TODO: updated TODO with bug numbers that are relevant
3939 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3941 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3943 2005-02-09 Vincent Noel <vnoel@cox.net>
3945 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3946 and "Next" toolbar buttons as important to make them stand out.
3948 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3952 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3953 (start_interpreter), (stop_interpreter), (document_load),
3954 (ps_document_next_page), (ps_document_goto_page),
3955 (ps_document_set_page_size), (ps_document_widget_event),
3956 (ps_document_render):
3957 * shell/ev-page-view.c: (ev_page_view_dispose):
3958 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3960 Fix compilation on non-gcc platforms
3962 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3969 * pdf/xpdf/Catalog.cc:
3972 Fix the fix for CAN-2004-0888
3974 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3977 * data/evince-ui.xml:
3978 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3979 * shell/ev-stock-icons.h:
3980 * shell/ev-window.c: (update_action_sensitivity),
3981 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3982 (set_action_properties):
3984 Improve toolbar layout/icons
3986 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3988 * pdf/xpdf/pdf-document.cc:
3990 Add warnings about unimplemented/unknown link
3993 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3995 * ps/ps-document.c: (set_up_page):
3999 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4001 * ps/ps-document.c: (start_interpreter):
4005 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4007 * shell/ev-page-view.c: (ev_page_view_dispose):
4008 * shell/ev-view.c: (ev_view_finalize):
4009 * shell/ev-window.c: (ev_window_setup_document),
4010 (ev_window_dispose), (ev_window_init):
4012 Solve more refs issues.
4014 I commented out the page_view initialization for now:
4015 it was never destroyed (because it's never added
4016 to a container). Because of that we was leaking
4017 gs processes. Couldnt think to a clean fix.
4018 We need to figure this out, password view has the
4019 same issue probably.
4021 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4023 * ps/ps-document.c: (ps_document_finalize),
4024 (ps_document_get_n_pages), (ps_document_get_page):
4026 Some cleanups, stop the interpreter on finalize
4028 * shell/ev-page-view.c: (ev_page_view_dispose),
4029 (ev_page_view_class_init):
4031 Release our reference on the document
4033 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4037 * doc/debugging.txt:
4040 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4041 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4042 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4045 Add debugging helpers
4048 * ps/ps-document.c: (set_up_page), (start_interpreter),
4049 (stop_interpreter), (document_load), (ps_document_next_page),
4050 (ps_document_goto_page), (ps_document_set_page_size),
4051 (ps_document_widget_event), (ps_document_render):
4052 * shell/Makefile.am:
4053 * shell/ev-view.c: (expose_bin_window):
4054 * shell/main.c: (main):
4058 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4060 * ps/ps-document.c: (ps_document_widget_event):
4062 Initialize message_window, this should make ps
4063 rendering really work! (Never noticed because I was
4064 testing with a ps that is causing gs to exit every time!)
4066 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4068 * data/evince.schemas.in: updated simple error in applyto closing tag
4070 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4076 * data/evince-ui.xml:
4077 A data/evince.schemas.in:
4079 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4080 * shell/ev-stock-icons.h:
4081 * shell/ev-window.c: (update_chrome_visibility),
4082 (update_chrome_flag), (ev_window_cmd_edit_find),
4083 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4084 (ev_window_unfullscreen), (ev_window_focus_in_event),
4085 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4086 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4087 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4088 (ev_window_dispose), (ev_window_class_init),
4089 (set_action_properties), (set_chrome_actions), (load_chrome),
4092 Implement fullscreen mode changes from bug #164776.
4093 Also implement persistent chrome toggles.
4095 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4097 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4099 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4105 Add another check for find interface
4109 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4111 * shell/ev-application.c: (ev_application_open):
4112 * shell/ev-window.c: (ev_window_open):
4114 Open gzipped ps documents
4116 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4119 * shell/ev-view.c: (set_document_page):
4121 Clamp page number, dont try to move to
4124 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4126 * backend/ev-document-find.c: (ev_document_find_changed):
4127 * backend/ev-document-find.h:
4128 * pdf/xpdf/pdf-document.cc:
4129 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4130 * shell/ev-window.c: (find_bar_search_changed_cb):
4132 Fix several bugs with find
4134 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4136 * shell/ev-sidebar-thumbnails.c
4137 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4138 document. Prevents warning from scroll_to_cell.
4140 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4142 * configure.ac: Add «nb» to ALL_LINGUAS too.
4144 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4146 * NOTES: New file with some random thoughts.
4150 * backend/ev-document-misc.c:
4151 (ev_document_misc_get_page_border_size): New function to
4152 canonicalize shadow drawing sizes. Possibly goofy.
4154 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4155 (ev_view_best_fit), (ev_view_fit_width):
4156 * pdf/xpdf/pdf-document.cc:
4157 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4158 * ps/ps-document.c: (ps_document_get_page_size):
4159 * backend/ev-document-misc.h:
4160 * backend/ev-document.c: (ev_document_get_page_size):
4161 * backend/ev-document.h: get_page_size now takes a page number
4162 parameter. Made all the backends/frontends honor it.
4164 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4165 see. Doesn't work yet.
4167 * shell/Makefile.am:
4168 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4169 Doesn't do anything yet.
4171 * shell/ev-sidebar-thumbnails.c:
4172 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4175 * shell/ev-window.c: (update_action_sensitivity),
4176 (ev_window_setup_document), (ev_window_set_page_mode),
4177 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4178 view-swapping code a bit so we can have multiple views on a
4179 document. Add the multi-page view, though it can't be turned on
4182 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4184 * shell/ev-application.c: (ev_application_open):
4185 * shell/ev-view.c: (expose_bin_window):
4186 * shell/ev-window.c: (ev_window_open):
4188 Support eps and check document supports find
4189 before drawing highlightings in expose.
4191 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4193 * pixbuf/pixbuf-document.c:
4194 (pixbuf_document_thumbnails_get_dimensions),
4195 (pixbuf_document_document_thumbnails_iface_init):
4197 implement get_dimensions
4199 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4206 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4208 * shell/ev-view.c: (set_document_page):
4210 Scroll at the top of the page when changing page
4212 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4214 * shell/ev-view.c: (ev_view_motion_notify_event):
4216 Do not redraw unnecessarily
4218 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4220 * pdf/xpdf/pdf-document.cc:
4221 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4222 (expose_bin_window), (find_changed_cb):
4224 Yay! find works now... Now to find bugs...
4226 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4228 * backend/ev-document-find.c: (ev_document_find_base_init),
4229 (ev_document_find_changed):
4230 * backend/ev-document-find.h:
4231 * pdf/xpdf/pdf-document.cc:
4232 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4233 (expose_bin_window), (ev_view_init), (set_document_page),
4234 (ensure_rectangle_is_visible), (jump_to_find_result),
4235 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4236 (ev_view_find_next), (ev_view_find_previous):
4238 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4240 More work on find implementation, mostly there now
4242 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4244 * backend/ev-backend-marshalers.list:
4245 * backend/ev-document-find.c: (ev_document_find_base_init),
4246 (ev_document_find_cancel), (ev_document_find_page_has_results),
4247 (ev_document_find_get_n_results), (ev_document_find_get_result),
4248 (ev_document_find_get_progress), (ev_document_find_changed):
4249 * backend/ev-document-find.h:
4251 Enanche the find interface to be really able to do
4254 * pdf/xpdf/pdf-document.cc:
4258 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4259 (expose_bin_window), (ev_view_init),
4260 (ev_view_get_find_status_message), (find_changed_cb),
4261 (ev_view_set_document), (set_document_page):
4263 Adapt to the new interface. A few things are regressed sorry,
4264 I will finish it soon.
4266 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4268 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4269 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4270 ev_sidebar_thumbnails_parent_class variable, don't define another
4271 parent_class variable.
4273 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4274 (ev_page_action_class_init): ditto.
4276 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4277 (pixbuf_document_class_init): ditto.
4279 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4282 * .cvsignore: ignore various valgrind output files.
4284 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4286 * data/evince-ui.xml:
4287 * shell/Makefile.am:
4288 * shell/ev-history.c:
4289 * shell/ev-history.h:
4290 * shell/ev-navigation-action.c:
4291 * shell/ev-navigation-action.h:
4292 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4293 (ev_view_set_page), (ev_view_fit_width):
4295 * shell/ev-window.c: (update_action_sensitivity),
4296 (ev_window_setup_document), (register_custom_actions):
4298 Kill session history
4300 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4302 * shell/ev-window.c: (update_action_sensitivity):
4304 Fix inverted up/down buttons
4306 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4308 * shell/ev-sidebar-thumbnails.c
4309 (ev_sidebar_thumbnails_select_page): make sure the selected
4310 thumbnail stays visible.
4312 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4314 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4315 scrolled window for Federico.
4317 2005-01-26 Ole Laursen <olau@hardworking.dk>
4319 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4321 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4324 * pdf/splash/SplashFTFontEngine.cc:
4326 Fix CID fonts with freetype 2.1.9
4328 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4330 * TODO: added item for desktop icon thumbnailer
4332 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4334 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4335 unloaded docs when the title is accessed.
4337 * shell/ev-password-view.[hc]: New widget for displaying password
4340 * shell/ev-window.[ch]: Refactor password handling code to handle
4343 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4351 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4353 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4354 ignore page offset here, to make search results independent of it,
4356 * shell/ev-view.c (expose_bin_window): but take offsets into
4357 account here. Bug #164932
4359 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4360 scale at the right time. Bug #164996
4362 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4364 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4365 fix the problem. Now I just removed the Adobe font names and hope
4366 that the URW fonts are always in outline format. Bug #164934
4368 * shell/ev-window.c (update_window_title): empty titles are
4369 useless, use filename in that case too.
4371 * NEWS: Add some content.
4373 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4375 * TODO: added one more TODO item and a TODONE section :)
4377 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4379 * ps/ps-document.h: add page_[xy]_offset fields.
4381 * ps/ps-document.c (ps_document_set_page_offset)
4382 (ps_document_render): Keep offset in consideration in a few
4383 places. Bug #164752 "postscript documents are not centered in
4386 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4387 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4389 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4390 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4391 stub out missing methods for complete EvDocument implementation.
4392 Fixes segfaults with Save A Copy and Copy actions.
4394 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4395 (ps_document_document_iface_init): ditto.
4397 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4401 * data/evince.desktop.in:
4405 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4407 * shell/ev-view.c: (ev_view_button_press_event),
4408 (ev_view_motion_notify_event):
4410 Make selection work in any direction
4412 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4415 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4417 Use shorter labels for some of the toolbars items
4419 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4421 * pdf/xpdf/pdf-document.cc:
4423 Check the links info is initialized before
4424 using it. Should fix a crash on startup.
4426 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4428 * pixbuf/pixbuf-document.c
4429 (pixbuf_document_thumbnails_get_dimensions): force floating point
4430 division to calculate page_ratio. Fixes crash with landscape
4433 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4435 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4437 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4439 * shell/ev-view.c (set_document_page): unset has_selection when
4441 (set_document_page): handle paper size changes when the page
4442 changes (test with Free Culture, page 2).
4444 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4446 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4447 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4449 Use normal style color for the widget background and
4450 draw a black box around the page.
4452 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4454 * pdf/xpdf/pdf-document.cc:
4456 Keep offset in consideration in a few places
4458 * shell/ev-view.c: (expose_bin_window):
4460 Set the offsets so that the document is ever centered
4462 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4464 * TODO: Added TODO items and finished off the first todo item
4466 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4467 reflect current authors
4469 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4471 * pdf/xpdf/pdf-document.cc:
4472 * shell/ev-view.c: (ev_view_set_cursor),
4473 (ev_view_motion_notify_event), (document_changed_callback),
4474 (set_document_page):
4476 Show a wait cursor while the page is rendering
4478 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4480 * shell/ev-sidebar-thumbnails.c:
4481 (ev_sidebar_tree_selection_changed),
4482 (ev_sidebar_thumbnails_select_page):
4483 * shell/ev-sidebar-thumbnails.h:
4484 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4485 (ev_view_can_go_forward):
4486 * shell/ev-window.c: (ev_window_open_page),
4487 (ev_window_setup_document), (update_current_page),
4488 (view_page_changed_cb), (ev_window_init):
4489 * shell/ev-window.h:
4491 Ensure thumbnails selection, toolbar page control and
4492 current page are in sync.
4494 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4500 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4502 * backend/Makefile.am:
4503 * backend/ev-document-links.h:
4504 * backend/ev-document-security.c: (ev_document_security_get_type),
4505 (ev_document_security_has_document_security),
4506 (ev_document_security_set_password):
4507 * backend/ev-document-security.h:
4508 * backend/ev-document.c: (ev_document_error_quark):
4509 * backend/ev-document.h:
4511 * data/evince-password.glade:
4512 * pdf/xpdf/pdf-document.cc:
4513 * shell/Makefile.am:
4514 * shell/ev-password.c: (ev_password_set_bad_password_label),
4515 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4516 (ev_password_dialog_get_password),
4517 (ev_password_dialog_set_bad_pass):
4518 * shell/ev-password.h:
4519 * shell/ev-window.c: (ev_window_get_attribute),
4520 (ev_window_set_property), (update_action_sensitivity),
4521 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4522 (ev_window_setup_document), (ev_window_get_password),
4523 (ev_window_open), (ev_window_cmd_save_as),
4524 (using_postscript_printer), (ev_window_print),
4525 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4526 (update_fullscreen_popup), (ev_window_fullscreen),
4527 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4528 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4529 (menu_item_select_cb), (find_bar_search_changed_cb),
4530 (ev_window_dispose), (ev_window_init):
4532 Add initial support for password-supported dialogs. This could be
4533 a lot cooler, but it'll do for now.
4535 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4537 * pdf/xpdf/pdf-document.cc:
4538 * shell/ev-view.c: (status_message_from_link),
4539 (ev_view_set_status), (ev_view_set_cursor),
4540 (ev_view_motion_notify_event), (ev_view_init):
4541 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4543 Fix bugs in the links implementation and change cursor
4544 when hovering a link.
4546 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4548 * viewer/.cvsignore: added cvsignore file for viewer directory
4550 * TODO: created TODO document
4552 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4555 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4556 new functions to help with implementation of sensitivity code
4557 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4558 of all actions that might require it. Fixes a crash when you
4559 click on the Zoom actions in a window lacking a document.
4561 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4563 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4566 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4568 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4569 (pixbuf_document_document_iface_init):
4570 * ps/ps-document.c: (ps_document_get_link),
4571 (ps_document_document_iface_init):
4572 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4573 (status_message_from_link), (ev_view_set_status),
4574 (ev_view_set_find_status), (ev_view_motion_notify_event),
4575 (ev_view_button_release_event), (ev_view_set_property),
4576 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4577 (ev_view_get_find_status_message), (update_find_results),
4578 (ev_view_get_status), (ev_view_get_find_status):
4580 * shell/ev-window.c: (view_status_changed_cb),
4581 (view_find_status_changed_cb), (ev_window_init):
4583 View status message support, use it to show the links.
4586 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4588 * backend/ev-document.c: (ev_document_get_link):
4589 * backend/ev-document.h:
4590 * pdf/xpdf/pdf-document.cc:
4591 * shell/ev-application.c: (ev_application_open):
4592 * shell/ev-application.h:
4593 * shell/ev-sidebar-links.c: (selection_changed_cb):
4594 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4595 (ev_view_go_to_link):
4597 Add support for document links
4599 2005-01-13 Anders Carlsson <andersca@gnome.org>
4601 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4603 Set the spin button limits correctly.
4605 * shell/ev-sidebar-thumbnails.c:
4606 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4607 Support changing pages by clicking on the thumbnails.
4609 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4611 * pixbuf/pixbuf-document.c:
4612 (pixbuf_document_thumbnails_get_dimensions),
4613 (pixbuf_document_document_thumbnails_iface_init):
4615 implement get_dimensions
4617 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4619 * ps/ps-document.c: (ps_document_goto_page):
4621 Fix page switching on multipage documents
4623 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4625 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4627 check for NULL before assigning to width and height parameters
4629 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4631 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4632 (pixbuf_document_set_property), (pixbuf_document_get_property):
4634 implement get/set properties
4636 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4638 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4640 return NULL instead of "Unknown", letting the title get set to
4641 the filename when the pdf has no title.
4643 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4645 * ps/ps-document.c: (ps_document_get_page_count),
4646 (ps_document_goto_page):
4648 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4650 * shell/ev-history.c: (ev_history_get_property),
4651 (ev_history_set_property), (ev_history_class_init),
4652 (ev_history_add_page), (ev_history_set_current_index):
4653 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4654 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4655 (ev_navigation_action_finalize):
4656 * shell/ev-navigation-action.h:
4657 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4658 (ev_view_go_forward), (ev_view_get_find_status_message),
4659 (history_index_changed_cb), (ev_view_set_history):
4661 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4662 (update_current_page), (register_custom_actions):
4664 Implement history dropdowns
4666 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4668 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4669 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4670 (ev_view_go_forward):
4671 * shell/ev-window.c: (register_custom_actions):
4673 Fix several history bugs
4675 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4677 * configure.ac: Add «nb» to ALL_LINGUAS.
4679 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4681 * backend/Makefile.am:
4682 * backend/ev-bookmark.c:
4683 * backend/ev-bookmark.h:
4684 * backend/ev-document-bookmarks.c:
4685 * backend/ev-document-bookmarks.h:
4686 * backend/ev-document-links.c: (ev_document_links_get_type),
4687 (ev_document_links_has_document_links),
4688 (ev_document_links_begin_read), (ev_document_links_get_link),
4689 (ev_document_links_get_child), (ev_document_links_next),
4690 (ev_document_links_free_iter):
4691 * backend/ev-document-links.h:
4692 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4693 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4694 (ev_link_get_link_type), (ev_link_set_link_type),
4695 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4696 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4697 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4698 (ev_link_new_external):
4699 * backend/ev-link.h:
4700 * pdf/xpdf/pdf-document.cc:
4701 * shell/Makefile.am:
4702 * shell/ev-application.c: (ev_application_open_link):
4703 * shell/ev-application.h:
4704 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4705 (ev_history_get_link_nth):
4706 * shell/ev-history.h:
4707 * shell/ev-sidebar-bookmarks.c:
4708 * shell/ev-sidebar-bookmarks.h:
4709 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4710 (ev_sidebar_links_class_init), (selection_changed_cb),
4711 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4712 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4713 (do_one_iteration), (populate_links_idle),
4714 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4715 * shell/ev-sidebar-links.h:
4716 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4717 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4720 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4721 * shell/ev-window.h:
4723 Rename bookmark to link, and use "Index" for the sidebar panel.
4725 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4727 * shell/Makefile.am:
4728 * shell/ev-application.c: (ev_application_open_bookmark):
4729 * shell/ev-application.h:
4730 * shell/ev-history.c: (ev_history_init), (free_links_list),
4731 (ev_history_finalize), (ev_history_class_init),
4732 (ev_history_add_link), (ev_history_add_page),
4733 (ev_history_get_link_nth), (ev_history_get_n_links),
4734 (ev_history_get_current_index), (ev_history_set_current_index),
4736 * shell/ev-history.h:
4737 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4738 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4739 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4740 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4743 * shell/ev-window.c: (ev_window_open_bookmark),
4744 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4745 (goto_page_cb), (register_custom_actions):
4746 * shell/ev-window.h:
4748 Initial history implementation. Needs work.
4750 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4752 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4754 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4756 * cut-n-paste/recent-files/egg-recent-item.c:
4757 * cut-n-paste/recent-files/egg-recent-item.h:
4758 * cut-n-paste/recent-files/egg-recent-model.c:
4759 * cut-n-paste/recent-files/egg-recent-util.c:
4760 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4761 * cut-n-paste/recent-files/egg-recent-view.c:
4765 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4767 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4768 (fillGlyph, fillImageMask, drawImage):
4769 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4770 pdf/splash/SplashTypes.h:
4771 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4772 packed mode for Splash.
4774 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4775 RGB8 packed mode, eliminates the pixbuf data creation loop.
4777 * shell/ev-print-job.c (ev_print_job_finalize)
4778 (ev_print_job_set_property, ev_print_job_get_property)
4779 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4780 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4781 (print_closure_finalize, ev_print_job_print): implement
4782 printing (for backends with EvPsExporter)
4784 * shell/ev_print_job.h: update prototypes.
4786 * shell/ev-window.c (ev_window_print): unref print job after
4789 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4790 unless the document implements the EvDocumentFind interface.
4792 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4794 * configure.ac: Added ja to ALL_LINGUAS.
4796 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4798 * pdf/xpdf/pdf-document.cc:
4800 add a FIXME. We should probably not allocate
4801 a bookmark object every time
4803 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4805 * shell/ev-application.c: (ev_application_open),
4806 (ev_application_open_bookmark):
4807 * shell/ev-application.h:
4809 Add a way to open bookmarks
4811 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4812 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4813 (ev_bookmark_set_property), (ev_bookmark_class_init),
4814 (ev_bookmark_new_title), (ev_bookmark_new_link),
4815 (ev_bookmark_new_external):
4817 Support for external uris, better constructors.
4819 * backend/ev-bookmark.h:
4820 * pdf/xpdf/pdf-document.cc:
4821 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4823 Handle external uris
4825 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4827 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4828 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4830 Hook up bookmarks navigation
4832 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4834 * backend/Makefile.am:
4835 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4836 (ev_bookmark_get_title), (ev_bookmark_set_title),
4837 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4838 (ev_bookmark_get_page), (ev_bookmark_set_page),
4839 (ev_bookmark_get_property), (ev_bookmark_set_property),
4840 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4842 * backend/ev-bookmark.h:
4843 * backend/ev-document-bookmarks.c:
4844 (ev_document_bookmarks_get_bookmark):
4845 * backend/ev-document-bookmarks.h:
4846 * pdf/xpdf/pdf-document.cc:
4847 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4849 Add a bookmark object to the backend and use it instead of get_values
4851 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4853 * data/evince-ui.xml:
4855 Cleanup and add select all.
4857 * shell/ev-view.c: (ev_view_select_all),
4858 (ev_view_button_press_event):
4860 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4863 Clear selection on click.
4865 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4867 * shell/ev-sidebar-thumbnails.c
4868 (ev_sidebar_thumbnails_set_document): forgot to unref the
4871 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4873 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4874 at the visible page, not just linearly. This makes it look fast.
4876 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4878 * backend/ev-document-misc.c
4879 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4881 * backend/ev-document-thumbnails.h: New interface to get the size
4884 2005-01-06 Jeremy Katz <katzj@redhat.com>
4886 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4889 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4891 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4892 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4895 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4897 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4899 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4900 fonts. Should fix font problems on systems that have the base
4901 fonts in bitmap format. Reported by James Henstridge
4902 <james@jamesh.id.au>.
4904 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4907 * pdf/xpdf/GfxState.cc:
4909 Fix for CAN-2004-1125
4911 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4913 * shell/ev-view.c: (ev_view_copy):
4915 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4917 Implement Edit->Copy
4919 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4921 * backend/ev-document.c: (ev_document_get_text):
4922 * backend/ev-document.h:
4923 * pdf/xpdf/pdf-document.cc:
4924 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4925 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4926 (ev_view_update_primary_selection), (ev_view_button_press_event),
4927 (ev_view_motion_notify_event), (ev_view_button_release_event):
4929 Beginnings of clipboard support. Incomplete but primary sort
4932 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4934 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4935 (expose_bin_window):
4937 Nicer rubberband drawing, from GtkIconView.
4939 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4941 * backend/ev-document.c: (ev_document_save):
4942 * backend/ev-document.h:
4943 * data/evince-ui.xml:
4944 * pdf/xpdf/pdf-document.cc:
4945 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4947 Implement "Save a copy..." menu item
4949 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4951 * shell/ev-view.c: (ev_view_zoom):
4953 Queue a resize when zoom changes
4955 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4957 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4960 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4963 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4965 * pdf/xpdf/pdf-document.cc
4966 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4968 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4970 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4971 It's slow, but I'll speed it up next!
4973 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4975 * shell/main.c (load_files):
4977 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4978 from the command line and because it seems more appropriate.
4980 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4982 * data/evince-ui.xml:
4983 * shell/ev-window.c: (update_action_sensitivity),
4984 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4986 s/next page/page down
4987 s/previous page/page up
4989 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4991 * data/evince-ui.xml:
4993 Change the layout to match clarkbw design.
4995 * shell/Makefile.am:
4996 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4997 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4998 (ev_navigation_action_finalize),
4999 (ev_navigation_action_set_property),
5000 (ev_navigation_action_get_property),
5001 (ev_navigation_action_class_init):
5002 * shell/ev-navigation-action.h:
5004 Implement clarkbw toolbar navigation controls (incomplete)
5006 * shell/ev-page-action.c: (update_label), (update_spin),
5007 (value_changed_cb), (create_tool_item), (connect_proxy),
5008 (ev_page_action_init), (ev_page_action_finalize),
5009 (ev_page_action_set_property), (ev_page_action_get_property),
5010 (ev_page_action_set_current_page),
5011 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5012 * shell/ev-page-action.h:
5014 Implement a page switcher in the toolbar
5016 * shell/ev-view.c: (ev_view_scroll_view):
5017 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5018 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5019 (register_custom_actions), (ev_window_init):
5021 Change page on PageUp/Down.
5023 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5025 * pdf/xpdf/pdf-document.cc
5026 (pdf_document_thumbnails_get_thumbnail): initial stab at
5027 implementing thumbnail support for pdfs. It only does documents
5028 with precached pdfs now.
5030 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5032 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5033 thumbnail code into a time-based idle as well. Also, turn off the
5034 shadow temporarily as it's really slow.
5036 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5038 * backend/ev-document.c: (ev_document_class_init):
5039 * pdf/xpdf/pdf-document.cc:
5040 * shell/ev-window.c: (ev_window_open):
5042 Fix document title bugs and fallback to
5043 filename when not available.
5045 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5047 * backend/ev-document.c: (ev_document_get_type),
5048 (ev_document_class_init), (ev_document_load),
5049 (ev_document_get_title):
5050 * backend/ev-document.h:
5051 * pdf/xpdf/pdf-document.cc:
5052 * ps/ps-document.c: (ps_document_set_property),
5053 (ps_document_get_property), (ps_document_class_init),
5057 * shell/ev-window.c: (update_window_title), (ev_window_open),
5060 Initial support for document title. Not working yet.
5062 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5064 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5066 Grab focus on the view when clicking it
5068 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5070 * shell/ev-marshal.list:
5071 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5072 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5074 Add key bindings to the view. Now if the focus would work
5077 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5080 * backend/Makefile.am:
5083 * dvi/dvilib/Makefile.am:
5084 * pdf/xpdf/Makefile.am:
5090 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5092 * shell/ev-view.c: (ev_view_realize):
5094 Fix mouse wheel scrolling
5096 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5102 * ps/ps-document.c: (catchPipe), (ps_document_init),
5103 (ps_document_class_init), (ps_document_cleanup),
5104 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5105 (set_up_page), (close_pipe), (is_interpreter_ready),
5106 (interpreter_failed), (output), (input), (start_interpreter),
5107 (stop_interpreter), (file_length), (file_readable),
5108 (check_filecompressed), (check_pdf), (compute_xdpi),
5109 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5110 (ps_document_get_type), (ps_document_emit_error_msg),
5111 (document_load), (ps_document_next_page),
5112 (ps_document_get_current_page), (ps_document_get_page_count),
5113 (ps_document_goto_page), (ps_document_set_page_size),
5114 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5115 (ps_document_load), (ps_document_get_n_pages),
5116 (ps_document_set_page), (ps_document_get_page),
5117 (ps_document_widget_event), (ps_document_set_target),
5118 (ps_document_set_scale), (ps_document_set_page_offset),
5119 (ps_document_get_page_size), (ps_document_render),
5120 (ps_document_document_iface_init):
5123 * shell/ev-window.c: (ev_window_open):
5125 Rename GtkGS to PSDocument
5127 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5129 * ps/gtkgs.c: (gtk_gs_class_init):
5132 Some more leftover...
5134 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5136 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5137 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5138 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5141 Remove unused code and make a lot of stuff private
5143 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5145 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5146 (gtk_gs_defaults_changed):
5152 Cleanup headers dependencies
5154 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5159 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5161 * ps/gtkgs.c: (file_length), (file_readable),
5162 (check_filecompressed), (check_pdf), (gtk_gs_load),
5163 (gtk_gs_get_postscript):
5167 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5172 * ps/gtkgs.c: (gtk_gs_set_zoom):
5176 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5178 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5180 Ensure the page is rerendered when changing zoom
5182 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5184 * backend/ev-document.c: (ev_document_base_init),
5185 (ev_document_changed):
5186 * backend/ev-document.h:
5188 Add a changed event that is emitted when the page content
5189 changes. This is necessary to deal with the fact that
5190 in ps backend rendering happen asycrounously.
5191 This makes the ps backend mostly work.
5193 * pdf/xpdf/pdf-document.cc:
5197 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5198 (ps_document_set_target):
5202 * shell/ev-view.c: (document_changed_callback),
5203 (ev_view_set_document), (ev_view_set_page):
5205 Redraw on the changed signal
5207 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5209 * configure.ac: Added pt_BR to ALL_LINGUAS.
5211 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5213 * backend/ev-document-bookmarks.c:
5214 (ev_document_bookmarks_get_child): *
5215 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5216 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5217 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5218 (ev_sidebar_bookmarks_destroy),
5219 (ev_sidebar_bookmarks_class_init),
5220 (ev_sidebar_bookmarks_construct), (stack_data_free),
5221 (do_one_iteration), (populate_bookmarks_idle),
5222 (ev_sidebar_bookmarks_clear_document),
5223 (ev_sidebar_bookmarks_set_document): *
5224 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5225 (ev_sidebar_add_page),
5226 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5227 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5228 it displays both the topics and the page numbers.
5230 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5232 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5234 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5237 2004-12-23 Adam Weinberger <adamw@gnome.org>
5239 * configure.ac: Added en_CA to ALL_LINGUAS.
5241 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5243 * ChangeLog: replace bottom of this ChangeLog (merged history of
5244 ggv and gpdf; where all paths were wrong and most of the files are
5245 not even in this tree) with ChangeLog (from arch) of the shell
5248 2004-12-23 Havoc Pennington <hp@redhat.com>
5250 * shell/ev-window.c: hook up potentially-questionable "find
5251 results status text" feature - something involving the sidebar or
5252 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5253 might be better in the end.
5255 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5256 with corresponding signal when it should be updated
5258 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5260 2004-12-22 Havoc Pennington <hp@redhat.com>
5262 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5263 find stuff on other pages, sort of (only returns one result on
5264 invisible pages, to show they have results; updates full results
5265 for a page when you view it). Currently repaints the current page
5266 every time a new result is found on any page, which isn't so nice.
5268 2004-12-22 Havoc Pennington <hp@redhat.com>
5270 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5271 the document doesn't support find (better ideas?)
5272 (find_bar_search_changed_cb): handle missing document or document
5273 that doesn't support find
5275 * pdf/xpdf/pdf-document.cc: port to implement the new
5278 * backend/ev-document-find.c: create a new interface for searching
5280 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5282 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5284 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5287 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5288 EvPrintJob constructor arguments.
5290 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5291 for documents that can export PostScript (page by page).
5293 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5295 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5296 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5297 (pdf_document_ps_exporter_iface_init:
5298 Implement EvPSExporter.
5300 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5302 2004-12-22 Anders Carlsson <andersca@gnome.org>
5304 * backend/Makefile.am:
5305 * backend/ev-document-thumbnails.c:
5306 (ev_document_thumbnails_get_type),
5307 (ev_document_thumbnails_get_thumbnail):
5308 * backend/ev-document-thumbnails.h:
5309 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5310 (pixbuf_document_thumbnails_get_thumbnail),
5311 (pixbuf_document_document_thumbnails_iface_init):
5312 * shell/Makefile.am:
5313 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5314 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5315 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5316 * shell/ev-sidebar-thumbnails.h:
5317 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5318 (ev_sidebar_set_document):
5319 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5320 (create_shadow), (ev_pixbuf_add_shadow):
5322 Add thumbnail support.
5324 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5326 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5327 (using_postscript_printer): Set up a print dialog for "PostScript
5330 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5333 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5335 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5337 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5338 (ps_document_set_target), (ps_document_get_page_size),
5339 (ps_document_render):
5344 2004-12-22 Christian Rose <menthos@menthos.com>
5346 * configure.ac: Added "sv" to ALL_LINGUAS.
5348 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5350 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5351 document supports bookmarks.
5353 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5355 * ps/ggvutils.c: (ggv_file_readable):
5357 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5358 (gtk_gs_get_postscript):
5362 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5364 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5365 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5366 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5367 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5368 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5369 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5370 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5371 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5372 (gtk_gs_set_antialiasing), (ps_document_load),
5373 (ps_document_render):
5376 Another check point for the ps backend. Now I can get it to show
5379 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5381 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5382 document setting code.
5384 2004-12-22 Anders Carlsson <andersca@gnome.org>
5386 * shell/eggfindbar.c: (entry_activate_callback):
5387 Animate the next button when activate is pressed.
5389 2004-12-22 Anders Carlsson <andersca@gnome.org>
5391 * shell/ev-window.c: (ev_window_cmd_edit_find),
5392 (update_fullscreen_popup), (ev_window_fullscreen),
5393 (ev_window_unfullscreen), (ev_window_state_event_cb),
5394 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5395 Fix bugs in fullscreen code.
5397 2004-12-22 Anders Carlsson <andersca@gnome.org>
5401 * pixbuf/Makefile.am:
5402 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5403 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5404 (pixbuf_document_set_page), (pixbuf_document_get_page),
5405 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5406 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5407 (pixbuf_document_render), (pixbuf_document_begin_find),
5408 (pixbuf_document_end_find), (pixbuf_document_finalize),
5409 (pixbuf_document_class_init),
5410 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5411 * pixbuf/pixbuf-document.h:
5412 * shell/Makefile.am:
5413 * shell/ev-application.c: (ev_application_open):
5414 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5418 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5421 * dvi/dvilib/Makefile.am:
5423 * configure.ac: Auto*ify dvi and dvi/dvilib
5425 * dvi/Makefile: Remove from CVS
5427 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5430 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5432 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5434 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5437 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5438 (gtk_gs_value_adjustment_changed), (compute_size),
5439 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5440 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5441 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5442 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5443 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5444 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5445 (ps_document_load), (ps_document_get_n_pages),
5446 (ps_document_set_page), (ps_document_get_page),
5447 (ps_document_set_target), (ps_document_set_scale),
5448 (ps_document_set_page_offset), (ps_document_get_page_size),
5449 (ps_document_render), (ps_document_begin_find),
5450 (ps_document_end_find), (ps_document_document_iface_init):
5452 * shell/Makefile.am:
5453 * shell/ev-window.c: (ev_window_open):
5455 Some work to integrate gtkgs with EvDocument
5457 2004-12-22 Anders Carlsson <andersca@gnome.org>
5459 * shell/ev-window.c: (update_fullscreen_popup),
5460 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5461 (exit_fullscreen_button_clicked_cb),
5462 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5463 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5464 (ev_window_state_event_cb), (ev_window_init):
5465 Add fullscreen support from Epiphany.
5467 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5469 * data/ev-stock-zoom-fit-width.png: fit-width
5470 stock icon from gpdf.
5472 * shell/ev-stock-icons.[ch]: copied from gpdf.
5474 * shell/main.c: (main): init stock icons.
5476 * shell/ev-window.c: use the fit-width icon.
5478 * data/evince-ui.xml: add zooming toolbar items.
5480 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5483 (ev_view_best_fit), (ev_view_fit_width): because
5484 get_page_size() returns the scaled page size, we
5485 need to calculate the scale factor relative to
5486 the previous scale factor. Should really just
5487 add get_real_page_size().
5489 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5491 * shell/ev-view.[ch]:
5492 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5493 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5496 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5497 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5498 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5501 * pdf/xpdf/pdf-document.cc:
5502 (pdf_document_begin_find),
5503 (pdf_document_end_find): make static.
5505 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5507 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5509 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5510 names to fontconfig patterns.
5511 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5513 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5516 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5532 Import ggv backend. Not hooked up yet.
5534 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5536 * shell/main.c: (load_files), (main): load files
5537 from the command line.
5539 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5541 * configure.ac: don't require bonobo.
5543 * cut-n-paste/recent-files/*: kill bonobo recent
5546 * shell/ev-window.c:
5547 (ev_window_is_empty): upd.
5548 (unable_to_load), (ev_window_open): load backend
5549 based on the mime type.
5551 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5553 * backend/.cvsignore: ignore generated marshalers source.
5555 * shell/main.c (main): this is not epiphany.
5557 2004-12-22 Havoc Pennington <hp@redhat.com>
5559 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5560 (expose_bin_window): draw find highlights
5562 * shell/ev-window.c (find_bar_search_changed_cb): implement
5564 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5565 (pdf_document_end_find): implement this interface
5567 * backend/ev-document.c (ev_document_found): add this to emit
5570 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5572 * data/evince-ui.xml: Add a few more toolbar items.
5574 * shell/ev-window.c: Hook up page navigation toolbar
5577 * shell/ev-view.[ch]: add ev_view_set/get_page and
5578 a page-changed signal.
5580 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5581 Add ev_document_get_page().
5583 * shell/ev-window.c: Sensitize/desensitize navigation
5586 2004-12-21 Havoc Pennington <hp@redhat.com>
5588 * backend/ev-backend-marshal.c,
5589 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5590 marshaler-generator thingy. I'm sure there's a better way to do
5591 this in the modern world.
5593 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5594 end_find methods and "found" signal.
5596 * configure.ac: find glib-genmarshal
5598 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5600 * shell/ev-sidebar.c: Construct an actual sidebar.
5601 * shell/ev-sidebar-bookmarks.[ch]:
5602 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5604 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5606 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5609 * shell/ev-view.c: Track the size from the document.
5611 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5613 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5614 constructor assumes ownership of the string passed in.
5616 * shell/ev-window.c (ev_window_open): Destroy the error
5617 dialog once we've displayed it.
5619 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5621 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5622 a bit, it works! (sort of)
5624 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5625 Move to .cc since we need to use C++ in the implementation.
5627 * shell/dummy.cc: Add a CC file to force evince
5628 to be linked as a C++ program.
5630 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5632 * shell/ev-view.[ch]: Start of content-area widget.
5634 * shell/ev-window.c: Create a EvView, update it
5635 as we change documents.
5637 * shell/Makefile.am shell/ev-marshal.list: Add
5638 generated marshalers.
5640 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5642 * Makefile.am (SUBDIRS): move shell.
5644 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5646 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5647 .a to libtool convenience libraries.
5649 * shell/ev-window.c (ev_window_open): Hard code loading
5652 * backend/ev-document.h: Add a boolean return to load(),
5653 fix GError * to GError **.
5655 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5656 object for a PDF backend EvDocument.
5658 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5660 * dvi/*: New directory with the beginning of a .dvi backend.
5662 2004-12-21 Havoc Pennington <hp@redhat.com>
5664 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5665 previous/next instead of back/forward
5667 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5669 * backend/ev-document.[ch]: Fix a couple of problems so
5672 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5674 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5675 to backend/ directory, rename EvViewer to EvDocument.
5677 2004-12-21 Havoc Pennington <hp@redhat.com>
5679 * shell/ev-window.c: hook up the find bar widget; now we just need
5680 a document to find things in
5682 * shell/eggfindbar.c: a find bar widget
5684 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5686 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5688 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5690 * pdf/**: Import of xpdf code from gpdf.
5692 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5694 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5695 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5696 Fix FreeType includes.
5698 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5699 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5700 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5701 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5702 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5703 Include xpdfconfig.h
5705 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5707 * shell/ev-window.c (ev_window_dispose): dispose can be called
5710 2004-12-21 Havoc Pennington <hp@redhat.com>
5712 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5715 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5716 items; really they should be synced with the strings, etc. from
5717 current gpdf, but just getting the boring typing out of the way
5719 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5722 * shell/ev-application.c: (window_destroy_cb):
5723 * shell/ev-window.c:
5724 * shell/main.c: (main):
5726 Actually show the window...
5728 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5731 * shell/Makefile.am:
5732 * shell/ev-application.c: (ev_application_class_init):
5733 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5737 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5739 Import to gnome cvs.
5741 * Remove copies of gpdf and ggv trees.
5742 * Rip out all the recursive configure code.
5743 * Remove bonobo machinery.
5744 * viewer/*: GInterfaces that backends should/can implement.
5746 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5748 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5751 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5753 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5754 (ev_application_finalize, ev_application_class_init)
5755 (ev_application_init): use GType instance private data for priv.
5757 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5758 (ev_window_finalize, ev_window_class_init)
5759 (ev_window_init): ditto.
5761 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5763 * shell/ev-application.c (ev_application_new_window): make public
5764 (ev_application_show_initial_window): kill.
5766 * shell/ev-application.h: update prototypes.
5768 * shell/main.cc (main): inline ev_application_show_initial_window.
5770 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5772 * shell/ev-application.c (ev_application_new_window): impl.
5773 (ev_application_show_initial_window): use it.
5774 (is_window_empty, ev_application_get_empty_window): returns an
5775 existing empty window or a new one.
5776 (ev_application_open): from ev_window_cmd_file_open.
5778 * shell/ev-application.h: update prototypes
5780 * shell/ev-window.c (ev_window_is_empty): impl.
5781 (ev_window_open): make public.
5782 (ev_window_cmd_file_open): use ev_application_open
5784 * shell/ev-window.h: update prototypes, remove unused.
5786 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5788 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5789 move destroy handler out of here...
5791 * shell/ev-application.c, shell/ev-application.h: ...into this new
5792 class. Also handles initial window creation.
5794 * shell/main.cc (main): use EvApplication to create initial
5797 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5799 * Makefile.am (SUBDIRS): add cut-n-paste
5801 * cut-n-paste/Makefile.am: add
5803 * configure.ac: generate Makefiles in cut-n-paste
5805 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5807 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5808 (ev_window_class_init): install ev_window_dispose.
5810 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5812 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5813 char (gchar looks stupid).
5815 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5817 * po/de.po: updated German translation.
5819 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5821 * configure.ac: add more pkg-config library checks for gnome-vfs,
5824 * gpdf/configure.in: temporarily disable libpaper
5825 checks. Otherwise I'd have to add the checks for the shell, too.
5827 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5829 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5830 and * file filters to the file choose.
5832 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5834 * po/de.po: Updated German translation.
5836 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5838 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5840 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5842 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5844 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5845 (ev_window_init): implement those menuitems.
5847 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5849 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5851 * shell/ev-window.c (ev_window_init): use the toolbar.
5853 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5855 * shell/ev-window.c (ev_window_init): use menu translations
5857 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5859 * configure.ac: add "de" to ALL_LINGUAS.
5861 * po/de.po: add German translation.
5863 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5865 * Makefile.am (SUBDIRS): add po
5867 * configure.ac: check intltool, glib-gettext etc, generate
5870 * po, po/POTFILES.in, po/POTFILES.skip: new.
5872 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5874 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5875 already use (#ifdef ENABLE_NLS)
5877 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5878 pointer indirection thinko.
5880 * shell/main.c: include gi18n.h for bindtextdomain etc.
5882 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5884 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5885 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5886 tooltips for menu items in the statusbar.
5888 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5890 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5891 pkgdatadir drop UIDIR
5893 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5895 * data/evince-ui.xml: Add File->Open menu item
5897 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5898 chooser), hook it up in the ui manager.
5900 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5902 * shell/ev-window.c: fix Help->About tooltip.
5904 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5906 * configure.ac: set CFLAGS for libevprivate.
5908 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5909 definitions, factory etc.
5911 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5913 * shell/Makefile.am: link against libevprivate.a.
5915 * shell/ev-window.c (entries): add stock icon to Help->About.
5917 * shell/main.c (main): init stock icon code.
5919 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5921 * lib/recent-files: egg recent files code
5923 * lib/Makefile.am: add.
5925 * Makefile.am: add lib subdir.
5927 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5928 set CFLAGS for recent-files.
5930 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5932 * configure.ac: disable -ansi and -pedantic gcc flags. They
5933 disable POSIX stuff in stdio.h, but egg-recent uses them.
5935 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5937 * configure.ac: add --disable-deprecated flag (defaults to on in
5940 * shell/Makefile.am (INCLUDES): use it.
5942 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5944 * shell/main.c: add missing #include.
5946 * shell/ev-window.c: fix for pedantic gcc.
5947 (ev_window_cmd_help_about): split license into paragraphs for
5948 translators and pedantic compilers.
5950 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5952 * configure.ac: add more warning flags if compiling with gcc from
5953 cvs (or explicitly requested with --enable-more-warnings).
5955 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5957 * data/evince-ui.xml: add File and File->Close menu.
5959 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5960 (ev_window_destroy): quit after destroy.
5961 (ev_window_class_init): override GtkObject::destroy.
5962 (entries): install close_window callback.
5964 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5966 * Makefile.am (SUBDIRS): add data subdir.
5968 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5969 gtk+ 2.5.0 for GtkAboutDialog.
5971 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5974 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5976 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5978 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5980 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5982 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5984 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5986 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5988 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5990 * shell/*: Added shell directory boilerplate, build it.
5992 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5994 * configure.ac, Makefile.am: Added top-level configure.ac and