1 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
3 * backend/ev-document-thumbnails.c:
4 (ev_document_thumbnails_get_thumbnail):
5 * backend/ev-document-thumbnails.h:
6 * backend/ev-document.c:
7 * backend/ev-document.h:
8 * backend/ev-render-context.c: (ev_render_context_new),
9 (ev_render_context_set_rotation):
10 * backend/ev-render-context.h:
12 * ps/ps-document.c: (ps_document_document_iface_init):
13 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
15 * shell/ev-page-cache.c: (build_height_to_page),
16 (ev_page_cache_new), (ev_page_cache_get_size),
17 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
18 (ev_page_cache_get_height_to_page):
19 * shell/ev-page-cache.h:
20 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
21 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
22 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
23 (ev_pixbuf_cache_get_selection_pixbuf):
24 * shell/ev-pixbuf-cache.h:
25 * shell/ev-print-job.c: (idle_print_handler):
26 * shell/ev-sidebar-thumbnails.c: (add_range):
27 * shell/ev-view.c: (view_update_range_and_current_page),
28 (get_page_y_offset), (get_page_extents),
29 (ev_view_size_request_continuous_dual_page),
30 (ev_view_size_request_continuous),
31 (ev_view_size_request_dual_page),
32 (ev_view_size_request_single_page), (draw_one_page),
33 (ev_view_set_rotation), (ev_view_rotate_right),
34 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
35 (ev_view_zoom_for_size_continuous_and_dual_page),
36 (ev_view_zoom_for_size_continuous),
37 (ev_view_zoom_for_size_dual_page),
38 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
40 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
41 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
42 (tiff_document_document_iface_init),
43 (tiff_document_thumbnails_get_thumbnail):
45 Use rotation rather than orientation. It's easier and enough
48 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
50 * shell/ev-page-cache.c: (build_height_to_page),
51 (ev_page_cache_new), (ev_page_cache_get_size),
52 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
53 (ev_page_cache_get_height_to_page):
54 * shell/ev-page-cache.h:
55 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
56 (ev_view_size_request_continuous_dual_page),
57 (ev_view_size_request_continuous),
58 (ev_view_zoom_for_size_continuous_and_dual_page),
59 (ev_view_zoom_for_size_continuous):
61 Make the page cache aware of page orientation.
63 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
65 * backend/ev-document-thumbnails.c:
66 (ev_document_thumbnails_get_thumbnail):
67 * backend/ev-document-thumbnails.h:
68 * backend/ev-document.c:
69 * backend/ev-document.h:
70 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
71 * backend/ev-ps-exporter.h:
73 * ps/ps-document.c: (ps_document_document_iface_init),
74 (ps_document_ps_export_do_page):
75 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
77 * shell/ev-page-cache.c: (ev_page_cache_get_size),
79 * shell/ev-page-cache.h:
80 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
81 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
82 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
83 * shell/ev-pixbuf-cache.h:
84 * shell/ev-print-job.c: (idle_print_handler):
85 * shell/ev-sidebar-thumbnails.c: (add_range):
86 * shell/ev-view.c: (view_update_range_and_current_page),
87 (get_page_extents), (ev_view_size_request_dual_page),
88 (ev_view_size_request_single_page), (draw_one_page),
89 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
90 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
91 (ev_view_zoom_for_size_dual_page),
92 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
94 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
95 * tiff/tiff-document.c: (tiff_document_get_page_size),
96 (tiff_document_get_orientation), (rotate_pixbuf),
97 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
98 (tiff_document_thumbnails_get_thumbnail),
99 (tiff_document_ps_export_do_page), (tiff_document_init):
101 Really make use of the orientation bit of the render context.
102 Use the render context in a few more places in the backend API.
103 This regress orientation, but now it's done right. Will try to
106 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
108 * shell/ev-view.c: (ensure_rectangle_is_visible):
110 Patch by Nickolay V. Shmyrev to fix find flickering
112 2005-07-27 Martin Kretzschmar <martink@gnome.org>
114 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
115 duplex parameters to ::begin.
117 * tiff/tiff-document.c (tiff_document_ps_export_begin):
118 * shell/ev-print-job.c (idle_print_handler):
119 * ps/ps-document.c (ps_document_ps_export_begin):
120 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
121 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
122 implementations. Poppler backend needs poppler cvs. Rest has
125 2005-07-25 Martin Kretzschmar <martink@gnome.org>
127 * shell/ev-window.c (using_pdf_printer): new function.
128 (ev_window_print_range): print a less techy message if someone
129 tries to print to PDF.
131 2005-07-25 Martin Kretzschmar <martink@gnome.org>
133 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
134 from "unknown font" string. Bug #311431
136 2005-07-24 Martin Kretzschmar <martink@gnome.org>
138 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
140 2005-07-24 Martin Kretzschmar <martink@gnome.org>
144 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
145 name for PopplerFontTypes
146 (pdf_document_fonts_fill_model): add font type to the detail column
148 * backend/ev-document-fonts.h: added
149 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
151 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
152 font name and font details, add a little markup.
153 (ev_properties_fonts_init): use the new cell data func, specify ypad
154 property for the cell renderer.
155 (ev_properties_fonts_set_document): add the details column.
157 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
159 * configure.ac: Added "pl" to ALL_LINGUAS.
161 2005-07-24 Danilo Ĺ egan <danilo@gnome.org>
163 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
165 2005-07-23 Tommi Vainikainen <thv@iki.fi>
167 * help/ChangeLog: Started this for translations of manual.
168 * configure.ac, autogen.sh, .cvsignore: Migrated to
169 gnome-doc-utils. Patch in bug #311222.
171 2005-07-22 Martin Kretzschmar <martink@gnome.org>
173 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
174 #ifdef this away to fix an unused-function warning.
176 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
178 * configure.ac: Added 'gl' to ALL_LINGUAS.
180 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
182 * configure.ac: Added ne in ALL_LINGUAS
184 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
186 * shell/ev-view.c: (ev_view_leave_notify_event):
188 Clear status message when pointer leaves view. Fix for bug
191 2005-07-20 Ankit Patel <ankit644@yahoo.com>
193 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
195 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
197 * shell/ev-view.c: (ev_view_leave_notify_event),
198 (ev_view_class_init):
200 Set cursor to normal then leaving view.
202 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
206 Fix required djvulibre version.
208 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
210 *configure.ac: Hindi (hi) language added
212 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
214 *configure.ac: Punjabi (pa) Language added
216 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
218 * data/evince-ui.xml, shell/ev-window.c:
220 Add keypad accelerators for zooming. Fix for bug 308128.
222 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
225 * backend/Makefile.am:
226 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
228 * shell/ev-document-types.c: (ev_document_types_add_filters):
230 Allow to enable/disable the pixbuf backend.
231 Default to off for now. If we want it enabled we should
232 really put mime types in the desktop, implement properties etc.
234 * properties/evince-properties.c:
236 Initialize error to NULL.
237 Check error is not NULL before freeing.
239 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
243 Use F5 as presentation accell
245 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
247 * shell/ev-window.c: (update_chrome_visibility),
248 (ev_window_create_fullscreen_popup), (ev_window_init):
250 Do not leak the fullscreen toolbar
252 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
254 * shell/ev-window.c: (view_actions_focus_in_cb),
255 (view_actions_focus_out_cb):
257 These has a return value! Fix totally random focus
258 issues we was seeing.
260 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
262 * shell/main.c: (load_files_remote):
264 Allow open more than one file
266 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
268 * shell/main.c: (load_files_remote):
270 Fix for dbus 0.33. bug #309975
272 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
274 * properties/ev-properties-main.c: (ev_properties_get_pages):
276 Actually return NULL for types we dont support
278 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
284 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
286 * backend/ev-document-factory.c:
287 (ev_document_factory_get_document):
289 Do not try to create the object if type
292 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
294 * ps/ps-document.c: (ps_document_dispose),
295 (ps_async_renderer_render_pixbuf):
298 Do not leak the target window
300 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
302 * shell/ev-application.c: (ev_application_init):
304 Let tbe check file existence for us.
305 Add a comment about eggrecent mime filter.
307 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
309 * data/evince-ui.xml:
310 * shell/ev-application.c: (ev_application_shutdown),
311 (ev_application_init), (ev_application_get_toolbars_model),
312 (ev_application_get_recent_model),
313 (ev_application_save_toolbars_model):
314 * shell/ev-application.h:
315 * shell/ev-window.c: (ev_window_add_recent),
316 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
317 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
320 Use common toolbar and recent models for all windows.
321 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
323 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
325 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
326 successfully check for gtk_icon_view_get_visible_range.
328 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
333 Fix djvu and dvi backend build.
335 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
337 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
338 (new_separator_pixbuf):
342 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
344 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
346 HIGification of toolbar editor dialogue.
348 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
353 Ever build metadata manager since it's just
354 disabled at runtime now.
356 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
358 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
359 (ev_metadata_manager_get), (ev_metadata_manager_set):
360 * shell/ev-metadata-manager.h:
362 Add an _init functions that enabled metadata management
365 * shell/ev-window.c: (page_changed_cb),
366 (setup_document_from_metadata), (ev_window_setup_document),
367 (setup_view_from_metadata), (ev_window_open_uri),
368 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
369 (ev_window_run_presentation), (ev_window_stop_presentation),
370 (save_sizing_mode), (ev_window_zoom_changed_cb),
371 (ev_window_continuous_changed_cb),
372 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
373 (window_configure_event_cb):
375 Remove all ugly metadata define since we deal with it
378 * shell/main.c: (load_files_remote), (main):
380 Add support for dbus cvs head. Hopefully didnt break one
381 of the other versions now!
383 If we dont get a response from the dbus server just
384 give up with it and not enable metadata.
386 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
389 * backend/Makefile.am:
391 * cut-n-paste/recent-files/Makefile.am:
392 * cut-n-paste/toolbar-editor/Makefile.am:
393 * cut-n-paste/zoom-control/Makefile.am:
396 * pixbuf/Makefile.am:
397 * properties/Makefile.am:
400 * thumbnailer/Makefile.am:
403 Make frontends depend on just libev.
404 Rework and group CFLAGS/LIBS definitions.
407 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
411 do not unnecessarily save zoom
414 * lib/ev-file-helpers.c: (ev_dot_dir):
420 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
424 Remove unnecessary dependencies
426 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
428 * properties/Makefile.am:
429 * thumbnailer/Makefile.am:
432 Some more cleanups. Was really necessary
433 but I probably introduced bugs, feel free
436 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
438 * backend/Makefile.am:
440 * cut-n-paste/recent-files/Makefile.am:
441 * cut-n-paste/toolbar-editor/Makefile.am:
442 * cut-n-paste/zoom-control/Makefile.am:
445 * pixbuf/Makefile.am:
446 * properties/Makefile.am:
449 * thumbnailer/Makefile.am:
452 Use gnome-common macros when possible.
453 Cleanup dependencies.
454 Actually disable deprecated where possible.
456 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
459 * backend/Makefile.am:
460 * properties/Makefile.am:
462 * thumbnailer/Makefile.am:
464 This should solve the circular dep without
467 * shell/ev-window.c: (setup_view_from_metadata):
469 Never restore window size/position when the
470 window is already visible.
472 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
474 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
476 Return a boolean from timeout func. Fix ported from gedit.
478 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
480 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
482 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
484 * shell/ev-document-types.c: set "All Documents" as default filter in
487 2005-07-06 Martin Kretzschmar <martink@gnome.org>
489 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
490 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
491 (ev_metadata_manager_set_boolean): fix value/val thinko.
493 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
495 * shell/ev-window.c: (setup_view_from_metadata),
496 (window_state_event_cb), (window_configure_event_cb),
499 Remember window position and maximized state
501 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
505 Fix DBUS configure checks.
507 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
508 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
509 (ev_metadata_manager_set_boolean):
513 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
514 (ev_window_stop_fullscreen), (ev_window_run_presentation),
515 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
516 (ev_window_continuous_changed_cb),
517 (ev_window_dual_mode_changed_cb), (ev_window_new):
519 Fix the build without DBUS.
521 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
523 * shell/ev-metadata-manager.c: (parse_value), (save_values),
524 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
525 (ev_metadata_manager_set_string),
526 (ev_metadata_manager_set_boolean):
527 * shell/ev-metadata-manager.h:
529 Add support for some more types
531 * shell/ev-view.c: (scroll_to_current_page),
532 (ev_view_get_continuous), (ev_view_set_continuous),
533 (ev_view_get_dual_page):
535 * shell/ev-window.c: (page_changed_cb),
536 (setup_document_from_metadata), (ev_window_setup_document),
537 (setup_view_from_metadata), (ev_window_open_uri),
538 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
539 (ev_window_run_presentation), (ev_window_stop_presentation),
540 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
541 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
542 (ev_window_update_dual_page_action),
543 (ev_window_continuous_changed_cb),
544 (ev_window_dual_mode_changed_cb), (ev_window_init):
546 Remember a bunch of view/document properties. Prolly some
547 are still missing but it's getting interesting.
549 2005-07-05 Martin Kretzschmar <martink@gnome.org>
551 * configure.ac: check if dbus-binding-tool is installed. Not the
552 case on current Ubuntu breezy, it seems.
554 2005-07-05 Luca Ferretti <elle.uca@libero.it>
556 * data/evince.desktop.in.in:
558 Allow open uri lists and add TryExec field.
560 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
564 Enable dbus when available, do not require a configure
567 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
571 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
574 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
575 Marco Pesenti Gritti <mpg@redhat.com>
577 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
579 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
580 functions to the format required by dbus
582 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
583 errors. Use the RPC parameters in the expected way
585 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
588 * properties/Makefile.am:
589 * properties/ev-properties-main.c: (ev_properties_get_pages):
591 Support all mime types
594 * thumbnailer/Makefile.am:
595 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
596 (evince_thumbnail_pngenc_get):
598 Use the document factory
600 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
602 * backend/Makefile.am:
603 * backend/ev-document-factory.c:
604 (mime_type_supported_by_gdk_pixbuf),
605 (ev_document_type_get_from_mime),
606 (ev_document_factory_get_document),
607 (ev_document_factory_get_backend),
608 (ev_document_factory_get_mime_types),
609 (ev_document_factory_get_all_mime_types):
610 * backend/ev-document-factory.h:
612 * shell/ev-document-types.c: (get_document_from_uri),
613 (ev_document_types_get_document),
614 (file_filter_add_mime_list_and_free),
615 (ev_document_types_add_filters):
616 * shell/ev-document-types.h:
617 * shell/ev-job-xfer.c: (ev_job_xfer_run):
618 * shell/ev-properties-dialog.c:
619 (ev_properties_dialog_set_document):
620 * shell/ev-window.c: (ev_window_cmd_file_open),
621 (ev_window_cmd_save_as):
622 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
624 Rework document types managing to avoid code duplication
625 and actually abstract from backend implementations.
626 Also provide a minimal factory api that can be used by
627 thumbnailer/properties.
629 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
631 * properties/ev-properties-view.c: (ev_properties_view_set_info):
633 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
636 2005-07-04 Matthew S. Wilson <msw@rpath.com>
638 * shell/ev-properties-dialog.c
639 (ev_properties_dialog_set_document): only call
640 ev_properties_fonts_set_document() if the document implements the
643 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
646 * properties/Makefile.am:
647 * properties/ev-properties-view.c:
648 (ev_properties_view_register_type):
649 * properties/ev-properties-view.h:
650 * properties/ev-properties-main.h:
652 Implement nautilus plugin for properties.
653 Works only for pdf atm, I need to rework the
654 document types stuff to get this to work
657 2005-07-04 Martin Kretzschmar <martink@gnome.org>
659 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
660 (ev_properties_fonts_set_document): use
661 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
663 2005-07-04 Matthew S. Wilson <msw@rpath.com>
665 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
667 (PlaceImage, tiff2ps_process_page): use
668 g_ascii_dtostr to convert floats to strings in a locale-safe way.
671 2005-07-04 Martin Kretzschmar <martink@gnome.org>
673 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
674 (main): to call gnome_authentication_manager_init. Should fix
677 * configure.ac: that requires libgnomeui 2.6.0.
679 2005-07-04 Matthew S. Wilson <msw@rpath.com>
681 * tiff/tiff-document.c (tiff_document_ps_export_begin)
682 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
683 use the new tiff2ps interfaces
685 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
686 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
688 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
689 structure instead of global variables. Remove use of static
690 variables in functions.
692 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
694 * shell/ev-page-action.c: unref the completion after setting it to the
697 2005-07-04 Matthew S. Wilson <msw@rpath.com>
699 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
702 2005-07-04 Matthew S. Wilson <msw@rpath.com>
704 * shell/ev-window.c (update_action_sensitivity): disable
705 File->Print if the document does not implement the ps exporter
708 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
712 * data/evince-properties.glade:
713 * properties/.cvsignore:
714 * properties/Makefile.am:
715 * properties/ev-properties-view.c: (ev_properties_view_dispose),
716 (ev_properties_view_class_init), (ev_properties_view_format_date),
717 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
718 (ev_properties_view_init), (ev_properties_view_new):
719 * properties/ev-properties-view.h:
721 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
722 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
723 (ev_properties_dialog_new):
724 * shell/ev-properties-dialog.h:
725 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
726 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
727 (update_progress_label), (job_fonts_finished_cb),
728 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
729 * shell/ev-properties-fonts.h:
730 * shell/ev-properties.c:
731 * shell/ev-properties.h:
732 * shell/ev-window.c: (ev_window_setup_document),
733 (ev_window_cmd_file_properties):
735 Split the properties pages in two different objects, depend
736 only on the backend where possible, use widgets instead
737 of gobject for the glade part, reimplement the dialog
739 I need this to implement nautilus properties page.
741 2005-07-03 Matthew S. Wilson <msw@rpath.com>
743 * tiff/tiff-document.c (tiff_document_ps_export_begin)
744 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
745 (tiff_document_document_ps_exporter_iface_init): implement the ps
746 exporter interface for tiff documents
748 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
749 libtiff to implement TIFF postscript export
751 * tiff/tiff2ps.h: added a header file for external tiff2ps
754 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
757 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
759 * shell/ev-view.c: (scroll_to_current_page),
760 (ev_view_set_fullscreen), (ev_view_set_presentation):
762 Scroll to current page when exit from presentation
764 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
766 * shell/ev-window.c: (update_document_mode),
767 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
768 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
769 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
771 Exit from fullscreen mode when switch to presentation. Fix for
774 2005-07-02 Matthew S. Wilson <msw@rpath.com>
776 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
777 return NULL if the document does not implement the selection
780 2005-07-02 Matthew S. Wilson <msw@rpath.com>
782 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
783 reported height by using the resolution aspect ratio
784 (tiff_document_render_pixbuf): scale the pixbuf using the
785 resolution aspect ratio
787 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
791 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
792 <kiltedaco@gmail.com>
794 * djvu/djvu-document.c: (djvu_document_get_orientation),
795 (djvu_document_set_orientation), (djvu_document_get_page_size),
796 (rotate_pixbuf), (djvu_document_render_pixbuf),
797 (djvu_document_document_iface_init):
798 * dvi/dvi-document.c: (dvi_document_get_orientation),
799 (dvi_document_set_orientation), (dvi_document_get_page_size),
800 (rotate_pixbuf), (dvi_document_render_pixbuf),
801 (dvi_document_document_iface_init):
803 Dvi and djvu backends are ported to new API
805 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
807 * backend/ev-selection.c: (ev_selection_get_selection_region),
808 (ev_selection_get_selection_map):
809 * backend/ev-selection.h:
811 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
813 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
814 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
815 (ev_pixbuf_cache_get_text_mapping):
816 * shell/ev-pixbuf-cache.h:
817 * shell/ev-view.c: (location_in_text),
818 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
819 support to EvView. Now we can see where we can select! Sweet!
821 2005-06-30 Kristian Høgsberg <krh@redhat.com>
823 * shell/ev-view.c (ev_view_button_press_event): Fix
824 event->y + view->scroll_x typo.
826 2005-06-30 Kristian Høgsberg <krh@redhat.com>
828 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
829 sub-GdkPixbuf instead of passing dest_x and dest_y.
831 * shell/ev-view.c: (view_point_to_doc_point),
832 (view_rect_to_doc_rect), (ev_view_button_press_event),
833 (ev_view_motion_notify_event), (compute_new_selection_rect),
834 (gdk_rectangle_point_in), (compute_new_selection_text),
835 (compute_selections): Update selection code to keep the selection
836 around as two points and not as a normalized rectangle, and fix
837 page level selection in two-column mode.
839 2005-06-30 Alex Duggan <aldug@astrolinux.com>
841 * shell/ev-window.c: (window_configure_event_cb):
845 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
851 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
854 * shell/ev-metadata-manager.c: (item_free),
855 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
856 (parse_value), (parseItem), (load_values),
857 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
858 (save_values), (save_item), (get_oldest), (resize_items),
859 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
860 * shell/ev-metadata-manager.h:
862 Metadata manager from gedit but modified to use GValue, so that
863 we dont need to keep converting from strings.
867 ENABLE_METADATA conditional, on when dbus is on
869 * shell/ev-application.c: (ev_application_open_uri):
871 Show the window after load so that we can initialize
872 window size before it's showed.
874 * shell/ev-window.c: (ev_window_setup_from_metadata),
875 (ev_window_open_uri), (window_configure_event_cb),
878 Save and load metadata information about window size.
879 Not yet keeping states in account.
881 * shell/main.c: (main):
883 Shutdown metadata manager.
885 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
887 * shell/ev-application-service.xml:
890 * shell/ev-application.c:
891 * shell/ev-application.h:
896 Add an optional dbus interface (--enable-dbus).
897 Rework application code, mainly to be easier to
899 Do not open multiple windows with the same document,
902 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
904 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
905 pixbuf iff it exists.
907 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
910 * backend/ev-render-context.[ch]:
911 * backend/ev-selection.[ch]:
913 Massive changes. We now support text selection of pdfs, and not
914 just rectangular selection. This is pretty broken still, but I
915 want to get something into CVS.
917 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
921 Fix for Bug 309080: crash on window close.
923 * shell/ev-page-action.c: (page_changed_cb):
925 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
926 jensgr@gmx.net (Jens Granseuer).
928 2005-06-25 Marcel Telka <marcel@telka.sk>
930 * configure.in (ALL_LINGUAS): Added sk.
932 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
934 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
937 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
944 * cut-n-paste/recent-files/Makefile.am:
948 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
950 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
951 (pixbuf_document_set_orientation), (rotate_pixbuf),
952 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
953 (pixbuf_document_document_iface_init), (pixbuf_document_init):
955 Implement rotation and cleanup the code a bit.
957 * tiff/tiff-document.c: (tiff_document_get_page_size),
958 (tiff_document_get_orientation), (tiff_document_set_orientation),
959 (rotate_pixbuf), (tiff_document_render_pixbuf),
960 (tiff_document_document_iface_init), (tiff_document_init):
962 Implement rotation. Was the quicker solution for the release
963 but we really need to share this code in the shell.
965 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
969 Enable rotation, require poppler cvs. Fix a leak.
971 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
973 * shell/ev-window.c: (update_action_sensitivity):
975 Make properties unsensitive if document backend doesn't provide
978 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
980 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
981 (bitmap_flip_horizontally), (bitmap_flip_vertically),
982 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
983 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
984 (bitmap_flip_rotate_counter_clockwise):
985 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
986 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
988 * dvi/mdvi-lib/common.h:
989 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
990 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
991 (opendvi), (mdvi_reload), (mdvi_init_context),
992 (mdvi_destroy_context), (mdvi_dopage), (special):
993 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
994 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
995 (file_hash_free), (register_encoding), (parse_spec),
996 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
997 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
998 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
999 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1000 (mdvi_register_font_type), (mdvi_unregister_font_type),
1001 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1002 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1003 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1004 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1005 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1006 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1007 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1008 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1009 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1010 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1011 (mdvi_unregister_special), (mdvi_flush_specials):
1012 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1014 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1015 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1016 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1017 (free_font_metrics), (flush_font_metrics):
1018 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1020 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1021 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1022 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1023 (dstring_insert), (dstring_new), (dstring_reset):
1024 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1026 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1027 avoid conflict with libtool on FC4
1029 * shell/ev-window.c: (ev_window_cmd_help_about):
1031 Update copyright year. Fix for bug 308828.
1033 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1035 * shell/ev-view.c: (add_scroll_binding_keypad),
1036 (ev_view_binding_activated), (ev_view_class_init),
1037 (on_adjustment_value_changed):
1039 Bug 170874: Arrow keys switch pages in presentation mode
1041 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1043 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1045 Fix for Bug 308265: Sidebar dissappears coming out of
1048 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1050 * shell/ev-application.c: (ev_application_open):
1051 * shell/ev-document-types.c: (ev_document_types_add_filters),
1052 (ev_document_types_add_filters_for_type):
1053 * shell/ev-document-types.h:
1054 * shell/ev-window.c: (ev_window_cmd_save_as):
1056 Suggest basename as template when saving, provide filters
1057 for save dialog. It's bug 308402
1059 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1061 * pdf/ev-poppler.cc:
1062 * shell/ev-sidebar-links.c: (job_finished_callback):
1063 * shell/ev-view.c: (update_find_status_message):
1067 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1069 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1070 (egg_recent_view_uimanager_set_list):
1072 Fix buglet in !show_numbers case.
1074 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1076 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1077 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1079 Use pango ellipsisation.
1081 * pdf/ev-poppler.cc:
1083 Fix refcount leak, from nsh.
1085 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1087 * cut-n-paste/recent-files/Makefile.am:
1088 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1089 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1091 Removed EggRecentViewGtk
1093 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1094 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1095 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1096 (ev_window_setup_recent):
1098 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1101 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1103 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1104 (egg_recent_view_gtk_finalize):
1108 * cut-n-paste/toolbar-editor/Makefile.am:
1110 Fix location of cursor icon.
1112 * pdf/ev-poppler.cc:
1113 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1114 (display_completion_text), (match_completion):
1115 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1116 (selection_changed_callback), (create_loading_model),
1117 (print_section_cb), (links_page_num_func),
1118 (update_page_callback_foreach):
1119 * shell/ev-window.c: (ev_window_dispose):
1121 Small memory fixes. Links model now store objects instead
1122 of pointers to improve memory management.
1124 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1126 * shell/ev-window.c: (zoom_control_changed_cb):
1128 Fix update of zoom control (bug 308268).
1130 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1132 * shell/ev-properties.c (set_property): escape the text correctly.
1133 Handles non-UTF-8 properties and escaped properties. Also, sets
1134 the text to "<i>None</i>" if the property isn't set.
1136 * data/evince-properties.glade: Change the label to be ellipsized,
1137 and give it a minimum size.
1139 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1141 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1142 * shell/ev-sidebar-links.c: (create_loading_model):
1143 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1144 * shell/ev-view.c: (ev_view_set_document):
1145 * shell/ev-window.c: (ev_window_dispose):
1147 Various small fixes, mostly memory leaks. Thanks to valgrind.
1149 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1151 * ps/ps-document.c: remove the locale.h include again ;-). And
1152 kill the (bogus) setlocale/savelocale business.
1154 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1158 Include locale.h to fix build
1160 * shell/ev-sidebar.c:
1162 Remove unnecessary includes
1164 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1166 * dvi/dvi-document.c: (dvi_document_load):
1167 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1170 Check for incorrect dvi files. Fix parsing dvi on AMD64
1171 platform. Thanks to tester@tester.ca (Olivier Crete).
1173 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1175 * shell/ev-page-action.c: (match_selected_cb),
1176 (display_completion_text), (match_completion), (update_model):
1177 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1178 (expand_open_links):
1179 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1180 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1181 (ev_sidebar_set_document):
1182 * shell/ev-window.c: (ev_window_xfer_job_cb),
1183 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1185 Fixed lot's of memory leaks, for example, memory leak on reload,
1186 described in bug 307793.
1188 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1190 * pdf/ev-poppler.cc:
1191 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1192 (update_visible_range), (adjustment_changed_cb),
1193 (ev_sidebar_thumbnails_fill_model),
1194 (ev_sidebar_thumbnails_refresh),
1195 (ev_sidebar_tree_selection_changed),
1196 (ev_sidebar_icon_selection_changed),
1197 (ev_sidebar_thumbnails_use_icon_view),
1198 (ev_sidebar_thumbnails_set_document):
1199 * shell/ev-sidebar-thumbnails.h:
1200 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1201 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1203 Refresh thumbnails when changing orientation. Not fully
1204 working yet becuase of a sidebar bug.
1206 Set page orientation to poppler page everywhere. This sucks
1207 really need to fix poppler.
1209 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1211 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1212 (egg_recent_view_gtk_new_menu_item),
1213 (egg_recent_view_gtk_set_property),
1214 (egg_recent_view_gtk_get_property),
1215 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1216 (egg_recent_view_gtk_set_tooltip_func),
1217 (egg_recent_view_gtk_set_label_width),
1218 (egg_recent_view_gtk_get_label_width):
1219 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1221 Sync with libegg (ellipsize labels)
1223 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1225 * data/evince-ui.xml:
1226 * shell/ev-window.c: (ev_window_cmd_go_forward),
1227 (ev_window_cmd_go_backward):
1229 Shift + PageUp moves 10 Pages. Fix for 306125
1231 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1233 * pdf/ev-poppler.cc:
1235 Add a flag to check if orientation has been overriden
1237 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1239 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1242 * ps/ps.h: add creator field to document.
1244 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1247 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1249 * data/evince-properties.glade:
1250 * shell/ev-properties.c: (ev_properties_set_document):
1252 s/PDF Version/Format
1254 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1256 * shell/ev-properties.c: (ev_properties_set_document):
1258 Remove unnecessary translations
1260 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1262 * cut-n-paste/toolbar-editor/Makefile.am:
1264 Correct library name
1266 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1269 * cut-n-paste/recent-files/egg-recent-model.c:
1270 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1271 (egg_recent_model_unlock_file):
1272 * cut-n-paste/recent-files/egg-recent-util.c:
1273 (egg_recent_util_get_unique_id):
1274 * cut-n-paste/recent-files/update-from-egg.sh:
1275 * cut-n-paste/toolbar-editor/Makefile.am:
1276 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1277 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1278 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1279 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1280 (egg_toolbars_model_get_type):
1281 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1283 Better makefile for toolbar editor and update everything
1286 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1288 * shell/ev-window.c: (update_document_mode):
1290 Prefer presentation mode when the document
1293 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1295 * data/evince-ui.xml:
1296 * shell/ev-window.c:
1298 Add control-equal for zooming
1300 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1302 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1304 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1306 * backend/ev-document.c: (ev_document_get_orientation):
1307 * backend/ev-document.h:
1308 * pdf/ev-poppler.cc:
1309 * ps/ps-document.c: (ps_document_get_orientation),
1310 (ps_document_set_orientation), (ps_document_document_iface_init):
1312 Add a get_orientation api. Improve set_orientation.
1314 * data/evince-ui.xml:
1315 * shell/ev-view.c: (ev_view_set_orientation),
1316 (ev_view_rotate_right), (ev_view_rotate_left):
1318 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1319 (ev_window_cmd_edit_rotate_right):
1321 Better ui for changing document orientation
1323 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1325 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1326 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1327 * shell/ev-sidebar-links.h:
1328 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1329 (ev_sidebar_page_iface_init):
1330 * shell/ev-sidebar-page.h:
1331 * shell/ev-sidebar-thumbnails.c:
1332 (ev_sidebar_thumbnails_get_property),
1333 (ev_sidebar_thumbnails_class_init),
1334 (ev_sidebar_thumbnails_set_document):
1335 * shell/ev-sidebar-thumbnails.h:
1336 * shell/ev-view.c: (ev_view_motion_notify_event):
1337 * shell/ev-window.c: (update_chrome_visibility),
1338 (ev_window_cmd_focus_page_selector),
1339 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1340 (sidebar_page_main_widget_update_cb), (ev_window_init):
1342 Autoraise toolbar on GoToPage binding and fix bindings in
1343 EvSidebarThumbnails page.
1345 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1347 * shell/ev-properties.c: (update_progress_label):
1349 Hide the progress label when finished; bug #307697.
1351 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1353 * pdf/ev-poppler.cc:
1355 Enable is_open for links, you will need poppler cvs
1357 * shell/ev-properties.c: (job_fonts_finished_cb):
1359 Get a lock on the document when filling the tree view
1361 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1363 * backend/ev-document-links.h:
1364 * pdf/ev-poppler.cc:
1365 * shell/ev-sidebar-links.c: (create_loading_model),
1366 (expand_open_links), (job_finished_callback):
1368 Expand links when specified by the document.
1369 Depend on a poppler api (defined out for now)
1371 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1373 * shell/ev-properties.c: (ev_properties_dispose),
1374 (ev_properties_class_init), (dialog_destroy_cb),
1375 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1376 (ev_properties_set_document), (ev_properties_new),
1377 (ev_properties_show):
1378 * shell/ev-properties.h:
1380 Make it an object, cleanup the code, api to show it as transient
1381 and to set the document.
1383 * shell/ev-window.c: (ev_window_setup_document),
1384 (ev_window_cmd_file_properties):
1386 Adapt to EvProperties changes, do not show multiple
1387 times, update it when document changes.
1389 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1392 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1393 (ps_document_set_orientation), (ps_document_document_iface_init):
1396 Implement orientation here too
1398 * shell/ev-properties.c: (ev_properties_new):
1399 * data/evince-properties.glade:
1401 Hide the fonts page for backends that doesnt
1404 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1406 * backend/ev-document.c: (ev_document_set_orientation):
1407 * backend/ev-document.h:
1408 * pdf/ev-poppler.cc:
1410 Add orientation api. Currently poppler api is not optimal,
1411 we need to set orientation every time we _get a page.
1412 I will try to fix that at some point.
1414 * data/evince-ui.xml:
1415 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1416 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1418 Add orientation menu items
1420 * shell/ev-page-cache.c: (ev_page_cache_clear):
1421 * shell/ev-page-cache.h:
1423 Add api to clear the cache
1425 * shell/ev-view.c: (setup_caches), (clear_caches),
1426 (ev_view_set_document), (ev_view_zoom_out),
1427 (ev_view_set_orientation):
1430 Implement orientation changing
1432 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1434 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1435 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1436 * backend/ev-document-fonts.h:
1438 Separate scan and fill so that we can incrementally fill from
1439 the main thread. Add a progress api.
1441 * data/evince-properties.glade:
1442 * pdf/ev-poppler.cc:
1443 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1445 * shell/ev-properties.c: (update_progress_label),
1446 (job_fonts_finished_cb), (setup_fonts_view):
1448 Incrementally feel the list and show the progress
1449 percentage in a label like acrobat does.
1451 You are going to need poppler cvs
1453 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1455 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1456 * backend/ev-document-fonts.h:
1457 * pdf/ev-poppler.cc:
1459 Make fonts model fill incrementally.
1461 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1462 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1463 (ev_job_queue_remove_job):
1464 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1465 (ev_job_fonts_new), (ev_job_fonts_run):
1468 New job for fonts scanning
1470 * shell/ev-properties.c: (job_fonts_finished_cb),
1471 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1472 * shell/ev-properties.h:
1473 * shell/ev-window.c: (ev_window_cmd_file_properties):
1475 Incrementally feel the treeview using the new job. Show Loading...
1476 message until scanning is completed.
1478 Hopefully I didnt break the build without the poppler patch.
1480 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1482 * shell/ev-application.c: (ev_application_open):
1483 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1484 (ev_document_type_get_type), (ev_document_type_lookup):
1485 * shell/ev-document-types.h:
1486 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1487 * shell/ev-job-xfer.h:
1488 * shell/ev-window.c: (ev_window_clear_local_uri),
1489 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1490 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1491 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1493 Transfer remote documents to tmp directory to display them later.
1495 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1497 * backend/ev-document-info.h:
1498 * shell/ev-properties.c: (ev_properties_new):
1500 s/GTime*/GTime. Not sure why we was using a pointer
1503 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1505 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1506 situations. That situation is that you're using GTK+-HEAD with
1507 the patch at #306726 is applied, and you have a document with <
1508 1500 pages in it. It's not quite as uniformly nice as the
1509 TreeView, but should be better in the long run.
1511 I'm pretty sure I guarded against breaking compilation with
1512 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1515 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1516 widget yet, so I commented that code out
1517 enable_view_actions_for_widget() for now. Need to figure this
1520 * shell/ev-page-action.c (match_selected_cb): emit the right
1521 signals. Our cool C-l completion now works.
1523 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1525 * backend/Makefile.am:
1526 * backend/ev-document-fonts.c:
1527 * backend/ev-document-links.c:
1528 * backend/ev-document.c: (ev_document_load):
1529 * backend/ev-document.h:
1530 * backend/ev-job-queue.c:
1531 * backend/ev-job-queue.h:
1532 * backend/ev-jobs.c:
1533 * backend/ev-jobs.h:
1534 * backend/ev-page-cache.c:
1535 * backend/ev-page-cache.h:
1537 EvPageCache and EvJobs are moved to shell.
1539 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1541 * lib/ev-file-helpers.h:
1543 New helper to work with temporary files
1545 * shell/Makefile.am:
1546 * shell/ev-application.c: (ev_application_open):
1547 * shell/ev-application.h:
1548 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1549 (remove_job_from_async_queue), (add_job_to_async_queue),
1550 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1551 (handle_job), (search_for_jobs_unlocked),
1552 (no_jobs_available_unlocked), (ev_render_thread),
1553 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1554 (ev_job_queue_add_job), (move_job_async), (move_job),
1555 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1556 * shell/ev-job-queue.h:
1557 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1558 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1559 * shell/ev-job-xfer.h:
1560 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1561 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1562 (ev_job_links_class_init), (ev_job_render_init),
1563 (ev_job_render_dispose), (ev_job_render_class_init),
1564 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1565 (ev_job_thumbnail_class_init), (ev_job_load_init),
1566 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1567 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1568 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1569 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1571 * shell/ev-page-action.c: (ev_page_action_set_document):
1572 * shell/ev-page-cache.c: (ev_page_cache_init),
1573 (ev_page_cache_class_init), (ev_page_cache_finalize),
1574 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1575 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1576 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1577 (ev_page_cache_get_title), (ev_page_cache_get_size),
1578 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1579 (ev_page_cache_get_height_to_page),
1580 (ev_page_cache_get_max_label_chars),
1581 (ev_page_cache_get_page_label),
1582 (ev_page_cache_has_nonnumeric_page_labels),
1583 (ev_page_cache_get_info), (ev_page_cache_next_page),
1584 (ev_page_cache_prev_page), (ev_page_cache_get):
1585 * shell/ev-page-cache.h:
1586 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1587 (ev_pixbuf_cache_clear_job_sizes),
1588 (ev_pixbuf_cache_add_jobs_if_needed),
1589 (ev_pixbuf_cache_set_page_range):
1590 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1591 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1592 * shell/ev-sidebar-thumbnails.c:
1593 (ev_sidebar_tree_selection_changed),
1594 (ev_sidebar_thumbnails_set_document):
1595 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1596 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1597 (ev_statusbar_get_context_id), (ev_statusbar_push),
1598 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1599 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1600 (ev_statusbar_set_progress):
1601 * shell/ev-statusbar.h:
1602 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1603 (ev_view_find_previous):
1604 * shell/ev-window.c: (ev_window_is_empty),
1605 (ev_window_setup_document), (password_dialog_response),
1606 (ev_window_clear_jobs), (ev_window_load_job_cb),
1607 (ev_window_xfer_job_cb), (ev_window_open_uri),
1608 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1609 (ev_window_print), (ev_window_print_range),
1610 (ev_window_state_event), (ev_window_cmd_view_reload),
1611 (menu_item_select_cb), (menu_item_deselect_cb),
1612 (view_status_changed_cb), (ev_window_dispose),
1613 (drag_data_received_cb), (ev_window_init):
1614 * shell/ev-window.h:
1615 * shell/main.c: (load_files):
1617 New statusbar to show progress on idle. Two new jobs -
1618 xfer job and load job to load document in background. And update
1619 of page_cache clients to new location of code.
1621 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1623 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1624 selection in open dialog. It also remembers the last visited directory
1625 in the current session.
1627 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1629 * shell/ev-properties.c: (ev_properties_new):
1630 * shell/ev-properties.h:
1631 * shell/ev-window.c: (ev_window_cmd_file_properties):
1633 Get document info from page cache instead of document itself.
1634 This should fix crash related to race conditions described in
1637 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1639 * ps/ps-document.c: (ps_document_init),
1640 (send_ps), (get_page_box), (output), (catchPipe), (input),
1641 (stop_interpreter), (file_length), (file_readable),
1642 (check_filecompressedb), (ps_document_enable_interpreter),
1643 (document_load), (ps_async_renderer_render_pixbuf):
1646 Big cleanup of the ps code
1648 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1650 * backend/Makefile.am:
1651 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1652 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1653 * backend/ev-async-renderer.h:
1655 Add an async renderer interface (method + callback) which
1656 is useful for backends like ps.
1658 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1659 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1660 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1661 (ev_job_queue_add_job), (move_job_async), (move_job),
1662 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1664 Add queues for async renderer, these are executed on the
1667 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1668 (ev_job_render_run):
1669 * backend/ev-jobs.h:
1671 If the backend support async renderer interface use it.
1673 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1674 (setup_pixmap), (ps_document_get_type),
1675 (ps_async_renderer_render_pixbuf),
1676 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1678 Implement async renderer interface.
1680 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1682 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1684 Cleanup links job on exit.
1686 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1688 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1689 (drag_data_get_cb), (drag_data_received_cb):
1690 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1691 (drag_data_get_cb), (parse_item_list),
1692 (egg_toolbar_editor_load_actions):
1693 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1694 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1695 (parse_item_list), (parse_toolbars):
1696 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1697 (dvi_pixbuf_put_pixel):
1699 Fix gcc 4.0 warnings
1701 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1703 * ps/ps-document.c: (start_interpreter):
1705 Fix warning when loading ps
1707 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1709 * ps/ps-document.c: (output):
1711 Fix crash when priting gs error messages.
1713 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1715 * backend/ev-page-cache.c: (_ev_page_cache_new):
1716 * backend/ev-page-cache.h:
1718 Use a const to return title so that we dont double
1719 free it. Small cleanup and fix a leak.
1721 * shell/ev-window.c: (update_window_title):
1723 strdup value from get_title.
1725 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1727 * shell/ev-sidebar-links.c: (job_finished_callback),
1728 (ev_sidebar_links_set_document):
1730 Cleanup the old job when changing document
1732 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1734 * shell/ev-stock-icons.c:
1735 * shell/ev-stock-icons.h:
1736 * shell/ev-window.c:
1738 Add stock icons for actions that can appear in toolbar. Fix for
1741 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1743 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1744 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1745 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1746 * backend/ev-page-cache.h:
1747 * shell/ev-view.c: (scroll_to_current_page),
1748 (view_update_range_and_current_page), (get_page_y_offset),
1749 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1750 (ev_view_size_request_continuous),
1751 (ev_view_zoom_for_size_continuous_and_dual_page),
1752 (ev_view_zoom_for_size_continuous):
1754 More compact EvView layout in document with pages of different size.
1756 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1758 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1761 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1763 * shell/ev-view.c: (view_set_adjustment_values):
1764 * shell/ev-window.c: (ev_window_cmd_file_properties):
1766 A bit different fix for rounding problem but it has no
1767 problems on startup. Make properties window transient to parent.
1769 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1771 * pdf/ev-poppler.cc:
1773 More commenting of font stuff.
1775 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1777 * pdf/ev-poppler.cc:
1779 Comment out some more fonts stuff. Should really
1780 work without the poppler patch now.
1782 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1784 * pdf/ev-poppler.cc:
1788 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1790 * data/evince-properties.glade:
1791 * pdf/ev-poppler.cc:
1792 * shell/ev-properties.c: (setup_fonts_view):
1794 Set the column title. Show the dialog only
1795 once everything is setup.
1796 Getting font info can be very slow... will
1797 prolly need to make this threaded too.
1799 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1801 * backend/Makefile.am:
1802 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1803 (ev_document_fonts_get_fonts_model):
1804 * backend/ev-document-fonts.h:
1805 * data/evince-properties.glade:
1806 * pdf/ev-poppler.cc:
1807 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1808 * shell/ev-properties.h:
1809 * shell/ev-window.c: (ev_window_cmd_file_properties):
1811 Implement fonts list. Defined out for now, since it depends
1812 on a not yet committed poppler patch.
1814 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1816 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1819 * shell/ev-window.c: Make sure we add the timeout when we get a
1822 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1823 adjustment->value before calculating the zoom factor to average
1824 out all of our rounding errors. The page no longer 'drifts' when
1827 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1829 * data/evince-properties.glade:
1830 * shell/ev-properties.c: (ev_properties_format_date),
1833 Labels don't expand when the dialogue is resized.
1834 strftime result needs to be converted to UTF-8. Thanks
1835 to Christian Persch <chpe@gnome.org>.
1837 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1839 * data/evince-properties.glade:
1843 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1845 * backend/ev-document-info.h:
1846 * backend/ev-document.c: (ev_document_info_free):
1847 * data/evince-properties.glade:
1848 * pdf/ev-poppler.cc:
1849 * ps/ps-document.c: (ps_document_get_info):
1850 * shell/ev-properties.c: (ev_properties_format_date),
1851 (set_property), (ev_properties_new):
1852 * shell/ev-properties.h:
1853 * shell/ev-window.c: (ev_window_cmd_file_properties):
1855 Rework properties code to take only EvPropertyInfo
1856 in the constructor so that it can be useful for
1857 nautilus plugin too.
1859 Deal with backends that doesnt support some properties.
1860 Make set property code generic.
1862 2005-06-04 Christian Persch <chpe@gnome.org>
1864 * data/evince-properties.glade:
1866 fix spacings, make resizeable, and make data labels
1867 selectable + ellipsised
1869 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1871 * backend/ev-document-info.h:
1873 * data/evince-ui.xml:
1874 * pdf/ev-poppler.cc:
1875 * shell/Makefile.am:
1876 * shell/ev-window.c: (update_action_sensitivity),
1877 (ev_window_cmd_file_properties):
1879 Initial go at file properties. Patch by
1880 Emil Soleyman-Zomalan <emil@soleyman.com>.
1881 Needs love see #169583
1883 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1885 * ps/ps-document.c: (output):
1886 * ps/ps.c: (psscan):
1888 Try to render even if psscan fails.
1890 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1892 * ps/ps.c: (psscan), (pscopydoc):
1894 Port buffered reading code from gv
1896 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1898 * ps/ps-document.c: (interpreter_message), (output):
1900 Do not fail on interpreter messages
1902 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1904 * backend/ev-document-misc.c:
1905 (ev_document_misc_get_thumbnail_frame):
1907 Pages can be 0 x 0, dont assert on this case
1909 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1911 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1912 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1914 Correctly manage our reference on document. Finally the reload
1915 huge leak is gone...
1917 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1919 * ps/ps-document.c: (ps_document_dispose):
1921 Forgot to chain it to the parent. Thanks chpe.
1923 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1925 * ps/ps-document.c: (ps_document_dispose),
1926 (ps_document_class_init), (stop_interpreter), (document_load):
1928 Cleanup dispose a bit. Dont leak the whole pixmap.
1930 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1932 * pdf/ev-poppler.cc:
1934 Release the poppler document on dispose
1936 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1938 * shell/ev-view.c: (ev_view_set_document):
1940 Release ref on the pixbuf cache when changing
1943 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1945 * ps/ps-document.c: (ps_document_get_info):
1949 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1951 * backend/ev-page-cache.c: (ev_page_cache_init),
1952 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1953 * backend/ev-page-cache.h:
1954 * shell/ev-page-action.c: (page_changed_cb):
1956 Set page action entry width depending on labels width. Fix
1959 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1961 * backend/ev-link.c: (ev_link_class_init):
1963 Allow -1 as page value (error)
1965 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1967 * shell/ev-sidebar-thumbnails.c:
1968 (ev_sidebar_thumbnails_set_document):
1969 * shell/ev-view.c: (scroll_to_current_page),
1970 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1971 (page_changed_cb), (on_adjustment_value_changed),
1972 (ev_view_set_document):
1974 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1977 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1980 * djvu/djvu-document.c: (djvu_document_get_page_size):
1982 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1985 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1987 * shell/ev-view.c (draw_one_page): modify the expose handling to
1990 * shell/ev-window.c (update_action_sensitivity): Respect
1991 permissions field. Kowtow to the man.
1993 * pdf/ev-poppler.cc: Get the permissions field.
1995 * tiff/*c: Make a tiny bit more robust.
1997 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1999 * djvu/djvu-document.c:
2001 Pop messages from djvu context message queue.
2003 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005 * configure.ac, Makefile.am, shell/Makefile.am:
2006 * tiff/Makefile.am, shell/ev-document-types.c:
2008 Cleanup tiff configure checks. Fix for bug 305218.
2010 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2012 * configure.ac: Added "uk" to ALL_LINGUAS.
2014 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2016 * cut-n-paste/zoom-control/ephy-zoom.c:
2017 (ephy_zoom_get_changed_zoom_level):
2018 * cut-n-paste/zoom-control/ephy-zoom.h:
2019 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2020 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2021 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2022 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2023 (zoom_control_changed_cb), (ev_window_init):
2025 Fix minor points related to moving best fit up. Introduce
2026 "zoom" property and make zoom control change it's value on
2027 notify::zoom signals. Fix for 305080.
2029 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2031 * data/evince-ui.xml:
2032 * shell/ev-window.c: (set_view_actions_sensitivity):
2034 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2036 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2040 Depends on poppler 0.3.2
2042 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2044 * cut-n-paste/recent-files/egg-recent-item.c:
2045 (egg_recent_item_get_short_name):
2046 * cut-n-paste/toolbar-editor/Makefile.am:
2047 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2048 (new_pixbuf_from_widget):
2049 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2050 * cut-n-paste/toolbar-editor/egg-marshal.c:
2051 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2052 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2056 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2058 * tiff/tiff-document.c: Rough TIFF backend.
2060 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2064 * cut-n-paste/toolbar-editor/Makefile.am:
2068 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2070 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2071 (ev_view_find_next), (ev_view_find_previous):
2073 Remove the locks around get_n_results
2075 2005-05-21 Juerg Billeter <j@bitron.ch>
2077 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2079 Pass correct number of pages to poppler.
2081 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2085 * data/evince.desktop.in:
2086 * data/evince.desktop.in.in:
2089 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2091 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2093 * shell/ev-view.c: (view_update_adjustments),
2094 (view_set_adjustment_values): cast adjustmen->value to (int)
2095 before using it. Otherwise, we get off by a pixel in some
2098 (draw_one_page): Draw the border on expose.
2100 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2102 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2103 adjustment when the mode changes, #304923
2105 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2107 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2108 flickering on resize but still use gdk_window_scroll on
2111 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2113 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2116 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2118 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2119 second page on page_changed if possible, #304669
2121 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2123 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2124 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2126 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2129 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2130 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2131 (ev_view_zoom_for_size_presentation),
2132 (ev_view_zoom_for_size_continuous_and_dual_page),
2133 (ev_view_zoom_for_size_continuous),
2134 (ev_view_zoom_for_size_dual_page),
2135 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2137 * shell/ev-window.c: (update_view_size),
2138 (ev_window_sizing_mode_changed_cb):
2140 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2141 the scrollbars. It's not 100% right, but it's much closer. Kills
2142 an infinite loop, #304769
2145 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2147 * data/evince-ui.xml:
2148 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2149 * shell/ev-window.c: (set_view_actions_sensitivity):
2151 Make PgUp/Down behave like Space
2153 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2155 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2156 * backend/ev-ps-exporter.h:
2157 * pdf/ev-poppler.cc:
2158 * ps/ps-document.c: (ps_document_ps_export_begin):
2159 * shell/ev-print-job.c: (idle_print_handler):
2161 Adapt to new poppler api
2163 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2165 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2166 (ephy_zoom_control_init):
2168 Translate zoom levels
2170 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2172 * cut-n-paste/zoom-control/ephy-zoom.c:
2173 (ephy_zoom_get_zoom_level_index):
2175 Fix current zoom -> zoom control match
2177 2005-05-18 James Bowes <bowes@cs.dal.ca>
2179 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2180 rather than the scrolled_window that it's in. Fixes bug #304655.
2182 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2184 * shell/ev-view.c: (view_update_adjustments),
2185 (view_set_adjustment_values), (view_update_range_and_current_page),
2186 (view_scroll_to_page), (set_scroll_adjustment),
2187 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2188 (ev_view_scroll), (ev_view_scroll_view),
2189 (ensure_rectangle_is_visible), (find_page_at_location),
2190 (get_link_at_location), (go_to_link), (status_message_from_link),
2191 (ev_view_size_request_continuous_dual_page),
2192 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2193 (ev_view_unrealize), (ev_view_expose_event),
2194 (ev_view_button_press_event), (ev_view_motion_notify_event),
2195 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2196 (draw_rubberband), (highlight_find_results), (draw_one_page),
2197 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2198 (ev_view_init), (find_changed_cb), (page_changed_cb),
2199 (on_adjustment_value_changed), (ev_view_new),
2200 (ev_view_set_document), (ev_view_set_zoom),
2201 (ev_view_set_continuous), (ev_view_set_dual_page),
2202 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2203 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2204 (ev_view_zoom_for_size_presentation),
2205 (ev_view_zoom_for_size_continuous_dual_page),
2206 (ev_view_zoom_for_size_continuous),
2207 (ev_view_zoom_for_size_dual_page),
2208 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2209 (ev_view_get_status), (ev_view_set_status),
2210 (update_find_status_message), (ev_view_get_find_status),
2211 (ev_view_set_find_status), (jump_to_find_result),
2212 (jump_to_find_page), (compute_selections), (clear_selection),
2213 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2214 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2215 (ev_view_update_primary_selection),
2216 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2218 * shell/ev-window.c: (ev_window_open_page_label),
2219 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2221 * shell/ev-window.h:
2222 * shell/main.c: (load_files):
2224 Massive code clean up from Nickolay Shmyrev. Keep page offset
2225 when resizing. Remove the bin_window(). Also, patch from James
2226 Bowes to fix command line page, #300641
2228 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2230 * data/evince-ui.xml:
2233 * shell/ev-window.c: (update_action_sensitivity):
2235 Get rid of View->Normal Size, it's just confusing
2237 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2239 * backend/ev-document-info.h:
2240 * backend/ev-document.c: (ev_document_info_free): Free the
2243 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2244 (clear_range), (add_range), (update_visible_range),
2245 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2246 (ev_sidebar_thumbnails_set_document):
2247 * shell/ev-window.c: (ev_window_setup_document): Only render the
2248 visible thumbnails. It takes an instant to render, but it uses
2251 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2253 * shell/ev-sidebar-links.c: (popup_menu_cb):
2257 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2260 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2261 (button_press_cb), (ev_sidebar_links_construct):
2263 Show the popup menu also on keybindings
2265 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2267 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2268 * shell/ev-window.h:
2270 Expose api to print a range (with dialog). Make private _print use
2273 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2274 (ev_sidebar_links_construct):
2276 Show a print context menu on linkx, it prints the selected
2279 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2281 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2284 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2290 * shell/ev-window.c: (build_comments_string),
2291 (ev_window_cmd_help_about):
2293 Show poppler version/backend and authors
2295 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2297 * cut-n-paste/zoom-control/ephy-zoom.c:
2298 (ephy_zoom_get_zoom_level_index):
2299 * cut-n-paste/zoom-control/ephy-zoom.h:
2301 Move the best fit items at the top of the list
2303 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2305 * shell/ev-marshal.list:
2306 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2307 (activate_cb), (match_selected_cb), (activate_link_cb),
2308 (connect_proxy), (ev_page_action_class_init):
2309 * shell/ev-page-action.h:
2311 Use signals to notify action activation. Hopefully
2312 I did not break completion since I cant test...
2314 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2315 (register_custom_actions):
2317 Connect to page selector actions and also grab focus on
2318 the view when activated.
2320 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2322 * pdf/ev-poppler.cc:
2323 * backend/ev-page-cache.c: make page size calculation consistent
2324 and set it to (int)( width * scale + 0.5). This makes the weird
2325 line going through the middle of the page go away.
2327 * shell/ev-view.c: move painting the background page after
2328 checking the expose area covers us.
2330 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2332 * data/evince-password.glade:
2334 Mark labels as not translatable. Fix for bug 302842.
2336 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2338 * configure.ac: Added "es" to ALL_LINGUAS.
2340 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2342 * data/evince-toolbar.xml:
2343 * shell/ev-window.c: (update_action_sensitivity),
2344 (ev_window_setup_document), (ev_window_set_page_mode),
2347 Remove some leftover code from jrb first continous
2348 attempt. Use the new actions, we still need good icons
2351 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2353 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2355 Update label when connecting proxy. Fix a warning with NULL
2358 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2360 * data/evince-ui.xml:
2361 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2362 * shell/ev-page-action.h:
2363 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2365 Add mnemonic for edit toolbar.
2366 ctrl+l focus the page entry.
2368 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2371 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2373 * shell/main.c: (main):
2375 Put the toolbar xml in evince own dot dir
2377 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2379 * shell/ev-window.c: (ev_window_init):
2381 Make the toolbar not removable
2383 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2385 * data/evince-ui.xml:
2386 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2387 * shell/ev-sidebar-links.h:
2388 * shell/ev-sidebar-thumbnails.c:
2389 (ev_sidebar_thumbnails_get_treeview):
2390 * shell/ev-sidebar-thumbnails.h:
2391 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2392 (ev_view_class_init):
2394 * shell/ev-window.c: (update_action_sensitivity),
2395 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2396 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2397 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2400 This is evil... Make space/backspace global accelerators but
2401 enable them only for some widgets (sidebars and view).
2402 I dont like it, but I dont know a better way... :/
2404 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2406 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2407 (ev_page_action_widget_finalize),
2408 (ev_page_action_widget_class_init), (update_page_cache):
2410 Keep a weak reference on proxy->page_cache so that we
2411 dont try to disconnect the signal if the object is already
2412 gone. Maybe there is a better way to cleanup reference handling
2413 in page action though...
2415 2005-05-10 Juerg Billeter <j@bitron.ch>
2417 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2418 * backend/ev-ps-exporter.h:
2419 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2420 * ps/ps-document.c: (ps_document_ps_export_begin):
2422 Change api to pass print range to ps_exporter_begin. The pdf backend
2423 requires this information.
2425 * shell/ev-print-job.c: (idle_print_handler):
2429 2005-05-10 Juerg Billeter <j@bitron.ch>
2431 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2432 (idle_print_handler)
2433 * shell/ev-window.c: (ev_window_print):
2435 Support printing page range, based on patch by Amaury Jacquot
2437 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2439 * data/evince-toolbar.xml:
2441 Add zoom control to available items
2443 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2445 * shell/ev-window.c: (update_action_sensitivity):
2447 Set slash action insensitive when appropriate
2449 2005-05-10 Christian Persch <chpe@gnome.org>
2451 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2453 Fix warning on the overflow menu
2455 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2457 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2459 Check for uri correctness/existence
2461 2005-05-09 Juerg Billeter <j@bitron.ch>
2463 * shell/ev-window.c: (using_postscript_printer):
2465 LPD printers use postscript, too
2467 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2469 * shell/ev-window.c: (register_custom_actions):
2471 The zoom one is actually sort of useful,
2474 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2476 * shell/ev-window.c: (register_custom_actions):
2478 Hide page/zoom controls from overflow, they
2481 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2483 * cut-n-paste/update-from-egg.sh:
2485 Share it between all cut-n-paste subdirs
2487 * cut-n-paste/recent-files/Makefile.am:
2489 Fix to use "global" update-from-egg.sh
2491 * cut-n-paste/recent-files/egg-recent-model.c:
2492 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2493 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2494 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2495 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2499 * cut-n-paste/toolbar-editor/Makefile.am:
2501 Fix to use "global" update-from-egg.sh
2503 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2507 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2510 * cut-n-paste/Makefile.am:
2511 * cut-n-paste/recent-files/Makefile.am:
2512 * cut-n-paste/toolbar-editor/.cvsignore:
2513 * cut-n-paste/toolbar-editor/Makefile.am:
2514 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2515 (egg_editable_toolbar_get_type), (get_toolbar_position),
2516 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2517 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2518 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2519 (set_item_drag_source), (create_item_from_action), (create_item),
2520 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2521 (popup_toolbar_context_menu_cb), (free_dragged_item),
2522 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2523 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2524 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2525 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2526 (item_added_cb), (item_removed_cb),
2527 (egg_editable_toolbar_construct),
2528 (egg_editable_toolbar_disconnect_model),
2529 (egg_editable_toolbar_deconstruct),
2530 (egg_editable_toolbar_set_model),
2531 (egg_editable_toolbar_set_ui_manager),
2532 (egg_editable_toolbar_set_property),
2533 (egg_editable_toolbar_get_property),
2534 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2535 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2536 (egg_editable_toolbar_new_with_model),
2537 (egg_editable_toolbar_get_edit_mode),
2538 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2539 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2540 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2541 (new_pixbuf_from_widget), (new_separator_pixbuf),
2542 (update_separator_image), (style_set_cb),
2543 (_egg_editable_toolbar_new_separator_image),
2544 (egg_editable_toolbar_get_model):
2545 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2546 * cut-n-paste/toolbar-editor/egg-marshal.c:
2547 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2548 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2549 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2550 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2551 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2552 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2553 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2554 (editor_drag_data_delete_cb), (drag_data_get_cb),
2555 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2556 (editor_create_item), (update_editor_sheet), (setup_editor),
2557 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2558 (parse_item_list), (model_has_action), (update_actions_list),
2559 (egg_toolbar_editor_load_actions):
2560 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2561 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2562 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2563 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2564 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2565 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2566 (egg_toolbars_model_add_separator), (impl_add_item),
2567 (parse_item_list), (egg_toolbars_model_add_toolbar),
2568 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2569 (impl_get_item_data), (impl_get_item_type),
2570 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2571 (egg_toolbars_model_init), (free_toolbar),
2572 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2573 (egg_toolbars_model_remove_toolbar),
2574 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2575 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2576 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2577 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2578 (egg_toolbars_model_get_item_data),
2579 (egg_toolbars_model_get_item_type):
2580 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2581 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2583 * data/evince-toolbar.xml:
2584 * data/evince-ui.xml:
2585 * data/hand-open.png:
2587 * shell/Makefile.am:
2588 * shell/ev-window.c: (update_chrome_visibility),
2589 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2590 (ev_window_dispose), (ev_window_init):
2592 Implement epiphany like toolbar editor. Based on patch by
2593 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2595 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2597 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2599 Use set_cursor instead of set_selection, so that
2600 the keyboard focus moves too.
2602 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2604 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2606 Fix infinite loop when loading Type1 fonts
2608 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2610 * data/evince-ui.xml:
2611 * shell/ev-window.c:
2615 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2619 Make --disable really disable
2621 2005-05-07 Juerg Billeter <j@bitron.ch>
2623 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2625 Compare page labels even without has_labels set, fixes setting page
2628 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2630 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2631 (ev_view_set_cursor), (ev_view_button_press_event),
2632 (ev_view_motion_notify_event), (ev_view_button_release_event),
2635 Implement middle button scrolling. Based on a patch
2636 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2638 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2640 * shell/ev-document-types.c: (get_slow_mime_type),
2641 (get_document_type_from_mime), (ev_document_type_lookup):
2642 * shell/ev-document-types.h:
2644 Change api to lookup from uri. Do fast lookup first, if the
2645 type is unknown try with data sniffing.
2647 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2648 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2652 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2654 * thumbnailer/Makefile.am:
2658 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2665 * data/evince-ui.xml:
2667 Hide presentation mode for now
2669 * shell/ev-view.c: (highlight_find_results):
2671 Show current find selection only on current page
2673 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2675 * shell/ev-view.c: (ev_view_select_all):
2677 Compute size of the actual page, not of
2680 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2682 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2683 (view_rect_to_doc_rect), (compute_selections),
2684 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2685 (ev_view_copy), (ev_view_primary_get_cb),
2686 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2687 (ev_view_button_press_event), (ev_view_motion_notify_event),
2688 (ev_view_button_release_event), (page_changed_cb):
2692 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2694 * shell/ev-view.c: (compute_border), (get_page_extents),
2695 (doc_rect_to_view_rect), (highlight_find_results),
2696 (ev_view_bin_expose), (ev_view_select_all),
2697 (ev_view_motion_notify_event), (update_find_status_message),
2698 (jump_to_find_result), (jump_to_find_page):
2700 First go at fixing search, still buggy
2702 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2704 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2705 dropdown box and button at the top of the sidebar.
2707 2005-05-02 James Bowes <bowes@cs.dal.ca>
2709 * configure.ac: Output zoom-control Makefile.
2710 * cut-n-paste/Makefile.am: build zoom-control subdir.
2711 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2712 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2713 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2714 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2715 * cut-n-paste/zoom-control/ephy-zoom.c:
2716 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2717 from epiphany, and modified to add a separator into the menu.
2718 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2719 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2720 zoom-control action.
2721 * shell/Makefile.am: Include zoom-control flags.
2722 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2723 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2724 (ev_view_zoom_for_size_presentation),
2725 (ev_view_zoom_for_size_continuous_and_dual_page),
2726 (ev_view_zoom_for_size_continuous),
2727 (ev_view_zoom_for_size_dual_page),
2728 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2729 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2730 ev_view_get_zoom and ev_view_get_sizing_mode.
2732 * shell/ev-window.c: (update_action_sensitivity),
2733 (update_sizing_buttons), (zoom_control_changed_cb),
2734 (register_custom_actions): Initialize and use the zoom-control
2737 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2739 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2740 preview cache back to 1. Don't know when it got set to 0.
2742 * shell/ev-view.c: (compute_border), (ev_view_realize),
2743 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2744 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2745 (ev_view_get_fullscreen), (ev_view_set_presentation),
2746 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2747 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2749 * shell/ev-window.c:
2750 (update_chrome_visibility),
2751 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2752 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2753 (update_document_mode), (ev_window_update_fullscreen_action),
2754 (ev_window_fullscreen), (ev_window_unfullscreen),
2755 (ev_window_cmd_view_fullscreen),
2756 (ev_window_update_presentation_action),
2757 (ev_window_run_presentation), (ev_window_stop_presentation),
2758 (ev_window_cmd_view_presentation), (ev_window_state_event),
2759 (ev_window_focus_in_event), (ev_window_focus_out_event),
2760 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2761 * data/evince-ui.xml: Initial presentation mode. We should
2762 probably hide this until it's done, as it's quite rough. Also,
2763 change full-screen to fullscreen and add two getters to EvView.
2765 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2767 * shell/ev-page-action.c: (update_page_cache),
2768 (ev_page_action_dispose):
2769 * shell/ev-window.c: (destroy_fullscreen_popup),
2770 (ev_window_create_fullscreen_popup):
2772 Use connect_object rather than explicitly
2773 disconnect on dispose.
2775 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2777 * shell/ev-page-action.c: (update_page_cache),
2778 (ev_page_action_dispose):
2780 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2782 * backend/ev-page-cache.c: (_ev_page_cache_new),
2783 (ev_page_cache_set_page_label),
2784 (ev_page_cache_has_nonnumeric_page_labels):
2785 * backend/ev-page-cache.h:
2786 * shell/ev-page-action.c: (update_pages_label):
2788 If all page labels are numeric, fallback to default
2789 way to display number of pages. See bug 173185.
2791 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2793 * shell/ev-page-action.c: (ev_page_action_dispose):
2794 * shell/ev-view.c: (view_update_range_and_current_page):
2795 * shell/ev-window.c: (ev_window_dispose):
2797 Set page on scroll in continuous mode. Fixes bug 301986.
2798 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2800 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2804 Require poppler 0.3.0
2806 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2808 * shell/Makefile.am, configure.ac: Fix build problems
2809 with t1lib. Bug 301996.
2811 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2813 * shell/ev-view.c: (ev_view_scroll_event):
2815 Scroll up increase zoom
2817 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2819 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2820 (ev_view_set_sizing_mode),
2821 (ev_view_zoom_for_size_continuous_and_dual_page),
2822 (ev_view_zoom_for_size_continuous):
2823 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2824 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2825 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2828 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2829 Fix for 165473 and 165472.
2831 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2834 * thumbnailer/Makefile.am:
2835 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2836 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2837 * thumbnailer/evince-thumbnailer.schemas.in:
2839 Make thumbnailer schemas translatable. Fix for bug 301773
2841 * thumbnailer/evince-thumbnailer-djvu.schemas:
2842 * thumbnailer/evince-thumbnailer-dvi.schemas:
2843 * thumbnailer/evince-thumbnailer.schemas:
2847 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2849 * shell/ev-view.c (ev_view_init): forgot to set this.
2851 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2853 * shell/ev-view.c: (find_page_at_location),
2854 (get_link_at_location),
2855 (ev_view_set_show_border), (ev_view_set_spacing),
2856 (ev_view_zoom_for_size_continuous_and_dual_page),
2857 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2858 Also, add a quick fix measuring of widths. Also, removed
2859 ev_view_set_spacing and ev_view_set_show_border.
2861 * shell/ev-window.c: (ev_window_unfullscreen),
2862 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2864 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2866 * shell/ev-view.c: (view_update_range_and_current_page),
2869 Fix crash on exit and scrolling to page in continuous view.
2871 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2874 * backend/ev-page-cache.c: (_ev_page_cache_new),
2875 (ev_page_cache_get_max_width_size),
2876 (ev_page_cache_get_max_height_size):
2877 * backend/ev-page-cache.h:
2878 * data/evince-ui.xml:
2879 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2880 * shell/ev-view.c: (view_update_adjustments),
2881 (view_update_range_and_current_page), (get_bounding_box_size),
2882 (ev_view_size_request_continuous_and_dual_page),
2883 (ev_view_size_request_continuous),
2884 (ev_view_size_request_dual_page),
2885 (ev_view_size_request_single_page), (ev_view_size_request),
2886 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2887 (ev_view_bin_expose), (ev_view_expose_event),
2888 (ev_view_set_property), (ev_view_get_property),
2889 (ev_view_class_init), (ev_view_init), (ev_view_new),
2890 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2891 (ev_view_set_dual_page), (ev_view_set_full_screen),
2892 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2893 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2894 (ev_view_zoom_out), (zoom_for_size_fit_width),
2895 (zoom_for_size_best_fit),
2896 (ev_view_zoom_for_size_continuous_and_dual_page),
2897 (ev_view_zoom_for_size_continuous),
2898 (ev_view_zoom_for_size_dual_page),
2899 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2900 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2902 * shell/ev-window.c: (update_action_sensitivity),
2903 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2904 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2905 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2906 (ev_window_cmd_view_zoom_out), (update_view_size),
2907 (ev_window_set_sizing_mode), (ev_window_init):
2909 Add Continuous and Dual page modes.
2911 2005-04-23 James Bowes <bowes@cs.dal.ca>
2913 * dvi/dvi-document.c: (dvi_document_load),
2914 (dvi_document_thumbnails_get_thumbnail),
2915 (dvi_document_init_params): Fix up some mixups between
2916 width and height to correct thumbnail rendering.
2918 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2920 * dvi/mdvi-lib/private.h:
2921 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2923 Suppess output for kpathsea during font generation. Thanks to
2926 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2933 * Makefile.am: fix distcheck.
2935 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2937 * shell/ev-sidebar-links.c: (selection_changed_callback),
2938 (update_page_callback), (row_activated_callback),
2939 (job_finished_callback), (ev_sidebar_links_set_document):
2941 Fix for bug #169901. Double click on links expands tree.
2943 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2945 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2946 hard-coded style. Fix for bug 170111
2948 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2950 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2953 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2955 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2957 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2959 * pdf/ev-poppler.cc:
2960 * shell/ev-view.c: (highlight_find_results):
2962 Fix find on single page documents
2964 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2966 * data/evince.schemas.in: fix for bug 301390
2968 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2970 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2971 (ev_view_zoom_out), (ev_view_zoom_normal):
2973 * shell/ev-window.c: (update_action_sensitivity),
2974 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2975 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2976 (ev_window_cmd_view_normal_size):
2978 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2979 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2982 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2986 Depend on 2.57, 2.59 doesnt seem to be necessary
2988 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2990 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2993 Put back total number of pages as (1 of 1234)
2995 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2997 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3000 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3001 function. This helps debugging.
3003 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3005 * djvu/djvu-document.c: (djvu_document_class_init),
3006 (djvu_document_get_info), (djvu_document_document_iface_init):
3007 * dvi/dvi-document.c: (dvi_document_class_init),
3008 (dvi_document_get_info), (dvi_document_document_iface_init):
3010 Dummy implementation of get_info method for dvi and djvu. Fix
3011 crashes with those backends
3013 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3015 * data/evince.desktop.in:
3017 Add application/x-gzpostscript
3019 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3021 * data/evince.schemas.in: Added real long descriptions,
3024 * README: Added actual text, closes bug 171869
3026 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3028 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3032 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3034 * backend/ev-document-info.h:
3036 s/GDate */GDate so we can just use g_free
3038 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3040 * shell/ev-window.c: (update_document_mode),
3041 (ev_window_setup_document):
3043 Show the window in fullscreen when specified by
3046 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3048 * backend/ev-document.c: (ev_document_class_init),
3049 (ev_document_get_info), (ev_document_render_pixbuf):
3050 * backend/ev-document.h:
3051 * backend/ev-page-cache.c: (_ev_page_cache_new):
3052 * pdf/ev-poppler.cc:
3053 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3054 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3055 * ps/ps-document.c: (ps_document_class_init), (document_load),
3056 (ps_document_get_info), (ps_document_document_iface_init):
3058 Remove get_title from the interface, we can just use document info
3060 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3062 * backend/Makefile.am:
3063 * backend/ev-document.c: (ev_document_render_get_info):
3064 * backend/ev-document.h:
3065 * pdf/ev-poppler.cc:
3067 Initial support for document info. Based on jrb patch.
3069 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3071 * shell/ev-window.c: (ev_window_state_event),
3072 (ev_window_class_init), (ev_window_init):
3074 Doesn't show resize grip when maximized. See bug #301053
3076 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3080 ev-sidebar-thumbnails now has translatable labels
3082 * shell/Makefile.am:
3083 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3084 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3085 (ev_sidebar_links_page_iface_init):
3086 * shell/ev-sidebar-links.h:
3087 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3088 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3089 (ev_sidebar_page_get_label):
3090 * shell/ev-sidebar-page.h:
3091 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3092 (ev_sidebar_thumbnails_set_document),
3093 (ev_sidebar_thumbnails_support_document),
3094 (ev_sidebar_thumbnails_get_label),
3095 (ev_sidebar_thumbnails_page_iface_init):
3096 * shell/ev-sidebar-thumbnails.h:
3097 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3098 (ev_sidebar_set_document):
3099 * shell/ev-sidebar.h:
3100 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3102 Small rework of sidebar code. Now sidebar pages should implement
3103 EvSidebarPage interface. That makes page management in EvSidebar
3104 easier. See bug #164811 for details
3106 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3108 * shell/ev-application.c: (ev_application_open):
3109 * shell/ev-document-types.c:
3111 Fix build error and small problem with application exit
3113 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3115 * thumbnailer/Makefile.am:
3116 * thumbnailer/evince-thumbnailer-djvu.schemas:
3117 * thumbnailer/evince-thumbnailer-dvi.schemas:
3119 Conditionally install schemas for djvu/dvi thumbnailer
3121 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3123 * shell/ev-document-types.h:
3124 * shell/ev-document-types.c:
3125 New files, handling the mapping from mimetypes to backends
3127 * shell/ev-window.c:
3128 * thumbnailer/evince-thumbnailer.c:
3129 Use the ev-document-types code
3131 * shell/Makefile.am:
3132 Added new convenience library libevbackendfactory_la, containing
3133 the new mimetype->backend logic; moved the backends into it.
3135 * thumbnailer/Makefile.am:
3136 Make the thumbnailer link with the libevbackend.la convenience
3137 library, rather than having a duplicate of the backend logic here.
3139 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3141 * shell/ev-stock-icons.c: constify some vars.
3142 * shell/ev-window.c: ditto.
3144 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3146 * ps/ps-document.c (get_page_orientation):
3148 Respect document orientation
3150 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3154 * shell/Makefile.am:
3156 Move library dependencies to components.
3158 * shell/ev-window.c: (update_window_title),
3159 (start_loading_document):
3161 Fix display of uris with spaces. Bug 168358.
3163 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3165 * shell/ev-sidebar-links.c: (selection_changed_cb):
3166 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3167 (ev_view_button_release_event), (ev_view_set_document):
3169 * shell/ev-window.c: (find_bar_search_changed_cb):
3170 * shell/ev-window.h: Minor cleanups removing some dead code.
3172 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3174 * backend/ev-page-cache.c: (_ev_page_cache_new):
3176 Set current page to 0 if document has pages.
3178 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3180 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3182 Initialize GError to NULL, fix a crash when loading fails.
3184 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3186 * shell/ev-window.c: (update_view_size):
3188 Calculate shadow size only when there is actually
3191 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3193 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3196 Allow setting view spacing, default to 0
3198 * shell/ev-window.c: (ev_window_unfullscreen),
3199 (ev_window_cmd_view_fullscreen), (ev_window_init):
3201 Remove spacing in fullscreen mode
3203 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3205 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3206 (ev_view_size_request), (expose_bin_window),
3207 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3209 * shell/ev-window.c: (ev_window_unfullscreen),
3210 (ev_window_cmd_view_fullscreen):
3212 Do not draw the border in fulscreen
3214 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3216 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3217 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3218 (find_page_at_location), (page_changed_cb):
3220 Rework border calculation, so that I can more easily disable it.
3221 Code somewhat cleaner too.
3223 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3225 * backend/ev-page-cache.c: (ev_page_cache_init),
3226 (_ev_page_cache_new):
3228 Remove some assertions, documents can have 0 pages.
3229 Make initial current page -1.
3231 * shell/ev-page-action.c: (page_changed_cb):
3233 Show "" if current page is -1
3235 * shell/ev-window.c: (update_action_sensitivity),
3236 (ev_window_setup_document):
3238 When document has 0 pages do not set the view
3239 and make nearly everything insensitive.
3241 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3243 * shell/ev-page-view.c:
3244 * shell/ev-page-view.h:
3246 Remove unused files.
3248 * shell/ev-sidebar-thumbnails.c:
3249 (ev_sidebar_thumbnails_set_document):
3250 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3251 (ev_sidebar_supports_document):
3252 * shell/ev-sidebar.h:
3253 * shell/ev-window.c: (ev_window_setup_document):
3255 Doesn't show thumbnails if document has 1 page. Make
3256 sidebar menu entries sensitive only if if they have
3257 sense. Fix bug 164811.
3259 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3261 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3262 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3263 (ev_view_zoom_out), (ev_view_set_size):
3265 Rework sizing to deal with documents with not uniform page
3268 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3270 * backend/ev-page-cache.c: (_ev_page_cache_new):
3272 Fix several page size caching bugs
3274 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3276 * shell/ev-window.c: (set_action_properties):
3278 Make all toolbar items translatable
3280 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3282 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3283 (save_page_list), (ps_document_save),
3284 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3285 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3286 (ps_document_ps_exporter_iface_init):
3289 Based on a patch by J�rg Billeter <j@bitron.ch>
3291 Implement print and save a copy for the ps backend.
3293 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3295 * backend/ev-document.h:
3296 * djvu/djvu-document.c: (djvu_document_can_get_text),
3297 (djvu_document_document_iface_init):
3298 * dvi/dvi-document.c: (dvi_document_can_get_text),
3299 (dvi_document_document_iface_init):
3300 * pdf/ev-poppler.cc:
3301 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3302 (pixbuf_document_document_iface_init):
3303 * ps/ps-document.c: (ps_document_can_get_text),
3304 (ps_document_document_iface_init):
3305 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3306 * shell/ev-window.c: (update_action_sensitivity):
3308 Fix the crash when trying to copy in backends that doesnt
3309 support it. We can implement a better solution once we
3310 do real text selection.
3312 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3314 * data/evince-ui.xml:
3315 * shell/ev-window.c: (ev_window_cmd_escape):
3317 Work around the Escape conflict (find bar and unfullscreen)
3319 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3321 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3323 Fix for #300233. Next page correctly handles document end.
3325 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3326 (ev_sidebar_thumbnails_class_init),
3327 (ev_sidebar_thumbnails_set_document),
3328 (ev_sidebar_thumbnails_clear_job),
3329 (ev_sidebar_thumbnails_clear_model):
3331 Cleanup thumbnail jobs on document changes.
3333 * shell/ev-view.c: (add_scroll_binding_keypad),
3334 (add_scroll_binding_shifted), (ev_view_class_init):
3336 Shift + Space scrolls up. Fix for #173184
3338 * shell/ev-window.c: (ev_window_open_page),
3339 (ev_window_cmd_view_reload):
3341 Fix reload (Bug #300094)
3343 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3346 * dvi/mdvi-lib/assoc.c:
3347 * dvi/mdvi-lib/assoc.h: Removed garbage files
3349 * dvi/mdvi-lib/bitmap.c:
3350 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3351 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3352 * dvi/mdvi-lib/color.h: Antialias of rules
3354 * dvi/mdvi-lib/common.h:
3355 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3356 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3357 * dvi/mdvi-lib/files.c:
3358 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3359 * dvi/mdvi-lib/mdvi.h:
3360 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3361 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3362 * dvi/mdvi-lib/util.c: Fix compile warnings
3364 * dvi/dvi-document.c:
3365 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3366 (dvi_document_thumbnails_get_thumbnail),
3367 (dvi_document_document_thumbnails_iface_init):
3368 * dvi/mdvi-lib/Makefile.am:
3369 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3370 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3372 Dvi backend now renders thumbnails
3374 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3376 * shell/main.c: (main):
3378 Save accelerators on exit. Fixes bug #172095.
3380 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3382 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3383 update priority" comment.
3385 * backend/ev-job-queue.c: Give a way to change priority.
3387 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3389 * shell/ev-page-action.c: Fix logic.
3391 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3393 * shell/ev-view.c: (ev_view_can_find_next):
3394 * shell/ev-window.c: (ev_window_setup_document):
3396 Check that the document supports find
3398 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3400 * data/evince-ui.xml:
3401 * shell/ev-view.c: (ev_view_can_find_next):
3403 * shell/ev-window.c: (update_action_sensitivity),
3404 (find_changed_cb), (ev_window_setup_document),
3405 (ev_window_cmd_edit_find_next):
3409 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3411 * pdf/ev-poppler.cc:
3412 * shell/ev-print-job.c: (idle_print_handler):
3414 Make printing work again
3416 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3418 * shell/ev-page-action.h:
3419 * shell/ev-page-action.c: (ev_page_action_widget_init),
3420 (ev_page_action_widget_class_init), (page_changed_cb),
3421 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3422 (get_filter_model_from_model), (match_selected_cb),
3423 (display_completion_text), (match_completion), (update_model),
3424 (connect_proxy), (ev_page_action_set_property),
3425 (ev_page_action_get_property), (ev_page_action_set_document),
3426 (ev_page_action_set_model), (ev_page_action_class_init): Big
3427 reworking to make completions work iff we have >= GTK-2.7.0
3429 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3430 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3431 (job_finished_cb): We now have a 'model' property that is set when
3432 the links are loaded. This can be caught with "notify::model"
3434 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3435 listen for the model to be set, and propagate it to the action.
3437 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3439 * cut-n-paste/recent-files/egg-recent-item.c:
3440 (egg_recent_item_set_uri), (make_valid_utf8),
3441 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3442 * cut-n-paste/recent-files/egg-recent-item.h:
3444 Update egg-recent from libegg. This should fix long
3445 startup problem. For details see
3446 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3448 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3450 * cut-n-paste/recent-files/Makefile.am:
3451 * data/evince-ui.xml, shell/Makefile.am:
3452 * shell/ev-application.c, shell/ev-application.h:
3453 * shell/ev-window.c: Recent files support.
3455 * configure.ac: Added "ru" to ALL_LINGUAS.
3457 * dvju: new backend to support DJVU files.
3458 * dvi: new backend to support DVI.
3460 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3461 * ev-application.c: Support for new backends.
3463 * help, ev-window.c, main.c shell/Makefile.am:
3464 Evince user documentation.
3466 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3469 * shell/ev-window.c:
3470 * thumbnailer/evince-thumbnailer.c:
3472 s/pdf-document/ev-poppler
3474 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3481 * ps/ps-document.c: (setup_pixmap):
3485 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3487 * backend/ev-page-cache.c (ev_page_cache_next_page):
3488 * shell/ev-window.c (ev_window_cmd_go_next_page)
3489 (ev_window_cmd_go_first_page): Fix of by one errors.
3491 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3493 * ps/ps-document.c: (get_page_box):
3495 Fix page size calculation
3497 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3499 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3500 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3501 (get_page_orientation), (setup_page), (document_load),
3502 (ps_document_get_page_size), (render_pixbuf_idle):
3505 More refactoring to adapt to EvDocument changes
3507 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3509 * ps/ps-document.c: (start_interpreter):
3511 Actually add alpha args
3513 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3515 * pdf/ev-poppler.cc:
3517 Make clipboard work again
3519 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3521 Make searching work again.
3523 * backend/ev-document.c:
3524 * backend/ev-document.h:
3525 * backend/ev-document-find.c:
3526 * backend/ev-document-find.h: Change EvDocumentIface so we no
3527 longer store the current page or zoom level in the document. The
3528 consequence is that all calls that operate on the current page now
3529 instead take the page number as an extra argument, and all
3530 coordinates are now doubles in document coordinate system.
3532 * pdf/ev-poppler.cc:
3533 * pixbuf/pixbuf-document.c:
3534 * ps/ps-document.c: Update backends accordingly.
3536 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3540 Add required gettext version
3542 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3544 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3545 make F1 bring up non-existent help.
3547 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3548 epiphany's find bar, #167477
3550 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3551 <emil@nishra.com> to add space-bar scrolling,
3553 * shell/ev-window.c (static GtkActionEntry entries): add default
3554 keybinding for Help (F1)
3557 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3558 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3561 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3564 * pixbuf/pixbuf-document.c:
3566 Got pixbuf backend working again
3568 2005-04-01 Steve Murphy <murf@e-tools.com>
3570 * configure.in: Added "rw" to ALL_LINGUAS.
3572 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3574 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3575 model types, noticed by Martin Kretzschmar.
3577 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3579 * pdf/ev-poppler.cc: Implement search based on
3580 poppler_page_find_text(). Currently a bit crude since we remember
3581 all matches from all pages. Also, we grab the big document lock
3582 when we search since searching changes the underlying stream and
3583 thus conflicts with the rendering thread.
3585 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3586 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3587 (ev_view_find_previous): Fix some page indexes to be 0 based,
3588 offset rubber band by view offset,
3590 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3592 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3594 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3596 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3597 completely because I didn't understand GtkActions. I should
3598 read Marco's code more carefully in the future.
3600 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3603 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3605 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3606 PopplerRectangle change from poppler CVS.
3608 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3610 * backend/ev-document.c: (ev_document_get_page_label):
3611 * backend/ev-document.h:
3612 * backend/ev-page-cache.c: (_ev_page_cache_new),
3613 (ev_page_cache_get_page_label):
3614 * backend/ev-page-cache.h:
3615 * pdf/ev-poppler.cc:
3616 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3617 (links_page_num_func):
3618 * shell/ev-sidebar-thumbnails.c:
3619 (ev_sidebar_thumbnails_set_document):
3620 * shell/ev-view.c: (status_message_from_link),
3621 (ev_view_motion_notify_event):
3622 * shell/ev-window.c: (document_supports_sidebar): Add in page
3623 label support. It's not perfect yet, but it's the first 'feature'
3625 Also, fix a bogus comment noticed by crispin.
3627 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3629 * Makefile.am: Remove pixbuf backend for now
3631 * configure.ac: Require poppler-glib instead of just poppler.
3633 * backend/ev-document-thumbnails.h: Add a comment
3635 * backend/ev-document.h:
3636 * backend/ev-document.c: (ev_document_class_init),
3637 (ev_document_load), (ev_document_get_link),
3638 (ev_document_get_links): Remove 3 methods and add get_links.
3641 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3642 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3644 * backend/ev-link.c: (ev_link_set_title),
3645 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3646 (ev_link_mapping_find):
3647 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3649 * backend/ev-page-cache.c: (ev_page_cache_init),
3650 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3651 (ev_page_cache_get_size), (ev_page_cache_next_page),
3652 (ev_page_cache_prev_page): Fix to be 0 based.
3656 * pdf/ev-poppler.cc: New backend.
3658 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3659 (ps_document_get_page), (ps_document_document_iface_init):
3661 * shell/ev-pixbuf-cache.h:
3662 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3663 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3664 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3665 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3666 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3667 Fix up code to grab a page cache per each doc. Also, fix to be 0
3670 * shell/ev-sidebar-thumbnails.c:
3671 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3672 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3674 * shell/ev-view.c: (status_message_from_link),
3675 (find_page_at_location), (get_link_at_location),
3676 (ev_view_motion_notify_event), (ev_view_button_release_event),
3677 (ev_view_init): Use the new link code. Fix to be 0 based.
3679 * shell/ev-window.c: (update_action_sensitivity),
3680 (document_supports_sidebar): 0 based.
3682 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3684 * pdf/pdf-document.cc: Patch from Fernando Herrera
3685 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3688 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3690 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3691 1 to the page, as this seems to be 1 based. I thought we has this
3694 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3697 * backend/Makefile.am:
3698 * backend/ev-document-links.c:
3699 (ev_document_links_has_document_links),
3700 (ev_document_links_get_links_model):
3701 * backend/ev-document-links.h:
3702 * backend/ev-document.c: (ev_document_get_page_cache),
3703 (ev_document_get_doc_mutex), (ev_document_load),
3704 (ev_document_save), (ev_document_get_title),
3705 (ev_document_get_n_pages), (ev_document_set_page),
3706 (ev_document_get_page), (ev_document_set_target),
3707 (ev_document_set_scale), (ev_document_set_page_offset),
3708 (ev_document_get_page_size), (ev_document_get_text),
3709 (ev_document_get_link), (ev_document_render),
3710 (ev_document_render_pixbuf), (ev_document_scale_changed):
3711 * backend/ev-document.h:
3712 * backend/ev-job-queue.c: (remove_object_from_queue),
3713 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3714 (no_jobs_available_unlocked), (ev_render_thread),
3715 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3716 (ev_job_queue_remove_job):
3717 * backend/ev-job-queue.h:
3718 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3719 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3720 (ev_job_links_class_init), (ev_job_render_init),
3721 (ev_job_render_dispose), (ev_job_render_class_init),
3722 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3723 (ev_job_thumbnail_class_init), (ev_job_finished),
3724 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3725 (ev_job_render_run), (ev_job_thumbnail_new),
3726 (ev_job_thumbnail_run):
3727 * backend/ev-jobs.h:
3728 * backend/ev-link.c:
3729 * backend/ev-link.h:
3730 * backend/ev-page-cache.c: (ev_page_cache_init),
3731 (ev_page_cache_class_init), (ev_page_cache_finalize),
3732 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3733 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3734 (ev_page_cache_set_link), (ev_page_cache_get_title),
3735 (ev_page_cache_get_size), (ev_page_cache_next_page),
3736 (ev_page_cache_prev_page):
3737 * backend/ev-page-cache.h:
3738 * pdf/pdf-document.cc:
3741 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3742 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3743 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3744 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3745 (is_interpreter_ready), (output), (catchPipe), (input),
3746 (start_interpreter), (check_filecompressed), (compute_dimensions),
3747 (ps_document_enable_interpreter), (document_load),
3748 (ps_document_next_page), (render_page), (ps_document_set_page),
3749 (ps_document_set_scale), (render_pixbuf_idle),
3750 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3752 * shell/Makefile.am:
3753 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3754 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3755 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3756 (ev_pixbuf_cache_new), (job_finished_cb),
3757 (check_job_size_and_unref), (move_one_job),
3758 (ev_pixbuf_cache_update_range), (find_job_cache),
3759 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3760 (ev_pixbuf_cache_add_jobs_if_needed),
3761 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3762 * shell/ev-pixbuf-cache.h:
3763 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3764 (idle_print_handler):
3765 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3766 (selection_changed_cb), (create_loading_model),
3767 (ev_sidebar_links_construct), (links_page_num_func),
3768 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3769 (update_page_callback), (job_finished_cb),
3770 (ev_sidebar_links_set_document):
3771 * shell/ev-sidebar-thumbnails.c:
3772 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3773 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3774 (page_changed_cb), (thumbnail_job_completed_callback),
3775 (ev_sidebar_thumbnails_set_document):
3776 * shell/ev-sidebar-thumbnails.h:
3777 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3778 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3779 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3780 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3781 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3782 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3783 (ev_view_button_release_event), (ev_view_scroll_view),
3784 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3785 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3786 (ev_view_new), (job_finished_cb), (page_changed_cb),
3787 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3788 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3789 (ev_view_find_previous):
3791 * shell/ev-window.c: (update_action_sensitivity),
3792 (ev_window_open_page), (update_window_title), (update_total_pages),
3793 (page_changed_cb), (ev_window_setup_document),
3794 (password_dialog_response), (ev_window_cmd_save_as),
3795 (ev_window_print), (ev_window_cmd_go_previous_page),
3796 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3797 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3798 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3799 * shell/main.c: (main):
3801 Merge evince-threads branch
3803 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3805 * configure.ac: Added "lt" to ALL_LINGUAS.
3807 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3814 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3816 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3818 Fix here also the thumbnails 1-basedness :)
3820 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3827 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3829 * pdf/pdf-document.cc:
3830 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3831 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3833 Fix the mess we did with thumbnails and 1-basedness
3835 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3837 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3839 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3846 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3849 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3850 (gtk_gs_defaults_get_alpha_parameters),
3851 (gtk_gs_defaults_get_ungzip_cmd),
3852 (gtk_gs_defaults_get_unbzip2_cmd):
3854 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3855 (ps_document_get_orientation), (document_load),
3856 (ps_document_goto_page), (ps_document_set_page_size):
3859 Some more sanitization of the ps backend. Remove a lot
3860 of unused code and do not base our defaults on ggv
3863 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3865 * thumbnailer/evince-thumbnailer.schemas:
3866 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3867 (main): add -s option for thumbnail size.
3869 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3873 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3876 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3878 * pdf/pdf-document.cc:
3880 Remove 4 pixels of useless border from the
3883 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3885 * backend/ev-document-thumbnails.c:
3886 (ev_document_thumbnails_get_thumbnail):
3887 * backend/ev-document-thumbnails.h:
3889 Rework API a bit. Add a border flag and
3890 change sizing logic (now the size we specify
3891 applies to the bigger dimension).
3893 * pdf/pdf-document.cc:
3894 * pixbuf/pixbuf-document.c:
3895 (pixbuf_document_thumbnails_get_thumbnail):
3896 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3897 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3899 Adapt to the new API and do not draw a border for nautilus
3902 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3904 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3905 take thumbnails from page "0" instead of "1". Added a copyright header.
3907 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3909 * ps/ps-document.c: (set_up_page), (start_interpreter):
3911 Make it C89 compliant
3913 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3918 * pdf/pdf-document.cc:
3919 * thumbnailer/Makefile.am:
3920 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3922 * thumbnailer/evince-thumbnailer.schemas:
3923 * thumbnailer/pdf-icon.png:
3925 Add a nautilus thumbnailer.
3926 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3928 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3936 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3938 Use poppler instead of including xpdf source code. Poppler is a
3939 fork of xpdf to build it as a shared library. See
3940 http://freedesktop.org/wiki/Software/poppler.
3942 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3945 * pdf/Makefile.am: Build libpdfdocument.a here.
3947 * pdf/GDKSplashOutputDev.cc:
3948 * pdf/GDKSplashOutputDev.h:
3949 * pdf/GnomeVFSStream.cc:
3950 * pdf/GnomeVFSStream.h:
3953 * test-gdk-output-dev.cc
3955 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3958 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3960 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3962 Clear idle stack before unsetting the document
3964 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3966 * ps/ps-document.c: (ps_document_widget_event),
3967 (ps_document_set_target), (ps_document_finalize),
3968 (ps_document_get_page):
3970 Disconnect the widget event signal on finalize.
3973 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3975 * ps/ps-document.c: (set_up_page):
3977 If there is no bpixmap create one, even if size
3980 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3982 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3983 (set_up_page), (document_load), (ps_document_set_zoom):
3985 Default page is 0. Calculate size even when we have no
3988 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3990 * shell/ev-sidebar.c: expand the selection widget to be always as
3993 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3995 * shell/ev-sidebar-thumbnails.c:
3996 (ev_sidebar_thumbnails_set_document):
3998 Clear the list store when setting document
4000 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4002 * shell/ev-page-action.c: (update_entry), (sync_entry),
4003 (activate_cb), (entry_size_request_cb), (create_tool_item),
4006 Use an entry for the page control instead of spinbuttons
4008 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4010 * data/evince.schemas.in:
4012 Correct confusing string
4014 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4016 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4017 for real. Gosh, how long has this been broken.
4019 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4020 check for a NULL link. We crash otherwise.
4022 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4029 2005-02-25 Sebastien Bacher <seb128@debian.org>
4031 * configure.ac: add the french translation.
4033 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4035 * shell/ev-window.c:
4037 Remove unused header -> fix distcheck
4039 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4041 * shell/ev-window.c: (update_window_title),
4042 (ev_window_popup_password_dialog):
4044 Unescape filename for display
4046 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4048 * pdf/xpdf/pdf-document.cc:
4050 In get_page_size deal with rotation. Also
4051 cleanup the function a bit.
4053 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4055 * pdf/xpdf/pdf-document.cc:
4057 Fix crash when opening in new window
4059 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4063 Check ghostscript >= 7
4065 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4067 * shell/ev-window.c:
4069 Make page width the default sizing mode
4071 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4072 Marco Pesenti Gritti <marco@gnome.org>
4074 * shell/ev-window.c: Remember the sidebar size
4076 * data/evince.schemas.in: Add a new gconf key to store the size of
4079 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4081 * data/evince-ui.xml:
4082 * shell/ev-window.c: (update_action_sensitivity),
4083 (ev_window_cmd_view_reload):
4085 Add a "Reload" action and menu entry
4087 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4089 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4090 iff the type doesn't support thumbnailing and indexing.
4092 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4094 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4096 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4098 * pdf/splash/Splash.cc:
4100 Port fix for a crasher from kde bug
4101 http://bugs.kde.org/show_bug.cgi?id=97131
4103 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4105 * pdf/xpdf/pdf-document.cc:
4107 Return a link even if it's of an unrecognized
4108 type. Otherwise we go in an infinte cycle.
4110 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4112 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4113 (size_allocate_cb), (ev_window_set_sizing_mode):
4115 Update size when switching mode
4117 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4119 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4120 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4121 (ev_window_cmd_view_normal_size):
4123 Fix size toggle buttons behavior
4125 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4127 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4128 (doc_rect_to_view_rect), (ev_view_size_allocate),
4129 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4130 (scale_changed_callback):
4132 Do not cache offsets in size_allocate.
4134 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4136 * shell/ev-view.c: (ev_view_size_allocate):
4138 Calculate offsets before calling the parent
4139 class (which does a redraw)
4141 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4143 * pdf/xpdf/pdf-document.cc:
4145 Fix a crasher on exit. Unused code, put a TODO
4147 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4149 * backend/ev-document.c: (ev_document_class_init),
4150 (ev_document_page_changed), (ev_document_scale_changed):
4151 * backend/ev-document.h:
4153 Separate page/scale notifications
4155 * pdf/xpdf/pdf-document.cc:
4157 Emit the new signals.
4158 Do not display the pdf page in _render, do it
4159 when scale/page are requested.
4161 * ps/ps-document.c: (ps_document_set_zoom),
4162 (ps_document_widget_event):
4165 Emit the new signals.
4167 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4168 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4169 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4170 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4172 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4173 (ev_window_cmd_view_page_width), (size_allocate_cb),
4174 (ev_window_set_sizing_mode):
4176 Rework sizing to be pixel based.
4177 There are bugs but should be already way better.
4179 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4181 * shell/ev-window.c: (ev_window_init):
4183 Do not allow to shrink sidebar smaller then
4186 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4188 * shell/ev-sidebar.[ch]
4189 * shell/ev-window.c:
4191 Improved sidebar widget. Fixes #166683
4193 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4195 * shell/ev-view.c (update_find_status_message): Give translators
4196 more flexibility with ngettext plural handling.
4198 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4200 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4201 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4202 page when we get the page size.
4204 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4206 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4208 ps pages are 0 based, convert
4210 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4212 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4214 Initialize correct parent class. Set GError on document load
4216 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4218 * pdf/xpdf/pdf-document.cc:
4220 Fixup selection offset calculation
4222 * shell/ev-view.c: (view_rect_to_doc_rect),
4223 (doc_rect_to_view_rect), (ev_view_size_allocate),
4224 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4225 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4227 Store selection as document relative, so that zooming
4228 and offset changing doesnt break it.
4230 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4232 * shell/ev-view.c: (ev_view_best_fit):
4234 Do not try to best fit if the view is not realized
4236 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4238 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4240 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4242 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4244 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4246 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4247 the popup window. That prevents it resizing when in full screen
4250 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4251 multiple rerenders. This pretty much sucks.
4253 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4254 rest of the toolbar.
4256 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4258 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4260 2005-02-17 Alexander Shopov <ash@contact.bg>
4262 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4264 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4266 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4268 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4270 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4271 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4272 (set_document_page), (document_changed_callback),
4273 (ev_view_set_document), (ev_view_find_previous),
4274 (ev_view_hide_cursor), (ev_view_show_cursor):
4276 * shell/ev-window.c: (update_chrome_visibility),
4277 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4278 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4279 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4280 (ev_window_unfullscreen):
4281 * shell/main.c: (main):
4283 Automatically hide the fullscreen button.
4284 Patch by Kristian Høgsberg <krh@redhat.com>
4286 2005-02-16 Vincent Noel <vnoel@cox.net>
4288 * shell/main.c (main): Specify an icon for the window. Patch by
4289 Jaap A. Haitsma. Fixes #166177.
4291 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4293 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4295 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4297 * backend/ev-document-misc.h:
4298 * backend/ev-document-misc.c:
4299 (ev_document_misc_get_page_border_size),
4300 (ev_document_misc_paint_one_page): New function to canonicalize
4301 sizing/painting a border.
4303 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4306 * pdf/xpdf/pdf-document.cc: use new function
4308 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4309 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4310 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4311 shell/ev-window.c: (update_sizing_buttons),
4312 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4313 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4314 (ev_window_cmd_view_page_width), (size_allocate_cb),
4315 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4316 and "fit width" values act as toggle buttons so they stay
4317 toggled. It's not 100% perfect, and it's a little slow, but it's
4318 good enough to commit I think.
4320 2005-02-15 David Lodge <dave@cirt.net>
4322 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4324 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4326 * shell/ev-window.c (update_window_title): replace newlines in
4327 the title by spaces. Bug #166107.
4329 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4331 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4332 parameters providing allocation width and height without
4333 scrollbars and width of a possible vertical scrollbar. With this
4334 additional information the functions can work as
4335 intended. Unfortunately they're not idempotent. We should
4336 transform these commands to toggles. Fixes Bug #164976
4337 Initial patch by Stephane Loeuillet, then heavily modified.
4339 * shell/ev-view.h: update prototypes.
4341 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4342 (ev_window_cmd_view_page_width): provide EvView fit functions with
4343 all the information they need. Formulas to calculate this
4344 information taken from GtkScrolledWindow.
4346 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4348 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4349 created a thumbnail, the list store is updated to know
4350 that the thumbnail is set. Fixes bug #166792
4352 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4354 * shell/ev-window.c: fixed typo, closes bug 166897
4356 * TODO: updated TODO with bug numbers that are relevant
4358 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4360 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4362 2005-02-09 Vincent Noel <vnoel@cox.net>
4364 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4365 and "Next" toolbar buttons as important to make them stand out.
4367 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4371 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4372 (start_interpreter), (stop_interpreter), (document_load),
4373 (ps_document_next_page), (ps_document_goto_page),
4374 (ps_document_set_page_size), (ps_document_widget_event),
4375 (ps_document_render):
4376 * shell/ev-page-view.c: (ev_page_view_dispose):
4377 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4379 Fix compilation on non-gcc platforms
4381 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4388 * pdf/xpdf/Catalog.cc:
4391 Fix the fix for CAN-2004-0888
4393 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4396 * data/evince-ui.xml:
4397 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4398 * shell/ev-stock-icons.h:
4399 * shell/ev-window.c: (update_action_sensitivity),
4400 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4401 (set_action_properties):
4403 Improve toolbar layout/icons
4405 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4407 * pdf/xpdf/pdf-document.cc:
4409 Add warnings about unimplemented/unknown link
4412 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4414 * ps/ps-document.c: (set_up_page):
4418 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4420 * ps/ps-document.c: (start_interpreter):
4424 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4426 * shell/ev-page-view.c: (ev_page_view_dispose):
4427 * shell/ev-view.c: (ev_view_finalize):
4428 * shell/ev-window.c: (ev_window_setup_document),
4429 (ev_window_dispose), (ev_window_init):
4431 Solve more refs issues.
4433 I commented out the page_view initialization for now:
4434 it was never destroyed (because it's never added
4435 to a container). Because of that we was leaking
4436 gs processes. Couldnt think to a clean fix.
4437 We need to figure this out, password view has the
4438 same issue probably.
4440 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4442 * ps/ps-document.c: (ps_document_finalize),
4443 (ps_document_get_n_pages), (ps_document_get_page):
4445 Some cleanups, stop the interpreter on finalize
4447 * shell/ev-page-view.c: (ev_page_view_dispose),
4448 (ev_page_view_class_init):
4450 Release our reference on the document
4452 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4456 * doc/debugging.txt:
4459 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4460 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4461 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4464 Add debugging helpers
4467 * ps/ps-document.c: (set_up_page), (start_interpreter),
4468 (stop_interpreter), (document_load), (ps_document_next_page),
4469 (ps_document_goto_page), (ps_document_set_page_size),
4470 (ps_document_widget_event), (ps_document_render):
4471 * shell/Makefile.am:
4472 * shell/ev-view.c: (expose_bin_window):
4473 * shell/main.c: (main):
4477 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4479 * ps/ps-document.c: (ps_document_widget_event):
4481 Initialize message_window, this should make ps
4482 rendering really work! (Never noticed because I was
4483 testing with a ps that is causing gs to exit every time!)
4485 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4487 * data/evince.schemas.in: updated simple error in applyto closing tag
4489 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4495 * data/evince-ui.xml:
4496 A data/evince.schemas.in:
4498 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4499 * shell/ev-stock-icons.h:
4500 * shell/ev-window.c: (update_chrome_visibility),
4501 (update_chrome_flag), (ev_window_cmd_edit_find),
4502 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4503 (ev_window_unfullscreen), (ev_window_focus_in_event),
4504 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4505 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4506 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4507 (ev_window_dispose), (ev_window_class_init),
4508 (set_action_properties), (set_chrome_actions), (load_chrome),
4511 Implement fullscreen mode changes from bug #164776.
4512 Also implement persistent chrome toggles.
4514 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4516 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4518 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4524 Add another check for find interface
4528 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4530 * shell/ev-application.c: (ev_application_open):
4531 * shell/ev-window.c: (ev_window_open):
4533 Open gzipped ps documents
4535 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4538 * shell/ev-view.c: (set_document_page):
4540 Clamp page number, dont try to move to
4543 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4545 * backend/ev-document-find.c: (ev_document_find_changed):
4546 * backend/ev-document-find.h:
4547 * pdf/xpdf/pdf-document.cc:
4548 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4549 * shell/ev-window.c: (find_bar_search_changed_cb):
4551 Fix several bugs with find
4553 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4555 * shell/ev-sidebar-thumbnails.c
4556 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4557 document. Prevents warning from scroll_to_cell.
4559 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4561 * configure.ac: Add «nb» to ALL_LINGUAS too.
4563 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4565 * NOTES: New file with some random thoughts.
4569 * backend/ev-document-misc.c:
4570 (ev_document_misc_get_page_border_size): New function to
4571 canonicalize shadow drawing sizes. Possibly goofy.
4573 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4574 (ev_view_best_fit), (ev_view_fit_width):
4575 * pdf/xpdf/pdf-document.cc:
4576 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4577 * ps/ps-document.c: (ps_document_get_page_size):
4578 * backend/ev-document-misc.h:
4579 * backend/ev-document.c: (ev_document_get_page_size):
4580 * backend/ev-document.h: get_page_size now takes a page number
4581 parameter. Made all the backends/frontends honor it.
4583 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4584 see. Doesn't work yet.
4586 * shell/Makefile.am:
4587 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4588 Doesn't do anything yet.
4590 * shell/ev-sidebar-thumbnails.c:
4591 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4594 * shell/ev-window.c: (update_action_sensitivity),
4595 (ev_window_setup_document), (ev_window_set_page_mode),
4596 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4597 view-swapping code a bit so we can have multiple views on a
4598 document. Add the multi-page view, though it can't be turned on
4601 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4603 * shell/ev-application.c: (ev_application_open):
4604 * shell/ev-view.c: (expose_bin_window):
4605 * shell/ev-window.c: (ev_window_open):
4607 Support eps and check document supports find
4608 before drawing highlightings in expose.
4610 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4612 * pixbuf/pixbuf-document.c:
4613 (pixbuf_document_thumbnails_get_dimensions),
4614 (pixbuf_document_document_thumbnails_iface_init):
4616 implement get_dimensions
4618 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4625 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4627 * shell/ev-view.c: (set_document_page):
4629 Scroll at the top of the page when changing page
4631 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4633 * shell/ev-view.c: (ev_view_motion_notify_event):
4635 Do not redraw unnecessarily
4637 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4639 * pdf/xpdf/pdf-document.cc:
4640 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4641 (expose_bin_window), (find_changed_cb):
4643 Yay! find works now... Now to find bugs...
4645 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4647 * backend/ev-document-find.c: (ev_document_find_base_init),
4648 (ev_document_find_changed):
4649 * backend/ev-document-find.h:
4650 * pdf/xpdf/pdf-document.cc:
4651 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4652 (expose_bin_window), (ev_view_init), (set_document_page),
4653 (ensure_rectangle_is_visible), (jump_to_find_result),
4654 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4655 (ev_view_find_next), (ev_view_find_previous):
4657 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4659 More work on find implementation, mostly there now
4661 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4663 * backend/ev-backend-marshalers.list:
4664 * backend/ev-document-find.c: (ev_document_find_base_init),
4665 (ev_document_find_cancel), (ev_document_find_page_has_results),
4666 (ev_document_find_get_n_results), (ev_document_find_get_result),
4667 (ev_document_find_get_progress), (ev_document_find_changed):
4668 * backend/ev-document-find.h:
4670 Enanche the find interface to be really able to do
4673 * pdf/xpdf/pdf-document.cc:
4677 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4678 (expose_bin_window), (ev_view_init),
4679 (ev_view_get_find_status_message), (find_changed_cb),
4680 (ev_view_set_document), (set_document_page):
4682 Adapt to the new interface. A few things are regressed sorry,
4683 I will finish it soon.
4685 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4687 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4688 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4689 ev_sidebar_thumbnails_parent_class variable, don't define another
4690 parent_class variable.
4692 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4693 (ev_page_action_class_init): ditto.
4695 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4696 (pixbuf_document_class_init): ditto.
4698 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4701 * .cvsignore: ignore various valgrind output files.
4703 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4705 * data/evince-ui.xml:
4706 * shell/Makefile.am:
4707 * shell/ev-history.c:
4708 * shell/ev-history.h:
4709 * shell/ev-navigation-action.c:
4710 * shell/ev-navigation-action.h:
4711 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4712 (ev_view_set_page), (ev_view_fit_width):
4714 * shell/ev-window.c: (update_action_sensitivity),
4715 (ev_window_setup_document), (register_custom_actions):
4717 Kill session history
4719 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4721 * shell/ev-window.c: (update_action_sensitivity):
4723 Fix inverted up/down buttons
4725 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4727 * shell/ev-sidebar-thumbnails.c
4728 (ev_sidebar_thumbnails_select_page): make sure the selected
4729 thumbnail stays visible.
4731 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4733 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4734 scrolled window for Federico.
4736 2005-01-26 Ole Laursen <olau@hardworking.dk>
4738 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4740 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4743 * pdf/splash/SplashFTFontEngine.cc:
4745 Fix CID fonts with freetype 2.1.9
4747 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4749 * TODO: added item for desktop icon thumbnailer
4751 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4753 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4754 unloaded docs when the title is accessed.
4756 * shell/ev-password-view.[hc]: New widget for displaying password
4759 * shell/ev-window.[ch]: Refactor password handling code to handle
4762 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4770 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4772 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4773 ignore page offset here, to make search results independent of it,
4775 * shell/ev-view.c (expose_bin_window): but take offsets into
4776 account here. Bug #164932
4778 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4779 scale at the right time. Bug #164996
4781 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4783 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4784 fix the problem. Now I just removed the Adobe font names and hope
4785 that the URW fonts are always in outline format. Bug #164934
4787 * shell/ev-window.c (update_window_title): empty titles are
4788 useless, use filename in that case too.
4790 * NEWS: Add some content.
4792 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4794 * TODO: added one more TODO item and a TODONE section :)
4796 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4798 * ps/ps-document.h: add page_[xy]_offset fields.
4800 * ps/ps-document.c (ps_document_set_page_offset)
4801 (ps_document_render): Keep offset in consideration in a few
4802 places. Bug #164752 "postscript documents are not centered in
4805 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4806 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4808 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4809 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4810 stub out missing methods for complete EvDocument implementation.
4811 Fixes segfaults with Save A Copy and Copy actions.
4813 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4814 (ps_document_document_iface_init): ditto.
4816 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4820 * data/evince.desktop.in:
4824 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4826 * shell/ev-view.c: (ev_view_button_press_event),
4827 (ev_view_motion_notify_event):
4829 Make selection work in any direction
4831 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4834 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4836 Use shorter labels for some of the toolbars items
4838 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4840 * pdf/xpdf/pdf-document.cc:
4842 Check the links info is initialized before
4843 using it. Should fix a crash on startup.
4845 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4847 * pixbuf/pixbuf-document.c
4848 (pixbuf_document_thumbnails_get_dimensions): force floating point
4849 division to calculate page_ratio. Fixes crash with landscape
4852 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4854 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4856 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4858 * shell/ev-view.c (set_document_page): unset has_selection when
4860 (set_document_page): handle paper size changes when the page
4861 changes (test with Free Culture, page 2).
4863 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4865 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4866 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4868 Use normal style color for the widget background and
4869 draw a black box around the page.
4871 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4873 * pdf/xpdf/pdf-document.cc:
4875 Keep offset in consideration in a few places
4877 * shell/ev-view.c: (expose_bin_window):
4879 Set the offsets so that the document is ever centered
4881 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4883 * TODO: Added TODO items and finished off the first todo item
4885 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4886 reflect current authors
4888 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4890 * pdf/xpdf/pdf-document.cc:
4891 * shell/ev-view.c: (ev_view_set_cursor),
4892 (ev_view_motion_notify_event), (document_changed_callback),
4893 (set_document_page):
4895 Show a wait cursor while the page is rendering
4897 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4899 * shell/ev-sidebar-thumbnails.c:
4900 (ev_sidebar_tree_selection_changed),
4901 (ev_sidebar_thumbnails_select_page):
4902 * shell/ev-sidebar-thumbnails.h:
4903 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4904 (ev_view_can_go_forward):
4905 * shell/ev-window.c: (ev_window_open_page),
4906 (ev_window_setup_document), (update_current_page),
4907 (view_page_changed_cb), (ev_window_init):
4908 * shell/ev-window.h:
4910 Ensure thumbnails selection, toolbar page control and
4911 current page are in sync.
4913 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4919 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4921 * backend/Makefile.am:
4922 * backend/ev-document-links.h:
4923 * backend/ev-document-security.c: (ev_document_security_get_type),
4924 (ev_document_security_has_document_security),
4925 (ev_document_security_set_password):
4926 * backend/ev-document-security.h:
4927 * backend/ev-document.c: (ev_document_error_quark):
4928 * backend/ev-document.h:
4930 * data/evince-password.glade:
4931 * pdf/xpdf/pdf-document.cc:
4932 * shell/Makefile.am:
4933 * shell/ev-password.c: (ev_password_set_bad_password_label),
4934 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4935 (ev_password_dialog_get_password),
4936 (ev_password_dialog_set_bad_pass):
4937 * shell/ev-password.h:
4938 * shell/ev-window.c: (ev_window_get_attribute),
4939 (ev_window_set_property), (update_action_sensitivity),
4940 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4941 (ev_window_setup_document), (ev_window_get_password),
4942 (ev_window_open), (ev_window_cmd_save_as),
4943 (using_postscript_printer), (ev_window_print),
4944 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4945 (update_fullscreen_popup), (ev_window_fullscreen),
4946 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4947 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4948 (menu_item_select_cb), (find_bar_search_changed_cb),
4949 (ev_window_dispose), (ev_window_init):
4951 Add initial support for password-supported dialogs. This could be
4952 a lot cooler, but it'll do for now.
4954 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4956 * pdf/xpdf/pdf-document.cc:
4957 * shell/ev-view.c: (status_message_from_link),
4958 (ev_view_set_status), (ev_view_set_cursor),
4959 (ev_view_motion_notify_event), (ev_view_init):
4960 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4962 Fix bugs in the links implementation and change cursor
4963 when hovering a link.
4965 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4967 * viewer/.cvsignore: added cvsignore file for viewer directory
4969 * TODO: created TODO document
4971 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4974 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4975 new functions to help with implementation of sensitivity code
4976 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4977 of all actions that might require it. Fixes a crash when you
4978 click on the Zoom actions in a window lacking a document.
4980 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4982 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4985 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4987 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4988 (pixbuf_document_document_iface_init):
4989 * ps/ps-document.c: (ps_document_get_link),
4990 (ps_document_document_iface_init):
4991 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4992 (status_message_from_link), (ev_view_set_status),
4993 (ev_view_set_find_status), (ev_view_motion_notify_event),
4994 (ev_view_button_release_event), (ev_view_set_property),
4995 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4996 (ev_view_get_find_status_message), (update_find_results),
4997 (ev_view_get_status), (ev_view_get_find_status):
4999 * shell/ev-window.c: (view_status_changed_cb),
5000 (view_find_status_changed_cb), (ev_window_init):
5002 View status message support, use it to show the links.
5005 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5007 * backend/ev-document.c: (ev_document_get_link):
5008 * backend/ev-document.h:
5009 * pdf/xpdf/pdf-document.cc:
5010 * shell/ev-application.c: (ev_application_open):
5011 * shell/ev-application.h:
5012 * shell/ev-sidebar-links.c: (selection_changed_cb):
5013 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5014 (ev_view_go_to_link):
5016 Add support for document links
5018 2005-01-13 Anders Carlsson <andersca@gnome.org>
5020 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5022 Set the spin button limits correctly.
5024 * shell/ev-sidebar-thumbnails.c:
5025 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5026 Support changing pages by clicking on the thumbnails.
5028 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5030 * pixbuf/pixbuf-document.c:
5031 (pixbuf_document_thumbnails_get_dimensions),
5032 (pixbuf_document_document_thumbnails_iface_init):
5034 implement get_dimensions
5036 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5038 * ps/ps-document.c: (ps_document_goto_page):
5040 Fix page switching on multipage documents
5042 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5044 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5046 check for NULL before assigning to width and height parameters
5048 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5050 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5051 (pixbuf_document_set_property), (pixbuf_document_get_property):
5053 implement get/set properties
5055 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5057 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5059 return NULL instead of "Unknown", letting the title get set to
5060 the filename when the pdf has no title.
5062 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5064 * ps/ps-document.c: (ps_document_get_page_count),
5065 (ps_document_goto_page):
5067 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5069 * shell/ev-history.c: (ev_history_get_property),
5070 (ev_history_set_property), (ev_history_class_init),
5071 (ev_history_add_page), (ev_history_set_current_index):
5072 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5073 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5074 (ev_navigation_action_finalize):
5075 * shell/ev-navigation-action.h:
5076 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5077 (ev_view_go_forward), (ev_view_get_find_status_message),
5078 (history_index_changed_cb), (ev_view_set_history):
5080 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5081 (update_current_page), (register_custom_actions):
5083 Implement history dropdowns
5085 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5087 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5088 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5089 (ev_view_go_forward):
5090 * shell/ev-window.c: (register_custom_actions):
5092 Fix several history bugs
5094 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5096 * configure.ac: Add «nb» to ALL_LINGUAS.
5098 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5100 * backend/Makefile.am:
5101 * backend/ev-bookmark.c:
5102 * backend/ev-bookmark.h:
5103 * backend/ev-document-bookmarks.c:
5104 * backend/ev-document-bookmarks.h:
5105 * backend/ev-document-links.c: (ev_document_links_get_type),
5106 (ev_document_links_has_document_links),
5107 (ev_document_links_begin_read), (ev_document_links_get_link),
5108 (ev_document_links_get_child), (ev_document_links_next),
5109 (ev_document_links_free_iter):
5110 * backend/ev-document-links.h:
5111 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5112 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5113 (ev_link_get_link_type), (ev_link_set_link_type),
5114 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5115 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5116 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5117 (ev_link_new_external):
5118 * backend/ev-link.h:
5119 * pdf/xpdf/pdf-document.cc:
5120 * shell/Makefile.am:
5121 * shell/ev-application.c: (ev_application_open_link):
5122 * shell/ev-application.h:
5123 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5124 (ev_history_get_link_nth):
5125 * shell/ev-history.h:
5126 * shell/ev-sidebar-bookmarks.c:
5127 * shell/ev-sidebar-bookmarks.h:
5128 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5129 (ev_sidebar_links_class_init), (selection_changed_cb),
5130 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5131 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5132 (do_one_iteration), (populate_links_idle),
5133 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5134 * shell/ev-sidebar-links.h:
5135 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5136 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5139 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5140 * shell/ev-window.h:
5142 Rename bookmark to link, and use "Index" for the sidebar panel.
5144 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5146 * shell/Makefile.am:
5147 * shell/ev-application.c: (ev_application_open_bookmark):
5148 * shell/ev-application.h:
5149 * shell/ev-history.c: (ev_history_init), (free_links_list),
5150 (ev_history_finalize), (ev_history_class_init),
5151 (ev_history_add_link), (ev_history_add_page),
5152 (ev_history_get_link_nth), (ev_history_get_n_links),
5153 (ev_history_get_current_index), (ev_history_set_current_index),
5155 * shell/ev-history.h:
5156 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5157 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5158 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5159 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5162 * shell/ev-window.c: (ev_window_open_bookmark),
5163 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5164 (goto_page_cb), (register_custom_actions):
5165 * shell/ev-window.h:
5167 Initial history implementation. Needs work.
5169 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5171 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5173 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5175 * cut-n-paste/recent-files/egg-recent-item.c:
5176 * cut-n-paste/recent-files/egg-recent-item.h:
5177 * cut-n-paste/recent-files/egg-recent-model.c:
5178 * cut-n-paste/recent-files/egg-recent-util.c:
5179 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5180 * cut-n-paste/recent-files/egg-recent-view.c:
5184 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5186 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5187 (fillGlyph, fillImageMask, drawImage):
5188 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5189 pdf/splash/SplashTypes.h:
5190 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5191 packed mode for Splash.
5193 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5194 RGB8 packed mode, eliminates the pixbuf data creation loop.
5196 * shell/ev-print-job.c (ev_print_job_finalize)
5197 (ev_print_job_set_property, ev_print_job_get_property)
5198 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5199 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5200 (print_closure_finalize, ev_print_job_print): implement
5201 printing (for backends with EvPsExporter)
5203 * shell/ev_print_job.h: update prototypes.
5205 * shell/ev-window.c (ev_window_print): unref print job after
5208 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5209 unless the document implements the EvDocumentFind interface.
5211 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5213 * configure.ac: Added ja to ALL_LINGUAS.
5215 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5217 * pdf/xpdf/pdf-document.cc:
5219 add a FIXME. We should probably not allocate
5220 a bookmark object every time
5222 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5224 * shell/ev-application.c: (ev_application_open),
5225 (ev_application_open_bookmark):
5226 * shell/ev-application.h:
5228 Add a way to open bookmarks
5230 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5231 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5232 (ev_bookmark_set_property), (ev_bookmark_class_init),
5233 (ev_bookmark_new_title), (ev_bookmark_new_link),
5234 (ev_bookmark_new_external):
5236 Support for external uris, better constructors.
5238 * backend/ev-bookmark.h:
5239 * pdf/xpdf/pdf-document.cc:
5240 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5242 Handle external uris
5244 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5246 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5247 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5249 Hook up bookmarks navigation
5251 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5253 * backend/Makefile.am:
5254 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5255 (ev_bookmark_get_title), (ev_bookmark_set_title),
5256 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5257 (ev_bookmark_get_page), (ev_bookmark_set_page),
5258 (ev_bookmark_get_property), (ev_bookmark_set_property),
5259 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5261 * backend/ev-bookmark.h:
5262 * backend/ev-document-bookmarks.c:
5263 (ev_document_bookmarks_get_bookmark):
5264 * backend/ev-document-bookmarks.h:
5265 * pdf/xpdf/pdf-document.cc:
5266 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5268 Add a bookmark object to the backend and use it instead of get_values
5270 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5272 * data/evince-ui.xml:
5274 Cleanup and add select all.
5276 * shell/ev-view.c: (ev_view_select_all),
5277 (ev_view_button_press_event):
5279 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5282 Clear selection on click.
5284 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5286 * shell/ev-sidebar-thumbnails.c
5287 (ev_sidebar_thumbnails_set_document): forgot to unref the
5290 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5292 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5293 at the visible page, not just linearly. This makes it look fast.
5295 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5297 * backend/ev-document-misc.c
5298 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5300 * backend/ev-document-thumbnails.h: New interface to get the size
5303 2005-01-06 Jeremy Katz <katzj@redhat.com>
5305 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5308 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5310 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5311 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5314 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5316 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5318 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5319 fonts. Should fix font problems on systems that have the base
5320 fonts in bitmap format. Reported by James Henstridge
5321 <james@jamesh.id.au>.
5323 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5326 * pdf/xpdf/GfxState.cc:
5328 Fix for CAN-2004-1125
5330 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5332 * shell/ev-view.c: (ev_view_copy):
5334 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5336 Implement Edit->Copy
5338 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5340 * backend/ev-document.c: (ev_document_get_text):
5341 * backend/ev-document.h:
5342 * pdf/xpdf/pdf-document.cc:
5343 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5344 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5345 (ev_view_update_primary_selection), (ev_view_button_press_event),
5346 (ev_view_motion_notify_event), (ev_view_button_release_event):
5348 Beginnings of clipboard support. Incomplete but primary sort
5351 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5353 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5354 (expose_bin_window):
5356 Nicer rubberband drawing, from GtkIconView.
5358 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5360 * backend/ev-document.c: (ev_document_save):
5361 * backend/ev-document.h:
5362 * data/evince-ui.xml:
5363 * pdf/xpdf/pdf-document.cc:
5364 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5366 Implement "Save a copy..." menu item
5368 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5370 * shell/ev-view.c: (ev_view_zoom):
5372 Queue a resize when zoom changes
5374 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5376 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5379 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5382 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5384 * pdf/xpdf/pdf-document.cc
5385 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5387 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5389 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5390 It's slow, but I'll speed it up next!
5392 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5394 * shell/main.c (load_files):
5396 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5397 from the command line and because it seems more appropriate.
5399 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5401 * data/evince-ui.xml:
5402 * shell/ev-window.c: (update_action_sensitivity),
5403 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5405 s/next page/page down
5406 s/previous page/page up
5408 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5410 * data/evince-ui.xml:
5412 Change the layout to match clarkbw design.
5414 * shell/Makefile.am:
5415 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5416 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5417 (ev_navigation_action_finalize),
5418 (ev_navigation_action_set_property),
5419 (ev_navigation_action_get_property),
5420 (ev_navigation_action_class_init):
5421 * shell/ev-navigation-action.h:
5423 Implement clarkbw toolbar navigation controls (incomplete)
5425 * shell/ev-page-action.c: (update_label), (update_spin),
5426 (value_changed_cb), (create_tool_item), (connect_proxy),
5427 (ev_page_action_init), (ev_page_action_finalize),
5428 (ev_page_action_set_property), (ev_page_action_get_property),
5429 (ev_page_action_set_current_page),
5430 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5431 * shell/ev-page-action.h:
5433 Implement a page switcher in the toolbar
5435 * shell/ev-view.c: (ev_view_scroll_view):
5436 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5437 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5438 (register_custom_actions), (ev_window_init):
5440 Change page on PageUp/Down.
5442 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5444 * pdf/xpdf/pdf-document.cc
5445 (pdf_document_thumbnails_get_thumbnail): initial stab at
5446 implementing thumbnail support for pdfs. It only does documents
5447 with precached pdfs now.
5449 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5451 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5452 thumbnail code into a time-based idle as well. Also, turn off the
5453 shadow temporarily as it's really slow.
5455 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5457 * backend/ev-document.c: (ev_document_class_init):
5458 * pdf/xpdf/pdf-document.cc:
5459 * shell/ev-window.c: (ev_window_open):
5461 Fix document title bugs and fallback to
5462 filename when not available.
5464 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5466 * backend/ev-document.c: (ev_document_get_type),
5467 (ev_document_class_init), (ev_document_load),
5468 (ev_document_get_title):
5469 * backend/ev-document.h:
5470 * pdf/xpdf/pdf-document.cc:
5471 * ps/ps-document.c: (ps_document_set_property),
5472 (ps_document_get_property), (ps_document_class_init),
5476 * shell/ev-window.c: (update_window_title), (ev_window_open),
5479 Initial support for document title. Not working yet.
5481 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5483 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5485 Grab focus on the view when clicking it
5487 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5489 * shell/ev-marshal.list:
5490 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5491 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5493 Add key bindings to the view. Now if the focus would work
5496 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5499 * backend/Makefile.am:
5502 * dvi/dvilib/Makefile.am:
5503 * pdf/xpdf/Makefile.am:
5509 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5511 * shell/ev-view.c: (ev_view_realize):
5513 Fix mouse wheel scrolling
5515 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5521 * ps/ps-document.c: (catchPipe), (ps_document_init),
5522 (ps_document_class_init), (ps_document_cleanup),
5523 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5524 (set_up_page), (close_pipe), (is_interpreter_ready),
5525 (interpreter_failed), (output), (input), (start_interpreter),
5526 (stop_interpreter), (file_length), (file_readable),
5527 (check_filecompressed), (check_pdf), (compute_xdpi),
5528 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5529 (ps_document_get_type), (ps_document_emit_error_msg),
5530 (document_load), (ps_document_next_page),
5531 (ps_document_get_current_page), (ps_document_get_page_count),
5532 (ps_document_goto_page), (ps_document_set_page_size),
5533 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5534 (ps_document_load), (ps_document_get_n_pages),
5535 (ps_document_set_page), (ps_document_get_page),
5536 (ps_document_widget_event), (ps_document_set_target),
5537 (ps_document_set_scale), (ps_document_set_page_offset),
5538 (ps_document_get_page_size), (ps_document_render),
5539 (ps_document_document_iface_init):
5542 * shell/ev-window.c: (ev_window_open):
5544 Rename GtkGS to PSDocument
5546 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5548 * ps/gtkgs.c: (gtk_gs_class_init):
5551 Some more leftover...
5553 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5555 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5556 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5557 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5560 Remove unused code and make a lot of stuff private
5562 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5564 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5565 (gtk_gs_defaults_changed):
5571 Cleanup headers dependencies
5573 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5578 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5580 * ps/gtkgs.c: (file_length), (file_readable),
5581 (check_filecompressed), (check_pdf), (gtk_gs_load),
5582 (gtk_gs_get_postscript):
5586 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5591 * ps/gtkgs.c: (gtk_gs_set_zoom):
5595 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5597 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5599 Ensure the page is rerendered when changing zoom
5601 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5603 * backend/ev-document.c: (ev_document_base_init),
5604 (ev_document_changed):
5605 * backend/ev-document.h:
5607 Add a changed event that is emitted when the page content
5608 changes. This is necessary to deal with the fact that
5609 in ps backend rendering happen asycrounously.
5610 This makes the ps backend mostly work.
5612 * pdf/xpdf/pdf-document.cc:
5616 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5617 (ps_document_set_target):
5621 * shell/ev-view.c: (document_changed_callback),
5622 (ev_view_set_document), (ev_view_set_page):
5624 Redraw on the changed signal
5626 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5628 * configure.ac: Added pt_BR to ALL_LINGUAS.
5630 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5632 * backend/ev-document-bookmarks.c:
5633 (ev_document_bookmarks_get_child): *
5634 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5635 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5636 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5637 (ev_sidebar_bookmarks_destroy),
5638 (ev_sidebar_bookmarks_class_init),
5639 (ev_sidebar_bookmarks_construct), (stack_data_free),
5640 (do_one_iteration), (populate_bookmarks_idle),
5641 (ev_sidebar_bookmarks_clear_document),
5642 (ev_sidebar_bookmarks_set_document): *
5643 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5644 (ev_sidebar_add_page),
5645 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5646 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5647 it displays both the topics and the page numbers.
5649 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5651 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5653 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5656 2004-12-23 Adam Weinberger <adamw@gnome.org>
5658 * configure.ac: Added en_CA to ALL_LINGUAS.
5660 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5662 * ChangeLog: replace bottom of this ChangeLog (merged history of
5663 ggv and gpdf; where all paths were wrong and most of the files are
5664 not even in this tree) with ChangeLog (from arch) of the shell
5667 2004-12-23 Havoc Pennington <hp@redhat.com>
5669 * shell/ev-window.c: hook up potentially-questionable "find
5670 results status text" feature - something involving the sidebar or
5671 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5672 might be better in the end.
5674 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5675 with corresponding signal when it should be updated
5677 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5679 2004-12-22 Havoc Pennington <hp@redhat.com>
5681 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5682 find stuff on other pages, sort of (only returns one result on
5683 invisible pages, to show they have results; updates full results
5684 for a page when you view it). Currently repaints the current page
5685 every time a new result is found on any page, which isn't so nice.
5687 2004-12-22 Havoc Pennington <hp@redhat.com>
5689 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5690 the document doesn't support find (better ideas?)
5691 (find_bar_search_changed_cb): handle missing document or document
5692 that doesn't support find
5694 * pdf/xpdf/pdf-document.cc: port to implement the new
5697 * backend/ev-document-find.c: create a new interface for searching
5699 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5701 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5703 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5706 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5707 EvPrintJob constructor arguments.
5709 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5710 for documents that can export PostScript (page by page).
5712 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5714 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5715 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5716 (pdf_document_ps_exporter_iface_init:
5717 Implement EvPSExporter.
5719 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5721 2004-12-22 Anders Carlsson <andersca@gnome.org>
5723 * backend/Makefile.am:
5724 * backend/ev-document-thumbnails.c:
5725 (ev_document_thumbnails_get_type),
5726 (ev_document_thumbnails_get_thumbnail):
5727 * backend/ev-document-thumbnails.h:
5728 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5729 (pixbuf_document_thumbnails_get_thumbnail),
5730 (pixbuf_document_document_thumbnails_iface_init):
5731 * shell/Makefile.am:
5732 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5733 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5734 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5735 * shell/ev-sidebar-thumbnails.h:
5736 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5737 (ev_sidebar_set_document):
5738 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5739 (create_shadow), (ev_pixbuf_add_shadow):
5741 Add thumbnail support.
5743 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5745 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5746 (using_postscript_printer): Set up a print dialog for "PostScript
5749 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5752 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5754 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5756 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5757 (ps_document_set_target), (ps_document_get_page_size),
5758 (ps_document_render):
5763 2004-12-22 Christian Rose <menthos@menthos.com>
5765 * configure.ac: Added "sv" to ALL_LINGUAS.
5767 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5769 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5770 document supports bookmarks.
5772 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5774 * ps/ggvutils.c: (ggv_file_readable):
5776 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5777 (gtk_gs_get_postscript):
5781 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5783 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5784 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5785 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5786 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5787 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5788 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5789 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5790 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5791 (gtk_gs_set_antialiasing), (ps_document_load),
5792 (ps_document_render):
5795 Another check point for the ps backend. Now I can get it to show
5798 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5800 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5801 document setting code.
5803 2004-12-22 Anders Carlsson <andersca@gnome.org>
5805 * shell/eggfindbar.c: (entry_activate_callback):
5806 Animate the next button when activate is pressed.
5808 2004-12-22 Anders Carlsson <andersca@gnome.org>
5810 * shell/ev-window.c: (ev_window_cmd_edit_find),
5811 (update_fullscreen_popup), (ev_window_fullscreen),
5812 (ev_window_unfullscreen), (ev_window_state_event_cb),
5813 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5814 Fix bugs in fullscreen code.
5816 2004-12-22 Anders Carlsson <andersca@gnome.org>
5820 * pixbuf/Makefile.am:
5821 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5822 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5823 (pixbuf_document_set_page), (pixbuf_document_get_page),
5824 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5825 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5826 (pixbuf_document_render), (pixbuf_document_begin_find),
5827 (pixbuf_document_end_find), (pixbuf_document_finalize),
5828 (pixbuf_document_class_init),
5829 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5830 * pixbuf/pixbuf-document.h:
5831 * shell/Makefile.am:
5832 * shell/ev-application.c: (ev_application_open):
5833 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5837 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5840 * dvi/dvilib/Makefile.am:
5842 * configure.ac: Auto*ify dvi and dvi/dvilib
5844 * dvi/Makefile: Remove from CVS
5846 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5849 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5851 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5853 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5856 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5857 (gtk_gs_value_adjustment_changed), (compute_size),
5858 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5859 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5860 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5861 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5862 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5863 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5864 (ps_document_load), (ps_document_get_n_pages),
5865 (ps_document_set_page), (ps_document_get_page),
5866 (ps_document_set_target), (ps_document_set_scale),
5867 (ps_document_set_page_offset), (ps_document_get_page_size),
5868 (ps_document_render), (ps_document_begin_find),
5869 (ps_document_end_find), (ps_document_document_iface_init):
5871 * shell/Makefile.am:
5872 * shell/ev-window.c: (ev_window_open):
5874 Some work to integrate gtkgs with EvDocument
5876 2004-12-22 Anders Carlsson <andersca@gnome.org>
5878 * shell/ev-window.c: (update_fullscreen_popup),
5879 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5880 (exit_fullscreen_button_clicked_cb),
5881 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5882 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5883 (ev_window_state_event_cb), (ev_window_init):
5884 Add fullscreen support from Epiphany.
5886 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5888 * data/ev-stock-zoom-fit-width.png: fit-width
5889 stock icon from gpdf.
5891 * shell/ev-stock-icons.[ch]: copied from gpdf.
5893 * shell/main.c: (main): init stock icons.
5895 * shell/ev-window.c: use the fit-width icon.
5897 * data/evince-ui.xml: add zooming toolbar items.
5899 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5902 (ev_view_best_fit), (ev_view_fit_width): because
5903 get_page_size() returns the scaled page size, we
5904 need to calculate the scale factor relative to
5905 the previous scale factor. Should really just
5906 add get_real_page_size().
5908 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5910 * shell/ev-view.[ch]:
5911 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5912 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5915 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5916 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5917 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5920 * pdf/xpdf/pdf-document.cc:
5921 (pdf_document_begin_find),
5922 (pdf_document_end_find): make static.
5924 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5926 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5928 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5929 names to fontconfig patterns.
5930 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5932 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5935 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5951 Import ggv backend. Not hooked up yet.
5953 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5955 * shell/main.c: (load_files), (main): load files
5956 from the command line.
5958 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5960 * configure.ac: don't require bonobo.
5962 * cut-n-paste/recent-files/*: kill bonobo recent
5965 * shell/ev-window.c:
5966 (ev_window_is_empty): upd.
5967 (unable_to_load), (ev_window_open): load backend
5968 based on the mime type.
5970 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5972 * backend/.cvsignore: ignore generated marshalers source.
5974 * shell/main.c (main): this is not epiphany.
5976 2004-12-22 Havoc Pennington <hp@redhat.com>
5978 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5979 (expose_bin_window): draw find highlights
5981 * shell/ev-window.c (find_bar_search_changed_cb): implement
5983 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5984 (pdf_document_end_find): implement this interface
5986 * backend/ev-document.c (ev_document_found): add this to emit
5989 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5991 * data/evince-ui.xml: Add a few more toolbar items.
5993 * shell/ev-window.c: Hook up page navigation toolbar
5996 * shell/ev-view.[ch]: add ev_view_set/get_page and
5997 a page-changed signal.
5999 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6000 Add ev_document_get_page().
6002 * shell/ev-window.c: Sensitize/desensitize navigation
6005 2004-12-21 Havoc Pennington <hp@redhat.com>
6007 * backend/ev-backend-marshal.c,
6008 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6009 marshaler-generator thingy. I'm sure there's a better way to do
6010 this in the modern world.
6012 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6013 end_find methods and "found" signal.
6015 * configure.ac: find glib-genmarshal
6017 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6019 * shell/ev-sidebar.c: Construct an actual sidebar.
6020 * shell/ev-sidebar-bookmarks.[ch]:
6021 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6023 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6025 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6028 * shell/ev-view.c: Track the size from the document.
6030 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6032 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6033 constructor assumes ownership of the string passed in.
6035 * shell/ev-window.c (ev_window_open): Destroy the error
6036 dialog once we've displayed it.
6038 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6040 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6041 a bit, it works! (sort of)
6043 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6044 Move to .cc since we need to use C++ in the implementation.
6046 * shell/dummy.cc: Add a CC file to force evince
6047 to be linked as a C++ program.
6049 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6051 * shell/ev-view.[ch]: Start of content-area widget.
6053 * shell/ev-window.c: Create a EvView, update it
6054 as we change documents.
6056 * shell/Makefile.am shell/ev-marshal.list: Add
6057 generated marshalers.
6059 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6061 * Makefile.am (SUBDIRS): move shell.
6063 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6065 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6066 .a to libtool convenience libraries.
6068 * shell/ev-window.c (ev_window_open): Hard code loading
6071 * backend/ev-document.h: Add a boolean return to load(),
6072 fix GError * to GError **.
6074 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6075 object for a PDF backend EvDocument.
6077 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6079 * dvi/*: New directory with the beginning of a .dvi backend.
6081 2004-12-21 Havoc Pennington <hp@redhat.com>
6083 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6084 previous/next instead of back/forward
6086 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6088 * backend/ev-document.[ch]: Fix a couple of problems so
6091 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6093 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6094 to backend/ directory, rename EvViewer to EvDocument.
6096 2004-12-21 Havoc Pennington <hp@redhat.com>
6098 * shell/ev-window.c: hook up the find bar widget; now we just need
6099 a document to find things in
6101 * shell/eggfindbar.c: a find bar widget
6103 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6105 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6107 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6109 * pdf/**: Import of xpdf code from gpdf.
6111 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6113 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6114 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6115 Fix FreeType includes.
6117 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6118 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6119 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6120 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6121 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6122 Include xpdfconfig.h
6124 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6126 * shell/ev-window.c (ev_window_dispose): dispose can be called
6129 2004-12-21 Havoc Pennington <hp@redhat.com>
6131 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6134 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6135 items; really they should be synced with the strings, etc. from
6136 current gpdf, but just getting the boring typing out of the way
6138 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6141 * shell/ev-application.c: (window_destroy_cb):
6142 * shell/ev-window.c:
6143 * shell/main.c: (main):
6145 Actually show the window...
6147 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6150 * shell/Makefile.am:
6151 * shell/ev-application.c: (ev_application_class_init):
6152 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6156 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6158 Import to gnome cvs.
6160 * Remove copies of gpdf and ggv trees.
6161 * Rip out all the recursive configure code.
6162 * Remove bonobo machinery.
6163 * viewer/*: GInterfaces that backends should/can implement.
6165 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6167 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6170 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6172 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6173 (ev_application_finalize, ev_application_class_init)
6174 (ev_application_init): use GType instance private data for priv.
6176 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6177 (ev_window_finalize, ev_window_class_init)
6178 (ev_window_init): ditto.
6180 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6182 * shell/ev-application.c (ev_application_new_window): make public
6183 (ev_application_show_initial_window): kill.
6185 * shell/ev-application.h: update prototypes.
6187 * shell/main.cc (main): inline ev_application_show_initial_window.
6189 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6191 * shell/ev-application.c (ev_application_new_window): impl.
6192 (ev_application_show_initial_window): use it.
6193 (is_window_empty, ev_application_get_empty_window): returns an
6194 existing empty window or a new one.
6195 (ev_application_open): from ev_window_cmd_file_open.
6197 * shell/ev-application.h: update prototypes
6199 * shell/ev-window.c (ev_window_is_empty): impl.
6200 (ev_window_open): make public.
6201 (ev_window_cmd_file_open): use ev_application_open
6203 * shell/ev-window.h: update prototypes, remove unused.
6205 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6207 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6208 move destroy handler out of here...
6210 * shell/ev-application.c, shell/ev-application.h: ...into this new
6211 class. Also handles initial window creation.
6213 * shell/main.cc (main): use EvApplication to create initial
6216 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6218 * Makefile.am (SUBDIRS): add cut-n-paste
6220 * cut-n-paste/Makefile.am: add
6222 * configure.ac: generate Makefiles in cut-n-paste
6224 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6226 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6227 (ev_window_class_init): install ev_window_dispose.
6229 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6231 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6232 char (gchar looks stupid).
6234 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6236 * po/de.po: updated German translation.
6238 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6240 * configure.ac: add more pkg-config library checks for gnome-vfs,
6243 * gpdf/configure.in: temporarily disable libpaper
6244 checks. Otherwise I'd have to add the checks for the shell, too.
6246 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6248 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6249 and * file filters to the file choose.
6251 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6253 * po/de.po: Updated German translation.
6255 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6257 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6259 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6261 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6263 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6264 (ev_window_init): implement those menuitems.
6266 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6268 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6270 * shell/ev-window.c (ev_window_init): use the toolbar.
6272 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6274 * shell/ev-window.c (ev_window_init): use menu translations
6276 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6278 * configure.ac: add "de" to ALL_LINGUAS.
6280 * po/de.po: add German translation.
6282 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6284 * Makefile.am (SUBDIRS): add po
6286 * configure.ac: check intltool, glib-gettext etc, generate
6289 * po, po/POTFILES.in, po/POTFILES.skip: new.
6291 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6293 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6294 already use (#ifdef ENABLE_NLS)
6296 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6297 pointer indirection thinko.
6299 * shell/main.c: include gi18n.h for bindtextdomain etc.
6301 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6303 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6304 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6305 tooltips for menu items in the statusbar.
6307 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6309 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6310 pkgdatadir drop UIDIR
6312 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6314 * data/evince-ui.xml: Add File->Open menu item
6316 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6317 chooser), hook it up in the ui manager.
6319 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6321 * shell/ev-window.c: fix Help->About tooltip.
6323 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6325 * configure.ac: set CFLAGS for libevprivate.
6327 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6328 definitions, factory etc.
6330 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6332 * shell/Makefile.am: link against libevprivate.a.
6334 * shell/ev-window.c (entries): add stock icon to Help->About.
6336 * shell/main.c (main): init stock icon code.
6338 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6340 * lib/recent-files: egg recent files code
6342 * lib/Makefile.am: add.
6344 * Makefile.am: add lib subdir.
6346 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6347 set CFLAGS for recent-files.
6349 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6351 * configure.ac: disable -ansi and -pedantic gcc flags. They
6352 disable POSIX stuff in stdio.h, but egg-recent uses them.
6354 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6356 * configure.ac: add --disable-deprecated flag (defaults to on in
6359 * shell/Makefile.am (INCLUDES): use it.
6361 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6363 * shell/main.c: add missing #include.
6365 * shell/ev-window.c: fix for pedantic gcc.
6366 (ev_window_cmd_help_about): split license into paragraphs for
6367 translators and pedantic compilers.
6369 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6371 * configure.ac: add more warning flags if compiling with gcc from
6372 cvs (or explicitly requested with --enable-more-warnings).
6374 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6376 * data/evince-ui.xml: add File and File->Close menu.
6378 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6379 (ev_window_destroy): quit after destroy.
6380 (ev_window_class_init): override GtkObject::destroy.
6381 (entries): install close_window callback.
6383 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6385 * Makefile.am (SUBDIRS): add data subdir.
6387 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6388 gtk+ 2.5.0 for GtkAboutDialog.
6390 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6393 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6395 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6397 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6399 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6401 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6403 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6405 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6407 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6409 * shell/*: Added shell directory boilerplate, build it.
6411 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6413 * configure.ac, Makefile.am: Added top-level configure.ac and