1 2005-07-04 Matthew S. Wilson <msw@rpath.com>
3 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
5 (PlaceImage, tiff2ps_process_page): use
6 g_ascii_dtostr to convert floats to strings in a locale-safe way.
9 2005-07-04 Martin Kretzschmar <martink@gnome.org>
11 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
12 (main): to call gnome_authentication_manager_init. Should fix
15 * configure.ac: that requires libgnomeui 2.6.0.
17 2005-07-04 Matthew S. Wilson <msw@rpath.com>
19 * tiff/tiff-document.c (tiff_document_ps_export_begin)
20 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
21 use the new tiff2ps interfaces
23 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
24 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
26 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
27 structure instead of global variables. Remove use of static
28 variables in functions.
30 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
32 * shell/ev-page-action.c: unref the completion after setting it to the
35 2005-07-04 Matthew S. Wilson <msw@rpath.com>
37 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
40 2005-07-04 Matthew S. Wilson <msw@rpath.com>
42 * shell/ev-window.c (update_action_sensitivity): disable
43 File->Print if the document does not implement the ps exporter
46 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
50 * data/evince-properties.glade:
51 * properties/.cvsignore:
52 * properties/Makefile.am:
53 * properties/ev-properties-view.c: (ev_properties_view_dispose),
54 (ev_properties_view_class_init), (ev_properties_view_format_date),
55 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
56 (ev_properties_view_init), (ev_properties_view_new):
57 * properties/ev-properties-view.h:
59 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
60 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
61 (ev_properties_dialog_new):
62 * shell/ev-properties-dialog.h:
63 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
64 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
65 (update_progress_label), (job_fonts_finished_cb),
66 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
67 * shell/ev-properties-fonts.h:
68 * shell/ev-properties.c:
69 * shell/ev-properties.h:
70 * shell/ev-window.c: (ev_window_setup_document),
71 (ev_window_cmd_file_properties):
73 Split the properties pages in two different objects, depend
74 only on the backend where possible, use widgets instead
75 of gobject for the glade part, reimplement the dialog
77 I need this to implement nautilus properties page.
79 2005-07-03 Matthew S. Wilson <msw@rpath.com>
81 * tiff/tiff-document.c (tiff_document_ps_export_begin)
82 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
83 (tiff_document_document_ps_exporter_iface_init): implement the ps
84 exporter interface for tiff documents
86 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
87 libtiff to implement TIFF postscript export
89 * tiff/tiff2ps.h: added a header file for external tiff2ps
92 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
95 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
97 * shell/ev-view.c: (scroll_to_current_page),
98 (ev_view_set_fullscreen), (ev_view_set_presentation):
100 Scroll to current page when exit from presentation
102 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
104 * shell/ev-window.c: (update_document_mode),
105 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
106 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
107 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
109 Exit from fullscreen mode when switch to presentation. Fix for
112 2005-07-02 Matthew S. Wilson <msw@rpath.com>
114 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
115 return NULL if the document does not implement the selection
118 2005-07-02 Matthew S. Wilson <msw@rpath.com>
120 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
121 reported height by using the resolution aspect ratio
122 (tiff_document_render_pixbuf): scale the pixbuf using the
123 resolution aspect ratio
125 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
129 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
130 <kiltedaco@gmail.com>
132 * djvu/djvu-document.c: (djvu_document_get_orientation),
133 (djvu_document_set_orientation), (djvu_document_get_page_size),
134 (rotate_pixbuf), (djvu_document_render_pixbuf),
135 (djvu_document_document_iface_init):
136 * dvi/dvi-document.c: (dvi_document_get_orientation),
137 (dvi_document_set_orientation), (dvi_document_get_page_size),
138 (rotate_pixbuf), (dvi_document_render_pixbuf),
139 (dvi_document_document_iface_init):
141 Dvi and djvu backends are ported to new API
143 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
145 * backend/ev-selection.c: (ev_selection_get_selection_region),
146 (ev_selection_get_selection_map):
147 * backend/ev-selection.h:
149 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
151 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
152 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
153 (ev_pixbuf_cache_get_text_mapping):
154 * shell/ev-pixbuf-cache.h:
155 * shell/ev-view.c: (location_in_text),
156 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
157 support to EvView. Now we can see where we can select! Sweet!
159 2005-06-30 Kristian Høgsberg <krh@redhat.com>
161 * shell/ev-view.c (ev_view_button_press_event): Fix
162 event->y + view->scroll_x typo.
164 2005-06-30 Kristian Høgsberg <krh@redhat.com>
166 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
167 sub-GdkPixbuf instead of passing dest_x and dest_y.
169 * shell/ev-view.c: (view_point_to_doc_point),
170 (view_rect_to_doc_rect), (ev_view_button_press_event),
171 (ev_view_motion_notify_event), (compute_new_selection_rect),
172 (gdk_rectangle_point_in), (compute_new_selection_text),
173 (compute_selections): Update selection code to keep the selection
174 around as two points and not as a normalized rectangle, and fix
175 page level selection in two-column mode.
177 2005-06-30 Alex Duggan <aldug@astrolinux.com>
179 * shell/ev-window.c: (window_configure_event_cb):
183 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
189 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
192 * shell/ev-metadata-manager.c: (item_free),
193 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
194 (parse_value), (parseItem), (load_values),
195 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
196 (save_values), (save_item), (get_oldest), (resize_items),
197 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
198 * shell/ev-metadata-manager.h:
200 Metadata manager from gedit but modified to use GValue, so that
201 we dont need to keep converting from strings.
205 ENABLE_METADATA conditional, on when dbus is on
207 * shell/ev-application.c: (ev_application_open_uri):
209 Show the window after load so that we can initialize
210 window size before it's showed.
212 * shell/ev-window.c: (ev_window_setup_from_metadata),
213 (ev_window_open_uri), (window_configure_event_cb),
216 Save and load metadata information about window size.
217 Not yet keeping states in account.
219 * shell/main.c: (main):
221 Shutdown metadata manager.
223 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
225 * shell/ev-application-service.xml:
228 * shell/ev-application.c:
229 * shell/ev-application.h:
234 Add an optional dbus interface (--enable-dbus).
235 Rework application code, mainly to be easier to
237 Do not open multiple windows with the same document,
240 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
242 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
243 pixbuf iff it exists.
245 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
248 * backend/ev-render-context.[ch]:
249 * backend/ev-selection.[ch]:
251 Massive changes. We now support text selection of pdfs, and not
252 just rectangular selection. This is pretty broken still, but I
253 want to get something into CVS.
255 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
259 Fix for Bug 309080: crash on window close.
261 * shell/ev-page-action.c: (page_changed_cb):
263 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
264 jensgr@gmx.net (Jens Granseuer).
266 2005-06-25 Marcel Telka <marcel@telka.sk>
268 * configure.in (ALL_LINGUAS): Added sk.
270 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
272 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
275 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
282 * cut-n-paste/recent-files/Makefile.am:
286 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
288 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
289 (pixbuf_document_set_orientation), (rotate_pixbuf),
290 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
291 (pixbuf_document_document_iface_init), (pixbuf_document_init):
293 Implement rotation and cleanup the code a bit.
295 * tiff/tiff-document.c: (tiff_document_get_page_size),
296 (tiff_document_get_orientation), (tiff_document_set_orientation),
297 (rotate_pixbuf), (tiff_document_render_pixbuf),
298 (tiff_document_document_iface_init), (tiff_document_init):
300 Implement rotation. Was the quicker solution for the release
301 but we really need to share this code in the shell.
303 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
307 Enable rotation, require poppler cvs. Fix a leak.
309 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
311 * shell/ev-window.c: (update_action_sensitivity):
313 Make properties unsensitive if document backend doesn't provide
316 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
318 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
319 (bitmap_flip_horizontally), (bitmap_flip_vertically),
320 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
321 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
322 (bitmap_flip_rotate_counter_clockwise):
323 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
324 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
326 * dvi/mdvi-lib/common.h:
327 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
328 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
329 (opendvi), (mdvi_reload), (mdvi_init_context),
330 (mdvi_destroy_context), (mdvi_dopage), (special):
331 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
332 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
333 (file_hash_free), (register_encoding), (parse_spec),
334 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
335 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
336 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
337 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
338 (mdvi_register_font_type), (mdvi_unregister_font_type),
339 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
340 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
341 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
342 (mdvi_hash_destroy_key), (mdvi_hash_reset):
343 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
344 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
345 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
346 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
347 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
348 * dvi/mdvi-lib/special.c: (mdvi_register_special),
349 (mdvi_unregister_special), (mdvi_flush_specials):
350 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
352 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
353 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
354 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
355 (free_font_metrics), (flush_font_metrics):
356 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
358 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
359 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
360 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
361 (dstring_insert), (dstring_new), (dstring_reset):
362 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
364 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
365 avoid conflict with libtool on FC4
367 * shell/ev-window.c: (ev_window_cmd_help_about):
369 Update copyright year. Fix for bug 308828.
371 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
373 * shell/ev-view.c: (add_scroll_binding_keypad),
374 (ev_view_binding_activated), (ev_view_class_init),
375 (on_adjustment_value_changed):
377 Bug 170874: Arrow keys switch pages in presentation mode
379 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
381 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
383 Fix for Bug 308265: Sidebar dissappears coming out of
386 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
388 * shell/ev-application.c: (ev_application_open):
389 * shell/ev-document-types.c: (ev_document_types_add_filters),
390 (ev_document_types_add_filters_for_type):
391 * shell/ev-document-types.h:
392 * shell/ev-window.c: (ev_window_cmd_save_as):
394 Suggest basename as template when saving, provide filters
395 for save dialog. It's bug 308402
397 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
400 * shell/ev-sidebar-links.c: (job_finished_callback):
401 * shell/ev-view.c: (update_find_status_message):
405 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
407 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
408 (egg_recent_view_uimanager_set_list):
410 Fix buglet in !show_numbers case.
412 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
414 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
415 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
417 Use pango ellipsisation.
421 Fix refcount leak, from nsh.
423 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
425 * cut-n-paste/recent-files/Makefile.am:
426 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
427 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
429 Removed EggRecentViewGtk
431 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
432 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
433 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
434 (ev_window_setup_recent):
436 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
439 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
441 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
442 (egg_recent_view_gtk_finalize):
446 * cut-n-paste/toolbar-editor/Makefile.am:
448 Fix location of cursor icon.
451 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
452 (display_completion_text), (match_completion):
453 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
454 (selection_changed_callback), (create_loading_model),
455 (print_section_cb), (links_page_num_func),
456 (update_page_callback_foreach):
457 * shell/ev-window.c: (ev_window_dispose):
459 Small memory fixes. Links model now store objects instead
460 of pointers to improve memory management.
462 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
464 * shell/ev-window.c: (zoom_control_changed_cb):
466 Fix update of zoom control (bug 308268).
468 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
470 * shell/ev-properties.c (set_property): escape the text correctly.
471 Handles non-UTF-8 properties and escaped properties. Also, sets
472 the text to "<i>None</i>" if the property isn't set.
474 * data/evince-properties.glade: Change the label to be ellipsized,
475 and give it a minimum size.
477 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
479 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
480 * shell/ev-sidebar-links.c: (create_loading_model):
481 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
482 * shell/ev-view.c: (ev_view_set_document):
483 * shell/ev-window.c: (ev_window_dispose):
485 Various small fixes, mostly memory leaks. Thanks to valgrind.
487 2005-06-19 Martin Kretzschmar <martink@gnome.org>
489 * ps/ps-document.c: remove the locale.h include again ;-). And
490 kill the (bogus) setlocale/savelocale business.
492 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
496 Include locale.h to fix build
498 * shell/ev-sidebar.c:
500 Remove unnecessary includes
502 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
504 * dvi/dvi-document.c: (dvi_document_load):
505 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
508 Check for incorrect dvi files. Fix parsing dvi on AMD64
509 platform. Thanks to tester@tester.ca (Olivier Crete).
511 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
513 * shell/ev-page-action.c: (match_selected_cb),
514 (display_completion_text), (match_completion), (update_model):
515 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
517 * shell/ev-sidebar.c: (ev_sidebar_destroy),
518 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
519 (ev_sidebar_set_document):
520 * shell/ev-window.c: (ev_window_xfer_job_cb),
521 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
523 Fixed lot's of memory leaks, for example, memory leak on reload,
524 described in bug 307793.
526 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
529 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
530 (update_visible_range), (adjustment_changed_cb),
531 (ev_sidebar_thumbnails_fill_model),
532 (ev_sidebar_thumbnails_refresh),
533 (ev_sidebar_tree_selection_changed),
534 (ev_sidebar_icon_selection_changed),
535 (ev_sidebar_thumbnails_use_icon_view),
536 (ev_sidebar_thumbnails_set_document):
537 * shell/ev-sidebar-thumbnails.h:
538 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
539 (ev_window_cmd_edit_rotate_right), (ev_window_init):
541 Refresh thumbnails when changing orientation. Not fully
542 working yet becuase of a sidebar bug.
544 Set page orientation to poppler page everywhere. This sucks
545 really need to fix poppler.
547 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
549 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
550 (egg_recent_view_gtk_new_menu_item),
551 (egg_recent_view_gtk_set_property),
552 (egg_recent_view_gtk_get_property),
553 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
554 (egg_recent_view_gtk_set_tooltip_func),
555 (egg_recent_view_gtk_set_label_width),
556 (egg_recent_view_gtk_get_label_width):
557 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
559 Sync with libegg (ellipsize labels)
561 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
563 * data/evince-ui.xml:
564 * shell/ev-window.c: (ev_window_cmd_go_forward),
565 (ev_window_cmd_go_backward):
567 Shift + PageUp moves 10 Pages. Fix for 306125
569 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
573 Add a flag to check if orientation has been overriden
575 2005-06-17 Martin Kretzschmar <martink@gnome.org>
577 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
580 * ps/ps.h: add creator field to document.
582 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
585 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
587 * data/evince-properties.glade:
588 * shell/ev-properties.c: (ev_properties_set_document):
592 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
594 * shell/ev-properties.c: (ev_properties_set_document):
596 Remove unnecessary translations
598 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
600 * cut-n-paste/toolbar-editor/Makefile.am:
604 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
607 * cut-n-paste/recent-files/egg-recent-model.c:
608 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
609 (egg_recent_model_unlock_file):
610 * cut-n-paste/recent-files/egg-recent-util.c:
611 (egg_recent_util_get_unique_id):
612 * cut-n-paste/recent-files/update-from-egg.sh:
613 * cut-n-paste/toolbar-editor/Makefile.am:
614 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
615 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
616 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
617 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
618 (egg_toolbars_model_get_type):
619 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
621 Better makefile for toolbar editor and update everything
624 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
626 * shell/ev-window.c: (update_document_mode):
628 Prefer presentation mode when the document
631 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
633 * data/evince-ui.xml:
636 Add control-equal for zooming
638 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
640 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
642 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
644 * backend/ev-document.c: (ev_document_get_orientation):
645 * backend/ev-document.h:
647 * ps/ps-document.c: (ps_document_get_orientation),
648 (ps_document_set_orientation), (ps_document_document_iface_init):
650 Add a get_orientation api. Improve set_orientation.
652 * data/evince-ui.xml:
653 * shell/ev-view.c: (ev_view_set_orientation),
654 (ev_view_rotate_right), (ev_view_rotate_left):
656 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
657 (ev_window_cmd_edit_rotate_right):
659 Better ui for changing document orientation
661 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
663 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
664 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
665 * shell/ev-sidebar-links.h:
666 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
667 (ev_sidebar_page_iface_init):
668 * shell/ev-sidebar-page.h:
669 * shell/ev-sidebar-thumbnails.c:
670 (ev_sidebar_thumbnails_get_property),
671 (ev_sidebar_thumbnails_class_init),
672 (ev_sidebar_thumbnails_set_document):
673 * shell/ev-sidebar-thumbnails.h:
674 * shell/ev-view.c: (ev_view_motion_notify_event):
675 * shell/ev-window.c: (update_chrome_visibility),
676 (ev_window_cmd_focus_page_selector),
677 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
678 (sidebar_page_main_widget_update_cb), (ev_window_init):
680 Autoraise toolbar on GoToPage binding and fix bindings in
681 EvSidebarThumbnails page.
683 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
685 * shell/ev-properties.c: (update_progress_label):
687 Hide the progress label when finished; bug #307697.
689 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
693 Enable is_open for links, you will need poppler cvs
695 * shell/ev-properties.c: (job_fonts_finished_cb):
697 Get a lock on the document when filling the tree view
699 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
701 * backend/ev-document-links.h:
703 * shell/ev-sidebar-links.c: (create_loading_model),
704 (expand_open_links), (job_finished_callback):
706 Expand links when specified by the document.
707 Depend on a poppler api (defined out for now)
709 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
711 * shell/ev-properties.c: (ev_properties_dispose),
712 (ev_properties_class_init), (dialog_destroy_cb),
713 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
714 (ev_properties_set_document), (ev_properties_new),
715 (ev_properties_show):
716 * shell/ev-properties.h:
718 Make it an object, cleanup the code, api to show it as transient
719 and to set the document.
721 * shell/ev-window.c: (ev_window_setup_document),
722 (ev_window_cmd_file_properties):
724 Adapt to EvProperties changes, do not show multiple
725 times, update it when document changes.
727 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
730 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
731 (ps_document_set_orientation), (ps_document_document_iface_init):
734 Implement orientation here too
736 * shell/ev-properties.c: (ev_properties_new):
737 * data/evince-properties.glade:
739 Hide the fonts page for backends that doesnt
742 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
744 * backend/ev-document.c: (ev_document_set_orientation):
745 * backend/ev-document.h:
748 Add orientation api. Currently poppler api is not optimal,
749 we need to set orientation every time we _get a page.
750 I will try to fix that at some point.
752 * data/evince-ui.xml:
753 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
754 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
756 Add orientation menu items
758 * shell/ev-page-cache.c: (ev_page_cache_clear):
759 * shell/ev-page-cache.h:
761 Add api to clear the cache
763 * shell/ev-view.c: (setup_caches), (clear_caches),
764 (ev_view_set_document), (ev_view_zoom_out),
765 (ev_view_set_orientation):
768 Implement orientation changing
770 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
772 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
773 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
774 * backend/ev-document-fonts.h:
776 Separate scan and fill so that we can incrementally fill from
777 the main thread. Add a progress api.
779 * data/evince-properties.glade:
781 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
783 * shell/ev-properties.c: (update_progress_label),
784 (job_fonts_finished_cb), (setup_fonts_view):
786 Incrementally feel the list and show the progress
787 percentage in a label like acrobat does.
789 You are going to need poppler cvs
791 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
793 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
794 * backend/ev-document-fonts.h:
797 Make fonts model fill incrementally.
799 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
800 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
801 (ev_job_queue_remove_job):
802 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
803 (ev_job_fonts_new), (ev_job_fonts_run):
806 New job for fonts scanning
808 * shell/ev-properties.c: (job_fonts_finished_cb),
809 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
810 * shell/ev-properties.h:
811 * shell/ev-window.c: (ev_window_cmd_file_properties):
813 Incrementally feel the treeview using the new job. Show Loading...
814 message until scanning is completed.
816 Hopefully I didnt break the build without the poppler patch.
818 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
820 * shell/ev-application.c: (ev_application_open):
821 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
822 (ev_document_type_get_type), (ev_document_type_lookup):
823 * shell/ev-document-types.h:
824 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
825 * shell/ev-job-xfer.h:
826 * shell/ev-window.c: (ev_window_clear_local_uri),
827 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
828 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
829 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
831 Transfer remote documents to tmp directory to display them later.
833 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
835 * backend/ev-document-info.h:
836 * shell/ev-properties.c: (ev_properties_new):
838 s/GTime*/GTime. Not sure why we was using a pointer
841 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
843 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
844 situations. That situation is that you're using GTK+-HEAD with
845 the patch at #306726 is applied, and you have a document with <
846 1500 pages in it. It's not quite as uniformly nice as the
847 TreeView, but should be better in the long run.
849 I'm pretty sure I guarded against breaking compilation with
850 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
853 * shell/ev-window.c (ev_window_init): We don't have our tree/list
854 widget yet, so I commented that code out
855 enable_view_actions_for_widget() for now. Need to figure this
858 * shell/ev-page-action.c (match_selected_cb): emit the right
859 signals. Our cool C-l completion now works.
861 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
863 * backend/Makefile.am:
864 * backend/ev-document-fonts.c:
865 * backend/ev-document-links.c:
866 * backend/ev-document.c: (ev_document_load):
867 * backend/ev-document.h:
868 * backend/ev-job-queue.c:
869 * backend/ev-job-queue.h:
872 * backend/ev-page-cache.c:
873 * backend/ev-page-cache.h:
875 EvPageCache and EvJobs are moved to shell.
877 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
879 * lib/ev-file-helpers.h:
881 New helper to work with temporary files
884 * shell/ev-application.c: (ev_application_open):
885 * shell/ev-application.h:
886 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
887 (remove_job_from_async_queue), (add_job_to_async_queue),
888 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
889 (handle_job), (search_for_jobs_unlocked),
890 (no_jobs_available_unlocked), (ev_render_thread),
891 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
892 (ev_job_queue_add_job), (move_job_async), (move_job),
893 (ev_job_queue_update_job), (ev_job_queue_remove_job):
894 * shell/ev-job-queue.h:
895 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
896 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
897 * shell/ev-job-xfer.h:
898 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
899 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
900 (ev_job_links_class_init), (ev_job_render_init),
901 (ev_job_render_dispose), (ev_job_render_class_init),
902 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
903 (ev_job_thumbnail_class_init), (ev_job_load_init),
904 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
905 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
906 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
907 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
909 * shell/ev-page-action.c: (ev_page_action_set_document):
910 * shell/ev-page-cache.c: (ev_page_cache_init),
911 (ev_page_cache_class_init), (ev_page_cache_finalize),
912 (ev_page_cache_new), (ev_page_cache_get_n_pages),
913 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
914 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
915 (ev_page_cache_get_title), (ev_page_cache_get_size),
916 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
917 (ev_page_cache_get_height_to_page),
918 (ev_page_cache_get_max_label_chars),
919 (ev_page_cache_get_page_label),
920 (ev_page_cache_has_nonnumeric_page_labels),
921 (ev_page_cache_get_info), (ev_page_cache_next_page),
922 (ev_page_cache_prev_page), (ev_page_cache_get):
923 * shell/ev-page-cache.h:
924 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
925 (ev_pixbuf_cache_clear_job_sizes),
926 (ev_pixbuf_cache_add_jobs_if_needed),
927 (ev_pixbuf_cache_set_page_range):
928 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
929 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
930 * shell/ev-sidebar-thumbnails.c:
931 (ev_sidebar_tree_selection_changed),
932 (ev_sidebar_thumbnails_set_document):
933 * shell/ev-statusbar.c: (ev_statusbar_destroy),
934 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
935 (ev_statusbar_get_context_id), (ev_statusbar_push),
936 (ev_statusbar_pop), (ev_statusbar_set_maximized),
937 (ev_statusbar_pulse), (ev_statusbar_show_progress),
938 (ev_statusbar_set_progress):
939 * shell/ev-statusbar.h:
940 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
941 (ev_view_find_previous):
942 * shell/ev-window.c: (ev_window_is_empty),
943 (ev_window_setup_document), (password_dialog_response),
944 (ev_window_clear_jobs), (ev_window_load_job_cb),
945 (ev_window_xfer_job_cb), (ev_window_open_uri),
946 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
947 (ev_window_print), (ev_window_print_range),
948 (ev_window_state_event), (ev_window_cmd_view_reload),
949 (menu_item_select_cb), (menu_item_deselect_cb),
950 (view_status_changed_cb), (ev_window_dispose),
951 (drag_data_received_cb), (ev_window_init):
953 * shell/main.c: (load_files):
955 New statusbar to show progress on idle. Two new jobs -
956 xfer job and load job to load document in background. And update
957 of page_cache clients to new location of code.
959 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
961 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
962 selection in open dialog. It also remembers the last visited directory
963 in the current session.
965 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
967 * shell/ev-properties.c: (ev_properties_new):
968 * shell/ev-properties.h:
969 * shell/ev-window.c: (ev_window_cmd_file_properties):
971 Get document info from page cache instead of document itself.
972 This should fix crash related to race conditions described in
975 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
977 * ps/ps-document.c: (ps_document_init),
978 (send_ps), (get_page_box), (output), (catchPipe), (input),
979 (stop_interpreter), (file_length), (file_readable),
980 (check_filecompressedb), (ps_document_enable_interpreter),
981 (document_load), (ps_async_renderer_render_pixbuf):
984 Big cleanup of the ps code
986 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
988 * backend/Makefile.am:
989 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
990 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
991 * backend/ev-async-renderer.h:
993 Add an async renderer interface (method + callback) which
994 is useful for backends like ps.
996 * backend/ev-job-queue.c: (remove_job_from_async_queue),
997 (add_job_to_async_queue), (job_finished_cb), (handle_job),
998 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
999 (ev_job_queue_add_job), (move_job_async), (move_job),
1000 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1002 Add queues for async renderer, these are executed on the
1005 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1006 (ev_job_render_run):
1007 * backend/ev-jobs.h:
1009 If the backend support async renderer interface use it.
1011 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1012 (setup_pixmap), (ps_document_get_type),
1013 (ps_async_renderer_render_pixbuf),
1014 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1016 Implement async renderer interface.
1018 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1020 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1022 Cleanup links job on exit.
1024 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1026 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1027 (drag_data_get_cb), (drag_data_received_cb):
1028 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1029 (drag_data_get_cb), (parse_item_list),
1030 (egg_toolbar_editor_load_actions):
1031 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1032 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1033 (parse_item_list), (parse_toolbars):
1034 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1035 (dvi_pixbuf_put_pixel):
1037 Fix gcc 4.0 warnings
1039 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1041 * ps/ps-document.c: (start_interpreter):
1043 Fix warning when loading ps
1045 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1047 * ps/ps-document.c: (output):
1049 Fix crash when priting gs error messages.
1051 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1053 * backend/ev-page-cache.c: (_ev_page_cache_new):
1054 * backend/ev-page-cache.h:
1056 Use a const to return title so that we dont double
1057 free it. Small cleanup and fix a leak.
1059 * shell/ev-window.c: (update_window_title):
1061 strdup value from get_title.
1063 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1065 * shell/ev-sidebar-links.c: (job_finished_callback),
1066 (ev_sidebar_links_set_document):
1068 Cleanup the old job when changing document
1070 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1072 * shell/ev-stock-icons.c:
1073 * shell/ev-stock-icons.h:
1074 * shell/ev-window.c:
1076 Add stock icons for actions that can appear in toolbar. Fix for
1079 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1081 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1082 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1083 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1084 * backend/ev-page-cache.h:
1085 * shell/ev-view.c: (scroll_to_current_page),
1086 (view_update_range_and_current_page), (get_page_y_offset),
1087 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1088 (ev_view_size_request_continuous),
1089 (ev_view_zoom_for_size_continuous_and_dual_page),
1090 (ev_view_zoom_for_size_continuous):
1092 More compact EvView layout in document with pages of different size.
1094 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1096 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1099 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1101 * shell/ev-view.c: (view_set_adjustment_values):
1102 * shell/ev-window.c: (ev_window_cmd_file_properties):
1104 A bit different fix for rounding problem but it has no
1105 problems on startup. Make properties window transient to parent.
1107 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1109 * pdf/ev-poppler.cc:
1111 More commenting of font stuff.
1113 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1115 * pdf/ev-poppler.cc:
1117 Comment out some more fonts stuff. Should really
1118 work without the poppler patch now.
1120 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1122 * pdf/ev-poppler.cc:
1126 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1128 * data/evince-properties.glade:
1129 * pdf/ev-poppler.cc:
1130 * shell/ev-properties.c: (setup_fonts_view):
1132 Set the column title. Show the dialog only
1133 once everything is setup.
1134 Getting font info can be very slow... will
1135 prolly need to make this threaded too.
1137 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1139 * backend/Makefile.am:
1140 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1141 (ev_document_fonts_get_fonts_model):
1142 * backend/ev-document-fonts.h:
1143 * data/evince-properties.glade:
1144 * pdf/ev-poppler.cc:
1145 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1146 * shell/ev-properties.h:
1147 * shell/ev-window.c: (ev_window_cmd_file_properties):
1149 Implement fonts list. Defined out for now, since it depends
1150 on a not yet committed poppler patch.
1152 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1154 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1157 * shell/ev-window.c: Make sure we add the timeout when we get a
1160 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1161 adjustment->value before calculating the zoom factor to average
1162 out all of our rounding errors. The page no longer 'drifts' when
1165 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1167 * data/evince-properties.glade:
1168 * shell/ev-properties.c: (ev_properties_format_date),
1171 Labels don't expand when the dialogue is resized.
1172 strftime result needs to be converted to UTF-8. Thanks
1173 to Christian Persch <chpe@gnome.org>.
1175 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1177 * data/evince-properties.glade:
1181 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1183 * backend/ev-document-info.h:
1184 * backend/ev-document.c: (ev_document_info_free):
1185 * data/evince-properties.glade:
1186 * pdf/ev-poppler.cc:
1187 * ps/ps-document.c: (ps_document_get_info):
1188 * shell/ev-properties.c: (ev_properties_format_date),
1189 (set_property), (ev_properties_new):
1190 * shell/ev-properties.h:
1191 * shell/ev-window.c: (ev_window_cmd_file_properties):
1193 Rework properties code to take only EvPropertyInfo
1194 in the constructor so that it can be useful for
1195 nautilus plugin too.
1197 Deal with backends that doesnt support some properties.
1198 Make set property code generic.
1200 2005-06-04 Christian Persch <chpe@gnome.org>
1202 * data/evince-properties.glade:
1204 fix spacings, make resizeable, and make data labels
1205 selectable + ellipsised
1207 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1209 * backend/ev-document-info.h:
1211 * data/evince-ui.xml:
1212 * pdf/ev-poppler.cc:
1213 * shell/Makefile.am:
1214 * shell/ev-window.c: (update_action_sensitivity),
1215 (ev_window_cmd_file_properties):
1217 Initial go at file properties. Patch by
1218 Emil Soleyman-Zomalan <emil@soleyman.com>.
1219 Needs love see #169583
1221 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1223 * ps/ps-document.c: (output):
1224 * ps/ps.c: (psscan):
1226 Try to render even if psscan fails.
1228 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1230 * ps/ps.c: (psscan), (pscopydoc):
1232 Port buffered reading code from gv
1234 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1236 * ps/ps-document.c: (interpreter_message), (output):
1238 Do not fail on interpreter messages
1240 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1242 * backend/ev-document-misc.c:
1243 (ev_document_misc_get_thumbnail_frame):
1245 Pages can be 0 x 0, dont assert on this case
1247 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1249 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1250 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1252 Correctly manage our reference on document. Finally the reload
1253 huge leak is gone...
1255 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1257 * ps/ps-document.c: (ps_document_dispose):
1259 Forgot to chain it to the parent. Thanks chpe.
1261 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1263 * ps/ps-document.c: (ps_document_dispose),
1264 (ps_document_class_init), (stop_interpreter), (document_load):
1266 Cleanup dispose a bit. Dont leak the whole pixmap.
1268 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1270 * pdf/ev-poppler.cc:
1272 Release the poppler document on dispose
1274 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1276 * shell/ev-view.c: (ev_view_set_document):
1278 Release ref on the pixbuf cache when changing
1281 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1283 * ps/ps-document.c: (ps_document_get_info):
1287 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1289 * backend/ev-page-cache.c: (ev_page_cache_init),
1290 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1291 * backend/ev-page-cache.h:
1292 * shell/ev-page-action.c: (page_changed_cb):
1294 Set page action entry width depending on labels width. Fix
1297 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1299 * backend/ev-link.c: (ev_link_class_init):
1301 Allow -1 as page value (error)
1303 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1305 * shell/ev-sidebar-thumbnails.c:
1306 (ev_sidebar_thumbnails_set_document):
1307 * shell/ev-view.c: (scroll_to_current_page),
1308 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1309 (page_changed_cb), (on_adjustment_value_changed),
1310 (ev_view_set_document):
1312 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1315 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1318 * djvu/djvu-document.c: (djvu_document_get_page_size):
1320 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1323 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1325 * shell/ev-view.c (draw_one_page): modify the expose handling to
1328 * shell/ev-window.c (update_action_sensitivity): Respect
1329 permissions field. Kowtow to the man.
1331 * pdf/ev-poppler.cc: Get the permissions field.
1333 * tiff/*c: Make a tiny bit more robust.
1335 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1337 * djvu/djvu-document.c:
1339 Pop messages from djvu context message queue.
1341 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1343 * configure.ac, Makefile.am, shell/Makefile.am:
1344 * tiff/Makefile.am, shell/ev-document-types.c:
1346 Cleanup tiff configure checks. Fix for bug 305218.
1348 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1350 * configure.ac: Added "uk" to ALL_LINGUAS.
1352 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1354 * cut-n-paste/zoom-control/ephy-zoom.c:
1355 (ephy_zoom_get_changed_zoom_level):
1356 * cut-n-paste/zoom-control/ephy-zoom.h:
1357 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1358 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1359 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1360 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1361 (zoom_control_changed_cb), (ev_window_init):
1363 Fix minor points related to moving best fit up. Introduce
1364 "zoom" property and make zoom control change it's value on
1365 notify::zoom signals. Fix for 305080.
1367 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1369 * data/evince-ui.xml:
1370 * shell/ev-window.c: (set_view_actions_sensitivity):
1372 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1374 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1378 Depends on poppler 0.3.2
1380 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1382 * cut-n-paste/recent-files/egg-recent-item.c:
1383 (egg_recent_item_get_short_name):
1384 * cut-n-paste/toolbar-editor/Makefile.am:
1385 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1386 (new_pixbuf_from_widget):
1387 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1388 * cut-n-paste/toolbar-editor/egg-marshal.c:
1389 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1390 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1394 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1396 * tiff/tiff-document.c: Rough TIFF backend.
1398 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1402 * cut-n-paste/toolbar-editor/Makefile.am:
1406 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1408 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1409 (ev_view_find_next), (ev_view_find_previous):
1411 Remove the locks around get_n_results
1413 2005-05-21 Juerg Billeter <j@bitron.ch>
1415 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1417 Pass correct number of pages to poppler.
1419 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1423 * data/evince.desktop.in:
1424 * data/evince.desktop.in.in:
1427 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1429 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1431 * shell/ev-view.c: (view_update_adjustments),
1432 (view_set_adjustment_values): cast adjustmen->value to (int)
1433 before using it. Otherwise, we get off by a pixel in some
1436 (draw_one_page): Draw the border on expose.
1438 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1440 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1441 adjustment when the mode changes, #304923
1443 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1445 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1446 flickering on resize but still use gdk_window_scroll on
1449 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1451 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1454 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1456 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1457 second page on page_changed if possible, #304669
1459 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1461 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1462 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1464 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1467 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1468 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1469 (ev_view_zoom_for_size_presentation),
1470 (ev_view_zoom_for_size_continuous_and_dual_page),
1471 (ev_view_zoom_for_size_continuous),
1472 (ev_view_zoom_for_size_dual_page),
1473 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1475 * shell/ev-window.c: (update_view_size),
1476 (ev_window_sizing_mode_changed_cb):
1478 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1479 the scrollbars. It's not 100% right, but it's much closer. Kills
1480 an infinite loop, #304769
1483 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1485 * data/evince-ui.xml:
1486 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1487 * shell/ev-window.c: (set_view_actions_sensitivity):
1489 Make PgUp/Down behave like Space
1491 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1493 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1494 * backend/ev-ps-exporter.h:
1495 * pdf/ev-poppler.cc:
1496 * ps/ps-document.c: (ps_document_ps_export_begin):
1497 * shell/ev-print-job.c: (idle_print_handler):
1499 Adapt to new poppler api
1501 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1503 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1504 (ephy_zoom_control_init):
1506 Translate zoom levels
1508 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1510 * cut-n-paste/zoom-control/ephy-zoom.c:
1511 (ephy_zoom_get_zoom_level_index):
1513 Fix current zoom -> zoom control match
1515 2005-05-18 James Bowes <bowes@cs.dal.ca>
1517 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1518 rather than the scrolled_window that it's in. Fixes bug #304655.
1520 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1522 * shell/ev-view.c: (view_update_adjustments),
1523 (view_set_adjustment_values), (view_update_range_and_current_page),
1524 (view_scroll_to_page), (set_scroll_adjustment),
1525 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1526 (ev_view_scroll), (ev_view_scroll_view),
1527 (ensure_rectangle_is_visible), (find_page_at_location),
1528 (get_link_at_location), (go_to_link), (status_message_from_link),
1529 (ev_view_size_request_continuous_dual_page),
1530 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1531 (ev_view_unrealize), (ev_view_expose_event),
1532 (ev_view_button_press_event), (ev_view_motion_notify_event),
1533 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1534 (draw_rubberband), (highlight_find_results), (draw_one_page),
1535 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1536 (ev_view_init), (find_changed_cb), (page_changed_cb),
1537 (on_adjustment_value_changed), (ev_view_new),
1538 (ev_view_set_document), (ev_view_set_zoom),
1539 (ev_view_set_continuous), (ev_view_set_dual_page),
1540 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1541 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1542 (ev_view_zoom_for_size_presentation),
1543 (ev_view_zoom_for_size_continuous_dual_page),
1544 (ev_view_zoom_for_size_continuous),
1545 (ev_view_zoom_for_size_dual_page),
1546 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1547 (ev_view_get_status), (ev_view_set_status),
1548 (update_find_status_message), (ev_view_get_find_status),
1549 (ev_view_set_find_status), (jump_to_find_result),
1550 (jump_to_find_page), (compute_selections), (clear_selection),
1551 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1552 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1553 (ev_view_update_primary_selection),
1554 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1556 * shell/ev-window.c: (ev_window_open_page_label),
1557 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1559 * shell/ev-window.h:
1560 * shell/main.c: (load_files):
1562 Massive code clean up from Nickolay Shmyrev. Keep page offset
1563 when resizing. Remove the bin_window(). Also, patch from James
1564 Bowes to fix command line page, #300641
1566 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1568 * data/evince-ui.xml:
1571 * shell/ev-window.c: (update_action_sensitivity):
1573 Get rid of View->Normal Size, it's just confusing
1575 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1577 * backend/ev-document-info.h:
1578 * backend/ev-document.c: (ev_document_info_free): Free the
1581 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1582 (clear_range), (add_range), (update_visible_range),
1583 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1584 (ev_sidebar_thumbnails_set_document):
1585 * shell/ev-window.c: (ev_window_setup_document): Only render the
1586 visible thumbnails. It takes an instant to render, but it uses
1589 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1591 * shell/ev-sidebar-links.c: (popup_menu_cb):
1595 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1598 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1599 (button_press_cb), (ev_sidebar_links_construct):
1601 Show the popup menu also on keybindings
1603 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1605 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1606 * shell/ev-window.h:
1608 Expose api to print a range (with dialog). Make private _print use
1611 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1612 (ev_sidebar_links_construct):
1614 Show a print context menu on linkx, it prints the selected
1617 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1619 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1622 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1628 * shell/ev-window.c: (build_comments_string),
1629 (ev_window_cmd_help_about):
1631 Show poppler version/backend and authors
1633 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1635 * cut-n-paste/zoom-control/ephy-zoom.c:
1636 (ephy_zoom_get_zoom_level_index):
1637 * cut-n-paste/zoom-control/ephy-zoom.h:
1639 Move the best fit items at the top of the list
1641 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1643 * shell/ev-marshal.list:
1644 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1645 (activate_cb), (match_selected_cb), (activate_link_cb),
1646 (connect_proxy), (ev_page_action_class_init):
1647 * shell/ev-page-action.h:
1649 Use signals to notify action activation. Hopefully
1650 I did not break completion since I cant test...
1652 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1653 (register_custom_actions):
1655 Connect to page selector actions and also grab focus on
1656 the view when activated.
1658 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1660 * pdf/ev-poppler.cc:
1661 * backend/ev-page-cache.c: make page size calculation consistent
1662 and set it to (int)( width * scale + 0.5). This makes the weird
1663 line going through the middle of the page go away.
1665 * shell/ev-view.c: move painting the background page after
1666 checking the expose area covers us.
1668 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1670 * data/evince-password.glade:
1672 Mark labels as not translatable. Fix for bug 302842.
1674 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1676 * configure.ac: Added "es" to ALL_LINGUAS.
1678 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1680 * data/evince-toolbar.xml:
1681 * shell/ev-window.c: (update_action_sensitivity),
1682 (ev_window_setup_document), (ev_window_set_page_mode),
1685 Remove some leftover code from jrb first continous
1686 attempt. Use the new actions, we still need good icons
1689 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1691 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1693 Update label when connecting proxy. Fix a warning with NULL
1696 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1698 * data/evince-ui.xml:
1699 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1700 * shell/ev-page-action.h:
1701 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1703 Add mnemonic for edit toolbar.
1704 ctrl+l focus the page entry.
1706 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1709 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1711 * shell/main.c: (main):
1713 Put the toolbar xml in evince own dot dir
1715 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1717 * shell/ev-window.c: (ev_window_init):
1719 Make the toolbar not removable
1721 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1723 * data/evince-ui.xml:
1724 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1725 * shell/ev-sidebar-links.h:
1726 * shell/ev-sidebar-thumbnails.c:
1727 (ev_sidebar_thumbnails_get_treeview):
1728 * shell/ev-sidebar-thumbnails.h:
1729 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1730 (ev_view_class_init):
1732 * shell/ev-window.c: (update_action_sensitivity),
1733 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1734 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1735 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1738 This is evil... Make space/backspace global accelerators but
1739 enable them only for some widgets (sidebars and view).
1740 I dont like it, but I dont know a better way... :/
1742 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1744 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1745 (ev_page_action_widget_finalize),
1746 (ev_page_action_widget_class_init), (update_page_cache):
1748 Keep a weak reference on proxy->page_cache so that we
1749 dont try to disconnect the signal if the object is already
1750 gone. Maybe there is a better way to cleanup reference handling
1751 in page action though...
1753 2005-05-10 Juerg Billeter <j@bitron.ch>
1755 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1756 * backend/ev-ps-exporter.h:
1757 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1758 * ps/ps-document.c: (ps_document_ps_export_begin):
1760 Change api to pass print range to ps_exporter_begin. The pdf backend
1761 requires this information.
1763 * shell/ev-print-job.c: (idle_print_handler):
1767 2005-05-10 Juerg Billeter <j@bitron.ch>
1769 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1770 (idle_print_handler)
1771 * shell/ev-window.c: (ev_window_print):
1773 Support printing page range, based on patch by Amaury Jacquot
1775 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1777 * data/evince-toolbar.xml:
1779 Add zoom control to available items
1781 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1783 * shell/ev-window.c: (update_action_sensitivity):
1785 Set slash action insensitive when appropriate
1787 2005-05-10 Christian Persch <chpe@gnome.org>
1789 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1791 Fix warning on the overflow menu
1793 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1795 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1797 Check for uri correctness/existence
1799 2005-05-09 Juerg Billeter <j@bitron.ch>
1801 * shell/ev-window.c: (using_postscript_printer):
1803 LPD printers use postscript, too
1805 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1807 * shell/ev-window.c: (register_custom_actions):
1809 The zoom one is actually sort of useful,
1812 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1814 * shell/ev-window.c: (register_custom_actions):
1816 Hide page/zoom controls from overflow, they
1819 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1821 * cut-n-paste/update-from-egg.sh:
1823 Share it between all cut-n-paste subdirs
1825 * cut-n-paste/recent-files/Makefile.am:
1827 Fix to use "global" update-from-egg.sh
1829 * cut-n-paste/recent-files/egg-recent-model.c:
1830 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1831 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1832 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1833 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1837 * cut-n-paste/toolbar-editor/Makefile.am:
1839 Fix to use "global" update-from-egg.sh
1841 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1845 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1848 * cut-n-paste/Makefile.am:
1849 * cut-n-paste/recent-files/Makefile.am:
1850 * cut-n-paste/toolbar-editor/.cvsignore:
1851 * cut-n-paste/toolbar-editor/Makefile.am:
1852 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1853 (egg_editable_toolbar_get_type), (get_toolbar_position),
1854 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1855 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1856 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1857 (set_item_drag_source), (create_item_from_action), (create_item),
1858 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1859 (popup_toolbar_context_menu_cb), (free_dragged_item),
1860 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1861 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1862 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1863 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1864 (item_added_cb), (item_removed_cb),
1865 (egg_editable_toolbar_construct),
1866 (egg_editable_toolbar_disconnect_model),
1867 (egg_editable_toolbar_deconstruct),
1868 (egg_editable_toolbar_set_model),
1869 (egg_editable_toolbar_set_ui_manager),
1870 (egg_editable_toolbar_set_property),
1871 (egg_editable_toolbar_get_property),
1872 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1873 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1874 (egg_editable_toolbar_new_with_model),
1875 (egg_editable_toolbar_get_edit_mode),
1876 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1877 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1878 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1879 (new_pixbuf_from_widget), (new_separator_pixbuf),
1880 (update_separator_image), (style_set_cb),
1881 (_egg_editable_toolbar_new_separator_image),
1882 (egg_editable_toolbar_get_model):
1883 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1884 * cut-n-paste/toolbar-editor/egg-marshal.c:
1885 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1886 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1887 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1888 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1889 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1890 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1891 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1892 (editor_drag_data_delete_cb), (drag_data_get_cb),
1893 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1894 (editor_create_item), (update_editor_sheet), (setup_editor),
1895 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1896 (parse_item_list), (model_has_action), (update_actions_list),
1897 (egg_toolbar_editor_load_actions):
1898 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
1899 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1900 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
1901 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
1902 (toolbars_item_new), (free_toolbar_node), (free_item_node),
1903 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
1904 (egg_toolbars_model_add_separator), (impl_add_item),
1905 (parse_item_list), (egg_toolbars_model_add_toolbar),
1906 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
1907 (impl_get_item_data), (impl_get_item_type),
1908 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
1909 (egg_toolbars_model_init), (free_toolbar),
1910 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
1911 (egg_toolbars_model_remove_toolbar),
1912 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
1913 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
1914 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
1915 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
1916 (egg_toolbars_model_get_item_data),
1917 (egg_toolbars_model_get_item_type):
1918 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1919 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1921 * data/evince-toolbar.xml:
1922 * data/evince-ui.xml:
1923 * data/hand-open.png:
1925 * shell/Makefile.am:
1926 * shell/ev-window.c: (update_chrome_visibility),
1927 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
1928 (ev_window_dispose), (ev_window_init):
1930 Implement epiphany like toolbar editor. Based on patch by
1931 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1933 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1935 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
1937 Use set_cursor instead of set_selection, so that
1938 the keyboard focus moves too.
1940 2005-05-09 Aleksey Kliger <akliger@gmail.com>
1942 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
1944 Fix infinite loop when loading Type1 fonts
1946 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1948 * data/evince-ui.xml:
1949 * shell/ev-window.c:
1953 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
1957 Make --disable really disable
1959 2005-05-07 Juerg Billeter <j@bitron.ch>
1961 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
1963 Compare page labels even without has_labels set, fixes setting page
1966 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1968 * shell/ev-view.c: (ev_view_create_invisible_cursor),
1969 (ev_view_set_cursor), (ev_view_button_press_event),
1970 (ev_view_motion_notify_event), (ev_view_button_release_event),
1973 Implement middle button scrolling. Based on a patch
1974 by Tommi Komulainen <tommi.komulainen@iki.fi>.
1976 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
1978 * shell/ev-document-types.c: (get_slow_mime_type),
1979 (get_document_type_from_mime), (ev_document_type_lookup):
1980 * shell/ev-document-types.h:
1982 Change api to lookup from uri. Do fast lookup first, if the
1983 type is unknown try with data sniffing.
1985 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
1986 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1990 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1992 * thumbnailer/Makefile.am:
1996 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2003 * data/evince-ui.xml:
2005 Hide presentation mode for now
2007 * shell/ev-view.c: (highlight_find_results):
2009 Show current find selection only on current page
2011 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2013 * shell/ev-view.c: (ev_view_select_all):
2015 Compute size of the actual page, not of
2018 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2020 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2021 (view_rect_to_doc_rect), (compute_selections),
2022 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2023 (ev_view_copy), (ev_view_primary_get_cb),
2024 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2025 (ev_view_button_press_event), (ev_view_motion_notify_event),
2026 (ev_view_button_release_event), (page_changed_cb):
2030 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2032 * shell/ev-view.c: (compute_border), (get_page_extents),
2033 (doc_rect_to_view_rect), (highlight_find_results),
2034 (ev_view_bin_expose), (ev_view_select_all),
2035 (ev_view_motion_notify_event), (update_find_status_message),
2036 (jump_to_find_result), (jump_to_find_page):
2038 First go at fixing search, still buggy
2040 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2042 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2043 dropdown box and button at the top of the sidebar.
2045 2005-05-02 James Bowes <bowes@cs.dal.ca>
2047 * configure.ac: Output zoom-control Makefile.
2048 * cut-n-paste/Makefile.am: build zoom-control subdir.
2049 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2050 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2051 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2052 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2053 * cut-n-paste/zoom-control/ephy-zoom.c:
2054 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2055 from epiphany, and modified to add a separator into the menu.
2056 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2057 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2058 zoom-control action.
2059 * shell/Makefile.am: Include zoom-control flags.
2060 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2061 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2062 (ev_view_zoom_for_size_presentation),
2063 (ev_view_zoom_for_size_continuous_and_dual_page),
2064 (ev_view_zoom_for_size_continuous),
2065 (ev_view_zoom_for_size_dual_page),
2066 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2067 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2068 ev_view_get_zoom and ev_view_get_sizing_mode.
2070 * shell/ev-window.c: (update_action_sensitivity),
2071 (update_sizing_buttons), (zoom_control_changed_cb),
2072 (register_custom_actions): Initialize and use the zoom-control
2075 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2077 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2078 preview cache back to 1. Don't know when it got set to 0.
2080 * shell/ev-view.c: (compute_border), (ev_view_realize),
2081 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2082 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2083 (ev_view_get_fullscreen), (ev_view_set_presentation),
2084 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2085 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2087 * shell/ev-window.c:
2088 (update_chrome_visibility),
2089 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2090 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2091 (update_document_mode), (ev_window_update_fullscreen_action),
2092 (ev_window_fullscreen), (ev_window_unfullscreen),
2093 (ev_window_cmd_view_fullscreen),
2094 (ev_window_update_presentation_action),
2095 (ev_window_run_presentation), (ev_window_stop_presentation),
2096 (ev_window_cmd_view_presentation), (ev_window_state_event),
2097 (ev_window_focus_in_event), (ev_window_focus_out_event),
2098 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2099 * data/evince-ui.xml: Initial presentation mode. We should
2100 probably hide this until it's done, as it's quite rough. Also,
2101 change full-screen to fullscreen and add two getters to EvView.
2103 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2105 * shell/ev-page-action.c: (update_page_cache),
2106 (ev_page_action_dispose):
2107 * shell/ev-window.c: (destroy_fullscreen_popup),
2108 (ev_window_create_fullscreen_popup):
2110 Use connect_object rather than explicitly
2111 disconnect on dispose.
2113 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2115 * shell/ev-page-action.c: (update_page_cache),
2116 (ev_page_action_dispose):
2118 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2120 * backend/ev-page-cache.c: (_ev_page_cache_new),
2121 (ev_page_cache_set_page_label),
2122 (ev_page_cache_has_nonnumeric_page_labels):
2123 * backend/ev-page-cache.h:
2124 * shell/ev-page-action.c: (update_pages_label):
2126 If all page labels are numeric, fallback to default
2127 way to display number of pages. See bug 173185.
2129 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2131 * shell/ev-page-action.c: (ev_page_action_dispose):
2132 * shell/ev-view.c: (view_update_range_and_current_page):
2133 * shell/ev-window.c: (ev_window_dispose):
2135 Set page on scroll in continuous mode. Fixes bug 301986.
2136 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2138 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2142 Require poppler 0.3.0
2144 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2146 * shell/Makefile.am, configure.ac: Fix build problems
2147 with t1lib. Bug 301996.
2149 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2151 * shell/ev-view.c: (ev_view_scroll_event):
2153 Scroll up increase zoom
2155 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2157 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2158 (ev_view_set_sizing_mode),
2159 (ev_view_zoom_for_size_continuous_and_dual_page),
2160 (ev_view_zoom_for_size_continuous):
2161 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2162 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2163 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2166 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2167 Fix for 165473 and 165472.
2169 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2172 * thumbnailer/Makefile.am:
2173 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2174 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2175 * thumbnailer/evince-thumbnailer.schemas.in:
2177 Make thumbnailer schemas translatable. Fix for bug 301773
2179 * thumbnailer/evince-thumbnailer-djvu.schemas:
2180 * thumbnailer/evince-thumbnailer-dvi.schemas:
2181 * thumbnailer/evince-thumbnailer.schemas:
2185 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2187 * shell/ev-view.c (ev_view_init): forgot to set this.
2189 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2191 * shell/ev-view.c: (find_page_at_location),
2192 (get_link_at_location),
2193 (ev_view_set_show_border), (ev_view_set_spacing),
2194 (ev_view_zoom_for_size_continuous_and_dual_page),
2195 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2196 Also, add a quick fix measuring of widths. Also, removed
2197 ev_view_set_spacing and ev_view_set_show_border.
2199 * shell/ev-window.c: (ev_window_unfullscreen),
2200 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2202 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2204 * shell/ev-view.c: (view_update_range_and_current_page),
2207 Fix crash on exit and scrolling to page in continuous view.
2209 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2212 * backend/ev-page-cache.c: (_ev_page_cache_new),
2213 (ev_page_cache_get_max_width_size),
2214 (ev_page_cache_get_max_height_size):
2215 * backend/ev-page-cache.h:
2216 * data/evince-ui.xml:
2217 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2218 * shell/ev-view.c: (view_update_adjustments),
2219 (view_update_range_and_current_page), (get_bounding_box_size),
2220 (ev_view_size_request_continuous_and_dual_page),
2221 (ev_view_size_request_continuous),
2222 (ev_view_size_request_dual_page),
2223 (ev_view_size_request_single_page), (ev_view_size_request),
2224 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2225 (ev_view_bin_expose), (ev_view_expose_event),
2226 (ev_view_set_property), (ev_view_get_property),
2227 (ev_view_class_init), (ev_view_init), (ev_view_new),
2228 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2229 (ev_view_set_dual_page), (ev_view_set_full_screen),
2230 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2231 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2232 (ev_view_zoom_out), (zoom_for_size_fit_width),
2233 (zoom_for_size_best_fit),
2234 (ev_view_zoom_for_size_continuous_and_dual_page),
2235 (ev_view_zoom_for_size_continuous),
2236 (ev_view_zoom_for_size_dual_page),
2237 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2238 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2240 * shell/ev-window.c: (update_action_sensitivity),
2241 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2242 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2243 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2244 (ev_window_cmd_view_zoom_out), (update_view_size),
2245 (ev_window_set_sizing_mode), (ev_window_init):
2247 Add Continuous and Dual page modes.
2249 2005-04-23 James Bowes <bowes@cs.dal.ca>
2251 * dvi/dvi-document.c: (dvi_document_load),
2252 (dvi_document_thumbnails_get_thumbnail),
2253 (dvi_document_init_params): Fix up some mixups between
2254 width and height to correct thumbnail rendering.
2256 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2258 * dvi/mdvi-lib/private.h:
2259 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2261 Suppess output for kpathsea during font generation. Thanks to
2264 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2271 * Makefile.am: fix distcheck.
2273 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2275 * shell/ev-sidebar-links.c: (selection_changed_callback),
2276 (update_page_callback), (row_activated_callback),
2277 (job_finished_callback), (ev_sidebar_links_set_document):
2279 Fix for bug #169901. Double click on links expands tree.
2281 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2283 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2284 hard-coded style. Fix for bug 170111
2286 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2288 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2291 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2293 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2295 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2297 * pdf/ev-poppler.cc:
2298 * shell/ev-view.c: (highlight_find_results):
2300 Fix find on single page documents
2302 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2304 * data/evince.schemas.in: fix for bug 301390
2306 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2308 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2309 (ev_view_zoom_out), (ev_view_zoom_normal):
2311 * shell/ev-window.c: (update_action_sensitivity),
2312 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2313 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2314 (ev_window_cmd_view_normal_size):
2316 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2317 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2320 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2324 Depend on 2.57, 2.59 doesnt seem to be necessary
2326 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2328 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2331 Put back total number of pages as (1 of 1234)
2333 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2335 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2338 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2339 function. This helps debugging.
2341 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2343 * djvu/djvu-document.c: (djvu_document_class_init),
2344 (djvu_document_get_info), (djvu_document_document_iface_init):
2345 * dvi/dvi-document.c: (dvi_document_class_init),
2346 (dvi_document_get_info), (dvi_document_document_iface_init):
2348 Dummy implementation of get_info method for dvi and djvu. Fix
2349 crashes with those backends
2351 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2353 * data/evince.desktop.in:
2355 Add application/x-gzpostscript
2357 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2359 * data/evince.schemas.in: Added real long descriptions,
2362 * README: Added actual text, closes bug 171869
2364 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2366 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2370 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2372 * backend/ev-document-info.h:
2374 s/GDate */GDate so we can just use g_free
2376 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2378 * shell/ev-window.c: (update_document_mode),
2379 (ev_window_setup_document):
2381 Show the window in fullscreen when specified by
2384 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2386 * backend/ev-document.c: (ev_document_class_init),
2387 (ev_document_get_info), (ev_document_render_pixbuf):
2388 * backend/ev-document.h:
2389 * backend/ev-page-cache.c: (_ev_page_cache_new):
2390 * pdf/ev-poppler.cc:
2391 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2392 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2393 * ps/ps-document.c: (ps_document_class_init), (document_load),
2394 (ps_document_get_info), (ps_document_document_iface_init):
2396 Remove get_title from the interface, we can just use document info
2398 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2400 * backend/Makefile.am:
2401 * backend/ev-document.c: (ev_document_render_get_info):
2402 * backend/ev-document.h:
2403 * pdf/ev-poppler.cc:
2405 Initial support for document info. Based on jrb patch.
2407 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2409 * shell/ev-window.c: (ev_window_state_event),
2410 (ev_window_class_init), (ev_window_init):
2412 Doesn't show resize grip when maximized. See bug #301053
2414 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2418 ev-sidebar-thumbnails now has translatable labels
2420 * shell/Makefile.am:
2421 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2422 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2423 (ev_sidebar_links_page_iface_init):
2424 * shell/ev-sidebar-links.h:
2425 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2426 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2427 (ev_sidebar_page_get_label):
2428 * shell/ev-sidebar-page.h:
2429 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2430 (ev_sidebar_thumbnails_set_document),
2431 (ev_sidebar_thumbnails_support_document),
2432 (ev_sidebar_thumbnails_get_label),
2433 (ev_sidebar_thumbnails_page_iface_init):
2434 * shell/ev-sidebar-thumbnails.h:
2435 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2436 (ev_sidebar_set_document):
2437 * shell/ev-sidebar.h:
2438 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2440 Small rework of sidebar code. Now sidebar pages should implement
2441 EvSidebarPage interface. That makes page management in EvSidebar
2442 easier. See bug #164811 for details
2444 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2446 * shell/ev-application.c: (ev_application_open):
2447 * shell/ev-document-types.c:
2449 Fix build error and small problem with application exit
2451 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2453 * thumbnailer/Makefile.am:
2454 * thumbnailer/evince-thumbnailer-djvu.schemas:
2455 * thumbnailer/evince-thumbnailer-dvi.schemas:
2457 Conditionally install schemas for djvu/dvi thumbnailer
2459 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2461 * shell/ev-document-types.h:
2462 * shell/ev-document-types.c:
2463 New files, handling the mapping from mimetypes to backends
2465 * shell/ev-window.c:
2466 * thumbnailer/evince-thumbnailer.c:
2467 Use the ev-document-types code
2469 * shell/Makefile.am:
2470 Added new convenience library libevbackendfactory_la, containing
2471 the new mimetype->backend logic; moved the backends into it.
2473 * thumbnailer/Makefile.am:
2474 Make the thumbnailer link with the libevbackend.la convenience
2475 library, rather than having a duplicate of the backend logic here.
2477 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2479 * shell/ev-stock-icons.c: constify some vars.
2480 * shell/ev-window.c: ditto.
2482 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2484 * ps/ps-document.c (get_page_orientation):
2486 Respect document orientation
2488 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2492 * shell/Makefile.am:
2494 Move library dependencies to components.
2496 * shell/ev-window.c: (update_window_title),
2497 (start_loading_document):
2499 Fix display of uris with spaces. Bug 168358.
2501 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2503 * shell/ev-sidebar-links.c: (selection_changed_cb):
2504 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2505 (ev_view_button_release_event), (ev_view_set_document):
2507 * shell/ev-window.c: (find_bar_search_changed_cb):
2508 * shell/ev-window.h: Minor cleanups removing some dead code.
2510 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2512 * backend/ev-page-cache.c: (_ev_page_cache_new):
2514 Set current page to 0 if document has pages.
2516 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2518 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2520 Initialize GError to NULL, fix a crash when loading fails.
2522 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2524 * shell/ev-window.c: (update_view_size):
2526 Calculate shadow size only when there is actually
2529 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2531 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2534 Allow setting view spacing, default to 0
2536 * shell/ev-window.c: (ev_window_unfullscreen),
2537 (ev_window_cmd_view_fullscreen), (ev_window_init):
2539 Remove spacing in fullscreen mode
2541 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2543 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2544 (ev_view_size_request), (expose_bin_window),
2545 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2547 * shell/ev-window.c: (ev_window_unfullscreen),
2548 (ev_window_cmd_view_fullscreen):
2550 Do not draw the border in fulscreen
2552 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2554 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2555 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2556 (find_page_at_location), (page_changed_cb):
2558 Rework border calculation, so that I can more easily disable it.
2559 Code somewhat cleaner too.
2561 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2563 * backend/ev-page-cache.c: (ev_page_cache_init),
2564 (_ev_page_cache_new):
2566 Remove some assertions, documents can have 0 pages.
2567 Make initial current page -1.
2569 * shell/ev-page-action.c: (page_changed_cb):
2571 Show "" if current page is -1
2573 * shell/ev-window.c: (update_action_sensitivity),
2574 (ev_window_setup_document):
2576 When document has 0 pages do not set the view
2577 and make nearly everything insensitive.
2579 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2581 * shell/ev-page-view.c:
2582 * shell/ev-page-view.h:
2584 Remove unused files.
2586 * shell/ev-sidebar-thumbnails.c:
2587 (ev_sidebar_thumbnails_set_document):
2588 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2589 (ev_sidebar_supports_document):
2590 * shell/ev-sidebar.h:
2591 * shell/ev-window.c: (ev_window_setup_document):
2593 Doesn't show thumbnails if document has 1 page. Make
2594 sidebar menu entries sensitive only if if they have
2595 sense. Fix bug 164811.
2597 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2599 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2600 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2601 (ev_view_zoom_out), (ev_view_set_size):
2603 Rework sizing to deal with documents with not uniform page
2606 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2608 * backend/ev-page-cache.c: (_ev_page_cache_new):
2610 Fix several page size caching bugs
2612 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2614 * shell/ev-window.c: (set_action_properties):
2616 Make all toolbar items translatable
2618 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2620 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2621 (save_page_list), (ps_document_save),
2622 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2623 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2624 (ps_document_ps_exporter_iface_init):
2627 Based on a patch by J�rg Billeter <j@bitron.ch>
2629 Implement print and save a copy for the ps backend.
2631 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2633 * backend/ev-document.h:
2634 * djvu/djvu-document.c: (djvu_document_can_get_text),
2635 (djvu_document_document_iface_init):
2636 * dvi/dvi-document.c: (dvi_document_can_get_text),
2637 (dvi_document_document_iface_init):
2638 * pdf/ev-poppler.cc:
2639 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2640 (pixbuf_document_document_iface_init):
2641 * ps/ps-document.c: (ps_document_can_get_text),
2642 (ps_document_document_iface_init):
2643 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2644 * shell/ev-window.c: (update_action_sensitivity):
2646 Fix the crash when trying to copy in backends that doesnt
2647 support it. We can implement a better solution once we
2648 do real text selection.
2650 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2652 * data/evince-ui.xml:
2653 * shell/ev-window.c: (ev_window_cmd_escape):
2655 Work around the Escape conflict (find bar and unfullscreen)
2657 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2659 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2661 Fix for #300233. Next page correctly handles document end.
2663 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2664 (ev_sidebar_thumbnails_class_init),
2665 (ev_sidebar_thumbnails_set_document),
2666 (ev_sidebar_thumbnails_clear_job),
2667 (ev_sidebar_thumbnails_clear_model):
2669 Cleanup thumbnail jobs on document changes.
2671 * shell/ev-view.c: (add_scroll_binding_keypad),
2672 (add_scroll_binding_shifted), (ev_view_class_init):
2674 Shift + Space scrolls up. Fix for #173184
2676 * shell/ev-window.c: (ev_window_open_page),
2677 (ev_window_cmd_view_reload):
2679 Fix reload (Bug #300094)
2681 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2684 * dvi/mdvi-lib/assoc.c:
2685 * dvi/mdvi-lib/assoc.h: Removed garbage files
2687 * dvi/mdvi-lib/bitmap.c:
2688 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2689 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2690 * dvi/mdvi-lib/color.h: Antialias of rules
2692 * dvi/mdvi-lib/common.h:
2693 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2694 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2695 * dvi/mdvi-lib/files.c:
2696 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2697 * dvi/mdvi-lib/mdvi.h:
2698 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2699 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2700 * dvi/mdvi-lib/util.c: Fix compile warnings
2702 * dvi/dvi-document.c:
2703 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2704 (dvi_document_thumbnails_get_thumbnail),
2705 (dvi_document_document_thumbnails_iface_init):
2706 * dvi/mdvi-lib/Makefile.am:
2707 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2708 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2710 Dvi backend now renders thumbnails
2712 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2714 * shell/main.c: (main):
2716 Save accelerators on exit. Fixes bug #172095.
2718 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2720 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2721 update priority" comment.
2723 * backend/ev-job-queue.c: Give a way to change priority.
2725 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2727 * shell/ev-page-action.c: Fix logic.
2729 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2731 * shell/ev-view.c: (ev_view_can_find_next):
2732 * shell/ev-window.c: (ev_window_setup_document):
2734 Check that the document supports find
2736 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2738 * data/evince-ui.xml:
2739 * shell/ev-view.c: (ev_view_can_find_next):
2741 * shell/ev-window.c: (update_action_sensitivity),
2742 (find_changed_cb), (ev_window_setup_document),
2743 (ev_window_cmd_edit_find_next):
2747 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2749 * pdf/ev-poppler.cc:
2750 * shell/ev-print-job.c: (idle_print_handler):
2752 Make printing work again
2754 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2756 * shell/ev-page-action.h:
2757 * shell/ev-page-action.c: (ev_page_action_widget_init),
2758 (ev_page_action_widget_class_init), (page_changed_cb),
2759 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2760 (get_filter_model_from_model), (match_selected_cb),
2761 (display_completion_text), (match_completion), (update_model),
2762 (connect_proxy), (ev_page_action_set_property),
2763 (ev_page_action_get_property), (ev_page_action_set_document),
2764 (ev_page_action_set_model), (ev_page_action_class_init): Big
2765 reworking to make completions work iff we have >= GTK-2.7.0
2767 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2768 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2769 (job_finished_cb): We now have a 'model' property that is set when
2770 the links are loaded. This can be caught with "notify::model"
2772 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2773 listen for the model to be set, and propagate it to the action.
2775 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2777 * cut-n-paste/recent-files/egg-recent-item.c:
2778 (egg_recent_item_set_uri), (make_valid_utf8),
2779 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2780 * cut-n-paste/recent-files/egg-recent-item.h:
2782 Update egg-recent from libegg. This should fix long
2783 startup problem. For details see
2784 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2786 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2788 * cut-n-paste/recent-files/Makefile.am:
2789 * data/evince-ui.xml, shell/Makefile.am:
2790 * shell/ev-application.c, shell/ev-application.h:
2791 * shell/ev-window.c: Recent files support.
2793 * configure.ac: Added "ru" to ALL_LINGUAS.
2795 * dvju: new backend to support DJVU files.
2796 * dvi: new backend to support DVI.
2798 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2799 * ev-application.c: Support for new backends.
2801 * help, ev-window.c, main.c shell/Makefile.am:
2802 Evince user documentation.
2804 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2807 * shell/ev-window.c:
2808 * thumbnailer/evince-thumbnailer.c:
2810 s/pdf-document/ev-poppler
2812 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2819 * ps/ps-document.c: (setup_pixmap):
2823 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2825 * backend/ev-page-cache.c (ev_page_cache_next_page):
2826 * shell/ev-window.c (ev_window_cmd_go_next_page)
2827 (ev_window_cmd_go_first_page): Fix of by one errors.
2829 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2831 * ps/ps-document.c: (get_page_box):
2833 Fix page size calculation
2835 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2837 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2838 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2839 (get_page_orientation), (setup_page), (document_load),
2840 (ps_document_get_page_size), (render_pixbuf_idle):
2843 More refactoring to adapt to EvDocument changes
2845 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2847 * ps/ps-document.c: (start_interpreter):
2849 Actually add alpha args
2851 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2853 * pdf/ev-poppler.cc:
2855 Make clipboard work again
2857 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2859 Make searching work again.
2861 * backend/ev-document.c:
2862 * backend/ev-document.h:
2863 * backend/ev-document-find.c:
2864 * backend/ev-document-find.h: Change EvDocumentIface so we no
2865 longer store the current page or zoom level in the document. The
2866 consequence is that all calls that operate on the current page now
2867 instead take the page number as an extra argument, and all
2868 coordinates are now doubles in document coordinate system.
2870 * pdf/ev-poppler.cc:
2871 * pixbuf/pixbuf-document.c:
2872 * ps/ps-document.c: Update backends accordingly.
2874 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2878 Add required gettext version
2880 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2882 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2883 make F1 bring up non-existent help.
2885 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2886 epiphany's find bar, #167477
2888 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2889 <emil@nishra.com> to add space-bar scrolling,
2891 * shell/ev-window.c (static GtkActionEntry entries): add default
2892 keybinding for Help (F1)
2895 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2896 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
2899 2005-04-01 David Malcolm <dmalcolm@redhat.com>
2902 * pixbuf/pixbuf-document.c:
2904 Got pixbuf backend working again
2906 2005-04-01 Steve Murphy <murf@e-tools.com>
2908 * configure.in: Added "rw" to ALL_LINGUAS.
2910 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
2912 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
2913 model types, noticed by Martin Kretzschmar.
2915 2005-04-01 Kristian Høgsberg <krh@redhat.com>
2917 * pdf/ev-poppler.cc: Implement search based on
2918 poppler_page_find_text(). Currently a bit crude since we remember
2919 all matches from all pages. Also, we grab the big document lock
2920 when we search since searching changes the underlying stream and
2921 thus conflicts with the rendering thread.
2923 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2924 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
2925 (ev_view_find_previous): Fix some page indexes to be 0 based,
2926 offset rubber band by view offset,
2928 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
2930 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
2932 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
2934 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
2935 completely because I didn't understand GtkActions. I should
2936 read Marco's code more carefully in the future.
2938 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
2941 2005-03-31 Kristian Høgsberg <krh@redhat.com>
2943 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
2944 PopplerRectangle change from poppler CVS.
2946 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
2948 * backend/ev-document.c: (ev_document_get_page_label):
2949 * backend/ev-document.h:
2950 * backend/ev-page-cache.c: (_ev_page_cache_new),
2951 (ev_page_cache_get_page_label):
2952 * backend/ev-page-cache.h:
2953 * pdf/ev-poppler.cc:
2954 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
2955 (links_page_num_func):
2956 * shell/ev-sidebar-thumbnails.c:
2957 (ev_sidebar_thumbnails_set_document):
2958 * shell/ev-view.c: (status_message_from_link),
2959 (ev_view_motion_notify_event):
2960 * shell/ev-window.c: (document_supports_sidebar): Add in page
2961 label support. It's not perfect yet, but it's the first 'feature'
2963 Also, fix a bogus comment noticed by crispin.
2965 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
2967 * Makefile.am: Remove pixbuf backend for now
2969 * configure.ac: Require poppler-glib instead of just poppler.
2971 * backend/ev-document-thumbnails.h: Add a comment
2973 * backend/ev-document.h:
2974 * backend/ev-document.c: (ev_document_class_init),
2975 (ev_document_load), (ev_document_get_link),
2976 (ev_document_get_links): Remove 3 methods and add get_links.
2979 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2980 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
2982 * backend/ev-link.c: (ev_link_set_title),
2983 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
2984 (ev_link_mapping_find):
2985 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
2987 * backend/ev-page-cache.c: (ev_page_cache_init),
2988 (_ev_page_cache_new), (ev_page_cache_set_current_page),
2989 (ev_page_cache_get_size), (ev_page_cache_next_page),
2990 (ev_page_cache_prev_page): Fix to be 0 based.
2994 * pdf/ev-poppler.cc: New backend.
2996 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
2997 (ps_document_get_page), (ps_document_document_iface_init):
2999 * shell/ev-pixbuf-cache.h:
3000 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3001 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3002 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3003 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3004 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3005 Fix up code to grab a page cache per each doc. Also, fix to be 0
3008 * shell/ev-sidebar-thumbnails.c:
3009 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3010 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3012 * shell/ev-view.c: (status_message_from_link),
3013 (find_page_at_location), (get_link_at_location),
3014 (ev_view_motion_notify_event), (ev_view_button_release_event),
3015 (ev_view_init): Use the new link code. Fix to be 0 based.
3017 * shell/ev-window.c: (update_action_sensitivity),
3018 (document_supports_sidebar): 0 based.
3020 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3022 * pdf/pdf-document.cc: Patch from Fernando Herrera
3023 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3026 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3028 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3029 1 to the page, as this seems to be 1 based. I thought we has this
3032 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3035 * backend/Makefile.am:
3036 * backend/ev-document-links.c:
3037 (ev_document_links_has_document_links),
3038 (ev_document_links_get_links_model):
3039 * backend/ev-document-links.h:
3040 * backend/ev-document.c: (ev_document_get_page_cache),
3041 (ev_document_get_doc_mutex), (ev_document_load),
3042 (ev_document_save), (ev_document_get_title),
3043 (ev_document_get_n_pages), (ev_document_set_page),
3044 (ev_document_get_page), (ev_document_set_target),
3045 (ev_document_set_scale), (ev_document_set_page_offset),
3046 (ev_document_get_page_size), (ev_document_get_text),
3047 (ev_document_get_link), (ev_document_render),
3048 (ev_document_render_pixbuf), (ev_document_scale_changed):
3049 * backend/ev-document.h:
3050 * backend/ev-job-queue.c: (remove_object_from_queue),
3051 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3052 (no_jobs_available_unlocked), (ev_render_thread),
3053 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3054 (ev_job_queue_remove_job):
3055 * backend/ev-job-queue.h:
3056 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3057 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3058 (ev_job_links_class_init), (ev_job_render_init),
3059 (ev_job_render_dispose), (ev_job_render_class_init),
3060 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3061 (ev_job_thumbnail_class_init), (ev_job_finished),
3062 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3063 (ev_job_render_run), (ev_job_thumbnail_new),
3064 (ev_job_thumbnail_run):
3065 * backend/ev-jobs.h:
3066 * backend/ev-link.c:
3067 * backend/ev-link.h:
3068 * backend/ev-page-cache.c: (ev_page_cache_init),
3069 (ev_page_cache_class_init), (ev_page_cache_finalize),
3070 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3071 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3072 (ev_page_cache_set_link), (ev_page_cache_get_title),
3073 (ev_page_cache_get_size), (ev_page_cache_next_page),
3074 (ev_page_cache_prev_page):
3075 * backend/ev-page-cache.h:
3076 * pdf/pdf-document.cc:
3079 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3080 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3081 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3082 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3083 (is_interpreter_ready), (output), (catchPipe), (input),
3084 (start_interpreter), (check_filecompressed), (compute_dimensions),
3085 (ps_document_enable_interpreter), (document_load),
3086 (ps_document_next_page), (render_page), (ps_document_set_page),
3087 (ps_document_set_scale), (render_pixbuf_idle),
3088 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3090 * shell/Makefile.am:
3091 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3092 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3093 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3094 (ev_pixbuf_cache_new), (job_finished_cb),
3095 (check_job_size_and_unref), (move_one_job),
3096 (ev_pixbuf_cache_update_range), (find_job_cache),
3097 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3098 (ev_pixbuf_cache_add_jobs_if_needed),
3099 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3100 * shell/ev-pixbuf-cache.h:
3101 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3102 (idle_print_handler):
3103 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3104 (selection_changed_cb), (create_loading_model),
3105 (ev_sidebar_links_construct), (links_page_num_func),
3106 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3107 (update_page_callback), (job_finished_cb),
3108 (ev_sidebar_links_set_document):
3109 * shell/ev-sidebar-thumbnails.c:
3110 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3111 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3112 (page_changed_cb), (thumbnail_job_completed_callback),
3113 (ev_sidebar_thumbnails_set_document):
3114 * shell/ev-sidebar-thumbnails.h:
3115 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3116 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3117 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3118 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3119 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3120 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3121 (ev_view_button_release_event), (ev_view_scroll_view),
3122 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3123 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3124 (ev_view_new), (job_finished_cb), (page_changed_cb),
3125 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3126 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3127 (ev_view_find_previous):
3129 * shell/ev-window.c: (update_action_sensitivity),
3130 (ev_window_open_page), (update_window_title), (update_total_pages),
3131 (page_changed_cb), (ev_window_setup_document),
3132 (password_dialog_response), (ev_window_cmd_save_as),
3133 (ev_window_print), (ev_window_cmd_go_previous_page),
3134 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3135 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3136 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3137 * shell/main.c: (main):
3139 Merge evince-threads branch
3141 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3143 * configure.ac: Added "lt" to ALL_LINGUAS.
3145 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3152 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3154 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3156 Fix here also the thumbnails 1-basedness :)
3158 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3165 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3167 * pdf/pdf-document.cc:
3168 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3169 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3171 Fix the mess we did with thumbnails and 1-basedness
3173 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3175 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3177 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3184 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3187 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3188 (gtk_gs_defaults_get_alpha_parameters),
3189 (gtk_gs_defaults_get_ungzip_cmd),
3190 (gtk_gs_defaults_get_unbzip2_cmd):
3192 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3193 (ps_document_get_orientation), (document_load),
3194 (ps_document_goto_page), (ps_document_set_page_size):
3197 Some more sanitization of the ps backend. Remove a lot
3198 of unused code and do not base our defaults on ggv
3201 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3203 * thumbnailer/evince-thumbnailer.schemas:
3204 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3205 (main): add -s option for thumbnail size.
3207 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3211 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3214 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3216 * pdf/pdf-document.cc:
3218 Remove 4 pixels of useless border from the
3221 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3223 * backend/ev-document-thumbnails.c:
3224 (ev_document_thumbnails_get_thumbnail):
3225 * backend/ev-document-thumbnails.h:
3227 Rework API a bit. Add a border flag and
3228 change sizing logic (now the size we specify
3229 applies to the bigger dimension).
3231 * pdf/pdf-document.cc:
3232 * pixbuf/pixbuf-document.c:
3233 (pixbuf_document_thumbnails_get_thumbnail):
3234 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3235 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3237 Adapt to the new API and do not draw a border for nautilus
3240 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3242 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3243 take thumbnails from page "0" instead of "1". Added a copyright header.
3245 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3247 * ps/ps-document.c: (set_up_page), (start_interpreter):
3249 Make it C89 compliant
3251 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3256 * pdf/pdf-document.cc:
3257 * thumbnailer/Makefile.am:
3258 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3260 * thumbnailer/evince-thumbnailer.schemas:
3261 * thumbnailer/pdf-icon.png:
3263 Add a nautilus thumbnailer.
3264 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3266 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3274 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3276 Use poppler instead of including xpdf source code. Poppler is a
3277 fork of xpdf to build it as a shared library. See
3278 http://freedesktop.org/wiki/Software/poppler.
3280 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3283 * pdf/Makefile.am: Build libpdfdocument.a here.
3285 * pdf/GDKSplashOutputDev.cc:
3286 * pdf/GDKSplashOutputDev.h:
3287 * pdf/GnomeVFSStream.cc:
3288 * pdf/GnomeVFSStream.h:
3291 * test-gdk-output-dev.cc
3293 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3296 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3298 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3300 Clear idle stack before unsetting the document
3302 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3304 * ps/ps-document.c: (ps_document_widget_event),
3305 (ps_document_set_target), (ps_document_finalize),
3306 (ps_document_get_page):
3308 Disconnect the widget event signal on finalize.
3311 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3313 * ps/ps-document.c: (set_up_page):
3315 If there is no bpixmap create one, even if size
3318 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3320 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3321 (set_up_page), (document_load), (ps_document_set_zoom):
3323 Default page is 0. Calculate size even when we have no
3326 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3328 * shell/ev-sidebar.c: expand the selection widget to be always as
3331 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3333 * shell/ev-sidebar-thumbnails.c:
3334 (ev_sidebar_thumbnails_set_document):
3336 Clear the list store when setting document
3338 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3340 * shell/ev-page-action.c: (update_entry), (sync_entry),
3341 (activate_cb), (entry_size_request_cb), (create_tool_item),
3344 Use an entry for the page control instead of spinbuttons
3346 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3348 * data/evince.schemas.in:
3350 Correct confusing string
3352 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3354 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3355 for real. Gosh, how long has this been broken.
3357 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3358 check for a NULL link. We crash otherwise.
3360 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3367 2005-02-25 Sebastien Bacher <seb128@debian.org>
3369 * configure.ac: add the french translation.
3371 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3373 * shell/ev-window.c:
3375 Remove unused header -> fix distcheck
3377 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3379 * shell/ev-window.c: (update_window_title),
3380 (ev_window_popup_password_dialog):
3382 Unescape filename for display
3384 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3386 * pdf/xpdf/pdf-document.cc:
3388 In get_page_size deal with rotation. Also
3389 cleanup the function a bit.
3391 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3393 * pdf/xpdf/pdf-document.cc:
3395 Fix crash when opening in new window
3397 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3401 Check ghostscript >= 7
3403 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3405 * shell/ev-window.c:
3407 Make page width the default sizing mode
3409 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3410 Marco Pesenti Gritti <marco@gnome.org>
3412 * shell/ev-window.c: Remember the sidebar size
3414 * data/evince.schemas.in: Add a new gconf key to store the size of
3417 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3419 * data/evince-ui.xml:
3420 * shell/ev-window.c: (update_action_sensitivity),
3421 (ev_window_cmd_view_reload):
3423 Add a "Reload" action and menu entry
3425 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3427 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3428 iff the type doesn't support thumbnailing and indexing.
3430 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3432 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3434 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3436 * pdf/splash/Splash.cc:
3438 Port fix for a crasher from kde bug
3439 http://bugs.kde.org/show_bug.cgi?id=97131
3441 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3443 * pdf/xpdf/pdf-document.cc:
3445 Return a link even if it's of an unrecognized
3446 type. Otherwise we go in an infinte cycle.
3448 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3450 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3451 (size_allocate_cb), (ev_window_set_sizing_mode):
3453 Update size when switching mode
3455 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3457 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3458 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3459 (ev_window_cmd_view_normal_size):
3461 Fix size toggle buttons behavior
3463 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3465 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3466 (doc_rect_to_view_rect), (ev_view_size_allocate),
3467 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3468 (scale_changed_callback):
3470 Do not cache offsets in size_allocate.
3472 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3474 * shell/ev-view.c: (ev_view_size_allocate):
3476 Calculate offsets before calling the parent
3477 class (which does a redraw)
3479 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3481 * pdf/xpdf/pdf-document.cc:
3483 Fix a crasher on exit. Unused code, put a TODO
3485 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3487 * backend/ev-document.c: (ev_document_class_init),
3488 (ev_document_page_changed), (ev_document_scale_changed):
3489 * backend/ev-document.h:
3491 Separate page/scale notifications
3493 * pdf/xpdf/pdf-document.cc:
3495 Emit the new signals.
3496 Do not display the pdf page in _render, do it
3497 when scale/page are requested.
3499 * ps/ps-document.c: (ps_document_set_zoom),
3500 (ps_document_widget_event):
3503 Emit the new signals.
3505 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3506 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3507 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3508 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3510 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3511 (ev_window_cmd_view_page_width), (size_allocate_cb),
3512 (ev_window_set_sizing_mode):
3514 Rework sizing to be pixel based.
3515 There are bugs but should be already way better.
3517 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3519 * shell/ev-window.c: (ev_window_init):
3521 Do not allow to shrink sidebar smaller then
3524 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3526 * shell/ev-sidebar.[ch]
3527 * shell/ev-window.c:
3529 Improved sidebar widget. Fixes #166683
3531 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3533 * shell/ev-view.c (update_find_status_message): Give translators
3534 more flexibility with ngettext plural handling.
3536 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3538 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3539 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3540 page when we get the page size.
3542 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3544 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3546 ps pages are 0 based, convert
3548 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3550 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3552 Initialize correct parent class. Set GError on document load
3554 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3556 * pdf/xpdf/pdf-document.cc:
3558 Fixup selection offset calculation
3560 * shell/ev-view.c: (view_rect_to_doc_rect),
3561 (doc_rect_to_view_rect), (ev_view_size_allocate),
3562 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3563 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3565 Store selection as document relative, so that zooming
3566 and offset changing doesnt break it.
3568 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3570 * shell/ev-view.c: (ev_view_best_fit):
3572 Do not try to best fit if the view is not realized
3574 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3576 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3578 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3580 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3582 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3584 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3585 the popup window. That prevents it resizing when in full screen
3588 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3589 multiple rerenders. This pretty much sucks.
3591 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3592 rest of the toolbar.
3594 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3596 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3598 2005-02-17 Alexander Shopov <ash@contact.bg>
3600 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3602 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3604 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3606 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3608 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3609 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3610 (set_document_page), (document_changed_callback),
3611 (ev_view_set_document), (ev_view_find_previous),
3612 (ev_view_hide_cursor), (ev_view_show_cursor):
3614 * shell/ev-window.c: (update_chrome_visibility),
3615 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3616 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3617 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3618 (ev_window_unfullscreen):
3619 * shell/main.c: (main):
3621 Automatically hide the fullscreen button.
3622 Patch by Kristian Høgsberg <krh@redhat.com>
3624 2005-02-16 Vincent Noel <vnoel@cox.net>
3626 * shell/main.c (main): Specify an icon for the window. Patch by
3627 Jaap A. Haitsma. Fixes #166177.
3629 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3631 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3633 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3635 * backend/ev-document-misc.h:
3636 * backend/ev-document-misc.c:
3637 (ev_document_misc_get_page_border_size),
3638 (ev_document_misc_paint_one_page): New function to canonicalize
3639 sizing/painting a border.
3641 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3644 * pdf/xpdf/pdf-document.cc: use new function
3646 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3647 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3648 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3649 shell/ev-window.c: (update_sizing_buttons),
3650 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3651 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3652 (ev_window_cmd_view_page_width), (size_allocate_cb),
3653 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3654 and "fit width" values act as toggle buttons so they stay
3655 toggled. It's not 100% perfect, and it's a little slow, but it's
3656 good enough to commit I think.
3658 2005-02-15 David Lodge <dave@cirt.net>
3660 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3662 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3664 * shell/ev-window.c (update_window_title): replace newlines in
3665 the title by spaces. Bug #166107.
3667 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3669 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3670 parameters providing allocation width and height without
3671 scrollbars and width of a possible vertical scrollbar. With this
3672 additional information the functions can work as
3673 intended. Unfortunately they're not idempotent. We should
3674 transform these commands to toggles. Fixes Bug #164976
3675 Initial patch by Stephane Loeuillet, then heavily modified.
3677 * shell/ev-view.h: update prototypes.
3679 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3680 (ev_window_cmd_view_page_width): provide EvView fit functions with
3681 all the information they need. Formulas to calculate this
3682 information taken from GtkScrolledWindow.
3684 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3686 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3687 created a thumbnail, the list store is updated to know
3688 that the thumbnail is set. Fixes bug #166792
3690 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3692 * shell/ev-window.c: fixed typo, closes bug 166897
3694 * TODO: updated TODO with bug numbers that are relevant
3696 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3698 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3700 2005-02-09 Vincent Noel <vnoel@cox.net>
3702 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3703 and "Next" toolbar buttons as important to make them stand out.
3705 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3709 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3710 (start_interpreter), (stop_interpreter), (document_load),
3711 (ps_document_next_page), (ps_document_goto_page),
3712 (ps_document_set_page_size), (ps_document_widget_event),
3713 (ps_document_render):
3714 * shell/ev-page-view.c: (ev_page_view_dispose):
3715 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3717 Fix compilation on non-gcc platforms
3719 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3726 * pdf/xpdf/Catalog.cc:
3729 Fix the fix for CAN-2004-0888
3731 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3734 * data/evince-ui.xml:
3735 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3736 * shell/ev-stock-icons.h:
3737 * shell/ev-window.c: (update_action_sensitivity),
3738 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3739 (set_action_properties):
3741 Improve toolbar layout/icons
3743 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3745 * pdf/xpdf/pdf-document.cc:
3747 Add warnings about unimplemented/unknown link
3750 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3752 * ps/ps-document.c: (set_up_page):
3756 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3758 * ps/ps-document.c: (start_interpreter):
3762 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3764 * shell/ev-page-view.c: (ev_page_view_dispose):
3765 * shell/ev-view.c: (ev_view_finalize):
3766 * shell/ev-window.c: (ev_window_setup_document),
3767 (ev_window_dispose), (ev_window_init):
3769 Solve more refs issues.
3771 I commented out the page_view initialization for now:
3772 it was never destroyed (because it's never added
3773 to a container). Because of that we was leaking
3774 gs processes. Couldnt think to a clean fix.
3775 We need to figure this out, password view has the
3776 same issue probably.
3778 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3780 * ps/ps-document.c: (ps_document_finalize),
3781 (ps_document_get_n_pages), (ps_document_get_page):
3783 Some cleanups, stop the interpreter on finalize
3785 * shell/ev-page-view.c: (ev_page_view_dispose),
3786 (ev_page_view_class_init):
3788 Release our reference on the document
3790 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3794 * doc/debugging.txt:
3797 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3798 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3799 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3802 Add debugging helpers
3805 * ps/ps-document.c: (set_up_page), (start_interpreter),
3806 (stop_interpreter), (document_load), (ps_document_next_page),
3807 (ps_document_goto_page), (ps_document_set_page_size),
3808 (ps_document_widget_event), (ps_document_render):
3809 * shell/Makefile.am:
3810 * shell/ev-view.c: (expose_bin_window):
3811 * shell/main.c: (main):
3815 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3817 * ps/ps-document.c: (ps_document_widget_event):
3819 Initialize message_window, this should make ps
3820 rendering really work! (Never noticed because I was
3821 testing with a ps that is causing gs to exit every time!)
3823 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3825 * data/evince.schemas.in: updated simple error in applyto closing tag
3827 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3833 * data/evince-ui.xml:
3834 A data/evince.schemas.in:
3836 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3837 * shell/ev-stock-icons.h:
3838 * shell/ev-window.c: (update_chrome_visibility),
3839 (update_chrome_flag), (ev_window_cmd_edit_find),
3840 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3841 (ev_window_unfullscreen), (ev_window_focus_in_event),
3842 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3843 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3844 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3845 (ev_window_dispose), (ev_window_class_init),
3846 (set_action_properties), (set_chrome_actions), (load_chrome),
3849 Implement fullscreen mode changes from bug #164776.
3850 Also implement persistent chrome toggles.
3852 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3854 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3856 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3862 Add another check for find interface
3866 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3868 * shell/ev-application.c: (ev_application_open):
3869 * shell/ev-window.c: (ev_window_open):
3871 Open gzipped ps documents
3873 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3876 * shell/ev-view.c: (set_document_page):
3878 Clamp page number, dont try to move to
3881 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3883 * backend/ev-document-find.c: (ev_document_find_changed):
3884 * backend/ev-document-find.h:
3885 * pdf/xpdf/pdf-document.cc:
3886 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3887 * shell/ev-window.c: (find_bar_search_changed_cb):
3889 Fix several bugs with find
3891 2005-02-04 Martin Kretzschmar <martink@gnome.org>
3893 * shell/ev-sidebar-thumbnails.c
3894 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3895 document. Prevents warning from scroll_to_cell.
3897 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
3899 * configure.ac: Add «nb» to ALL_LINGUAS too.
3901 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
3903 * NOTES: New file with some random thoughts.
3907 * backend/ev-document-misc.c:
3908 (ev_document_misc_get_page_border_size): New function to
3909 canonicalize shadow drawing sizes. Possibly goofy.
3911 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
3912 (ev_view_best_fit), (ev_view_fit_width):
3913 * pdf/xpdf/pdf-document.cc:
3914 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3915 * ps/ps-document.c: (ps_document_get_page_size):
3916 * backend/ev-document-misc.h:
3917 * backend/ev-document.c: (ev_document_get_page_size):
3918 * backend/ev-document.h: get_page_size now takes a page number
3919 parameter. Made all the backends/frontends honor it.
3921 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
3922 see. Doesn't work yet.
3924 * shell/Makefile.am:
3925 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
3926 Doesn't do anything yet.
3928 * shell/ev-sidebar-thumbnails.c:
3929 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
3932 * shell/ev-window.c: (update_action_sensitivity),
3933 (ev_window_setup_document), (ev_window_set_page_mode),
3934 (ev_window_page_mode_cb), (ev_window_init): Clean up the
3935 view-swapping code a bit so we can have multiple views on a
3936 document. Add the multi-page view, though it can't be turned on
3939 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3941 * shell/ev-application.c: (ev_application_open):
3942 * shell/ev-view.c: (expose_bin_window):
3943 * shell/ev-window.c: (ev_window_open):
3945 Support eps and check document supports find
3946 before drawing highlightings in expose.
3948 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3950 * pixbuf/pixbuf-document.c:
3951 (pixbuf_document_thumbnails_get_dimensions),
3952 (pixbuf_document_document_thumbnails_iface_init):
3954 implement get_dimensions
3956 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3963 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3965 * shell/ev-view.c: (set_document_page):
3967 Scroll at the top of the page when changing page
3969 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3971 * shell/ev-view.c: (ev_view_motion_notify_event):
3973 Do not redraw unnecessarily
3975 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3977 * pdf/xpdf/pdf-document.cc:
3978 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3979 (expose_bin_window), (find_changed_cb):
3981 Yay! find works now... Now to find bugs...
3983 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3985 * backend/ev-document-find.c: (ev_document_find_base_init),
3986 (ev_document_find_changed):
3987 * backend/ev-document-find.h:
3988 * pdf/xpdf/pdf-document.cc:
3989 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3990 (expose_bin_window), (ev_view_init), (set_document_page),
3991 (ensure_rectangle_is_visible), (jump_to_find_result),
3992 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
3993 (ev_view_find_next), (ev_view_find_previous):
3995 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
3997 More work on find implementation, mostly there now
3999 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4001 * backend/ev-backend-marshalers.list:
4002 * backend/ev-document-find.c: (ev_document_find_base_init),
4003 (ev_document_find_cancel), (ev_document_find_page_has_results),
4004 (ev_document_find_get_n_results), (ev_document_find_get_result),
4005 (ev_document_find_get_progress), (ev_document_find_changed):
4006 * backend/ev-document-find.h:
4008 Enanche the find interface to be really able to do
4011 * pdf/xpdf/pdf-document.cc:
4015 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4016 (expose_bin_window), (ev_view_init),
4017 (ev_view_get_find_status_message), (find_changed_cb),
4018 (ev_view_set_document), (set_document_page):
4020 Adapt to the new interface. A few things are regressed sorry,
4021 I will finish it soon.
4023 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4025 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4026 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4027 ev_sidebar_thumbnails_parent_class variable, don't define another
4028 parent_class variable.
4030 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4031 (ev_page_action_class_init): ditto.
4033 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4034 (pixbuf_document_class_init): ditto.
4036 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4039 * .cvsignore: ignore various valgrind output files.
4041 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4043 * data/evince-ui.xml:
4044 * shell/Makefile.am:
4045 * shell/ev-history.c:
4046 * shell/ev-history.h:
4047 * shell/ev-navigation-action.c:
4048 * shell/ev-navigation-action.h:
4049 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4050 (ev_view_set_page), (ev_view_fit_width):
4052 * shell/ev-window.c: (update_action_sensitivity),
4053 (ev_window_setup_document), (register_custom_actions):
4055 Kill session history
4057 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4059 * shell/ev-window.c: (update_action_sensitivity):
4061 Fix inverted up/down buttons
4063 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4065 * shell/ev-sidebar-thumbnails.c
4066 (ev_sidebar_thumbnails_select_page): make sure the selected
4067 thumbnail stays visible.
4069 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4071 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4072 scrolled window for Federico.
4074 2005-01-26 Ole Laursen <olau@hardworking.dk>
4076 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4078 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4081 * pdf/splash/SplashFTFontEngine.cc:
4083 Fix CID fonts with freetype 2.1.9
4085 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4087 * TODO: added item for desktop icon thumbnailer
4089 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4091 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4092 unloaded docs when the title is accessed.
4094 * shell/ev-password-view.[hc]: New widget for displaying password
4097 * shell/ev-window.[ch]: Refactor password handling code to handle
4100 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4108 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4110 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4111 ignore page offset here, to make search results independent of it,
4113 * shell/ev-view.c (expose_bin_window): but take offsets into
4114 account here. Bug #164932
4116 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4117 scale at the right time. Bug #164996
4119 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4121 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4122 fix the problem. Now I just removed the Adobe font names and hope
4123 that the URW fonts are always in outline format. Bug #164934
4125 * shell/ev-window.c (update_window_title): empty titles are
4126 useless, use filename in that case too.
4128 * NEWS: Add some content.
4130 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4132 * TODO: added one more TODO item and a TODONE section :)
4134 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4136 * ps/ps-document.h: add page_[xy]_offset fields.
4138 * ps/ps-document.c (ps_document_set_page_offset)
4139 (ps_document_render): Keep offset in consideration in a few
4140 places. Bug #164752 "postscript documents are not centered in
4143 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4144 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4146 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4147 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4148 stub out missing methods for complete EvDocument implementation.
4149 Fixes segfaults with Save A Copy and Copy actions.
4151 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4152 (ps_document_document_iface_init): ditto.
4154 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4158 * data/evince.desktop.in:
4162 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4164 * shell/ev-view.c: (ev_view_button_press_event),
4165 (ev_view_motion_notify_event):
4167 Make selection work in any direction
4169 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4172 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4174 Use shorter labels for some of the toolbars items
4176 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4178 * pdf/xpdf/pdf-document.cc:
4180 Check the links info is initialized before
4181 using it. Should fix a crash on startup.
4183 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4185 * pixbuf/pixbuf-document.c
4186 (pixbuf_document_thumbnails_get_dimensions): force floating point
4187 division to calculate page_ratio. Fixes crash with landscape
4190 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4192 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4194 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4196 * shell/ev-view.c (set_document_page): unset has_selection when
4198 (set_document_page): handle paper size changes when the page
4199 changes (test with Free Culture, page 2).
4201 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4203 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4204 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4206 Use normal style color for the widget background and
4207 draw a black box around the page.
4209 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4211 * pdf/xpdf/pdf-document.cc:
4213 Keep offset in consideration in a few places
4215 * shell/ev-view.c: (expose_bin_window):
4217 Set the offsets so that the document is ever centered
4219 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4221 * TODO: Added TODO items and finished off the first todo item
4223 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4224 reflect current authors
4226 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4228 * pdf/xpdf/pdf-document.cc:
4229 * shell/ev-view.c: (ev_view_set_cursor),
4230 (ev_view_motion_notify_event), (document_changed_callback),
4231 (set_document_page):
4233 Show a wait cursor while the page is rendering
4235 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4237 * shell/ev-sidebar-thumbnails.c:
4238 (ev_sidebar_tree_selection_changed),
4239 (ev_sidebar_thumbnails_select_page):
4240 * shell/ev-sidebar-thumbnails.h:
4241 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4242 (ev_view_can_go_forward):
4243 * shell/ev-window.c: (ev_window_open_page),
4244 (ev_window_setup_document), (update_current_page),
4245 (view_page_changed_cb), (ev_window_init):
4246 * shell/ev-window.h:
4248 Ensure thumbnails selection, toolbar page control and
4249 current page are in sync.
4251 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4257 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4259 * backend/Makefile.am:
4260 * backend/ev-document-links.h:
4261 * backend/ev-document-security.c: (ev_document_security_get_type),
4262 (ev_document_security_has_document_security),
4263 (ev_document_security_set_password):
4264 * backend/ev-document-security.h:
4265 * backend/ev-document.c: (ev_document_error_quark):
4266 * backend/ev-document.h:
4268 * data/evince-password.glade:
4269 * pdf/xpdf/pdf-document.cc:
4270 * shell/Makefile.am:
4271 * shell/ev-password.c: (ev_password_set_bad_password_label),
4272 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4273 (ev_password_dialog_get_password),
4274 (ev_password_dialog_set_bad_pass):
4275 * shell/ev-password.h:
4276 * shell/ev-window.c: (ev_window_get_attribute),
4277 (ev_window_set_property), (update_action_sensitivity),
4278 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4279 (ev_window_setup_document), (ev_window_get_password),
4280 (ev_window_open), (ev_window_cmd_save_as),
4281 (using_postscript_printer), (ev_window_print),
4282 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4283 (update_fullscreen_popup), (ev_window_fullscreen),
4284 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4285 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4286 (menu_item_select_cb), (find_bar_search_changed_cb),
4287 (ev_window_dispose), (ev_window_init):
4289 Add initial support for password-supported dialogs. This could be
4290 a lot cooler, but it'll do for now.
4292 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4294 * pdf/xpdf/pdf-document.cc:
4295 * shell/ev-view.c: (status_message_from_link),
4296 (ev_view_set_status), (ev_view_set_cursor),
4297 (ev_view_motion_notify_event), (ev_view_init):
4298 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4300 Fix bugs in the links implementation and change cursor
4301 when hovering a link.
4303 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4305 * viewer/.cvsignore: added cvsignore file for viewer directory
4307 * TODO: created TODO document
4309 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4312 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4313 new functions to help with implementation of sensitivity code
4314 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4315 of all actions that might require it. Fixes a crash when you
4316 click on the Zoom actions in a window lacking a document.
4318 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4320 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4323 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4325 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4326 (pixbuf_document_document_iface_init):
4327 * ps/ps-document.c: (ps_document_get_link),
4328 (ps_document_document_iface_init):
4329 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4330 (status_message_from_link), (ev_view_set_status),
4331 (ev_view_set_find_status), (ev_view_motion_notify_event),
4332 (ev_view_button_release_event), (ev_view_set_property),
4333 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4334 (ev_view_get_find_status_message), (update_find_results),
4335 (ev_view_get_status), (ev_view_get_find_status):
4337 * shell/ev-window.c: (view_status_changed_cb),
4338 (view_find_status_changed_cb), (ev_window_init):
4340 View status message support, use it to show the links.
4343 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4345 * backend/ev-document.c: (ev_document_get_link):
4346 * backend/ev-document.h:
4347 * pdf/xpdf/pdf-document.cc:
4348 * shell/ev-application.c: (ev_application_open):
4349 * shell/ev-application.h:
4350 * shell/ev-sidebar-links.c: (selection_changed_cb):
4351 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4352 (ev_view_go_to_link):
4354 Add support for document links
4356 2005-01-13 Anders Carlsson <andersca@gnome.org>
4358 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4360 Set the spin button limits correctly.
4362 * shell/ev-sidebar-thumbnails.c:
4363 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4364 Support changing pages by clicking on the thumbnails.
4366 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4368 * pixbuf/pixbuf-document.c:
4369 (pixbuf_document_thumbnails_get_dimensions),
4370 (pixbuf_document_document_thumbnails_iface_init):
4372 implement get_dimensions
4374 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4376 * ps/ps-document.c: (ps_document_goto_page):
4378 Fix page switching on multipage documents
4380 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4382 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4384 check for NULL before assigning to width and height parameters
4386 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4388 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4389 (pixbuf_document_set_property), (pixbuf_document_get_property):
4391 implement get/set properties
4393 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4395 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4397 return NULL instead of "Unknown", letting the title get set to
4398 the filename when the pdf has no title.
4400 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4402 * ps/ps-document.c: (ps_document_get_page_count),
4403 (ps_document_goto_page):
4405 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4407 * shell/ev-history.c: (ev_history_get_property),
4408 (ev_history_set_property), (ev_history_class_init),
4409 (ev_history_add_page), (ev_history_set_current_index):
4410 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4411 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4412 (ev_navigation_action_finalize):
4413 * shell/ev-navigation-action.h:
4414 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4415 (ev_view_go_forward), (ev_view_get_find_status_message),
4416 (history_index_changed_cb), (ev_view_set_history):
4418 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4419 (update_current_page), (register_custom_actions):
4421 Implement history dropdowns
4423 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4425 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4426 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4427 (ev_view_go_forward):
4428 * shell/ev-window.c: (register_custom_actions):
4430 Fix several history bugs
4432 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4434 * configure.ac: Add «nb» to ALL_LINGUAS.
4436 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4438 * backend/Makefile.am:
4439 * backend/ev-bookmark.c:
4440 * backend/ev-bookmark.h:
4441 * backend/ev-document-bookmarks.c:
4442 * backend/ev-document-bookmarks.h:
4443 * backend/ev-document-links.c: (ev_document_links_get_type),
4444 (ev_document_links_has_document_links),
4445 (ev_document_links_begin_read), (ev_document_links_get_link),
4446 (ev_document_links_get_child), (ev_document_links_next),
4447 (ev_document_links_free_iter):
4448 * backend/ev-document-links.h:
4449 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4450 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4451 (ev_link_get_link_type), (ev_link_set_link_type),
4452 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4453 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4454 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4455 (ev_link_new_external):
4456 * backend/ev-link.h:
4457 * pdf/xpdf/pdf-document.cc:
4458 * shell/Makefile.am:
4459 * shell/ev-application.c: (ev_application_open_link):
4460 * shell/ev-application.h:
4461 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4462 (ev_history_get_link_nth):
4463 * shell/ev-history.h:
4464 * shell/ev-sidebar-bookmarks.c:
4465 * shell/ev-sidebar-bookmarks.h:
4466 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4467 (ev_sidebar_links_class_init), (selection_changed_cb),
4468 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4469 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4470 (do_one_iteration), (populate_links_idle),
4471 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4472 * shell/ev-sidebar-links.h:
4473 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4474 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4477 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4478 * shell/ev-window.h:
4480 Rename bookmark to link, and use "Index" for the sidebar panel.
4482 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4484 * shell/Makefile.am:
4485 * shell/ev-application.c: (ev_application_open_bookmark):
4486 * shell/ev-application.h:
4487 * shell/ev-history.c: (ev_history_init), (free_links_list),
4488 (ev_history_finalize), (ev_history_class_init),
4489 (ev_history_add_link), (ev_history_add_page),
4490 (ev_history_get_link_nth), (ev_history_get_n_links),
4491 (ev_history_get_current_index), (ev_history_set_current_index),
4493 * shell/ev-history.h:
4494 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4495 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4496 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4497 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4500 * shell/ev-window.c: (ev_window_open_bookmark),
4501 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4502 (goto_page_cb), (register_custom_actions):
4503 * shell/ev-window.h:
4505 Initial history implementation. Needs work.
4507 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4509 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4511 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4513 * cut-n-paste/recent-files/egg-recent-item.c:
4514 * cut-n-paste/recent-files/egg-recent-item.h:
4515 * cut-n-paste/recent-files/egg-recent-model.c:
4516 * cut-n-paste/recent-files/egg-recent-util.c:
4517 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4518 * cut-n-paste/recent-files/egg-recent-view.c:
4522 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4524 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4525 (fillGlyph, fillImageMask, drawImage):
4526 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4527 pdf/splash/SplashTypes.h:
4528 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4529 packed mode for Splash.
4531 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4532 RGB8 packed mode, eliminates the pixbuf data creation loop.
4534 * shell/ev-print-job.c (ev_print_job_finalize)
4535 (ev_print_job_set_property, ev_print_job_get_property)
4536 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4537 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4538 (print_closure_finalize, ev_print_job_print): implement
4539 printing (for backends with EvPsExporter)
4541 * shell/ev_print_job.h: update prototypes.
4543 * shell/ev-window.c (ev_window_print): unref print job after
4546 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4547 unless the document implements the EvDocumentFind interface.
4549 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4551 * configure.ac: Added ja to ALL_LINGUAS.
4553 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4555 * pdf/xpdf/pdf-document.cc:
4557 add a FIXME. We should probably not allocate
4558 a bookmark object every time
4560 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4562 * shell/ev-application.c: (ev_application_open),
4563 (ev_application_open_bookmark):
4564 * shell/ev-application.h:
4566 Add a way to open bookmarks
4568 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4569 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4570 (ev_bookmark_set_property), (ev_bookmark_class_init),
4571 (ev_bookmark_new_title), (ev_bookmark_new_link),
4572 (ev_bookmark_new_external):
4574 Support for external uris, better constructors.
4576 * backend/ev-bookmark.h:
4577 * pdf/xpdf/pdf-document.cc:
4578 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4580 Handle external uris
4582 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4584 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4585 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4587 Hook up bookmarks navigation
4589 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4591 * backend/Makefile.am:
4592 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4593 (ev_bookmark_get_title), (ev_bookmark_set_title),
4594 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4595 (ev_bookmark_get_page), (ev_bookmark_set_page),
4596 (ev_bookmark_get_property), (ev_bookmark_set_property),
4597 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4599 * backend/ev-bookmark.h:
4600 * backend/ev-document-bookmarks.c:
4601 (ev_document_bookmarks_get_bookmark):
4602 * backend/ev-document-bookmarks.h:
4603 * pdf/xpdf/pdf-document.cc:
4604 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4606 Add a bookmark object to the backend and use it instead of get_values
4608 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4610 * data/evince-ui.xml:
4612 Cleanup and add select all.
4614 * shell/ev-view.c: (ev_view_select_all),
4615 (ev_view_button_press_event):
4617 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4620 Clear selection on click.
4622 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4624 * shell/ev-sidebar-thumbnails.c
4625 (ev_sidebar_thumbnails_set_document): forgot to unref the
4628 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4630 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4631 at the visible page, not just linearly. This makes it look fast.
4633 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4635 * backend/ev-document-misc.c
4636 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4638 * backend/ev-document-thumbnails.h: New interface to get the size
4641 2005-01-06 Jeremy Katz <katzj@redhat.com>
4643 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4646 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4648 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4649 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4652 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4654 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4656 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4657 fonts. Should fix font problems on systems that have the base
4658 fonts in bitmap format. Reported by James Henstridge
4659 <james@jamesh.id.au>.
4661 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4664 * pdf/xpdf/GfxState.cc:
4666 Fix for CAN-2004-1125
4668 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4670 * shell/ev-view.c: (ev_view_copy):
4672 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4674 Implement Edit->Copy
4676 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4678 * backend/ev-document.c: (ev_document_get_text):
4679 * backend/ev-document.h:
4680 * pdf/xpdf/pdf-document.cc:
4681 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4682 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4683 (ev_view_update_primary_selection), (ev_view_button_press_event),
4684 (ev_view_motion_notify_event), (ev_view_button_release_event):
4686 Beginnings of clipboard support. Incomplete but primary sort
4689 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4691 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4692 (expose_bin_window):
4694 Nicer rubberband drawing, from GtkIconView.
4696 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4698 * backend/ev-document.c: (ev_document_save):
4699 * backend/ev-document.h:
4700 * data/evince-ui.xml:
4701 * pdf/xpdf/pdf-document.cc:
4702 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4704 Implement "Save a copy..." menu item
4706 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4708 * shell/ev-view.c: (ev_view_zoom):
4710 Queue a resize when zoom changes
4712 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4714 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4717 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4720 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4722 * pdf/xpdf/pdf-document.cc
4723 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4725 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4727 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4728 It's slow, but I'll speed it up next!
4730 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4732 * shell/main.c (load_files):
4734 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4735 from the command line and because it seems more appropriate.
4737 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4739 * data/evince-ui.xml:
4740 * shell/ev-window.c: (update_action_sensitivity),
4741 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4743 s/next page/page down
4744 s/previous page/page up
4746 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4748 * data/evince-ui.xml:
4750 Change the layout to match clarkbw design.
4752 * shell/Makefile.am:
4753 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4754 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4755 (ev_navigation_action_finalize),
4756 (ev_navigation_action_set_property),
4757 (ev_navigation_action_get_property),
4758 (ev_navigation_action_class_init):
4759 * shell/ev-navigation-action.h:
4761 Implement clarkbw toolbar navigation controls (incomplete)
4763 * shell/ev-page-action.c: (update_label), (update_spin),
4764 (value_changed_cb), (create_tool_item), (connect_proxy),
4765 (ev_page_action_init), (ev_page_action_finalize),
4766 (ev_page_action_set_property), (ev_page_action_get_property),
4767 (ev_page_action_set_current_page),
4768 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4769 * shell/ev-page-action.h:
4771 Implement a page switcher in the toolbar
4773 * shell/ev-view.c: (ev_view_scroll_view):
4774 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4775 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4776 (register_custom_actions), (ev_window_init):
4778 Change page on PageUp/Down.
4780 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4782 * pdf/xpdf/pdf-document.cc
4783 (pdf_document_thumbnails_get_thumbnail): initial stab at
4784 implementing thumbnail support for pdfs. It only does documents
4785 with precached pdfs now.
4787 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4789 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4790 thumbnail code into a time-based idle as well. Also, turn off the
4791 shadow temporarily as it's really slow.
4793 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4795 * backend/ev-document.c: (ev_document_class_init):
4796 * pdf/xpdf/pdf-document.cc:
4797 * shell/ev-window.c: (ev_window_open):
4799 Fix document title bugs and fallback to
4800 filename when not available.
4802 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4804 * backend/ev-document.c: (ev_document_get_type),
4805 (ev_document_class_init), (ev_document_load),
4806 (ev_document_get_title):
4807 * backend/ev-document.h:
4808 * pdf/xpdf/pdf-document.cc:
4809 * ps/ps-document.c: (ps_document_set_property),
4810 (ps_document_get_property), (ps_document_class_init),
4814 * shell/ev-window.c: (update_window_title), (ev_window_open),
4817 Initial support for document title. Not working yet.
4819 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4821 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4823 Grab focus on the view when clicking it
4825 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4827 * shell/ev-marshal.list:
4828 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4829 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4831 Add key bindings to the view. Now if the focus would work
4834 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4837 * backend/Makefile.am:
4840 * dvi/dvilib/Makefile.am:
4841 * pdf/xpdf/Makefile.am:
4847 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4849 * shell/ev-view.c: (ev_view_realize):
4851 Fix mouse wheel scrolling
4853 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4859 * ps/ps-document.c: (catchPipe), (ps_document_init),
4860 (ps_document_class_init), (ps_document_cleanup),
4861 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4862 (set_up_page), (close_pipe), (is_interpreter_ready),
4863 (interpreter_failed), (output), (input), (start_interpreter),
4864 (stop_interpreter), (file_length), (file_readable),
4865 (check_filecompressed), (check_pdf), (compute_xdpi),
4866 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4867 (ps_document_get_type), (ps_document_emit_error_msg),
4868 (document_load), (ps_document_next_page),
4869 (ps_document_get_current_page), (ps_document_get_page_count),
4870 (ps_document_goto_page), (ps_document_set_page_size),
4871 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4872 (ps_document_load), (ps_document_get_n_pages),
4873 (ps_document_set_page), (ps_document_get_page),
4874 (ps_document_widget_event), (ps_document_set_target),
4875 (ps_document_set_scale), (ps_document_set_page_offset),
4876 (ps_document_get_page_size), (ps_document_render),
4877 (ps_document_document_iface_init):
4880 * shell/ev-window.c: (ev_window_open):
4882 Rename GtkGS to PSDocument
4884 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4886 * ps/gtkgs.c: (gtk_gs_class_init):
4889 Some more leftover...
4891 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4893 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4894 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4895 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
4898 Remove unused code and make a lot of stuff private
4900 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4902 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
4903 (gtk_gs_defaults_changed):
4909 Cleanup headers dependencies
4911 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4916 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
4918 * ps/gtkgs.c: (file_length), (file_readable),
4919 (check_filecompressed), (check_pdf), (gtk_gs_load),
4920 (gtk_gs_get_postscript):
4924 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4929 * ps/gtkgs.c: (gtk_gs_set_zoom):
4933 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4935 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
4937 Ensure the page is rerendered when changing zoom
4939 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4941 * backend/ev-document.c: (ev_document_base_init),
4942 (ev_document_changed):
4943 * backend/ev-document.h:
4945 Add a changed event that is emitted when the page content
4946 changes. This is necessary to deal with the fact that
4947 in ps backend rendering happen asycrounously.
4948 This makes the ps backend mostly work.
4950 * pdf/xpdf/pdf-document.cc:
4954 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
4955 (ps_document_set_target):
4959 * shell/ev-view.c: (document_changed_callback),
4960 (ev_view_set_document), (ev_view_set_page):
4962 Redraw on the changed signal
4964 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
4966 * configure.ac: Added pt_BR to ALL_LINGUAS.
4968 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
4970 * backend/ev-document-bookmarks.c:
4971 (ev_document_bookmarks_get_child): *
4972 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
4973 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
4974 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
4975 (ev_sidebar_bookmarks_destroy),
4976 (ev_sidebar_bookmarks_class_init),
4977 (ev_sidebar_bookmarks_construct), (stack_data_free),
4978 (do_one_iteration), (populate_bookmarks_idle),
4979 (ev_sidebar_bookmarks_clear_document),
4980 (ev_sidebar_bookmarks_set_document): *
4981 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
4982 (ev_sidebar_add_page),
4983 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
4984 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
4985 it displays both the topics and the page numbers.
4987 2004-12-23 Kristian Høgsberg <krh@redhat.com>
4989 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
4991 * shell/ev-window.c (toggle_entries): Set sidebar default value to
4994 2004-12-23 Adam Weinberger <adamw@gnome.org>
4996 * configure.ac: Added en_CA to ALL_LINGUAS.
4998 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5000 * ChangeLog: replace bottom of this ChangeLog (merged history of
5001 ggv and gpdf; where all paths were wrong and most of the files are
5002 not even in this tree) with ChangeLog (from arch) of the shell
5005 2004-12-23 Havoc Pennington <hp@redhat.com>
5007 * shell/ev-window.c: hook up potentially-questionable "find
5008 results status text" feature - something involving the sidebar or
5009 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5010 might be better in the end.
5012 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5013 with corresponding signal when it should be updated
5015 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5017 2004-12-22 Havoc Pennington <hp@redhat.com>
5019 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5020 find stuff on other pages, sort of (only returns one result on
5021 invisible pages, to show they have results; updates full results
5022 for a page when you view it). Currently repaints the current page
5023 every time a new result is found on any page, which isn't so nice.
5025 2004-12-22 Havoc Pennington <hp@redhat.com>
5027 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5028 the document doesn't support find (better ideas?)
5029 (find_bar_search_changed_cb): handle missing document or document
5030 that doesn't support find
5032 * pdf/xpdf/pdf-document.cc: port to implement the new
5035 * backend/ev-document-find.c: create a new interface for searching
5037 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5039 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5041 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5044 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5045 EvPrintJob constructor arguments.
5047 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5048 for documents that can export PostScript (page by page).
5050 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5052 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5053 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5054 (pdf_document_ps_exporter_iface_init:
5055 Implement EvPSExporter.
5057 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5059 2004-12-22 Anders Carlsson <andersca@gnome.org>
5061 * backend/Makefile.am:
5062 * backend/ev-document-thumbnails.c:
5063 (ev_document_thumbnails_get_type),
5064 (ev_document_thumbnails_get_thumbnail):
5065 * backend/ev-document-thumbnails.h:
5066 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5067 (pixbuf_document_thumbnails_get_thumbnail),
5068 (pixbuf_document_document_thumbnails_iface_init):
5069 * shell/Makefile.am:
5070 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5071 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5072 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5073 * shell/ev-sidebar-thumbnails.h:
5074 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5075 (ev_sidebar_set_document):
5076 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5077 (create_shadow), (ev_pixbuf_add_shadow):
5079 Add thumbnail support.
5081 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5083 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5084 (using_postscript_printer): Set up a print dialog for "PostScript
5087 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5090 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5092 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5094 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5095 (ps_document_set_target), (ps_document_get_page_size),
5096 (ps_document_render):
5101 2004-12-22 Christian Rose <menthos@menthos.com>
5103 * configure.ac: Added "sv" to ALL_LINGUAS.
5105 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5107 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5108 document supports bookmarks.
5110 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5112 * ps/ggvutils.c: (ggv_file_readable):
5114 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5115 (gtk_gs_get_postscript):
5119 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5121 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5122 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5123 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5124 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5125 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5126 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5127 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5128 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5129 (gtk_gs_set_antialiasing), (ps_document_load),
5130 (ps_document_render):
5133 Another check point for the ps backend. Now I can get it to show
5136 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5138 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5139 document setting code.
5141 2004-12-22 Anders Carlsson <andersca@gnome.org>
5143 * shell/eggfindbar.c: (entry_activate_callback):
5144 Animate the next button when activate is pressed.
5146 2004-12-22 Anders Carlsson <andersca@gnome.org>
5148 * shell/ev-window.c: (ev_window_cmd_edit_find),
5149 (update_fullscreen_popup), (ev_window_fullscreen),
5150 (ev_window_unfullscreen), (ev_window_state_event_cb),
5151 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5152 Fix bugs in fullscreen code.
5154 2004-12-22 Anders Carlsson <andersca@gnome.org>
5158 * pixbuf/Makefile.am:
5159 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5160 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5161 (pixbuf_document_set_page), (pixbuf_document_get_page),
5162 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5163 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5164 (pixbuf_document_render), (pixbuf_document_begin_find),
5165 (pixbuf_document_end_find), (pixbuf_document_finalize),
5166 (pixbuf_document_class_init),
5167 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5168 * pixbuf/pixbuf-document.h:
5169 * shell/Makefile.am:
5170 * shell/ev-application.c: (ev_application_open):
5171 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5175 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5178 * dvi/dvilib/Makefile.am:
5180 * configure.ac: Auto*ify dvi and dvi/dvilib
5182 * dvi/Makefile: Remove from CVS
5184 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5187 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5189 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5191 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5194 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5195 (gtk_gs_value_adjustment_changed), (compute_size),
5196 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5197 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5198 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5199 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5200 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5201 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5202 (ps_document_load), (ps_document_get_n_pages),
5203 (ps_document_set_page), (ps_document_get_page),
5204 (ps_document_set_target), (ps_document_set_scale),
5205 (ps_document_set_page_offset), (ps_document_get_page_size),
5206 (ps_document_render), (ps_document_begin_find),
5207 (ps_document_end_find), (ps_document_document_iface_init):
5209 * shell/Makefile.am:
5210 * shell/ev-window.c: (ev_window_open):
5212 Some work to integrate gtkgs with EvDocument
5214 2004-12-22 Anders Carlsson <andersca@gnome.org>
5216 * shell/ev-window.c: (update_fullscreen_popup),
5217 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5218 (exit_fullscreen_button_clicked_cb),
5219 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5220 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5221 (ev_window_state_event_cb), (ev_window_init):
5222 Add fullscreen support from Epiphany.
5224 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5226 * data/ev-stock-zoom-fit-width.png: fit-width
5227 stock icon from gpdf.
5229 * shell/ev-stock-icons.[ch]: copied from gpdf.
5231 * shell/main.c: (main): init stock icons.
5233 * shell/ev-window.c: use the fit-width icon.
5235 * data/evince-ui.xml: add zooming toolbar items.
5237 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5240 (ev_view_best_fit), (ev_view_fit_width): because
5241 get_page_size() returns the scaled page size, we
5242 need to calculate the scale factor relative to
5243 the previous scale factor. Should really just
5244 add get_real_page_size().
5246 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5248 * shell/ev-view.[ch]:
5249 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5250 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5253 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5254 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5255 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5258 * pdf/xpdf/pdf-document.cc:
5259 (pdf_document_begin_find),
5260 (pdf_document_end_find): make static.
5262 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5264 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5266 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5267 names to fontconfig patterns.
5268 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5270 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5273 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5289 Import ggv backend. Not hooked up yet.
5291 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5293 * shell/main.c: (load_files), (main): load files
5294 from the command line.
5296 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5298 * configure.ac: don't require bonobo.
5300 * cut-n-paste/recent-files/*: kill bonobo recent
5303 * shell/ev-window.c:
5304 (ev_window_is_empty): upd.
5305 (unable_to_load), (ev_window_open): load backend
5306 based on the mime type.
5308 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5310 * backend/.cvsignore: ignore generated marshalers source.
5312 * shell/main.c (main): this is not epiphany.
5314 2004-12-22 Havoc Pennington <hp@redhat.com>
5316 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5317 (expose_bin_window): draw find highlights
5319 * shell/ev-window.c (find_bar_search_changed_cb): implement
5321 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5322 (pdf_document_end_find): implement this interface
5324 * backend/ev-document.c (ev_document_found): add this to emit
5327 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5329 * data/evince-ui.xml: Add a few more toolbar items.
5331 * shell/ev-window.c: Hook up page navigation toolbar
5334 * shell/ev-view.[ch]: add ev_view_set/get_page and
5335 a page-changed signal.
5337 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5338 Add ev_document_get_page().
5340 * shell/ev-window.c: Sensitize/desensitize navigation
5343 2004-12-21 Havoc Pennington <hp@redhat.com>
5345 * backend/ev-backend-marshal.c,
5346 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5347 marshaler-generator thingy. I'm sure there's a better way to do
5348 this in the modern world.
5350 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5351 end_find methods and "found" signal.
5353 * configure.ac: find glib-genmarshal
5355 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5357 * shell/ev-sidebar.c: Construct an actual sidebar.
5358 * shell/ev-sidebar-bookmarks.[ch]:
5359 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5361 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5363 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5366 * shell/ev-view.c: Track the size from the document.
5368 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5370 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5371 constructor assumes ownership of the string passed in.
5373 * shell/ev-window.c (ev_window_open): Destroy the error
5374 dialog once we've displayed it.
5376 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5378 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5379 a bit, it works! (sort of)
5381 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5382 Move to .cc since we need to use C++ in the implementation.
5384 * shell/dummy.cc: Add a CC file to force evince
5385 to be linked as a C++ program.
5387 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5389 * shell/ev-view.[ch]: Start of content-area widget.
5391 * shell/ev-window.c: Create a EvView, update it
5392 as we change documents.
5394 * shell/Makefile.am shell/ev-marshal.list: Add
5395 generated marshalers.
5397 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5399 * Makefile.am (SUBDIRS): move shell.
5401 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5403 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5404 .a to libtool convenience libraries.
5406 * shell/ev-window.c (ev_window_open): Hard code loading
5409 * backend/ev-document.h: Add a boolean return to load(),
5410 fix GError * to GError **.
5412 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5413 object for a PDF backend EvDocument.
5415 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5417 * dvi/*: New directory with the beginning of a .dvi backend.
5419 2004-12-21 Havoc Pennington <hp@redhat.com>
5421 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5422 previous/next instead of back/forward
5424 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5426 * backend/ev-document.[ch]: Fix a couple of problems so
5429 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5431 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5432 to backend/ directory, rename EvViewer to EvDocument.
5434 2004-12-21 Havoc Pennington <hp@redhat.com>
5436 * shell/ev-window.c: hook up the find bar widget; now we just need
5437 a document to find things in
5439 * shell/eggfindbar.c: a find bar widget
5441 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5443 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5445 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5447 * pdf/**: Import of xpdf code from gpdf.
5449 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5451 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5452 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5453 Fix FreeType includes.
5455 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5456 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5457 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5458 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5459 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5460 Include xpdfconfig.h
5462 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5464 * shell/ev-window.c (ev_window_dispose): dispose can be called
5467 2004-12-21 Havoc Pennington <hp@redhat.com>
5469 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5472 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5473 items; really they should be synced with the strings, etc. from
5474 current gpdf, but just getting the boring typing out of the way
5476 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5479 * shell/ev-application.c: (window_destroy_cb):
5480 * shell/ev-window.c:
5481 * shell/main.c: (main):
5483 Actually show the window...
5485 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5488 * shell/Makefile.am:
5489 * shell/ev-application.c: (ev_application_class_init):
5490 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5494 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5496 Import to gnome cvs.
5498 * Remove copies of gpdf and ggv trees.
5499 * Rip out all the recursive configure code.
5500 * Remove bonobo machinery.
5501 * viewer/*: GInterfaces that backends should/can implement.
5503 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5505 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5508 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5510 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5511 (ev_application_finalize, ev_application_class_init)
5512 (ev_application_init): use GType instance private data for priv.
5514 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5515 (ev_window_finalize, ev_window_class_init)
5516 (ev_window_init): ditto.
5518 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5520 * shell/ev-application.c (ev_application_new_window): make public
5521 (ev_application_show_initial_window): kill.
5523 * shell/ev-application.h: update prototypes.
5525 * shell/main.cc (main): inline ev_application_show_initial_window.
5527 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5529 * shell/ev-application.c (ev_application_new_window): impl.
5530 (ev_application_show_initial_window): use it.
5531 (is_window_empty, ev_application_get_empty_window): returns an
5532 existing empty window or a new one.
5533 (ev_application_open): from ev_window_cmd_file_open.
5535 * shell/ev-application.h: update prototypes
5537 * shell/ev-window.c (ev_window_is_empty): impl.
5538 (ev_window_open): make public.
5539 (ev_window_cmd_file_open): use ev_application_open
5541 * shell/ev-window.h: update prototypes, remove unused.
5543 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5545 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5546 move destroy handler out of here...
5548 * shell/ev-application.c, shell/ev-application.h: ...into this new
5549 class. Also handles initial window creation.
5551 * shell/main.cc (main): use EvApplication to create initial
5554 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5556 * Makefile.am (SUBDIRS): add cut-n-paste
5558 * cut-n-paste/Makefile.am: add
5560 * configure.ac: generate Makefiles in cut-n-paste
5562 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5564 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5565 (ev_window_class_init): install ev_window_dispose.
5567 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5569 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5570 char (gchar looks stupid).
5572 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5574 * po/de.po: updated German translation.
5576 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5578 * configure.ac: add more pkg-config library checks for gnome-vfs,
5581 * gpdf/configure.in: temporarily disable libpaper
5582 checks. Otherwise I'd have to add the checks for the shell, too.
5584 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5586 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5587 and * file filters to the file choose.
5589 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5591 * po/de.po: Updated German translation.
5593 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5595 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5597 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5599 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5601 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5602 (ev_window_init): implement those menuitems.
5604 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5606 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5608 * shell/ev-window.c (ev_window_init): use the toolbar.
5610 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5612 * shell/ev-window.c (ev_window_init): use menu translations
5614 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5616 * configure.ac: add "de" to ALL_LINGUAS.
5618 * po/de.po: add German translation.
5620 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5622 * Makefile.am (SUBDIRS): add po
5624 * configure.ac: check intltool, glib-gettext etc, generate
5627 * po, po/POTFILES.in, po/POTFILES.skip: new.
5629 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5631 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5632 already use (#ifdef ENABLE_NLS)
5634 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5635 pointer indirection thinko.
5637 * shell/main.c: include gi18n.h for bindtextdomain etc.
5639 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5641 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5642 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5643 tooltips for menu items in the statusbar.
5645 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5647 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5648 pkgdatadir drop UIDIR
5650 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5652 * data/evince-ui.xml: Add File->Open menu item
5654 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5655 chooser), hook it up in the ui manager.
5657 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5659 * shell/ev-window.c: fix Help->About tooltip.
5661 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5663 * configure.ac: set CFLAGS for libevprivate.
5665 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5666 definitions, factory etc.
5668 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5670 * shell/Makefile.am: link against libevprivate.a.
5672 * shell/ev-window.c (entries): add stock icon to Help->About.
5674 * shell/main.c (main): init stock icon code.
5676 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5678 * lib/recent-files: egg recent files code
5680 * lib/Makefile.am: add.
5682 * Makefile.am: add lib subdir.
5684 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5685 set CFLAGS for recent-files.
5687 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5689 * configure.ac: disable -ansi and -pedantic gcc flags. They
5690 disable POSIX stuff in stdio.h, but egg-recent uses them.
5692 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5694 * configure.ac: add --disable-deprecated flag (defaults to on in
5697 * shell/Makefile.am (INCLUDES): use it.
5699 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5701 * shell/main.c: add missing #include.
5703 * shell/ev-window.c: fix for pedantic gcc.
5704 (ev_window_cmd_help_about): split license into paragraphs for
5705 translators and pedantic compilers.
5707 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5709 * configure.ac: add more warning flags if compiling with gcc from
5710 cvs (or explicitly requested with --enable-more-warnings).
5712 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5714 * data/evince-ui.xml: add File and File->Close menu.
5716 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5717 (ev_window_destroy): quit after destroy.
5718 (ev_window_class_init): override GtkObject::destroy.
5719 (entries): install close_window callback.
5721 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5723 * Makefile.am (SUBDIRS): add data subdir.
5725 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5726 gtk+ 2.5.0 for GtkAboutDialog.
5728 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5731 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5733 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5735 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5737 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5739 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5741 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5743 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5745 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5747 * shell/*: Added shell directory boilerplate, build it.
5749 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5751 * configure.ac, Makefile.am: Added top-level configure.ac and