1 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
3 * shell/ev-page-cache.c: (build_height_to_page),
4 (ev_page_cache_new), (ev_page_cache_get_size),
5 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
6 (ev_page_cache_get_height_to_page):
7 * shell/ev-page-cache.h:
8 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
9 (ev_view_size_request_continuous_dual_page),
10 (ev_view_size_request_continuous),
11 (ev_view_zoom_for_size_continuous_and_dual_page),
12 (ev_view_zoom_for_size_continuous):
14 Make the page cache aware of page orientation.
16 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
18 * backend/ev-document-thumbnails.c:
19 (ev_document_thumbnails_get_thumbnail):
20 * backend/ev-document-thumbnails.h:
21 * backend/ev-document.c:
22 * backend/ev-document.h:
23 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
24 * backend/ev-ps-exporter.h:
26 * ps/ps-document.c: (ps_document_document_iface_init),
27 (ps_document_ps_export_do_page):
28 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
30 * shell/ev-page-cache.c: (ev_page_cache_get_size),
32 * shell/ev-page-cache.h:
33 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
34 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
35 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
36 * shell/ev-pixbuf-cache.h:
37 * shell/ev-print-job.c: (idle_print_handler):
38 * shell/ev-sidebar-thumbnails.c: (add_range):
39 * shell/ev-view.c: (view_update_range_and_current_page),
40 (get_page_extents), (ev_view_size_request_dual_page),
41 (ev_view_size_request_single_page), (draw_one_page),
42 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
43 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
44 (ev_view_zoom_for_size_dual_page),
45 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
47 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
48 * tiff/tiff-document.c: (tiff_document_get_page_size),
49 (tiff_document_get_orientation), (rotate_pixbuf),
50 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
51 (tiff_document_thumbnails_get_thumbnail),
52 (tiff_document_ps_export_do_page), (tiff_document_init):
54 Really make use of the orientation bit of the render context.
55 Use the render context in a few more places in the backend API.
56 This regress orientation, but now it's done right. Will try to
59 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
61 * shell/ev-view.c: (ensure_rectangle_is_visible):
63 Patch by Nickolay V. Shmyrev to fix find flickering
65 2005-07-27 Martin Kretzschmar <martink@gnome.org>
67 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
68 duplex parameters to ::begin.
70 * tiff/tiff-document.c (tiff_document_ps_export_begin):
71 * shell/ev-print-job.c (idle_print_handler):
72 * ps/ps-document.c (ps_document_ps_export_begin):
73 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
74 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
75 implementations. Poppler backend needs poppler cvs. Rest has
78 2005-07-25 Martin Kretzschmar <martink@gnome.org>
80 * shell/ev-window.c (using_pdf_printer): new function.
81 (ev_window_print_range): print a less techy message if someone
82 tries to print to PDF.
84 2005-07-25 Martin Kretzschmar <martink@gnome.org>
86 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
87 from "unknown font" string. Bug #311431
89 2005-07-24 Martin Kretzschmar <martink@gnome.org>
91 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
93 2005-07-24 Martin Kretzschmar <martink@gnome.org>
97 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
98 name for PopplerFontTypes
99 (pdf_document_fonts_fill_model): add font type to the detail column
101 * backend/ev-document-fonts.h: added
102 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
104 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
105 font name and font details, add a little markup.
106 (ev_properties_fonts_init): use the new cell data func, specify ypad
107 property for the cell renderer.
108 (ev_properties_fonts_set_document): add the details column.
110 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
112 * configure.ac: Added "pl" to ALL_LINGUAS.
114 2005-07-24 Danilo Ĺ egan <danilo@gnome.org>
116 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
118 2005-07-23 Tommi Vainikainen <thv@iki.fi>
120 * help/ChangeLog: Started this for translations of manual.
121 * configure.ac, autogen.sh, .cvsignore: Migrated to
122 gnome-doc-utils. Patch in bug #311222.
124 2005-07-22 Martin Kretzschmar <martink@gnome.org>
126 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
127 #ifdef this away to fix an unused-function warning.
129 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
131 * configure.ac: Added 'gl' to ALL_LINGUAS.
133 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
135 * configure.ac: Added ne in ALL_LINGUAS
137 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
139 * shell/ev-view.c: (ev_view_leave_notify_event):
141 Clear status message when pointer leaves view. Fix for bug
144 2005-07-20 Ankit Patel <ankit644@yahoo.com>
146 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
148 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
150 * shell/ev-view.c: (ev_view_leave_notify_event),
151 (ev_view_class_init):
153 Set cursor to normal then leaving view.
155 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
159 Fix required djvulibre version.
161 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
163 *configure.ac: Hindi (hi) language added
165 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
167 *configure.ac: Punjabi (pa) Language added
169 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
171 * data/evince-ui.xml, shell/ev-window.c:
173 Add keypad accelerators for zooming. Fix for bug 308128.
175 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
178 * backend/Makefile.am:
179 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
181 * shell/ev-document-types.c: (ev_document_types_add_filters):
183 Allow to enable/disable the pixbuf backend.
184 Default to off for now. If we want it enabled we should
185 really put mime types in the desktop, implement properties etc.
187 * properties/evince-properties.c:
189 Initialize error to NULL.
190 Check error is not NULL before freeing.
192 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
196 Use F5 as presentation accell
198 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
200 * shell/ev-window.c: (update_chrome_visibility),
201 (ev_window_create_fullscreen_popup), (ev_window_init):
203 Do not leak the fullscreen toolbar
205 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
207 * shell/ev-window.c: (view_actions_focus_in_cb),
208 (view_actions_focus_out_cb):
210 These has a return value! Fix totally random focus
211 issues we was seeing.
213 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
215 * shell/main.c: (load_files_remote):
217 Allow open more than one file
219 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
221 * shell/main.c: (load_files_remote):
223 Fix for dbus 0.33. bug #309975
225 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
227 * properties/ev-properties-main.c: (ev_properties_get_pages):
229 Actually return NULL for types we dont support
231 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
237 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
239 * backend/ev-document-factory.c:
240 (ev_document_factory_get_document):
242 Do not try to create the object if type
245 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
247 * ps/ps-document.c: (ps_document_dispose),
248 (ps_async_renderer_render_pixbuf):
251 Do not leak the target window
253 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
255 * shell/ev-application.c: (ev_application_init):
257 Let tbe check file existence for us.
258 Add a comment about eggrecent mime filter.
260 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
262 * data/evince-ui.xml:
263 * shell/ev-application.c: (ev_application_shutdown),
264 (ev_application_init), (ev_application_get_toolbars_model),
265 (ev_application_get_recent_model),
266 (ev_application_save_toolbars_model):
267 * shell/ev-application.h:
268 * shell/ev-window.c: (ev_window_add_recent),
269 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
270 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
273 Use common toolbar and recent models for all windows.
274 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
276 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
278 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
279 successfully check for gtk_icon_view_get_visible_range.
281 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
286 Fix djvu and dvi backend build.
288 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
290 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
291 (new_separator_pixbuf):
295 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
297 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
299 HIGification of toolbar editor dialogue.
301 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
306 Ever build metadata manager since it's just
307 disabled at runtime now.
309 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
311 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
312 (ev_metadata_manager_get), (ev_metadata_manager_set):
313 * shell/ev-metadata-manager.h:
315 Add an _init functions that enabled metadata management
318 * shell/ev-window.c: (page_changed_cb),
319 (setup_document_from_metadata), (ev_window_setup_document),
320 (setup_view_from_metadata), (ev_window_open_uri),
321 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
322 (ev_window_run_presentation), (ev_window_stop_presentation),
323 (save_sizing_mode), (ev_window_zoom_changed_cb),
324 (ev_window_continuous_changed_cb),
325 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
326 (window_configure_event_cb):
328 Remove all ugly metadata define since we deal with it
331 * shell/main.c: (load_files_remote), (main):
333 Add support for dbus cvs head. Hopefully didnt break one
334 of the other versions now!
336 If we dont get a response from the dbus server just
337 give up with it and not enable metadata.
339 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
342 * backend/Makefile.am:
344 * cut-n-paste/recent-files/Makefile.am:
345 * cut-n-paste/toolbar-editor/Makefile.am:
346 * cut-n-paste/zoom-control/Makefile.am:
349 * pixbuf/Makefile.am:
350 * properties/Makefile.am:
353 * thumbnailer/Makefile.am:
356 Make frontends depend on just libev.
357 Rework and group CFLAGS/LIBS definitions.
360 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
364 do not unnecessarily save zoom
367 * lib/ev-file-helpers.c: (ev_dot_dir):
373 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
377 Remove unnecessary dependencies
379 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
381 * properties/Makefile.am:
382 * thumbnailer/Makefile.am:
385 Some more cleanups. Was really necessary
386 but I probably introduced bugs, feel free
389 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
391 * backend/Makefile.am:
393 * cut-n-paste/recent-files/Makefile.am:
394 * cut-n-paste/toolbar-editor/Makefile.am:
395 * cut-n-paste/zoom-control/Makefile.am:
398 * pixbuf/Makefile.am:
399 * properties/Makefile.am:
402 * thumbnailer/Makefile.am:
405 Use gnome-common macros when possible.
406 Cleanup dependencies.
407 Actually disable deprecated where possible.
409 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
412 * backend/Makefile.am:
413 * properties/Makefile.am:
415 * thumbnailer/Makefile.am:
417 This should solve the circular dep without
420 * shell/ev-window.c: (setup_view_from_metadata):
422 Never restore window size/position when the
423 window is already visible.
425 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
427 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
429 Return a boolean from timeout func. Fix ported from gedit.
431 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
433 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
435 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
437 * shell/ev-document-types.c: set "All Documents" as default filter in
440 2005-07-06 Martin Kretzschmar <martink@gnome.org>
442 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
443 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
444 (ev_metadata_manager_set_boolean): fix value/val thinko.
446 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
448 * shell/ev-window.c: (setup_view_from_metadata),
449 (window_state_event_cb), (window_configure_event_cb),
452 Remember window position and maximized state
454 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
458 Fix DBUS configure checks.
460 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
461 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
462 (ev_metadata_manager_set_boolean):
466 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
467 (ev_window_stop_fullscreen), (ev_window_run_presentation),
468 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
469 (ev_window_continuous_changed_cb),
470 (ev_window_dual_mode_changed_cb), (ev_window_new):
472 Fix the build without DBUS.
474 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
476 * shell/ev-metadata-manager.c: (parse_value), (save_values),
477 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
478 (ev_metadata_manager_set_string),
479 (ev_metadata_manager_set_boolean):
480 * shell/ev-metadata-manager.h:
482 Add support for some more types
484 * shell/ev-view.c: (scroll_to_current_page),
485 (ev_view_get_continuous), (ev_view_set_continuous),
486 (ev_view_get_dual_page):
488 * shell/ev-window.c: (page_changed_cb),
489 (setup_document_from_metadata), (ev_window_setup_document),
490 (setup_view_from_metadata), (ev_window_open_uri),
491 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
492 (ev_window_run_presentation), (ev_window_stop_presentation),
493 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
494 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
495 (ev_window_update_dual_page_action),
496 (ev_window_continuous_changed_cb),
497 (ev_window_dual_mode_changed_cb), (ev_window_init):
499 Remember a bunch of view/document properties. Prolly some
500 are still missing but it's getting interesting.
502 2005-07-05 Martin Kretzschmar <martink@gnome.org>
504 * configure.ac: check if dbus-binding-tool is installed. Not the
505 case on current Ubuntu breezy, it seems.
507 2005-07-05 Luca Ferretti <elle.uca@libero.it>
509 * data/evince.desktop.in.in:
511 Allow open uri lists and add TryExec field.
513 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
517 Enable dbus when available, do not require a configure
520 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
524 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
527 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
528 Marco Pesenti Gritti <mpg@redhat.com>
530 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
532 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
533 functions to the format required by dbus
535 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
536 errors. Use the RPC parameters in the expected way
538 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
541 * properties/Makefile.am:
542 * properties/ev-properties-main.c: (ev_properties_get_pages):
544 Support all mime types
547 * thumbnailer/Makefile.am:
548 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
549 (evince_thumbnail_pngenc_get):
551 Use the document factory
553 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
555 * backend/Makefile.am:
556 * backend/ev-document-factory.c:
557 (mime_type_supported_by_gdk_pixbuf),
558 (ev_document_type_get_from_mime),
559 (ev_document_factory_get_document),
560 (ev_document_factory_get_backend),
561 (ev_document_factory_get_mime_types),
562 (ev_document_factory_get_all_mime_types):
563 * backend/ev-document-factory.h:
565 * shell/ev-document-types.c: (get_document_from_uri),
566 (ev_document_types_get_document),
567 (file_filter_add_mime_list_and_free),
568 (ev_document_types_add_filters):
569 * shell/ev-document-types.h:
570 * shell/ev-job-xfer.c: (ev_job_xfer_run):
571 * shell/ev-properties-dialog.c:
572 (ev_properties_dialog_set_document):
573 * shell/ev-window.c: (ev_window_cmd_file_open),
574 (ev_window_cmd_save_as):
575 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
577 Rework document types managing to avoid code duplication
578 and actually abstract from backend implementations.
579 Also provide a minimal factory api that can be used by
580 thumbnailer/properties.
582 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
584 * properties/ev-properties-view.c: (ev_properties_view_set_info):
586 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
589 2005-07-04 Matthew S. Wilson <msw@rpath.com>
591 * shell/ev-properties-dialog.c
592 (ev_properties_dialog_set_document): only call
593 ev_properties_fonts_set_document() if the document implements the
596 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
599 * properties/Makefile.am:
600 * properties/ev-properties-view.c:
601 (ev_properties_view_register_type):
602 * properties/ev-properties-view.h:
603 * properties/ev-properties-main.h:
605 Implement nautilus plugin for properties.
606 Works only for pdf atm, I need to rework the
607 document types stuff to get this to work
610 2005-07-04 Martin Kretzschmar <martink@gnome.org>
612 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
613 (ev_properties_fonts_set_document): use
614 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
616 2005-07-04 Matthew S. Wilson <msw@rpath.com>
618 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
620 (PlaceImage, tiff2ps_process_page): use
621 g_ascii_dtostr to convert floats to strings in a locale-safe way.
624 2005-07-04 Martin Kretzschmar <martink@gnome.org>
626 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
627 (main): to call gnome_authentication_manager_init. Should fix
630 * configure.ac: that requires libgnomeui 2.6.0.
632 2005-07-04 Matthew S. Wilson <msw@rpath.com>
634 * tiff/tiff-document.c (tiff_document_ps_export_begin)
635 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
636 use the new tiff2ps interfaces
638 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
639 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
641 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
642 structure instead of global variables. Remove use of static
643 variables in functions.
645 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
647 * shell/ev-page-action.c: unref the completion after setting it to the
650 2005-07-04 Matthew S. Wilson <msw@rpath.com>
652 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
655 2005-07-04 Matthew S. Wilson <msw@rpath.com>
657 * shell/ev-window.c (update_action_sensitivity): disable
658 File->Print if the document does not implement the ps exporter
661 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
665 * data/evince-properties.glade:
666 * properties/.cvsignore:
667 * properties/Makefile.am:
668 * properties/ev-properties-view.c: (ev_properties_view_dispose),
669 (ev_properties_view_class_init), (ev_properties_view_format_date),
670 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
671 (ev_properties_view_init), (ev_properties_view_new):
672 * properties/ev-properties-view.h:
674 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
675 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
676 (ev_properties_dialog_new):
677 * shell/ev-properties-dialog.h:
678 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
679 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
680 (update_progress_label), (job_fonts_finished_cb),
681 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
682 * shell/ev-properties-fonts.h:
683 * shell/ev-properties.c:
684 * shell/ev-properties.h:
685 * shell/ev-window.c: (ev_window_setup_document),
686 (ev_window_cmd_file_properties):
688 Split the properties pages in two different objects, depend
689 only on the backend where possible, use widgets instead
690 of gobject for the glade part, reimplement the dialog
692 I need this to implement nautilus properties page.
694 2005-07-03 Matthew S. Wilson <msw@rpath.com>
696 * tiff/tiff-document.c (tiff_document_ps_export_begin)
697 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
698 (tiff_document_document_ps_exporter_iface_init): implement the ps
699 exporter interface for tiff documents
701 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
702 libtiff to implement TIFF postscript export
704 * tiff/tiff2ps.h: added a header file for external tiff2ps
707 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
710 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
712 * shell/ev-view.c: (scroll_to_current_page),
713 (ev_view_set_fullscreen), (ev_view_set_presentation):
715 Scroll to current page when exit from presentation
717 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
719 * shell/ev-window.c: (update_document_mode),
720 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
721 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
722 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
724 Exit from fullscreen mode when switch to presentation. Fix for
727 2005-07-02 Matthew S. Wilson <msw@rpath.com>
729 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
730 return NULL if the document does not implement the selection
733 2005-07-02 Matthew S. Wilson <msw@rpath.com>
735 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
736 reported height by using the resolution aspect ratio
737 (tiff_document_render_pixbuf): scale the pixbuf using the
738 resolution aspect ratio
740 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
744 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
745 <kiltedaco@gmail.com>
747 * djvu/djvu-document.c: (djvu_document_get_orientation),
748 (djvu_document_set_orientation), (djvu_document_get_page_size),
749 (rotate_pixbuf), (djvu_document_render_pixbuf),
750 (djvu_document_document_iface_init):
751 * dvi/dvi-document.c: (dvi_document_get_orientation),
752 (dvi_document_set_orientation), (dvi_document_get_page_size),
753 (rotate_pixbuf), (dvi_document_render_pixbuf),
754 (dvi_document_document_iface_init):
756 Dvi and djvu backends are ported to new API
758 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
760 * backend/ev-selection.c: (ev_selection_get_selection_region),
761 (ev_selection_get_selection_map):
762 * backend/ev-selection.h:
764 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
766 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
767 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
768 (ev_pixbuf_cache_get_text_mapping):
769 * shell/ev-pixbuf-cache.h:
770 * shell/ev-view.c: (location_in_text),
771 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
772 support to EvView. Now we can see where we can select! Sweet!
774 2005-06-30 Kristian Høgsberg <krh@redhat.com>
776 * shell/ev-view.c (ev_view_button_press_event): Fix
777 event->y + view->scroll_x typo.
779 2005-06-30 Kristian Høgsberg <krh@redhat.com>
781 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
782 sub-GdkPixbuf instead of passing dest_x and dest_y.
784 * shell/ev-view.c: (view_point_to_doc_point),
785 (view_rect_to_doc_rect), (ev_view_button_press_event),
786 (ev_view_motion_notify_event), (compute_new_selection_rect),
787 (gdk_rectangle_point_in), (compute_new_selection_text),
788 (compute_selections): Update selection code to keep the selection
789 around as two points and not as a normalized rectangle, and fix
790 page level selection in two-column mode.
792 2005-06-30 Alex Duggan <aldug@astrolinux.com>
794 * shell/ev-window.c: (window_configure_event_cb):
798 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
804 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
807 * shell/ev-metadata-manager.c: (item_free),
808 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
809 (parse_value), (parseItem), (load_values),
810 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
811 (save_values), (save_item), (get_oldest), (resize_items),
812 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
813 * shell/ev-metadata-manager.h:
815 Metadata manager from gedit but modified to use GValue, so that
816 we dont need to keep converting from strings.
820 ENABLE_METADATA conditional, on when dbus is on
822 * shell/ev-application.c: (ev_application_open_uri):
824 Show the window after load so that we can initialize
825 window size before it's showed.
827 * shell/ev-window.c: (ev_window_setup_from_metadata),
828 (ev_window_open_uri), (window_configure_event_cb),
831 Save and load metadata information about window size.
832 Not yet keeping states in account.
834 * shell/main.c: (main):
836 Shutdown metadata manager.
838 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
840 * shell/ev-application-service.xml:
843 * shell/ev-application.c:
844 * shell/ev-application.h:
849 Add an optional dbus interface (--enable-dbus).
850 Rework application code, mainly to be easier to
852 Do not open multiple windows with the same document,
855 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
857 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
858 pixbuf iff it exists.
860 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
863 * backend/ev-render-context.[ch]:
864 * backend/ev-selection.[ch]:
866 Massive changes. We now support text selection of pdfs, and not
867 just rectangular selection. This is pretty broken still, but I
868 want to get something into CVS.
870 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
874 Fix for Bug 309080: crash on window close.
876 * shell/ev-page-action.c: (page_changed_cb):
878 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
879 jensgr@gmx.net (Jens Granseuer).
881 2005-06-25 Marcel Telka <marcel@telka.sk>
883 * configure.in (ALL_LINGUAS): Added sk.
885 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
887 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
890 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
897 * cut-n-paste/recent-files/Makefile.am:
901 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
903 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
904 (pixbuf_document_set_orientation), (rotate_pixbuf),
905 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
906 (pixbuf_document_document_iface_init), (pixbuf_document_init):
908 Implement rotation and cleanup the code a bit.
910 * tiff/tiff-document.c: (tiff_document_get_page_size),
911 (tiff_document_get_orientation), (tiff_document_set_orientation),
912 (rotate_pixbuf), (tiff_document_render_pixbuf),
913 (tiff_document_document_iface_init), (tiff_document_init):
915 Implement rotation. Was the quicker solution for the release
916 but we really need to share this code in the shell.
918 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
922 Enable rotation, require poppler cvs. Fix a leak.
924 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
926 * shell/ev-window.c: (update_action_sensitivity):
928 Make properties unsensitive if document backend doesn't provide
931 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
933 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
934 (bitmap_flip_horizontally), (bitmap_flip_vertically),
935 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
936 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
937 (bitmap_flip_rotate_counter_clockwise):
938 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
939 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
941 * dvi/mdvi-lib/common.h:
942 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
943 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
944 (opendvi), (mdvi_reload), (mdvi_init_context),
945 (mdvi_destroy_context), (mdvi_dopage), (special):
946 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
947 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
948 (file_hash_free), (register_encoding), (parse_spec),
949 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
950 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
951 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
952 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
953 (mdvi_register_font_type), (mdvi_unregister_font_type),
954 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
955 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
956 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
957 (mdvi_hash_destroy_key), (mdvi_hash_reset):
958 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
959 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
960 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
961 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
962 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
963 * dvi/mdvi-lib/special.c: (mdvi_register_special),
964 (mdvi_unregister_special), (mdvi_flush_specials):
965 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
967 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
968 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
969 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
970 (free_font_metrics), (flush_font_metrics):
971 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
973 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
974 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
975 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
976 (dstring_insert), (dstring_new), (dstring_reset):
977 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
979 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
980 avoid conflict with libtool on FC4
982 * shell/ev-window.c: (ev_window_cmd_help_about):
984 Update copyright year. Fix for bug 308828.
986 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
988 * shell/ev-view.c: (add_scroll_binding_keypad),
989 (ev_view_binding_activated), (ev_view_class_init),
990 (on_adjustment_value_changed):
992 Bug 170874: Arrow keys switch pages in presentation mode
994 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
996 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
998 Fix for Bug 308265: Sidebar dissappears coming out of
1001 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1003 * shell/ev-application.c: (ev_application_open):
1004 * shell/ev-document-types.c: (ev_document_types_add_filters),
1005 (ev_document_types_add_filters_for_type):
1006 * shell/ev-document-types.h:
1007 * shell/ev-window.c: (ev_window_cmd_save_as):
1009 Suggest basename as template when saving, provide filters
1010 for save dialog. It's bug 308402
1012 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1014 * pdf/ev-poppler.cc:
1015 * shell/ev-sidebar-links.c: (job_finished_callback):
1016 * shell/ev-view.c: (update_find_status_message):
1020 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1022 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1023 (egg_recent_view_uimanager_set_list):
1025 Fix buglet in !show_numbers case.
1027 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1029 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1030 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1032 Use pango ellipsisation.
1034 * pdf/ev-poppler.cc:
1036 Fix refcount leak, from nsh.
1038 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1040 * cut-n-paste/recent-files/Makefile.am:
1041 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1042 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1044 Removed EggRecentViewGtk
1046 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1047 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1048 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1049 (ev_window_setup_recent):
1051 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1054 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1056 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1057 (egg_recent_view_gtk_finalize):
1061 * cut-n-paste/toolbar-editor/Makefile.am:
1063 Fix location of cursor icon.
1065 * pdf/ev-poppler.cc:
1066 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1067 (display_completion_text), (match_completion):
1068 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1069 (selection_changed_callback), (create_loading_model),
1070 (print_section_cb), (links_page_num_func),
1071 (update_page_callback_foreach):
1072 * shell/ev-window.c: (ev_window_dispose):
1074 Small memory fixes. Links model now store objects instead
1075 of pointers to improve memory management.
1077 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1079 * shell/ev-window.c: (zoom_control_changed_cb):
1081 Fix update of zoom control (bug 308268).
1083 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1085 * shell/ev-properties.c (set_property): escape the text correctly.
1086 Handles non-UTF-8 properties and escaped properties. Also, sets
1087 the text to "<i>None</i>" if the property isn't set.
1089 * data/evince-properties.glade: Change the label to be ellipsized,
1090 and give it a minimum size.
1092 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1094 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1095 * shell/ev-sidebar-links.c: (create_loading_model):
1096 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1097 * shell/ev-view.c: (ev_view_set_document):
1098 * shell/ev-window.c: (ev_window_dispose):
1100 Various small fixes, mostly memory leaks. Thanks to valgrind.
1102 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1104 * ps/ps-document.c: remove the locale.h include again ;-). And
1105 kill the (bogus) setlocale/savelocale business.
1107 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1111 Include locale.h to fix build
1113 * shell/ev-sidebar.c:
1115 Remove unnecessary includes
1117 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1119 * dvi/dvi-document.c: (dvi_document_load):
1120 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1123 Check for incorrect dvi files. Fix parsing dvi on AMD64
1124 platform. Thanks to tester@tester.ca (Olivier Crete).
1126 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1128 * shell/ev-page-action.c: (match_selected_cb),
1129 (display_completion_text), (match_completion), (update_model):
1130 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1131 (expand_open_links):
1132 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1133 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1134 (ev_sidebar_set_document):
1135 * shell/ev-window.c: (ev_window_xfer_job_cb),
1136 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1138 Fixed lot's of memory leaks, for example, memory leak on reload,
1139 described in bug 307793.
1141 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1143 * pdf/ev-poppler.cc:
1144 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1145 (update_visible_range), (adjustment_changed_cb),
1146 (ev_sidebar_thumbnails_fill_model),
1147 (ev_sidebar_thumbnails_refresh),
1148 (ev_sidebar_tree_selection_changed),
1149 (ev_sidebar_icon_selection_changed),
1150 (ev_sidebar_thumbnails_use_icon_view),
1151 (ev_sidebar_thumbnails_set_document):
1152 * shell/ev-sidebar-thumbnails.h:
1153 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1154 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1156 Refresh thumbnails when changing orientation. Not fully
1157 working yet becuase of a sidebar bug.
1159 Set page orientation to poppler page everywhere. This sucks
1160 really need to fix poppler.
1162 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1164 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1165 (egg_recent_view_gtk_new_menu_item),
1166 (egg_recent_view_gtk_set_property),
1167 (egg_recent_view_gtk_get_property),
1168 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1169 (egg_recent_view_gtk_set_tooltip_func),
1170 (egg_recent_view_gtk_set_label_width),
1171 (egg_recent_view_gtk_get_label_width):
1172 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1174 Sync with libegg (ellipsize labels)
1176 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1178 * data/evince-ui.xml:
1179 * shell/ev-window.c: (ev_window_cmd_go_forward),
1180 (ev_window_cmd_go_backward):
1182 Shift + PageUp moves 10 Pages. Fix for 306125
1184 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1186 * pdf/ev-poppler.cc:
1188 Add a flag to check if orientation has been overriden
1190 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1192 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1195 * ps/ps.h: add creator field to document.
1197 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1200 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1202 * data/evince-properties.glade:
1203 * shell/ev-properties.c: (ev_properties_set_document):
1205 s/PDF Version/Format
1207 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1209 * shell/ev-properties.c: (ev_properties_set_document):
1211 Remove unnecessary translations
1213 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1215 * cut-n-paste/toolbar-editor/Makefile.am:
1217 Correct library name
1219 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1222 * cut-n-paste/recent-files/egg-recent-model.c:
1223 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1224 (egg_recent_model_unlock_file):
1225 * cut-n-paste/recent-files/egg-recent-util.c:
1226 (egg_recent_util_get_unique_id):
1227 * cut-n-paste/recent-files/update-from-egg.sh:
1228 * cut-n-paste/toolbar-editor/Makefile.am:
1229 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1230 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1231 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1232 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1233 (egg_toolbars_model_get_type):
1234 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1236 Better makefile for toolbar editor and update everything
1239 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1241 * shell/ev-window.c: (update_document_mode):
1243 Prefer presentation mode when the document
1246 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1248 * data/evince-ui.xml:
1249 * shell/ev-window.c:
1251 Add control-equal for zooming
1253 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1255 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1257 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1259 * backend/ev-document.c: (ev_document_get_orientation):
1260 * backend/ev-document.h:
1261 * pdf/ev-poppler.cc:
1262 * ps/ps-document.c: (ps_document_get_orientation),
1263 (ps_document_set_orientation), (ps_document_document_iface_init):
1265 Add a get_orientation api. Improve set_orientation.
1267 * data/evince-ui.xml:
1268 * shell/ev-view.c: (ev_view_set_orientation),
1269 (ev_view_rotate_right), (ev_view_rotate_left):
1271 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1272 (ev_window_cmd_edit_rotate_right):
1274 Better ui for changing document orientation
1276 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1278 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1279 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1280 * shell/ev-sidebar-links.h:
1281 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1282 (ev_sidebar_page_iface_init):
1283 * shell/ev-sidebar-page.h:
1284 * shell/ev-sidebar-thumbnails.c:
1285 (ev_sidebar_thumbnails_get_property),
1286 (ev_sidebar_thumbnails_class_init),
1287 (ev_sidebar_thumbnails_set_document):
1288 * shell/ev-sidebar-thumbnails.h:
1289 * shell/ev-view.c: (ev_view_motion_notify_event):
1290 * shell/ev-window.c: (update_chrome_visibility),
1291 (ev_window_cmd_focus_page_selector),
1292 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1293 (sidebar_page_main_widget_update_cb), (ev_window_init):
1295 Autoraise toolbar on GoToPage binding and fix bindings in
1296 EvSidebarThumbnails page.
1298 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1300 * shell/ev-properties.c: (update_progress_label):
1302 Hide the progress label when finished; bug #307697.
1304 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1306 * pdf/ev-poppler.cc:
1308 Enable is_open for links, you will need poppler cvs
1310 * shell/ev-properties.c: (job_fonts_finished_cb):
1312 Get a lock on the document when filling the tree view
1314 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1316 * backend/ev-document-links.h:
1317 * pdf/ev-poppler.cc:
1318 * shell/ev-sidebar-links.c: (create_loading_model),
1319 (expand_open_links), (job_finished_callback):
1321 Expand links when specified by the document.
1322 Depend on a poppler api (defined out for now)
1324 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1326 * shell/ev-properties.c: (ev_properties_dispose),
1327 (ev_properties_class_init), (dialog_destroy_cb),
1328 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1329 (ev_properties_set_document), (ev_properties_new),
1330 (ev_properties_show):
1331 * shell/ev-properties.h:
1333 Make it an object, cleanup the code, api to show it as transient
1334 and to set the document.
1336 * shell/ev-window.c: (ev_window_setup_document),
1337 (ev_window_cmd_file_properties):
1339 Adapt to EvProperties changes, do not show multiple
1340 times, update it when document changes.
1342 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1345 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1346 (ps_document_set_orientation), (ps_document_document_iface_init):
1349 Implement orientation here too
1351 * shell/ev-properties.c: (ev_properties_new):
1352 * data/evince-properties.glade:
1354 Hide the fonts page for backends that doesnt
1357 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1359 * backend/ev-document.c: (ev_document_set_orientation):
1360 * backend/ev-document.h:
1361 * pdf/ev-poppler.cc:
1363 Add orientation api. Currently poppler api is not optimal,
1364 we need to set orientation every time we _get a page.
1365 I will try to fix that at some point.
1367 * data/evince-ui.xml:
1368 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1369 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1371 Add orientation menu items
1373 * shell/ev-page-cache.c: (ev_page_cache_clear):
1374 * shell/ev-page-cache.h:
1376 Add api to clear the cache
1378 * shell/ev-view.c: (setup_caches), (clear_caches),
1379 (ev_view_set_document), (ev_view_zoom_out),
1380 (ev_view_set_orientation):
1383 Implement orientation changing
1385 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1387 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1388 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1389 * backend/ev-document-fonts.h:
1391 Separate scan and fill so that we can incrementally fill from
1392 the main thread. Add a progress api.
1394 * data/evince-properties.glade:
1395 * pdf/ev-poppler.cc:
1396 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1398 * shell/ev-properties.c: (update_progress_label),
1399 (job_fonts_finished_cb), (setup_fonts_view):
1401 Incrementally feel the list and show the progress
1402 percentage in a label like acrobat does.
1404 You are going to need poppler cvs
1406 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1408 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1409 * backend/ev-document-fonts.h:
1410 * pdf/ev-poppler.cc:
1412 Make fonts model fill incrementally.
1414 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1415 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1416 (ev_job_queue_remove_job):
1417 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1418 (ev_job_fonts_new), (ev_job_fonts_run):
1421 New job for fonts scanning
1423 * shell/ev-properties.c: (job_fonts_finished_cb),
1424 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1425 * shell/ev-properties.h:
1426 * shell/ev-window.c: (ev_window_cmd_file_properties):
1428 Incrementally feel the treeview using the new job. Show Loading...
1429 message until scanning is completed.
1431 Hopefully I didnt break the build without the poppler patch.
1433 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1435 * shell/ev-application.c: (ev_application_open):
1436 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1437 (ev_document_type_get_type), (ev_document_type_lookup):
1438 * shell/ev-document-types.h:
1439 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1440 * shell/ev-job-xfer.h:
1441 * shell/ev-window.c: (ev_window_clear_local_uri),
1442 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1443 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1444 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1446 Transfer remote documents to tmp directory to display them later.
1448 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1450 * backend/ev-document-info.h:
1451 * shell/ev-properties.c: (ev_properties_new):
1453 s/GTime*/GTime. Not sure why we was using a pointer
1456 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1458 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1459 situations. That situation is that you're using GTK+-HEAD with
1460 the patch at #306726 is applied, and you have a document with <
1461 1500 pages in it. It's not quite as uniformly nice as the
1462 TreeView, but should be better in the long run.
1464 I'm pretty sure I guarded against breaking compilation with
1465 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1468 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1469 widget yet, so I commented that code out
1470 enable_view_actions_for_widget() for now. Need to figure this
1473 * shell/ev-page-action.c (match_selected_cb): emit the right
1474 signals. Our cool C-l completion now works.
1476 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1478 * backend/Makefile.am:
1479 * backend/ev-document-fonts.c:
1480 * backend/ev-document-links.c:
1481 * backend/ev-document.c: (ev_document_load):
1482 * backend/ev-document.h:
1483 * backend/ev-job-queue.c:
1484 * backend/ev-job-queue.h:
1485 * backend/ev-jobs.c:
1486 * backend/ev-jobs.h:
1487 * backend/ev-page-cache.c:
1488 * backend/ev-page-cache.h:
1490 EvPageCache and EvJobs are moved to shell.
1492 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1494 * lib/ev-file-helpers.h:
1496 New helper to work with temporary files
1498 * shell/Makefile.am:
1499 * shell/ev-application.c: (ev_application_open):
1500 * shell/ev-application.h:
1501 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1502 (remove_job_from_async_queue), (add_job_to_async_queue),
1503 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1504 (handle_job), (search_for_jobs_unlocked),
1505 (no_jobs_available_unlocked), (ev_render_thread),
1506 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1507 (ev_job_queue_add_job), (move_job_async), (move_job),
1508 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1509 * shell/ev-job-queue.h:
1510 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1511 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1512 * shell/ev-job-xfer.h:
1513 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1514 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1515 (ev_job_links_class_init), (ev_job_render_init),
1516 (ev_job_render_dispose), (ev_job_render_class_init),
1517 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1518 (ev_job_thumbnail_class_init), (ev_job_load_init),
1519 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1520 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1521 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1522 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1524 * shell/ev-page-action.c: (ev_page_action_set_document):
1525 * shell/ev-page-cache.c: (ev_page_cache_init),
1526 (ev_page_cache_class_init), (ev_page_cache_finalize),
1527 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1528 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1529 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1530 (ev_page_cache_get_title), (ev_page_cache_get_size),
1531 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1532 (ev_page_cache_get_height_to_page),
1533 (ev_page_cache_get_max_label_chars),
1534 (ev_page_cache_get_page_label),
1535 (ev_page_cache_has_nonnumeric_page_labels),
1536 (ev_page_cache_get_info), (ev_page_cache_next_page),
1537 (ev_page_cache_prev_page), (ev_page_cache_get):
1538 * shell/ev-page-cache.h:
1539 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1540 (ev_pixbuf_cache_clear_job_sizes),
1541 (ev_pixbuf_cache_add_jobs_if_needed),
1542 (ev_pixbuf_cache_set_page_range):
1543 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1544 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1545 * shell/ev-sidebar-thumbnails.c:
1546 (ev_sidebar_tree_selection_changed),
1547 (ev_sidebar_thumbnails_set_document):
1548 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1549 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1550 (ev_statusbar_get_context_id), (ev_statusbar_push),
1551 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1552 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1553 (ev_statusbar_set_progress):
1554 * shell/ev-statusbar.h:
1555 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1556 (ev_view_find_previous):
1557 * shell/ev-window.c: (ev_window_is_empty),
1558 (ev_window_setup_document), (password_dialog_response),
1559 (ev_window_clear_jobs), (ev_window_load_job_cb),
1560 (ev_window_xfer_job_cb), (ev_window_open_uri),
1561 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1562 (ev_window_print), (ev_window_print_range),
1563 (ev_window_state_event), (ev_window_cmd_view_reload),
1564 (menu_item_select_cb), (menu_item_deselect_cb),
1565 (view_status_changed_cb), (ev_window_dispose),
1566 (drag_data_received_cb), (ev_window_init):
1567 * shell/ev-window.h:
1568 * shell/main.c: (load_files):
1570 New statusbar to show progress on idle. Two new jobs -
1571 xfer job and load job to load document in background. And update
1572 of page_cache clients to new location of code.
1574 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1576 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1577 selection in open dialog. It also remembers the last visited directory
1578 in the current session.
1580 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1582 * shell/ev-properties.c: (ev_properties_new):
1583 * shell/ev-properties.h:
1584 * shell/ev-window.c: (ev_window_cmd_file_properties):
1586 Get document info from page cache instead of document itself.
1587 This should fix crash related to race conditions described in
1590 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1592 * ps/ps-document.c: (ps_document_init),
1593 (send_ps), (get_page_box), (output), (catchPipe), (input),
1594 (stop_interpreter), (file_length), (file_readable),
1595 (check_filecompressedb), (ps_document_enable_interpreter),
1596 (document_load), (ps_async_renderer_render_pixbuf):
1599 Big cleanup of the ps code
1601 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1603 * backend/Makefile.am:
1604 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1605 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1606 * backend/ev-async-renderer.h:
1608 Add an async renderer interface (method + callback) which
1609 is useful for backends like ps.
1611 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1612 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1613 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1614 (ev_job_queue_add_job), (move_job_async), (move_job),
1615 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1617 Add queues for async renderer, these are executed on the
1620 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1621 (ev_job_render_run):
1622 * backend/ev-jobs.h:
1624 If the backend support async renderer interface use it.
1626 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1627 (setup_pixmap), (ps_document_get_type),
1628 (ps_async_renderer_render_pixbuf),
1629 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1631 Implement async renderer interface.
1633 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1635 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1637 Cleanup links job on exit.
1639 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1641 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1642 (drag_data_get_cb), (drag_data_received_cb):
1643 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1644 (drag_data_get_cb), (parse_item_list),
1645 (egg_toolbar_editor_load_actions):
1646 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1647 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1648 (parse_item_list), (parse_toolbars):
1649 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1650 (dvi_pixbuf_put_pixel):
1652 Fix gcc 4.0 warnings
1654 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1656 * ps/ps-document.c: (start_interpreter):
1658 Fix warning when loading ps
1660 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1662 * ps/ps-document.c: (output):
1664 Fix crash when priting gs error messages.
1666 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1668 * backend/ev-page-cache.c: (_ev_page_cache_new):
1669 * backend/ev-page-cache.h:
1671 Use a const to return title so that we dont double
1672 free it. Small cleanup and fix a leak.
1674 * shell/ev-window.c: (update_window_title):
1676 strdup value from get_title.
1678 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1680 * shell/ev-sidebar-links.c: (job_finished_callback),
1681 (ev_sidebar_links_set_document):
1683 Cleanup the old job when changing document
1685 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1687 * shell/ev-stock-icons.c:
1688 * shell/ev-stock-icons.h:
1689 * shell/ev-window.c:
1691 Add stock icons for actions that can appear in toolbar. Fix for
1694 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1696 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1697 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1698 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1699 * backend/ev-page-cache.h:
1700 * shell/ev-view.c: (scroll_to_current_page),
1701 (view_update_range_and_current_page), (get_page_y_offset),
1702 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1703 (ev_view_size_request_continuous),
1704 (ev_view_zoom_for_size_continuous_and_dual_page),
1705 (ev_view_zoom_for_size_continuous):
1707 More compact EvView layout in document with pages of different size.
1709 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1711 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1714 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1716 * shell/ev-view.c: (view_set_adjustment_values):
1717 * shell/ev-window.c: (ev_window_cmd_file_properties):
1719 A bit different fix for rounding problem but it has no
1720 problems on startup. Make properties window transient to parent.
1722 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1724 * pdf/ev-poppler.cc:
1726 More commenting of font stuff.
1728 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1730 * pdf/ev-poppler.cc:
1732 Comment out some more fonts stuff. Should really
1733 work without the poppler patch now.
1735 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1737 * pdf/ev-poppler.cc:
1741 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1743 * data/evince-properties.glade:
1744 * pdf/ev-poppler.cc:
1745 * shell/ev-properties.c: (setup_fonts_view):
1747 Set the column title. Show the dialog only
1748 once everything is setup.
1749 Getting font info can be very slow... will
1750 prolly need to make this threaded too.
1752 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1754 * backend/Makefile.am:
1755 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1756 (ev_document_fonts_get_fonts_model):
1757 * backend/ev-document-fonts.h:
1758 * data/evince-properties.glade:
1759 * pdf/ev-poppler.cc:
1760 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1761 * shell/ev-properties.h:
1762 * shell/ev-window.c: (ev_window_cmd_file_properties):
1764 Implement fonts list. Defined out for now, since it depends
1765 on a not yet committed poppler patch.
1767 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1769 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1772 * shell/ev-window.c: Make sure we add the timeout when we get a
1775 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1776 adjustment->value before calculating the zoom factor to average
1777 out all of our rounding errors. The page no longer 'drifts' when
1780 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1782 * data/evince-properties.glade:
1783 * shell/ev-properties.c: (ev_properties_format_date),
1786 Labels don't expand when the dialogue is resized.
1787 strftime result needs to be converted to UTF-8. Thanks
1788 to Christian Persch <chpe@gnome.org>.
1790 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1792 * data/evince-properties.glade:
1796 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1798 * backend/ev-document-info.h:
1799 * backend/ev-document.c: (ev_document_info_free):
1800 * data/evince-properties.glade:
1801 * pdf/ev-poppler.cc:
1802 * ps/ps-document.c: (ps_document_get_info):
1803 * shell/ev-properties.c: (ev_properties_format_date),
1804 (set_property), (ev_properties_new):
1805 * shell/ev-properties.h:
1806 * shell/ev-window.c: (ev_window_cmd_file_properties):
1808 Rework properties code to take only EvPropertyInfo
1809 in the constructor so that it can be useful for
1810 nautilus plugin too.
1812 Deal with backends that doesnt support some properties.
1813 Make set property code generic.
1815 2005-06-04 Christian Persch <chpe@gnome.org>
1817 * data/evince-properties.glade:
1819 fix spacings, make resizeable, and make data labels
1820 selectable + ellipsised
1822 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1824 * backend/ev-document-info.h:
1826 * data/evince-ui.xml:
1827 * pdf/ev-poppler.cc:
1828 * shell/Makefile.am:
1829 * shell/ev-window.c: (update_action_sensitivity),
1830 (ev_window_cmd_file_properties):
1832 Initial go at file properties. Patch by
1833 Emil Soleyman-Zomalan <emil@soleyman.com>.
1834 Needs love see #169583
1836 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1838 * ps/ps-document.c: (output):
1839 * ps/ps.c: (psscan):
1841 Try to render even if psscan fails.
1843 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1845 * ps/ps.c: (psscan), (pscopydoc):
1847 Port buffered reading code from gv
1849 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1851 * ps/ps-document.c: (interpreter_message), (output):
1853 Do not fail on interpreter messages
1855 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1857 * backend/ev-document-misc.c:
1858 (ev_document_misc_get_thumbnail_frame):
1860 Pages can be 0 x 0, dont assert on this case
1862 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1864 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1865 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1867 Correctly manage our reference on document. Finally the reload
1868 huge leak is gone...
1870 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1872 * ps/ps-document.c: (ps_document_dispose):
1874 Forgot to chain it to the parent. Thanks chpe.
1876 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1878 * ps/ps-document.c: (ps_document_dispose),
1879 (ps_document_class_init), (stop_interpreter), (document_load):
1881 Cleanup dispose a bit. Dont leak the whole pixmap.
1883 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1885 * pdf/ev-poppler.cc:
1887 Release the poppler document on dispose
1889 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1891 * shell/ev-view.c: (ev_view_set_document):
1893 Release ref on the pixbuf cache when changing
1896 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1898 * ps/ps-document.c: (ps_document_get_info):
1902 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1904 * backend/ev-page-cache.c: (ev_page_cache_init),
1905 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1906 * backend/ev-page-cache.h:
1907 * shell/ev-page-action.c: (page_changed_cb):
1909 Set page action entry width depending on labels width. Fix
1912 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1914 * backend/ev-link.c: (ev_link_class_init):
1916 Allow -1 as page value (error)
1918 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1920 * shell/ev-sidebar-thumbnails.c:
1921 (ev_sidebar_thumbnails_set_document):
1922 * shell/ev-view.c: (scroll_to_current_page),
1923 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1924 (page_changed_cb), (on_adjustment_value_changed),
1925 (ev_view_set_document):
1927 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1930 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1933 * djvu/djvu-document.c: (djvu_document_get_page_size):
1935 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1938 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1940 * shell/ev-view.c (draw_one_page): modify the expose handling to
1943 * shell/ev-window.c (update_action_sensitivity): Respect
1944 permissions field. Kowtow to the man.
1946 * pdf/ev-poppler.cc: Get the permissions field.
1948 * tiff/*c: Make a tiny bit more robust.
1950 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1952 * djvu/djvu-document.c:
1954 Pop messages from djvu context message queue.
1956 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1958 * configure.ac, Makefile.am, shell/Makefile.am:
1959 * tiff/Makefile.am, shell/ev-document-types.c:
1961 Cleanup tiff configure checks. Fix for bug 305218.
1963 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1965 * configure.ac: Added "uk" to ALL_LINGUAS.
1967 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1969 * cut-n-paste/zoom-control/ephy-zoom.c:
1970 (ephy_zoom_get_changed_zoom_level):
1971 * cut-n-paste/zoom-control/ephy-zoom.h:
1972 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1973 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1974 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1975 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1976 (zoom_control_changed_cb), (ev_window_init):
1978 Fix minor points related to moving best fit up. Introduce
1979 "zoom" property and make zoom control change it's value on
1980 notify::zoom signals. Fix for 305080.
1982 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1984 * data/evince-ui.xml:
1985 * shell/ev-window.c: (set_view_actions_sensitivity):
1987 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1989 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1993 Depends on poppler 0.3.2
1995 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1997 * cut-n-paste/recent-files/egg-recent-item.c:
1998 (egg_recent_item_get_short_name):
1999 * cut-n-paste/toolbar-editor/Makefile.am:
2000 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2001 (new_pixbuf_from_widget):
2002 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2003 * cut-n-paste/toolbar-editor/egg-marshal.c:
2004 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2005 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2009 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2011 * tiff/tiff-document.c: Rough TIFF backend.
2013 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2017 * cut-n-paste/toolbar-editor/Makefile.am:
2021 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2023 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2024 (ev_view_find_next), (ev_view_find_previous):
2026 Remove the locks around get_n_results
2028 2005-05-21 Juerg Billeter <j@bitron.ch>
2030 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2032 Pass correct number of pages to poppler.
2034 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2038 * data/evince.desktop.in:
2039 * data/evince.desktop.in.in:
2042 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2044 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2046 * shell/ev-view.c: (view_update_adjustments),
2047 (view_set_adjustment_values): cast adjustmen->value to (int)
2048 before using it. Otherwise, we get off by a pixel in some
2051 (draw_one_page): Draw the border on expose.
2053 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2055 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2056 adjustment when the mode changes, #304923
2058 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2060 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2061 flickering on resize but still use gdk_window_scroll on
2064 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2066 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2069 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2071 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2072 second page on page_changed if possible, #304669
2074 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2076 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2077 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2079 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2082 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2083 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2084 (ev_view_zoom_for_size_presentation),
2085 (ev_view_zoom_for_size_continuous_and_dual_page),
2086 (ev_view_zoom_for_size_continuous),
2087 (ev_view_zoom_for_size_dual_page),
2088 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2090 * shell/ev-window.c: (update_view_size),
2091 (ev_window_sizing_mode_changed_cb):
2093 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2094 the scrollbars. It's not 100% right, but it's much closer. Kills
2095 an infinite loop, #304769
2098 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2100 * data/evince-ui.xml:
2101 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2102 * shell/ev-window.c: (set_view_actions_sensitivity):
2104 Make PgUp/Down behave like Space
2106 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2108 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2109 * backend/ev-ps-exporter.h:
2110 * pdf/ev-poppler.cc:
2111 * ps/ps-document.c: (ps_document_ps_export_begin):
2112 * shell/ev-print-job.c: (idle_print_handler):
2114 Adapt to new poppler api
2116 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2118 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2119 (ephy_zoom_control_init):
2121 Translate zoom levels
2123 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2125 * cut-n-paste/zoom-control/ephy-zoom.c:
2126 (ephy_zoom_get_zoom_level_index):
2128 Fix current zoom -> zoom control match
2130 2005-05-18 James Bowes <bowes@cs.dal.ca>
2132 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2133 rather than the scrolled_window that it's in. Fixes bug #304655.
2135 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2137 * shell/ev-view.c: (view_update_adjustments),
2138 (view_set_adjustment_values), (view_update_range_and_current_page),
2139 (view_scroll_to_page), (set_scroll_adjustment),
2140 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2141 (ev_view_scroll), (ev_view_scroll_view),
2142 (ensure_rectangle_is_visible), (find_page_at_location),
2143 (get_link_at_location), (go_to_link), (status_message_from_link),
2144 (ev_view_size_request_continuous_dual_page),
2145 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2146 (ev_view_unrealize), (ev_view_expose_event),
2147 (ev_view_button_press_event), (ev_view_motion_notify_event),
2148 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2149 (draw_rubberband), (highlight_find_results), (draw_one_page),
2150 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2151 (ev_view_init), (find_changed_cb), (page_changed_cb),
2152 (on_adjustment_value_changed), (ev_view_new),
2153 (ev_view_set_document), (ev_view_set_zoom),
2154 (ev_view_set_continuous), (ev_view_set_dual_page),
2155 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2156 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2157 (ev_view_zoom_for_size_presentation),
2158 (ev_view_zoom_for_size_continuous_dual_page),
2159 (ev_view_zoom_for_size_continuous),
2160 (ev_view_zoom_for_size_dual_page),
2161 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2162 (ev_view_get_status), (ev_view_set_status),
2163 (update_find_status_message), (ev_view_get_find_status),
2164 (ev_view_set_find_status), (jump_to_find_result),
2165 (jump_to_find_page), (compute_selections), (clear_selection),
2166 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2167 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2168 (ev_view_update_primary_selection),
2169 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2171 * shell/ev-window.c: (ev_window_open_page_label),
2172 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2174 * shell/ev-window.h:
2175 * shell/main.c: (load_files):
2177 Massive code clean up from Nickolay Shmyrev. Keep page offset
2178 when resizing. Remove the bin_window(). Also, patch from James
2179 Bowes to fix command line page, #300641
2181 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2183 * data/evince-ui.xml:
2186 * shell/ev-window.c: (update_action_sensitivity):
2188 Get rid of View->Normal Size, it's just confusing
2190 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2192 * backend/ev-document-info.h:
2193 * backend/ev-document.c: (ev_document_info_free): Free the
2196 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2197 (clear_range), (add_range), (update_visible_range),
2198 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2199 (ev_sidebar_thumbnails_set_document):
2200 * shell/ev-window.c: (ev_window_setup_document): Only render the
2201 visible thumbnails. It takes an instant to render, but it uses
2204 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2206 * shell/ev-sidebar-links.c: (popup_menu_cb):
2210 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2213 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2214 (button_press_cb), (ev_sidebar_links_construct):
2216 Show the popup menu also on keybindings
2218 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2220 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2221 * shell/ev-window.h:
2223 Expose api to print a range (with dialog). Make private _print use
2226 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2227 (ev_sidebar_links_construct):
2229 Show a print context menu on linkx, it prints the selected
2232 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2234 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2237 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2243 * shell/ev-window.c: (build_comments_string),
2244 (ev_window_cmd_help_about):
2246 Show poppler version/backend and authors
2248 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2250 * cut-n-paste/zoom-control/ephy-zoom.c:
2251 (ephy_zoom_get_zoom_level_index):
2252 * cut-n-paste/zoom-control/ephy-zoom.h:
2254 Move the best fit items at the top of the list
2256 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2258 * shell/ev-marshal.list:
2259 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2260 (activate_cb), (match_selected_cb), (activate_link_cb),
2261 (connect_proxy), (ev_page_action_class_init):
2262 * shell/ev-page-action.h:
2264 Use signals to notify action activation. Hopefully
2265 I did not break completion since I cant test...
2267 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2268 (register_custom_actions):
2270 Connect to page selector actions and also grab focus on
2271 the view when activated.
2273 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2275 * pdf/ev-poppler.cc:
2276 * backend/ev-page-cache.c: make page size calculation consistent
2277 and set it to (int)( width * scale + 0.5). This makes the weird
2278 line going through the middle of the page go away.
2280 * shell/ev-view.c: move painting the background page after
2281 checking the expose area covers us.
2283 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2285 * data/evince-password.glade:
2287 Mark labels as not translatable. Fix for bug 302842.
2289 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2291 * configure.ac: Added "es" to ALL_LINGUAS.
2293 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2295 * data/evince-toolbar.xml:
2296 * shell/ev-window.c: (update_action_sensitivity),
2297 (ev_window_setup_document), (ev_window_set_page_mode),
2300 Remove some leftover code from jrb first continous
2301 attempt. Use the new actions, we still need good icons
2304 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2306 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2308 Update label when connecting proxy. Fix a warning with NULL
2311 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2313 * data/evince-ui.xml:
2314 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2315 * shell/ev-page-action.h:
2316 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2318 Add mnemonic for edit toolbar.
2319 ctrl+l focus the page entry.
2321 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2324 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2326 * shell/main.c: (main):
2328 Put the toolbar xml in evince own dot dir
2330 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2332 * shell/ev-window.c: (ev_window_init):
2334 Make the toolbar not removable
2336 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2338 * data/evince-ui.xml:
2339 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2340 * shell/ev-sidebar-links.h:
2341 * shell/ev-sidebar-thumbnails.c:
2342 (ev_sidebar_thumbnails_get_treeview):
2343 * shell/ev-sidebar-thumbnails.h:
2344 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2345 (ev_view_class_init):
2347 * shell/ev-window.c: (update_action_sensitivity),
2348 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2349 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2350 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2353 This is evil... Make space/backspace global accelerators but
2354 enable them only for some widgets (sidebars and view).
2355 I dont like it, but I dont know a better way... :/
2357 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2359 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2360 (ev_page_action_widget_finalize),
2361 (ev_page_action_widget_class_init), (update_page_cache):
2363 Keep a weak reference on proxy->page_cache so that we
2364 dont try to disconnect the signal if the object is already
2365 gone. Maybe there is a better way to cleanup reference handling
2366 in page action though...
2368 2005-05-10 Juerg Billeter <j@bitron.ch>
2370 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2371 * backend/ev-ps-exporter.h:
2372 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2373 * ps/ps-document.c: (ps_document_ps_export_begin):
2375 Change api to pass print range to ps_exporter_begin. The pdf backend
2376 requires this information.
2378 * shell/ev-print-job.c: (idle_print_handler):
2382 2005-05-10 Juerg Billeter <j@bitron.ch>
2384 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2385 (idle_print_handler)
2386 * shell/ev-window.c: (ev_window_print):
2388 Support printing page range, based on patch by Amaury Jacquot
2390 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2392 * data/evince-toolbar.xml:
2394 Add zoom control to available items
2396 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2398 * shell/ev-window.c: (update_action_sensitivity):
2400 Set slash action insensitive when appropriate
2402 2005-05-10 Christian Persch <chpe@gnome.org>
2404 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2406 Fix warning on the overflow menu
2408 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2410 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2412 Check for uri correctness/existence
2414 2005-05-09 Juerg Billeter <j@bitron.ch>
2416 * shell/ev-window.c: (using_postscript_printer):
2418 LPD printers use postscript, too
2420 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2422 * shell/ev-window.c: (register_custom_actions):
2424 The zoom one is actually sort of useful,
2427 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2429 * shell/ev-window.c: (register_custom_actions):
2431 Hide page/zoom controls from overflow, they
2434 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2436 * cut-n-paste/update-from-egg.sh:
2438 Share it between all cut-n-paste subdirs
2440 * cut-n-paste/recent-files/Makefile.am:
2442 Fix to use "global" update-from-egg.sh
2444 * cut-n-paste/recent-files/egg-recent-model.c:
2445 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2446 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2447 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2448 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2452 * cut-n-paste/toolbar-editor/Makefile.am:
2454 Fix to use "global" update-from-egg.sh
2456 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2460 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2463 * cut-n-paste/Makefile.am:
2464 * cut-n-paste/recent-files/Makefile.am:
2465 * cut-n-paste/toolbar-editor/.cvsignore:
2466 * cut-n-paste/toolbar-editor/Makefile.am:
2467 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2468 (egg_editable_toolbar_get_type), (get_toolbar_position),
2469 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2470 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2471 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2472 (set_item_drag_source), (create_item_from_action), (create_item),
2473 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2474 (popup_toolbar_context_menu_cb), (free_dragged_item),
2475 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2476 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2477 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2478 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2479 (item_added_cb), (item_removed_cb),
2480 (egg_editable_toolbar_construct),
2481 (egg_editable_toolbar_disconnect_model),
2482 (egg_editable_toolbar_deconstruct),
2483 (egg_editable_toolbar_set_model),
2484 (egg_editable_toolbar_set_ui_manager),
2485 (egg_editable_toolbar_set_property),
2486 (egg_editable_toolbar_get_property),
2487 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2488 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2489 (egg_editable_toolbar_new_with_model),
2490 (egg_editable_toolbar_get_edit_mode),
2491 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2492 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2493 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2494 (new_pixbuf_from_widget), (new_separator_pixbuf),
2495 (update_separator_image), (style_set_cb),
2496 (_egg_editable_toolbar_new_separator_image),
2497 (egg_editable_toolbar_get_model):
2498 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2499 * cut-n-paste/toolbar-editor/egg-marshal.c:
2500 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2501 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2502 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2503 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2504 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2505 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2506 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2507 (editor_drag_data_delete_cb), (drag_data_get_cb),
2508 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2509 (editor_create_item), (update_editor_sheet), (setup_editor),
2510 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2511 (parse_item_list), (model_has_action), (update_actions_list),
2512 (egg_toolbar_editor_load_actions):
2513 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2514 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2515 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2516 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2517 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2518 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2519 (egg_toolbars_model_add_separator), (impl_add_item),
2520 (parse_item_list), (egg_toolbars_model_add_toolbar),
2521 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2522 (impl_get_item_data), (impl_get_item_type),
2523 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2524 (egg_toolbars_model_init), (free_toolbar),
2525 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2526 (egg_toolbars_model_remove_toolbar),
2527 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2528 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2529 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2530 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2531 (egg_toolbars_model_get_item_data),
2532 (egg_toolbars_model_get_item_type):
2533 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2534 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2536 * data/evince-toolbar.xml:
2537 * data/evince-ui.xml:
2538 * data/hand-open.png:
2540 * shell/Makefile.am:
2541 * shell/ev-window.c: (update_chrome_visibility),
2542 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2543 (ev_window_dispose), (ev_window_init):
2545 Implement epiphany like toolbar editor. Based on patch by
2546 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2548 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2550 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2552 Use set_cursor instead of set_selection, so that
2553 the keyboard focus moves too.
2555 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2557 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2559 Fix infinite loop when loading Type1 fonts
2561 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2563 * data/evince-ui.xml:
2564 * shell/ev-window.c:
2568 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2572 Make --disable really disable
2574 2005-05-07 Juerg Billeter <j@bitron.ch>
2576 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2578 Compare page labels even without has_labels set, fixes setting page
2581 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2583 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2584 (ev_view_set_cursor), (ev_view_button_press_event),
2585 (ev_view_motion_notify_event), (ev_view_button_release_event),
2588 Implement middle button scrolling. Based on a patch
2589 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2591 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2593 * shell/ev-document-types.c: (get_slow_mime_type),
2594 (get_document_type_from_mime), (ev_document_type_lookup):
2595 * shell/ev-document-types.h:
2597 Change api to lookup from uri. Do fast lookup first, if the
2598 type is unknown try with data sniffing.
2600 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2601 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2605 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2607 * thumbnailer/Makefile.am:
2611 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2618 * data/evince-ui.xml:
2620 Hide presentation mode for now
2622 * shell/ev-view.c: (highlight_find_results):
2624 Show current find selection only on current page
2626 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2628 * shell/ev-view.c: (ev_view_select_all):
2630 Compute size of the actual page, not of
2633 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2635 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2636 (view_rect_to_doc_rect), (compute_selections),
2637 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2638 (ev_view_copy), (ev_view_primary_get_cb),
2639 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2640 (ev_view_button_press_event), (ev_view_motion_notify_event),
2641 (ev_view_button_release_event), (page_changed_cb):
2645 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2647 * shell/ev-view.c: (compute_border), (get_page_extents),
2648 (doc_rect_to_view_rect), (highlight_find_results),
2649 (ev_view_bin_expose), (ev_view_select_all),
2650 (ev_view_motion_notify_event), (update_find_status_message),
2651 (jump_to_find_result), (jump_to_find_page):
2653 First go at fixing search, still buggy
2655 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2657 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2658 dropdown box and button at the top of the sidebar.
2660 2005-05-02 James Bowes <bowes@cs.dal.ca>
2662 * configure.ac: Output zoom-control Makefile.
2663 * cut-n-paste/Makefile.am: build zoom-control subdir.
2664 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2665 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2666 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2667 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2668 * cut-n-paste/zoom-control/ephy-zoom.c:
2669 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2670 from epiphany, and modified to add a separator into the menu.
2671 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2672 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2673 zoom-control action.
2674 * shell/Makefile.am: Include zoom-control flags.
2675 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2676 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2677 (ev_view_zoom_for_size_presentation),
2678 (ev_view_zoom_for_size_continuous_and_dual_page),
2679 (ev_view_zoom_for_size_continuous),
2680 (ev_view_zoom_for_size_dual_page),
2681 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2682 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2683 ev_view_get_zoom and ev_view_get_sizing_mode.
2685 * shell/ev-window.c: (update_action_sensitivity),
2686 (update_sizing_buttons), (zoom_control_changed_cb),
2687 (register_custom_actions): Initialize and use the zoom-control
2690 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2692 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2693 preview cache back to 1. Don't know when it got set to 0.
2695 * shell/ev-view.c: (compute_border), (ev_view_realize),
2696 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2697 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2698 (ev_view_get_fullscreen), (ev_view_set_presentation),
2699 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2700 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2702 * shell/ev-window.c:
2703 (update_chrome_visibility),
2704 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2705 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2706 (update_document_mode), (ev_window_update_fullscreen_action),
2707 (ev_window_fullscreen), (ev_window_unfullscreen),
2708 (ev_window_cmd_view_fullscreen),
2709 (ev_window_update_presentation_action),
2710 (ev_window_run_presentation), (ev_window_stop_presentation),
2711 (ev_window_cmd_view_presentation), (ev_window_state_event),
2712 (ev_window_focus_in_event), (ev_window_focus_out_event),
2713 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2714 * data/evince-ui.xml: Initial presentation mode. We should
2715 probably hide this until it's done, as it's quite rough. Also,
2716 change full-screen to fullscreen and add two getters to EvView.
2718 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2720 * shell/ev-page-action.c: (update_page_cache),
2721 (ev_page_action_dispose):
2722 * shell/ev-window.c: (destroy_fullscreen_popup),
2723 (ev_window_create_fullscreen_popup):
2725 Use connect_object rather than explicitly
2726 disconnect on dispose.
2728 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2730 * shell/ev-page-action.c: (update_page_cache),
2731 (ev_page_action_dispose):
2733 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2735 * backend/ev-page-cache.c: (_ev_page_cache_new),
2736 (ev_page_cache_set_page_label),
2737 (ev_page_cache_has_nonnumeric_page_labels):
2738 * backend/ev-page-cache.h:
2739 * shell/ev-page-action.c: (update_pages_label):
2741 If all page labels are numeric, fallback to default
2742 way to display number of pages. See bug 173185.
2744 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2746 * shell/ev-page-action.c: (ev_page_action_dispose):
2747 * shell/ev-view.c: (view_update_range_and_current_page):
2748 * shell/ev-window.c: (ev_window_dispose):
2750 Set page on scroll in continuous mode. Fixes bug 301986.
2751 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2753 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2757 Require poppler 0.3.0
2759 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2761 * shell/Makefile.am, configure.ac: Fix build problems
2762 with t1lib. Bug 301996.
2764 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2766 * shell/ev-view.c: (ev_view_scroll_event):
2768 Scroll up increase zoom
2770 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2772 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2773 (ev_view_set_sizing_mode),
2774 (ev_view_zoom_for_size_continuous_and_dual_page),
2775 (ev_view_zoom_for_size_continuous):
2776 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2777 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2778 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2781 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2782 Fix for 165473 and 165472.
2784 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2787 * thumbnailer/Makefile.am:
2788 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2789 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2790 * thumbnailer/evince-thumbnailer.schemas.in:
2792 Make thumbnailer schemas translatable. Fix for bug 301773
2794 * thumbnailer/evince-thumbnailer-djvu.schemas:
2795 * thumbnailer/evince-thumbnailer-dvi.schemas:
2796 * thumbnailer/evince-thumbnailer.schemas:
2800 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2802 * shell/ev-view.c (ev_view_init): forgot to set this.
2804 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2806 * shell/ev-view.c: (find_page_at_location),
2807 (get_link_at_location),
2808 (ev_view_set_show_border), (ev_view_set_spacing),
2809 (ev_view_zoom_for_size_continuous_and_dual_page),
2810 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2811 Also, add a quick fix measuring of widths. Also, removed
2812 ev_view_set_spacing and ev_view_set_show_border.
2814 * shell/ev-window.c: (ev_window_unfullscreen),
2815 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2817 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2819 * shell/ev-view.c: (view_update_range_and_current_page),
2822 Fix crash on exit and scrolling to page in continuous view.
2824 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2827 * backend/ev-page-cache.c: (_ev_page_cache_new),
2828 (ev_page_cache_get_max_width_size),
2829 (ev_page_cache_get_max_height_size):
2830 * backend/ev-page-cache.h:
2831 * data/evince-ui.xml:
2832 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2833 * shell/ev-view.c: (view_update_adjustments),
2834 (view_update_range_and_current_page), (get_bounding_box_size),
2835 (ev_view_size_request_continuous_and_dual_page),
2836 (ev_view_size_request_continuous),
2837 (ev_view_size_request_dual_page),
2838 (ev_view_size_request_single_page), (ev_view_size_request),
2839 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2840 (ev_view_bin_expose), (ev_view_expose_event),
2841 (ev_view_set_property), (ev_view_get_property),
2842 (ev_view_class_init), (ev_view_init), (ev_view_new),
2843 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2844 (ev_view_set_dual_page), (ev_view_set_full_screen),
2845 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2846 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2847 (ev_view_zoom_out), (zoom_for_size_fit_width),
2848 (zoom_for_size_best_fit),
2849 (ev_view_zoom_for_size_continuous_and_dual_page),
2850 (ev_view_zoom_for_size_continuous),
2851 (ev_view_zoom_for_size_dual_page),
2852 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2853 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2855 * shell/ev-window.c: (update_action_sensitivity),
2856 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2857 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2858 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2859 (ev_window_cmd_view_zoom_out), (update_view_size),
2860 (ev_window_set_sizing_mode), (ev_window_init):
2862 Add Continuous and Dual page modes.
2864 2005-04-23 James Bowes <bowes@cs.dal.ca>
2866 * dvi/dvi-document.c: (dvi_document_load),
2867 (dvi_document_thumbnails_get_thumbnail),
2868 (dvi_document_init_params): Fix up some mixups between
2869 width and height to correct thumbnail rendering.
2871 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2873 * dvi/mdvi-lib/private.h:
2874 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2876 Suppess output for kpathsea during font generation. Thanks to
2879 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2886 * Makefile.am: fix distcheck.
2888 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2890 * shell/ev-sidebar-links.c: (selection_changed_callback),
2891 (update_page_callback), (row_activated_callback),
2892 (job_finished_callback), (ev_sidebar_links_set_document):
2894 Fix for bug #169901. Double click on links expands tree.
2896 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2898 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2899 hard-coded style. Fix for bug 170111
2901 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2903 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2906 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2908 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2910 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2912 * pdf/ev-poppler.cc:
2913 * shell/ev-view.c: (highlight_find_results):
2915 Fix find on single page documents
2917 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2919 * data/evince.schemas.in: fix for bug 301390
2921 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2923 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2924 (ev_view_zoom_out), (ev_view_zoom_normal):
2926 * shell/ev-window.c: (update_action_sensitivity),
2927 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2928 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2929 (ev_window_cmd_view_normal_size):
2931 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2932 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2935 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2939 Depend on 2.57, 2.59 doesnt seem to be necessary
2941 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2943 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2946 Put back total number of pages as (1 of 1234)
2948 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2950 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2953 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2954 function. This helps debugging.
2956 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2958 * djvu/djvu-document.c: (djvu_document_class_init),
2959 (djvu_document_get_info), (djvu_document_document_iface_init):
2960 * dvi/dvi-document.c: (dvi_document_class_init),
2961 (dvi_document_get_info), (dvi_document_document_iface_init):
2963 Dummy implementation of get_info method for dvi and djvu. Fix
2964 crashes with those backends
2966 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2968 * data/evince.desktop.in:
2970 Add application/x-gzpostscript
2972 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2974 * data/evince.schemas.in: Added real long descriptions,
2977 * README: Added actual text, closes bug 171869
2979 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2981 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2985 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2987 * backend/ev-document-info.h:
2989 s/GDate */GDate so we can just use g_free
2991 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2993 * shell/ev-window.c: (update_document_mode),
2994 (ev_window_setup_document):
2996 Show the window in fullscreen when specified by
2999 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3001 * backend/ev-document.c: (ev_document_class_init),
3002 (ev_document_get_info), (ev_document_render_pixbuf):
3003 * backend/ev-document.h:
3004 * backend/ev-page-cache.c: (_ev_page_cache_new):
3005 * pdf/ev-poppler.cc:
3006 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3007 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3008 * ps/ps-document.c: (ps_document_class_init), (document_load),
3009 (ps_document_get_info), (ps_document_document_iface_init):
3011 Remove get_title from the interface, we can just use document info
3013 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3015 * backend/Makefile.am:
3016 * backend/ev-document.c: (ev_document_render_get_info):
3017 * backend/ev-document.h:
3018 * pdf/ev-poppler.cc:
3020 Initial support for document info. Based on jrb patch.
3022 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3024 * shell/ev-window.c: (ev_window_state_event),
3025 (ev_window_class_init), (ev_window_init):
3027 Doesn't show resize grip when maximized. See bug #301053
3029 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3033 ev-sidebar-thumbnails now has translatable labels
3035 * shell/Makefile.am:
3036 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3037 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3038 (ev_sidebar_links_page_iface_init):
3039 * shell/ev-sidebar-links.h:
3040 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3041 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3042 (ev_sidebar_page_get_label):
3043 * shell/ev-sidebar-page.h:
3044 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3045 (ev_sidebar_thumbnails_set_document),
3046 (ev_sidebar_thumbnails_support_document),
3047 (ev_sidebar_thumbnails_get_label),
3048 (ev_sidebar_thumbnails_page_iface_init):
3049 * shell/ev-sidebar-thumbnails.h:
3050 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3051 (ev_sidebar_set_document):
3052 * shell/ev-sidebar.h:
3053 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3055 Small rework of sidebar code. Now sidebar pages should implement
3056 EvSidebarPage interface. That makes page management in EvSidebar
3057 easier. See bug #164811 for details
3059 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3061 * shell/ev-application.c: (ev_application_open):
3062 * shell/ev-document-types.c:
3064 Fix build error and small problem with application exit
3066 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3068 * thumbnailer/Makefile.am:
3069 * thumbnailer/evince-thumbnailer-djvu.schemas:
3070 * thumbnailer/evince-thumbnailer-dvi.schemas:
3072 Conditionally install schemas for djvu/dvi thumbnailer
3074 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3076 * shell/ev-document-types.h:
3077 * shell/ev-document-types.c:
3078 New files, handling the mapping from mimetypes to backends
3080 * shell/ev-window.c:
3081 * thumbnailer/evince-thumbnailer.c:
3082 Use the ev-document-types code
3084 * shell/Makefile.am:
3085 Added new convenience library libevbackendfactory_la, containing
3086 the new mimetype->backend logic; moved the backends into it.
3088 * thumbnailer/Makefile.am:
3089 Make the thumbnailer link with the libevbackend.la convenience
3090 library, rather than having a duplicate of the backend logic here.
3092 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3094 * shell/ev-stock-icons.c: constify some vars.
3095 * shell/ev-window.c: ditto.
3097 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3099 * ps/ps-document.c (get_page_orientation):
3101 Respect document orientation
3103 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3107 * shell/Makefile.am:
3109 Move library dependencies to components.
3111 * shell/ev-window.c: (update_window_title),
3112 (start_loading_document):
3114 Fix display of uris with spaces. Bug 168358.
3116 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3118 * shell/ev-sidebar-links.c: (selection_changed_cb):
3119 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3120 (ev_view_button_release_event), (ev_view_set_document):
3122 * shell/ev-window.c: (find_bar_search_changed_cb):
3123 * shell/ev-window.h: Minor cleanups removing some dead code.
3125 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3127 * backend/ev-page-cache.c: (_ev_page_cache_new):
3129 Set current page to 0 if document has pages.
3131 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3133 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3135 Initialize GError to NULL, fix a crash when loading fails.
3137 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3139 * shell/ev-window.c: (update_view_size):
3141 Calculate shadow size only when there is actually
3144 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3146 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3149 Allow setting view spacing, default to 0
3151 * shell/ev-window.c: (ev_window_unfullscreen),
3152 (ev_window_cmd_view_fullscreen), (ev_window_init):
3154 Remove spacing in fullscreen mode
3156 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3158 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3159 (ev_view_size_request), (expose_bin_window),
3160 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3162 * shell/ev-window.c: (ev_window_unfullscreen),
3163 (ev_window_cmd_view_fullscreen):
3165 Do not draw the border in fulscreen
3167 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3169 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3170 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3171 (find_page_at_location), (page_changed_cb):
3173 Rework border calculation, so that I can more easily disable it.
3174 Code somewhat cleaner too.
3176 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3178 * backend/ev-page-cache.c: (ev_page_cache_init),
3179 (_ev_page_cache_new):
3181 Remove some assertions, documents can have 0 pages.
3182 Make initial current page -1.
3184 * shell/ev-page-action.c: (page_changed_cb):
3186 Show "" if current page is -1
3188 * shell/ev-window.c: (update_action_sensitivity),
3189 (ev_window_setup_document):
3191 When document has 0 pages do not set the view
3192 and make nearly everything insensitive.
3194 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3196 * shell/ev-page-view.c:
3197 * shell/ev-page-view.h:
3199 Remove unused files.
3201 * shell/ev-sidebar-thumbnails.c:
3202 (ev_sidebar_thumbnails_set_document):
3203 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3204 (ev_sidebar_supports_document):
3205 * shell/ev-sidebar.h:
3206 * shell/ev-window.c: (ev_window_setup_document):
3208 Doesn't show thumbnails if document has 1 page. Make
3209 sidebar menu entries sensitive only if if they have
3210 sense. Fix bug 164811.
3212 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3214 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3215 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3216 (ev_view_zoom_out), (ev_view_set_size):
3218 Rework sizing to deal with documents with not uniform page
3221 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3223 * backend/ev-page-cache.c: (_ev_page_cache_new):
3225 Fix several page size caching bugs
3227 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3229 * shell/ev-window.c: (set_action_properties):
3231 Make all toolbar items translatable
3233 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3235 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3236 (save_page_list), (ps_document_save),
3237 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3238 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3239 (ps_document_ps_exporter_iface_init):
3242 Based on a patch by J�rg Billeter <j@bitron.ch>
3244 Implement print and save a copy for the ps backend.
3246 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3248 * backend/ev-document.h:
3249 * djvu/djvu-document.c: (djvu_document_can_get_text),
3250 (djvu_document_document_iface_init):
3251 * dvi/dvi-document.c: (dvi_document_can_get_text),
3252 (dvi_document_document_iface_init):
3253 * pdf/ev-poppler.cc:
3254 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3255 (pixbuf_document_document_iface_init):
3256 * ps/ps-document.c: (ps_document_can_get_text),
3257 (ps_document_document_iface_init):
3258 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3259 * shell/ev-window.c: (update_action_sensitivity):
3261 Fix the crash when trying to copy in backends that doesnt
3262 support it. We can implement a better solution once we
3263 do real text selection.
3265 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3267 * data/evince-ui.xml:
3268 * shell/ev-window.c: (ev_window_cmd_escape):
3270 Work around the Escape conflict (find bar and unfullscreen)
3272 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3274 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3276 Fix for #300233. Next page correctly handles document end.
3278 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3279 (ev_sidebar_thumbnails_class_init),
3280 (ev_sidebar_thumbnails_set_document),
3281 (ev_sidebar_thumbnails_clear_job),
3282 (ev_sidebar_thumbnails_clear_model):
3284 Cleanup thumbnail jobs on document changes.
3286 * shell/ev-view.c: (add_scroll_binding_keypad),
3287 (add_scroll_binding_shifted), (ev_view_class_init):
3289 Shift + Space scrolls up. Fix for #173184
3291 * shell/ev-window.c: (ev_window_open_page),
3292 (ev_window_cmd_view_reload):
3294 Fix reload (Bug #300094)
3296 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3299 * dvi/mdvi-lib/assoc.c:
3300 * dvi/mdvi-lib/assoc.h: Removed garbage files
3302 * dvi/mdvi-lib/bitmap.c:
3303 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3304 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3305 * dvi/mdvi-lib/color.h: Antialias of rules
3307 * dvi/mdvi-lib/common.h:
3308 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3309 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3310 * dvi/mdvi-lib/files.c:
3311 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3312 * dvi/mdvi-lib/mdvi.h:
3313 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3314 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3315 * dvi/mdvi-lib/util.c: Fix compile warnings
3317 * dvi/dvi-document.c:
3318 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3319 (dvi_document_thumbnails_get_thumbnail),
3320 (dvi_document_document_thumbnails_iface_init):
3321 * dvi/mdvi-lib/Makefile.am:
3322 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3323 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3325 Dvi backend now renders thumbnails
3327 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3329 * shell/main.c: (main):
3331 Save accelerators on exit. Fixes bug #172095.
3333 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3335 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3336 update priority" comment.
3338 * backend/ev-job-queue.c: Give a way to change priority.
3340 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3342 * shell/ev-page-action.c: Fix logic.
3344 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3346 * shell/ev-view.c: (ev_view_can_find_next):
3347 * shell/ev-window.c: (ev_window_setup_document):
3349 Check that the document supports find
3351 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3353 * data/evince-ui.xml:
3354 * shell/ev-view.c: (ev_view_can_find_next):
3356 * shell/ev-window.c: (update_action_sensitivity),
3357 (find_changed_cb), (ev_window_setup_document),
3358 (ev_window_cmd_edit_find_next):
3362 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3364 * pdf/ev-poppler.cc:
3365 * shell/ev-print-job.c: (idle_print_handler):
3367 Make printing work again
3369 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3371 * shell/ev-page-action.h:
3372 * shell/ev-page-action.c: (ev_page_action_widget_init),
3373 (ev_page_action_widget_class_init), (page_changed_cb),
3374 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3375 (get_filter_model_from_model), (match_selected_cb),
3376 (display_completion_text), (match_completion), (update_model),
3377 (connect_proxy), (ev_page_action_set_property),
3378 (ev_page_action_get_property), (ev_page_action_set_document),
3379 (ev_page_action_set_model), (ev_page_action_class_init): Big
3380 reworking to make completions work iff we have >= GTK-2.7.0
3382 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3383 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3384 (job_finished_cb): We now have a 'model' property that is set when
3385 the links are loaded. This can be caught with "notify::model"
3387 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3388 listen for the model to be set, and propagate it to the action.
3390 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3392 * cut-n-paste/recent-files/egg-recent-item.c:
3393 (egg_recent_item_set_uri), (make_valid_utf8),
3394 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3395 * cut-n-paste/recent-files/egg-recent-item.h:
3397 Update egg-recent from libegg. This should fix long
3398 startup problem. For details see
3399 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3401 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3403 * cut-n-paste/recent-files/Makefile.am:
3404 * data/evince-ui.xml, shell/Makefile.am:
3405 * shell/ev-application.c, shell/ev-application.h:
3406 * shell/ev-window.c: Recent files support.
3408 * configure.ac: Added "ru" to ALL_LINGUAS.
3410 * dvju: new backend to support DJVU files.
3411 * dvi: new backend to support DVI.
3413 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3414 * ev-application.c: Support for new backends.
3416 * help, ev-window.c, main.c shell/Makefile.am:
3417 Evince user documentation.
3419 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3422 * shell/ev-window.c:
3423 * thumbnailer/evince-thumbnailer.c:
3425 s/pdf-document/ev-poppler
3427 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3434 * ps/ps-document.c: (setup_pixmap):
3438 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3440 * backend/ev-page-cache.c (ev_page_cache_next_page):
3441 * shell/ev-window.c (ev_window_cmd_go_next_page)
3442 (ev_window_cmd_go_first_page): Fix of by one errors.
3444 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3446 * ps/ps-document.c: (get_page_box):
3448 Fix page size calculation
3450 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3452 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3453 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3454 (get_page_orientation), (setup_page), (document_load),
3455 (ps_document_get_page_size), (render_pixbuf_idle):
3458 More refactoring to adapt to EvDocument changes
3460 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3462 * ps/ps-document.c: (start_interpreter):
3464 Actually add alpha args
3466 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3468 * pdf/ev-poppler.cc:
3470 Make clipboard work again
3472 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3474 Make searching work again.
3476 * backend/ev-document.c:
3477 * backend/ev-document.h:
3478 * backend/ev-document-find.c:
3479 * backend/ev-document-find.h: Change EvDocumentIface so we no
3480 longer store the current page or zoom level in the document. The
3481 consequence is that all calls that operate on the current page now
3482 instead take the page number as an extra argument, and all
3483 coordinates are now doubles in document coordinate system.
3485 * pdf/ev-poppler.cc:
3486 * pixbuf/pixbuf-document.c:
3487 * ps/ps-document.c: Update backends accordingly.
3489 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3493 Add required gettext version
3495 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3497 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3498 make F1 bring up non-existent help.
3500 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3501 epiphany's find bar, #167477
3503 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3504 <emil@nishra.com> to add space-bar scrolling,
3506 * shell/ev-window.c (static GtkActionEntry entries): add default
3507 keybinding for Help (F1)
3510 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3511 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3514 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3517 * pixbuf/pixbuf-document.c:
3519 Got pixbuf backend working again
3521 2005-04-01 Steve Murphy <murf@e-tools.com>
3523 * configure.in: Added "rw" to ALL_LINGUAS.
3525 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3527 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3528 model types, noticed by Martin Kretzschmar.
3530 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3532 * pdf/ev-poppler.cc: Implement search based on
3533 poppler_page_find_text(). Currently a bit crude since we remember
3534 all matches from all pages. Also, we grab the big document lock
3535 when we search since searching changes the underlying stream and
3536 thus conflicts with the rendering thread.
3538 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3539 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3540 (ev_view_find_previous): Fix some page indexes to be 0 based,
3541 offset rubber band by view offset,
3543 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3545 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3547 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3549 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3550 completely because I didn't understand GtkActions. I should
3551 read Marco's code more carefully in the future.
3553 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3556 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3558 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3559 PopplerRectangle change from poppler CVS.
3561 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3563 * backend/ev-document.c: (ev_document_get_page_label):
3564 * backend/ev-document.h:
3565 * backend/ev-page-cache.c: (_ev_page_cache_new),
3566 (ev_page_cache_get_page_label):
3567 * backend/ev-page-cache.h:
3568 * pdf/ev-poppler.cc:
3569 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3570 (links_page_num_func):
3571 * shell/ev-sidebar-thumbnails.c:
3572 (ev_sidebar_thumbnails_set_document):
3573 * shell/ev-view.c: (status_message_from_link),
3574 (ev_view_motion_notify_event):
3575 * shell/ev-window.c: (document_supports_sidebar): Add in page
3576 label support. It's not perfect yet, but it's the first 'feature'
3578 Also, fix a bogus comment noticed by crispin.
3580 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3582 * Makefile.am: Remove pixbuf backend for now
3584 * configure.ac: Require poppler-glib instead of just poppler.
3586 * backend/ev-document-thumbnails.h: Add a comment
3588 * backend/ev-document.h:
3589 * backend/ev-document.c: (ev_document_class_init),
3590 (ev_document_load), (ev_document_get_link),
3591 (ev_document_get_links): Remove 3 methods and add get_links.
3594 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3595 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3597 * backend/ev-link.c: (ev_link_set_title),
3598 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3599 (ev_link_mapping_find):
3600 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3602 * backend/ev-page-cache.c: (ev_page_cache_init),
3603 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3604 (ev_page_cache_get_size), (ev_page_cache_next_page),
3605 (ev_page_cache_prev_page): Fix to be 0 based.
3609 * pdf/ev-poppler.cc: New backend.
3611 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3612 (ps_document_get_page), (ps_document_document_iface_init):
3614 * shell/ev-pixbuf-cache.h:
3615 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3616 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3617 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3618 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3619 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3620 Fix up code to grab a page cache per each doc. Also, fix to be 0
3623 * shell/ev-sidebar-thumbnails.c:
3624 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3625 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3627 * shell/ev-view.c: (status_message_from_link),
3628 (find_page_at_location), (get_link_at_location),
3629 (ev_view_motion_notify_event), (ev_view_button_release_event),
3630 (ev_view_init): Use the new link code. Fix to be 0 based.
3632 * shell/ev-window.c: (update_action_sensitivity),
3633 (document_supports_sidebar): 0 based.
3635 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3637 * pdf/pdf-document.cc: Patch from Fernando Herrera
3638 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3641 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3643 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3644 1 to the page, as this seems to be 1 based. I thought we has this
3647 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3650 * backend/Makefile.am:
3651 * backend/ev-document-links.c:
3652 (ev_document_links_has_document_links),
3653 (ev_document_links_get_links_model):
3654 * backend/ev-document-links.h:
3655 * backend/ev-document.c: (ev_document_get_page_cache),
3656 (ev_document_get_doc_mutex), (ev_document_load),
3657 (ev_document_save), (ev_document_get_title),
3658 (ev_document_get_n_pages), (ev_document_set_page),
3659 (ev_document_get_page), (ev_document_set_target),
3660 (ev_document_set_scale), (ev_document_set_page_offset),
3661 (ev_document_get_page_size), (ev_document_get_text),
3662 (ev_document_get_link), (ev_document_render),
3663 (ev_document_render_pixbuf), (ev_document_scale_changed):
3664 * backend/ev-document.h:
3665 * backend/ev-job-queue.c: (remove_object_from_queue),
3666 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3667 (no_jobs_available_unlocked), (ev_render_thread),
3668 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3669 (ev_job_queue_remove_job):
3670 * backend/ev-job-queue.h:
3671 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3672 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3673 (ev_job_links_class_init), (ev_job_render_init),
3674 (ev_job_render_dispose), (ev_job_render_class_init),
3675 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3676 (ev_job_thumbnail_class_init), (ev_job_finished),
3677 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3678 (ev_job_render_run), (ev_job_thumbnail_new),
3679 (ev_job_thumbnail_run):
3680 * backend/ev-jobs.h:
3681 * backend/ev-link.c:
3682 * backend/ev-link.h:
3683 * backend/ev-page-cache.c: (ev_page_cache_init),
3684 (ev_page_cache_class_init), (ev_page_cache_finalize),
3685 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3686 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3687 (ev_page_cache_set_link), (ev_page_cache_get_title),
3688 (ev_page_cache_get_size), (ev_page_cache_next_page),
3689 (ev_page_cache_prev_page):
3690 * backend/ev-page-cache.h:
3691 * pdf/pdf-document.cc:
3694 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3695 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3696 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3697 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3698 (is_interpreter_ready), (output), (catchPipe), (input),
3699 (start_interpreter), (check_filecompressed), (compute_dimensions),
3700 (ps_document_enable_interpreter), (document_load),
3701 (ps_document_next_page), (render_page), (ps_document_set_page),
3702 (ps_document_set_scale), (render_pixbuf_idle),
3703 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3705 * shell/Makefile.am:
3706 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3707 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3708 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3709 (ev_pixbuf_cache_new), (job_finished_cb),
3710 (check_job_size_and_unref), (move_one_job),
3711 (ev_pixbuf_cache_update_range), (find_job_cache),
3712 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3713 (ev_pixbuf_cache_add_jobs_if_needed),
3714 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3715 * shell/ev-pixbuf-cache.h:
3716 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3717 (idle_print_handler):
3718 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3719 (selection_changed_cb), (create_loading_model),
3720 (ev_sidebar_links_construct), (links_page_num_func),
3721 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3722 (update_page_callback), (job_finished_cb),
3723 (ev_sidebar_links_set_document):
3724 * shell/ev-sidebar-thumbnails.c:
3725 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3726 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3727 (page_changed_cb), (thumbnail_job_completed_callback),
3728 (ev_sidebar_thumbnails_set_document):
3729 * shell/ev-sidebar-thumbnails.h:
3730 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3731 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3732 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3733 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3734 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3735 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3736 (ev_view_button_release_event), (ev_view_scroll_view),
3737 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3738 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3739 (ev_view_new), (job_finished_cb), (page_changed_cb),
3740 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3741 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3742 (ev_view_find_previous):
3744 * shell/ev-window.c: (update_action_sensitivity),
3745 (ev_window_open_page), (update_window_title), (update_total_pages),
3746 (page_changed_cb), (ev_window_setup_document),
3747 (password_dialog_response), (ev_window_cmd_save_as),
3748 (ev_window_print), (ev_window_cmd_go_previous_page),
3749 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3750 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3751 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3752 * shell/main.c: (main):
3754 Merge evince-threads branch
3756 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3758 * configure.ac: Added "lt" to ALL_LINGUAS.
3760 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3767 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3769 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3771 Fix here also the thumbnails 1-basedness :)
3773 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3780 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3782 * pdf/pdf-document.cc:
3783 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3784 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3786 Fix the mess we did with thumbnails and 1-basedness
3788 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3790 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3792 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3799 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3802 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3803 (gtk_gs_defaults_get_alpha_parameters),
3804 (gtk_gs_defaults_get_ungzip_cmd),
3805 (gtk_gs_defaults_get_unbzip2_cmd):
3807 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3808 (ps_document_get_orientation), (document_load),
3809 (ps_document_goto_page), (ps_document_set_page_size):
3812 Some more sanitization of the ps backend. Remove a lot
3813 of unused code and do not base our defaults on ggv
3816 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3818 * thumbnailer/evince-thumbnailer.schemas:
3819 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3820 (main): add -s option for thumbnail size.
3822 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3826 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3829 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3831 * pdf/pdf-document.cc:
3833 Remove 4 pixels of useless border from the
3836 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3838 * backend/ev-document-thumbnails.c:
3839 (ev_document_thumbnails_get_thumbnail):
3840 * backend/ev-document-thumbnails.h:
3842 Rework API a bit. Add a border flag and
3843 change sizing logic (now the size we specify
3844 applies to the bigger dimension).
3846 * pdf/pdf-document.cc:
3847 * pixbuf/pixbuf-document.c:
3848 (pixbuf_document_thumbnails_get_thumbnail):
3849 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3850 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3852 Adapt to the new API and do not draw a border for nautilus
3855 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3857 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3858 take thumbnails from page "0" instead of "1". Added a copyright header.
3860 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3862 * ps/ps-document.c: (set_up_page), (start_interpreter):
3864 Make it C89 compliant
3866 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3871 * pdf/pdf-document.cc:
3872 * thumbnailer/Makefile.am:
3873 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3875 * thumbnailer/evince-thumbnailer.schemas:
3876 * thumbnailer/pdf-icon.png:
3878 Add a nautilus thumbnailer.
3879 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3881 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3889 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3891 Use poppler instead of including xpdf source code. Poppler is a
3892 fork of xpdf to build it as a shared library. See
3893 http://freedesktop.org/wiki/Software/poppler.
3895 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3898 * pdf/Makefile.am: Build libpdfdocument.a here.
3900 * pdf/GDKSplashOutputDev.cc:
3901 * pdf/GDKSplashOutputDev.h:
3902 * pdf/GnomeVFSStream.cc:
3903 * pdf/GnomeVFSStream.h:
3906 * test-gdk-output-dev.cc
3908 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3911 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3913 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3915 Clear idle stack before unsetting the document
3917 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3919 * ps/ps-document.c: (ps_document_widget_event),
3920 (ps_document_set_target), (ps_document_finalize),
3921 (ps_document_get_page):
3923 Disconnect the widget event signal on finalize.
3926 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3928 * ps/ps-document.c: (set_up_page):
3930 If there is no bpixmap create one, even if size
3933 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3935 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3936 (set_up_page), (document_load), (ps_document_set_zoom):
3938 Default page is 0. Calculate size even when we have no
3941 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3943 * shell/ev-sidebar.c: expand the selection widget to be always as
3946 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3948 * shell/ev-sidebar-thumbnails.c:
3949 (ev_sidebar_thumbnails_set_document):
3951 Clear the list store when setting document
3953 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3955 * shell/ev-page-action.c: (update_entry), (sync_entry),
3956 (activate_cb), (entry_size_request_cb), (create_tool_item),
3959 Use an entry for the page control instead of spinbuttons
3961 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3963 * data/evince.schemas.in:
3965 Correct confusing string
3967 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3969 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3970 for real. Gosh, how long has this been broken.
3972 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3973 check for a NULL link. We crash otherwise.
3975 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3982 2005-02-25 Sebastien Bacher <seb128@debian.org>
3984 * configure.ac: add the french translation.
3986 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3988 * shell/ev-window.c:
3990 Remove unused header -> fix distcheck
3992 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3994 * shell/ev-window.c: (update_window_title),
3995 (ev_window_popup_password_dialog):
3997 Unescape filename for display
3999 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4001 * pdf/xpdf/pdf-document.cc:
4003 In get_page_size deal with rotation. Also
4004 cleanup the function a bit.
4006 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4008 * pdf/xpdf/pdf-document.cc:
4010 Fix crash when opening in new window
4012 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4016 Check ghostscript >= 7
4018 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4020 * shell/ev-window.c:
4022 Make page width the default sizing mode
4024 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4025 Marco Pesenti Gritti <marco@gnome.org>
4027 * shell/ev-window.c: Remember the sidebar size
4029 * data/evince.schemas.in: Add a new gconf key to store the size of
4032 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4034 * data/evince-ui.xml:
4035 * shell/ev-window.c: (update_action_sensitivity),
4036 (ev_window_cmd_view_reload):
4038 Add a "Reload" action and menu entry
4040 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4042 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4043 iff the type doesn't support thumbnailing and indexing.
4045 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4047 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4049 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4051 * pdf/splash/Splash.cc:
4053 Port fix for a crasher from kde bug
4054 http://bugs.kde.org/show_bug.cgi?id=97131
4056 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4058 * pdf/xpdf/pdf-document.cc:
4060 Return a link even if it's of an unrecognized
4061 type. Otherwise we go in an infinte cycle.
4063 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4065 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4066 (size_allocate_cb), (ev_window_set_sizing_mode):
4068 Update size when switching mode
4070 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4072 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4073 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4074 (ev_window_cmd_view_normal_size):
4076 Fix size toggle buttons behavior
4078 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4080 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4081 (doc_rect_to_view_rect), (ev_view_size_allocate),
4082 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4083 (scale_changed_callback):
4085 Do not cache offsets in size_allocate.
4087 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4089 * shell/ev-view.c: (ev_view_size_allocate):
4091 Calculate offsets before calling the parent
4092 class (which does a redraw)
4094 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4096 * pdf/xpdf/pdf-document.cc:
4098 Fix a crasher on exit. Unused code, put a TODO
4100 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4102 * backend/ev-document.c: (ev_document_class_init),
4103 (ev_document_page_changed), (ev_document_scale_changed):
4104 * backend/ev-document.h:
4106 Separate page/scale notifications
4108 * pdf/xpdf/pdf-document.cc:
4110 Emit the new signals.
4111 Do not display the pdf page in _render, do it
4112 when scale/page are requested.
4114 * ps/ps-document.c: (ps_document_set_zoom),
4115 (ps_document_widget_event):
4118 Emit the new signals.
4120 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4121 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4122 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4123 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4125 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4126 (ev_window_cmd_view_page_width), (size_allocate_cb),
4127 (ev_window_set_sizing_mode):
4129 Rework sizing to be pixel based.
4130 There are bugs but should be already way better.
4132 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4134 * shell/ev-window.c: (ev_window_init):
4136 Do not allow to shrink sidebar smaller then
4139 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4141 * shell/ev-sidebar.[ch]
4142 * shell/ev-window.c:
4144 Improved sidebar widget. Fixes #166683
4146 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4148 * shell/ev-view.c (update_find_status_message): Give translators
4149 more flexibility with ngettext plural handling.
4151 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4153 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4154 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4155 page when we get the page size.
4157 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4159 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4161 ps pages are 0 based, convert
4163 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4165 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4167 Initialize correct parent class. Set GError on document load
4169 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4171 * pdf/xpdf/pdf-document.cc:
4173 Fixup selection offset calculation
4175 * shell/ev-view.c: (view_rect_to_doc_rect),
4176 (doc_rect_to_view_rect), (ev_view_size_allocate),
4177 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4178 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4180 Store selection as document relative, so that zooming
4181 and offset changing doesnt break it.
4183 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4185 * shell/ev-view.c: (ev_view_best_fit):
4187 Do not try to best fit if the view is not realized
4189 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4191 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4193 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4195 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4197 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4199 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4200 the popup window. That prevents it resizing when in full screen
4203 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4204 multiple rerenders. This pretty much sucks.
4206 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4207 rest of the toolbar.
4209 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4211 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4213 2005-02-17 Alexander Shopov <ash@contact.bg>
4215 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4217 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4219 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4221 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4223 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4224 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4225 (set_document_page), (document_changed_callback),
4226 (ev_view_set_document), (ev_view_find_previous),
4227 (ev_view_hide_cursor), (ev_view_show_cursor):
4229 * shell/ev-window.c: (update_chrome_visibility),
4230 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4231 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4232 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4233 (ev_window_unfullscreen):
4234 * shell/main.c: (main):
4236 Automatically hide the fullscreen button.
4237 Patch by Kristian Høgsberg <krh@redhat.com>
4239 2005-02-16 Vincent Noel <vnoel@cox.net>
4241 * shell/main.c (main): Specify an icon for the window. Patch by
4242 Jaap A. Haitsma. Fixes #166177.
4244 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4246 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4248 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4250 * backend/ev-document-misc.h:
4251 * backend/ev-document-misc.c:
4252 (ev_document_misc_get_page_border_size),
4253 (ev_document_misc_paint_one_page): New function to canonicalize
4254 sizing/painting a border.
4256 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4259 * pdf/xpdf/pdf-document.cc: use new function
4261 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4262 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4263 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4264 shell/ev-window.c: (update_sizing_buttons),
4265 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4266 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4267 (ev_window_cmd_view_page_width), (size_allocate_cb),
4268 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4269 and "fit width" values act as toggle buttons so they stay
4270 toggled. It's not 100% perfect, and it's a little slow, but it's
4271 good enough to commit I think.
4273 2005-02-15 David Lodge <dave@cirt.net>
4275 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4277 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4279 * shell/ev-window.c (update_window_title): replace newlines in
4280 the title by spaces. Bug #166107.
4282 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4284 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4285 parameters providing allocation width and height without
4286 scrollbars and width of a possible vertical scrollbar. With this
4287 additional information the functions can work as
4288 intended. Unfortunately they're not idempotent. We should
4289 transform these commands to toggles. Fixes Bug #164976
4290 Initial patch by Stephane Loeuillet, then heavily modified.
4292 * shell/ev-view.h: update prototypes.
4294 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4295 (ev_window_cmd_view_page_width): provide EvView fit functions with
4296 all the information they need. Formulas to calculate this
4297 information taken from GtkScrolledWindow.
4299 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4301 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4302 created a thumbnail, the list store is updated to know
4303 that the thumbnail is set. Fixes bug #166792
4305 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4307 * shell/ev-window.c: fixed typo, closes bug 166897
4309 * TODO: updated TODO with bug numbers that are relevant
4311 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4313 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4315 2005-02-09 Vincent Noel <vnoel@cox.net>
4317 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4318 and "Next" toolbar buttons as important to make them stand out.
4320 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4324 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4325 (start_interpreter), (stop_interpreter), (document_load),
4326 (ps_document_next_page), (ps_document_goto_page),
4327 (ps_document_set_page_size), (ps_document_widget_event),
4328 (ps_document_render):
4329 * shell/ev-page-view.c: (ev_page_view_dispose):
4330 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4332 Fix compilation on non-gcc platforms
4334 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4341 * pdf/xpdf/Catalog.cc:
4344 Fix the fix for CAN-2004-0888
4346 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4349 * data/evince-ui.xml:
4350 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4351 * shell/ev-stock-icons.h:
4352 * shell/ev-window.c: (update_action_sensitivity),
4353 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4354 (set_action_properties):
4356 Improve toolbar layout/icons
4358 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4360 * pdf/xpdf/pdf-document.cc:
4362 Add warnings about unimplemented/unknown link
4365 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4367 * ps/ps-document.c: (set_up_page):
4371 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4373 * ps/ps-document.c: (start_interpreter):
4377 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4379 * shell/ev-page-view.c: (ev_page_view_dispose):
4380 * shell/ev-view.c: (ev_view_finalize):
4381 * shell/ev-window.c: (ev_window_setup_document),
4382 (ev_window_dispose), (ev_window_init):
4384 Solve more refs issues.
4386 I commented out the page_view initialization for now:
4387 it was never destroyed (because it's never added
4388 to a container). Because of that we was leaking
4389 gs processes. Couldnt think to a clean fix.
4390 We need to figure this out, password view has the
4391 same issue probably.
4393 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4395 * ps/ps-document.c: (ps_document_finalize),
4396 (ps_document_get_n_pages), (ps_document_get_page):
4398 Some cleanups, stop the interpreter on finalize
4400 * shell/ev-page-view.c: (ev_page_view_dispose),
4401 (ev_page_view_class_init):
4403 Release our reference on the document
4405 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4409 * doc/debugging.txt:
4412 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4413 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4414 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4417 Add debugging helpers
4420 * ps/ps-document.c: (set_up_page), (start_interpreter),
4421 (stop_interpreter), (document_load), (ps_document_next_page),
4422 (ps_document_goto_page), (ps_document_set_page_size),
4423 (ps_document_widget_event), (ps_document_render):
4424 * shell/Makefile.am:
4425 * shell/ev-view.c: (expose_bin_window):
4426 * shell/main.c: (main):
4430 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4432 * ps/ps-document.c: (ps_document_widget_event):
4434 Initialize message_window, this should make ps
4435 rendering really work! (Never noticed because I was
4436 testing with a ps that is causing gs to exit every time!)
4438 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4440 * data/evince.schemas.in: updated simple error in applyto closing tag
4442 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4448 * data/evince-ui.xml:
4449 A data/evince.schemas.in:
4451 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4452 * shell/ev-stock-icons.h:
4453 * shell/ev-window.c: (update_chrome_visibility),
4454 (update_chrome_flag), (ev_window_cmd_edit_find),
4455 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4456 (ev_window_unfullscreen), (ev_window_focus_in_event),
4457 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4458 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4459 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4460 (ev_window_dispose), (ev_window_class_init),
4461 (set_action_properties), (set_chrome_actions), (load_chrome),
4464 Implement fullscreen mode changes from bug #164776.
4465 Also implement persistent chrome toggles.
4467 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4469 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4471 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4477 Add another check for find interface
4481 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4483 * shell/ev-application.c: (ev_application_open):
4484 * shell/ev-window.c: (ev_window_open):
4486 Open gzipped ps documents
4488 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4491 * shell/ev-view.c: (set_document_page):
4493 Clamp page number, dont try to move to
4496 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4498 * backend/ev-document-find.c: (ev_document_find_changed):
4499 * backend/ev-document-find.h:
4500 * pdf/xpdf/pdf-document.cc:
4501 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4502 * shell/ev-window.c: (find_bar_search_changed_cb):
4504 Fix several bugs with find
4506 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4508 * shell/ev-sidebar-thumbnails.c
4509 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4510 document. Prevents warning from scroll_to_cell.
4512 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4514 * configure.ac: Add «nb» to ALL_LINGUAS too.
4516 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4518 * NOTES: New file with some random thoughts.
4522 * backend/ev-document-misc.c:
4523 (ev_document_misc_get_page_border_size): New function to
4524 canonicalize shadow drawing sizes. Possibly goofy.
4526 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4527 (ev_view_best_fit), (ev_view_fit_width):
4528 * pdf/xpdf/pdf-document.cc:
4529 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4530 * ps/ps-document.c: (ps_document_get_page_size):
4531 * backend/ev-document-misc.h:
4532 * backend/ev-document.c: (ev_document_get_page_size):
4533 * backend/ev-document.h: get_page_size now takes a page number
4534 parameter. Made all the backends/frontends honor it.
4536 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4537 see. Doesn't work yet.
4539 * shell/Makefile.am:
4540 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4541 Doesn't do anything yet.
4543 * shell/ev-sidebar-thumbnails.c:
4544 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4547 * shell/ev-window.c: (update_action_sensitivity),
4548 (ev_window_setup_document), (ev_window_set_page_mode),
4549 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4550 view-swapping code a bit so we can have multiple views on a
4551 document. Add the multi-page view, though it can't be turned on
4554 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4556 * shell/ev-application.c: (ev_application_open):
4557 * shell/ev-view.c: (expose_bin_window):
4558 * shell/ev-window.c: (ev_window_open):
4560 Support eps and check document supports find
4561 before drawing highlightings in expose.
4563 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4565 * pixbuf/pixbuf-document.c:
4566 (pixbuf_document_thumbnails_get_dimensions),
4567 (pixbuf_document_document_thumbnails_iface_init):
4569 implement get_dimensions
4571 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4578 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4580 * shell/ev-view.c: (set_document_page):
4582 Scroll at the top of the page when changing page
4584 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4586 * shell/ev-view.c: (ev_view_motion_notify_event):
4588 Do not redraw unnecessarily
4590 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4592 * pdf/xpdf/pdf-document.cc:
4593 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4594 (expose_bin_window), (find_changed_cb):
4596 Yay! find works now... Now to find bugs...
4598 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4600 * backend/ev-document-find.c: (ev_document_find_base_init),
4601 (ev_document_find_changed):
4602 * backend/ev-document-find.h:
4603 * pdf/xpdf/pdf-document.cc:
4604 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4605 (expose_bin_window), (ev_view_init), (set_document_page),
4606 (ensure_rectangle_is_visible), (jump_to_find_result),
4607 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4608 (ev_view_find_next), (ev_view_find_previous):
4610 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4612 More work on find implementation, mostly there now
4614 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4616 * backend/ev-backend-marshalers.list:
4617 * backend/ev-document-find.c: (ev_document_find_base_init),
4618 (ev_document_find_cancel), (ev_document_find_page_has_results),
4619 (ev_document_find_get_n_results), (ev_document_find_get_result),
4620 (ev_document_find_get_progress), (ev_document_find_changed):
4621 * backend/ev-document-find.h:
4623 Enanche the find interface to be really able to do
4626 * pdf/xpdf/pdf-document.cc:
4630 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4631 (expose_bin_window), (ev_view_init),
4632 (ev_view_get_find_status_message), (find_changed_cb),
4633 (ev_view_set_document), (set_document_page):
4635 Adapt to the new interface. A few things are regressed sorry,
4636 I will finish it soon.
4638 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4640 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4641 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4642 ev_sidebar_thumbnails_parent_class variable, don't define another
4643 parent_class variable.
4645 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4646 (ev_page_action_class_init): ditto.
4648 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4649 (pixbuf_document_class_init): ditto.
4651 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4654 * .cvsignore: ignore various valgrind output files.
4656 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4658 * data/evince-ui.xml:
4659 * shell/Makefile.am:
4660 * shell/ev-history.c:
4661 * shell/ev-history.h:
4662 * shell/ev-navigation-action.c:
4663 * shell/ev-navigation-action.h:
4664 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4665 (ev_view_set_page), (ev_view_fit_width):
4667 * shell/ev-window.c: (update_action_sensitivity),
4668 (ev_window_setup_document), (register_custom_actions):
4670 Kill session history
4672 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4674 * shell/ev-window.c: (update_action_sensitivity):
4676 Fix inverted up/down buttons
4678 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4680 * shell/ev-sidebar-thumbnails.c
4681 (ev_sidebar_thumbnails_select_page): make sure the selected
4682 thumbnail stays visible.
4684 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4686 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4687 scrolled window for Federico.
4689 2005-01-26 Ole Laursen <olau@hardworking.dk>
4691 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4693 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4696 * pdf/splash/SplashFTFontEngine.cc:
4698 Fix CID fonts with freetype 2.1.9
4700 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4702 * TODO: added item for desktop icon thumbnailer
4704 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4706 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4707 unloaded docs when the title is accessed.
4709 * shell/ev-password-view.[hc]: New widget for displaying password
4712 * shell/ev-window.[ch]: Refactor password handling code to handle
4715 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4723 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4725 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4726 ignore page offset here, to make search results independent of it,
4728 * shell/ev-view.c (expose_bin_window): but take offsets into
4729 account here. Bug #164932
4731 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4732 scale at the right time. Bug #164996
4734 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4736 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4737 fix the problem. Now I just removed the Adobe font names and hope
4738 that the URW fonts are always in outline format. Bug #164934
4740 * shell/ev-window.c (update_window_title): empty titles are
4741 useless, use filename in that case too.
4743 * NEWS: Add some content.
4745 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4747 * TODO: added one more TODO item and a TODONE section :)
4749 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4751 * ps/ps-document.h: add page_[xy]_offset fields.
4753 * ps/ps-document.c (ps_document_set_page_offset)
4754 (ps_document_render): Keep offset in consideration in a few
4755 places. Bug #164752 "postscript documents are not centered in
4758 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4759 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4761 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4762 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4763 stub out missing methods for complete EvDocument implementation.
4764 Fixes segfaults with Save A Copy and Copy actions.
4766 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4767 (ps_document_document_iface_init): ditto.
4769 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4773 * data/evince.desktop.in:
4777 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4779 * shell/ev-view.c: (ev_view_button_press_event),
4780 (ev_view_motion_notify_event):
4782 Make selection work in any direction
4784 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4787 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4789 Use shorter labels for some of the toolbars items
4791 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4793 * pdf/xpdf/pdf-document.cc:
4795 Check the links info is initialized before
4796 using it. Should fix a crash on startup.
4798 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4800 * pixbuf/pixbuf-document.c
4801 (pixbuf_document_thumbnails_get_dimensions): force floating point
4802 division to calculate page_ratio. Fixes crash with landscape
4805 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4807 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4809 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4811 * shell/ev-view.c (set_document_page): unset has_selection when
4813 (set_document_page): handle paper size changes when the page
4814 changes (test with Free Culture, page 2).
4816 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4818 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4819 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4821 Use normal style color for the widget background and
4822 draw a black box around the page.
4824 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4826 * pdf/xpdf/pdf-document.cc:
4828 Keep offset in consideration in a few places
4830 * shell/ev-view.c: (expose_bin_window):
4832 Set the offsets so that the document is ever centered
4834 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4836 * TODO: Added TODO items and finished off the first todo item
4838 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4839 reflect current authors
4841 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4843 * pdf/xpdf/pdf-document.cc:
4844 * shell/ev-view.c: (ev_view_set_cursor),
4845 (ev_view_motion_notify_event), (document_changed_callback),
4846 (set_document_page):
4848 Show a wait cursor while the page is rendering
4850 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4852 * shell/ev-sidebar-thumbnails.c:
4853 (ev_sidebar_tree_selection_changed),
4854 (ev_sidebar_thumbnails_select_page):
4855 * shell/ev-sidebar-thumbnails.h:
4856 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4857 (ev_view_can_go_forward):
4858 * shell/ev-window.c: (ev_window_open_page),
4859 (ev_window_setup_document), (update_current_page),
4860 (view_page_changed_cb), (ev_window_init):
4861 * shell/ev-window.h:
4863 Ensure thumbnails selection, toolbar page control and
4864 current page are in sync.
4866 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4872 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4874 * backend/Makefile.am:
4875 * backend/ev-document-links.h:
4876 * backend/ev-document-security.c: (ev_document_security_get_type),
4877 (ev_document_security_has_document_security),
4878 (ev_document_security_set_password):
4879 * backend/ev-document-security.h:
4880 * backend/ev-document.c: (ev_document_error_quark):
4881 * backend/ev-document.h:
4883 * data/evince-password.glade:
4884 * pdf/xpdf/pdf-document.cc:
4885 * shell/Makefile.am:
4886 * shell/ev-password.c: (ev_password_set_bad_password_label),
4887 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4888 (ev_password_dialog_get_password),
4889 (ev_password_dialog_set_bad_pass):
4890 * shell/ev-password.h:
4891 * shell/ev-window.c: (ev_window_get_attribute),
4892 (ev_window_set_property), (update_action_sensitivity),
4893 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4894 (ev_window_setup_document), (ev_window_get_password),
4895 (ev_window_open), (ev_window_cmd_save_as),
4896 (using_postscript_printer), (ev_window_print),
4897 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4898 (update_fullscreen_popup), (ev_window_fullscreen),
4899 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4900 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4901 (menu_item_select_cb), (find_bar_search_changed_cb),
4902 (ev_window_dispose), (ev_window_init):
4904 Add initial support for password-supported dialogs. This could be
4905 a lot cooler, but it'll do for now.
4907 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4909 * pdf/xpdf/pdf-document.cc:
4910 * shell/ev-view.c: (status_message_from_link),
4911 (ev_view_set_status), (ev_view_set_cursor),
4912 (ev_view_motion_notify_event), (ev_view_init):
4913 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4915 Fix bugs in the links implementation and change cursor
4916 when hovering a link.
4918 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4920 * viewer/.cvsignore: added cvsignore file for viewer directory
4922 * TODO: created TODO document
4924 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4927 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4928 new functions to help with implementation of sensitivity code
4929 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4930 of all actions that might require it. Fixes a crash when you
4931 click on the Zoom actions in a window lacking a document.
4933 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4935 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4938 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4940 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4941 (pixbuf_document_document_iface_init):
4942 * ps/ps-document.c: (ps_document_get_link),
4943 (ps_document_document_iface_init):
4944 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4945 (status_message_from_link), (ev_view_set_status),
4946 (ev_view_set_find_status), (ev_view_motion_notify_event),
4947 (ev_view_button_release_event), (ev_view_set_property),
4948 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4949 (ev_view_get_find_status_message), (update_find_results),
4950 (ev_view_get_status), (ev_view_get_find_status):
4952 * shell/ev-window.c: (view_status_changed_cb),
4953 (view_find_status_changed_cb), (ev_window_init):
4955 View status message support, use it to show the links.
4958 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4960 * backend/ev-document.c: (ev_document_get_link):
4961 * backend/ev-document.h:
4962 * pdf/xpdf/pdf-document.cc:
4963 * shell/ev-application.c: (ev_application_open):
4964 * shell/ev-application.h:
4965 * shell/ev-sidebar-links.c: (selection_changed_cb):
4966 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4967 (ev_view_go_to_link):
4969 Add support for document links
4971 2005-01-13 Anders Carlsson <andersca@gnome.org>
4973 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4975 Set the spin button limits correctly.
4977 * shell/ev-sidebar-thumbnails.c:
4978 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4979 Support changing pages by clicking on the thumbnails.
4981 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4983 * pixbuf/pixbuf-document.c:
4984 (pixbuf_document_thumbnails_get_dimensions),
4985 (pixbuf_document_document_thumbnails_iface_init):
4987 implement get_dimensions
4989 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4991 * ps/ps-document.c: (ps_document_goto_page):
4993 Fix page switching on multipage documents
4995 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4997 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4999 check for NULL before assigning to width and height parameters
5001 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5003 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5004 (pixbuf_document_set_property), (pixbuf_document_get_property):
5006 implement get/set properties
5008 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5010 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5012 return NULL instead of "Unknown", letting the title get set to
5013 the filename when the pdf has no title.
5015 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5017 * ps/ps-document.c: (ps_document_get_page_count),
5018 (ps_document_goto_page):
5020 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5022 * shell/ev-history.c: (ev_history_get_property),
5023 (ev_history_set_property), (ev_history_class_init),
5024 (ev_history_add_page), (ev_history_set_current_index):
5025 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5026 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5027 (ev_navigation_action_finalize):
5028 * shell/ev-navigation-action.h:
5029 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5030 (ev_view_go_forward), (ev_view_get_find_status_message),
5031 (history_index_changed_cb), (ev_view_set_history):
5033 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5034 (update_current_page), (register_custom_actions):
5036 Implement history dropdowns
5038 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5040 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5041 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5042 (ev_view_go_forward):
5043 * shell/ev-window.c: (register_custom_actions):
5045 Fix several history bugs
5047 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5049 * configure.ac: Add «nb» to ALL_LINGUAS.
5051 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5053 * backend/Makefile.am:
5054 * backend/ev-bookmark.c:
5055 * backend/ev-bookmark.h:
5056 * backend/ev-document-bookmarks.c:
5057 * backend/ev-document-bookmarks.h:
5058 * backend/ev-document-links.c: (ev_document_links_get_type),
5059 (ev_document_links_has_document_links),
5060 (ev_document_links_begin_read), (ev_document_links_get_link),
5061 (ev_document_links_get_child), (ev_document_links_next),
5062 (ev_document_links_free_iter):
5063 * backend/ev-document-links.h:
5064 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5065 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5066 (ev_link_get_link_type), (ev_link_set_link_type),
5067 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5068 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5069 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5070 (ev_link_new_external):
5071 * backend/ev-link.h:
5072 * pdf/xpdf/pdf-document.cc:
5073 * shell/Makefile.am:
5074 * shell/ev-application.c: (ev_application_open_link):
5075 * shell/ev-application.h:
5076 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5077 (ev_history_get_link_nth):
5078 * shell/ev-history.h:
5079 * shell/ev-sidebar-bookmarks.c:
5080 * shell/ev-sidebar-bookmarks.h:
5081 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5082 (ev_sidebar_links_class_init), (selection_changed_cb),
5083 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5084 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5085 (do_one_iteration), (populate_links_idle),
5086 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5087 * shell/ev-sidebar-links.h:
5088 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5089 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5092 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5093 * shell/ev-window.h:
5095 Rename bookmark to link, and use "Index" for the sidebar panel.
5097 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5099 * shell/Makefile.am:
5100 * shell/ev-application.c: (ev_application_open_bookmark):
5101 * shell/ev-application.h:
5102 * shell/ev-history.c: (ev_history_init), (free_links_list),
5103 (ev_history_finalize), (ev_history_class_init),
5104 (ev_history_add_link), (ev_history_add_page),
5105 (ev_history_get_link_nth), (ev_history_get_n_links),
5106 (ev_history_get_current_index), (ev_history_set_current_index),
5108 * shell/ev-history.h:
5109 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5110 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5111 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5112 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5115 * shell/ev-window.c: (ev_window_open_bookmark),
5116 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5117 (goto_page_cb), (register_custom_actions):
5118 * shell/ev-window.h:
5120 Initial history implementation. Needs work.
5122 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5124 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5126 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5128 * cut-n-paste/recent-files/egg-recent-item.c:
5129 * cut-n-paste/recent-files/egg-recent-item.h:
5130 * cut-n-paste/recent-files/egg-recent-model.c:
5131 * cut-n-paste/recent-files/egg-recent-util.c:
5132 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5133 * cut-n-paste/recent-files/egg-recent-view.c:
5137 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5139 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5140 (fillGlyph, fillImageMask, drawImage):
5141 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5142 pdf/splash/SplashTypes.h:
5143 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5144 packed mode for Splash.
5146 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5147 RGB8 packed mode, eliminates the pixbuf data creation loop.
5149 * shell/ev-print-job.c (ev_print_job_finalize)
5150 (ev_print_job_set_property, ev_print_job_get_property)
5151 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5152 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5153 (print_closure_finalize, ev_print_job_print): implement
5154 printing (for backends with EvPsExporter)
5156 * shell/ev_print_job.h: update prototypes.
5158 * shell/ev-window.c (ev_window_print): unref print job after
5161 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5162 unless the document implements the EvDocumentFind interface.
5164 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5166 * configure.ac: Added ja to ALL_LINGUAS.
5168 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5170 * pdf/xpdf/pdf-document.cc:
5172 add a FIXME. We should probably not allocate
5173 a bookmark object every time
5175 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5177 * shell/ev-application.c: (ev_application_open),
5178 (ev_application_open_bookmark):
5179 * shell/ev-application.h:
5181 Add a way to open bookmarks
5183 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5184 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5185 (ev_bookmark_set_property), (ev_bookmark_class_init),
5186 (ev_bookmark_new_title), (ev_bookmark_new_link),
5187 (ev_bookmark_new_external):
5189 Support for external uris, better constructors.
5191 * backend/ev-bookmark.h:
5192 * pdf/xpdf/pdf-document.cc:
5193 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5195 Handle external uris
5197 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5199 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5200 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5202 Hook up bookmarks navigation
5204 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5206 * backend/Makefile.am:
5207 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5208 (ev_bookmark_get_title), (ev_bookmark_set_title),
5209 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5210 (ev_bookmark_get_page), (ev_bookmark_set_page),
5211 (ev_bookmark_get_property), (ev_bookmark_set_property),
5212 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5214 * backend/ev-bookmark.h:
5215 * backend/ev-document-bookmarks.c:
5216 (ev_document_bookmarks_get_bookmark):
5217 * backend/ev-document-bookmarks.h:
5218 * pdf/xpdf/pdf-document.cc:
5219 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5221 Add a bookmark object to the backend and use it instead of get_values
5223 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5225 * data/evince-ui.xml:
5227 Cleanup and add select all.
5229 * shell/ev-view.c: (ev_view_select_all),
5230 (ev_view_button_press_event):
5232 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5235 Clear selection on click.
5237 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5239 * shell/ev-sidebar-thumbnails.c
5240 (ev_sidebar_thumbnails_set_document): forgot to unref the
5243 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5245 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5246 at the visible page, not just linearly. This makes it look fast.
5248 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5250 * backend/ev-document-misc.c
5251 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5253 * backend/ev-document-thumbnails.h: New interface to get the size
5256 2005-01-06 Jeremy Katz <katzj@redhat.com>
5258 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5261 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5263 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5264 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5267 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5269 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5271 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5272 fonts. Should fix font problems on systems that have the base
5273 fonts in bitmap format. Reported by James Henstridge
5274 <james@jamesh.id.au>.
5276 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5279 * pdf/xpdf/GfxState.cc:
5281 Fix for CAN-2004-1125
5283 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5285 * shell/ev-view.c: (ev_view_copy):
5287 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5289 Implement Edit->Copy
5291 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5293 * backend/ev-document.c: (ev_document_get_text):
5294 * backend/ev-document.h:
5295 * pdf/xpdf/pdf-document.cc:
5296 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5297 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5298 (ev_view_update_primary_selection), (ev_view_button_press_event),
5299 (ev_view_motion_notify_event), (ev_view_button_release_event):
5301 Beginnings of clipboard support. Incomplete but primary sort
5304 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5306 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5307 (expose_bin_window):
5309 Nicer rubberband drawing, from GtkIconView.
5311 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5313 * backend/ev-document.c: (ev_document_save):
5314 * backend/ev-document.h:
5315 * data/evince-ui.xml:
5316 * pdf/xpdf/pdf-document.cc:
5317 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5319 Implement "Save a copy..." menu item
5321 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5323 * shell/ev-view.c: (ev_view_zoom):
5325 Queue a resize when zoom changes
5327 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5329 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5332 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5335 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5337 * pdf/xpdf/pdf-document.cc
5338 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5340 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5342 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5343 It's slow, but I'll speed it up next!
5345 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5347 * shell/main.c (load_files):
5349 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5350 from the command line and because it seems more appropriate.
5352 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5354 * data/evince-ui.xml:
5355 * shell/ev-window.c: (update_action_sensitivity),
5356 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5358 s/next page/page down
5359 s/previous page/page up
5361 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5363 * data/evince-ui.xml:
5365 Change the layout to match clarkbw design.
5367 * shell/Makefile.am:
5368 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5369 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5370 (ev_navigation_action_finalize),
5371 (ev_navigation_action_set_property),
5372 (ev_navigation_action_get_property),
5373 (ev_navigation_action_class_init):
5374 * shell/ev-navigation-action.h:
5376 Implement clarkbw toolbar navigation controls (incomplete)
5378 * shell/ev-page-action.c: (update_label), (update_spin),
5379 (value_changed_cb), (create_tool_item), (connect_proxy),
5380 (ev_page_action_init), (ev_page_action_finalize),
5381 (ev_page_action_set_property), (ev_page_action_get_property),
5382 (ev_page_action_set_current_page),
5383 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5384 * shell/ev-page-action.h:
5386 Implement a page switcher in the toolbar
5388 * shell/ev-view.c: (ev_view_scroll_view):
5389 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5390 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5391 (register_custom_actions), (ev_window_init):
5393 Change page on PageUp/Down.
5395 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5397 * pdf/xpdf/pdf-document.cc
5398 (pdf_document_thumbnails_get_thumbnail): initial stab at
5399 implementing thumbnail support for pdfs. It only does documents
5400 with precached pdfs now.
5402 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5404 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5405 thumbnail code into a time-based idle as well. Also, turn off the
5406 shadow temporarily as it's really slow.
5408 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5410 * backend/ev-document.c: (ev_document_class_init):
5411 * pdf/xpdf/pdf-document.cc:
5412 * shell/ev-window.c: (ev_window_open):
5414 Fix document title bugs and fallback to
5415 filename when not available.
5417 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5419 * backend/ev-document.c: (ev_document_get_type),
5420 (ev_document_class_init), (ev_document_load),
5421 (ev_document_get_title):
5422 * backend/ev-document.h:
5423 * pdf/xpdf/pdf-document.cc:
5424 * ps/ps-document.c: (ps_document_set_property),
5425 (ps_document_get_property), (ps_document_class_init),
5429 * shell/ev-window.c: (update_window_title), (ev_window_open),
5432 Initial support for document title. Not working yet.
5434 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5436 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5438 Grab focus on the view when clicking it
5440 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5442 * shell/ev-marshal.list:
5443 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5444 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5446 Add key bindings to the view. Now if the focus would work
5449 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5452 * backend/Makefile.am:
5455 * dvi/dvilib/Makefile.am:
5456 * pdf/xpdf/Makefile.am:
5462 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5464 * shell/ev-view.c: (ev_view_realize):
5466 Fix mouse wheel scrolling
5468 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5474 * ps/ps-document.c: (catchPipe), (ps_document_init),
5475 (ps_document_class_init), (ps_document_cleanup),
5476 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5477 (set_up_page), (close_pipe), (is_interpreter_ready),
5478 (interpreter_failed), (output), (input), (start_interpreter),
5479 (stop_interpreter), (file_length), (file_readable),
5480 (check_filecompressed), (check_pdf), (compute_xdpi),
5481 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5482 (ps_document_get_type), (ps_document_emit_error_msg),
5483 (document_load), (ps_document_next_page),
5484 (ps_document_get_current_page), (ps_document_get_page_count),
5485 (ps_document_goto_page), (ps_document_set_page_size),
5486 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5487 (ps_document_load), (ps_document_get_n_pages),
5488 (ps_document_set_page), (ps_document_get_page),
5489 (ps_document_widget_event), (ps_document_set_target),
5490 (ps_document_set_scale), (ps_document_set_page_offset),
5491 (ps_document_get_page_size), (ps_document_render),
5492 (ps_document_document_iface_init):
5495 * shell/ev-window.c: (ev_window_open):
5497 Rename GtkGS to PSDocument
5499 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5501 * ps/gtkgs.c: (gtk_gs_class_init):
5504 Some more leftover...
5506 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5508 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5509 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5510 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5513 Remove unused code and make a lot of stuff private
5515 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5517 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5518 (gtk_gs_defaults_changed):
5524 Cleanup headers dependencies
5526 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5531 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5533 * ps/gtkgs.c: (file_length), (file_readable),
5534 (check_filecompressed), (check_pdf), (gtk_gs_load),
5535 (gtk_gs_get_postscript):
5539 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5544 * ps/gtkgs.c: (gtk_gs_set_zoom):
5548 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5550 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5552 Ensure the page is rerendered when changing zoom
5554 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5556 * backend/ev-document.c: (ev_document_base_init),
5557 (ev_document_changed):
5558 * backend/ev-document.h:
5560 Add a changed event that is emitted when the page content
5561 changes. This is necessary to deal with the fact that
5562 in ps backend rendering happen asycrounously.
5563 This makes the ps backend mostly work.
5565 * pdf/xpdf/pdf-document.cc:
5569 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5570 (ps_document_set_target):
5574 * shell/ev-view.c: (document_changed_callback),
5575 (ev_view_set_document), (ev_view_set_page):
5577 Redraw on the changed signal
5579 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5581 * configure.ac: Added pt_BR to ALL_LINGUAS.
5583 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5585 * backend/ev-document-bookmarks.c:
5586 (ev_document_bookmarks_get_child): *
5587 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5588 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5589 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5590 (ev_sidebar_bookmarks_destroy),
5591 (ev_sidebar_bookmarks_class_init),
5592 (ev_sidebar_bookmarks_construct), (stack_data_free),
5593 (do_one_iteration), (populate_bookmarks_idle),
5594 (ev_sidebar_bookmarks_clear_document),
5595 (ev_sidebar_bookmarks_set_document): *
5596 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5597 (ev_sidebar_add_page),
5598 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5599 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5600 it displays both the topics and the page numbers.
5602 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5604 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5606 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5609 2004-12-23 Adam Weinberger <adamw@gnome.org>
5611 * configure.ac: Added en_CA to ALL_LINGUAS.
5613 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5615 * ChangeLog: replace bottom of this ChangeLog (merged history of
5616 ggv and gpdf; where all paths were wrong and most of the files are
5617 not even in this tree) with ChangeLog (from arch) of the shell
5620 2004-12-23 Havoc Pennington <hp@redhat.com>
5622 * shell/ev-window.c: hook up potentially-questionable "find
5623 results status text" feature - something involving the sidebar or
5624 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5625 might be better in the end.
5627 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5628 with corresponding signal when it should be updated
5630 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5632 2004-12-22 Havoc Pennington <hp@redhat.com>
5634 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5635 find stuff on other pages, sort of (only returns one result on
5636 invisible pages, to show they have results; updates full results
5637 for a page when you view it). Currently repaints the current page
5638 every time a new result is found on any page, which isn't so nice.
5640 2004-12-22 Havoc Pennington <hp@redhat.com>
5642 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5643 the document doesn't support find (better ideas?)
5644 (find_bar_search_changed_cb): handle missing document or document
5645 that doesn't support find
5647 * pdf/xpdf/pdf-document.cc: port to implement the new
5650 * backend/ev-document-find.c: create a new interface for searching
5652 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5654 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5656 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5659 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5660 EvPrintJob constructor arguments.
5662 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5663 for documents that can export PostScript (page by page).
5665 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5667 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5668 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5669 (pdf_document_ps_exporter_iface_init:
5670 Implement EvPSExporter.
5672 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5674 2004-12-22 Anders Carlsson <andersca@gnome.org>
5676 * backend/Makefile.am:
5677 * backend/ev-document-thumbnails.c:
5678 (ev_document_thumbnails_get_type),
5679 (ev_document_thumbnails_get_thumbnail):
5680 * backend/ev-document-thumbnails.h:
5681 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5682 (pixbuf_document_thumbnails_get_thumbnail),
5683 (pixbuf_document_document_thumbnails_iface_init):
5684 * shell/Makefile.am:
5685 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5686 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5687 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5688 * shell/ev-sidebar-thumbnails.h:
5689 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5690 (ev_sidebar_set_document):
5691 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5692 (create_shadow), (ev_pixbuf_add_shadow):
5694 Add thumbnail support.
5696 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5698 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5699 (using_postscript_printer): Set up a print dialog for "PostScript
5702 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5705 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5707 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5709 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5710 (ps_document_set_target), (ps_document_get_page_size),
5711 (ps_document_render):
5716 2004-12-22 Christian Rose <menthos@menthos.com>
5718 * configure.ac: Added "sv" to ALL_LINGUAS.
5720 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5722 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5723 document supports bookmarks.
5725 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5727 * ps/ggvutils.c: (ggv_file_readable):
5729 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5730 (gtk_gs_get_postscript):
5734 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5736 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5737 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5738 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5739 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5740 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5741 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5742 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5743 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5744 (gtk_gs_set_antialiasing), (ps_document_load),
5745 (ps_document_render):
5748 Another check point for the ps backend. Now I can get it to show
5751 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5753 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5754 document setting code.
5756 2004-12-22 Anders Carlsson <andersca@gnome.org>
5758 * shell/eggfindbar.c: (entry_activate_callback):
5759 Animate the next button when activate is pressed.
5761 2004-12-22 Anders Carlsson <andersca@gnome.org>
5763 * shell/ev-window.c: (ev_window_cmd_edit_find),
5764 (update_fullscreen_popup), (ev_window_fullscreen),
5765 (ev_window_unfullscreen), (ev_window_state_event_cb),
5766 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5767 Fix bugs in fullscreen code.
5769 2004-12-22 Anders Carlsson <andersca@gnome.org>
5773 * pixbuf/Makefile.am:
5774 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5775 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5776 (pixbuf_document_set_page), (pixbuf_document_get_page),
5777 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5778 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5779 (pixbuf_document_render), (pixbuf_document_begin_find),
5780 (pixbuf_document_end_find), (pixbuf_document_finalize),
5781 (pixbuf_document_class_init),
5782 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5783 * pixbuf/pixbuf-document.h:
5784 * shell/Makefile.am:
5785 * shell/ev-application.c: (ev_application_open):
5786 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5790 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5793 * dvi/dvilib/Makefile.am:
5795 * configure.ac: Auto*ify dvi and dvi/dvilib
5797 * dvi/Makefile: Remove from CVS
5799 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5802 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5804 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5806 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5809 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5810 (gtk_gs_value_adjustment_changed), (compute_size),
5811 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5812 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5813 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5814 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5815 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5816 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5817 (ps_document_load), (ps_document_get_n_pages),
5818 (ps_document_set_page), (ps_document_get_page),
5819 (ps_document_set_target), (ps_document_set_scale),
5820 (ps_document_set_page_offset), (ps_document_get_page_size),
5821 (ps_document_render), (ps_document_begin_find),
5822 (ps_document_end_find), (ps_document_document_iface_init):
5824 * shell/Makefile.am:
5825 * shell/ev-window.c: (ev_window_open):
5827 Some work to integrate gtkgs with EvDocument
5829 2004-12-22 Anders Carlsson <andersca@gnome.org>
5831 * shell/ev-window.c: (update_fullscreen_popup),
5832 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5833 (exit_fullscreen_button_clicked_cb),
5834 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5835 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5836 (ev_window_state_event_cb), (ev_window_init):
5837 Add fullscreen support from Epiphany.
5839 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5841 * data/ev-stock-zoom-fit-width.png: fit-width
5842 stock icon from gpdf.
5844 * shell/ev-stock-icons.[ch]: copied from gpdf.
5846 * shell/main.c: (main): init stock icons.
5848 * shell/ev-window.c: use the fit-width icon.
5850 * data/evince-ui.xml: add zooming toolbar items.
5852 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5855 (ev_view_best_fit), (ev_view_fit_width): because
5856 get_page_size() returns the scaled page size, we
5857 need to calculate the scale factor relative to
5858 the previous scale factor. Should really just
5859 add get_real_page_size().
5861 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5863 * shell/ev-view.[ch]:
5864 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5865 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5868 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5869 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5870 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5873 * pdf/xpdf/pdf-document.cc:
5874 (pdf_document_begin_find),
5875 (pdf_document_end_find): make static.
5877 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5879 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5881 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5882 names to fontconfig patterns.
5883 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5885 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5888 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5904 Import ggv backend. Not hooked up yet.
5906 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5908 * shell/main.c: (load_files), (main): load files
5909 from the command line.
5911 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5913 * configure.ac: don't require bonobo.
5915 * cut-n-paste/recent-files/*: kill bonobo recent
5918 * shell/ev-window.c:
5919 (ev_window_is_empty): upd.
5920 (unable_to_load), (ev_window_open): load backend
5921 based on the mime type.
5923 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5925 * backend/.cvsignore: ignore generated marshalers source.
5927 * shell/main.c (main): this is not epiphany.
5929 2004-12-22 Havoc Pennington <hp@redhat.com>
5931 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5932 (expose_bin_window): draw find highlights
5934 * shell/ev-window.c (find_bar_search_changed_cb): implement
5936 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5937 (pdf_document_end_find): implement this interface
5939 * backend/ev-document.c (ev_document_found): add this to emit
5942 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5944 * data/evince-ui.xml: Add a few more toolbar items.
5946 * shell/ev-window.c: Hook up page navigation toolbar
5949 * shell/ev-view.[ch]: add ev_view_set/get_page and
5950 a page-changed signal.
5952 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5953 Add ev_document_get_page().
5955 * shell/ev-window.c: Sensitize/desensitize navigation
5958 2004-12-21 Havoc Pennington <hp@redhat.com>
5960 * backend/ev-backend-marshal.c,
5961 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5962 marshaler-generator thingy. I'm sure there's a better way to do
5963 this in the modern world.
5965 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5966 end_find methods and "found" signal.
5968 * configure.ac: find glib-genmarshal
5970 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5972 * shell/ev-sidebar.c: Construct an actual sidebar.
5973 * shell/ev-sidebar-bookmarks.[ch]:
5974 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5976 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5978 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5981 * shell/ev-view.c: Track the size from the document.
5983 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5985 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5986 constructor assumes ownership of the string passed in.
5988 * shell/ev-window.c (ev_window_open): Destroy the error
5989 dialog once we've displayed it.
5991 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5993 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5994 a bit, it works! (sort of)
5996 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5997 Move to .cc since we need to use C++ in the implementation.
5999 * shell/dummy.cc: Add a CC file to force evince
6000 to be linked as a C++ program.
6002 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6004 * shell/ev-view.[ch]: Start of content-area widget.
6006 * shell/ev-window.c: Create a EvView, update it
6007 as we change documents.
6009 * shell/Makefile.am shell/ev-marshal.list: Add
6010 generated marshalers.
6012 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6014 * Makefile.am (SUBDIRS): move shell.
6016 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6018 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6019 .a to libtool convenience libraries.
6021 * shell/ev-window.c (ev_window_open): Hard code loading
6024 * backend/ev-document.h: Add a boolean return to load(),
6025 fix GError * to GError **.
6027 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6028 object for a PDF backend EvDocument.
6030 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6032 * dvi/*: New directory with the beginning of a .dvi backend.
6034 2004-12-21 Havoc Pennington <hp@redhat.com>
6036 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6037 previous/next instead of back/forward
6039 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6041 * backend/ev-document.[ch]: Fix a couple of problems so
6044 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6046 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6047 to backend/ directory, rename EvViewer to EvDocument.
6049 2004-12-21 Havoc Pennington <hp@redhat.com>
6051 * shell/ev-window.c: hook up the find bar widget; now we just need
6052 a document to find things in
6054 * shell/eggfindbar.c: a find bar widget
6056 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6058 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6060 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6062 * pdf/**: Import of xpdf code from gpdf.
6064 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6066 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6067 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6068 Fix FreeType includes.
6070 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6071 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6072 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6073 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6074 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6075 Include xpdfconfig.h
6077 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6079 * shell/ev-window.c (ev_window_dispose): dispose can be called
6082 2004-12-21 Havoc Pennington <hp@redhat.com>
6084 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6087 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6088 items; really they should be synced with the strings, etc. from
6089 current gpdf, but just getting the boring typing out of the way
6091 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6094 * shell/ev-application.c: (window_destroy_cb):
6095 * shell/ev-window.c:
6096 * shell/main.c: (main):
6098 Actually show the window...
6100 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6103 * shell/Makefile.am:
6104 * shell/ev-application.c: (ev_application_class_init):
6105 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6109 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6111 Import to gnome cvs.
6113 * Remove copies of gpdf and ggv trees.
6114 * Rip out all the recursive configure code.
6115 * Remove bonobo machinery.
6116 * viewer/*: GInterfaces that backends should/can implement.
6118 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6120 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6123 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6125 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6126 (ev_application_finalize, ev_application_class_init)
6127 (ev_application_init): use GType instance private data for priv.
6129 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6130 (ev_window_finalize, ev_window_class_init)
6131 (ev_window_init): ditto.
6133 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6135 * shell/ev-application.c (ev_application_new_window): make public
6136 (ev_application_show_initial_window): kill.
6138 * shell/ev-application.h: update prototypes.
6140 * shell/main.cc (main): inline ev_application_show_initial_window.
6142 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6144 * shell/ev-application.c (ev_application_new_window): impl.
6145 (ev_application_show_initial_window): use it.
6146 (is_window_empty, ev_application_get_empty_window): returns an
6147 existing empty window or a new one.
6148 (ev_application_open): from ev_window_cmd_file_open.
6150 * shell/ev-application.h: update prototypes
6152 * shell/ev-window.c (ev_window_is_empty): impl.
6153 (ev_window_open): make public.
6154 (ev_window_cmd_file_open): use ev_application_open
6156 * shell/ev-window.h: update prototypes, remove unused.
6158 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6160 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6161 move destroy handler out of here...
6163 * shell/ev-application.c, shell/ev-application.h: ...into this new
6164 class. Also handles initial window creation.
6166 * shell/main.cc (main): use EvApplication to create initial
6169 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6171 * Makefile.am (SUBDIRS): add cut-n-paste
6173 * cut-n-paste/Makefile.am: add
6175 * configure.ac: generate Makefiles in cut-n-paste
6177 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6179 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6180 (ev_window_class_init): install ev_window_dispose.
6182 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6184 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6185 char (gchar looks stupid).
6187 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6189 * po/de.po: updated German translation.
6191 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6193 * configure.ac: add more pkg-config library checks for gnome-vfs,
6196 * gpdf/configure.in: temporarily disable libpaper
6197 checks. Otherwise I'd have to add the checks for the shell, too.
6199 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6201 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6202 and * file filters to the file choose.
6204 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6206 * po/de.po: Updated German translation.
6208 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6210 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6212 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6214 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6216 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6217 (ev_window_init): implement those menuitems.
6219 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6221 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6223 * shell/ev-window.c (ev_window_init): use the toolbar.
6225 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6227 * shell/ev-window.c (ev_window_init): use menu translations
6229 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6231 * configure.ac: add "de" to ALL_LINGUAS.
6233 * po/de.po: add German translation.
6235 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6237 * Makefile.am (SUBDIRS): add po
6239 * configure.ac: check intltool, glib-gettext etc, generate
6242 * po, po/POTFILES.in, po/POTFILES.skip: new.
6244 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6246 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6247 already use (#ifdef ENABLE_NLS)
6249 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6250 pointer indirection thinko.
6252 * shell/main.c: include gi18n.h for bindtextdomain etc.
6254 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6256 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6257 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6258 tooltips for menu items in the statusbar.
6260 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6262 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6263 pkgdatadir drop UIDIR
6265 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6267 * data/evince-ui.xml: Add File->Open menu item
6269 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6270 chooser), hook it up in the ui manager.
6272 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6274 * shell/ev-window.c: fix Help->About tooltip.
6276 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6278 * configure.ac: set CFLAGS for libevprivate.
6280 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6281 definitions, factory etc.
6283 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6285 * shell/Makefile.am: link against libevprivate.a.
6287 * shell/ev-window.c (entries): add stock icon to Help->About.
6289 * shell/main.c (main): init stock icon code.
6291 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6293 * lib/recent-files: egg recent files code
6295 * lib/Makefile.am: add.
6297 * Makefile.am: add lib subdir.
6299 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6300 set CFLAGS for recent-files.
6302 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6304 * configure.ac: disable -ansi and -pedantic gcc flags. They
6305 disable POSIX stuff in stdio.h, but egg-recent uses them.
6307 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6309 * configure.ac: add --disable-deprecated flag (defaults to on in
6312 * shell/Makefile.am (INCLUDES): use it.
6314 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6316 * shell/main.c: add missing #include.
6318 * shell/ev-window.c: fix for pedantic gcc.
6319 (ev_window_cmd_help_about): split license into paragraphs for
6320 translators and pedantic compilers.
6322 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6324 * configure.ac: add more warning flags if compiling with gcc from
6325 cvs (or explicitly requested with --enable-more-warnings).
6327 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6329 * data/evince-ui.xml: add File and File->Close menu.
6331 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6332 (ev_window_destroy): quit after destroy.
6333 (ev_window_class_init): override GtkObject::destroy.
6334 (entries): install close_window callback.
6336 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6338 * Makefile.am (SUBDIRS): add data subdir.
6340 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6341 gtk+ 2.5.0 for GtkAboutDialog.
6343 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6346 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6348 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6350 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6352 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6354 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6356 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6358 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6360 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6362 * shell/*: Added shell directory boilerplate, build it.
6364 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6366 * configure.ac, Makefile.am: Added top-level configure.ac and