1 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
3 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
6 Account rotation in doc_rect_to_view_rect.
7 Ensure rotation doesnt go out of bounds.
9 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
11 * shell/ev-page-cache.c: (ev_page_cache_get_size):
13 Correct and cleanup w/h swapping
15 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
17 * backend/ev-document-thumbnails.c:
18 (ev_document_thumbnails_get_thumbnail):
19 * backend/ev-document-thumbnails.h:
20 * backend/ev-document.c:
21 * backend/ev-document.h:
22 * backend/ev-render-context.c: (ev_render_context_new),
23 (ev_render_context_set_rotation):
24 * backend/ev-render-context.h:
26 * ps/ps-document.c: (ps_document_document_iface_init):
27 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
29 * shell/ev-page-cache.c: (build_height_to_page),
30 (ev_page_cache_new), (ev_page_cache_get_size),
31 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
32 (ev_page_cache_get_height_to_page):
33 * shell/ev-page-cache.h:
34 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
35 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
36 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
37 (ev_pixbuf_cache_get_selection_pixbuf):
38 * shell/ev-pixbuf-cache.h:
39 * shell/ev-print-job.c: (idle_print_handler):
40 * shell/ev-sidebar-thumbnails.c: (add_range):
41 * shell/ev-view.c: (view_update_range_and_current_page),
42 (get_page_y_offset), (get_page_extents),
43 (ev_view_size_request_continuous_dual_page),
44 (ev_view_size_request_continuous),
45 (ev_view_size_request_dual_page),
46 (ev_view_size_request_single_page), (draw_one_page),
47 (ev_view_set_rotation), (ev_view_rotate_right),
48 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
49 (ev_view_zoom_for_size_continuous_and_dual_page),
50 (ev_view_zoom_for_size_continuous),
51 (ev_view_zoom_for_size_dual_page),
52 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
54 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
55 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
56 (tiff_document_document_iface_init),
57 (tiff_document_thumbnails_get_thumbnail):
59 Use rotation rather than orientation. It's easier and enough
62 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
64 * shell/ev-page-cache.c: (build_height_to_page),
65 (ev_page_cache_new), (ev_page_cache_get_size),
66 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
67 (ev_page_cache_get_height_to_page):
68 * shell/ev-page-cache.h:
69 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
70 (ev_view_size_request_continuous_dual_page),
71 (ev_view_size_request_continuous),
72 (ev_view_zoom_for_size_continuous_and_dual_page),
73 (ev_view_zoom_for_size_continuous):
75 Make the page cache aware of page orientation.
77 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
79 * backend/ev-document-thumbnails.c:
80 (ev_document_thumbnails_get_thumbnail):
81 * backend/ev-document-thumbnails.h:
82 * backend/ev-document.c:
83 * backend/ev-document.h:
84 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
85 * backend/ev-ps-exporter.h:
87 * ps/ps-document.c: (ps_document_document_iface_init),
88 (ps_document_ps_export_do_page):
89 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
91 * shell/ev-page-cache.c: (ev_page_cache_get_size),
93 * shell/ev-page-cache.h:
94 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
95 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
96 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
97 * shell/ev-pixbuf-cache.h:
98 * shell/ev-print-job.c: (idle_print_handler):
99 * shell/ev-sidebar-thumbnails.c: (add_range):
100 * shell/ev-view.c: (view_update_range_and_current_page),
101 (get_page_extents), (ev_view_size_request_dual_page),
102 (ev_view_size_request_single_page), (draw_one_page),
103 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
104 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
105 (ev_view_zoom_for_size_dual_page),
106 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
107 (ev_view_select_all):
108 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
109 * tiff/tiff-document.c: (tiff_document_get_page_size),
110 (tiff_document_get_orientation), (rotate_pixbuf),
111 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
112 (tiff_document_thumbnails_get_thumbnail),
113 (tiff_document_ps_export_do_page), (tiff_document_init):
115 Really make use of the orientation bit of the render context.
116 Use the render context in a few more places in the backend API.
117 This regress orientation, but now it's done right. Will try to
120 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
122 * shell/ev-view.c: (ensure_rectangle_is_visible):
124 Patch by Nickolay V. Shmyrev to fix find flickering
126 2005-07-27 Martin Kretzschmar <martink@gnome.org>
128 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
129 duplex parameters to ::begin.
131 * tiff/tiff-document.c (tiff_document_ps_export_begin):
132 * shell/ev-print-job.c (idle_print_handler):
133 * ps/ps-document.c (ps_document_ps_export_begin):
134 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
135 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
136 implementations. Poppler backend needs poppler cvs. Rest has
139 2005-07-25 Martin Kretzschmar <martink@gnome.org>
141 * shell/ev-window.c (using_pdf_printer): new function.
142 (ev_window_print_range): print a less techy message if someone
143 tries to print to PDF.
145 2005-07-25 Martin Kretzschmar <martink@gnome.org>
147 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
148 from "unknown font" string. Bug #311431
150 2005-07-24 Martin Kretzschmar <martink@gnome.org>
152 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
154 2005-07-24 Martin Kretzschmar <martink@gnome.org>
158 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
159 name for PopplerFontTypes
160 (pdf_document_fonts_fill_model): add font type to the detail column
162 * backend/ev-document-fonts.h: added
163 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
165 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
166 font name and font details, add a little markup.
167 (ev_properties_fonts_init): use the new cell data func, specify ypad
168 property for the cell renderer.
169 (ev_properties_fonts_set_document): add the details column.
171 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
173 * configure.ac: Added "pl" to ALL_LINGUAS.
175 2005-07-24 Danilo Ĺ egan <danilo@gnome.org>
177 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
179 2005-07-23 Tommi Vainikainen <thv@iki.fi>
181 * help/ChangeLog: Started this for translations of manual.
182 * configure.ac, autogen.sh, .cvsignore: Migrated to
183 gnome-doc-utils. Patch in bug #311222.
185 2005-07-22 Martin Kretzschmar <martink@gnome.org>
187 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
188 #ifdef this away to fix an unused-function warning.
190 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
192 * configure.ac: Added 'gl' to ALL_LINGUAS.
194 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
196 * configure.ac: Added ne in ALL_LINGUAS
198 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
200 * shell/ev-view.c: (ev_view_leave_notify_event):
202 Clear status message when pointer leaves view. Fix for bug
205 2005-07-20 Ankit Patel <ankit644@yahoo.com>
207 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
209 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
211 * shell/ev-view.c: (ev_view_leave_notify_event),
212 (ev_view_class_init):
214 Set cursor to normal then leaving view.
216 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
220 Fix required djvulibre version.
222 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
224 *configure.ac: Hindi (hi) language added
226 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
228 *configure.ac: Punjabi (pa) Language added
230 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
232 * data/evince-ui.xml, shell/ev-window.c:
234 Add keypad accelerators for zooming. Fix for bug 308128.
236 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
239 * backend/Makefile.am:
240 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
242 * shell/ev-document-types.c: (ev_document_types_add_filters):
244 Allow to enable/disable the pixbuf backend.
245 Default to off for now. If we want it enabled we should
246 really put mime types in the desktop, implement properties etc.
248 * properties/evince-properties.c:
250 Initialize error to NULL.
251 Check error is not NULL before freeing.
253 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
257 Use F5 as presentation accell
259 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
261 * shell/ev-window.c: (update_chrome_visibility),
262 (ev_window_create_fullscreen_popup), (ev_window_init):
264 Do not leak the fullscreen toolbar
266 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
268 * shell/ev-window.c: (view_actions_focus_in_cb),
269 (view_actions_focus_out_cb):
271 These has a return value! Fix totally random focus
272 issues we was seeing.
274 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
276 * shell/main.c: (load_files_remote):
278 Allow open more than one file
280 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
282 * shell/main.c: (load_files_remote):
284 Fix for dbus 0.33. bug #309975
286 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
288 * properties/ev-properties-main.c: (ev_properties_get_pages):
290 Actually return NULL for types we dont support
292 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
298 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
300 * backend/ev-document-factory.c:
301 (ev_document_factory_get_document):
303 Do not try to create the object if type
306 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
308 * ps/ps-document.c: (ps_document_dispose),
309 (ps_async_renderer_render_pixbuf):
312 Do not leak the target window
314 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
316 * shell/ev-application.c: (ev_application_init):
318 Let tbe check file existence for us.
319 Add a comment about eggrecent mime filter.
321 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
323 * data/evince-ui.xml:
324 * shell/ev-application.c: (ev_application_shutdown),
325 (ev_application_init), (ev_application_get_toolbars_model),
326 (ev_application_get_recent_model),
327 (ev_application_save_toolbars_model):
328 * shell/ev-application.h:
329 * shell/ev-window.c: (ev_window_add_recent),
330 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
331 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
334 Use common toolbar and recent models for all windows.
335 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
337 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
339 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
340 successfully check for gtk_icon_view_get_visible_range.
342 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
347 Fix djvu and dvi backend build.
349 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
351 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
352 (new_separator_pixbuf):
356 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
358 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
360 HIGification of toolbar editor dialogue.
362 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
367 Ever build metadata manager since it's just
368 disabled at runtime now.
370 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
372 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
373 (ev_metadata_manager_get), (ev_metadata_manager_set):
374 * shell/ev-metadata-manager.h:
376 Add an _init functions that enabled metadata management
379 * shell/ev-window.c: (page_changed_cb),
380 (setup_document_from_metadata), (ev_window_setup_document),
381 (setup_view_from_metadata), (ev_window_open_uri),
382 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
383 (ev_window_run_presentation), (ev_window_stop_presentation),
384 (save_sizing_mode), (ev_window_zoom_changed_cb),
385 (ev_window_continuous_changed_cb),
386 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
387 (window_configure_event_cb):
389 Remove all ugly metadata define since we deal with it
392 * shell/main.c: (load_files_remote), (main):
394 Add support for dbus cvs head. Hopefully didnt break one
395 of the other versions now!
397 If we dont get a response from the dbus server just
398 give up with it and not enable metadata.
400 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
403 * backend/Makefile.am:
405 * cut-n-paste/recent-files/Makefile.am:
406 * cut-n-paste/toolbar-editor/Makefile.am:
407 * cut-n-paste/zoom-control/Makefile.am:
410 * pixbuf/Makefile.am:
411 * properties/Makefile.am:
414 * thumbnailer/Makefile.am:
417 Make frontends depend on just libev.
418 Rework and group CFLAGS/LIBS definitions.
421 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
425 do not unnecessarily save zoom
428 * lib/ev-file-helpers.c: (ev_dot_dir):
434 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
438 Remove unnecessary dependencies
440 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
442 * properties/Makefile.am:
443 * thumbnailer/Makefile.am:
446 Some more cleanups. Was really necessary
447 but I probably introduced bugs, feel free
450 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
452 * backend/Makefile.am:
454 * cut-n-paste/recent-files/Makefile.am:
455 * cut-n-paste/toolbar-editor/Makefile.am:
456 * cut-n-paste/zoom-control/Makefile.am:
459 * pixbuf/Makefile.am:
460 * properties/Makefile.am:
463 * thumbnailer/Makefile.am:
466 Use gnome-common macros when possible.
467 Cleanup dependencies.
468 Actually disable deprecated where possible.
470 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
473 * backend/Makefile.am:
474 * properties/Makefile.am:
476 * thumbnailer/Makefile.am:
478 This should solve the circular dep without
481 * shell/ev-window.c: (setup_view_from_metadata):
483 Never restore window size/position when the
484 window is already visible.
486 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
488 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
490 Return a boolean from timeout func. Fix ported from gedit.
492 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
494 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
496 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
498 * shell/ev-document-types.c: set "All Documents" as default filter in
501 2005-07-06 Martin Kretzschmar <martink@gnome.org>
503 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
504 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
505 (ev_metadata_manager_set_boolean): fix value/val thinko.
507 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
509 * shell/ev-window.c: (setup_view_from_metadata),
510 (window_state_event_cb), (window_configure_event_cb),
513 Remember window position and maximized state
515 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
519 Fix DBUS configure checks.
521 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
522 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
523 (ev_metadata_manager_set_boolean):
527 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
528 (ev_window_stop_fullscreen), (ev_window_run_presentation),
529 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
530 (ev_window_continuous_changed_cb),
531 (ev_window_dual_mode_changed_cb), (ev_window_new):
533 Fix the build without DBUS.
535 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
537 * shell/ev-metadata-manager.c: (parse_value), (save_values),
538 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
539 (ev_metadata_manager_set_string),
540 (ev_metadata_manager_set_boolean):
541 * shell/ev-metadata-manager.h:
543 Add support for some more types
545 * shell/ev-view.c: (scroll_to_current_page),
546 (ev_view_get_continuous), (ev_view_set_continuous),
547 (ev_view_get_dual_page):
549 * shell/ev-window.c: (page_changed_cb),
550 (setup_document_from_metadata), (ev_window_setup_document),
551 (setup_view_from_metadata), (ev_window_open_uri),
552 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
553 (ev_window_run_presentation), (ev_window_stop_presentation),
554 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
555 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
556 (ev_window_update_dual_page_action),
557 (ev_window_continuous_changed_cb),
558 (ev_window_dual_mode_changed_cb), (ev_window_init):
560 Remember a bunch of view/document properties. Prolly some
561 are still missing but it's getting interesting.
563 2005-07-05 Martin Kretzschmar <martink@gnome.org>
565 * configure.ac: check if dbus-binding-tool is installed. Not the
566 case on current Ubuntu breezy, it seems.
568 2005-07-05 Luca Ferretti <elle.uca@libero.it>
570 * data/evince.desktop.in.in:
572 Allow open uri lists and add TryExec field.
574 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
578 Enable dbus when available, do not require a configure
581 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
585 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
588 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
589 Marco Pesenti Gritti <mpg@redhat.com>
591 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
593 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
594 functions to the format required by dbus
596 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
597 errors. Use the RPC parameters in the expected way
599 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
602 * properties/Makefile.am:
603 * properties/ev-properties-main.c: (ev_properties_get_pages):
605 Support all mime types
608 * thumbnailer/Makefile.am:
609 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
610 (evince_thumbnail_pngenc_get):
612 Use the document factory
614 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
616 * backend/Makefile.am:
617 * backend/ev-document-factory.c:
618 (mime_type_supported_by_gdk_pixbuf),
619 (ev_document_type_get_from_mime),
620 (ev_document_factory_get_document),
621 (ev_document_factory_get_backend),
622 (ev_document_factory_get_mime_types),
623 (ev_document_factory_get_all_mime_types):
624 * backend/ev-document-factory.h:
626 * shell/ev-document-types.c: (get_document_from_uri),
627 (ev_document_types_get_document),
628 (file_filter_add_mime_list_and_free),
629 (ev_document_types_add_filters):
630 * shell/ev-document-types.h:
631 * shell/ev-job-xfer.c: (ev_job_xfer_run):
632 * shell/ev-properties-dialog.c:
633 (ev_properties_dialog_set_document):
634 * shell/ev-window.c: (ev_window_cmd_file_open),
635 (ev_window_cmd_save_as):
636 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
638 Rework document types managing to avoid code duplication
639 and actually abstract from backend implementations.
640 Also provide a minimal factory api that can be used by
641 thumbnailer/properties.
643 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
645 * properties/ev-properties-view.c: (ev_properties_view_set_info):
647 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
650 2005-07-04 Matthew S. Wilson <msw@rpath.com>
652 * shell/ev-properties-dialog.c
653 (ev_properties_dialog_set_document): only call
654 ev_properties_fonts_set_document() if the document implements the
657 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
660 * properties/Makefile.am:
661 * properties/ev-properties-view.c:
662 (ev_properties_view_register_type):
663 * properties/ev-properties-view.h:
664 * properties/ev-properties-main.h:
666 Implement nautilus plugin for properties.
667 Works only for pdf atm, I need to rework the
668 document types stuff to get this to work
671 2005-07-04 Martin Kretzschmar <martink@gnome.org>
673 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
674 (ev_properties_fonts_set_document): use
675 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
677 2005-07-04 Matthew S. Wilson <msw@rpath.com>
679 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
681 (PlaceImage, tiff2ps_process_page): use
682 g_ascii_dtostr to convert floats to strings in a locale-safe way.
685 2005-07-04 Martin Kretzschmar <martink@gnome.org>
687 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
688 (main): to call gnome_authentication_manager_init. Should fix
691 * configure.ac: that requires libgnomeui 2.6.0.
693 2005-07-04 Matthew S. Wilson <msw@rpath.com>
695 * tiff/tiff-document.c (tiff_document_ps_export_begin)
696 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
697 use the new tiff2ps interfaces
699 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
700 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
702 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
703 structure instead of global variables. Remove use of static
704 variables in functions.
706 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
708 * shell/ev-page-action.c: unref the completion after setting it to the
711 2005-07-04 Matthew S. Wilson <msw@rpath.com>
713 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
716 2005-07-04 Matthew S. Wilson <msw@rpath.com>
718 * shell/ev-window.c (update_action_sensitivity): disable
719 File->Print if the document does not implement the ps exporter
722 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
726 * data/evince-properties.glade:
727 * properties/.cvsignore:
728 * properties/Makefile.am:
729 * properties/ev-properties-view.c: (ev_properties_view_dispose),
730 (ev_properties_view_class_init), (ev_properties_view_format_date),
731 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
732 (ev_properties_view_init), (ev_properties_view_new):
733 * properties/ev-properties-view.h:
735 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
736 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
737 (ev_properties_dialog_new):
738 * shell/ev-properties-dialog.h:
739 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
740 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
741 (update_progress_label), (job_fonts_finished_cb),
742 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
743 * shell/ev-properties-fonts.h:
744 * shell/ev-properties.c:
745 * shell/ev-properties.h:
746 * shell/ev-window.c: (ev_window_setup_document),
747 (ev_window_cmd_file_properties):
749 Split the properties pages in two different objects, depend
750 only on the backend where possible, use widgets instead
751 of gobject for the glade part, reimplement the dialog
753 I need this to implement nautilus properties page.
755 2005-07-03 Matthew S. Wilson <msw@rpath.com>
757 * tiff/tiff-document.c (tiff_document_ps_export_begin)
758 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
759 (tiff_document_document_ps_exporter_iface_init): implement the ps
760 exporter interface for tiff documents
762 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
763 libtiff to implement TIFF postscript export
765 * tiff/tiff2ps.h: added a header file for external tiff2ps
768 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
771 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
773 * shell/ev-view.c: (scroll_to_current_page),
774 (ev_view_set_fullscreen), (ev_view_set_presentation):
776 Scroll to current page when exit from presentation
778 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
780 * shell/ev-window.c: (update_document_mode),
781 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
782 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
783 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
785 Exit from fullscreen mode when switch to presentation. Fix for
788 2005-07-02 Matthew S. Wilson <msw@rpath.com>
790 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
791 return NULL if the document does not implement the selection
794 2005-07-02 Matthew S. Wilson <msw@rpath.com>
796 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
797 reported height by using the resolution aspect ratio
798 (tiff_document_render_pixbuf): scale the pixbuf using the
799 resolution aspect ratio
801 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
805 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
806 <kiltedaco@gmail.com>
808 * djvu/djvu-document.c: (djvu_document_get_orientation),
809 (djvu_document_set_orientation), (djvu_document_get_page_size),
810 (rotate_pixbuf), (djvu_document_render_pixbuf),
811 (djvu_document_document_iface_init):
812 * dvi/dvi-document.c: (dvi_document_get_orientation),
813 (dvi_document_set_orientation), (dvi_document_get_page_size),
814 (rotate_pixbuf), (dvi_document_render_pixbuf),
815 (dvi_document_document_iface_init):
817 Dvi and djvu backends are ported to new API
819 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
821 * backend/ev-selection.c: (ev_selection_get_selection_region),
822 (ev_selection_get_selection_map):
823 * backend/ev-selection.h:
825 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
827 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
828 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
829 (ev_pixbuf_cache_get_text_mapping):
830 * shell/ev-pixbuf-cache.h:
831 * shell/ev-view.c: (location_in_text),
832 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
833 support to EvView. Now we can see where we can select! Sweet!
835 2005-06-30 Kristian Høgsberg <krh@redhat.com>
837 * shell/ev-view.c (ev_view_button_press_event): Fix
838 event->y + view->scroll_x typo.
840 2005-06-30 Kristian Høgsberg <krh@redhat.com>
842 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
843 sub-GdkPixbuf instead of passing dest_x and dest_y.
845 * shell/ev-view.c: (view_point_to_doc_point),
846 (view_rect_to_doc_rect), (ev_view_button_press_event),
847 (ev_view_motion_notify_event), (compute_new_selection_rect),
848 (gdk_rectangle_point_in), (compute_new_selection_text),
849 (compute_selections): Update selection code to keep the selection
850 around as two points and not as a normalized rectangle, and fix
851 page level selection in two-column mode.
853 2005-06-30 Alex Duggan <aldug@astrolinux.com>
855 * shell/ev-window.c: (window_configure_event_cb):
859 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
865 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
868 * shell/ev-metadata-manager.c: (item_free),
869 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
870 (parse_value), (parseItem), (load_values),
871 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
872 (save_values), (save_item), (get_oldest), (resize_items),
873 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
874 * shell/ev-metadata-manager.h:
876 Metadata manager from gedit but modified to use GValue, so that
877 we dont need to keep converting from strings.
881 ENABLE_METADATA conditional, on when dbus is on
883 * shell/ev-application.c: (ev_application_open_uri):
885 Show the window after load so that we can initialize
886 window size before it's showed.
888 * shell/ev-window.c: (ev_window_setup_from_metadata),
889 (ev_window_open_uri), (window_configure_event_cb),
892 Save and load metadata information about window size.
893 Not yet keeping states in account.
895 * shell/main.c: (main):
897 Shutdown metadata manager.
899 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
901 * shell/ev-application-service.xml:
904 * shell/ev-application.c:
905 * shell/ev-application.h:
910 Add an optional dbus interface (--enable-dbus).
911 Rework application code, mainly to be easier to
913 Do not open multiple windows with the same document,
916 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
918 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
919 pixbuf iff it exists.
921 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
924 * backend/ev-render-context.[ch]:
925 * backend/ev-selection.[ch]:
927 Massive changes. We now support text selection of pdfs, and not
928 just rectangular selection. This is pretty broken still, but I
929 want to get something into CVS.
931 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
935 Fix for Bug 309080: crash on window close.
937 * shell/ev-page-action.c: (page_changed_cb):
939 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
940 jensgr@gmx.net (Jens Granseuer).
942 2005-06-25 Marcel Telka <marcel@telka.sk>
944 * configure.in (ALL_LINGUAS): Added sk.
946 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
948 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
951 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
958 * cut-n-paste/recent-files/Makefile.am:
962 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
964 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
965 (pixbuf_document_set_orientation), (rotate_pixbuf),
966 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
967 (pixbuf_document_document_iface_init), (pixbuf_document_init):
969 Implement rotation and cleanup the code a bit.
971 * tiff/tiff-document.c: (tiff_document_get_page_size),
972 (tiff_document_get_orientation), (tiff_document_set_orientation),
973 (rotate_pixbuf), (tiff_document_render_pixbuf),
974 (tiff_document_document_iface_init), (tiff_document_init):
976 Implement rotation. Was the quicker solution for the release
977 but we really need to share this code in the shell.
979 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
983 Enable rotation, require poppler cvs. Fix a leak.
985 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
987 * shell/ev-window.c: (update_action_sensitivity):
989 Make properties unsensitive if document backend doesn't provide
992 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
994 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
995 (bitmap_flip_horizontally), (bitmap_flip_vertically),
996 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
997 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
998 (bitmap_flip_rotate_counter_clockwise):
999 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1000 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1002 * dvi/mdvi-lib/common.h:
1003 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1004 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1005 (opendvi), (mdvi_reload), (mdvi_init_context),
1006 (mdvi_destroy_context), (mdvi_dopage), (special):
1007 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1008 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1009 (file_hash_free), (register_encoding), (parse_spec),
1010 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1011 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1012 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1013 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1014 (mdvi_register_font_type), (mdvi_unregister_font_type),
1015 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1016 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1017 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1018 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1019 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1020 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1021 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1022 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1023 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1024 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1025 (mdvi_unregister_special), (mdvi_flush_specials):
1026 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1028 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1029 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1030 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1031 (free_font_metrics), (flush_font_metrics):
1032 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1034 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1035 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1036 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1037 (dstring_insert), (dstring_new), (dstring_reset):
1038 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1040 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1041 avoid conflict with libtool on FC4
1043 * shell/ev-window.c: (ev_window_cmd_help_about):
1045 Update copyright year. Fix for bug 308828.
1047 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1049 * shell/ev-view.c: (add_scroll_binding_keypad),
1050 (ev_view_binding_activated), (ev_view_class_init),
1051 (on_adjustment_value_changed):
1053 Bug 170874: Arrow keys switch pages in presentation mode
1055 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1057 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1059 Fix for Bug 308265: Sidebar dissappears coming out of
1062 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1064 * shell/ev-application.c: (ev_application_open):
1065 * shell/ev-document-types.c: (ev_document_types_add_filters),
1066 (ev_document_types_add_filters_for_type):
1067 * shell/ev-document-types.h:
1068 * shell/ev-window.c: (ev_window_cmd_save_as):
1070 Suggest basename as template when saving, provide filters
1071 for save dialog. It's bug 308402
1073 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1075 * pdf/ev-poppler.cc:
1076 * shell/ev-sidebar-links.c: (job_finished_callback):
1077 * shell/ev-view.c: (update_find_status_message):
1081 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1083 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1084 (egg_recent_view_uimanager_set_list):
1086 Fix buglet in !show_numbers case.
1088 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1090 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1091 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1093 Use pango ellipsisation.
1095 * pdf/ev-poppler.cc:
1097 Fix refcount leak, from nsh.
1099 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1101 * cut-n-paste/recent-files/Makefile.am:
1102 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1103 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1105 Removed EggRecentViewGtk
1107 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1108 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1109 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1110 (ev_window_setup_recent):
1112 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1115 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1117 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1118 (egg_recent_view_gtk_finalize):
1122 * cut-n-paste/toolbar-editor/Makefile.am:
1124 Fix location of cursor icon.
1126 * pdf/ev-poppler.cc:
1127 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1128 (display_completion_text), (match_completion):
1129 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1130 (selection_changed_callback), (create_loading_model),
1131 (print_section_cb), (links_page_num_func),
1132 (update_page_callback_foreach):
1133 * shell/ev-window.c: (ev_window_dispose):
1135 Small memory fixes. Links model now store objects instead
1136 of pointers to improve memory management.
1138 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1140 * shell/ev-window.c: (zoom_control_changed_cb):
1142 Fix update of zoom control (bug 308268).
1144 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1146 * shell/ev-properties.c (set_property): escape the text correctly.
1147 Handles non-UTF-8 properties and escaped properties. Also, sets
1148 the text to "<i>None</i>" if the property isn't set.
1150 * data/evince-properties.glade: Change the label to be ellipsized,
1151 and give it a minimum size.
1153 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1155 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1156 * shell/ev-sidebar-links.c: (create_loading_model):
1157 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1158 * shell/ev-view.c: (ev_view_set_document):
1159 * shell/ev-window.c: (ev_window_dispose):
1161 Various small fixes, mostly memory leaks. Thanks to valgrind.
1163 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1165 * ps/ps-document.c: remove the locale.h include again ;-). And
1166 kill the (bogus) setlocale/savelocale business.
1168 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1172 Include locale.h to fix build
1174 * shell/ev-sidebar.c:
1176 Remove unnecessary includes
1178 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1180 * dvi/dvi-document.c: (dvi_document_load):
1181 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1184 Check for incorrect dvi files. Fix parsing dvi on AMD64
1185 platform. Thanks to tester@tester.ca (Olivier Crete).
1187 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1189 * shell/ev-page-action.c: (match_selected_cb),
1190 (display_completion_text), (match_completion), (update_model):
1191 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1192 (expand_open_links):
1193 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1194 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1195 (ev_sidebar_set_document):
1196 * shell/ev-window.c: (ev_window_xfer_job_cb),
1197 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1199 Fixed lot's of memory leaks, for example, memory leak on reload,
1200 described in bug 307793.
1202 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1204 * pdf/ev-poppler.cc:
1205 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1206 (update_visible_range), (adjustment_changed_cb),
1207 (ev_sidebar_thumbnails_fill_model),
1208 (ev_sidebar_thumbnails_refresh),
1209 (ev_sidebar_tree_selection_changed),
1210 (ev_sidebar_icon_selection_changed),
1211 (ev_sidebar_thumbnails_use_icon_view),
1212 (ev_sidebar_thumbnails_set_document):
1213 * shell/ev-sidebar-thumbnails.h:
1214 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1215 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1217 Refresh thumbnails when changing orientation. Not fully
1218 working yet becuase of a sidebar bug.
1220 Set page orientation to poppler page everywhere. This sucks
1221 really need to fix poppler.
1223 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1225 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1226 (egg_recent_view_gtk_new_menu_item),
1227 (egg_recent_view_gtk_set_property),
1228 (egg_recent_view_gtk_get_property),
1229 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1230 (egg_recent_view_gtk_set_tooltip_func),
1231 (egg_recent_view_gtk_set_label_width),
1232 (egg_recent_view_gtk_get_label_width):
1233 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1235 Sync with libegg (ellipsize labels)
1237 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1239 * data/evince-ui.xml:
1240 * shell/ev-window.c: (ev_window_cmd_go_forward),
1241 (ev_window_cmd_go_backward):
1243 Shift + PageUp moves 10 Pages. Fix for 306125
1245 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1247 * pdf/ev-poppler.cc:
1249 Add a flag to check if orientation has been overriden
1251 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1253 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1256 * ps/ps.h: add creator field to document.
1258 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1261 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1263 * data/evince-properties.glade:
1264 * shell/ev-properties.c: (ev_properties_set_document):
1266 s/PDF Version/Format
1268 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1270 * shell/ev-properties.c: (ev_properties_set_document):
1272 Remove unnecessary translations
1274 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1276 * cut-n-paste/toolbar-editor/Makefile.am:
1278 Correct library name
1280 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1283 * cut-n-paste/recent-files/egg-recent-model.c:
1284 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1285 (egg_recent_model_unlock_file):
1286 * cut-n-paste/recent-files/egg-recent-util.c:
1287 (egg_recent_util_get_unique_id):
1288 * cut-n-paste/recent-files/update-from-egg.sh:
1289 * cut-n-paste/toolbar-editor/Makefile.am:
1290 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1291 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1292 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1293 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1294 (egg_toolbars_model_get_type):
1295 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1297 Better makefile for toolbar editor and update everything
1300 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1302 * shell/ev-window.c: (update_document_mode):
1304 Prefer presentation mode when the document
1307 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1309 * data/evince-ui.xml:
1310 * shell/ev-window.c:
1312 Add control-equal for zooming
1314 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1316 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1318 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1320 * backend/ev-document.c: (ev_document_get_orientation):
1321 * backend/ev-document.h:
1322 * pdf/ev-poppler.cc:
1323 * ps/ps-document.c: (ps_document_get_orientation),
1324 (ps_document_set_orientation), (ps_document_document_iface_init):
1326 Add a get_orientation api. Improve set_orientation.
1328 * data/evince-ui.xml:
1329 * shell/ev-view.c: (ev_view_set_orientation),
1330 (ev_view_rotate_right), (ev_view_rotate_left):
1332 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1333 (ev_window_cmd_edit_rotate_right):
1335 Better ui for changing document orientation
1337 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1339 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1340 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1341 * shell/ev-sidebar-links.h:
1342 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1343 (ev_sidebar_page_iface_init):
1344 * shell/ev-sidebar-page.h:
1345 * shell/ev-sidebar-thumbnails.c:
1346 (ev_sidebar_thumbnails_get_property),
1347 (ev_sidebar_thumbnails_class_init),
1348 (ev_sidebar_thumbnails_set_document):
1349 * shell/ev-sidebar-thumbnails.h:
1350 * shell/ev-view.c: (ev_view_motion_notify_event):
1351 * shell/ev-window.c: (update_chrome_visibility),
1352 (ev_window_cmd_focus_page_selector),
1353 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1354 (sidebar_page_main_widget_update_cb), (ev_window_init):
1356 Autoraise toolbar on GoToPage binding and fix bindings in
1357 EvSidebarThumbnails page.
1359 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1361 * shell/ev-properties.c: (update_progress_label):
1363 Hide the progress label when finished; bug #307697.
1365 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1367 * pdf/ev-poppler.cc:
1369 Enable is_open for links, you will need poppler cvs
1371 * shell/ev-properties.c: (job_fonts_finished_cb):
1373 Get a lock on the document when filling the tree view
1375 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1377 * backend/ev-document-links.h:
1378 * pdf/ev-poppler.cc:
1379 * shell/ev-sidebar-links.c: (create_loading_model),
1380 (expand_open_links), (job_finished_callback):
1382 Expand links when specified by the document.
1383 Depend on a poppler api (defined out for now)
1385 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1387 * shell/ev-properties.c: (ev_properties_dispose),
1388 (ev_properties_class_init), (dialog_destroy_cb),
1389 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1390 (ev_properties_set_document), (ev_properties_new),
1391 (ev_properties_show):
1392 * shell/ev-properties.h:
1394 Make it an object, cleanup the code, api to show it as transient
1395 and to set the document.
1397 * shell/ev-window.c: (ev_window_setup_document),
1398 (ev_window_cmd_file_properties):
1400 Adapt to EvProperties changes, do not show multiple
1401 times, update it when document changes.
1403 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1406 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1407 (ps_document_set_orientation), (ps_document_document_iface_init):
1410 Implement orientation here too
1412 * shell/ev-properties.c: (ev_properties_new):
1413 * data/evince-properties.glade:
1415 Hide the fonts page for backends that doesnt
1418 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1420 * backend/ev-document.c: (ev_document_set_orientation):
1421 * backend/ev-document.h:
1422 * pdf/ev-poppler.cc:
1424 Add orientation api. Currently poppler api is not optimal,
1425 we need to set orientation every time we _get a page.
1426 I will try to fix that at some point.
1428 * data/evince-ui.xml:
1429 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1430 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1432 Add orientation menu items
1434 * shell/ev-page-cache.c: (ev_page_cache_clear):
1435 * shell/ev-page-cache.h:
1437 Add api to clear the cache
1439 * shell/ev-view.c: (setup_caches), (clear_caches),
1440 (ev_view_set_document), (ev_view_zoom_out),
1441 (ev_view_set_orientation):
1444 Implement orientation changing
1446 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1448 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1449 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1450 * backend/ev-document-fonts.h:
1452 Separate scan and fill so that we can incrementally fill from
1453 the main thread. Add a progress api.
1455 * data/evince-properties.glade:
1456 * pdf/ev-poppler.cc:
1457 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1459 * shell/ev-properties.c: (update_progress_label),
1460 (job_fonts_finished_cb), (setup_fonts_view):
1462 Incrementally feel the list and show the progress
1463 percentage in a label like acrobat does.
1465 You are going to need poppler cvs
1467 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1469 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1470 * backend/ev-document-fonts.h:
1471 * pdf/ev-poppler.cc:
1473 Make fonts model fill incrementally.
1475 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1476 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1477 (ev_job_queue_remove_job):
1478 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1479 (ev_job_fonts_new), (ev_job_fonts_run):
1482 New job for fonts scanning
1484 * shell/ev-properties.c: (job_fonts_finished_cb),
1485 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1486 * shell/ev-properties.h:
1487 * shell/ev-window.c: (ev_window_cmd_file_properties):
1489 Incrementally feel the treeview using the new job. Show Loading...
1490 message until scanning is completed.
1492 Hopefully I didnt break the build without the poppler patch.
1494 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1496 * shell/ev-application.c: (ev_application_open):
1497 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1498 (ev_document_type_get_type), (ev_document_type_lookup):
1499 * shell/ev-document-types.h:
1500 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1501 * shell/ev-job-xfer.h:
1502 * shell/ev-window.c: (ev_window_clear_local_uri),
1503 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1504 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1505 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1507 Transfer remote documents to tmp directory to display them later.
1509 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1511 * backend/ev-document-info.h:
1512 * shell/ev-properties.c: (ev_properties_new):
1514 s/GTime*/GTime. Not sure why we was using a pointer
1517 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1519 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1520 situations. That situation is that you're using GTK+-HEAD with
1521 the patch at #306726 is applied, and you have a document with <
1522 1500 pages in it. It's not quite as uniformly nice as the
1523 TreeView, but should be better in the long run.
1525 I'm pretty sure I guarded against breaking compilation with
1526 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1529 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1530 widget yet, so I commented that code out
1531 enable_view_actions_for_widget() for now. Need to figure this
1534 * shell/ev-page-action.c (match_selected_cb): emit the right
1535 signals. Our cool C-l completion now works.
1537 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1539 * backend/Makefile.am:
1540 * backend/ev-document-fonts.c:
1541 * backend/ev-document-links.c:
1542 * backend/ev-document.c: (ev_document_load):
1543 * backend/ev-document.h:
1544 * backend/ev-job-queue.c:
1545 * backend/ev-job-queue.h:
1546 * backend/ev-jobs.c:
1547 * backend/ev-jobs.h:
1548 * backend/ev-page-cache.c:
1549 * backend/ev-page-cache.h:
1551 EvPageCache and EvJobs are moved to shell.
1553 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1555 * lib/ev-file-helpers.h:
1557 New helper to work with temporary files
1559 * shell/Makefile.am:
1560 * shell/ev-application.c: (ev_application_open):
1561 * shell/ev-application.h:
1562 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1563 (remove_job_from_async_queue), (add_job_to_async_queue),
1564 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1565 (handle_job), (search_for_jobs_unlocked),
1566 (no_jobs_available_unlocked), (ev_render_thread),
1567 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1568 (ev_job_queue_add_job), (move_job_async), (move_job),
1569 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1570 * shell/ev-job-queue.h:
1571 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1572 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1573 * shell/ev-job-xfer.h:
1574 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1575 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1576 (ev_job_links_class_init), (ev_job_render_init),
1577 (ev_job_render_dispose), (ev_job_render_class_init),
1578 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1579 (ev_job_thumbnail_class_init), (ev_job_load_init),
1580 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1581 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1582 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1583 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1585 * shell/ev-page-action.c: (ev_page_action_set_document):
1586 * shell/ev-page-cache.c: (ev_page_cache_init),
1587 (ev_page_cache_class_init), (ev_page_cache_finalize),
1588 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1589 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1590 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1591 (ev_page_cache_get_title), (ev_page_cache_get_size),
1592 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1593 (ev_page_cache_get_height_to_page),
1594 (ev_page_cache_get_max_label_chars),
1595 (ev_page_cache_get_page_label),
1596 (ev_page_cache_has_nonnumeric_page_labels),
1597 (ev_page_cache_get_info), (ev_page_cache_next_page),
1598 (ev_page_cache_prev_page), (ev_page_cache_get):
1599 * shell/ev-page-cache.h:
1600 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1601 (ev_pixbuf_cache_clear_job_sizes),
1602 (ev_pixbuf_cache_add_jobs_if_needed),
1603 (ev_pixbuf_cache_set_page_range):
1604 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1605 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1606 * shell/ev-sidebar-thumbnails.c:
1607 (ev_sidebar_tree_selection_changed),
1608 (ev_sidebar_thumbnails_set_document):
1609 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1610 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1611 (ev_statusbar_get_context_id), (ev_statusbar_push),
1612 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1613 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1614 (ev_statusbar_set_progress):
1615 * shell/ev-statusbar.h:
1616 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1617 (ev_view_find_previous):
1618 * shell/ev-window.c: (ev_window_is_empty),
1619 (ev_window_setup_document), (password_dialog_response),
1620 (ev_window_clear_jobs), (ev_window_load_job_cb),
1621 (ev_window_xfer_job_cb), (ev_window_open_uri),
1622 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1623 (ev_window_print), (ev_window_print_range),
1624 (ev_window_state_event), (ev_window_cmd_view_reload),
1625 (menu_item_select_cb), (menu_item_deselect_cb),
1626 (view_status_changed_cb), (ev_window_dispose),
1627 (drag_data_received_cb), (ev_window_init):
1628 * shell/ev-window.h:
1629 * shell/main.c: (load_files):
1631 New statusbar to show progress on idle. Two new jobs -
1632 xfer job and load job to load document in background. And update
1633 of page_cache clients to new location of code.
1635 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1637 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1638 selection in open dialog. It also remembers the last visited directory
1639 in the current session.
1641 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1643 * shell/ev-properties.c: (ev_properties_new):
1644 * shell/ev-properties.h:
1645 * shell/ev-window.c: (ev_window_cmd_file_properties):
1647 Get document info from page cache instead of document itself.
1648 This should fix crash related to race conditions described in
1651 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1653 * ps/ps-document.c: (ps_document_init),
1654 (send_ps), (get_page_box), (output), (catchPipe), (input),
1655 (stop_interpreter), (file_length), (file_readable),
1656 (check_filecompressedb), (ps_document_enable_interpreter),
1657 (document_load), (ps_async_renderer_render_pixbuf):
1660 Big cleanup of the ps code
1662 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1664 * backend/Makefile.am:
1665 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1666 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1667 * backend/ev-async-renderer.h:
1669 Add an async renderer interface (method + callback) which
1670 is useful for backends like ps.
1672 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1673 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1674 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1675 (ev_job_queue_add_job), (move_job_async), (move_job),
1676 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1678 Add queues for async renderer, these are executed on the
1681 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1682 (ev_job_render_run):
1683 * backend/ev-jobs.h:
1685 If the backend support async renderer interface use it.
1687 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1688 (setup_pixmap), (ps_document_get_type),
1689 (ps_async_renderer_render_pixbuf),
1690 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1692 Implement async renderer interface.
1694 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1696 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1698 Cleanup links job on exit.
1700 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1702 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1703 (drag_data_get_cb), (drag_data_received_cb):
1704 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1705 (drag_data_get_cb), (parse_item_list),
1706 (egg_toolbar_editor_load_actions):
1707 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1708 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1709 (parse_item_list), (parse_toolbars):
1710 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1711 (dvi_pixbuf_put_pixel):
1713 Fix gcc 4.0 warnings
1715 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1717 * ps/ps-document.c: (start_interpreter):
1719 Fix warning when loading ps
1721 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1723 * ps/ps-document.c: (output):
1725 Fix crash when priting gs error messages.
1727 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1729 * backend/ev-page-cache.c: (_ev_page_cache_new):
1730 * backend/ev-page-cache.h:
1732 Use a const to return title so that we dont double
1733 free it. Small cleanup and fix a leak.
1735 * shell/ev-window.c: (update_window_title):
1737 strdup value from get_title.
1739 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1741 * shell/ev-sidebar-links.c: (job_finished_callback),
1742 (ev_sidebar_links_set_document):
1744 Cleanup the old job when changing document
1746 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1748 * shell/ev-stock-icons.c:
1749 * shell/ev-stock-icons.h:
1750 * shell/ev-window.c:
1752 Add stock icons for actions that can appear in toolbar. Fix for
1755 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1757 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1758 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1759 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1760 * backend/ev-page-cache.h:
1761 * shell/ev-view.c: (scroll_to_current_page),
1762 (view_update_range_and_current_page), (get_page_y_offset),
1763 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1764 (ev_view_size_request_continuous),
1765 (ev_view_zoom_for_size_continuous_and_dual_page),
1766 (ev_view_zoom_for_size_continuous):
1768 More compact EvView layout in document with pages of different size.
1770 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1772 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1775 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1777 * shell/ev-view.c: (view_set_adjustment_values):
1778 * shell/ev-window.c: (ev_window_cmd_file_properties):
1780 A bit different fix for rounding problem but it has no
1781 problems on startup. Make properties window transient to parent.
1783 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1785 * pdf/ev-poppler.cc:
1787 More commenting of font stuff.
1789 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1791 * pdf/ev-poppler.cc:
1793 Comment out some more fonts stuff. Should really
1794 work without the poppler patch now.
1796 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1798 * pdf/ev-poppler.cc:
1802 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1804 * data/evince-properties.glade:
1805 * pdf/ev-poppler.cc:
1806 * shell/ev-properties.c: (setup_fonts_view):
1808 Set the column title. Show the dialog only
1809 once everything is setup.
1810 Getting font info can be very slow... will
1811 prolly need to make this threaded too.
1813 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1815 * backend/Makefile.am:
1816 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1817 (ev_document_fonts_get_fonts_model):
1818 * backend/ev-document-fonts.h:
1819 * data/evince-properties.glade:
1820 * pdf/ev-poppler.cc:
1821 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1822 * shell/ev-properties.h:
1823 * shell/ev-window.c: (ev_window_cmd_file_properties):
1825 Implement fonts list. Defined out for now, since it depends
1826 on a not yet committed poppler patch.
1828 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1830 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1833 * shell/ev-window.c: Make sure we add the timeout when we get a
1836 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1837 adjustment->value before calculating the zoom factor to average
1838 out all of our rounding errors. The page no longer 'drifts' when
1841 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1843 * data/evince-properties.glade:
1844 * shell/ev-properties.c: (ev_properties_format_date),
1847 Labels don't expand when the dialogue is resized.
1848 strftime result needs to be converted to UTF-8. Thanks
1849 to Christian Persch <chpe@gnome.org>.
1851 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1853 * data/evince-properties.glade:
1857 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1859 * backend/ev-document-info.h:
1860 * backend/ev-document.c: (ev_document_info_free):
1861 * data/evince-properties.glade:
1862 * pdf/ev-poppler.cc:
1863 * ps/ps-document.c: (ps_document_get_info):
1864 * shell/ev-properties.c: (ev_properties_format_date),
1865 (set_property), (ev_properties_new):
1866 * shell/ev-properties.h:
1867 * shell/ev-window.c: (ev_window_cmd_file_properties):
1869 Rework properties code to take only EvPropertyInfo
1870 in the constructor so that it can be useful for
1871 nautilus plugin too.
1873 Deal with backends that doesnt support some properties.
1874 Make set property code generic.
1876 2005-06-04 Christian Persch <chpe@gnome.org>
1878 * data/evince-properties.glade:
1880 fix spacings, make resizeable, and make data labels
1881 selectable + ellipsised
1883 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1885 * backend/ev-document-info.h:
1887 * data/evince-ui.xml:
1888 * pdf/ev-poppler.cc:
1889 * shell/Makefile.am:
1890 * shell/ev-window.c: (update_action_sensitivity),
1891 (ev_window_cmd_file_properties):
1893 Initial go at file properties. Patch by
1894 Emil Soleyman-Zomalan <emil@soleyman.com>.
1895 Needs love see #169583
1897 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1899 * ps/ps-document.c: (output):
1900 * ps/ps.c: (psscan):
1902 Try to render even if psscan fails.
1904 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1906 * ps/ps.c: (psscan), (pscopydoc):
1908 Port buffered reading code from gv
1910 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1912 * ps/ps-document.c: (interpreter_message), (output):
1914 Do not fail on interpreter messages
1916 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1918 * backend/ev-document-misc.c:
1919 (ev_document_misc_get_thumbnail_frame):
1921 Pages can be 0 x 0, dont assert on this case
1923 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1925 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1926 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1928 Correctly manage our reference on document. Finally the reload
1929 huge leak is gone...
1931 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1933 * ps/ps-document.c: (ps_document_dispose):
1935 Forgot to chain it to the parent. Thanks chpe.
1937 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1939 * ps/ps-document.c: (ps_document_dispose),
1940 (ps_document_class_init), (stop_interpreter), (document_load):
1942 Cleanup dispose a bit. Dont leak the whole pixmap.
1944 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1946 * pdf/ev-poppler.cc:
1948 Release the poppler document on dispose
1950 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1952 * shell/ev-view.c: (ev_view_set_document):
1954 Release ref on the pixbuf cache when changing
1957 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1959 * ps/ps-document.c: (ps_document_get_info):
1963 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1965 * backend/ev-page-cache.c: (ev_page_cache_init),
1966 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1967 * backend/ev-page-cache.h:
1968 * shell/ev-page-action.c: (page_changed_cb):
1970 Set page action entry width depending on labels width. Fix
1973 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1975 * backend/ev-link.c: (ev_link_class_init):
1977 Allow -1 as page value (error)
1979 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1981 * shell/ev-sidebar-thumbnails.c:
1982 (ev_sidebar_thumbnails_set_document):
1983 * shell/ev-view.c: (scroll_to_current_page),
1984 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1985 (page_changed_cb), (on_adjustment_value_changed),
1986 (ev_view_set_document):
1988 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1991 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1994 * djvu/djvu-document.c: (djvu_document_get_page_size):
1996 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1999 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2001 * shell/ev-view.c (draw_one_page): modify the expose handling to
2004 * shell/ev-window.c (update_action_sensitivity): Respect
2005 permissions field. Kowtow to the man.
2007 * pdf/ev-poppler.cc: Get the permissions field.
2009 * tiff/*c: Make a tiny bit more robust.
2011 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2013 * djvu/djvu-document.c:
2015 Pop messages from djvu context message queue.
2017 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2019 * configure.ac, Makefile.am, shell/Makefile.am:
2020 * tiff/Makefile.am, shell/ev-document-types.c:
2022 Cleanup tiff configure checks. Fix for bug 305218.
2024 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2026 * configure.ac: Added "uk" to ALL_LINGUAS.
2028 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2030 * cut-n-paste/zoom-control/ephy-zoom.c:
2031 (ephy_zoom_get_changed_zoom_level):
2032 * cut-n-paste/zoom-control/ephy-zoom.h:
2033 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2034 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2035 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2036 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2037 (zoom_control_changed_cb), (ev_window_init):
2039 Fix minor points related to moving best fit up. Introduce
2040 "zoom" property and make zoom control change it's value on
2041 notify::zoom signals. Fix for 305080.
2043 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2045 * data/evince-ui.xml:
2046 * shell/ev-window.c: (set_view_actions_sensitivity):
2048 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2050 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2054 Depends on poppler 0.3.2
2056 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2058 * cut-n-paste/recent-files/egg-recent-item.c:
2059 (egg_recent_item_get_short_name):
2060 * cut-n-paste/toolbar-editor/Makefile.am:
2061 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2062 (new_pixbuf_from_widget):
2063 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2064 * cut-n-paste/toolbar-editor/egg-marshal.c:
2065 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2066 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2070 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2072 * tiff/tiff-document.c: Rough TIFF backend.
2074 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2078 * cut-n-paste/toolbar-editor/Makefile.am:
2082 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2084 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2085 (ev_view_find_next), (ev_view_find_previous):
2087 Remove the locks around get_n_results
2089 2005-05-21 Juerg Billeter <j@bitron.ch>
2091 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2093 Pass correct number of pages to poppler.
2095 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2099 * data/evince.desktop.in:
2100 * data/evince.desktop.in.in:
2103 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2105 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2107 * shell/ev-view.c: (view_update_adjustments),
2108 (view_set_adjustment_values): cast adjustmen->value to (int)
2109 before using it. Otherwise, we get off by a pixel in some
2112 (draw_one_page): Draw the border on expose.
2114 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2116 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2117 adjustment when the mode changes, #304923
2119 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2121 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2122 flickering on resize but still use gdk_window_scroll on
2125 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2127 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2130 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2132 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2133 second page on page_changed if possible, #304669
2135 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2137 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2138 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2140 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2143 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2144 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2145 (ev_view_zoom_for_size_presentation),
2146 (ev_view_zoom_for_size_continuous_and_dual_page),
2147 (ev_view_zoom_for_size_continuous),
2148 (ev_view_zoom_for_size_dual_page),
2149 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2151 * shell/ev-window.c: (update_view_size),
2152 (ev_window_sizing_mode_changed_cb):
2154 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2155 the scrollbars. It's not 100% right, but it's much closer. Kills
2156 an infinite loop, #304769
2159 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2161 * data/evince-ui.xml:
2162 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2163 * shell/ev-window.c: (set_view_actions_sensitivity):
2165 Make PgUp/Down behave like Space
2167 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2169 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2170 * backend/ev-ps-exporter.h:
2171 * pdf/ev-poppler.cc:
2172 * ps/ps-document.c: (ps_document_ps_export_begin):
2173 * shell/ev-print-job.c: (idle_print_handler):
2175 Adapt to new poppler api
2177 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2179 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2180 (ephy_zoom_control_init):
2182 Translate zoom levels
2184 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2186 * cut-n-paste/zoom-control/ephy-zoom.c:
2187 (ephy_zoom_get_zoom_level_index):
2189 Fix current zoom -> zoom control match
2191 2005-05-18 James Bowes <bowes@cs.dal.ca>
2193 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2194 rather than the scrolled_window that it's in. Fixes bug #304655.
2196 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2198 * shell/ev-view.c: (view_update_adjustments),
2199 (view_set_adjustment_values), (view_update_range_and_current_page),
2200 (view_scroll_to_page), (set_scroll_adjustment),
2201 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2202 (ev_view_scroll), (ev_view_scroll_view),
2203 (ensure_rectangle_is_visible), (find_page_at_location),
2204 (get_link_at_location), (go_to_link), (status_message_from_link),
2205 (ev_view_size_request_continuous_dual_page),
2206 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2207 (ev_view_unrealize), (ev_view_expose_event),
2208 (ev_view_button_press_event), (ev_view_motion_notify_event),
2209 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2210 (draw_rubberband), (highlight_find_results), (draw_one_page),
2211 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2212 (ev_view_init), (find_changed_cb), (page_changed_cb),
2213 (on_adjustment_value_changed), (ev_view_new),
2214 (ev_view_set_document), (ev_view_set_zoom),
2215 (ev_view_set_continuous), (ev_view_set_dual_page),
2216 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2217 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2218 (ev_view_zoom_for_size_presentation),
2219 (ev_view_zoom_for_size_continuous_dual_page),
2220 (ev_view_zoom_for_size_continuous),
2221 (ev_view_zoom_for_size_dual_page),
2222 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2223 (ev_view_get_status), (ev_view_set_status),
2224 (update_find_status_message), (ev_view_get_find_status),
2225 (ev_view_set_find_status), (jump_to_find_result),
2226 (jump_to_find_page), (compute_selections), (clear_selection),
2227 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2228 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2229 (ev_view_update_primary_selection),
2230 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2232 * shell/ev-window.c: (ev_window_open_page_label),
2233 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2235 * shell/ev-window.h:
2236 * shell/main.c: (load_files):
2238 Massive code clean up from Nickolay Shmyrev. Keep page offset
2239 when resizing. Remove the bin_window(). Also, patch from James
2240 Bowes to fix command line page, #300641
2242 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2244 * data/evince-ui.xml:
2247 * shell/ev-window.c: (update_action_sensitivity):
2249 Get rid of View->Normal Size, it's just confusing
2251 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2253 * backend/ev-document-info.h:
2254 * backend/ev-document.c: (ev_document_info_free): Free the
2257 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2258 (clear_range), (add_range), (update_visible_range),
2259 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2260 (ev_sidebar_thumbnails_set_document):
2261 * shell/ev-window.c: (ev_window_setup_document): Only render the
2262 visible thumbnails. It takes an instant to render, but it uses
2265 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2267 * shell/ev-sidebar-links.c: (popup_menu_cb):
2271 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2274 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2275 (button_press_cb), (ev_sidebar_links_construct):
2277 Show the popup menu also on keybindings
2279 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2281 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2282 * shell/ev-window.h:
2284 Expose api to print a range (with dialog). Make private _print use
2287 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2288 (ev_sidebar_links_construct):
2290 Show a print context menu on linkx, it prints the selected
2293 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2295 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2298 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2304 * shell/ev-window.c: (build_comments_string),
2305 (ev_window_cmd_help_about):
2307 Show poppler version/backend and authors
2309 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2311 * cut-n-paste/zoom-control/ephy-zoom.c:
2312 (ephy_zoom_get_zoom_level_index):
2313 * cut-n-paste/zoom-control/ephy-zoom.h:
2315 Move the best fit items at the top of the list
2317 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2319 * shell/ev-marshal.list:
2320 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2321 (activate_cb), (match_selected_cb), (activate_link_cb),
2322 (connect_proxy), (ev_page_action_class_init):
2323 * shell/ev-page-action.h:
2325 Use signals to notify action activation. Hopefully
2326 I did not break completion since I cant test...
2328 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2329 (register_custom_actions):
2331 Connect to page selector actions and also grab focus on
2332 the view when activated.
2334 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2336 * pdf/ev-poppler.cc:
2337 * backend/ev-page-cache.c: make page size calculation consistent
2338 and set it to (int)( width * scale + 0.5). This makes the weird
2339 line going through the middle of the page go away.
2341 * shell/ev-view.c: move painting the background page after
2342 checking the expose area covers us.
2344 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2346 * data/evince-password.glade:
2348 Mark labels as not translatable. Fix for bug 302842.
2350 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2352 * configure.ac: Added "es" to ALL_LINGUAS.
2354 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2356 * data/evince-toolbar.xml:
2357 * shell/ev-window.c: (update_action_sensitivity),
2358 (ev_window_setup_document), (ev_window_set_page_mode),
2361 Remove some leftover code from jrb first continous
2362 attempt. Use the new actions, we still need good icons
2365 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2367 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2369 Update label when connecting proxy. Fix a warning with NULL
2372 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2374 * data/evince-ui.xml:
2375 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2376 * shell/ev-page-action.h:
2377 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2379 Add mnemonic for edit toolbar.
2380 ctrl+l focus the page entry.
2382 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2385 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2387 * shell/main.c: (main):
2389 Put the toolbar xml in evince own dot dir
2391 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2393 * shell/ev-window.c: (ev_window_init):
2395 Make the toolbar not removable
2397 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2399 * data/evince-ui.xml:
2400 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2401 * shell/ev-sidebar-links.h:
2402 * shell/ev-sidebar-thumbnails.c:
2403 (ev_sidebar_thumbnails_get_treeview):
2404 * shell/ev-sidebar-thumbnails.h:
2405 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2406 (ev_view_class_init):
2408 * shell/ev-window.c: (update_action_sensitivity),
2409 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2410 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2411 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2414 This is evil... Make space/backspace global accelerators but
2415 enable them only for some widgets (sidebars and view).
2416 I dont like it, but I dont know a better way... :/
2418 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2420 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2421 (ev_page_action_widget_finalize),
2422 (ev_page_action_widget_class_init), (update_page_cache):
2424 Keep a weak reference on proxy->page_cache so that we
2425 dont try to disconnect the signal if the object is already
2426 gone. Maybe there is a better way to cleanup reference handling
2427 in page action though...
2429 2005-05-10 Juerg Billeter <j@bitron.ch>
2431 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2432 * backend/ev-ps-exporter.h:
2433 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2434 * ps/ps-document.c: (ps_document_ps_export_begin):
2436 Change api to pass print range to ps_exporter_begin. The pdf backend
2437 requires this information.
2439 * shell/ev-print-job.c: (idle_print_handler):
2443 2005-05-10 Juerg Billeter <j@bitron.ch>
2445 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2446 (idle_print_handler)
2447 * shell/ev-window.c: (ev_window_print):
2449 Support printing page range, based on patch by Amaury Jacquot
2451 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2453 * data/evince-toolbar.xml:
2455 Add zoom control to available items
2457 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2459 * shell/ev-window.c: (update_action_sensitivity):
2461 Set slash action insensitive when appropriate
2463 2005-05-10 Christian Persch <chpe@gnome.org>
2465 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2467 Fix warning on the overflow menu
2469 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2471 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2473 Check for uri correctness/existence
2475 2005-05-09 Juerg Billeter <j@bitron.ch>
2477 * shell/ev-window.c: (using_postscript_printer):
2479 LPD printers use postscript, too
2481 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2483 * shell/ev-window.c: (register_custom_actions):
2485 The zoom one is actually sort of useful,
2488 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2490 * shell/ev-window.c: (register_custom_actions):
2492 Hide page/zoom controls from overflow, they
2495 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2497 * cut-n-paste/update-from-egg.sh:
2499 Share it between all cut-n-paste subdirs
2501 * cut-n-paste/recent-files/Makefile.am:
2503 Fix to use "global" update-from-egg.sh
2505 * cut-n-paste/recent-files/egg-recent-model.c:
2506 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2507 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2508 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2509 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2513 * cut-n-paste/toolbar-editor/Makefile.am:
2515 Fix to use "global" update-from-egg.sh
2517 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2521 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2524 * cut-n-paste/Makefile.am:
2525 * cut-n-paste/recent-files/Makefile.am:
2526 * cut-n-paste/toolbar-editor/.cvsignore:
2527 * cut-n-paste/toolbar-editor/Makefile.am:
2528 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2529 (egg_editable_toolbar_get_type), (get_toolbar_position),
2530 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2531 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2532 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2533 (set_item_drag_source), (create_item_from_action), (create_item),
2534 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2535 (popup_toolbar_context_menu_cb), (free_dragged_item),
2536 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2537 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2538 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2539 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2540 (item_added_cb), (item_removed_cb),
2541 (egg_editable_toolbar_construct),
2542 (egg_editable_toolbar_disconnect_model),
2543 (egg_editable_toolbar_deconstruct),
2544 (egg_editable_toolbar_set_model),
2545 (egg_editable_toolbar_set_ui_manager),
2546 (egg_editable_toolbar_set_property),
2547 (egg_editable_toolbar_get_property),
2548 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2549 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2550 (egg_editable_toolbar_new_with_model),
2551 (egg_editable_toolbar_get_edit_mode),
2552 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2553 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2554 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2555 (new_pixbuf_from_widget), (new_separator_pixbuf),
2556 (update_separator_image), (style_set_cb),
2557 (_egg_editable_toolbar_new_separator_image),
2558 (egg_editable_toolbar_get_model):
2559 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2560 * cut-n-paste/toolbar-editor/egg-marshal.c:
2561 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2562 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2563 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2564 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2565 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2566 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2567 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2568 (editor_drag_data_delete_cb), (drag_data_get_cb),
2569 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2570 (editor_create_item), (update_editor_sheet), (setup_editor),
2571 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2572 (parse_item_list), (model_has_action), (update_actions_list),
2573 (egg_toolbar_editor_load_actions):
2574 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2575 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2576 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2577 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2578 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2579 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2580 (egg_toolbars_model_add_separator), (impl_add_item),
2581 (parse_item_list), (egg_toolbars_model_add_toolbar),
2582 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2583 (impl_get_item_data), (impl_get_item_type),
2584 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2585 (egg_toolbars_model_init), (free_toolbar),
2586 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2587 (egg_toolbars_model_remove_toolbar),
2588 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2589 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2590 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2591 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2592 (egg_toolbars_model_get_item_data),
2593 (egg_toolbars_model_get_item_type):
2594 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2595 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2597 * data/evince-toolbar.xml:
2598 * data/evince-ui.xml:
2599 * data/hand-open.png:
2601 * shell/Makefile.am:
2602 * shell/ev-window.c: (update_chrome_visibility),
2603 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2604 (ev_window_dispose), (ev_window_init):
2606 Implement epiphany like toolbar editor. Based on patch by
2607 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2609 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2611 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2613 Use set_cursor instead of set_selection, so that
2614 the keyboard focus moves too.
2616 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2618 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2620 Fix infinite loop when loading Type1 fonts
2622 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2624 * data/evince-ui.xml:
2625 * shell/ev-window.c:
2629 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2633 Make --disable really disable
2635 2005-05-07 Juerg Billeter <j@bitron.ch>
2637 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2639 Compare page labels even without has_labels set, fixes setting page
2642 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2644 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2645 (ev_view_set_cursor), (ev_view_button_press_event),
2646 (ev_view_motion_notify_event), (ev_view_button_release_event),
2649 Implement middle button scrolling. Based on a patch
2650 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2652 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2654 * shell/ev-document-types.c: (get_slow_mime_type),
2655 (get_document_type_from_mime), (ev_document_type_lookup):
2656 * shell/ev-document-types.h:
2658 Change api to lookup from uri. Do fast lookup first, if the
2659 type is unknown try with data sniffing.
2661 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2662 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2666 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2668 * thumbnailer/Makefile.am:
2672 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2679 * data/evince-ui.xml:
2681 Hide presentation mode for now
2683 * shell/ev-view.c: (highlight_find_results):
2685 Show current find selection only on current page
2687 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2689 * shell/ev-view.c: (ev_view_select_all):
2691 Compute size of the actual page, not of
2694 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2696 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2697 (view_rect_to_doc_rect), (compute_selections),
2698 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2699 (ev_view_copy), (ev_view_primary_get_cb),
2700 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2701 (ev_view_button_press_event), (ev_view_motion_notify_event),
2702 (ev_view_button_release_event), (page_changed_cb):
2706 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2708 * shell/ev-view.c: (compute_border), (get_page_extents),
2709 (doc_rect_to_view_rect), (highlight_find_results),
2710 (ev_view_bin_expose), (ev_view_select_all),
2711 (ev_view_motion_notify_event), (update_find_status_message),
2712 (jump_to_find_result), (jump_to_find_page):
2714 First go at fixing search, still buggy
2716 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2718 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2719 dropdown box and button at the top of the sidebar.
2721 2005-05-02 James Bowes <bowes@cs.dal.ca>
2723 * configure.ac: Output zoom-control Makefile.
2724 * cut-n-paste/Makefile.am: build zoom-control subdir.
2725 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2726 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2727 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2728 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2729 * cut-n-paste/zoom-control/ephy-zoom.c:
2730 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2731 from epiphany, and modified to add a separator into the menu.
2732 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2733 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2734 zoom-control action.
2735 * shell/Makefile.am: Include zoom-control flags.
2736 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2737 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2738 (ev_view_zoom_for_size_presentation),
2739 (ev_view_zoom_for_size_continuous_and_dual_page),
2740 (ev_view_zoom_for_size_continuous),
2741 (ev_view_zoom_for_size_dual_page),
2742 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2743 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2744 ev_view_get_zoom and ev_view_get_sizing_mode.
2746 * shell/ev-window.c: (update_action_sensitivity),
2747 (update_sizing_buttons), (zoom_control_changed_cb),
2748 (register_custom_actions): Initialize and use the zoom-control
2751 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2753 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2754 preview cache back to 1. Don't know when it got set to 0.
2756 * shell/ev-view.c: (compute_border), (ev_view_realize),
2757 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2758 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2759 (ev_view_get_fullscreen), (ev_view_set_presentation),
2760 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2761 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2763 * shell/ev-window.c:
2764 (update_chrome_visibility),
2765 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2766 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2767 (update_document_mode), (ev_window_update_fullscreen_action),
2768 (ev_window_fullscreen), (ev_window_unfullscreen),
2769 (ev_window_cmd_view_fullscreen),
2770 (ev_window_update_presentation_action),
2771 (ev_window_run_presentation), (ev_window_stop_presentation),
2772 (ev_window_cmd_view_presentation), (ev_window_state_event),
2773 (ev_window_focus_in_event), (ev_window_focus_out_event),
2774 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2775 * data/evince-ui.xml: Initial presentation mode. We should
2776 probably hide this until it's done, as it's quite rough. Also,
2777 change full-screen to fullscreen and add two getters to EvView.
2779 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2781 * shell/ev-page-action.c: (update_page_cache),
2782 (ev_page_action_dispose):
2783 * shell/ev-window.c: (destroy_fullscreen_popup),
2784 (ev_window_create_fullscreen_popup):
2786 Use connect_object rather than explicitly
2787 disconnect on dispose.
2789 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2791 * shell/ev-page-action.c: (update_page_cache),
2792 (ev_page_action_dispose):
2794 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2796 * backend/ev-page-cache.c: (_ev_page_cache_new),
2797 (ev_page_cache_set_page_label),
2798 (ev_page_cache_has_nonnumeric_page_labels):
2799 * backend/ev-page-cache.h:
2800 * shell/ev-page-action.c: (update_pages_label):
2802 If all page labels are numeric, fallback to default
2803 way to display number of pages. See bug 173185.
2805 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2807 * shell/ev-page-action.c: (ev_page_action_dispose):
2808 * shell/ev-view.c: (view_update_range_and_current_page):
2809 * shell/ev-window.c: (ev_window_dispose):
2811 Set page on scroll in continuous mode. Fixes bug 301986.
2812 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2814 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2818 Require poppler 0.3.0
2820 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2822 * shell/Makefile.am, configure.ac: Fix build problems
2823 with t1lib. Bug 301996.
2825 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2827 * shell/ev-view.c: (ev_view_scroll_event):
2829 Scroll up increase zoom
2831 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2833 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2834 (ev_view_set_sizing_mode),
2835 (ev_view_zoom_for_size_continuous_and_dual_page),
2836 (ev_view_zoom_for_size_continuous):
2837 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2838 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2839 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2842 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2843 Fix for 165473 and 165472.
2845 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2848 * thumbnailer/Makefile.am:
2849 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2850 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2851 * thumbnailer/evince-thumbnailer.schemas.in:
2853 Make thumbnailer schemas translatable. Fix for bug 301773
2855 * thumbnailer/evince-thumbnailer-djvu.schemas:
2856 * thumbnailer/evince-thumbnailer-dvi.schemas:
2857 * thumbnailer/evince-thumbnailer.schemas:
2861 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2863 * shell/ev-view.c (ev_view_init): forgot to set this.
2865 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2867 * shell/ev-view.c: (find_page_at_location),
2868 (get_link_at_location),
2869 (ev_view_set_show_border), (ev_view_set_spacing),
2870 (ev_view_zoom_for_size_continuous_and_dual_page),
2871 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2872 Also, add a quick fix measuring of widths. Also, removed
2873 ev_view_set_spacing and ev_view_set_show_border.
2875 * shell/ev-window.c: (ev_window_unfullscreen),
2876 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2878 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2880 * shell/ev-view.c: (view_update_range_and_current_page),
2883 Fix crash on exit and scrolling to page in continuous view.
2885 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2888 * backend/ev-page-cache.c: (_ev_page_cache_new),
2889 (ev_page_cache_get_max_width_size),
2890 (ev_page_cache_get_max_height_size):
2891 * backend/ev-page-cache.h:
2892 * data/evince-ui.xml:
2893 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2894 * shell/ev-view.c: (view_update_adjustments),
2895 (view_update_range_and_current_page), (get_bounding_box_size),
2896 (ev_view_size_request_continuous_and_dual_page),
2897 (ev_view_size_request_continuous),
2898 (ev_view_size_request_dual_page),
2899 (ev_view_size_request_single_page), (ev_view_size_request),
2900 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2901 (ev_view_bin_expose), (ev_view_expose_event),
2902 (ev_view_set_property), (ev_view_get_property),
2903 (ev_view_class_init), (ev_view_init), (ev_view_new),
2904 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2905 (ev_view_set_dual_page), (ev_view_set_full_screen),
2906 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2907 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2908 (ev_view_zoom_out), (zoom_for_size_fit_width),
2909 (zoom_for_size_best_fit),
2910 (ev_view_zoom_for_size_continuous_and_dual_page),
2911 (ev_view_zoom_for_size_continuous),
2912 (ev_view_zoom_for_size_dual_page),
2913 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2914 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2916 * shell/ev-window.c: (update_action_sensitivity),
2917 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2918 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2919 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2920 (ev_window_cmd_view_zoom_out), (update_view_size),
2921 (ev_window_set_sizing_mode), (ev_window_init):
2923 Add Continuous and Dual page modes.
2925 2005-04-23 James Bowes <bowes@cs.dal.ca>
2927 * dvi/dvi-document.c: (dvi_document_load),
2928 (dvi_document_thumbnails_get_thumbnail),
2929 (dvi_document_init_params): Fix up some mixups between
2930 width and height to correct thumbnail rendering.
2932 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2934 * dvi/mdvi-lib/private.h:
2935 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2937 Suppess output for kpathsea during font generation. Thanks to
2940 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2947 * Makefile.am: fix distcheck.
2949 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2951 * shell/ev-sidebar-links.c: (selection_changed_callback),
2952 (update_page_callback), (row_activated_callback),
2953 (job_finished_callback), (ev_sidebar_links_set_document):
2955 Fix for bug #169901. Double click on links expands tree.
2957 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2959 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2960 hard-coded style. Fix for bug 170111
2962 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2964 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2967 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2969 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2971 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2973 * pdf/ev-poppler.cc:
2974 * shell/ev-view.c: (highlight_find_results):
2976 Fix find on single page documents
2978 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2980 * data/evince.schemas.in: fix for bug 301390
2982 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2984 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2985 (ev_view_zoom_out), (ev_view_zoom_normal):
2987 * shell/ev-window.c: (update_action_sensitivity),
2988 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2989 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2990 (ev_window_cmd_view_normal_size):
2992 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2993 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2996 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3000 Depend on 2.57, 2.59 doesnt seem to be necessary
3002 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3004 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3007 Put back total number of pages as (1 of 1234)
3009 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3011 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3014 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3015 function. This helps debugging.
3017 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3019 * djvu/djvu-document.c: (djvu_document_class_init),
3020 (djvu_document_get_info), (djvu_document_document_iface_init):
3021 * dvi/dvi-document.c: (dvi_document_class_init),
3022 (dvi_document_get_info), (dvi_document_document_iface_init):
3024 Dummy implementation of get_info method for dvi and djvu. Fix
3025 crashes with those backends
3027 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3029 * data/evince.desktop.in:
3031 Add application/x-gzpostscript
3033 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3035 * data/evince.schemas.in: Added real long descriptions,
3038 * README: Added actual text, closes bug 171869
3040 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3042 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3046 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3048 * backend/ev-document-info.h:
3050 s/GDate */GDate so we can just use g_free
3052 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3054 * shell/ev-window.c: (update_document_mode),
3055 (ev_window_setup_document):
3057 Show the window in fullscreen when specified by
3060 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3062 * backend/ev-document.c: (ev_document_class_init),
3063 (ev_document_get_info), (ev_document_render_pixbuf):
3064 * backend/ev-document.h:
3065 * backend/ev-page-cache.c: (_ev_page_cache_new):
3066 * pdf/ev-poppler.cc:
3067 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3068 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3069 * ps/ps-document.c: (ps_document_class_init), (document_load),
3070 (ps_document_get_info), (ps_document_document_iface_init):
3072 Remove get_title from the interface, we can just use document info
3074 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3076 * backend/Makefile.am:
3077 * backend/ev-document.c: (ev_document_render_get_info):
3078 * backend/ev-document.h:
3079 * pdf/ev-poppler.cc:
3081 Initial support for document info. Based on jrb patch.
3083 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3085 * shell/ev-window.c: (ev_window_state_event),
3086 (ev_window_class_init), (ev_window_init):
3088 Doesn't show resize grip when maximized. See bug #301053
3090 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3094 ev-sidebar-thumbnails now has translatable labels
3096 * shell/Makefile.am:
3097 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3098 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3099 (ev_sidebar_links_page_iface_init):
3100 * shell/ev-sidebar-links.h:
3101 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3102 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3103 (ev_sidebar_page_get_label):
3104 * shell/ev-sidebar-page.h:
3105 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3106 (ev_sidebar_thumbnails_set_document),
3107 (ev_sidebar_thumbnails_support_document),
3108 (ev_sidebar_thumbnails_get_label),
3109 (ev_sidebar_thumbnails_page_iface_init):
3110 * shell/ev-sidebar-thumbnails.h:
3111 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3112 (ev_sidebar_set_document):
3113 * shell/ev-sidebar.h:
3114 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3116 Small rework of sidebar code. Now sidebar pages should implement
3117 EvSidebarPage interface. That makes page management in EvSidebar
3118 easier. See bug #164811 for details
3120 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3122 * shell/ev-application.c: (ev_application_open):
3123 * shell/ev-document-types.c:
3125 Fix build error and small problem with application exit
3127 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3129 * thumbnailer/Makefile.am:
3130 * thumbnailer/evince-thumbnailer-djvu.schemas:
3131 * thumbnailer/evince-thumbnailer-dvi.schemas:
3133 Conditionally install schemas for djvu/dvi thumbnailer
3135 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3137 * shell/ev-document-types.h:
3138 * shell/ev-document-types.c:
3139 New files, handling the mapping from mimetypes to backends
3141 * shell/ev-window.c:
3142 * thumbnailer/evince-thumbnailer.c:
3143 Use the ev-document-types code
3145 * shell/Makefile.am:
3146 Added new convenience library libevbackendfactory_la, containing
3147 the new mimetype->backend logic; moved the backends into it.
3149 * thumbnailer/Makefile.am:
3150 Make the thumbnailer link with the libevbackend.la convenience
3151 library, rather than having a duplicate of the backend logic here.
3153 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3155 * shell/ev-stock-icons.c: constify some vars.
3156 * shell/ev-window.c: ditto.
3158 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3160 * ps/ps-document.c (get_page_orientation):
3162 Respect document orientation
3164 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3168 * shell/Makefile.am:
3170 Move library dependencies to components.
3172 * shell/ev-window.c: (update_window_title),
3173 (start_loading_document):
3175 Fix display of uris with spaces. Bug 168358.
3177 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3179 * shell/ev-sidebar-links.c: (selection_changed_cb):
3180 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3181 (ev_view_button_release_event), (ev_view_set_document):
3183 * shell/ev-window.c: (find_bar_search_changed_cb):
3184 * shell/ev-window.h: Minor cleanups removing some dead code.
3186 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3188 * backend/ev-page-cache.c: (_ev_page_cache_new):
3190 Set current page to 0 if document has pages.
3192 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3194 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3196 Initialize GError to NULL, fix a crash when loading fails.
3198 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3200 * shell/ev-window.c: (update_view_size):
3202 Calculate shadow size only when there is actually
3205 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3207 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3210 Allow setting view spacing, default to 0
3212 * shell/ev-window.c: (ev_window_unfullscreen),
3213 (ev_window_cmd_view_fullscreen), (ev_window_init):
3215 Remove spacing in fullscreen mode
3217 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3219 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3220 (ev_view_size_request), (expose_bin_window),
3221 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3223 * shell/ev-window.c: (ev_window_unfullscreen),
3224 (ev_window_cmd_view_fullscreen):
3226 Do not draw the border in fulscreen
3228 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3230 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3231 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3232 (find_page_at_location), (page_changed_cb):
3234 Rework border calculation, so that I can more easily disable it.
3235 Code somewhat cleaner too.
3237 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3239 * backend/ev-page-cache.c: (ev_page_cache_init),
3240 (_ev_page_cache_new):
3242 Remove some assertions, documents can have 0 pages.
3243 Make initial current page -1.
3245 * shell/ev-page-action.c: (page_changed_cb):
3247 Show "" if current page is -1
3249 * shell/ev-window.c: (update_action_sensitivity),
3250 (ev_window_setup_document):
3252 When document has 0 pages do not set the view
3253 and make nearly everything insensitive.
3255 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3257 * shell/ev-page-view.c:
3258 * shell/ev-page-view.h:
3260 Remove unused files.
3262 * shell/ev-sidebar-thumbnails.c:
3263 (ev_sidebar_thumbnails_set_document):
3264 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3265 (ev_sidebar_supports_document):
3266 * shell/ev-sidebar.h:
3267 * shell/ev-window.c: (ev_window_setup_document):
3269 Doesn't show thumbnails if document has 1 page. Make
3270 sidebar menu entries sensitive only if if they have
3271 sense. Fix bug 164811.
3273 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3275 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3276 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3277 (ev_view_zoom_out), (ev_view_set_size):
3279 Rework sizing to deal with documents with not uniform page
3282 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3284 * backend/ev-page-cache.c: (_ev_page_cache_new):
3286 Fix several page size caching bugs
3288 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3290 * shell/ev-window.c: (set_action_properties):
3292 Make all toolbar items translatable
3294 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3296 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3297 (save_page_list), (ps_document_save),
3298 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3299 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3300 (ps_document_ps_exporter_iface_init):
3303 Based on a patch by J�rg Billeter <j@bitron.ch>
3305 Implement print and save a copy for the ps backend.
3307 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3309 * backend/ev-document.h:
3310 * djvu/djvu-document.c: (djvu_document_can_get_text),
3311 (djvu_document_document_iface_init):
3312 * dvi/dvi-document.c: (dvi_document_can_get_text),
3313 (dvi_document_document_iface_init):
3314 * pdf/ev-poppler.cc:
3315 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3316 (pixbuf_document_document_iface_init):
3317 * ps/ps-document.c: (ps_document_can_get_text),
3318 (ps_document_document_iface_init):
3319 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3320 * shell/ev-window.c: (update_action_sensitivity):
3322 Fix the crash when trying to copy in backends that doesnt
3323 support it. We can implement a better solution once we
3324 do real text selection.
3326 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3328 * data/evince-ui.xml:
3329 * shell/ev-window.c: (ev_window_cmd_escape):
3331 Work around the Escape conflict (find bar and unfullscreen)
3333 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3335 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3337 Fix for #300233. Next page correctly handles document end.
3339 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3340 (ev_sidebar_thumbnails_class_init),
3341 (ev_sidebar_thumbnails_set_document),
3342 (ev_sidebar_thumbnails_clear_job),
3343 (ev_sidebar_thumbnails_clear_model):
3345 Cleanup thumbnail jobs on document changes.
3347 * shell/ev-view.c: (add_scroll_binding_keypad),
3348 (add_scroll_binding_shifted), (ev_view_class_init):
3350 Shift + Space scrolls up. Fix for #173184
3352 * shell/ev-window.c: (ev_window_open_page),
3353 (ev_window_cmd_view_reload):
3355 Fix reload (Bug #300094)
3357 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3360 * dvi/mdvi-lib/assoc.c:
3361 * dvi/mdvi-lib/assoc.h: Removed garbage files
3363 * dvi/mdvi-lib/bitmap.c:
3364 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3365 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3366 * dvi/mdvi-lib/color.h: Antialias of rules
3368 * dvi/mdvi-lib/common.h:
3369 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3370 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3371 * dvi/mdvi-lib/files.c:
3372 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3373 * dvi/mdvi-lib/mdvi.h:
3374 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3375 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3376 * dvi/mdvi-lib/util.c: Fix compile warnings
3378 * dvi/dvi-document.c:
3379 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3380 (dvi_document_thumbnails_get_thumbnail),
3381 (dvi_document_document_thumbnails_iface_init):
3382 * dvi/mdvi-lib/Makefile.am:
3383 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3384 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3386 Dvi backend now renders thumbnails
3388 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3390 * shell/main.c: (main):
3392 Save accelerators on exit. Fixes bug #172095.
3394 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3396 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3397 update priority" comment.
3399 * backend/ev-job-queue.c: Give a way to change priority.
3401 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3403 * shell/ev-page-action.c: Fix logic.
3405 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3407 * shell/ev-view.c: (ev_view_can_find_next):
3408 * shell/ev-window.c: (ev_window_setup_document):
3410 Check that the document supports find
3412 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3414 * data/evince-ui.xml:
3415 * shell/ev-view.c: (ev_view_can_find_next):
3417 * shell/ev-window.c: (update_action_sensitivity),
3418 (find_changed_cb), (ev_window_setup_document),
3419 (ev_window_cmd_edit_find_next):
3423 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3425 * pdf/ev-poppler.cc:
3426 * shell/ev-print-job.c: (idle_print_handler):
3428 Make printing work again
3430 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3432 * shell/ev-page-action.h:
3433 * shell/ev-page-action.c: (ev_page_action_widget_init),
3434 (ev_page_action_widget_class_init), (page_changed_cb),
3435 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3436 (get_filter_model_from_model), (match_selected_cb),
3437 (display_completion_text), (match_completion), (update_model),
3438 (connect_proxy), (ev_page_action_set_property),
3439 (ev_page_action_get_property), (ev_page_action_set_document),
3440 (ev_page_action_set_model), (ev_page_action_class_init): Big
3441 reworking to make completions work iff we have >= GTK-2.7.0
3443 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3444 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3445 (job_finished_cb): We now have a 'model' property that is set when
3446 the links are loaded. This can be caught with "notify::model"
3448 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3449 listen for the model to be set, and propagate it to the action.
3451 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3453 * cut-n-paste/recent-files/egg-recent-item.c:
3454 (egg_recent_item_set_uri), (make_valid_utf8),
3455 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3456 * cut-n-paste/recent-files/egg-recent-item.h:
3458 Update egg-recent from libegg. This should fix long
3459 startup problem. For details see
3460 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3462 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3464 * cut-n-paste/recent-files/Makefile.am:
3465 * data/evince-ui.xml, shell/Makefile.am:
3466 * shell/ev-application.c, shell/ev-application.h:
3467 * shell/ev-window.c: Recent files support.
3469 * configure.ac: Added "ru" to ALL_LINGUAS.
3471 * dvju: new backend to support DJVU files.
3472 * dvi: new backend to support DVI.
3474 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3475 * ev-application.c: Support for new backends.
3477 * help, ev-window.c, main.c shell/Makefile.am:
3478 Evince user documentation.
3480 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3483 * shell/ev-window.c:
3484 * thumbnailer/evince-thumbnailer.c:
3486 s/pdf-document/ev-poppler
3488 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3495 * ps/ps-document.c: (setup_pixmap):
3499 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3501 * backend/ev-page-cache.c (ev_page_cache_next_page):
3502 * shell/ev-window.c (ev_window_cmd_go_next_page)
3503 (ev_window_cmd_go_first_page): Fix of by one errors.
3505 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3507 * ps/ps-document.c: (get_page_box):
3509 Fix page size calculation
3511 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3513 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3514 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3515 (get_page_orientation), (setup_page), (document_load),
3516 (ps_document_get_page_size), (render_pixbuf_idle):
3519 More refactoring to adapt to EvDocument changes
3521 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3523 * ps/ps-document.c: (start_interpreter):
3525 Actually add alpha args
3527 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3529 * pdf/ev-poppler.cc:
3531 Make clipboard work again
3533 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3535 Make searching work again.
3537 * backend/ev-document.c:
3538 * backend/ev-document.h:
3539 * backend/ev-document-find.c:
3540 * backend/ev-document-find.h: Change EvDocumentIface so we no
3541 longer store the current page or zoom level in the document. The
3542 consequence is that all calls that operate on the current page now
3543 instead take the page number as an extra argument, and all
3544 coordinates are now doubles in document coordinate system.
3546 * pdf/ev-poppler.cc:
3547 * pixbuf/pixbuf-document.c:
3548 * ps/ps-document.c: Update backends accordingly.
3550 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3554 Add required gettext version
3556 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3558 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3559 make F1 bring up non-existent help.
3561 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3562 epiphany's find bar, #167477
3564 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3565 <emil@nishra.com> to add space-bar scrolling,
3567 * shell/ev-window.c (static GtkActionEntry entries): add default
3568 keybinding for Help (F1)
3571 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3572 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3575 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3578 * pixbuf/pixbuf-document.c:
3580 Got pixbuf backend working again
3582 2005-04-01 Steve Murphy <murf@e-tools.com>
3584 * configure.in: Added "rw" to ALL_LINGUAS.
3586 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3588 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3589 model types, noticed by Martin Kretzschmar.
3591 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3593 * pdf/ev-poppler.cc: Implement search based on
3594 poppler_page_find_text(). Currently a bit crude since we remember
3595 all matches from all pages. Also, we grab the big document lock
3596 when we search since searching changes the underlying stream and
3597 thus conflicts with the rendering thread.
3599 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3600 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3601 (ev_view_find_previous): Fix some page indexes to be 0 based,
3602 offset rubber band by view offset,
3604 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3606 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3608 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3610 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3611 completely because I didn't understand GtkActions. I should
3612 read Marco's code more carefully in the future.
3614 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3617 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3619 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3620 PopplerRectangle change from poppler CVS.
3622 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3624 * backend/ev-document.c: (ev_document_get_page_label):
3625 * backend/ev-document.h:
3626 * backend/ev-page-cache.c: (_ev_page_cache_new),
3627 (ev_page_cache_get_page_label):
3628 * backend/ev-page-cache.h:
3629 * pdf/ev-poppler.cc:
3630 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3631 (links_page_num_func):
3632 * shell/ev-sidebar-thumbnails.c:
3633 (ev_sidebar_thumbnails_set_document):
3634 * shell/ev-view.c: (status_message_from_link),
3635 (ev_view_motion_notify_event):
3636 * shell/ev-window.c: (document_supports_sidebar): Add in page
3637 label support. It's not perfect yet, but it's the first 'feature'
3639 Also, fix a bogus comment noticed by crispin.
3641 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3643 * Makefile.am: Remove pixbuf backend for now
3645 * configure.ac: Require poppler-glib instead of just poppler.
3647 * backend/ev-document-thumbnails.h: Add a comment
3649 * backend/ev-document.h:
3650 * backend/ev-document.c: (ev_document_class_init),
3651 (ev_document_load), (ev_document_get_link),
3652 (ev_document_get_links): Remove 3 methods and add get_links.
3655 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3656 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3658 * backend/ev-link.c: (ev_link_set_title),
3659 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3660 (ev_link_mapping_find):
3661 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3663 * backend/ev-page-cache.c: (ev_page_cache_init),
3664 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3665 (ev_page_cache_get_size), (ev_page_cache_next_page),
3666 (ev_page_cache_prev_page): Fix to be 0 based.
3670 * pdf/ev-poppler.cc: New backend.
3672 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3673 (ps_document_get_page), (ps_document_document_iface_init):
3675 * shell/ev-pixbuf-cache.h:
3676 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3677 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3678 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3679 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3680 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3681 Fix up code to grab a page cache per each doc. Also, fix to be 0
3684 * shell/ev-sidebar-thumbnails.c:
3685 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3686 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3688 * shell/ev-view.c: (status_message_from_link),
3689 (find_page_at_location), (get_link_at_location),
3690 (ev_view_motion_notify_event), (ev_view_button_release_event),
3691 (ev_view_init): Use the new link code. Fix to be 0 based.
3693 * shell/ev-window.c: (update_action_sensitivity),
3694 (document_supports_sidebar): 0 based.
3696 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3698 * pdf/pdf-document.cc: Patch from Fernando Herrera
3699 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3702 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3704 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3705 1 to the page, as this seems to be 1 based. I thought we has this
3708 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3711 * backend/Makefile.am:
3712 * backend/ev-document-links.c:
3713 (ev_document_links_has_document_links),
3714 (ev_document_links_get_links_model):
3715 * backend/ev-document-links.h:
3716 * backend/ev-document.c: (ev_document_get_page_cache),
3717 (ev_document_get_doc_mutex), (ev_document_load),
3718 (ev_document_save), (ev_document_get_title),
3719 (ev_document_get_n_pages), (ev_document_set_page),
3720 (ev_document_get_page), (ev_document_set_target),
3721 (ev_document_set_scale), (ev_document_set_page_offset),
3722 (ev_document_get_page_size), (ev_document_get_text),
3723 (ev_document_get_link), (ev_document_render),
3724 (ev_document_render_pixbuf), (ev_document_scale_changed):
3725 * backend/ev-document.h:
3726 * backend/ev-job-queue.c: (remove_object_from_queue),
3727 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3728 (no_jobs_available_unlocked), (ev_render_thread),
3729 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3730 (ev_job_queue_remove_job):
3731 * backend/ev-job-queue.h:
3732 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3733 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3734 (ev_job_links_class_init), (ev_job_render_init),
3735 (ev_job_render_dispose), (ev_job_render_class_init),
3736 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3737 (ev_job_thumbnail_class_init), (ev_job_finished),
3738 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3739 (ev_job_render_run), (ev_job_thumbnail_new),
3740 (ev_job_thumbnail_run):
3741 * backend/ev-jobs.h:
3742 * backend/ev-link.c:
3743 * backend/ev-link.h:
3744 * backend/ev-page-cache.c: (ev_page_cache_init),
3745 (ev_page_cache_class_init), (ev_page_cache_finalize),
3746 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3747 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3748 (ev_page_cache_set_link), (ev_page_cache_get_title),
3749 (ev_page_cache_get_size), (ev_page_cache_next_page),
3750 (ev_page_cache_prev_page):
3751 * backend/ev-page-cache.h:
3752 * pdf/pdf-document.cc:
3755 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3756 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3757 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3758 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3759 (is_interpreter_ready), (output), (catchPipe), (input),
3760 (start_interpreter), (check_filecompressed), (compute_dimensions),
3761 (ps_document_enable_interpreter), (document_load),
3762 (ps_document_next_page), (render_page), (ps_document_set_page),
3763 (ps_document_set_scale), (render_pixbuf_idle),
3764 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3766 * shell/Makefile.am:
3767 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3768 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3769 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3770 (ev_pixbuf_cache_new), (job_finished_cb),
3771 (check_job_size_and_unref), (move_one_job),
3772 (ev_pixbuf_cache_update_range), (find_job_cache),
3773 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3774 (ev_pixbuf_cache_add_jobs_if_needed),
3775 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3776 * shell/ev-pixbuf-cache.h:
3777 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3778 (idle_print_handler):
3779 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3780 (selection_changed_cb), (create_loading_model),
3781 (ev_sidebar_links_construct), (links_page_num_func),
3782 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3783 (update_page_callback), (job_finished_cb),
3784 (ev_sidebar_links_set_document):
3785 * shell/ev-sidebar-thumbnails.c:
3786 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3787 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3788 (page_changed_cb), (thumbnail_job_completed_callback),
3789 (ev_sidebar_thumbnails_set_document):
3790 * shell/ev-sidebar-thumbnails.h:
3791 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3792 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3793 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3794 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3795 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3796 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3797 (ev_view_button_release_event), (ev_view_scroll_view),
3798 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3799 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3800 (ev_view_new), (job_finished_cb), (page_changed_cb),
3801 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3802 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3803 (ev_view_find_previous):
3805 * shell/ev-window.c: (update_action_sensitivity),
3806 (ev_window_open_page), (update_window_title), (update_total_pages),
3807 (page_changed_cb), (ev_window_setup_document),
3808 (password_dialog_response), (ev_window_cmd_save_as),
3809 (ev_window_print), (ev_window_cmd_go_previous_page),
3810 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3811 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3812 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3813 * shell/main.c: (main):
3815 Merge evince-threads branch
3817 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3819 * configure.ac: Added "lt" to ALL_LINGUAS.
3821 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3828 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3830 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3832 Fix here also the thumbnails 1-basedness :)
3834 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3841 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3843 * pdf/pdf-document.cc:
3844 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3845 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3847 Fix the mess we did with thumbnails and 1-basedness
3849 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3851 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3853 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3860 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3863 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3864 (gtk_gs_defaults_get_alpha_parameters),
3865 (gtk_gs_defaults_get_ungzip_cmd),
3866 (gtk_gs_defaults_get_unbzip2_cmd):
3868 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3869 (ps_document_get_orientation), (document_load),
3870 (ps_document_goto_page), (ps_document_set_page_size):
3873 Some more sanitization of the ps backend. Remove a lot
3874 of unused code and do not base our defaults on ggv
3877 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3879 * thumbnailer/evince-thumbnailer.schemas:
3880 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3881 (main): add -s option for thumbnail size.
3883 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3887 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3890 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3892 * pdf/pdf-document.cc:
3894 Remove 4 pixels of useless border from the
3897 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3899 * backend/ev-document-thumbnails.c:
3900 (ev_document_thumbnails_get_thumbnail):
3901 * backend/ev-document-thumbnails.h:
3903 Rework API a bit. Add a border flag and
3904 change sizing logic (now the size we specify
3905 applies to the bigger dimension).
3907 * pdf/pdf-document.cc:
3908 * pixbuf/pixbuf-document.c:
3909 (pixbuf_document_thumbnails_get_thumbnail):
3910 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3911 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3913 Adapt to the new API and do not draw a border for nautilus
3916 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3918 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3919 take thumbnails from page "0" instead of "1". Added a copyright header.
3921 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3923 * ps/ps-document.c: (set_up_page), (start_interpreter):
3925 Make it C89 compliant
3927 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3932 * pdf/pdf-document.cc:
3933 * thumbnailer/Makefile.am:
3934 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3936 * thumbnailer/evince-thumbnailer.schemas:
3937 * thumbnailer/pdf-icon.png:
3939 Add a nautilus thumbnailer.
3940 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3942 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3950 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3952 Use poppler instead of including xpdf source code. Poppler is a
3953 fork of xpdf to build it as a shared library. See
3954 http://freedesktop.org/wiki/Software/poppler.
3956 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3959 * pdf/Makefile.am: Build libpdfdocument.a here.
3961 * pdf/GDKSplashOutputDev.cc:
3962 * pdf/GDKSplashOutputDev.h:
3963 * pdf/GnomeVFSStream.cc:
3964 * pdf/GnomeVFSStream.h:
3967 * test-gdk-output-dev.cc
3969 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3972 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3974 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3976 Clear idle stack before unsetting the document
3978 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3980 * ps/ps-document.c: (ps_document_widget_event),
3981 (ps_document_set_target), (ps_document_finalize),
3982 (ps_document_get_page):
3984 Disconnect the widget event signal on finalize.
3987 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3989 * ps/ps-document.c: (set_up_page):
3991 If there is no bpixmap create one, even if size
3994 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3996 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3997 (set_up_page), (document_load), (ps_document_set_zoom):
3999 Default page is 0. Calculate size even when we have no
4002 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4004 * shell/ev-sidebar.c: expand the selection widget to be always as
4007 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4009 * shell/ev-sidebar-thumbnails.c:
4010 (ev_sidebar_thumbnails_set_document):
4012 Clear the list store when setting document
4014 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4016 * shell/ev-page-action.c: (update_entry), (sync_entry),
4017 (activate_cb), (entry_size_request_cb), (create_tool_item),
4020 Use an entry for the page control instead of spinbuttons
4022 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4024 * data/evince.schemas.in:
4026 Correct confusing string
4028 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4030 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4031 for real. Gosh, how long has this been broken.
4033 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4034 check for a NULL link. We crash otherwise.
4036 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4043 2005-02-25 Sebastien Bacher <seb128@debian.org>
4045 * configure.ac: add the french translation.
4047 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4049 * shell/ev-window.c:
4051 Remove unused header -> fix distcheck
4053 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4055 * shell/ev-window.c: (update_window_title),
4056 (ev_window_popup_password_dialog):
4058 Unescape filename for display
4060 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4062 * pdf/xpdf/pdf-document.cc:
4064 In get_page_size deal with rotation. Also
4065 cleanup the function a bit.
4067 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4069 * pdf/xpdf/pdf-document.cc:
4071 Fix crash when opening in new window
4073 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4077 Check ghostscript >= 7
4079 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4081 * shell/ev-window.c:
4083 Make page width the default sizing mode
4085 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4086 Marco Pesenti Gritti <marco@gnome.org>
4088 * shell/ev-window.c: Remember the sidebar size
4090 * data/evince.schemas.in: Add a new gconf key to store the size of
4093 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4095 * data/evince-ui.xml:
4096 * shell/ev-window.c: (update_action_sensitivity),
4097 (ev_window_cmd_view_reload):
4099 Add a "Reload" action and menu entry
4101 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4103 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4104 iff the type doesn't support thumbnailing and indexing.
4106 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4108 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4110 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4112 * pdf/splash/Splash.cc:
4114 Port fix for a crasher from kde bug
4115 http://bugs.kde.org/show_bug.cgi?id=97131
4117 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4119 * pdf/xpdf/pdf-document.cc:
4121 Return a link even if it's of an unrecognized
4122 type. Otherwise we go in an infinte cycle.
4124 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4126 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4127 (size_allocate_cb), (ev_window_set_sizing_mode):
4129 Update size when switching mode
4131 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4133 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4134 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4135 (ev_window_cmd_view_normal_size):
4137 Fix size toggle buttons behavior
4139 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4141 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4142 (doc_rect_to_view_rect), (ev_view_size_allocate),
4143 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4144 (scale_changed_callback):
4146 Do not cache offsets in size_allocate.
4148 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4150 * shell/ev-view.c: (ev_view_size_allocate):
4152 Calculate offsets before calling the parent
4153 class (which does a redraw)
4155 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4157 * pdf/xpdf/pdf-document.cc:
4159 Fix a crasher on exit. Unused code, put a TODO
4161 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4163 * backend/ev-document.c: (ev_document_class_init),
4164 (ev_document_page_changed), (ev_document_scale_changed):
4165 * backend/ev-document.h:
4167 Separate page/scale notifications
4169 * pdf/xpdf/pdf-document.cc:
4171 Emit the new signals.
4172 Do not display the pdf page in _render, do it
4173 when scale/page are requested.
4175 * ps/ps-document.c: (ps_document_set_zoom),
4176 (ps_document_widget_event):
4179 Emit the new signals.
4181 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4182 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4183 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4184 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4186 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4187 (ev_window_cmd_view_page_width), (size_allocate_cb),
4188 (ev_window_set_sizing_mode):
4190 Rework sizing to be pixel based.
4191 There are bugs but should be already way better.
4193 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4195 * shell/ev-window.c: (ev_window_init):
4197 Do not allow to shrink sidebar smaller then
4200 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4202 * shell/ev-sidebar.[ch]
4203 * shell/ev-window.c:
4205 Improved sidebar widget. Fixes #166683
4207 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4209 * shell/ev-view.c (update_find_status_message): Give translators
4210 more flexibility with ngettext plural handling.
4212 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4214 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4215 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4216 page when we get the page size.
4218 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4220 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4222 ps pages are 0 based, convert
4224 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4226 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4228 Initialize correct parent class. Set GError on document load
4230 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4232 * pdf/xpdf/pdf-document.cc:
4234 Fixup selection offset calculation
4236 * shell/ev-view.c: (view_rect_to_doc_rect),
4237 (doc_rect_to_view_rect), (ev_view_size_allocate),
4238 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4239 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4241 Store selection as document relative, so that zooming
4242 and offset changing doesnt break it.
4244 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4246 * shell/ev-view.c: (ev_view_best_fit):
4248 Do not try to best fit if the view is not realized
4250 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4252 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4254 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4256 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4258 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4260 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4261 the popup window. That prevents it resizing when in full screen
4264 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4265 multiple rerenders. This pretty much sucks.
4267 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4268 rest of the toolbar.
4270 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4272 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4274 2005-02-17 Alexander Shopov <ash@contact.bg>
4276 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4278 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4280 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4282 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4284 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4285 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4286 (set_document_page), (document_changed_callback),
4287 (ev_view_set_document), (ev_view_find_previous),
4288 (ev_view_hide_cursor), (ev_view_show_cursor):
4290 * shell/ev-window.c: (update_chrome_visibility),
4291 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4292 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4293 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4294 (ev_window_unfullscreen):
4295 * shell/main.c: (main):
4297 Automatically hide the fullscreen button.
4298 Patch by Kristian Høgsberg <krh@redhat.com>
4300 2005-02-16 Vincent Noel <vnoel@cox.net>
4302 * shell/main.c (main): Specify an icon for the window. Patch by
4303 Jaap A. Haitsma. Fixes #166177.
4305 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4307 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4309 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4311 * backend/ev-document-misc.h:
4312 * backend/ev-document-misc.c:
4313 (ev_document_misc_get_page_border_size),
4314 (ev_document_misc_paint_one_page): New function to canonicalize
4315 sizing/painting a border.
4317 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4320 * pdf/xpdf/pdf-document.cc: use new function
4322 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4323 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4324 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4325 shell/ev-window.c: (update_sizing_buttons),
4326 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4327 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4328 (ev_window_cmd_view_page_width), (size_allocate_cb),
4329 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4330 and "fit width" values act as toggle buttons so they stay
4331 toggled. It's not 100% perfect, and it's a little slow, but it's
4332 good enough to commit I think.
4334 2005-02-15 David Lodge <dave@cirt.net>
4336 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4338 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4340 * shell/ev-window.c (update_window_title): replace newlines in
4341 the title by spaces. Bug #166107.
4343 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4345 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4346 parameters providing allocation width and height without
4347 scrollbars and width of a possible vertical scrollbar. With this
4348 additional information the functions can work as
4349 intended. Unfortunately they're not idempotent. We should
4350 transform these commands to toggles. Fixes Bug #164976
4351 Initial patch by Stephane Loeuillet, then heavily modified.
4353 * shell/ev-view.h: update prototypes.
4355 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4356 (ev_window_cmd_view_page_width): provide EvView fit functions with
4357 all the information they need. Formulas to calculate this
4358 information taken from GtkScrolledWindow.
4360 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4362 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4363 created a thumbnail, the list store is updated to know
4364 that the thumbnail is set. Fixes bug #166792
4366 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4368 * shell/ev-window.c: fixed typo, closes bug 166897
4370 * TODO: updated TODO with bug numbers that are relevant
4372 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4374 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4376 2005-02-09 Vincent Noel <vnoel@cox.net>
4378 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4379 and "Next" toolbar buttons as important to make them stand out.
4381 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4385 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4386 (start_interpreter), (stop_interpreter), (document_load),
4387 (ps_document_next_page), (ps_document_goto_page),
4388 (ps_document_set_page_size), (ps_document_widget_event),
4389 (ps_document_render):
4390 * shell/ev-page-view.c: (ev_page_view_dispose):
4391 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4393 Fix compilation on non-gcc platforms
4395 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4402 * pdf/xpdf/Catalog.cc:
4405 Fix the fix for CAN-2004-0888
4407 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4410 * data/evince-ui.xml:
4411 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4412 * shell/ev-stock-icons.h:
4413 * shell/ev-window.c: (update_action_sensitivity),
4414 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4415 (set_action_properties):
4417 Improve toolbar layout/icons
4419 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4421 * pdf/xpdf/pdf-document.cc:
4423 Add warnings about unimplemented/unknown link
4426 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4428 * ps/ps-document.c: (set_up_page):
4432 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4434 * ps/ps-document.c: (start_interpreter):
4438 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4440 * shell/ev-page-view.c: (ev_page_view_dispose):
4441 * shell/ev-view.c: (ev_view_finalize):
4442 * shell/ev-window.c: (ev_window_setup_document),
4443 (ev_window_dispose), (ev_window_init):
4445 Solve more refs issues.
4447 I commented out the page_view initialization for now:
4448 it was never destroyed (because it's never added
4449 to a container). Because of that we was leaking
4450 gs processes. Couldnt think to a clean fix.
4451 We need to figure this out, password view has the
4452 same issue probably.
4454 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4456 * ps/ps-document.c: (ps_document_finalize),
4457 (ps_document_get_n_pages), (ps_document_get_page):
4459 Some cleanups, stop the interpreter on finalize
4461 * shell/ev-page-view.c: (ev_page_view_dispose),
4462 (ev_page_view_class_init):
4464 Release our reference on the document
4466 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4470 * doc/debugging.txt:
4473 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4474 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4475 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4478 Add debugging helpers
4481 * ps/ps-document.c: (set_up_page), (start_interpreter),
4482 (stop_interpreter), (document_load), (ps_document_next_page),
4483 (ps_document_goto_page), (ps_document_set_page_size),
4484 (ps_document_widget_event), (ps_document_render):
4485 * shell/Makefile.am:
4486 * shell/ev-view.c: (expose_bin_window):
4487 * shell/main.c: (main):
4491 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4493 * ps/ps-document.c: (ps_document_widget_event):
4495 Initialize message_window, this should make ps
4496 rendering really work! (Never noticed because I was
4497 testing with a ps that is causing gs to exit every time!)
4499 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4501 * data/evince.schemas.in: updated simple error in applyto closing tag
4503 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4509 * data/evince-ui.xml:
4510 A data/evince.schemas.in:
4512 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4513 * shell/ev-stock-icons.h:
4514 * shell/ev-window.c: (update_chrome_visibility),
4515 (update_chrome_flag), (ev_window_cmd_edit_find),
4516 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4517 (ev_window_unfullscreen), (ev_window_focus_in_event),
4518 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4519 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4520 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4521 (ev_window_dispose), (ev_window_class_init),
4522 (set_action_properties), (set_chrome_actions), (load_chrome),
4525 Implement fullscreen mode changes from bug #164776.
4526 Also implement persistent chrome toggles.
4528 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4530 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4532 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4538 Add another check for find interface
4542 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4544 * shell/ev-application.c: (ev_application_open):
4545 * shell/ev-window.c: (ev_window_open):
4547 Open gzipped ps documents
4549 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4552 * shell/ev-view.c: (set_document_page):
4554 Clamp page number, dont try to move to
4557 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4559 * backend/ev-document-find.c: (ev_document_find_changed):
4560 * backend/ev-document-find.h:
4561 * pdf/xpdf/pdf-document.cc:
4562 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4563 * shell/ev-window.c: (find_bar_search_changed_cb):
4565 Fix several bugs with find
4567 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4569 * shell/ev-sidebar-thumbnails.c
4570 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4571 document. Prevents warning from scroll_to_cell.
4573 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4575 * configure.ac: Add «nb» to ALL_LINGUAS too.
4577 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4579 * NOTES: New file with some random thoughts.
4583 * backend/ev-document-misc.c:
4584 (ev_document_misc_get_page_border_size): New function to
4585 canonicalize shadow drawing sizes. Possibly goofy.
4587 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4588 (ev_view_best_fit), (ev_view_fit_width):
4589 * pdf/xpdf/pdf-document.cc:
4590 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4591 * ps/ps-document.c: (ps_document_get_page_size):
4592 * backend/ev-document-misc.h:
4593 * backend/ev-document.c: (ev_document_get_page_size):
4594 * backend/ev-document.h: get_page_size now takes a page number
4595 parameter. Made all the backends/frontends honor it.
4597 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4598 see. Doesn't work yet.
4600 * shell/Makefile.am:
4601 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4602 Doesn't do anything yet.
4604 * shell/ev-sidebar-thumbnails.c:
4605 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4608 * shell/ev-window.c: (update_action_sensitivity),
4609 (ev_window_setup_document), (ev_window_set_page_mode),
4610 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4611 view-swapping code a bit so we can have multiple views on a
4612 document. Add the multi-page view, though it can't be turned on
4615 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4617 * shell/ev-application.c: (ev_application_open):
4618 * shell/ev-view.c: (expose_bin_window):
4619 * shell/ev-window.c: (ev_window_open):
4621 Support eps and check document supports find
4622 before drawing highlightings in expose.
4624 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4626 * pixbuf/pixbuf-document.c:
4627 (pixbuf_document_thumbnails_get_dimensions),
4628 (pixbuf_document_document_thumbnails_iface_init):
4630 implement get_dimensions
4632 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4639 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4641 * shell/ev-view.c: (set_document_page):
4643 Scroll at the top of the page when changing page
4645 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4647 * shell/ev-view.c: (ev_view_motion_notify_event):
4649 Do not redraw unnecessarily
4651 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4653 * pdf/xpdf/pdf-document.cc:
4654 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4655 (expose_bin_window), (find_changed_cb):
4657 Yay! find works now... Now to find bugs...
4659 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4661 * backend/ev-document-find.c: (ev_document_find_base_init),
4662 (ev_document_find_changed):
4663 * backend/ev-document-find.h:
4664 * pdf/xpdf/pdf-document.cc:
4665 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4666 (expose_bin_window), (ev_view_init), (set_document_page),
4667 (ensure_rectangle_is_visible), (jump_to_find_result),
4668 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4669 (ev_view_find_next), (ev_view_find_previous):
4671 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4673 More work on find implementation, mostly there now
4675 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4677 * backend/ev-backend-marshalers.list:
4678 * backend/ev-document-find.c: (ev_document_find_base_init),
4679 (ev_document_find_cancel), (ev_document_find_page_has_results),
4680 (ev_document_find_get_n_results), (ev_document_find_get_result),
4681 (ev_document_find_get_progress), (ev_document_find_changed):
4682 * backend/ev-document-find.h:
4684 Enanche the find interface to be really able to do
4687 * pdf/xpdf/pdf-document.cc:
4691 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4692 (expose_bin_window), (ev_view_init),
4693 (ev_view_get_find_status_message), (find_changed_cb),
4694 (ev_view_set_document), (set_document_page):
4696 Adapt to the new interface. A few things are regressed sorry,
4697 I will finish it soon.
4699 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4701 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4702 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4703 ev_sidebar_thumbnails_parent_class variable, don't define another
4704 parent_class variable.
4706 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4707 (ev_page_action_class_init): ditto.
4709 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4710 (pixbuf_document_class_init): ditto.
4712 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4715 * .cvsignore: ignore various valgrind output files.
4717 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4719 * data/evince-ui.xml:
4720 * shell/Makefile.am:
4721 * shell/ev-history.c:
4722 * shell/ev-history.h:
4723 * shell/ev-navigation-action.c:
4724 * shell/ev-navigation-action.h:
4725 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4726 (ev_view_set_page), (ev_view_fit_width):
4728 * shell/ev-window.c: (update_action_sensitivity),
4729 (ev_window_setup_document), (register_custom_actions):
4731 Kill session history
4733 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4735 * shell/ev-window.c: (update_action_sensitivity):
4737 Fix inverted up/down buttons
4739 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4741 * shell/ev-sidebar-thumbnails.c
4742 (ev_sidebar_thumbnails_select_page): make sure the selected
4743 thumbnail stays visible.
4745 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4747 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4748 scrolled window for Federico.
4750 2005-01-26 Ole Laursen <olau@hardworking.dk>
4752 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4754 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4757 * pdf/splash/SplashFTFontEngine.cc:
4759 Fix CID fonts with freetype 2.1.9
4761 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4763 * TODO: added item for desktop icon thumbnailer
4765 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4767 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4768 unloaded docs when the title is accessed.
4770 * shell/ev-password-view.[hc]: New widget for displaying password
4773 * shell/ev-window.[ch]: Refactor password handling code to handle
4776 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4784 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4786 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4787 ignore page offset here, to make search results independent of it,
4789 * shell/ev-view.c (expose_bin_window): but take offsets into
4790 account here. Bug #164932
4792 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4793 scale at the right time. Bug #164996
4795 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4797 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4798 fix the problem. Now I just removed the Adobe font names and hope
4799 that the URW fonts are always in outline format. Bug #164934
4801 * shell/ev-window.c (update_window_title): empty titles are
4802 useless, use filename in that case too.
4804 * NEWS: Add some content.
4806 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4808 * TODO: added one more TODO item and a TODONE section :)
4810 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4812 * ps/ps-document.h: add page_[xy]_offset fields.
4814 * ps/ps-document.c (ps_document_set_page_offset)
4815 (ps_document_render): Keep offset in consideration in a few
4816 places. Bug #164752 "postscript documents are not centered in
4819 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4820 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4822 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4823 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4824 stub out missing methods for complete EvDocument implementation.
4825 Fixes segfaults with Save A Copy and Copy actions.
4827 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4828 (ps_document_document_iface_init): ditto.
4830 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4834 * data/evince.desktop.in:
4838 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4840 * shell/ev-view.c: (ev_view_button_press_event),
4841 (ev_view_motion_notify_event):
4843 Make selection work in any direction
4845 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4848 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4850 Use shorter labels for some of the toolbars items
4852 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4854 * pdf/xpdf/pdf-document.cc:
4856 Check the links info is initialized before
4857 using it. Should fix a crash on startup.
4859 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4861 * pixbuf/pixbuf-document.c
4862 (pixbuf_document_thumbnails_get_dimensions): force floating point
4863 division to calculate page_ratio. Fixes crash with landscape
4866 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4868 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4870 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4872 * shell/ev-view.c (set_document_page): unset has_selection when
4874 (set_document_page): handle paper size changes when the page
4875 changes (test with Free Culture, page 2).
4877 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4879 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4880 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4882 Use normal style color for the widget background and
4883 draw a black box around the page.
4885 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4887 * pdf/xpdf/pdf-document.cc:
4889 Keep offset in consideration in a few places
4891 * shell/ev-view.c: (expose_bin_window):
4893 Set the offsets so that the document is ever centered
4895 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4897 * TODO: Added TODO items and finished off the first todo item
4899 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4900 reflect current authors
4902 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4904 * pdf/xpdf/pdf-document.cc:
4905 * shell/ev-view.c: (ev_view_set_cursor),
4906 (ev_view_motion_notify_event), (document_changed_callback),
4907 (set_document_page):
4909 Show a wait cursor while the page is rendering
4911 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4913 * shell/ev-sidebar-thumbnails.c:
4914 (ev_sidebar_tree_selection_changed),
4915 (ev_sidebar_thumbnails_select_page):
4916 * shell/ev-sidebar-thumbnails.h:
4917 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4918 (ev_view_can_go_forward):
4919 * shell/ev-window.c: (ev_window_open_page),
4920 (ev_window_setup_document), (update_current_page),
4921 (view_page_changed_cb), (ev_window_init):
4922 * shell/ev-window.h:
4924 Ensure thumbnails selection, toolbar page control and
4925 current page are in sync.
4927 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4933 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4935 * backend/Makefile.am:
4936 * backend/ev-document-links.h:
4937 * backend/ev-document-security.c: (ev_document_security_get_type),
4938 (ev_document_security_has_document_security),
4939 (ev_document_security_set_password):
4940 * backend/ev-document-security.h:
4941 * backend/ev-document.c: (ev_document_error_quark):
4942 * backend/ev-document.h:
4944 * data/evince-password.glade:
4945 * pdf/xpdf/pdf-document.cc:
4946 * shell/Makefile.am:
4947 * shell/ev-password.c: (ev_password_set_bad_password_label),
4948 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4949 (ev_password_dialog_get_password),
4950 (ev_password_dialog_set_bad_pass):
4951 * shell/ev-password.h:
4952 * shell/ev-window.c: (ev_window_get_attribute),
4953 (ev_window_set_property), (update_action_sensitivity),
4954 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4955 (ev_window_setup_document), (ev_window_get_password),
4956 (ev_window_open), (ev_window_cmd_save_as),
4957 (using_postscript_printer), (ev_window_print),
4958 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4959 (update_fullscreen_popup), (ev_window_fullscreen),
4960 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4961 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4962 (menu_item_select_cb), (find_bar_search_changed_cb),
4963 (ev_window_dispose), (ev_window_init):
4965 Add initial support for password-supported dialogs. This could be
4966 a lot cooler, but it'll do for now.
4968 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4970 * pdf/xpdf/pdf-document.cc:
4971 * shell/ev-view.c: (status_message_from_link),
4972 (ev_view_set_status), (ev_view_set_cursor),
4973 (ev_view_motion_notify_event), (ev_view_init):
4974 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4976 Fix bugs in the links implementation and change cursor
4977 when hovering a link.
4979 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4981 * viewer/.cvsignore: added cvsignore file for viewer directory
4983 * TODO: created TODO document
4985 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4988 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4989 new functions to help with implementation of sensitivity code
4990 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4991 of all actions that might require it. Fixes a crash when you
4992 click on the Zoom actions in a window lacking a document.
4994 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4996 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4999 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5001 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5002 (pixbuf_document_document_iface_init):
5003 * ps/ps-document.c: (ps_document_get_link),
5004 (ps_document_document_iface_init):
5005 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5006 (status_message_from_link), (ev_view_set_status),
5007 (ev_view_set_find_status), (ev_view_motion_notify_event),
5008 (ev_view_button_release_event), (ev_view_set_property),
5009 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5010 (ev_view_get_find_status_message), (update_find_results),
5011 (ev_view_get_status), (ev_view_get_find_status):
5013 * shell/ev-window.c: (view_status_changed_cb),
5014 (view_find_status_changed_cb), (ev_window_init):
5016 View status message support, use it to show the links.
5019 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5021 * backend/ev-document.c: (ev_document_get_link):
5022 * backend/ev-document.h:
5023 * pdf/xpdf/pdf-document.cc:
5024 * shell/ev-application.c: (ev_application_open):
5025 * shell/ev-application.h:
5026 * shell/ev-sidebar-links.c: (selection_changed_cb):
5027 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5028 (ev_view_go_to_link):
5030 Add support for document links
5032 2005-01-13 Anders Carlsson <andersca@gnome.org>
5034 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5036 Set the spin button limits correctly.
5038 * shell/ev-sidebar-thumbnails.c:
5039 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5040 Support changing pages by clicking on the thumbnails.
5042 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5044 * pixbuf/pixbuf-document.c:
5045 (pixbuf_document_thumbnails_get_dimensions),
5046 (pixbuf_document_document_thumbnails_iface_init):
5048 implement get_dimensions
5050 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5052 * ps/ps-document.c: (ps_document_goto_page):
5054 Fix page switching on multipage documents
5056 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5058 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5060 check for NULL before assigning to width and height parameters
5062 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5064 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5065 (pixbuf_document_set_property), (pixbuf_document_get_property):
5067 implement get/set properties
5069 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5071 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5073 return NULL instead of "Unknown", letting the title get set to
5074 the filename when the pdf has no title.
5076 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5078 * ps/ps-document.c: (ps_document_get_page_count),
5079 (ps_document_goto_page):
5081 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5083 * shell/ev-history.c: (ev_history_get_property),
5084 (ev_history_set_property), (ev_history_class_init),
5085 (ev_history_add_page), (ev_history_set_current_index):
5086 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5087 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5088 (ev_navigation_action_finalize):
5089 * shell/ev-navigation-action.h:
5090 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5091 (ev_view_go_forward), (ev_view_get_find_status_message),
5092 (history_index_changed_cb), (ev_view_set_history):
5094 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5095 (update_current_page), (register_custom_actions):
5097 Implement history dropdowns
5099 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5101 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5102 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5103 (ev_view_go_forward):
5104 * shell/ev-window.c: (register_custom_actions):
5106 Fix several history bugs
5108 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5110 * configure.ac: Add «nb» to ALL_LINGUAS.
5112 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5114 * backend/Makefile.am:
5115 * backend/ev-bookmark.c:
5116 * backend/ev-bookmark.h:
5117 * backend/ev-document-bookmarks.c:
5118 * backend/ev-document-bookmarks.h:
5119 * backend/ev-document-links.c: (ev_document_links_get_type),
5120 (ev_document_links_has_document_links),
5121 (ev_document_links_begin_read), (ev_document_links_get_link),
5122 (ev_document_links_get_child), (ev_document_links_next),
5123 (ev_document_links_free_iter):
5124 * backend/ev-document-links.h:
5125 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5126 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5127 (ev_link_get_link_type), (ev_link_set_link_type),
5128 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5129 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5130 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5131 (ev_link_new_external):
5132 * backend/ev-link.h:
5133 * pdf/xpdf/pdf-document.cc:
5134 * shell/Makefile.am:
5135 * shell/ev-application.c: (ev_application_open_link):
5136 * shell/ev-application.h:
5137 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5138 (ev_history_get_link_nth):
5139 * shell/ev-history.h:
5140 * shell/ev-sidebar-bookmarks.c:
5141 * shell/ev-sidebar-bookmarks.h:
5142 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5143 (ev_sidebar_links_class_init), (selection_changed_cb),
5144 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5145 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5146 (do_one_iteration), (populate_links_idle),
5147 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5148 * shell/ev-sidebar-links.h:
5149 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5150 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5153 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5154 * shell/ev-window.h:
5156 Rename bookmark to link, and use "Index" for the sidebar panel.
5158 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5160 * shell/Makefile.am:
5161 * shell/ev-application.c: (ev_application_open_bookmark):
5162 * shell/ev-application.h:
5163 * shell/ev-history.c: (ev_history_init), (free_links_list),
5164 (ev_history_finalize), (ev_history_class_init),
5165 (ev_history_add_link), (ev_history_add_page),
5166 (ev_history_get_link_nth), (ev_history_get_n_links),
5167 (ev_history_get_current_index), (ev_history_set_current_index),
5169 * shell/ev-history.h:
5170 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5171 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5172 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5173 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5176 * shell/ev-window.c: (ev_window_open_bookmark),
5177 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5178 (goto_page_cb), (register_custom_actions):
5179 * shell/ev-window.h:
5181 Initial history implementation. Needs work.
5183 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5185 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5187 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5189 * cut-n-paste/recent-files/egg-recent-item.c:
5190 * cut-n-paste/recent-files/egg-recent-item.h:
5191 * cut-n-paste/recent-files/egg-recent-model.c:
5192 * cut-n-paste/recent-files/egg-recent-util.c:
5193 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5194 * cut-n-paste/recent-files/egg-recent-view.c:
5198 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5200 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5201 (fillGlyph, fillImageMask, drawImage):
5202 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5203 pdf/splash/SplashTypes.h:
5204 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5205 packed mode for Splash.
5207 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5208 RGB8 packed mode, eliminates the pixbuf data creation loop.
5210 * shell/ev-print-job.c (ev_print_job_finalize)
5211 (ev_print_job_set_property, ev_print_job_get_property)
5212 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5213 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5214 (print_closure_finalize, ev_print_job_print): implement
5215 printing (for backends with EvPsExporter)
5217 * shell/ev_print_job.h: update prototypes.
5219 * shell/ev-window.c (ev_window_print): unref print job after
5222 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5223 unless the document implements the EvDocumentFind interface.
5225 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5227 * configure.ac: Added ja to ALL_LINGUAS.
5229 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5231 * pdf/xpdf/pdf-document.cc:
5233 add a FIXME. We should probably not allocate
5234 a bookmark object every time
5236 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5238 * shell/ev-application.c: (ev_application_open),
5239 (ev_application_open_bookmark):
5240 * shell/ev-application.h:
5242 Add a way to open bookmarks
5244 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5245 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5246 (ev_bookmark_set_property), (ev_bookmark_class_init),
5247 (ev_bookmark_new_title), (ev_bookmark_new_link),
5248 (ev_bookmark_new_external):
5250 Support for external uris, better constructors.
5252 * backend/ev-bookmark.h:
5253 * pdf/xpdf/pdf-document.cc:
5254 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5256 Handle external uris
5258 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5260 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5261 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5263 Hook up bookmarks navigation
5265 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5267 * backend/Makefile.am:
5268 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5269 (ev_bookmark_get_title), (ev_bookmark_set_title),
5270 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5271 (ev_bookmark_get_page), (ev_bookmark_set_page),
5272 (ev_bookmark_get_property), (ev_bookmark_set_property),
5273 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5275 * backend/ev-bookmark.h:
5276 * backend/ev-document-bookmarks.c:
5277 (ev_document_bookmarks_get_bookmark):
5278 * backend/ev-document-bookmarks.h:
5279 * pdf/xpdf/pdf-document.cc:
5280 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5282 Add a bookmark object to the backend and use it instead of get_values
5284 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5286 * data/evince-ui.xml:
5288 Cleanup and add select all.
5290 * shell/ev-view.c: (ev_view_select_all),
5291 (ev_view_button_press_event):
5293 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5296 Clear selection on click.
5298 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5300 * shell/ev-sidebar-thumbnails.c
5301 (ev_sidebar_thumbnails_set_document): forgot to unref the
5304 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5306 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5307 at the visible page, not just linearly. This makes it look fast.
5309 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5311 * backend/ev-document-misc.c
5312 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5314 * backend/ev-document-thumbnails.h: New interface to get the size
5317 2005-01-06 Jeremy Katz <katzj@redhat.com>
5319 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5322 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5324 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5325 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5328 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5330 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5332 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5333 fonts. Should fix font problems on systems that have the base
5334 fonts in bitmap format. Reported by James Henstridge
5335 <james@jamesh.id.au>.
5337 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5340 * pdf/xpdf/GfxState.cc:
5342 Fix for CAN-2004-1125
5344 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5346 * shell/ev-view.c: (ev_view_copy):
5348 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5350 Implement Edit->Copy
5352 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5354 * backend/ev-document.c: (ev_document_get_text):
5355 * backend/ev-document.h:
5356 * pdf/xpdf/pdf-document.cc:
5357 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5358 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5359 (ev_view_update_primary_selection), (ev_view_button_press_event),
5360 (ev_view_motion_notify_event), (ev_view_button_release_event):
5362 Beginnings of clipboard support. Incomplete but primary sort
5365 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5367 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5368 (expose_bin_window):
5370 Nicer rubberband drawing, from GtkIconView.
5372 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5374 * backend/ev-document.c: (ev_document_save):
5375 * backend/ev-document.h:
5376 * data/evince-ui.xml:
5377 * pdf/xpdf/pdf-document.cc:
5378 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5380 Implement "Save a copy..." menu item
5382 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5384 * shell/ev-view.c: (ev_view_zoom):
5386 Queue a resize when zoom changes
5388 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5390 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5393 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5396 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5398 * pdf/xpdf/pdf-document.cc
5399 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5401 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5403 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5404 It's slow, but I'll speed it up next!
5406 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5408 * shell/main.c (load_files):
5410 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5411 from the command line and because it seems more appropriate.
5413 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5415 * data/evince-ui.xml:
5416 * shell/ev-window.c: (update_action_sensitivity),
5417 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5419 s/next page/page down
5420 s/previous page/page up
5422 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5424 * data/evince-ui.xml:
5426 Change the layout to match clarkbw design.
5428 * shell/Makefile.am:
5429 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5430 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5431 (ev_navigation_action_finalize),
5432 (ev_navigation_action_set_property),
5433 (ev_navigation_action_get_property),
5434 (ev_navigation_action_class_init):
5435 * shell/ev-navigation-action.h:
5437 Implement clarkbw toolbar navigation controls (incomplete)
5439 * shell/ev-page-action.c: (update_label), (update_spin),
5440 (value_changed_cb), (create_tool_item), (connect_proxy),
5441 (ev_page_action_init), (ev_page_action_finalize),
5442 (ev_page_action_set_property), (ev_page_action_get_property),
5443 (ev_page_action_set_current_page),
5444 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5445 * shell/ev-page-action.h:
5447 Implement a page switcher in the toolbar
5449 * shell/ev-view.c: (ev_view_scroll_view):
5450 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5451 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5452 (register_custom_actions), (ev_window_init):
5454 Change page on PageUp/Down.
5456 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5458 * pdf/xpdf/pdf-document.cc
5459 (pdf_document_thumbnails_get_thumbnail): initial stab at
5460 implementing thumbnail support for pdfs. It only does documents
5461 with precached pdfs now.
5463 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5465 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5466 thumbnail code into a time-based idle as well. Also, turn off the
5467 shadow temporarily as it's really slow.
5469 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5471 * backend/ev-document.c: (ev_document_class_init):
5472 * pdf/xpdf/pdf-document.cc:
5473 * shell/ev-window.c: (ev_window_open):
5475 Fix document title bugs and fallback to
5476 filename when not available.
5478 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5480 * backend/ev-document.c: (ev_document_get_type),
5481 (ev_document_class_init), (ev_document_load),
5482 (ev_document_get_title):
5483 * backend/ev-document.h:
5484 * pdf/xpdf/pdf-document.cc:
5485 * ps/ps-document.c: (ps_document_set_property),
5486 (ps_document_get_property), (ps_document_class_init),
5490 * shell/ev-window.c: (update_window_title), (ev_window_open),
5493 Initial support for document title. Not working yet.
5495 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5497 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5499 Grab focus on the view when clicking it
5501 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5503 * shell/ev-marshal.list:
5504 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5505 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5507 Add key bindings to the view. Now if the focus would work
5510 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5513 * backend/Makefile.am:
5516 * dvi/dvilib/Makefile.am:
5517 * pdf/xpdf/Makefile.am:
5523 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5525 * shell/ev-view.c: (ev_view_realize):
5527 Fix mouse wheel scrolling
5529 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5535 * ps/ps-document.c: (catchPipe), (ps_document_init),
5536 (ps_document_class_init), (ps_document_cleanup),
5537 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5538 (set_up_page), (close_pipe), (is_interpreter_ready),
5539 (interpreter_failed), (output), (input), (start_interpreter),
5540 (stop_interpreter), (file_length), (file_readable),
5541 (check_filecompressed), (check_pdf), (compute_xdpi),
5542 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5543 (ps_document_get_type), (ps_document_emit_error_msg),
5544 (document_load), (ps_document_next_page),
5545 (ps_document_get_current_page), (ps_document_get_page_count),
5546 (ps_document_goto_page), (ps_document_set_page_size),
5547 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5548 (ps_document_load), (ps_document_get_n_pages),
5549 (ps_document_set_page), (ps_document_get_page),
5550 (ps_document_widget_event), (ps_document_set_target),
5551 (ps_document_set_scale), (ps_document_set_page_offset),
5552 (ps_document_get_page_size), (ps_document_render),
5553 (ps_document_document_iface_init):
5556 * shell/ev-window.c: (ev_window_open):
5558 Rename GtkGS to PSDocument
5560 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5562 * ps/gtkgs.c: (gtk_gs_class_init):
5565 Some more leftover...
5567 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5569 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5570 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5571 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5574 Remove unused code and make a lot of stuff private
5576 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5578 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5579 (gtk_gs_defaults_changed):
5585 Cleanup headers dependencies
5587 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5592 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5594 * ps/gtkgs.c: (file_length), (file_readable),
5595 (check_filecompressed), (check_pdf), (gtk_gs_load),
5596 (gtk_gs_get_postscript):
5600 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5605 * ps/gtkgs.c: (gtk_gs_set_zoom):
5609 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5611 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5613 Ensure the page is rerendered when changing zoom
5615 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5617 * backend/ev-document.c: (ev_document_base_init),
5618 (ev_document_changed):
5619 * backend/ev-document.h:
5621 Add a changed event that is emitted when the page content
5622 changes. This is necessary to deal with the fact that
5623 in ps backend rendering happen asycrounously.
5624 This makes the ps backend mostly work.
5626 * pdf/xpdf/pdf-document.cc:
5630 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5631 (ps_document_set_target):
5635 * shell/ev-view.c: (document_changed_callback),
5636 (ev_view_set_document), (ev_view_set_page):
5638 Redraw on the changed signal
5640 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5642 * configure.ac: Added pt_BR to ALL_LINGUAS.
5644 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5646 * backend/ev-document-bookmarks.c:
5647 (ev_document_bookmarks_get_child): *
5648 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5649 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5650 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5651 (ev_sidebar_bookmarks_destroy),
5652 (ev_sidebar_bookmarks_class_init),
5653 (ev_sidebar_bookmarks_construct), (stack_data_free),
5654 (do_one_iteration), (populate_bookmarks_idle),
5655 (ev_sidebar_bookmarks_clear_document),
5656 (ev_sidebar_bookmarks_set_document): *
5657 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5658 (ev_sidebar_add_page),
5659 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5660 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5661 it displays both the topics and the page numbers.
5663 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5665 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5667 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5670 2004-12-23 Adam Weinberger <adamw@gnome.org>
5672 * configure.ac: Added en_CA to ALL_LINGUAS.
5674 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5676 * ChangeLog: replace bottom of this ChangeLog (merged history of
5677 ggv and gpdf; where all paths were wrong and most of the files are
5678 not even in this tree) with ChangeLog (from arch) of the shell
5681 2004-12-23 Havoc Pennington <hp@redhat.com>
5683 * shell/ev-window.c: hook up potentially-questionable "find
5684 results status text" feature - something involving the sidebar or
5685 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5686 might be better in the end.
5688 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5689 with corresponding signal when it should be updated
5691 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5693 2004-12-22 Havoc Pennington <hp@redhat.com>
5695 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5696 find stuff on other pages, sort of (only returns one result on
5697 invisible pages, to show they have results; updates full results
5698 for a page when you view it). Currently repaints the current page
5699 every time a new result is found on any page, which isn't so nice.
5701 2004-12-22 Havoc Pennington <hp@redhat.com>
5703 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5704 the document doesn't support find (better ideas?)
5705 (find_bar_search_changed_cb): handle missing document or document
5706 that doesn't support find
5708 * pdf/xpdf/pdf-document.cc: port to implement the new
5711 * backend/ev-document-find.c: create a new interface for searching
5713 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5715 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5717 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5720 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5721 EvPrintJob constructor arguments.
5723 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5724 for documents that can export PostScript (page by page).
5726 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5728 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5729 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5730 (pdf_document_ps_exporter_iface_init:
5731 Implement EvPSExporter.
5733 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5735 2004-12-22 Anders Carlsson <andersca@gnome.org>
5737 * backend/Makefile.am:
5738 * backend/ev-document-thumbnails.c:
5739 (ev_document_thumbnails_get_type),
5740 (ev_document_thumbnails_get_thumbnail):
5741 * backend/ev-document-thumbnails.h:
5742 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5743 (pixbuf_document_thumbnails_get_thumbnail),
5744 (pixbuf_document_document_thumbnails_iface_init):
5745 * shell/Makefile.am:
5746 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5747 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5748 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5749 * shell/ev-sidebar-thumbnails.h:
5750 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5751 (ev_sidebar_set_document):
5752 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5753 (create_shadow), (ev_pixbuf_add_shadow):
5755 Add thumbnail support.
5757 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5759 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5760 (using_postscript_printer): Set up a print dialog for "PostScript
5763 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5766 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5768 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5770 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5771 (ps_document_set_target), (ps_document_get_page_size),
5772 (ps_document_render):
5777 2004-12-22 Christian Rose <menthos@menthos.com>
5779 * configure.ac: Added "sv" to ALL_LINGUAS.
5781 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5783 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5784 document supports bookmarks.
5786 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5788 * ps/ggvutils.c: (ggv_file_readable):
5790 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5791 (gtk_gs_get_postscript):
5795 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5797 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5798 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5799 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5800 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5801 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5802 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5803 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5804 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5805 (gtk_gs_set_antialiasing), (ps_document_load),
5806 (ps_document_render):
5809 Another check point for the ps backend. Now I can get it to show
5812 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5814 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5815 document setting code.
5817 2004-12-22 Anders Carlsson <andersca@gnome.org>
5819 * shell/eggfindbar.c: (entry_activate_callback):
5820 Animate the next button when activate is pressed.
5822 2004-12-22 Anders Carlsson <andersca@gnome.org>
5824 * shell/ev-window.c: (ev_window_cmd_edit_find),
5825 (update_fullscreen_popup), (ev_window_fullscreen),
5826 (ev_window_unfullscreen), (ev_window_state_event_cb),
5827 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5828 Fix bugs in fullscreen code.
5830 2004-12-22 Anders Carlsson <andersca@gnome.org>
5834 * pixbuf/Makefile.am:
5835 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5836 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5837 (pixbuf_document_set_page), (pixbuf_document_get_page),
5838 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5839 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5840 (pixbuf_document_render), (pixbuf_document_begin_find),
5841 (pixbuf_document_end_find), (pixbuf_document_finalize),
5842 (pixbuf_document_class_init),
5843 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5844 * pixbuf/pixbuf-document.h:
5845 * shell/Makefile.am:
5846 * shell/ev-application.c: (ev_application_open):
5847 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5851 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5854 * dvi/dvilib/Makefile.am:
5856 * configure.ac: Auto*ify dvi and dvi/dvilib
5858 * dvi/Makefile: Remove from CVS
5860 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5863 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5865 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5867 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5870 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5871 (gtk_gs_value_adjustment_changed), (compute_size),
5872 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5873 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5874 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5875 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5876 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5877 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5878 (ps_document_load), (ps_document_get_n_pages),
5879 (ps_document_set_page), (ps_document_get_page),
5880 (ps_document_set_target), (ps_document_set_scale),
5881 (ps_document_set_page_offset), (ps_document_get_page_size),
5882 (ps_document_render), (ps_document_begin_find),
5883 (ps_document_end_find), (ps_document_document_iface_init):
5885 * shell/Makefile.am:
5886 * shell/ev-window.c: (ev_window_open):
5888 Some work to integrate gtkgs with EvDocument
5890 2004-12-22 Anders Carlsson <andersca@gnome.org>
5892 * shell/ev-window.c: (update_fullscreen_popup),
5893 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5894 (exit_fullscreen_button_clicked_cb),
5895 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5896 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5897 (ev_window_state_event_cb), (ev_window_init):
5898 Add fullscreen support from Epiphany.
5900 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5902 * data/ev-stock-zoom-fit-width.png: fit-width
5903 stock icon from gpdf.
5905 * shell/ev-stock-icons.[ch]: copied from gpdf.
5907 * shell/main.c: (main): init stock icons.
5909 * shell/ev-window.c: use the fit-width icon.
5911 * data/evince-ui.xml: add zooming toolbar items.
5913 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5916 (ev_view_best_fit), (ev_view_fit_width): because
5917 get_page_size() returns the scaled page size, we
5918 need to calculate the scale factor relative to
5919 the previous scale factor. Should really just
5920 add get_real_page_size().
5922 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5924 * shell/ev-view.[ch]:
5925 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5926 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5929 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5930 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5931 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5934 * pdf/xpdf/pdf-document.cc:
5935 (pdf_document_begin_find),
5936 (pdf_document_end_find): make static.
5938 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5940 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5942 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5943 names to fontconfig patterns.
5944 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5946 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5949 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5965 Import ggv backend. Not hooked up yet.
5967 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5969 * shell/main.c: (load_files), (main): load files
5970 from the command line.
5972 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5974 * configure.ac: don't require bonobo.
5976 * cut-n-paste/recent-files/*: kill bonobo recent
5979 * shell/ev-window.c:
5980 (ev_window_is_empty): upd.
5981 (unable_to_load), (ev_window_open): load backend
5982 based on the mime type.
5984 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5986 * backend/.cvsignore: ignore generated marshalers source.
5988 * shell/main.c (main): this is not epiphany.
5990 2004-12-22 Havoc Pennington <hp@redhat.com>
5992 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5993 (expose_bin_window): draw find highlights
5995 * shell/ev-window.c (find_bar_search_changed_cb): implement
5997 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5998 (pdf_document_end_find): implement this interface
6000 * backend/ev-document.c (ev_document_found): add this to emit
6003 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6005 * data/evince-ui.xml: Add a few more toolbar items.
6007 * shell/ev-window.c: Hook up page navigation toolbar
6010 * shell/ev-view.[ch]: add ev_view_set/get_page and
6011 a page-changed signal.
6013 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6014 Add ev_document_get_page().
6016 * shell/ev-window.c: Sensitize/desensitize navigation
6019 2004-12-21 Havoc Pennington <hp@redhat.com>
6021 * backend/ev-backend-marshal.c,
6022 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6023 marshaler-generator thingy. I'm sure there's a better way to do
6024 this in the modern world.
6026 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6027 end_find methods and "found" signal.
6029 * configure.ac: find glib-genmarshal
6031 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6033 * shell/ev-sidebar.c: Construct an actual sidebar.
6034 * shell/ev-sidebar-bookmarks.[ch]:
6035 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6037 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6039 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6042 * shell/ev-view.c: Track the size from the document.
6044 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6046 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6047 constructor assumes ownership of the string passed in.
6049 * shell/ev-window.c (ev_window_open): Destroy the error
6050 dialog once we've displayed it.
6052 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6054 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6055 a bit, it works! (sort of)
6057 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6058 Move to .cc since we need to use C++ in the implementation.
6060 * shell/dummy.cc: Add a CC file to force evince
6061 to be linked as a C++ program.
6063 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6065 * shell/ev-view.[ch]: Start of content-area widget.
6067 * shell/ev-window.c: Create a EvView, update it
6068 as we change documents.
6070 * shell/Makefile.am shell/ev-marshal.list: Add
6071 generated marshalers.
6073 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6075 * Makefile.am (SUBDIRS): move shell.
6077 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6079 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6080 .a to libtool convenience libraries.
6082 * shell/ev-window.c (ev_window_open): Hard code loading
6085 * backend/ev-document.h: Add a boolean return to load(),
6086 fix GError * to GError **.
6088 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6089 object for a PDF backend EvDocument.
6091 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6093 * dvi/*: New directory with the beginning of a .dvi backend.
6095 2004-12-21 Havoc Pennington <hp@redhat.com>
6097 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6098 previous/next instead of back/forward
6100 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6102 * backend/ev-document.[ch]: Fix a couple of problems so
6105 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6107 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6108 to backend/ directory, rename EvViewer to EvDocument.
6110 2004-12-21 Havoc Pennington <hp@redhat.com>
6112 * shell/ev-window.c: hook up the find bar widget; now we just need
6113 a document to find things in
6115 * shell/eggfindbar.c: a find bar widget
6117 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6119 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6121 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6123 * pdf/**: Import of xpdf code from gpdf.
6125 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6127 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6128 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6129 Fix FreeType includes.
6131 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6132 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6133 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6134 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6135 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6136 Include xpdfconfig.h
6138 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6140 * shell/ev-window.c (ev_window_dispose): dispose can be called
6143 2004-12-21 Havoc Pennington <hp@redhat.com>
6145 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6148 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6149 items; really they should be synced with the strings, etc. from
6150 current gpdf, but just getting the boring typing out of the way
6152 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6155 * shell/ev-application.c: (window_destroy_cb):
6156 * shell/ev-window.c:
6157 * shell/main.c: (main):
6159 Actually show the window...
6161 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6164 * shell/Makefile.am:
6165 * shell/ev-application.c: (ev_application_class_init):
6166 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6170 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6172 Import to gnome cvs.
6174 * Remove copies of gpdf and ggv trees.
6175 * Rip out all the recursive configure code.
6176 * Remove bonobo machinery.
6177 * viewer/*: GInterfaces that backends should/can implement.
6179 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6181 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6184 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6186 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6187 (ev_application_finalize, ev_application_class_init)
6188 (ev_application_init): use GType instance private data for priv.
6190 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6191 (ev_window_finalize, ev_window_class_init)
6192 (ev_window_init): ditto.
6194 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6196 * shell/ev-application.c (ev_application_new_window): make public
6197 (ev_application_show_initial_window): kill.
6199 * shell/ev-application.h: update prototypes.
6201 * shell/main.cc (main): inline ev_application_show_initial_window.
6203 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6205 * shell/ev-application.c (ev_application_new_window): impl.
6206 (ev_application_show_initial_window): use it.
6207 (is_window_empty, ev_application_get_empty_window): returns an
6208 existing empty window or a new one.
6209 (ev_application_open): from ev_window_cmd_file_open.
6211 * shell/ev-application.h: update prototypes
6213 * shell/ev-window.c (ev_window_is_empty): impl.
6214 (ev_window_open): make public.
6215 (ev_window_cmd_file_open): use ev_application_open
6217 * shell/ev-window.h: update prototypes, remove unused.
6219 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6221 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6222 move destroy handler out of here...
6224 * shell/ev-application.c, shell/ev-application.h: ...into this new
6225 class. Also handles initial window creation.
6227 * shell/main.cc (main): use EvApplication to create initial
6230 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6232 * Makefile.am (SUBDIRS): add cut-n-paste
6234 * cut-n-paste/Makefile.am: add
6236 * configure.ac: generate Makefiles in cut-n-paste
6238 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6240 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6241 (ev_window_class_init): install ev_window_dispose.
6243 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6245 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6246 char (gchar looks stupid).
6248 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6250 * po/de.po: updated German translation.
6252 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6254 * configure.ac: add more pkg-config library checks for gnome-vfs,
6257 * gpdf/configure.in: temporarily disable libpaper
6258 checks. Otherwise I'd have to add the checks for the shell, too.
6260 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6262 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6263 and * file filters to the file choose.
6265 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6267 * po/de.po: Updated German translation.
6269 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6271 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6273 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6275 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6277 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6278 (ev_window_init): implement those menuitems.
6280 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6282 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6284 * shell/ev-window.c (ev_window_init): use the toolbar.
6286 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6288 * shell/ev-window.c (ev_window_init): use menu translations
6290 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6292 * configure.ac: add "de" to ALL_LINGUAS.
6294 * po/de.po: add German translation.
6296 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6298 * Makefile.am (SUBDIRS): add po
6300 * configure.ac: check intltool, glib-gettext etc, generate
6303 * po, po/POTFILES.in, po/POTFILES.skip: new.
6305 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6307 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6308 already use (#ifdef ENABLE_NLS)
6310 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6311 pointer indirection thinko.
6313 * shell/main.c: include gi18n.h for bindtextdomain etc.
6315 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6317 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6318 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6319 tooltips for menu items in the statusbar.
6321 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6323 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6324 pkgdatadir drop UIDIR
6326 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6328 * data/evince-ui.xml: Add File->Open menu item
6330 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6331 chooser), hook it up in the ui manager.
6333 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6335 * shell/ev-window.c: fix Help->About tooltip.
6337 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6339 * configure.ac: set CFLAGS for libevprivate.
6341 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6342 definitions, factory etc.
6344 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6346 * shell/Makefile.am: link against libevprivate.a.
6348 * shell/ev-window.c (entries): add stock icon to Help->About.
6350 * shell/main.c (main): init stock icon code.
6352 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6354 * lib/recent-files: egg recent files code
6356 * lib/Makefile.am: add.
6358 * Makefile.am: add lib subdir.
6360 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6361 set CFLAGS for recent-files.
6363 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6365 * configure.ac: disable -ansi and -pedantic gcc flags. They
6366 disable POSIX stuff in stdio.h, but egg-recent uses them.
6368 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6370 * configure.ac: add --disable-deprecated flag (defaults to on in
6373 * shell/Makefile.am (INCLUDES): use it.
6375 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6377 * shell/main.c: add missing #include.
6379 * shell/ev-window.c: fix for pedantic gcc.
6380 (ev_window_cmd_help_about): split license into paragraphs for
6381 translators and pedantic compilers.
6383 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6385 * configure.ac: add more warning flags if compiling with gcc from
6386 cvs (or explicitly requested with --enable-more-warnings).
6388 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6390 * data/evince-ui.xml: add File and File->Close menu.
6392 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6393 (ev_window_destroy): quit after destroy.
6394 (ev_window_class_init): override GtkObject::destroy.
6395 (entries): install close_window callback.
6397 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6399 * Makefile.am (SUBDIRS): add data subdir.
6401 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6402 gtk+ 2.5.0 for GtkAboutDialog.
6404 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6407 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6409 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6411 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6413 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6415 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6417 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6419 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6421 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6423 * shell/*: Added shell directory boilerplate, build it.
6425 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6427 * configure.ac, Makefile.am: Added top-level configure.ac and