1 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
4 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
5 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
6 (ev_view_get_rotation):
8 * shell/ev-window.c: (setup_view_from_metadata),
9 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
10 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
13 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
15 * configure.ac: Added tr to ALL_LINGUAS
17 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
19 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
20 requires several clicks to find word. Thanks to
21 Colin Slater <kiltedtaco@gmail.com>.
23 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
25 * data/evince.desktop.in.in: Hide menu entry and
26 rename it to "Document Viewer". Fix for bug
29 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
31 * shell/ev-page-action.c (ev_page_action_class_init):
33 Point to the correct function in constructor of the
36 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
38 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
39 * shell/ev-jobs.h: Make thread safe.
41 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
43 * shell/ev-view.c: (view_update_range_and_current_page):
44 Don't update page range if we are scrolling to some document
47 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
49 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
50 when getting max_page_width, fix drawing in dual mode.
52 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
54 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
55 getting the area for select_all.
57 2005-08-06 Kristian Høgsberg <krh@redhat.com>
59 * backend/ev-selection.c: (ev_selection_render_selection):
60 * backend/ev-selection.h:
62 * shell/ev-jobs.c: (ev_job_render_new):
64 * shell/ev-pixbuf-cache.c: (get_selection_colors),
65 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
66 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
69 Change selection color on focus in and focus out events. Also,
70 poppler now uses GdkColor for specifying the selection colors, so
71 drop some awkward conversion code.
73 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
75 * configure.ac: Added Hebrew translation
77 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
80 * backend/ev-selection.c: (ev_selection_render_selection):
81 * backend/ev-selection.h:
83 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
86 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
87 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
88 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
89 (ev_pixbuf_cache_style_changed),
90 (ev_pixbuf_cache_get_selection_pixbuf),
91 (ev_pixbuf_cache_set_selection_list),
92 (ev_pixbuf_cache_get_selection_list):
93 * shell/ev-pixbuf-cache.h:
94 * shell/ev-utils.c: (ev_print_region_contents):
96 * shell/ev-view.c: (ev_view_queue_draw_page),
97 (selection_update_idle_cb), (ev_view_motion_notify_event),
98 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
99 (setup_caches), (ev_view_find_next), (merge_selection_region),
101 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
103 Clean up selection to be much smoother!
105 2005-08-05 Kristian Høgsberg <krh@redhat.com>
107 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
108 to poppler_page_render_selection().
110 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
112 * ps/ps-document.c: (save_page_list): Use
113 unzipped document when printing. Thanks to
114 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
117 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
119 * shell/ev-window.c: (update_action_sensitivity):
121 Disable print and save respect to lockdown gconf keys. Fix
124 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
127 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
128 (write_to_temp_file), (ev_file_set_contents):
130 * shell/ev-window.c: (save_print_config_to_file):
132 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
135 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
137 * shell/ev-window.c: (load_print_config_from_file),
138 (save_print_config_to_file), (ev_window_print_range):
140 Persist the print settings. Fixes bug #311578.
142 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
144 * djvu/djvu-document.c: (djvu_document_get_page_size),
145 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
146 (djvu_document_thumbnails_get_thumbnail):
147 * dvi/dvi-document.c: (dvi_document_get_page_size),
148 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
149 (dvi_document_thumbnails_get_dimensions),
150 (dvi_document_thumbnails_get_thumbnail):
151 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
152 (pixbuf_document_render_pixbuf),
153 (pixbuf_document_document_iface_init),
154 (pixbuf_document_thumbnails_get_thumbnail):
156 Update backends to make them build with new rotation system.
158 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
160 * help/C/figures/evince_start_window.png:
162 Update documentation image from Luca Ferretti <elle.uca@libero.it>
164 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
166 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
167 * shell/ev-pixbuf-cache.h:
168 * shell/ev-sidebar-thumbnails.c:
169 (ev_sidebar_thumbnails_get_property), (add_range),
170 (adjustment_changed_cb):
171 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
172 pixbuf cache. Make thumbnailing work again. Also, fix bug where
173 we were thumbnailing the entire docment on startup, slowing us
176 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
178 * shell/ev-page-cache.c: (ev_page_cache_new):
179 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
182 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
184 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
185 (ev_view_rotate_left):
187 Account rotation in doc_rect_to_view_rect.
188 Ensure rotation doesnt go out of bounds.
190 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
192 * shell/ev-page-cache.c: (ev_page_cache_get_size):
194 Correct and cleanup w/h swapping
196 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
198 * backend/ev-document-thumbnails.c:
199 (ev_document_thumbnails_get_thumbnail):
200 * backend/ev-document-thumbnails.h:
201 * backend/ev-document.c:
202 * backend/ev-document.h:
203 * backend/ev-render-context.c: (ev_render_context_new),
204 (ev_render_context_set_rotation):
205 * backend/ev-render-context.h:
207 * ps/ps-document.c: (ps_document_document_iface_init):
208 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
210 * shell/ev-page-cache.c: (build_height_to_page),
211 (ev_page_cache_new), (ev_page_cache_get_size),
212 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
213 (ev_page_cache_get_height_to_page):
214 * shell/ev-page-cache.h:
215 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
216 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
217 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
218 (ev_pixbuf_cache_get_selection_pixbuf):
219 * shell/ev-pixbuf-cache.h:
220 * shell/ev-print-job.c: (idle_print_handler):
221 * shell/ev-sidebar-thumbnails.c: (add_range):
222 * shell/ev-view.c: (view_update_range_and_current_page),
223 (get_page_y_offset), (get_page_extents),
224 (ev_view_size_request_continuous_dual_page),
225 (ev_view_size_request_continuous),
226 (ev_view_size_request_dual_page),
227 (ev_view_size_request_single_page), (draw_one_page),
228 (ev_view_set_rotation), (ev_view_rotate_right),
229 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
230 (ev_view_zoom_for_size_continuous_and_dual_page),
231 (ev_view_zoom_for_size_continuous),
232 (ev_view_zoom_for_size_dual_page),
233 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
234 (ev_view_select_all):
235 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
236 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
237 (tiff_document_document_iface_init),
238 (tiff_document_thumbnails_get_thumbnail):
240 Use rotation rather than orientation. It's easier and enough
243 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
245 * shell/ev-page-cache.c: (build_height_to_page),
246 (ev_page_cache_new), (ev_page_cache_get_size),
247 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
248 (ev_page_cache_get_height_to_page):
249 * shell/ev-page-cache.h:
250 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
251 (ev_view_size_request_continuous_dual_page),
252 (ev_view_size_request_continuous),
253 (ev_view_zoom_for_size_continuous_and_dual_page),
254 (ev_view_zoom_for_size_continuous):
256 Make the page cache aware of page orientation.
258 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
260 * backend/ev-document-thumbnails.c:
261 (ev_document_thumbnails_get_thumbnail):
262 * backend/ev-document-thumbnails.h:
263 * backend/ev-document.c:
264 * backend/ev-document.h:
265 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
266 * backend/ev-ps-exporter.h:
268 * ps/ps-document.c: (ps_document_document_iface_init),
269 (ps_document_ps_export_do_page):
270 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
272 * shell/ev-page-cache.c: (ev_page_cache_get_size),
274 * shell/ev-page-cache.h:
275 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
276 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
277 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
278 * shell/ev-pixbuf-cache.h:
279 * shell/ev-print-job.c: (idle_print_handler):
280 * shell/ev-sidebar-thumbnails.c: (add_range):
281 * shell/ev-view.c: (view_update_range_and_current_page),
282 (get_page_extents), (ev_view_size_request_dual_page),
283 (ev_view_size_request_single_page), (draw_one_page),
284 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
285 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
286 (ev_view_zoom_for_size_dual_page),
287 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
288 (ev_view_select_all):
289 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
290 * tiff/tiff-document.c: (tiff_document_get_page_size),
291 (tiff_document_get_orientation), (rotate_pixbuf),
292 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
293 (tiff_document_thumbnails_get_thumbnail),
294 (tiff_document_ps_export_do_page), (tiff_document_init):
296 Really make use of the orientation bit of the render context.
297 Use the render context in a few more places in the backend API.
298 This regress orientation, but now it's done right. Will try to
301 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
303 * shell/ev-view.c: (ensure_rectangle_is_visible):
305 Patch by Nickolay V. Shmyrev to fix find flickering
307 2005-07-27 Martin Kretzschmar <martink@gnome.org>
309 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
310 duplex parameters to ::begin.
312 * tiff/tiff-document.c (tiff_document_ps_export_begin):
313 * shell/ev-print-job.c (idle_print_handler):
314 * ps/ps-document.c (ps_document_ps_export_begin):
315 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
316 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
317 implementations. Poppler backend needs poppler cvs. Rest has
320 2005-07-25 Martin Kretzschmar <martink@gnome.org>
322 * shell/ev-window.c (using_pdf_printer): new function.
323 (ev_window_print_range): print a less techy message if someone
324 tries to print to PDF.
326 2005-07-25 Martin Kretzschmar <martink@gnome.org>
328 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
329 from "unknown font" string. Bug #311431
331 2005-07-24 Martin Kretzschmar <martink@gnome.org>
333 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
335 2005-07-24 Martin Kretzschmar <martink@gnome.org>
339 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
340 name for PopplerFontTypes
341 (pdf_document_fonts_fill_model): add font type to the detail column
343 * backend/ev-document-fonts.h: added
344 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
346 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
347 font name and font details, add a little markup.
348 (ev_properties_fonts_init): use the new cell data func, specify ypad
349 property for the cell renderer.
350 (ev_properties_fonts_set_document): add the details column.
352 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
354 * configure.ac: Added "pl" to ALL_LINGUAS.
356 2005-07-24 Danilo Šegan <danilo@gnome.org>
358 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
360 2005-07-23 Tommi Vainikainen <thv@iki.fi>
362 * help/ChangeLog: Started this for translations of manual.
363 * configure.ac, autogen.sh, .cvsignore: Migrated to
364 gnome-doc-utils. Patch in bug #311222.
366 2005-07-22 Martin Kretzschmar <martink@gnome.org>
368 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
369 #ifdef this away to fix an unused-function warning.
371 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
373 * configure.ac: Added 'gl' to ALL_LINGUAS.
375 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
377 * configure.ac: Added ne in ALL_LINGUAS
379 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
381 * shell/ev-view.c: (ev_view_leave_notify_event):
383 Clear status message when pointer leaves view. Fix for bug
386 2005-07-20 Ankit Patel <ankit644@yahoo.com>
388 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
390 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
392 * shell/ev-view.c: (ev_view_leave_notify_event),
393 (ev_view_class_init):
395 Set cursor to normal then leaving view.
397 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
401 Fix required djvulibre version.
403 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
405 *configure.ac: Hindi (hi) language added
407 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
409 *configure.ac: Punjabi (pa) Language added
411 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
413 * data/evince-ui.xml, shell/ev-window.c:
415 Add keypad accelerators for zooming. Fix for bug 308128.
417 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
420 * backend/Makefile.am:
421 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
423 * shell/ev-document-types.c: (ev_document_types_add_filters):
425 Allow to enable/disable the pixbuf backend.
426 Default to off for now. If we want it enabled we should
427 really put mime types in the desktop, implement properties etc.
429 * properties/evince-properties.c:
431 Initialize error to NULL.
432 Check error is not NULL before freeing.
434 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
438 Use F5 as presentation accell
440 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
442 * shell/ev-window.c: (update_chrome_visibility),
443 (ev_window_create_fullscreen_popup), (ev_window_init):
445 Do not leak the fullscreen toolbar
447 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
449 * shell/ev-window.c: (view_actions_focus_in_cb),
450 (view_actions_focus_out_cb):
452 These has a return value! Fix totally random focus
453 issues we was seeing.
455 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
457 * shell/main.c: (load_files_remote):
459 Allow open more than one file
461 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
463 * shell/main.c: (load_files_remote):
465 Fix for dbus 0.33. bug #309975
467 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
469 * properties/ev-properties-main.c: (ev_properties_get_pages):
471 Actually return NULL for types we dont support
473 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
479 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
481 * backend/ev-document-factory.c:
482 (ev_document_factory_get_document):
484 Do not try to create the object if type
487 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
489 * ps/ps-document.c: (ps_document_dispose),
490 (ps_async_renderer_render_pixbuf):
493 Do not leak the target window
495 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
497 * shell/ev-application.c: (ev_application_init):
499 Let tbe check file existence for us.
500 Add a comment about eggrecent mime filter.
502 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
504 * data/evince-ui.xml:
505 * shell/ev-application.c: (ev_application_shutdown),
506 (ev_application_init), (ev_application_get_toolbars_model),
507 (ev_application_get_recent_model),
508 (ev_application_save_toolbars_model):
509 * shell/ev-application.h:
510 * shell/ev-window.c: (ev_window_add_recent),
511 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
512 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
515 Use common toolbar and recent models for all windows.
516 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
518 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
520 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
521 successfully check for gtk_icon_view_get_visible_range.
523 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
528 Fix djvu and dvi backend build.
530 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
532 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
533 (new_separator_pixbuf):
537 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
539 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
541 HIGification of toolbar editor dialogue.
543 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
548 Ever build metadata manager since it's just
549 disabled at runtime now.
551 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
553 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
554 (ev_metadata_manager_get), (ev_metadata_manager_set):
555 * shell/ev-metadata-manager.h:
557 Add an _init functions that enabled metadata management
560 * shell/ev-window.c: (page_changed_cb),
561 (setup_document_from_metadata), (ev_window_setup_document),
562 (setup_view_from_metadata), (ev_window_open_uri),
563 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
564 (ev_window_run_presentation), (ev_window_stop_presentation),
565 (save_sizing_mode), (ev_window_zoom_changed_cb),
566 (ev_window_continuous_changed_cb),
567 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
568 (window_configure_event_cb):
570 Remove all ugly metadata define since we deal with it
573 * shell/main.c: (load_files_remote), (main):
575 Add support for dbus cvs head. Hopefully didnt break one
576 of the other versions now!
578 If we dont get a response from the dbus server just
579 give up with it and not enable metadata.
581 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
584 * backend/Makefile.am:
586 * cut-n-paste/recent-files/Makefile.am:
587 * cut-n-paste/toolbar-editor/Makefile.am:
588 * cut-n-paste/zoom-control/Makefile.am:
591 * pixbuf/Makefile.am:
592 * properties/Makefile.am:
595 * thumbnailer/Makefile.am:
598 Make frontends depend on just libev.
599 Rework and group CFLAGS/LIBS definitions.
602 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
606 do not unnecessarily save zoom
609 * lib/ev-file-helpers.c: (ev_dot_dir):
615 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
619 Remove unnecessary dependencies
621 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
623 * properties/Makefile.am:
624 * thumbnailer/Makefile.am:
627 Some more cleanups. Was really necessary
628 but I probably introduced bugs, feel free
631 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
633 * backend/Makefile.am:
635 * cut-n-paste/recent-files/Makefile.am:
636 * cut-n-paste/toolbar-editor/Makefile.am:
637 * cut-n-paste/zoom-control/Makefile.am:
640 * pixbuf/Makefile.am:
641 * properties/Makefile.am:
644 * thumbnailer/Makefile.am:
647 Use gnome-common macros when possible.
648 Cleanup dependencies.
649 Actually disable deprecated where possible.
651 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
654 * backend/Makefile.am:
655 * properties/Makefile.am:
657 * thumbnailer/Makefile.am:
659 This should solve the circular dep without
662 * shell/ev-window.c: (setup_view_from_metadata):
664 Never restore window size/position when the
665 window is already visible.
667 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
669 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
671 Return a boolean from timeout func. Fix ported from gedit.
673 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
675 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
677 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
679 * shell/ev-document-types.c: set "All Documents" as default filter in
682 2005-07-06 Martin Kretzschmar <martink@gnome.org>
684 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
685 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
686 (ev_metadata_manager_set_boolean): fix value/val thinko.
688 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
690 * shell/ev-window.c: (setup_view_from_metadata),
691 (window_state_event_cb), (window_configure_event_cb),
694 Remember window position and maximized state
696 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
700 Fix DBUS configure checks.
702 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
703 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
704 (ev_metadata_manager_set_boolean):
708 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
709 (ev_window_stop_fullscreen), (ev_window_run_presentation),
710 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
711 (ev_window_continuous_changed_cb),
712 (ev_window_dual_mode_changed_cb), (ev_window_new):
714 Fix the build without DBUS.
716 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
718 * shell/ev-metadata-manager.c: (parse_value), (save_values),
719 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
720 (ev_metadata_manager_set_string),
721 (ev_metadata_manager_set_boolean):
722 * shell/ev-metadata-manager.h:
724 Add support for some more types
726 * shell/ev-view.c: (scroll_to_current_page),
727 (ev_view_get_continuous), (ev_view_set_continuous),
728 (ev_view_get_dual_page):
730 * shell/ev-window.c: (page_changed_cb),
731 (setup_document_from_metadata), (ev_window_setup_document),
732 (setup_view_from_metadata), (ev_window_open_uri),
733 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
734 (ev_window_run_presentation), (ev_window_stop_presentation),
735 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
736 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
737 (ev_window_update_dual_page_action),
738 (ev_window_continuous_changed_cb),
739 (ev_window_dual_mode_changed_cb), (ev_window_init):
741 Remember a bunch of view/document properties. Prolly some
742 are still missing but it's getting interesting.
744 2005-07-05 Martin Kretzschmar <martink@gnome.org>
746 * configure.ac: check if dbus-binding-tool is installed. Not the
747 case on current Ubuntu breezy, it seems.
749 2005-07-05 Luca Ferretti <elle.uca@libero.it>
751 * data/evince.desktop.in.in:
753 Allow open uri lists and add TryExec field.
755 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
759 Enable dbus when available, do not require a configure
762 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
766 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
769 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
770 Marco Pesenti Gritti <mpg@redhat.com>
772 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
774 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
775 functions to the format required by dbus
777 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
778 errors. Use the RPC parameters in the expected way
780 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
783 * properties/Makefile.am:
784 * properties/ev-properties-main.c: (ev_properties_get_pages):
786 Support all mime types
789 * thumbnailer/Makefile.am:
790 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
791 (evince_thumbnail_pngenc_get):
793 Use the document factory
795 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
797 * backend/Makefile.am:
798 * backend/ev-document-factory.c:
799 (mime_type_supported_by_gdk_pixbuf),
800 (ev_document_type_get_from_mime),
801 (ev_document_factory_get_document),
802 (ev_document_factory_get_backend),
803 (ev_document_factory_get_mime_types),
804 (ev_document_factory_get_all_mime_types):
805 * backend/ev-document-factory.h:
807 * shell/ev-document-types.c: (get_document_from_uri),
808 (ev_document_types_get_document),
809 (file_filter_add_mime_list_and_free),
810 (ev_document_types_add_filters):
811 * shell/ev-document-types.h:
812 * shell/ev-job-xfer.c: (ev_job_xfer_run):
813 * shell/ev-properties-dialog.c:
814 (ev_properties_dialog_set_document):
815 * shell/ev-window.c: (ev_window_cmd_file_open),
816 (ev_window_cmd_save_as):
817 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
819 Rework document types managing to avoid code duplication
820 and actually abstract from backend implementations.
821 Also provide a minimal factory api that can be used by
822 thumbnailer/properties.
824 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
826 * properties/ev-properties-view.c: (ev_properties_view_set_info):
828 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
831 2005-07-04 Matthew S. Wilson <msw@rpath.com>
833 * shell/ev-properties-dialog.c
834 (ev_properties_dialog_set_document): only call
835 ev_properties_fonts_set_document() if the document implements the
838 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
841 * properties/Makefile.am:
842 * properties/ev-properties-view.c:
843 (ev_properties_view_register_type):
844 * properties/ev-properties-view.h:
845 * properties/ev-properties-main.h:
847 Implement nautilus plugin for properties.
848 Works only for pdf atm, I need to rework the
849 document types stuff to get this to work
852 2005-07-04 Martin Kretzschmar <martink@gnome.org>
854 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
855 (ev_properties_fonts_set_document): use
856 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
858 2005-07-04 Matthew S. Wilson <msw@rpath.com>
860 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
862 (PlaceImage, tiff2ps_process_page): use
863 g_ascii_dtostr to convert floats to strings in a locale-safe way.
866 2005-07-04 Martin Kretzschmar <martink@gnome.org>
868 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
869 (main): to call gnome_authentication_manager_init. Should fix
872 * configure.ac: that requires libgnomeui 2.6.0.
874 2005-07-04 Matthew S. Wilson <msw@rpath.com>
876 * tiff/tiff-document.c (tiff_document_ps_export_begin)
877 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
878 use the new tiff2ps interfaces
880 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
881 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
883 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
884 structure instead of global variables. Remove use of static
885 variables in functions.
887 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
889 * shell/ev-page-action.c: unref the completion after setting it to the
892 2005-07-04 Matthew S. Wilson <msw@rpath.com>
894 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
897 2005-07-04 Matthew S. Wilson <msw@rpath.com>
899 * shell/ev-window.c (update_action_sensitivity): disable
900 File->Print if the document does not implement the ps exporter
903 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
907 * data/evince-properties.glade:
908 * properties/.cvsignore:
909 * properties/Makefile.am:
910 * properties/ev-properties-view.c: (ev_properties_view_dispose),
911 (ev_properties_view_class_init), (ev_properties_view_format_date),
912 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
913 (ev_properties_view_init), (ev_properties_view_new):
914 * properties/ev-properties-view.h:
916 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
917 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
918 (ev_properties_dialog_new):
919 * shell/ev-properties-dialog.h:
920 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
921 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
922 (update_progress_label), (job_fonts_finished_cb),
923 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
924 * shell/ev-properties-fonts.h:
925 * shell/ev-properties.c:
926 * shell/ev-properties.h:
927 * shell/ev-window.c: (ev_window_setup_document),
928 (ev_window_cmd_file_properties):
930 Split the properties pages in two different objects, depend
931 only on the backend where possible, use widgets instead
932 of gobject for the glade part, reimplement the dialog
934 I need this to implement nautilus properties page.
936 2005-07-03 Matthew S. Wilson <msw@rpath.com>
938 * tiff/tiff-document.c (tiff_document_ps_export_begin)
939 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
940 (tiff_document_document_ps_exporter_iface_init): implement the ps
941 exporter interface for tiff documents
943 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
944 libtiff to implement TIFF postscript export
946 * tiff/tiff2ps.h: added a header file for external tiff2ps
949 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
952 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
954 * shell/ev-view.c: (scroll_to_current_page),
955 (ev_view_set_fullscreen), (ev_view_set_presentation):
957 Scroll to current page when exit from presentation
959 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
961 * shell/ev-window.c: (update_document_mode),
962 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
963 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
964 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
966 Exit from fullscreen mode when switch to presentation. Fix for
969 2005-07-02 Matthew S. Wilson <msw@rpath.com>
971 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
972 return NULL if the document does not implement the selection
975 2005-07-02 Matthew S. Wilson <msw@rpath.com>
977 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
978 reported height by using the resolution aspect ratio
979 (tiff_document_render_pixbuf): scale the pixbuf using the
980 resolution aspect ratio
982 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
986 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
987 <kiltedaco@gmail.com>
989 * djvu/djvu-document.c: (djvu_document_get_orientation),
990 (djvu_document_set_orientation), (djvu_document_get_page_size),
991 (rotate_pixbuf), (djvu_document_render_pixbuf),
992 (djvu_document_document_iface_init):
993 * dvi/dvi-document.c: (dvi_document_get_orientation),
994 (dvi_document_set_orientation), (dvi_document_get_page_size),
995 (rotate_pixbuf), (dvi_document_render_pixbuf),
996 (dvi_document_document_iface_init):
998 Dvi and djvu backends are ported to new API
1000 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1002 * backend/ev-selection.c: (ev_selection_get_selection_region),
1003 (ev_selection_get_selection_map):
1004 * backend/ev-selection.h:
1005 * pdf/ev-poppler.cc:
1006 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1008 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1009 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1010 (ev_pixbuf_cache_get_text_mapping):
1011 * shell/ev-pixbuf-cache.h:
1012 * shell/ev-view.c: (location_in_text),
1013 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1014 support to EvView. Now we can see where we can select! Sweet!
1016 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1018 * shell/ev-view.c (ev_view_button_press_event): Fix
1019 event->y + view->scroll_x typo.
1021 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1023 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1024 sub-GdkPixbuf instead of passing dest_x and dest_y.
1026 * shell/ev-view.c: (view_point_to_doc_point),
1027 (view_rect_to_doc_rect), (ev_view_button_press_event),
1028 (ev_view_motion_notify_event), (compute_new_selection_rect),
1029 (gdk_rectangle_point_in), (compute_new_selection_text),
1030 (compute_selections): Update selection code to keep the selection
1031 around as two points and not as a normalized rectangle, and fix
1032 page level selection in two-column mode.
1034 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1036 * shell/ev-window.c: (window_configure_event_cb):
1040 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1042 * pdf/ev-poppler.cc:
1046 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1048 * shell/Makefile.am:
1049 * shell/ev-metadata-manager.c: (item_free),
1050 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1051 (parse_value), (parseItem), (load_values),
1052 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1053 (save_values), (save_item), (get_oldest), (resize_items),
1054 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1055 * shell/ev-metadata-manager.h:
1057 Metadata manager from gedit but modified to use GValue, so that
1058 we dont need to keep converting from strings.
1062 ENABLE_METADATA conditional, on when dbus is on
1064 * shell/ev-application.c: (ev_application_open_uri):
1066 Show the window after load so that we can initialize
1067 window size before it's showed.
1069 * shell/ev-window.c: (ev_window_setup_from_metadata),
1070 (ev_window_open_uri), (window_configure_event_cb),
1073 Save and load metadata information about window size.
1074 Not yet keeping states in account.
1076 * shell/main.c: (main):
1078 Shutdown metadata manager.
1080 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1082 * shell/ev-application-service.xml:
1084 * shell/Makefile.am:
1085 * shell/ev-application.c:
1086 * shell/ev-application.h:
1087 * shell/ev-window.c:
1088 * shell/ev-window.h:
1091 Add an optional dbus interface (--enable-dbus).
1092 Rework application code, mainly to be easier to
1094 Do not open multiple windows with the same document,
1097 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1099 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1100 pixbuf iff it exists.
1102 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1105 * backend/ev-render-context.[ch]:
1106 * backend/ev-selection.[ch]:
1108 Massive changes. We now support text selection of pdfs, and not
1109 just rectangular selection. This is pretty broken still, but I
1110 want to get something into CVS.
1112 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1114 * pdf/ev-poppler.cc:
1116 Fix for Bug 309080: crash on window close.
1118 * shell/ev-page-action.c: (page_changed_cb):
1120 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1121 jensgr@gmx.net (Jens Granseuer).
1123 2005-06-25 Marcel Telka <marcel@telka.sk>
1125 * configure.in (ALL_LINGUAS): Added sk.
1127 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1129 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1132 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1139 * cut-n-paste/recent-files/Makefile.am:
1143 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1145 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1146 (pixbuf_document_set_orientation), (rotate_pixbuf),
1147 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1148 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1150 Implement rotation and cleanup the code a bit.
1152 * tiff/tiff-document.c: (tiff_document_get_page_size),
1153 (tiff_document_get_orientation), (tiff_document_set_orientation),
1154 (rotate_pixbuf), (tiff_document_render_pixbuf),
1155 (tiff_document_document_iface_init), (tiff_document_init):
1157 Implement rotation. Was the quicker solution for the release
1158 but we really need to share this code in the shell.
1160 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1162 * pdf/ev-poppler.cc:
1164 Enable rotation, require poppler cvs. Fix a leak.
1166 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1168 * shell/ev-window.c: (update_action_sensitivity):
1170 Make properties unsensitive if document backend doesn't provide
1173 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1175 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1176 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1177 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1178 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1179 (bitmap_flip_rotate_counter_clockwise):
1180 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1181 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1183 * dvi/mdvi-lib/common.h:
1184 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1185 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1186 (opendvi), (mdvi_reload), (mdvi_init_context),
1187 (mdvi_destroy_context), (mdvi_dopage), (special):
1188 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1189 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1190 (file_hash_free), (register_encoding), (parse_spec),
1191 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1192 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1193 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1194 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1195 (mdvi_register_font_type), (mdvi_unregister_font_type),
1196 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1197 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1198 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1199 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1200 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1201 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1202 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1203 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1204 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1205 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1206 (mdvi_unregister_special), (mdvi_flush_specials):
1207 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1209 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1210 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1211 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1212 (free_font_metrics), (flush_font_metrics):
1213 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1215 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1216 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1217 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1218 (dstring_insert), (dstring_new), (dstring_reset):
1219 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1221 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1222 avoid conflict with libtool on FC4
1224 * shell/ev-window.c: (ev_window_cmd_help_about):
1226 Update copyright year. Fix for bug 308828.
1228 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1230 * shell/ev-view.c: (add_scroll_binding_keypad),
1231 (ev_view_binding_activated), (ev_view_class_init),
1232 (on_adjustment_value_changed):
1234 Bug 170874: Arrow keys switch pages in presentation mode
1236 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1238 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1240 Fix for Bug 308265: Sidebar dissappears coming out of
1243 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1245 * shell/ev-application.c: (ev_application_open):
1246 * shell/ev-document-types.c: (ev_document_types_add_filters),
1247 (ev_document_types_add_filters_for_type):
1248 * shell/ev-document-types.h:
1249 * shell/ev-window.c: (ev_window_cmd_save_as):
1251 Suggest basename as template when saving, provide filters
1252 for save dialog. It's bug 308402
1254 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1256 * pdf/ev-poppler.cc:
1257 * shell/ev-sidebar-links.c: (job_finished_callback):
1258 * shell/ev-view.c: (update_find_status_message):
1262 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1264 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1265 (egg_recent_view_uimanager_set_list):
1267 Fix buglet in !show_numbers case.
1269 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1271 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1272 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1274 Use pango ellipsisation.
1276 * pdf/ev-poppler.cc:
1278 Fix refcount leak, from nsh.
1280 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1282 * cut-n-paste/recent-files/Makefile.am:
1283 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1284 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1286 Removed EggRecentViewGtk
1288 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1289 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1290 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1291 (ev_window_setup_recent):
1293 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1296 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1298 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1299 (egg_recent_view_gtk_finalize):
1303 * cut-n-paste/toolbar-editor/Makefile.am:
1305 Fix location of cursor icon.
1307 * pdf/ev-poppler.cc:
1308 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1309 (display_completion_text), (match_completion):
1310 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1311 (selection_changed_callback), (create_loading_model),
1312 (print_section_cb), (links_page_num_func),
1313 (update_page_callback_foreach):
1314 * shell/ev-window.c: (ev_window_dispose):
1316 Small memory fixes. Links model now store objects instead
1317 of pointers to improve memory management.
1319 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1321 * shell/ev-window.c: (zoom_control_changed_cb):
1323 Fix update of zoom control (bug 308268).
1325 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1327 * shell/ev-properties.c (set_property): escape the text correctly.
1328 Handles non-UTF-8 properties and escaped properties. Also, sets
1329 the text to "<i>None</i>" if the property isn't set.
1331 * data/evince-properties.glade: Change the label to be ellipsized,
1332 and give it a minimum size.
1334 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1336 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1337 * shell/ev-sidebar-links.c: (create_loading_model):
1338 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1339 * shell/ev-view.c: (ev_view_set_document):
1340 * shell/ev-window.c: (ev_window_dispose):
1342 Various small fixes, mostly memory leaks. Thanks to valgrind.
1344 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1346 * ps/ps-document.c: remove the locale.h include again ;-). And
1347 kill the (bogus) setlocale/savelocale business.
1349 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1353 Include locale.h to fix build
1355 * shell/ev-sidebar.c:
1357 Remove unnecessary includes
1359 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1361 * dvi/dvi-document.c: (dvi_document_load):
1362 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1365 Check for incorrect dvi files. Fix parsing dvi on AMD64
1366 platform. Thanks to tester@tester.ca (Olivier Crete).
1368 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1370 * shell/ev-page-action.c: (match_selected_cb),
1371 (display_completion_text), (match_completion), (update_model):
1372 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1373 (expand_open_links):
1374 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1375 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1376 (ev_sidebar_set_document):
1377 * shell/ev-window.c: (ev_window_xfer_job_cb),
1378 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1380 Fixed lot's of memory leaks, for example, memory leak on reload,
1381 described in bug 307793.
1383 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1385 * pdf/ev-poppler.cc:
1386 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1387 (update_visible_range), (adjustment_changed_cb),
1388 (ev_sidebar_thumbnails_fill_model),
1389 (ev_sidebar_thumbnails_refresh),
1390 (ev_sidebar_tree_selection_changed),
1391 (ev_sidebar_icon_selection_changed),
1392 (ev_sidebar_thumbnails_use_icon_view),
1393 (ev_sidebar_thumbnails_set_document):
1394 * shell/ev-sidebar-thumbnails.h:
1395 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1396 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1398 Refresh thumbnails when changing orientation. Not fully
1399 working yet becuase of a sidebar bug.
1401 Set page orientation to poppler page everywhere. This sucks
1402 really need to fix poppler.
1404 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1406 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1407 (egg_recent_view_gtk_new_menu_item),
1408 (egg_recent_view_gtk_set_property),
1409 (egg_recent_view_gtk_get_property),
1410 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1411 (egg_recent_view_gtk_set_tooltip_func),
1412 (egg_recent_view_gtk_set_label_width),
1413 (egg_recent_view_gtk_get_label_width):
1414 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1416 Sync with libegg (ellipsize labels)
1418 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1420 * data/evince-ui.xml:
1421 * shell/ev-window.c: (ev_window_cmd_go_forward),
1422 (ev_window_cmd_go_backward):
1424 Shift + PageUp moves 10 Pages. Fix for 306125
1426 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1428 * pdf/ev-poppler.cc:
1430 Add a flag to check if orientation has been overriden
1432 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1434 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1437 * ps/ps.h: add creator field to document.
1439 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1442 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1444 * data/evince-properties.glade:
1445 * shell/ev-properties.c: (ev_properties_set_document):
1447 s/PDF Version/Format
1449 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1451 * shell/ev-properties.c: (ev_properties_set_document):
1453 Remove unnecessary translations
1455 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1457 * cut-n-paste/toolbar-editor/Makefile.am:
1459 Correct library name
1461 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1464 * cut-n-paste/recent-files/egg-recent-model.c:
1465 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1466 (egg_recent_model_unlock_file):
1467 * cut-n-paste/recent-files/egg-recent-util.c:
1468 (egg_recent_util_get_unique_id):
1469 * cut-n-paste/recent-files/update-from-egg.sh:
1470 * cut-n-paste/toolbar-editor/Makefile.am:
1471 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1472 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1473 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1474 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1475 (egg_toolbars_model_get_type):
1476 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1478 Better makefile for toolbar editor and update everything
1481 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1483 * shell/ev-window.c: (update_document_mode):
1485 Prefer presentation mode when the document
1488 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1490 * data/evince-ui.xml:
1491 * shell/ev-window.c:
1493 Add control-equal for zooming
1495 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1497 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1499 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1501 * backend/ev-document.c: (ev_document_get_orientation):
1502 * backend/ev-document.h:
1503 * pdf/ev-poppler.cc:
1504 * ps/ps-document.c: (ps_document_get_orientation),
1505 (ps_document_set_orientation), (ps_document_document_iface_init):
1507 Add a get_orientation api. Improve set_orientation.
1509 * data/evince-ui.xml:
1510 * shell/ev-view.c: (ev_view_set_orientation),
1511 (ev_view_rotate_right), (ev_view_rotate_left):
1513 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1514 (ev_window_cmd_edit_rotate_right):
1516 Better ui for changing document orientation
1518 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1520 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1521 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1522 * shell/ev-sidebar-links.h:
1523 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1524 (ev_sidebar_page_iface_init):
1525 * shell/ev-sidebar-page.h:
1526 * shell/ev-sidebar-thumbnails.c:
1527 (ev_sidebar_thumbnails_get_property),
1528 (ev_sidebar_thumbnails_class_init),
1529 (ev_sidebar_thumbnails_set_document):
1530 * shell/ev-sidebar-thumbnails.h:
1531 * shell/ev-view.c: (ev_view_motion_notify_event):
1532 * shell/ev-window.c: (update_chrome_visibility),
1533 (ev_window_cmd_focus_page_selector),
1534 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1535 (sidebar_page_main_widget_update_cb), (ev_window_init):
1537 Autoraise toolbar on GoToPage binding and fix bindings in
1538 EvSidebarThumbnails page.
1540 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1542 * shell/ev-properties.c: (update_progress_label):
1544 Hide the progress label when finished; bug #307697.
1546 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1548 * pdf/ev-poppler.cc:
1550 Enable is_open for links, you will need poppler cvs
1552 * shell/ev-properties.c: (job_fonts_finished_cb):
1554 Get a lock on the document when filling the tree view
1556 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1558 * backend/ev-document-links.h:
1559 * pdf/ev-poppler.cc:
1560 * shell/ev-sidebar-links.c: (create_loading_model),
1561 (expand_open_links), (job_finished_callback):
1563 Expand links when specified by the document.
1564 Depend on a poppler api (defined out for now)
1566 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1568 * shell/ev-properties.c: (ev_properties_dispose),
1569 (ev_properties_class_init), (dialog_destroy_cb),
1570 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1571 (ev_properties_set_document), (ev_properties_new),
1572 (ev_properties_show):
1573 * shell/ev-properties.h:
1575 Make it an object, cleanup the code, api to show it as transient
1576 and to set the document.
1578 * shell/ev-window.c: (ev_window_setup_document),
1579 (ev_window_cmd_file_properties):
1581 Adapt to EvProperties changes, do not show multiple
1582 times, update it when document changes.
1584 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1587 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1588 (ps_document_set_orientation), (ps_document_document_iface_init):
1591 Implement orientation here too
1593 * shell/ev-properties.c: (ev_properties_new):
1594 * data/evince-properties.glade:
1596 Hide the fonts page for backends that doesnt
1599 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1601 * backend/ev-document.c: (ev_document_set_orientation):
1602 * backend/ev-document.h:
1603 * pdf/ev-poppler.cc:
1605 Add orientation api. Currently poppler api is not optimal,
1606 we need to set orientation every time we _get a page.
1607 I will try to fix that at some point.
1609 * data/evince-ui.xml:
1610 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1611 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1613 Add orientation menu items
1615 * shell/ev-page-cache.c: (ev_page_cache_clear):
1616 * shell/ev-page-cache.h:
1618 Add api to clear the cache
1620 * shell/ev-view.c: (setup_caches), (clear_caches),
1621 (ev_view_set_document), (ev_view_zoom_out),
1622 (ev_view_set_orientation):
1625 Implement orientation changing
1627 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1629 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1630 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1631 * backend/ev-document-fonts.h:
1633 Separate scan and fill so that we can incrementally fill from
1634 the main thread. Add a progress api.
1636 * data/evince-properties.glade:
1637 * pdf/ev-poppler.cc:
1638 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1640 * shell/ev-properties.c: (update_progress_label),
1641 (job_fonts_finished_cb), (setup_fonts_view):
1643 Incrementally feel the list and show the progress
1644 percentage in a label like acrobat does.
1646 You are going to need poppler cvs
1648 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1650 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1651 * backend/ev-document-fonts.h:
1652 * pdf/ev-poppler.cc:
1654 Make fonts model fill incrementally.
1656 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1657 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1658 (ev_job_queue_remove_job):
1659 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1660 (ev_job_fonts_new), (ev_job_fonts_run):
1663 New job for fonts scanning
1665 * shell/ev-properties.c: (job_fonts_finished_cb),
1666 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1667 * shell/ev-properties.h:
1668 * shell/ev-window.c: (ev_window_cmd_file_properties):
1670 Incrementally feel the treeview using the new job. Show Loading...
1671 message until scanning is completed.
1673 Hopefully I didnt break the build without the poppler patch.
1675 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1677 * shell/ev-application.c: (ev_application_open):
1678 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1679 (ev_document_type_get_type), (ev_document_type_lookup):
1680 * shell/ev-document-types.h:
1681 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1682 * shell/ev-job-xfer.h:
1683 * shell/ev-window.c: (ev_window_clear_local_uri),
1684 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1685 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1686 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1688 Transfer remote documents to tmp directory to display them later.
1690 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1692 * backend/ev-document-info.h:
1693 * shell/ev-properties.c: (ev_properties_new):
1695 s/GTime*/GTime. Not sure why we was using a pointer
1698 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1700 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1701 situations. That situation is that you're using GTK+-HEAD with
1702 the patch at #306726 is applied, and you have a document with <
1703 1500 pages in it. It's not quite as uniformly nice as the
1704 TreeView, but should be better in the long run.
1706 I'm pretty sure I guarded against breaking compilation with
1707 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1710 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1711 widget yet, so I commented that code out
1712 enable_view_actions_for_widget() for now. Need to figure this
1715 * shell/ev-page-action.c (match_selected_cb): emit the right
1716 signals. Our cool C-l completion now works.
1718 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1720 * backend/Makefile.am:
1721 * backend/ev-document-fonts.c:
1722 * backend/ev-document-links.c:
1723 * backend/ev-document.c: (ev_document_load):
1724 * backend/ev-document.h:
1725 * backend/ev-job-queue.c:
1726 * backend/ev-job-queue.h:
1727 * backend/ev-jobs.c:
1728 * backend/ev-jobs.h:
1729 * backend/ev-page-cache.c:
1730 * backend/ev-page-cache.h:
1732 EvPageCache and EvJobs are moved to shell.
1734 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1736 * lib/ev-file-helpers.h:
1738 New helper to work with temporary files
1740 * shell/Makefile.am:
1741 * shell/ev-application.c: (ev_application_open):
1742 * shell/ev-application.h:
1743 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1744 (remove_job_from_async_queue), (add_job_to_async_queue),
1745 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1746 (handle_job), (search_for_jobs_unlocked),
1747 (no_jobs_available_unlocked), (ev_render_thread),
1748 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1749 (ev_job_queue_add_job), (move_job_async), (move_job),
1750 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1751 * shell/ev-job-queue.h:
1752 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1753 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1754 * shell/ev-job-xfer.h:
1755 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1756 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1757 (ev_job_links_class_init), (ev_job_render_init),
1758 (ev_job_render_dispose), (ev_job_render_class_init),
1759 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1760 (ev_job_thumbnail_class_init), (ev_job_load_init),
1761 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1762 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1763 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1764 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1766 * shell/ev-page-action.c: (ev_page_action_set_document):
1767 * shell/ev-page-cache.c: (ev_page_cache_init),
1768 (ev_page_cache_class_init), (ev_page_cache_finalize),
1769 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1770 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1771 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1772 (ev_page_cache_get_title), (ev_page_cache_get_size),
1773 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1774 (ev_page_cache_get_height_to_page),
1775 (ev_page_cache_get_max_label_chars),
1776 (ev_page_cache_get_page_label),
1777 (ev_page_cache_has_nonnumeric_page_labels),
1778 (ev_page_cache_get_info), (ev_page_cache_next_page),
1779 (ev_page_cache_prev_page), (ev_page_cache_get):
1780 * shell/ev-page-cache.h:
1781 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1782 (ev_pixbuf_cache_clear_job_sizes),
1783 (ev_pixbuf_cache_add_jobs_if_needed),
1784 (ev_pixbuf_cache_set_page_range):
1785 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1786 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1787 * shell/ev-sidebar-thumbnails.c:
1788 (ev_sidebar_tree_selection_changed),
1789 (ev_sidebar_thumbnails_set_document):
1790 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1791 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1792 (ev_statusbar_get_context_id), (ev_statusbar_push),
1793 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1794 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1795 (ev_statusbar_set_progress):
1796 * shell/ev-statusbar.h:
1797 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1798 (ev_view_find_previous):
1799 * shell/ev-window.c: (ev_window_is_empty),
1800 (ev_window_setup_document), (password_dialog_response),
1801 (ev_window_clear_jobs), (ev_window_load_job_cb),
1802 (ev_window_xfer_job_cb), (ev_window_open_uri),
1803 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1804 (ev_window_print), (ev_window_print_range),
1805 (ev_window_state_event), (ev_window_cmd_view_reload),
1806 (menu_item_select_cb), (menu_item_deselect_cb),
1807 (view_status_changed_cb), (ev_window_dispose),
1808 (drag_data_received_cb), (ev_window_init):
1809 * shell/ev-window.h:
1810 * shell/main.c: (load_files):
1812 New statusbar to show progress on idle. Two new jobs -
1813 xfer job and load job to load document in background. And update
1814 of page_cache clients to new location of code.
1816 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1818 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1819 selection in open dialog. It also remembers the last visited directory
1820 in the current session.
1822 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1824 * shell/ev-properties.c: (ev_properties_new):
1825 * shell/ev-properties.h:
1826 * shell/ev-window.c: (ev_window_cmd_file_properties):
1828 Get document info from page cache instead of document itself.
1829 This should fix crash related to race conditions described in
1832 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1834 * ps/ps-document.c: (ps_document_init),
1835 (send_ps), (get_page_box), (output), (catchPipe), (input),
1836 (stop_interpreter), (file_length), (file_readable),
1837 (check_filecompressedb), (ps_document_enable_interpreter),
1838 (document_load), (ps_async_renderer_render_pixbuf):
1841 Big cleanup of the ps code
1843 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1845 * backend/Makefile.am:
1846 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1847 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1848 * backend/ev-async-renderer.h:
1850 Add an async renderer interface (method + callback) which
1851 is useful for backends like ps.
1853 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1854 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1855 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1856 (ev_job_queue_add_job), (move_job_async), (move_job),
1857 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1859 Add queues for async renderer, these are executed on the
1862 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1863 (ev_job_render_run):
1864 * backend/ev-jobs.h:
1866 If the backend support async renderer interface use it.
1868 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1869 (setup_pixmap), (ps_document_get_type),
1870 (ps_async_renderer_render_pixbuf),
1871 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1873 Implement async renderer interface.
1875 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1877 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1879 Cleanup links job on exit.
1881 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1883 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1884 (drag_data_get_cb), (drag_data_received_cb):
1885 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1886 (drag_data_get_cb), (parse_item_list),
1887 (egg_toolbar_editor_load_actions):
1888 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1889 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1890 (parse_item_list), (parse_toolbars):
1891 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1892 (dvi_pixbuf_put_pixel):
1894 Fix gcc 4.0 warnings
1896 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1898 * ps/ps-document.c: (start_interpreter):
1900 Fix warning when loading ps
1902 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1904 * ps/ps-document.c: (output):
1906 Fix crash when priting gs error messages.
1908 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1910 * backend/ev-page-cache.c: (_ev_page_cache_new):
1911 * backend/ev-page-cache.h:
1913 Use a const to return title so that we dont double
1914 free it. Small cleanup and fix a leak.
1916 * shell/ev-window.c: (update_window_title):
1918 strdup value from get_title.
1920 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1922 * shell/ev-sidebar-links.c: (job_finished_callback),
1923 (ev_sidebar_links_set_document):
1925 Cleanup the old job when changing document
1927 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1929 * shell/ev-stock-icons.c:
1930 * shell/ev-stock-icons.h:
1931 * shell/ev-window.c:
1933 Add stock icons for actions that can appear in toolbar. Fix for
1936 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1938 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1939 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1940 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1941 * backend/ev-page-cache.h:
1942 * shell/ev-view.c: (scroll_to_current_page),
1943 (view_update_range_and_current_page), (get_page_y_offset),
1944 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1945 (ev_view_size_request_continuous),
1946 (ev_view_zoom_for_size_continuous_and_dual_page),
1947 (ev_view_zoom_for_size_continuous):
1949 More compact EvView layout in document with pages of different size.
1951 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1953 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1956 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1958 * shell/ev-view.c: (view_set_adjustment_values):
1959 * shell/ev-window.c: (ev_window_cmd_file_properties):
1961 A bit different fix for rounding problem but it has no
1962 problems on startup. Make properties window transient to parent.
1964 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1966 * pdf/ev-poppler.cc:
1968 More commenting of font stuff.
1970 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1972 * pdf/ev-poppler.cc:
1974 Comment out some more fonts stuff. Should really
1975 work without the poppler patch now.
1977 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1979 * pdf/ev-poppler.cc:
1983 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1985 * data/evince-properties.glade:
1986 * pdf/ev-poppler.cc:
1987 * shell/ev-properties.c: (setup_fonts_view):
1989 Set the column title. Show the dialog only
1990 once everything is setup.
1991 Getting font info can be very slow... will
1992 prolly need to make this threaded too.
1994 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1996 * backend/Makefile.am:
1997 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1998 (ev_document_fonts_get_fonts_model):
1999 * backend/ev-document-fonts.h:
2000 * data/evince-properties.glade:
2001 * pdf/ev-poppler.cc:
2002 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2003 * shell/ev-properties.h:
2004 * shell/ev-window.c: (ev_window_cmd_file_properties):
2006 Implement fonts list. Defined out for now, since it depends
2007 on a not yet committed poppler patch.
2009 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2011 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2014 * shell/ev-window.c: Make sure we add the timeout when we get a
2017 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2018 adjustment->value before calculating the zoom factor to average
2019 out all of our rounding errors. The page no longer 'drifts' when
2022 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2024 * data/evince-properties.glade:
2025 * shell/ev-properties.c: (ev_properties_format_date),
2028 Labels don't expand when the dialogue is resized.
2029 strftime result needs to be converted to UTF-8. Thanks
2030 to Christian Persch <chpe@gnome.org>.
2032 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2034 * data/evince-properties.glade:
2038 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2040 * backend/ev-document-info.h:
2041 * backend/ev-document.c: (ev_document_info_free):
2042 * data/evince-properties.glade:
2043 * pdf/ev-poppler.cc:
2044 * ps/ps-document.c: (ps_document_get_info):
2045 * shell/ev-properties.c: (ev_properties_format_date),
2046 (set_property), (ev_properties_new):
2047 * shell/ev-properties.h:
2048 * shell/ev-window.c: (ev_window_cmd_file_properties):
2050 Rework properties code to take only EvPropertyInfo
2051 in the constructor so that it can be useful for
2052 nautilus plugin too.
2054 Deal with backends that doesnt support some properties.
2055 Make set property code generic.
2057 2005-06-04 Christian Persch <chpe@gnome.org>
2059 * data/evince-properties.glade:
2061 fix spacings, make resizeable, and make data labels
2062 selectable + ellipsised
2064 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2066 * backend/ev-document-info.h:
2068 * data/evince-ui.xml:
2069 * pdf/ev-poppler.cc:
2070 * shell/Makefile.am:
2071 * shell/ev-window.c: (update_action_sensitivity),
2072 (ev_window_cmd_file_properties):
2074 Initial go at file properties. Patch by
2075 Emil Soleyman-Zomalan <emil@soleyman.com>.
2076 Needs love see #169583
2078 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2080 * ps/ps-document.c: (output):
2081 * ps/ps.c: (psscan):
2083 Try to render even if psscan fails.
2085 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2087 * ps/ps.c: (psscan), (pscopydoc):
2089 Port buffered reading code from gv
2091 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2093 * ps/ps-document.c: (interpreter_message), (output):
2095 Do not fail on interpreter messages
2097 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2099 * backend/ev-document-misc.c:
2100 (ev_document_misc_get_thumbnail_frame):
2102 Pages can be 0 x 0, dont assert on this case
2104 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2106 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2107 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2109 Correctly manage our reference on document. Finally the reload
2110 huge leak is gone...
2112 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2114 * ps/ps-document.c: (ps_document_dispose):
2116 Forgot to chain it to the parent. Thanks chpe.
2118 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2120 * ps/ps-document.c: (ps_document_dispose),
2121 (ps_document_class_init), (stop_interpreter), (document_load):
2123 Cleanup dispose a bit. Dont leak the whole pixmap.
2125 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2127 * pdf/ev-poppler.cc:
2129 Release the poppler document on dispose
2131 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2133 * shell/ev-view.c: (ev_view_set_document):
2135 Release ref on the pixbuf cache when changing
2138 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2140 * ps/ps-document.c: (ps_document_get_info):
2144 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2146 * backend/ev-page-cache.c: (ev_page_cache_init),
2147 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2148 * backend/ev-page-cache.h:
2149 * shell/ev-page-action.c: (page_changed_cb):
2151 Set page action entry width depending on labels width. Fix
2154 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2156 * backend/ev-link.c: (ev_link_class_init):
2158 Allow -1 as page value (error)
2160 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2162 * shell/ev-sidebar-thumbnails.c:
2163 (ev_sidebar_thumbnails_set_document):
2164 * shell/ev-view.c: (scroll_to_current_page),
2165 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2166 (page_changed_cb), (on_adjustment_value_changed),
2167 (ev_view_set_document):
2169 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2172 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2175 * djvu/djvu-document.c: (djvu_document_get_page_size):
2177 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2180 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2182 * shell/ev-view.c (draw_one_page): modify the expose handling to
2185 * shell/ev-window.c (update_action_sensitivity): Respect
2186 permissions field. Kowtow to the man.
2188 * pdf/ev-poppler.cc: Get the permissions field.
2190 * tiff/*c: Make a tiny bit more robust.
2192 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2194 * djvu/djvu-document.c:
2196 Pop messages from djvu context message queue.
2198 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2200 * configure.ac, Makefile.am, shell/Makefile.am:
2201 * tiff/Makefile.am, shell/ev-document-types.c:
2203 Cleanup tiff configure checks. Fix for bug 305218.
2205 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2207 * configure.ac: Added "uk" to ALL_LINGUAS.
2209 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2211 * cut-n-paste/zoom-control/ephy-zoom.c:
2212 (ephy_zoom_get_changed_zoom_level):
2213 * cut-n-paste/zoom-control/ephy-zoom.h:
2214 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2215 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2216 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2217 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2218 (zoom_control_changed_cb), (ev_window_init):
2220 Fix minor points related to moving best fit up. Introduce
2221 "zoom" property and make zoom control change it's value on
2222 notify::zoom signals. Fix for 305080.
2224 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2226 * data/evince-ui.xml:
2227 * shell/ev-window.c: (set_view_actions_sensitivity):
2229 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2231 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2235 Depends on poppler 0.3.2
2237 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2239 * cut-n-paste/recent-files/egg-recent-item.c:
2240 (egg_recent_item_get_short_name):
2241 * cut-n-paste/toolbar-editor/Makefile.am:
2242 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2243 (new_pixbuf_from_widget):
2244 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2245 * cut-n-paste/toolbar-editor/egg-marshal.c:
2246 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2247 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2251 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2253 * tiff/tiff-document.c: Rough TIFF backend.
2255 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2259 * cut-n-paste/toolbar-editor/Makefile.am:
2263 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2265 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2266 (ev_view_find_next), (ev_view_find_previous):
2268 Remove the locks around get_n_results
2270 2005-05-21 Juerg Billeter <j@bitron.ch>
2272 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2274 Pass correct number of pages to poppler.
2276 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2280 * data/evince.desktop.in:
2281 * data/evince.desktop.in.in:
2284 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2286 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2288 * shell/ev-view.c: (view_update_adjustments),
2289 (view_set_adjustment_values): cast adjustmen->value to (int)
2290 before using it. Otherwise, we get off by a pixel in some
2293 (draw_one_page): Draw the border on expose.
2295 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2297 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2298 adjustment when the mode changes, #304923
2300 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2302 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2303 flickering on resize but still use gdk_window_scroll on
2306 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2308 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2311 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2313 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2314 second page on page_changed if possible, #304669
2316 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2318 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2319 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2321 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2324 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2325 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2326 (ev_view_zoom_for_size_presentation),
2327 (ev_view_zoom_for_size_continuous_and_dual_page),
2328 (ev_view_zoom_for_size_continuous),
2329 (ev_view_zoom_for_size_dual_page),
2330 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2332 * shell/ev-window.c: (update_view_size),
2333 (ev_window_sizing_mode_changed_cb):
2335 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2336 the scrollbars. It's not 100% right, but it's much closer. Kills
2337 an infinite loop, #304769
2340 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2342 * data/evince-ui.xml:
2343 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2344 * shell/ev-window.c: (set_view_actions_sensitivity):
2346 Make PgUp/Down behave like Space
2348 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2350 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2351 * backend/ev-ps-exporter.h:
2352 * pdf/ev-poppler.cc:
2353 * ps/ps-document.c: (ps_document_ps_export_begin):
2354 * shell/ev-print-job.c: (idle_print_handler):
2356 Adapt to new poppler api
2358 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2360 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2361 (ephy_zoom_control_init):
2363 Translate zoom levels
2365 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2367 * cut-n-paste/zoom-control/ephy-zoom.c:
2368 (ephy_zoom_get_zoom_level_index):
2370 Fix current zoom -> zoom control match
2372 2005-05-18 James Bowes <bowes@cs.dal.ca>
2374 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2375 rather than the scrolled_window that it's in. Fixes bug #304655.
2377 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2379 * shell/ev-view.c: (view_update_adjustments),
2380 (view_set_adjustment_values), (view_update_range_and_current_page),
2381 (view_scroll_to_page), (set_scroll_adjustment),
2382 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2383 (ev_view_scroll), (ev_view_scroll_view),
2384 (ensure_rectangle_is_visible), (find_page_at_location),
2385 (get_link_at_location), (go_to_link), (status_message_from_link),
2386 (ev_view_size_request_continuous_dual_page),
2387 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2388 (ev_view_unrealize), (ev_view_expose_event),
2389 (ev_view_button_press_event), (ev_view_motion_notify_event),
2390 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2391 (draw_rubberband), (highlight_find_results), (draw_one_page),
2392 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2393 (ev_view_init), (find_changed_cb), (page_changed_cb),
2394 (on_adjustment_value_changed), (ev_view_new),
2395 (ev_view_set_document), (ev_view_set_zoom),
2396 (ev_view_set_continuous), (ev_view_set_dual_page),
2397 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2398 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2399 (ev_view_zoom_for_size_presentation),
2400 (ev_view_zoom_for_size_continuous_dual_page),
2401 (ev_view_zoom_for_size_continuous),
2402 (ev_view_zoom_for_size_dual_page),
2403 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2404 (ev_view_get_status), (ev_view_set_status),
2405 (update_find_status_message), (ev_view_get_find_status),
2406 (ev_view_set_find_status), (jump_to_find_result),
2407 (jump_to_find_page), (compute_selections), (clear_selection),
2408 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2409 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2410 (ev_view_update_primary_selection),
2411 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2413 * shell/ev-window.c: (ev_window_open_page_label),
2414 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2416 * shell/ev-window.h:
2417 * shell/main.c: (load_files):
2419 Massive code clean up from Nickolay Shmyrev. Keep page offset
2420 when resizing. Remove the bin_window(). Also, patch from James
2421 Bowes to fix command line page, #300641
2423 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2425 * data/evince-ui.xml:
2428 * shell/ev-window.c: (update_action_sensitivity):
2430 Get rid of View->Normal Size, it's just confusing
2432 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2434 * backend/ev-document-info.h:
2435 * backend/ev-document.c: (ev_document_info_free): Free the
2438 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2439 (clear_range), (add_range), (update_visible_range),
2440 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2441 (ev_sidebar_thumbnails_set_document):
2442 * shell/ev-window.c: (ev_window_setup_document): Only render the
2443 visible thumbnails. It takes an instant to render, but it uses
2446 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2448 * shell/ev-sidebar-links.c: (popup_menu_cb):
2452 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2455 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2456 (button_press_cb), (ev_sidebar_links_construct):
2458 Show the popup menu also on keybindings
2460 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2462 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2463 * shell/ev-window.h:
2465 Expose api to print a range (with dialog). Make private _print use
2468 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2469 (ev_sidebar_links_construct):
2471 Show a print context menu on linkx, it prints the selected
2474 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2476 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2479 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2485 * shell/ev-window.c: (build_comments_string),
2486 (ev_window_cmd_help_about):
2488 Show poppler version/backend and authors
2490 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2492 * cut-n-paste/zoom-control/ephy-zoom.c:
2493 (ephy_zoom_get_zoom_level_index):
2494 * cut-n-paste/zoom-control/ephy-zoom.h:
2496 Move the best fit items at the top of the list
2498 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2500 * shell/ev-marshal.list:
2501 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2502 (activate_cb), (match_selected_cb), (activate_link_cb),
2503 (connect_proxy), (ev_page_action_class_init):
2504 * shell/ev-page-action.h:
2506 Use signals to notify action activation. Hopefully
2507 I did not break completion since I cant test...
2509 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2510 (register_custom_actions):
2512 Connect to page selector actions and also grab focus on
2513 the view when activated.
2515 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2517 * pdf/ev-poppler.cc:
2518 * backend/ev-page-cache.c: make page size calculation consistent
2519 and set it to (int)( width * scale + 0.5). This makes the weird
2520 line going through the middle of the page go away.
2522 * shell/ev-view.c: move painting the background page after
2523 checking the expose area covers us.
2525 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2527 * data/evince-password.glade:
2529 Mark labels as not translatable. Fix for bug 302842.
2531 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2533 * configure.ac: Added "es" to ALL_LINGUAS.
2535 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2537 * data/evince-toolbar.xml:
2538 * shell/ev-window.c: (update_action_sensitivity),
2539 (ev_window_setup_document), (ev_window_set_page_mode),
2542 Remove some leftover code from jrb first continous
2543 attempt. Use the new actions, we still need good icons
2546 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2548 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2550 Update label when connecting proxy. Fix a warning with NULL
2553 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2555 * data/evince-ui.xml:
2556 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2557 * shell/ev-page-action.h:
2558 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2560 Add mnemonic for edit toolbar.
2561 ctrl+l focus the page entry.
2563 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2566 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2568 * shell/main.c: (main):
2570 Put the toolbar xml in evince own dot dir
2572 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2574 * shell/ev-window.c: (ev_window_init):
2576 Make the toolbar not removable
2578 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2580 * data/evince-ui.xml:
2581 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2582 * shell/ev-sidebar-links.h:
2583 * shell/ev-sidebar-thumbnails.c:
2584 (ev_sidebar_thumbnails_get_treeview):
2585 * shell/ev-sidebar-thumbnails.h:
2586 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2587 (ev_view_class_init):
2589 * shell/ev-window.c: (update_action_sensitivity),
2590 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2591 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2592 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2595 This is evil... Make space/backspace global accelerators but
2596 enable them only for some widgets (sidebars and view).
2597 I dont like it, but I dont know a better way... :/
2599 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2601 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2602 (ev_page_action_widget_finalize),
2603 (ev_page_action_widget_class_init), (update_page_cache):
2605 Keep a weak reference on proxy->page_cache so that we
2606 dont try to disconnect the signal if the object is already
2607 gone. Maybe there is a better way to cleanup reference handling
2608 in page action though...
2610 2005-05-10 Juerg Billeter <j@bitron.ch>
2612 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2613 * backend/ev-ps-exporter.h:
2614 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2615 * ps/ps-document.c: (ps_document_ps_export_begin):
2617 Change api to pass print range to ps_exporter_begin. The pdf backend
2618 requires this information.
2620 * shell/ev-print-job.c: (idle_print_handler):
2624 2005-05-10 Juerg Billeter <j@bitron.ch>
2626 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2627 (idle_print_handler)
2628 * shell/ev-window.c: (ev_window_print):
2630 Support printing page range, based on patch by Amaury Jacquot
2632 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2634 * data/evince-toolbar.xml:
2636 Add zoom control to available items
2638 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2640 * shell/ev-window.c: (update_action_sensitivity):
2642 Set slash action insensitive when appropriate
2644 2005-05-10 Christian Persch <chpe@gnome.org>
2646 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2648 Fix warning on the overflow menu
2650 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2652 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2654 Check for uri correctness/existence
2656 2005-05-09 Juerg Billeter <j@bitron.ch>
2658 * shell/ev-window.c: (using_postscript_printer):
2660 LPD printers use postscript, too
2662 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2664 * shell/ev-window.c: (register_custom_actions):
2666 The zoom one is actually sort of useful,
2669 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2671 * shell/ev-window.c: (register_custom_actions):
2673 Hide page/zoom controls from overflow, they
2676 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2678 * cut-n-paste/update-from-egg.sh:
2680 Share it between all cut-n-paste subdirs
2682 * cut-n-paste/recent-files/Makefile.am:
2684 Fix to use "global" update-from-egg.sh
2686 * cut-n-paste/recent-files/egg-recent-model.c:
2687 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2688 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2689 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2690 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2694 * cut-n-paste/toolbar-editor/Makefile.am:
2696 Fix to use "global" update-from-egg.sh
2698 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2702 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2705 * cut-n-paste/Makefile.am:
2706 * cut-n-paste/recent-files/Makefile.am:
2707 * cut-n-paste/toolbar-editor/.cvsignore:
2708 * cut-n-paste/toolbar-editor/Makefile.am:
2709 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2710 (egg_editable_toolbar_get_type), (get_toolbar_position),
2711 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2712 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2713 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2714 (set_item_drag_source), (create_item_from_action), (create_item),
2715 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2716 (popup_toolbar_context_menu_cb), (free_dragged_item),
2717 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2718 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2719 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2720 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2721 (item_added_cb), (item_removed_cb),
2722 (egg_editable_toolbar_construct),
2723 (egg_editable_toolbar_disconnect_model),
2724 (egg_editable_toolbar_deconstruct),
2725 (egg_editable_toolbar_set_model),
2726 (egg_editable_toolbar_set_ui_manager),
2727 (egg_editable_toolbar_set_property),
2728 (egg_editable_toolbar_get_property),
2729 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2730 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2731 (egg_editable_toolbar_new_with_model),
2732 (egg_editable_toolbar_get_edit_mode),
2733 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2734 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2735 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2736 (new_pixbuf_from_widget), (new_separator_pixbuf),
2737 (update_separator_image), (style_set_cb),
2738 (_egg_editable_toolbar_new_separator_image),
2739 (egg_editable_toolbar_get_model):
2740 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2741 * cut-n-paste/toolbar-editor/egg-marshal.c:
2742 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2743 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2744 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2745 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2746 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2747 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2748 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2749 (editor_drag_data_delete_cb), (drag_data_get_cb),
2750 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2751 (editor_create_item), (update_editor_sheet), (setup_editor),
2752 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2753 (parse_item_list), (model_has_action), (update_actions_list),
2754 (egg_toolbar_editor_load_actions):
2755 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2756 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2757 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2758 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2759 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2760 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2761 (egg_toolbars_model_add_separator), (impl_add_item),
2762 (parse_item_list), (egg_toolbars_model_add_toolbar),
2763 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2764 (impl_get_item_data), (impl_get_item_type),
2765 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2766 (egg_toolbars_model_init), (free_toolbar),
2767 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2768 (egg_toolbars_model_remove_toolbar),
2769 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2770 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2771 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2772 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2773 (egg_toolbars_model_get_item_data),
2774 (egg_toolbars_model_get_item_type):
2775 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2776 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2778 * data/evince-toolbar.xml:
2779 * data/evince-ui.xml:
2780 * data/hand-open.png:
2782 * shell/Makefile.am:
2783 * shell/ev-window.c: (update_chrome_visibility),
2784 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2785 (ev_window_dispose), (ev_window_init):
2787 Implement epiphany like toolbar editor. Based on patch by
2788 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2790 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2792 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2794 Use set_cursor instead of set_selection, so that
2795 the keyboard focus moves too.
2797 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2799 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2801 Fix infinite loop when loading Type1 fonts
2803 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2805 * data/evince-ui.xml:
2806 * shell/ev-window.c:
2810 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2814 Make --disable really disable
2816 2005-05-07 Juerg Billeter <j@bitron.ch>
2818 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2820 Compare page labels even without has_labels set, fixes setting page
2823 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2825 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2826 (ev_view_set_cursor), (ev_view_button_press_event),
2827 (ev_view_motion_notify_event), (ev_view_button_release_event),
2830 Implement middle button scrolling. Based on a patch
2831 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2833 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2835 * shell/ev-document-types.c: (get_slow_mime_type),
2836 (get_document_type_from_mime), (ev_document_type_lookup):
2837 * shell/ev-document-types.h:
2839 Change api to lookup from uri. Do fast lookup first, if the
2840 type is unknown try with data sniffing.
2842 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2843 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2847 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2849 * thumbnailer/Makefile.am:
2853 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2860 * data/evince-ui.xml:
2862 Hide presentation mode for now
2864 * shell/ev-view.c: (highlight_find_results):
2866 Show current find selection only on current page
2868 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2870 * shell/ev-view.c: (ev_view_select_all):
2872 Compute size of the actual page, not of
2875 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2877 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2878 (view_rect_to_doc_rect), (compute_selections),
2879 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2880 (ev_view_copy), (ev_view_primary_get_cb),
2881 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2882 (ev_view_button_press_event), (ev_view_motion_notify_event),
2883 (ev_view_button_release_event), (page_changed_cb):
2887 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2889 * shell/ev-view.c: (compute_border), (get_page_extents),
2890 (doc_rect_to_view_rect), (highlight_find_results),
2891 (ev_view_bin_expose), (ev_view_select_all),
2892 (ev_view_motion_notify_event), (update_find_status_message),
2893 (jump_to_find_result), (jump_to_find_page):
2895 First go at fixing search, still buggy
2897 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2899 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2900 dropdown box and button at the top of the sidebar.
2902 2005-05-02 James Bowes <bowes@cs.dal.ca>
2904 * configure.ac: Output zoom-control Makefile.
2905 * cut-n-paste/Makefile.am: build zoom-control subdir.
2906 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2907 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2908 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2909 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2910 * cut-n-paste/zoom-control/ephy-zoom.c:
2911 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2912 from epiphany, and modified to add a separator into the menu.
2913 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2914 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2915 zoom-control action.
2916 * shell/Makefile.am: Include zoom-control flags.
2917 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2918 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2919 (ev_view_zoom_for_size_presentation),
2920 (ev_view_zoom_for_size_continuous_and_dual_page),
2921 (ev_view_zoom_for_size_continuous),
2922 (ev_view_zoom_for_size_dual_page),
2923 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2924 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2925 ev_view_get_zoom and ev_view_get_sizing_mode.
2927 * shell/ev-window.c: (update_action_sensitivity),
2928 (update_sizing_buttons), (zoom_control_changed_cb),
2929 (register_custom_actions): Initialize and use the zoom-control
2932 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2934 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2935 preview cache back to 1. Don't know when it got set to 0.
2937 * shell/ev-view.c: (compute_border), (ev_view_realize),
2938 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2939 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2940 (ev_view_get_fullscreen), (ev_view_set_presentation),
2941 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2942 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2944 * shell/ev-window.c:
2945 (update_chrome_visibility),
2946 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2947 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2948 (update_document_mode), (ev_window_update_fullscreen_action),
2949 (ev_window_fullscreen), (ev_window_unfullscreen),
2950 (ev_window_cmd_view_fullscreen),
2951 (ev_window_update_presentation_action),
2952 (ev_window_run_presentation), (ev_window_stop_presentation),
2953 (ev_window_cmd_view_presentation), (ev_window_state_event),
2954 (ev_window_focus_in_event), (ev_window_focus_out_event),
2955 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2956 * data/evince-ui.xml: Initial presentation mode. We should
2957 probably hide this until it's done, as it's quite rough. Also,
2958 change full-screen to fullscreen and add two getters to EvView.
2960 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2962 * shell/ev-page-action.c: (update_page_cache),
2963 (ev_page_action_dispose):
2964 * shell/ev-window.c: (destroy_fullscreen_popup),
2965 (ev_window_create_fullscreen_popup):
2967 Use connect_object rather than explicitly
2968 disconnect on dispose.
2970 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2972 * shell/ev-page-action.c: (update_page_cache),
2973 (ev_page_action_dispose):
2975 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2977 * backend/ev-page-cache.c: (_ev_page_cache_new),
2978 (ev_page_cache_set_page_label),
2979 (ev_page_cache_has_nonnumeric_page_labels):
2980 * backend/ev-page-cache.h:
2981 * shell/ev-page-action.c: (update_pages_label):
2983 If all page labels are numeric, fallback to default
2984 way to display number of pages. See bug 173185.
2986 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2988 * shell/ev-page-action.c: (ev_page_action_dispose):
2989 * shell/ev-view.c: (view_update_range_and_current_page):
2990 * shell/ev-window.c: (ev_window_dispose):
2992 Set page on scroll in continuous mode. Fixes bug 301986.
2993 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2995 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2999 Require poppler 0.3.0
3001 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3003 * shell/Makefile.am, configure.ac: Fix build problems
3004 with t1lib. Bug 301996.
3006 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3008 * shell/ev-view.c: (ev_view_scroll_event):
3010 Scroll up increase zoom
3012 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3014 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3015 (ev_view_set_sizing_mode),
3016 (ev_view_zoom_for_size_continuous_and_dual_page),
3017 (ev_view_zoom_for_size_continuous):
3018 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3019 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3020 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3023 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3024 Fix for 165473 and 165472.
3026 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3029 * thumbnailer/Makefile.am:
3030 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3031 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3032 * thumbnailer/evince-thumbnailer.schemas.in:
3034 Make thumbnailer schemas translatable. Fix for bug 301773
3036 * thumbnailer/evince-thumbnailer-djvu.schemas:
3037 * thumbnailer/evince-thumbnailer-dvi.schemas:
3038 * thumbnailer/evince-thumbnailer.schemas:
3042 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3044 * shell/ev-view.c (ev_view_init): forgot to set this.
3046 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3048 * shell/ev-view.c: (find_page_at_location),
3049 (get_link_at_location),
3050 (ev_view_set_show_border), (ev_view_set_spacing),
3051 (ev_view_zoom_for_size_continuous_and_dual_page),
3052 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3053 Also, add a quick fix measuring of widths. Also, removed
3054 ev_view_set_spacing and ev_view_set_show_border.
3056 * shell/ev-window.c: (ev_window_unfullscreen),
3057 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3059 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3061 * shell/ev-view.c: (view_update_range_and_current_page),
3064 Fix crash on exit and scrolling to page in continuous view.
3066 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3069 * backend/ev-page-cache.c: (_ev_page_cache_new),
3070 (ev_page_cache_get_max_width_size),
3071 (ev_page_cache_get_max_height_size):
3072 * backend/ev-page-cache.h:
3073 * data/evince-ui.xml:
3074 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3075 * shell/ev-view.c: (view_update_adjustments),
3076 (view_update_range_and_current_page), (get_bounding_box_size),
3077 (ev_view_size_request_continuous_and_dual_page),
3078 (ev_view_size_request_continuous),
3079 (ev_view_size_request_dual_page),
3080 (ev_view_size_request_single_page), (ev_view_size_request),
3081 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3082 (ev_view_bin_expose), (ev_view_expose_event),
3083 (ev_view_set_property), (ev_view_get_property),
3084 (ev_view_class_init), (ev_view_init), (ev_view_new),
3085 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3086 (ev_view_set_dual_page), (ev_view_set_full_screen),
3087 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3088 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3089 (ev_view_zoom_out), (zoom_for_size_fit_width),
3090 (zoom_for_size_best_fit),
3091 (ev_view_zoom_for_size_continuous_and_dual_page),
3092 (ev_view_zoom_for_size_continuous),
3093 (ev_view_zoom_for_size_dual_page),
3094 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3095 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3097 * shell/ev-window.c: (update_action_sensitivity),
3098 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3099 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3100 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3101 (ev_window_cmd_view_zoom_out), (update_view_size),
3102 (ev_window_set_sizing_mode), (ev_window_init):
3104 Add Continuous and Dual page modes.
3106 2005-04-23 James Bowes <bowes@cs.dal.ca>
3108 * dvi/dvi-document.c: (dvi_document_load),
3109 (dvi_document_thumbnails_get_thumbnail),
3110 (dvi_document_init_params): Fix up some mixups between
3111 width and height to correct thumbnail rendering.
3113 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3115 * dvi/mdvi-lib/private.h:
3116 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3118 Suppess output for kpathsea during font generation. Thanks to
3121 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3128 * Makefile.am: fix distcheck.
3130 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3132 * shell/ev-sidebar-links.c: (selection_changed_callback),
3133 (update_page_callback), (row_activated_callback),
3134 (job_finished_callback), (ev_sidebar_links_set_document):
3136 Fix for bug #169901. Double click on links expands tree.
3138 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3140 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3141 hard-coded style. Fix for bug 170111
3143 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3145 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3148 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3150 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3152 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3154 * pdf/ev-poppler.cc:
3155 * shell/ev-view.c: (highlight_find_results):
3157 Fix find on single page documents
3159 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3161 * data/evince.schemas.in: fix for bug 301390
3163 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3165 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3166 (ev_view_zoom_out), (ev_view_zoom_normal):
3168 * shell/ev-window.c: (update_action_sensitivity),
3169 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3170 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3171 (ev_window_cmd_view_normal_size):
3173 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3174 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3177 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3181 Depend on 2.57, 2.59 doesnt seem to be necessary
3183 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3185 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3188 Put back total number of pages as (1 of 1234)
3190 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3192 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3195 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3196 function. This helps debugging.
3198 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3200 * djvu/djvu-document.c: (djvu_document_class_init),
3201 (djvu_document_get_info), (djvu_document_document_iface_init):
3202 * dvi/dvi-document.c: (dvi_document_class_init),
3203 (dvi_document_get_info), (dvi_document_document_iface_init):
3205 Dummy implementation of get_info method for dvi and djvu. Fix
3206 crashes with those backends
3208 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3210 * data/evince.desktop.in:
3212 Add application/x-gzpostscript
3214 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3216 * data/evince.schemas.in: Added real long descriptions,
3219 * README: Added actual text, closes bug 171869
3221 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3223 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3227 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3229 * backend/ev-document-info.h:
3231 s/GDate */GDate so we can just use g_free
3233 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3235 * shell/ev-window.c: (update_document_mode),
3236 (ev_window_setup_document):
3238 Show the window in fullscreen when specified by
3241 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3243 * backend/ev-document.c: (ev_document_class_init),
3244 (ev_document_get_info), (ev_document_render_pixbuf):
3245 * backend/ev-document.h:
3246 * backend/ev-page-cache.c: (_ev_page_cache_new):
3247 * pdf/ev-poppler.cc:
3248 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3249 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3250 * ps/ps-document.c: (ps_document_class_init), (document_load),
3251 (ps_document_get_info), (ps_document_document_iface_init):
3253 Remove get_title from the interface, we can just use document info
3255 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3257 * backend/Makefile.am:
3258 * backend/ev-document.c: (ev_document_render_get_info):
3259 * backend/ev-document.h:
3260 * pdf/ev-poppler.cc:
3262 Initial support for document info. Based on jrb patch.
3264 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3266 * shell/ev-window.c: (ev_window_state_event),
3267 (ev_window_class_init), (ev_window_init):
3269 Doesn't show resize grip when maximized. See bug #301053
3271 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3275 ev-sidebar-thumbnails now has translatable labels
3277 * shell/Makefile.am:
3278 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3279 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3280 (ev_sidebar_links_page_iface_init):
3281 * shell/ev-sidebar-links.h:
3282 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3283 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3284 (ev_sidebar_page_get_label):
3285 * shell/ev-sidebar-page.h:
3286 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3287 (ev_sidebar_thumbnails_set_document),
3288 (ev_sidebar_thumbnails_support_document),
3289 (ev_sidebar_thumbnails_get_label),
3290 (ev_sidebar_thumbnails_page_iface_init):
3291 * shell/ev-sidebar-thumbnails.h:
3292 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3293 (ev_sidebar_set_document):
3294 * shell/ev-sidebar.h:
3295 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3297 Small rework of sidebar code. Now sidebar pages should implement
3298 EvSidebarPage interface. That makes page management in EvSidebar
3299 easier. See bug #164811 for details
3301 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3303 * shell/ev-application.c: (ev_application_open):
3304 * shell/ev-document-types.c:
3306 Fix build error and small problem with application exit
3308 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3310 * thumbnailer/Makefile.am:
3311 * thumbnailer/evince-thumbnailer-djvu.schemas:
3312 * thumbnailer/evince-thumbnailer-dvi.schemas:
3314 Conditionally install schemas for djvu/dvi thumbnailer
3316 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3318 * shell/ev-document-types.h:
3319 * shell/ev-document-types.c:
3320 New files, handling the mapping from mimetypes to backends
3322 * shell/ev-window.c:
3323 * thumbnailer/evince-thumbnailer.c:
3324 Use the ev-document-types code
3326 * shell/Makefile.am:
3327 Added new convenience library libevbackendfactory_la, containing
3328 the new mimetype->backend logic; moved the backends into it.
3330 * thumbnailer/Makefile.am:
3331 Make the thumbnailer link with the libevbackend.la convenience
3332 library, rather than having a duplicate of the backend logic here.
3334 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3336 * shell/ev-stock-icons.c: constify some vars.
3337 * shell/ev-window.c: ditto.
3339 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3341 * ps/ps-document.c (get_page_orientation):
3343 Respect document orientation
3345 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3349 * shell/Makefile.am:
3351 Move library dependencies to components.
3353 * shell/ev-window.c: (update_window_title),
3354 (start_loading_document):
3356 Fix display of uris with spaces. Bug 168358.
3358 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3360 * shell/ev-sidebar-links.c: (selection_changed_cb):
3361 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3362 (ev_view_button_release_event), (ev_view_set_document):
3364 * shell/ev-window.c: (find_bar_search_changed_cb):
3365 * shell/ev-window.h: Minor cleanups removing some dead code.
3367 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3369 * backend/ev-page-cache.c: (_ev_page_cache_new):
3371 Set current page to 0 if document has pages.
3373 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3375 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3377 Initialize GError to NULL, fix a crash when loading fails.
3379 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3381 * shell/ev-window.c: (update_view_size):
3383 Calculate shadow size only when there is actually
3386 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3388 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3391 Allow setting view spacing, default to 0
3393 * shell/ev-window.c: (ev_window_unfullscreen),
3394 (ev_window_cmd_view_fullscreen), (ev_window_init):
3396 Remove spacing in fullscreen mode
3398 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3400 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3401 (ev_view_size_request), (expose_bin_window),
3402 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3404 * shell/ev-window.c: (ev_window_unfullscreen),
3405 (ev_window_cmd_view_fullscreen):
3407 Do not draw the border in fulscreen
3409 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3411 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3412 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3413 (find_page_at_location), (page_changed_cb):
3415 Rework border calculation, so that I can more easily disable it.
3416 Code somewhat cleaner too.
3418 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3420 * backend/ev-page-cache.c: (ev_page_cache_init),
3421 (_ev_page_cache_new):
3423 Remove some assertions, documents can have 0 pages.
3424 Make initial current page -1.
3426 * shell/ev-page-action.c: (page_changed_cb):
3428 Show "" if current page is -1
3430 * shell/ev-window.c: (update_action_sensitivity),
3431 (ev_window_setup_document):
3433 When document has 0 pages do not set the view
3434 and make nearly everything insensitive.
3436 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3438 * shell/ev-page-view.c:
3439 * shell/ev-page-view.h:
3441 Remove unused files.
3443 * shell/ev-sidebar-thumbnails.c:
3444 (ev_sidebar_thumbnails_set_document):
3445 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3446 (ev_sidebar_supports_document):
3447 * shell/ev-sidebar.h:
3448 * shell/ev-window.c: (ev_window_setup_document):
3450 Doesn't show thumbnails if document has 1 page. Make
3451 sidebar menu entries sensitive only if if they have
3452 sense. Fix bug 164811.
3454 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3456 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3457 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3458 (ev_view_zoom_out), (ev_view_set_size):
3460 Rework sizing to deal with documents with not uniform page
3463 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3465 * backend/ev-page-cache.c: (_ev_page_cache_new):
3467 Fix several page size caching bugs
3469 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3471 * shell/ev-window.c: (set_action_properties):
3473 Make all toolbar items translatable
3475 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3477 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3478 (save_page_list), (ps_document_save),
3479 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3480 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3481 (ps_document_ps_exporter_iface_init):
3484 Based on a patch by J�rg Billeter <j@bitron.ch>
3486 Implement print and save a copy for the ps backend.
3488 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3490 * backend/ev-document.h:
3491 * djvu/djvu-document.c: (djvu_document_can_get_text),
3492 (djvu_document_document_iface_init):
3493 * dvi/dvi-document.c: (dvi_document_can_get_text),
3494 (dvi_document_document_iface_init):
3495 * pdf/ev-poppler.cc:
3496 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3497 (pixbuf_document_document_iface_init):
3498 * ps/ps-document.c: (ps_document_can_get_text),
3499 (ps_document_document_iface_init):
3500 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3501 * shell/ev-window.c: (update_action_sensitivity):
3503 Fix the crash when trying to copy in backends that doesnt
3504 support it. We can implement a better solution once we
3505 do real text selection.
3507 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3509 * data/evince-ui.xml:
3510 * shell/ev-window.c: (ev_window_cmd_escape):
3512 Work around the Escape conflict (find bar and unfullscreen)
3514 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3516 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3518 Fix for #300233. Next page correctly handles document end.
3520 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3521 (ev_sidebar_thumbnails_class_init),
3522 (ev_sidebar_thumbnails_set_document),
3523 (ev_sidebar_thumbnails_clear_job),
3524 (ev_sidebar_thumbnails_clear_model):
3526 Cleanup thumbnail jobs on document changes.
3528 * shell/ev-view.c: (add_scroll_binding_keypad),
3529 (add_scroll_binding_shifted), (ev_view_class_init):
3531 Shift + Space scrolls up. Fix for #173184
3533 * shell/ev-window.c: (ev_window_open_page),
3534 (ev_window_cmd_view_reload):
3536 Fix reload (Bug #300094)
3538 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3541 * dvi/mdvi-lib/assoc.c:
3542 * dvi/mdvi-lib/assoc.h: Removed garbage files
3544 * dvi/mdvi-lib/bitmap.c:
3545 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3546 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3547 * dvi/mdvi-lib/color.h: Antialias of rules
3549 * dvi/mdvi-lib/common.h:
3550 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3551 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3552 * dvi/mdvi-lib/files.c:
3553 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3554 * dvi/mdvi-lib/mdvi.h:
3555 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3556 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3557 * dvi/mdvi-lib/util.c: Fix compile warnings
3559 * dvi/dvi-document.c:
3560 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3561 (dvi_document_thumbnails_get_thumbnail),
3562 (dvi_document_document_thumbnails_iface_init):
3563 * dvi/mdvi-lib/Makefile.am:
3564 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3565 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3567 Dvi backend now renders thumbnails
3569 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3571 * shell/main.c: (main):
3573 Save accelerators on exit. Fixes bug #172095.
3575 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3577 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3578 update priority" comment.
3580 * backend/ev-job-queue.c: Give a way to change priority.
3582 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3584 * shell/ev-page-action.c: Fix logic.
3586 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3588 * shell/ev-view.c: (ev_view_can_find_next):
3589 * shell/ev-window.c: (ev_window_setup_document):
3591 Check that the document supports find
3593 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3595 * data/evince-ui.xml:
3596 * shell/ev-view.c: (ev_view_can_find_next):
3598 * shell/ev-window.c: (update_action_sensitivity),
3599 (find_changed_cb), (ev_window_setup_document),
3600 (ev_window_cmd_edit_find_next):
3604 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3606 * pdf/ev-poppler.cc:
3607 * shell/ev-print-job.c: (idle_print_handler):
3609 Make printing work again
3611 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3613 * shell/ev-page-action.h:
3614 * shell/ev-page-action.c: (ev_page_action_widget_init),
3615 (ev_page_action_widget_class_init), (page_changed_cb),
3616 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3617 (get_filter_model_from_model), (match_selected_cb),
3618 (display_completion_text), (match_completion), (update_model),
3619 (connect_proxy), (ev_page_action_set_property),
3620 (ev_page_action_get_property), (ev_page_action_set_document),
3621 (ev_page_action_set_model), (ev_page_action_class_init): Big
3622 reworking to make completions work iff we have >= GTK-2.7.0
3624 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3625 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3626 (job_finished_cb): We now have a 'model' property that is set when
3627 the links are loaded. This can be caught with "notify::model"
3629 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3630 listen for the model to be set, and propagate it to the action.
3632 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3634 * cut-n-paste/recent-files/egg-recent-item.c:
3635 (egg_recent_item_set_uri), (make_valid_utf8),
3636 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3637 * cut-n-paste/recent-files/egg-recent-item.h:
3639 Update egg-recent from libegg. This should fix long
3640 startup problem. For details see
3641 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3643 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3645 * cut-n-paste/recent-files/Makefile.am:
3646 * data/evince-ui.xml, shell/Makefile.am:
3647 * shell/ev-application.c, shell/ev-application.h:
3648 * shell/ev-window.c: Recent files support.
3650 * configure.ac: Added "ru" to ALL_LINGUAS.
3652 * dvju: new backend to support DJVU files.
3653 * dvi: new backend to support DVI.
3655 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3656 * ev-application.c: Support for new backends.
3658 * help, ev-window.c, main.c shell/Makefile.am:
3659 Evince user documentation.
3661 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3664 * shell/ev-window.c:
3665 * thumbnailer/evince-thumbnailer.c:
3667 s/pdf-document/ev-poppler
3669 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3676 * ps/ps-document.c: (setup_pixmap):
3680 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3682 * backend/ev-page-cache.c (ev_page_cache_next_page):
3683 * shell/ev-window.c (ev_window_cmd_go_next_page)
3684 (ev_window_cmd_go_first_page): Fix of by one errors.
3686 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3688 * ps/ps-document.c: (get_page_box):
3690 Fix page size calculation
3692 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3694 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3695 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3696 (get_page_orientation), (setup_page), (document_load),
3697 (ps_document_get_page_size), (render_pixbuf_idle):
3700 More refactoring to adapt to EvDocument changes
3702 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3704 * ps/ps-document.c: (start_interpreter):
3706 Actually add alpha args
3708 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3710 * pdf/ev-poppler.cc:
3712 Make clipboard work again
3714 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3716 Make searching work again.
3718 * backend/ev-document.c:
3719 * backend/ev-document.h:
3720 * backend/ev-document-find.c:
3721 * backend/ev-document-find.h: Change EvDocumentIface so we no
3722 longer store the current page or zoom level in the document. The
3723 consequence is that all calls that operate on the current page now
3724 instead take the page number as an extra argument, and all
3725 coordinates are now doubles in document coordinate system.
3727 * pdf/ev-poppler.cc:
3728 * pixbuf/pixbuf-document.c:
3729 * ps/ps-document.c: Update backends accordingly.
3731 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3735 Add required gettext version
3737 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3739 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3740 make F1 bring up non-existent help.
3742 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3743 epiphany's find bar, #167477
3745 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3746 <emil@nishra.com> to add space-bar scrolling,
3748 * shell/ev-window.c (static GtkActionEntry entries): add default
3749 keybinding for Help (F1)
3752 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3753 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3756 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3759 * pixbuf/pixbuf-document.c:
3761 Got pixbuf backend working again
3763 2005-04-01 Steve Murphy <murf@e-tools.com>
3765 * configure.in: Added "rw" to ALL_LINGUAS.
3767 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3769 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3770 model types, noticed by Martin Kretzschmar.
3772 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3774 * pdf/ev-poppler.cc: Implement search based on
3775 poppler_page_find_text(). Currently a bit crude since we remember
3776 all matches from all pages. Also, we grab the big document lock
3777 when we search since searching changes the underlying stream and
3778 thus conflicts with the rendering thread.
3780 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3781 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3782 (ev_view_find_previous): Fix some page indexes to be 0 based,
3783 offset rubber band by view offset,
3785 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3787 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3789 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3791 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3792 completely because I didn't understand GtkActions. I should
3793 read Marco's code more carefully in the future.
3795 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3798 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3800 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3801 PopplerRectangle change from poppler CVS.
3803 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3805 * backend/ev-document.c: (ev_document_get_page_label):
3806 * backend/ev-document.h:
3807 * backend/ev-page-cache.c: (_ev_page_cache_new),
3808 (ev_page_cache_get_page_label):
3809 * backend/ev-page-cache.h:
3810 * pdf/ev-poppler.cc:
3811 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3812 (links_page_num_func):
3813 * shell/ev-sidebar-thumbnails.c:
3814 (ev_sidebar_thumbnails_set_document):
3815 * shell/ev-view.c: (status_message_from_link),
3816 (ev_view_motion_notify_event):
3817 * shell/ev-window.c: (document_supports_sidebar): Add in page
3818 label support. It's not perfect yet, but it's the first 'feature'
3820 Also, fix a bogus comment noticed by crispin.
3822 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3824 * Makefile.am: Remove pixbuf backend for now
3826 * configure.ac: Require poppler-glib instead of just poppler.
3828 * backend/ev-document-thumbnails.h: Add a comment
3830 * backend/ev-document.h:
3831 * backend/ev-document.c: (ev_document_class_init),
3832 (ev_document_load), (ev_document_get_link),
3833 (ev_document_get_links): Remove 3 methods and add get_links.
3836 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3837 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3839 * backend/ev-link.c: (ev_link_set_title),
3840 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3841 (ev_link_mapping_find):
3842 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3844 * backend/ev-page-cache.c: (ev_page_cache_init),
3845 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3846 (ev_page_cache_get_size), (ev_page_cache_next_page),
3847 (ev_page_cache_prev_page): Fix to be 0 based.
3851 * pdf/ev-poppler.cc: New backend.
3853 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3854 (ps_document_get_page), (ps_document_document_iface_init):
3856 * shell/ev-pixbuf-cache.h:
3857 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3858 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3859 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3860 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3861 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3862 Fix up code to grab a page cache per each doc. Also, fix to be 0
3865 * shell/ev-sidebar-thumbnails.c:
3866 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3867 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3869 * shell/ev-view.c: (status_message_from_link),
3870 (find_page_at_location), (get_link_at_location),
3871 (ev_view_motion_notify_event), (ev_view_button_release_event),
3872 (ev_view_init): Use the new link code. Fix to be 0 based.
3874 * shell/ev-window.c: (update_action_sensitivity),
3875 (document_supports_sidebar): 0 based.
3877 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3879 * pdf/pdf-document.cc: Patch from Fernando Herrera
3880 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3883 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3885 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3886 1 to the page, as this seems to be 1 based. I thought we has this
3889 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3892 * backend/Makefile.am:
3893 * backend/ev-document-links.c:
3894 (ev_document_links_has_document_links),
3895 (ev_document_links_get_links_model):
3896 * backend/ev-document-links.h:
3897 * backend/ev-document.c: (ev_document_get_page_cache),
3898 (ev_document_get_doc_mutex), (ev_document_load),
3899 (ev_document_save), (ev_document_get_title),
3900 (ev_document_get_n_pages), (ev_document_set_page),
3901 (ev_document_get_page), (ev_document_set_target),
3902 (ev_document_set_scale), (ev_document_set_page_offset),
3903 (ev_document_get_page_size), (ev_document_get_text),
3904 (ev_document_get_link), (ev_document_render),
3905 (ev_document_render_pixbuf), (ev_document_scale_changed):
3906 * backend/ev-document.h:
3907 * backend/ev-job-queue.c: (remove_object_from_queue),
3908 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3909 (no_jobs_available_unlocked), (ev_render_thread),
3910 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3911 (ev_job_queue_remove_job):
3912 * backend/ev-job-queue.h:
3913 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3914 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3915 (ev_job_links_class_init), (ev_job_render_init),
3916 (ev_job_render_dispose), (ev_job_render_class_init),
3917 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3918 (ev_job_thumbnail_class_init), (ev_job_finished),
3919 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3920 (ev_job_render_run), (ev_job_thumbnail_new),
3921 (ev_job_thumbnail_run):
3922 * backend/ev-jobs.h:
3923 * backend/ev-link.c:
3924 * backend/ev-link.h:
3925 * backend/ev-page-cache.c: (ev_page_cache_init),
3926 (ev_page_cache_class_init), (ev_page_cache_finalize),
3927 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3928 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3929 (ev_page_cache_set_link), (ev_page_cache_get_title),
3930 (ev_page_cache_get_size), (ev_page_cache_next_page),
3931 (ev_page_cache_prev_page):
3932 * backend/ev-page-cache.h:
3933 * pdf/pdf-document.cc:
3936 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3937 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3938 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3939 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3940 (is_interpreter_ready), (output), (catchPipe), (input),
3941 (start_interpreter), (check_filecompressed), (compute_dimensions),
3942 (ps_document_enable_interpreter), (document_load),
3943 (ps_document_next_page), (render_page), (ps_document_set_page),
3944 (ps_document_set_scale), (render_pixbuf_idle),
3945 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3947 * shell/Makefile.am:
3948 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3949 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3950 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3951 (ev_pixbuf_cache_new), (job_finished_cb),
3952 (check_job_size_and_unref), (move_one_job),
3953 (ev_pixbuf_cache_update_range), (find_job_cache),
3954 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3955 (ev_pixbuf_cache_add_jobs_if_needed),
3956 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3957 * shell/ev-pixbuf-cache.h:
3958 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3959 (idle_print_handler):
3960 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3961 (selection_changed_cb), (create_loading_model),
3962 (ev_sidebar_links_construct), (links_page_num_func),
3963 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3964 (update_page_callback), (job_finished_cb),
3965 (ev_sidebar_links_set_document):
3966 * shell/ev-sidebar-thumbnails.c:
3967 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3968 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3969 (page_changed_cb), (thumbnail_job_completed_callback),
3970 (ev_sidebar_thumbnails_set_document):
3971 * shell/ev-sidebar-thumbnails.h:
3972 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3973 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3974 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3975 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3976 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3977 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3978 (ev_view_button_release_event), (ev_view_scroll_view),
3979 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3980 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3981 (ev_view_new), (job_finished_cb), (page_changed_cb),
3982 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3983 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3984 (ev_view_find_previous):
3986 * shell/ev-window.c: (update_action_sensitivity),
3987 (ev_window_open_page), (update_window_title), (update_total_pages),
3988 (page_changed_cb), (ev_window_setup_document),
3989 (password_dialog_response), (ev_window_cmd_save_as),
3990 (ev_window_print), (ev_window_cmd_go_previous_page),
3991 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3992 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3993 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3994 * shell/main.c: (main):
3996 Merge evince-threads branch
3998 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4000 * configure.ac: Added "lt" to ALL_LINGUAS.
4002 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4009 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4011 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4013 Fix here also the thumbnails 1-basedness :)
4015 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4022 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4024 * pdf/pdf-document.cc:
4025 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4026 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4028 Fix the mess we did with thumbnails and 1-basedness
4030 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4032 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4034 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4041 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4044 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4045 (gtk_gs_defaults_get_alpha_parameters),
4046 (gtk_gs_defaults_get_ungzip_cmd),
4047 (gtk_gs_defaults_get_unbzip2_cmd):
4049 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4050 (ps_document_get_orientation), (document_load),
4051 (ps_document_goto_page), (ps_document_set_page_size):
4054 Some more sanitization of the ps backend. Remove a lot
4055 of unused code and do not base our defaults on ggv
4058 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4060 * thumbnailer/evince-thumbnailer.schemas:
4061 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4062 (main): add -s option for thumbnail size.
4064 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4068 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4071 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4073 * pdf/pdf-document.cc:
4075 Remove 4 pixels of useless border from the
4078 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4080 * backend/ev-document-thumbnails.c:
4081 (ev_document_thumbnails_get_thumbnail):
4082 * backend/ev-document-thumbnails.h:
4084 Rework API a bit. Add a border flag and
4085 change sizing logic (now the size we specify
4086 applies to the bigger dimension).
4088 * pdf/pdf-document.cc:
4089 * pixbuf/pixbuf-document.c:
4090 (pixbuf_document_thumbnails_get_thumbnail):
4091 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4092 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4094 Adapt to the new API and do not draw a border for nautilus
4097 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4099 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4100 take thumbnails from page "0" instead of "1". Added a copyright header.
4102 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4104 * ps/ps-document.c: (set_up_page), (start_interpreter):
4106 Make it C89 compliant
4108 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4113 * pdf/pdf-document.cc:
4114 * thumbnailer/Makefile.am:
4115 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4117 * thumbnailer/evince-thumbnailer.schemas:
4118 * thumbnailer/pdf-icon.png:
4120 Add a nautilus thumbnailer.
4121 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4123 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4131 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4133 Use poppler instead of including xpdf source code. Poppler is a
4134 fork of xpdf to build it as a shared library. See
4135 http://freedesktop.org/wiki/Software/poppler.
4137 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4140 * pdf/Makefile.am: Build libpdfdocument.a here.
4142 * pdf/GDKSplashOutputDev.cc:
4143 * pdf/GDKSplashOutputDev.h:
4144 * pdf/GnomeVFSStream.cc:
4145 * pdf/GnomeVFSStream.h:
4148 * test-gdk-output-dev.cc
4150 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4153 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4155 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4157 Clear idle stack before unsetting the document
4159 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4161 * ps/ps-document.c: (ps_document_widget_event),
4162 (ps_document_set_target), (ps_document_finalize),
4163 (ps_document_get_page):
4165 Disconnect the widget event signal on finalize.
4168 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4170 * ps/ps-document.c: (set_up_page):
4172 If there is no bpixmap create one, even if size
4175 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4177 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4178 (set_up_page), (document_load), (ps_document_set_zoom):
4180 Default page is 0. Calculate size even when we have no
4183 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4185 * shell/ev-sidebar.c: expand the selection widget to be always as
4188 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4190 * shell/ev-sidebar-thumbnails.c:
4191 (ev_sidebar_thumbnails_set_document):
4193 Clear the list store when setting document
4195 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4197 * shell/ev-page-action.c: (update_entry), (sync_entry),
4198 (activate_cb), (entry_size_request_cb), (create_tool_item),
4201 Use an entry for the page control instead of spinbuttons
4203 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4205 * data/evince.schemas.in:
4207 Correct confusing string
4209 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4211 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4212 for real. Gosh, how long has this been broken.
4214 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4215 check for a NULL link. We crash otherwise.
4217 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4224 2005-02-25 Sebastien Bacher <seb128@debian.org>
4226 * configure.ac: add the french translation.
4228 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4230 * shell/ev-window.c:
4232 Remove unused header -> fix distcheck
4234 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4236 * shell/ev-window.c: (update_window_title),
4237 (ev_window_popup_password_dialog):
4239 Unescape filename for display
4241 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4243 * pdf/xpdf/pdf-document.cc:
4245 In get_page_size deal with rotation. Also
4246 cleanup the function a bit.
4248 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4250 * pdf/xpdf/pdf-document.cc:
4252 Fix crash when opening in new window
4254 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4258 Check ghostscript >= 7
4260 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4262 * shell/ev-window.c:
4264 Make page width the default sizing mode
4266 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4267 Marco Pesenti Gritti <marco@gnome.org>
4269 * shell/ev-window.c: Remember the sidebar size
4271 * data/evince.schemas.in: Add a new gconf key to store the size of
4274 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4276 * data/evince-ui.xml:
4277 * shell/ev-window.c: (update_action_sensitivity),
4278 (ev_window_cmd_view_reload):
4280 Add a "Reload" action and menu entry
4282 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4284 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4285 iff the type doesn't support thumbnailing and indexing.
4287 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4289 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4291 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4293 * pdf/splash/Splash.cc:
4295 Port fix for a crasher from kde bug
4296 http://bugs.kde.org/show_bug.cgi?id=97131
4298 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4300 * pdf/xpdf/pdf-document.cc:
4302 Return a link even if it's of an unrecognized
4303 type. Otherwise we go in an infinte cycle.
4305 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4307 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4308 (size_allocate_cb), (ev_window_set_sizing_mode):
4310 Update size when switching mode
4312 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4314 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4315 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4316 (ev_window_cmd_view_normal_size):
4318 Fix size toggle buttons behavior
4320 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4322 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4323 (doc_rect_to_view_rect), (ev_view_size_allocate),
4324 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4325 (scale_changed_callback):
4327 Do not cache offsets in size_allocate.
4329 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4331 * shell/ev-view.c: (ev_view_size_allocate):
4333 Calculate offsets before calling the parent
4334 class (which does a redraw)
4336 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4338 * pdf/xpdf/pdf-document.cc:
4340 Fix a crasher on exit. Unused code, put a TODO
4342 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4344 * backend/ev-document.c: (ev_document_class_init),
4345 (ev_document_page_changed), (ev_document_scale_changed):
4346 * backend/ev-document.h:
4348 Separate page/scale notifications
4350 * pdf/xpdf/pdf-document.cc:
4352 Emit the new signals.
4353 Do not display the pdf page in _render, do it
4354 when scale/page are requested.
4356 * ps/ps-document.c: (ps_document_set_zoom),
4357 (ps_document_widget_event):
4360 Emit the new signals.
4362 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4363 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4364 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4365 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4367 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4368 (ev_window_cmd_view_page_width), (size_allocate_cb),
4369 (ev_window_set_sizing_mode):
4371 Rework sizing to be pixel based.
4372 There are bugs but should be already way better.
4374 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4376 * shell/ev-window.c: (ev_window_init):
4378 Do not allow to shrink sidebar smaller then
4381 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4383 * shell/ev-sidebar.[ch]
4384 * shell/ev-window.c:
4386 Improved sidebar widget. Fixes #166683
4388 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4390 * shell/ev-view.c (update_find_status_message): Give translators
4391 more flexibility with ngettext plural handling.
4393 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4395 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4396 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4397 page when we get the page size.
4399 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4401 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4403 ps pages are 0 based, convert
4405 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4407 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4409 Initialize correct parent class. Set GError on document load
4411 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4413 * pdf/xpdf/pdf-document.cc:
4415 Fixup selection offset calculation
4417 * shell/ev-view.c: (view_rect_to_doc_rect),
4418 (doc_rect_to_view_rect), (ev_view_size_allocate),
4419 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4420 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4422 Store selection as document relative, so that zooming
4423 and offset changing doesnt break it.
4425 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4427 * shell/ev-view.c: (ev_view_best_fit):
4429 Do not try to best fit if the view is not realized
4431 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4433 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4435 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4437 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4439 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4441 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4442 the popup window. That prevents it resizing when in full screen
4445 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4446 multiple rerenders. This pretty much sucks.
4448 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4449 rest of the toolbar.
4451 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4453 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4455 2005-02-17 Alexander Shopov <ash@contact.bg>
4457 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4459 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4461 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4463 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4465 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4466 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4467 (set_document_page), (document_changed_callback),
4468 (ev_view_set_document), (ev_view_find_previous),
4469 (ev_view_hide_cursor), (ev_view_show_cursor):
4471 * shell/ev-window.c: (update_chrome_visibility),
4472 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4473 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4474 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4475 (ev_window_unfullscreen):
4476 * shell/main.c: (main):
4478 Automatically hide the fullscreen button.
4479 Patch by Kristian Høgsberg <krh@redhat.com>
4481 2005-02-16 Vincent Noel <vnoel@cox.net>
4483 * shell/main.c (main): Specify an icon for the window. Patch by
4484 Jaap A. Haitsma. Fixes #166177.
4486 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4488 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4490 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4492 * backend/ev-document-misc.h:
4493 * backend/ev-document-misc.c:
4494 (ev_document_misc_get_page_border_size),
4495 (ev_document_misc_paint_one_page): New function to canonicalize
4496 sizing/painting a border.
4498 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4501 * pdf/xpdf/pdf-document.cc: use new function
4503 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4504 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4505 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4506 shell/ev-window.c: (update_sizing_buttons),
4507 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4508 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4509 (ev_window_cmd_view_page_width), (size_allocate_cb),
4510 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4511 and "fit width" values act as toggle buttons so they stay
4512 toggled. It's not 100% perfect, and it's a little slow, but it's
4513 good enough to commit I think.
4515 2005-02-15 David Lodge <dave@cirt.net>
4517 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4519 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4521 * shell/ev-window.c (update_window_title): replace newlines in
4522 the title by spaces. Bug #166107.
4524 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4526 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4527 parameters providing allocation width and height without
4528 scrollbars and width of a possible vertical scrollbar. With this
4529 additional information the functions can work as
4530 intended. Unfortunately they're not idempotent. We should
4531 transform these commands to toggles. Fixes Bug #164976
4532 Initial patch by Stephane Loeuillet, then heavily modified.
4534 * shell/ev-view.h: update prototypes.
4536 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4537 (ev_window_cmd_view_page_width): provide EvView fit functions with
4538 all the information they need. Formulas to calculate this
4539 information taken from GtkScrolledWindow.
4541 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4543 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4544 created a thumbnail, the list store is updated to know
4545 that the thumbnail is set. Fixes bug #166792
4547 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4549 * shell/ev-window.c: fixed typo, closes bug 166897
4551 * TODO: updated TODO with bug numbers that are relevant
4553 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4555 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4557 2005-02-09 Vincent Noel <vnoel@cox.net>
4559 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4560 and "Next" toolbar buttons as important to make them stand out.
4562 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4566 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4567 (start_interpreter), (stop_interpreter), (document_load),
4568 (ps_document_next_page), (ps_document_goto_page),
4569 (ps_document_set_page_size), (ps_document_widget_event),
4570 (ps_document_render):
4571 * shell/ev-page-view.c: (ev_page_view_dispose):
4572 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4574 Fix compilation on non-gcc platforms
4576 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4583 * pdf/xpdf/Catalog.cc:
4586 Fix the fix for CAN-2004-0888
4588 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4591 * data/evince-ui.xml:
4592 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4593 * shell/ev-stock-icons.h:
4594 * shell/ev-window.c: (update_action_sensitivity),
4595 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4596 (set_action_properties):
4598 Improve toolbar layout/icons
4600 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4602 * pdf/xpdf/pdf-document.cc:
4604 Add warnings about unimplemented/unknown link
4607 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4609 * ps/ps-document.c: (set_up_page):
4613 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4615 * ps/ps-document.c: (start_interpreter):
4619 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4621 * shell/ev-page-view.c: (ev_page_view_dispose):
4622 * shell/ev-view.c: (ev_view_finalize):
4623 * shell/ev-window.c: (ev_window_setup_document),
4624 (ev_window_dispose), (ev_window_init):
4626 Solve more refs issues.
4628 I commented out the page_view initialization for now:
4629 it was never destroyed (because it's never added
4630 to a container). Because of that we was leaking
4631 gs processes. Couldnt think to a clean fix.
4632 We need to figure this out, password view has the
4633 same issue probably.
4635 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4637 * ps/ps-document.c: (ps_document_finalize),
4638 (ps_document_get_n_pages), (ps_document_get_page):
4640 Some cleanups, stop the interpreter on finalize
4642 * shell/ev-page-view.c: (ev_page_view_dispose),
4643 (ev_page_view_class_init):
4645 Release our reference on the document
4647 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4651 * doc/debugging.txt:
4654 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4655 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4656 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4659 Add debugging helpers
4662 * ps/ps-document.c: (set_up_page), (start_interpreter),
4663 (stop_interpreter), (document_load), (ps_document_next_page),
4664 (ps_document_goto_page), (ps_document_set_page_size),
4665 (ps_document_widget_event), (ps_document_render):
4666 * shell/Makefile.am:
4667 * shell/ev-view.c: (expose_bin_window):
4668 * shell/main.c: (main):
4672 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4674 * ps/ps-document.c: (ps_document_widget_event):
4676 Initialize message_window, this should make ps
4677 rendering really work! (Never noticed because I was
4678 testing with a ps that is causing gs to exit every time!)
4680 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4682 * data/evince.schemas.in: updated simple error in applyto closing tag
4684 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4690 * data/evince-ui.xml:
4691 A data/evince.schemas.in:
4693 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4694 * shell/ev-stock-icons.h:
4695 * shell/ev-window.c: (update_chrome_visibility),
4696 (update_chrome_flag), (ev_window_cmd_edit_find),
4697 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4698 (ev_window_unfullscreen), (ev_window_focus_in_event),
4699 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4700 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4701 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4702 (ev_window_dispose), (ev_window_class_init),
4703 (set_action_properties), (set_chrome_actions), (load_chrome),
4706 Implement fullscreen mode changes from bug #164776.
4707 Also implement persistent chrome toggles.
4709 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4711 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4713 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4719 Add another check for find interface
4723 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4725 * shell/ev-application.c: (ev_application_open):
4726 * shell/ev-window.c: (ev_window_open):
4728 Open gzipped ps documents
4730 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4733 * shell/ev-view.c: (set_document_page):
4735 Clamp page number, dont try to move to
4738 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4740 * backend/ev-document-find.c: (ev_document_find_changed):
4741 * backend/ev-document-find.h:
4742 * pdf/xpdf/pdf-document.cc:
4743 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4744 * shell/ev-window.c: (find_bar_search_changed_cb):
4746 Fix several bugs with find
4748 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4750 * shell/ev-sidebar-thumbnails.c
4751 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4752 document. Prevents warning from scroll_to_cell.
4754 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4756 * configure.ac: Add «nb» to ALL_LINGUAS too.
4758 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4760 * NOTES: New file with some random thoughts.
4764 * backend/ev-document-misc.c:
4765 (ev_document_misc_get_page_border_size): New function to
4766 canonicalize shadow drawing sizes. Possibly goofy.
4768 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4769 (ev_view_best_fit), (ev_view_fit_width):
4770 * pdf/xpdf/pdf-document.cc:
4771 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4772 * ps/ps-document.c: (ps_document_get_page_size):
4773 * backend/ev-document-misc.h:
4774 * backend/ev-document.c: (ev_document_get_page_size):
4775 * backend/ev-document.h: get_page_size now takes a page number
4776 parameter. Made all the backends/frontends honor it.
4778 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4779 see. Doesn't work yet.
4781 * shell/Makefile.am:
4782 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4783 Doesn't do anything yet.
4785 * shell/ev-sidebar-thumbnails.c:
4786 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4789 * shell/ev-window.c: (update_action_sensitivity),
4790 (ev_window_setup_document), (ev_window_set_page_mode),
4791 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4792 view-swapping code a bit so we can have multiple views on a
4793 document. Add the multi-page view, though it can't be turned on
4796 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4798 * shell/ev-application.c: (ev_application_open):
4799 * shell/ev-view.c: (expose_bin_window):
4800 * shell/ev-window.c: (ev_window_open):
4802 Support eps and check document supports find
4803 before drawing highlightings in expose.
4805 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4807 * pixbuf/pixbuf-document.c:
4808 (pixbuf_document_thumbnails_get_dimensions),
4809 (pixbuf_document_document_thumbnails_iface_init):
4811 implement get_dimensions
4813 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4820 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4822 * shell/ev-view.c: (set_document_page):
4824 Scroll at the top of the page when changing page
4826 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4828 * shell/ev-view.c: (ev_view_motion_notify_event):
4830 Do not redraw unnecessarily
4832 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4834 * pdf/xpdf/pdf-document.cc:
4835 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4836 (expose_bin_window), (find_changed_cb):
4838 Yay! find works now... Now to find bugs...
4840 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4842 * backend/ev-document-find.c: (ev_document_find_base_init),
4843 (ev_document_find_changed):
4844 * backend/ev-document-find.h:
4845 * pdf/xpdf/pdf-document.cc:
4846 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4847 (expose_bin_window), (ev_view_init), (set_document_page),
4848 (ensure_rectangle_is_visible), (jump_to_find_result),
4849 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4850 (ev_view_find_next), (ev_view_find_previous):
4852 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4854 More work on find implementation, mostly there now
4856 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4858 * backend/ev-backend-marshalers.list:
4859 * backend/ev-document-find.c: (ev_document_find_base_init),
4860 (ev_document_find_cancel), (ev_document_find_page_has_results),
4861 (ev_document_find_get_n_results), (ev_document_find_get_result),
4862 (ev_document_find_get_progress), (ev_document_find_changed):
4863 * backend/ev-document-find.h:
4865 Enanche the find interface to be really able to do
4868 * pdf/xpdf/pdf-document.cc:
4872 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4873 (expose_bin_window), (ev_view_init),
4874 (ev_view_get_find_status_message), (find_changed_cb),
4875 (ev_view_set_document), (set_document_page):
4877 Adapt to the new interface. A few things are regressed sorry,
4878 I will finish it soon.
4880 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4882 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4883 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4884 ev_sidebar_thumbnails_parent_class variable, don't define another
4885 parent_class variable.
4887 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4888 (ev_page_action_class_init): ditto.
4890 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4891 (pixbuf_document_class_init): ditto.
4893 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4896 * .cvsignore: ignore various valgrind output files.
4898 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4900 * data/evince-ui.xml:
4901 * shell/Makefile.am:
4902 * shell/ev-history.c:
4903 * shell/ev-history.h:
4904 * shell/ev-navigation-action.c:
4905 * shell/ev-navigation-action.h:
4906 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4907 (ev_view_set_page), (ev_view_fit_width):
4909 * shell/ev-window.c: (update_action_sensitivity),
4910 (ev_window_setup_document), (register_custom_actions):
4912 Kill session history
4914 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4916 * shell/ev-window.c: (update_action_sensitivity):
4918 Fix inverted up/down buttons
4920 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4922 * shell/ev-sidebar-thumbnails.c
4923 (ev_sidebar_thumbnails_select_page): make sure the selected
4924 thumbnail stays visible.
4926 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4928 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4929 scrolled window for Federico.
4931 2005-01-26 Ole Laursen <olau@hardworking.dk>
4933 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4935 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4938 * pdf/splash/SplashFTFontEngine.cc:
4940 Fix CID fonts with freetype 2.1.9
4942 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4944 * TODO: added item for desktop icon thumbnailer
4946 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4948 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4949 unloaded docs when the title is accessed.
4951 * shell/ev-password-view.[hc]: New widget for displaying password
4954 * shell/ev-window.[ch]: Refactor password handling code to handle
4957 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4965 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4967 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4968 ignore page offset here, to make search results independent of it,
4970 * shell/ev-view.c (expose_bin_window): but take offsets into
4971 account here. Bug #164932
4973 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4974 scale at the right time. Bug #164996
4976 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4978 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4979 fix the problem. Now I just removed the Adobe font names and hope
4980 that the URW fonts are always in outline format. Bug #164934
4982 * shell/ev-window.c (update_window_title): empty titles are
4983 useless, use filename in that case too.
4985 * NEWS: Add some content.
4987 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4989 * TODO: added one more TODO item and a TODONE section :)
4991 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4993 * ps/ps-document.h: add page_[xy]_offset fields.
4995 * ps/ps-document.c (ps_document_set_page_offset)
4996 (ps_document_render): Keep offset in consideration in a few
4997 places. Bug #164752 "postscript documents are not centered in
5000 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5001 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5003 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5004 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5005 stub out missing methods for complete EvDocument implementation.
5006 Fixes segfaults with Save A Copy and Copy actions.
5008 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5009 (ps_document_document_iface_init): ditto.
5011 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5015 * data/evince.desktop.in:
5019 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5021 * shell/ev-view.c: (ev_view_button_press_event),
5022 (ev_view_motion_notify_event):
5024 Make selection work in any direction
5026 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5029 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5031 Use shorter labels for some of the toolbars items
5033 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5035 * pdf/xpdf/pdf-document.cc:
5037 Check the links info is initialized before
5038 using it. Should fix a crash on startup.
5040 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5042 * pixbuf/pixbuf-document.c
5043 (pixbuf_document_thumbnails_get_dimensions): force floating point
5044 division to calculate page_ratio. Fixes crash with landscape
5047 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5049 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5051 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5053 * shell/ev-view.c (set_document_page): unset has_selection when
5055 (set_document_page): handle paper size changes when the page
5056 changes (test with Free Culture, page 2).
5058 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5060 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5061 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5063 Use normal style color for the widget background and
5064 draw a black box around the page.
5066 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5068 * pdf/xpdf/pdf-document.cc:
5070 Keep offset in consideration in a few places
5072 * shell/ev-view.c: (expose_bin_window):
5074 Set the offsets so that the document is ever centered
5076 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5078 * TODO: Added TODO items and finished off the first todo item
5080 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5081 reflect current authors
5083 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5085 * pdf/xpdf/pdf-document.cc:
5086 * shell/ev-view.c: (ev_view_set_cursor),
5087 (ev_view_motion_notify_event), (document_changed_callback),
5088 (set_document_page):
5090 Show a wait cursor while the page is rendering
5092 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5094 * shell/ev-sidebar-thumbnails.c:
5095 (ev_sidebar_tree_selection_changed),
5096 (ev_sidebar_thumbnails_select_page):
5097 * shell/ev-sidebar-thumbnails.h:
5098 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5099 (ev_view_can_go_forward):
5100 * shell/ev-window.c: (ev_window_open_page),
5101 (ev_window_setup_document), (update_current_page),
5102 (view_page_changed_cb), (ev_window_init):
5103 * shell/ev-window.h:
5105 Ensure thumbnails selection, toolbar page control and
5106 current page are in sync.
5108 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5114 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5116 * backend/Makefile.am:
5117 * backend/ev-document-links.h:
5118 * backend/ev-document-security.c: (ev_document_security_get_type),
5119 (ev_document_security_has_document_security),
5120 (ev_document_security_set_password):
5121 * backend/ev-document-security.h:
5122 * backend/ev-document.c: (ev_document_error_quark):
5123 * backend/ev-document.h:
5125 * data/evince-password.glade:
5126 * pdf/xpdf/pdf-document.cc:
5127 * shell/Makefile.am:
5128 * shell/ev-password.c: (ev_password_set_bad_password_label),
5129 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5130 (ev_password_dialog_get_password),
5131 (ev_password_dialog_set_bad_pass):
5132 * shell/ev-password.h:
5133 * shell/ev-window.c: (ev_window_get_attribute),
5134 (ev_window_set_property), (update_action_sensitivity),
5135 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5136 (ev_window_setup_document), (ev_window_get_password),
5137 (ev_window_open), (ev_window_cmd_save_as),
5138 (using_postscript_printer), (ev_window_print),
5139 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5140 (update_fullscreen_popup), (ev_window_fullscreen),
5141 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5142 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5143 (menu_item_select_cb), (find_bar_search_changed_cb),
5144 (ev_window_dispose), (ev_window_init):
5146 Add initial support for password-supported dialogs. This could be
5147 a lot cooler, but it'll do for now.
5149 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5151 * pdf/xpdf/pdf-document.cc:
5152 * shell/ev-view.c: (status_message_from_link),
5153 (ev_view_set_status), (ev_view_set_cursor),
5154 (ev_view_motion_notify_event), (ev_view_init):
5155 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5157 Fix bugs in the links implementation and change cursor
5158 when hovering a link.
5160 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5162 * viewer/.cvsignore: added cvsignore file for viewer directory
5164 * TODO: created TODO document
5166 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5169 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5170 new functions to help with implementation of sensitivity code
5171 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5172 of all actions that might require it. Fixes a crash when you
5173 click on the Zoom actions in a window lacking a document.
5175 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5177 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5180 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5182 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5183 (pixbuf_document_document_iface_init):
5184 * ps/ps-document.c: (ps_document_get_link),
5185 (ps_document_document_iface_init):
5186 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5187 (status_message_from_link), (ev_view_set_status),
5188 (ev_view_set_find_status), (ev_view_motion_notify_event),
5189 (ev_view_button_release_event), (ev_view_set_property),
5190 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5191 (ev_view_get_find_status_message), (update_find_results),
5192 (ev_view_get_status), (ev_view_get_find_status):
5194 * shell/ev-window.c: (view_status_changed_cb),
5195 (view_find_status_changed_cb), (ev_window_init):
5197 View status message support, use it to show the links.
5200 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5202 * backend/ev-document.c: (ev_document_get_link):
5203 * backend/ev-document.h:
5204 * pdf/xpdf/pdf-document.cc:
5205 * shell/ev-application.c: (ev_application_open):
5206 * shell/ev-application.h:
5207 * shell/ev-sidebar-links.c: (selection_changed_cb):
5208 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5209 (ev_view_go_to_link):
5211 Add support for document links
5213 2005-01-13 Anders Carlsson <andersca@gnome.org>
5215 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5217 Set the spin button limits correctly.
5219 * shell/ev-sidebar-thumbnails.c:
5220 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5221 Support changing pages by clicking on the thumbnails.
5223 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5225 * pixbuf/pixbuf-document.c:
5226 (pixbuf_document_thumbnails_get_dimensions),
5227 (pixbuf_document_document_thumbnails_iface_init):
5229 implement get_dimensions
5231 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5233 * ps/ps-document.c: (ps_document_goto_page):
5235 Fix page switching on multipage documents
5237 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5239 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5241 check for NULL before assigning to width and height parameters
5243 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5245 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5246 (pixbuf_document_set_property), (pixbuf_document_get_property):
5248 implement get/set properties
5250 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5252 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5254 return NULL instead of "Unknown", letting the title get set to
5255 the filename when the pdf has no title.
5257 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5259 * ps/ps-document.c: (ps_document_get_page_count),
5260 (ps_document_goto_page):
5262 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5264 * shell/ev-history.c: (ev_history_get_property),
5265 (ev_history_set_property), (ev_history_class_init),
5266 (ev_history_add_page), (ev_history_set_current_index):
5267 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5268 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5269 (ev_navigation_action_finalize):
5270 * shell/ev-navigation-action.h:
5271 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5272 (ev_view_go_forward), (ev_view_get_find_status_message),
5273 (history_index_changed_cb), (ev_view_set_history):
5275 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5276 (update_current_page), (register_custom_actions):
5278 Implement history dropdowns
5280 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5282 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5283 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5284 (ev_view_go_forward):
5285 * shell/ev-window.c: (register_custom_actions):
5287 Fix several history bugs
5289 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5291 * configure.ac: Add «nb» to ALL_LINGUAS.
5293 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5295 * backend/Makefile.am:
5296 * backend/ev-bookmark.c:
5297 * backend/ev-bookmark.h:
5298 * backend/ev-document-bookmarks.c:
5299 * backend/ev-document-bookmarks.h:
5300 * backend/ev-document-links.c: (ev_document_links_get_type),
5301 (ev_document_links_has_document_links),
5302 (ev_document_links_begin_read), (ev_document_links_get_link),
5303 (ev_document_links_get_child), (ev_document_links_next),
5304 (ev_document_links_free_iter):
5305 * backend/ev-document-links.h:
5306 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5307 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5308 (ev_link_get_link_type), (ev_link_set_link_type),
5309 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5310 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5311 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5312 (ev_link_new_external):
5313 * backend/ev-link.h:
5314 * pdf/xpdf/pdf-document.cc:
5315 * shell/Makefile.am:
5316 * shell/ev-application.c: (ev_application_open_link):
5317 * shell/ev-application.h:
5318 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5319 (ev_history_get_link_nth):
5320 * shell/ev-history.h:
5321 * shell/ev-sidebar-bookmarks.c:
5322 * shell/ev-sidebar-bookmarks.h:
5323 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5324 (ev_sidebar_links_class_init), (selection_changed_cb),
5325 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5326 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5327 (do_one_iteration), (populate_links_idle),
5328 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5329 * shell/ev-sidebar-links.h:
5330 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5331 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5334 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5335 * shell/ev-window.h:
5337 Rename bookmark to link, and use "Index" for the sidebar panel.
5339 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5341 * shell/Makefile.am:
5342 * shell/ev-application.c: (ev_application_open_bookmark):
5343 * shell/ev-application.h:
5344 * shell/ev-history.c: (ev_history_init), (free_links_list),
5345 (ev_history_finalize), (ev_history_class_init),
5346 (ev_history_add_link), (ev_history_add_page),
5347 (ev_history_get_link_nth), (ev_history_get_n_links),
5348 (ev_history_get_current_index), (ev_history_set_current_index),
5350 * shell/ev-history.h:
5351 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5352 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5353 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5354 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5357 * shell/ev-window.c: (ev_window_open_bookmark),
5358 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5359 (goto_page_cb), (register_custom_actions):
5360 * shell/ev-window.h:
5362 Initial history implementation. Needs work.
5364 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5366 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5368 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5370 * cut-n-paste/recent-files/egg-recent-item.c:
5371 * cut-n-paste/recent-files/egg-recent-item.h:
5372 * cut-n-paste/recent-files/egg-recent-model.c:
5373 * cut-n-paste/recent-files/egg-recent-util.c:
5374 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5375 * cut-n-paste/recent-files/egg-recent-view.c:
5379 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5381 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5382 (fillGlyph, fillImageMask, drawImage):
5383 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5384 pdf/splash/SplashTypes.h:
5385 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5386 packed mode for Splash.
5388 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5389 RGB8 packed mode, eliminates the pixbuf data creation loop.
5391 * shell/ev-print-job.c (ev_print_job_finalize)
5392 (ev_print_job_set_property, ev_print_job_get_property)
5393 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5394 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5395 (print_closure_finalize, ev_print_job_print): implement
5396 printing (for backends with EvPsExporter)
5398 * shell/ev_print_job.h: update prototypes.
5400 * shell/ev-window.c (ev_window_print): unref print job after
5403 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5404 unless the document implements the EvDocumentFind interface.
5406 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5408 * configure.ac: Added ja to ALL_LINGUAS.
5410 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5412 * pdf/xpdf/pdf-document.cc:
5414 add a FIXME. We should probably not allocate
5415 a bookmark object every time
5417 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5419 * shell/ev-application.c: (ev_application_open),
5420 (ev_application_open_bookmark):
5421 * shell/ev-application.h:
5423 Add a way to open bookmarks
5425 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5426 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5427 (ev_bookmark_set_property), (ev_bookmark_class_init),
5428 (ev_bookmark_new_title), (ev_bookmark_new_link),
5429 (ev_bookmark_new_external):
5431 Support for external uris, better constructors.
5433 * backend/ev-bookmark.h:
5434 * pdf/xpdf/pdf-document.cc:
5435 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5437 Handle external uris
5439 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5441 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5442 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5444 Hook up bookmarks navigation
5446 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5448 * backend/Makefile.am:
5449 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5450 (ev_bookmark_get_title), (ev_bookmark_set_title),
5451 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5452 (ev_bookmark_get_page), (ev_bookmark_set_page),
5453 (ev_bookmark_get_property), (ev_bookmark_set_property),
5454 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5456 * backend/ev-bookmark.h:
5457 * backend/ev-document-bookmarks.c:
5458 (ev_document_bookmarks_get_bookmark):
5459 * backend/ev-document-bookmarks.h:
5460 * pdf/xpdf/pdf-document.cc:
5461 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5463 Add a bookmark object to the backend and use it instead of get_values
5465 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5467 * data/evince-ui.xml:
5469 Cleanup and add select all.
5471 * shell/ev-view.c: (ev_view_select_all),
5472 (ev_view_button_press_event):
5474 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5477 Clear selection on click.
5479 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5481 * shell/ev-sidebar-thumbnails.c
5482 (ev_sidebar_thumbnails_set_document): forgot to unref the
5485 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5487 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5488 at the visible page, not just linearly. This makes it look fast.
5490 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5492 * backend/ev-document-misc.c
5493 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5495 * backend/ev-document-thumbnails.h: New interface to get the size
5498 2005-01-06 Jeremy Katz <katzj@redhat.com>
5500 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5503 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5505 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5506 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5509 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5511 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5513 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5514 fonts. Should fix font problems on systems that have the base
5515 fonts in bitmap format. Reported by James Henstridge
5516 <james@jamesh.id.au>.
5518 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5521 * pdf/xpdf/GfxState.cc:
5523 Fix for CAN-2004-1125
5525 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5527 * shell/ev-view.c: (ev_view_copy):
5529 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5531 Implement Edit->Copy
5533 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5535 * backend/ev-document.c: (ev_document_get_text):
5536 * backend/ev-document.h:
5537 * pdf/xpdf/pdf-document.cc:
5538 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5539 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5540 (ev_view_update_primary_selection), (ev_view_button_press_event),
5541 (ev_view_motion_notify_event), (ev_view_button_release_event):
5543 Beginnings of clipboard support. Incomplete but primary sort
5546 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5548 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5549 (expose_bin_window):
5551 Nicer rubberband drawing, from GtkIconView.
5553 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5555 * backend/ev-document.c: (ev_document_save):
5556 * backend/ev-document.h:
5557 * data/evince-ui.xml:
5558 * pdf/xpdf/pdf-document.cc:
5559 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5561 Implement "Save a copy..." menu item
5563 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5565 * shell/ev-view.c: (ev_view_zoom):
5567 Queue a resize when zoom changes
5569 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5571 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5574 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5577 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5579 * pdf/xpdf/pdf-document.cc
5580 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5582 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5584 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5585 It's slow, but I'll speed it up next!
5587 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5589 * shell/main.c (load_files):
5591 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5592 from the command line and because it seems more appropriate.
5594 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5596 * data/evince-ui.xml:
5597 * shell/ev-window.c: (update_action_sensitivity),
5598 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5600 s/next page/page down
5601 s/previous page/page up
5603 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5605 * data/evince-ui.xml:
5607 Change the layout to match clarkbw design.
5609 * shell/Makefile.am:
5610 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5611 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5612 (ev_navigation_action_finalize),
5613 (ev_navigation_action_set_property),
5614 (ev_navigation_action_get_property),
5615 (ev_navigation_action_class_init):
5616 * shell/ev-navigation-action.h:
5618 Implement clarkbw toolbar navigation controls (incomplete)
5620 * shell/ev-page-action.c: (update_label), (update_spin),
5621 (value_changed_cb), (create_tool_item), (connect_proxy),
5622 (ev_page_action_init), (ev_page_action_finalize),
5623 (ev_page_action_set_property), (ev_page_action_get_property),
5624 (ev_page_action_set_current_page),
5625 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5626 * shell/ev-page-action.h:
5628 Implement a page switcher in the toolbar
5630 * shell/ev-view.c: (ev_view_scroll_view):
5631 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5632 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5633 (register_custom_actions), (ev_window_init):
5635 Change page on PageUp/Down.
5637 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5639 * pdf/xpdf/pdf-document.cc
5640 (pdf_document_thumbnails_get_thumbnail): initial stab at
5641 implementing thumbnail support for pdfs. It only does documents
5642 with precached pdfs now.
5644 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5646 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5647 thumbnail code into a time-based idle as well. Also, turn off the
5648 shadow temporarily as it's really slow.
5650 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5652 * backend/ev-document.c: (ev_document_class_init):
5653 * pdf/xpdf/pdf-document.cc:
5654 * shell/ev-window.c: (ev_window_open):
5656 Fix document title bugs and fallback to
5657 filename when not available.
5659 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5661 * backend/ev-document.c: (ev_document_get_type),
5662 (ev_document_class_init), (ev_document_load),
5663 (ev_document_get_title):
5664 * backend/ev-document.h:
5665 * pdf/xpdf/pdf-document.cc:
5666 * ps/ps-document.c: (ps_document_set_property),
5667 (ps_document_get_property), (ps_document_class_init),
5671 * shell/ev-window.c: (update_window_title), (ev_window_open),
5674 Initial support for document title. Not working yet.
5676 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5678 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5680 Grab focus on the view when clicking it
5682 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5684 * shell/ev-marshal.list:
5685 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5686 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5688 Add key bindings to the view. Now if the focus would work
5691 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5694 * backend/Makefile.am:
5697 * dvi/dvilib/Makefile.am:
5698 * pdf/xpdf/Makefile.am:
5704 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5706 * shell/ev-view.c: (ev_view_realize):
5708 Fix mouse wheel scrolling
5710 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5716 * ps/ps-document.c: (catchPipe), (ps_document_init),
5717 (ps_document_class_init), (ps_document_cleanup),
5718 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5719 (set_up_page), (close_pipe), (is_interpreter_ready),
5720 (interpreter_failed), (output), (input), (start_interpreter),
5721 (stop_interpreter), (file_length), (file_readable),
5722 (check_filecompressed), (check_pdf), (compute_xdpi),
5723 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5724 (ps_document_get_type), (ps_document_emit_error_msg),
5725 (document_load), (ps_document_next_page),
5726 (ps_document_get_current_page), (ps_document_get_page_count),
5727 (ps_document_goto_page), (ps_document_set_page_size),
5728 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5729 (ps_document_load), (ps_document_get_n_pages),
5730 (ps_document_set_page), (ps_document_get_page),
5731 (ps_document_widget_event), (ps_document_set_target),
5732 (ps_document_set_scale), (ps_document_set_page_offset),
5733 (ps_document_get_page_size), (ps_document_render),
5734 (ps_document_document_iface_init):
5737 * shell/ev-window.c: (ev_window_open):
5739 Rename GtkGS to PSDocument
5741 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5743 * ps/gtkgs.c: (gtk_gs_class_init):
5746 Some more leftover...
5748 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5750 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5751 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5752 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5755 Remove unused code and make a lot of stuff private
5757 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5759 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5760 (gtk_gs_defaults_changed):
5766 Cleanup headers dependencies
5768 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5773 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5775 * ps/gtkgs.c: (file_length), (file_readable),
5776 (check_filecompressed), (check_pdf), (gtk_gs_load),
5777 (gtk_gs_get_postscript):
5781 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5786 * ps/gtkgs.c: (gtk_gs_set_zoom):
5790 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5792 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5794 Ensure the page is rerendered when changing zoom
5796 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5798 * backend/ev-document.c: (ev_document_base_init),
5799 (ev_document_changed):
5800 * backend/ev-document.h:
5802 Add a changed event that is emitted when the page content
5803 changes. This is necessary to deal with the fact that
5804 in ps backend rendering happen asycrounously.
5805 This makes the ps backend mostly work.
5807 * pdf/xpdf/pdf-document.cc:
5811 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5812 (ps_document_set_target):
5816 * shell/ev-view.c: (document_changed_callback),
5817 (ev_view_set_document), (ev_view_set_page):
5819 Redraw on the changed signal
5821 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5823 * configure.ac: Added pt_BR to ALL_LINGUAS.
5825 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5827 * backend/ev-document-bookmarks.c:
5828 (ev_document_bookmarks_get_child): *
5829 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5830 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5831 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5832 (ev_sidebar_bookmarks_destroy),
5833 (ev_sidebar_bookmarks_class_init),
5834 (ev_sidebar_bookmarks_construct), (stack_data_free),
5835 (do_one_iteration), (populate_bookmarks_idle),
5836 (ev_sidebar_bookmarks_clear_document),
5837 (ev_sidebar_bookmarks_set_document): *
5838 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5839 (ev_sidebar_add_page),
5840 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5841 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5842 it displays both the topics and the page numbers.
5844 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5846 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5848 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5851 2004-12-23 Adam Weinberger <adamw@gnome.org>
5853 * configure.ac: Added en_CA to ALL_LINGUAS.
5855 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5857 * ChangeLog: replace bottom of this ChangeLog (merged history of
5858 ggv and gpdf; where all paths were wrong and most of the files are
5859 not even in this tree) with ChangeLog (from arch) of the shell
5862 2004-12-23 Havoc Pennington <hp@redhat.com>
5864 * shell/ev-window.c: hook up potentially-questionable "find
5865 results status text" feature - something involving the sidebar or
5866 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5867 might be better in the end.
5869 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5870 with corresponding signal when it should be updated
5872 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5874 2004-12-22 Havoc Pennington <hp@redhat.com>
5876 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5877 find stuff on other pages, sort of (only returns one result on
5878 invisible pages, to show they have results; updates full results
5879 for a page when you view it). Currently repaints the current page
5880 every time a new result is found on any page, which isn't so nice.
5882 2004-12-22 Havoc Pennington <hp@redhat.com>
5884 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5885 the document doesn't support find (better ideas?)
5886 (find_bar_search_changed_cb): handle missing document or document
5887 that doesn't support find
5889 * pdf/xpdf/pdf-document.cc: port to implement the new
5892 * backend/ev-document-find.c: create a new interface for searching
5894 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5896 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5898 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5901 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5902 EvPrintJob constructor arguments.
5904 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5905 for documents that can export PostScript (page by page).
5907 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5909 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5910 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5911 (pdf_document_ps_exporter_iface_init:
5912 Implement EvPSExporter.
5914 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5916 2004-12-22 Anders Carlsson <andersca@gnome.org>
5918 * backend/Makefile.am:
5919 * backend/ev-document-thumbnails.c:
5920 (ev_document_thumbnails_get_type),
5921 (ev_document_thumbnails_get_thumbnail):
5922 * backend/ev-document-thumbnails.h:
5923 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5924 (pixbuf_document_thumbnails_get_thumbnail),
5925 (pixbuf_document_document_thumbnails_iface_init):
5926 * shell/Makefile.am:
5927 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5928 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5929 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5930 * shell/ev-sidebar-thumbnails.h:
5931 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5932 (ev_sidebar_set_document):
5933 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5934 (create_shadow), (ev_pixbuf_add_shadow):
5936 Add thumbnail support.
5938 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5940 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5941 (using_postscript_printer): Set up a print dialog for "PostScript
5944 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5947 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5949 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5951 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5952 (ps_document_set_target), (ps_document_get_page_size),
5953 (ps_document_render):
5958 2004-12-22 Christian Rose <menthos@menthos.com>
5960 * configure.ac: Added "sv" to ALL_LINGUAS.
5962 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5964 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5965 document supports bookmarks.
5967 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5969 * ps/ggvutils.c: (ggv_file_readable):
5971 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5972 (gtk_gs_get_postscript):
5976 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5978 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5979 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5980 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5981 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5982 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5983 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5984 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5985 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5986 (gtk_gs_set_antialiasing), (ps_document_load),
5987 (ps_document_render):
5990 Another check point for the ps backend. Now I can get it to show
5993 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5995 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5996 document setting code.
5998 2004-12-22 Anders Carlsson <andersca@gnome.org>
6000 * shell/eggfindbar.c: (entry_activate_callback):
6001 Animate the next button when activate is pressed.
6003 2004-12-22 Anders Carlsson <andersca@gnome.org>
6005 * shell/ev-window.c: (ev_window_cmd_edit_find),
6006 (update_fullscreen_popup), (ev_window_fullscreen),
6007 (ev_window_unfullscreen), (ev_window_state_event_cb),
6008 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6009 Fix bugs in fullscreen code.
6011 2004-12-22 Anders Carlsson <andersca@gnome.org>
6015 * pixbuf/Makefile.am:
6016 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6017 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6018 (pixbuf_document_set_page), (pixbuf_document_get_page),
6019 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6020 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6021 (pixbuf_document_render), (pixbuf_document_begin_find),
6022 (pixbuf_document_end_find), (pixbuf_document_finalize),
6023 (pixbuf_document_class_init),
6024 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6025 * pixbuf/pixbuf-document.h:
6026 * shell/Makefile.am:
6027 * shell/ev-application.c: (ev_application_open):
6028 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6032 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6035 * dvi/dvilib/Makefile.am:
6037 * configure.ac: Auto*ify dvi and dvi/dvilib
6039 * dvi/Makefile: Remove from CVS
6041 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6044 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6046 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6048 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6051 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6052 (gtk_gs_value_adjustment_changed), (compute_size),
6053 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6054 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6055 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6056 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6057 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6058 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6059 (ps_document_load), (ps_document_get_n_pages),
6060 (ps_document_set_page), (ps_document_get_page),
6061 (ps_document_set_target), (ps_document_set_scale),
6062 (ps_document_set_page_offset), (ps_document_get_page_size),
6063 (ps_document_render), (ps_document_begin_find),
6064 (ps_document_end_find), (ps_document_document_iface_init):
6066 * shell/Makefile.am:
6067 * shell/ev-window.c: (ev_window_open):
6069 Some work to integrate gtkgs with EvDocument
6071 2004-12-22 Anders Carlsson <andersca@gnome.org>
6073 * shell/ev-window.c: (update_fullscreen_popup),
6074 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6075 (exit_fullscreen_button_clicked_cb),
6076 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6077 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6078 (ev_window_state_event_cb), (ev_window_init):
6079 Add fullscreen support from Epiphany.
6081 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6083 * data/ev-stock-zoom-fit-width.png: fit-width
6084 stock icon from gpdf.
6086 * shell/ev-stock-icons.[ch]: copied from gpdf.
6088 * shell/main.c: (main): init stock icons.
6090 * shell/ev-window.c: use the fit-width icon.
6092 * data/evince-ui.xml: add zooming toolbar items.
6094 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6097 (ev_view_best_fit), (ev_view_fit_width): because
6098 get_page_size() returns the scaled page size, we
6099 need to calculate the scale factor relative to
6100 the previous scale factor. Should really just
6101 add get_real_page_size().
6103 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6105 * shell/ev-view.[ch]:
6106 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6107 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6110 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6111 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6112 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6115 * pdf/xpdf/pdf-document.cc:
6116 (pdf_document_begin_find),
6117 (pdf_document_end_find): make static.
6119 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6121 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6123 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6124 names to fontconfig patterns.
6125 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6127 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6130 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6146 Import ggv backend. Not hooked up yet.
6148 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6150 * shell/main.c: (load_files), (main): load files
6151 from the command line.
6153 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6155 * configure.ac: don't require bonobo.
6157 * cut-n-paste/recent-files/*: kill bonobo recent
6160 * shell/ev-window.c:
6161 (ev_window_is_empty): upd.
6162 (unable_to_load), (ev_window_open): load backend
6163 based on the mime type.
6165 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6167 * backend/.cvsignore: ignore generated marshalers source.
6169 * shell/main.c (main): this is not epiphany.
6171 2004-12-22 Havoc Pennington <hp@redhat.com>
6173 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6174 (expose_bin_window): draw find highlights
6176 * shell/ev-window.c (find_bar_search_changed_cb): implement
6178 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6179 (pdf_document_end_find): implement this interface
6181 * backend/ev-document.c (ev_document_found): add this to emit
6184 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6186 * data/evince-ui.xml: Add a few more toolbar items.
6188 * shell/ev-window.c: Hook up page navigation toolbar
6191 * shell/ev-view.[ch]: add ev_view_set/get_page and
6192 a page-changed signal.
6194 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6195 Add ev_document_get_page().
6197 * shell/ev-window.c: Sensitize/desensitize navigation
6200 2004-12-21 Havoc Pennington <hp@redhat.com>
6202 * backend/ev-backend-marshal.c,
6203 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6204 marshaler-generator thingy. I'm sure there's a better way to do
6205 this in the modern world.
6207 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6208 end_find methods and "found" signal.
6210 * configure.ac: find glib-genmarshal
6212 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6214 * shell/ev-sidebar.c: Construct an actual sidebar.
6215 * shell/ev-sidebar-bookmarks.[ch]:
6216 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6218 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6220 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6223 * shell/ev-view.c: Track the size from the document.
6225 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6227 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6228 constructor assumes ownership of the string passed in.
6230 * shell/ev-window.c (ev_window_open): Destroy the error
6231 dialog once we've displayed it.
6233 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6235 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6236 a bit, it works! (sort of)
6238 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6239 Move to .cc since we need to use C++ in the implementation.
6241 * shell/dummy.cc: Add a CC file to force evince
6242 to be linked as a C++ program.
6244 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6246 * shell/ev-view.[ch]: Start of content-area widget.
6248 * shell/ev-window.c: Create a EvView, update it
6249 as we change documents.
6251 * shell/Makefile.am shell/ev-marshal.list: Add
6252 generated marshalers.
6254 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6256 * Makefile.am (SUBDIRS): move shell.
6258 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6260 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6261 .a to libtool convenience libraries.
6263 * shell/ev-window.c (ev_window_open): Hard code loading
6266 * backend/ev-document.h: Add a boolean return to load(),
6267 fix GError * to GError **.
6269 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6270 object for a PDF backend EvDocument.
6272 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6274 * dvi/*: New directory with the beginning of a .dvi backend.
6276 2004-12-21 Havoc Pennington <hp@redhat.com>
6278 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6279 previous/next instead of back/forward
6281 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6283 * backend/ev-document.[ch]: Fix a couple of problems so
6286 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6288 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6289 to backend/ directory, rename EvViewer to EvDocument.
6291 2004-12-21 Havoc Pennington <hp@redhat.com>
6293 * shell/ev-window.c: hook up the find bar widget; now we just need
6294 a document to find things in
6296 * shell/eggfindbar.c: a find bar widget
6298 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6300 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6302 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6304 * pdf/**: Import of xpdf code from gpdf.
6306 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6308 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6309 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6310 Fix FreeType includes.
6312 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6313 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6314 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6315 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6316 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6317 Include xpdfconfig.h
6319 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6321 * shell/ev-window.c (ev_window_dispose): dispose can be called
6324 2004-12-21 Havoc Pennington <hp@redhat.com>
6326 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6329 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6330 items; really they should be synced with the strings, etc. from
6331 current gpdf, but just getting the boring typing out of the way
6333 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6336 * shell/ev-application.c: (window_destroy_cb):
6337 * shell/ev-window.c:
6338 * shell/main.c: (main):
6340 Actually show the window...
6342 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6345 * shell/Makefile.am:
6346 * shell/ev-application.c: (ev_application_class_init):
6347 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6351 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6353 Import to gnome cvs.
6355 * Remove copies of gpdf and ggv trees.
6356 * Rip out all the recursive configure code.
6357 * Remove bonobo machinery.
6358 * viewer/*: GInterfaces that backends should/can implement.
6360 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6362 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6365 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6367 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6368 (ev_application_finalize, ev_application_class_init)
6369 (ev_application_init): use GType instance private data for priv.
6371 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6372 (ev_window_finalize, ev_window_class_init)
6373 (ev_window_init): ditto.
6375 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6377 * shell/ev-application.c (ev_application_new_window): make public
6378 (ev_application_show_initial_window): kill.
6380 * shell/ev-application.h: update prototypes.
6382 * shell/main.cc (main): inline ev_application_show_initial_window.
6384 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6386 * shell/ev-application.c (ev_application_new_window): impl.
6387 (ev_application_show_initial_window): use it.
6388 (is_window_empty, ev_application_get_empty_window): returns an
6389 existing empty window or a new one.
6390 (ev_application_open): from ev_window_cmd_file_open.
6392 * shell/ev-application.h: update prototypes
6394 * shell/ev-window.c (ev_window_is_empty): impl.
6395 (ev_window_open): make public.
6396 (ev_window_cmd_file_open): use ev_application_open
6398 * shell/ev-window.h: update prototypes, remove unused.
6400 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6402 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6403 move destroy handler out of here...
6405 * shell/ev-application.c, shell/ev-application.h: ...into this new
6406 class. Also handles initial window creation.
6408 * shell/main.cc (main): use EvApplication to create initial
6411 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6413 * Makefile.am (SUBDIRS): add cut-n-paste
6415 * cut-n-paste/Makefile.am: add
6417 * configure.ac: generate Makefiles in cut-n-paste
6419 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6421 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6422 (ev_window_class_init): install ev_window_dispose.
6424 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6426 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6427 char (gchar looks stupid).
6429 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6431 * po/de.po: updated German translation.
6433 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6435 * configure.ac: add more pkg-config library checks for gnome-vfs,
6438 * gpdf/configure.in: temporarily disable libpaper
6439 checks. Otherwise I'd have to add the checks for the shell, too.
6441 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6443 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6444 and * file filters to the file choose.
6446 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6448 * po/de.po: Updated German translation.
6450 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6452 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6454 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6456 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6458 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6459 (ev_window_init): implement those menuitems.
6461 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6463 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6465 * shell/ev-window.c (ev_window_init): use the toolbar.
6467 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6469 * shell/ev-window.c (ev_window_init): use menu translations
6471 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6473 * configure.ac: add "de" to ALL_LINGUAS.
6475 * po/de.po: add German translation.
6477 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6479 * Makefile.am (SUBDIRS): add po
6481 * configure.ac: check intltool, glib-gettext etc, generate
6484 * po, po/POTFILES.in, po/POTFILES.skip: new.
6486 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6488 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6489 already use (#ifdef ENABLE_NLS)
6491 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6492 pointer indirection thinko.
6494 * shell/main.c: include gi18n.h for bindtextdomain etc.
6496 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6498 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6499 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6500 tooltips for menu items in the statusbar.
6502 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6504 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6505 pkgdatadir drop UIDIR
6507 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6509 * data/evince-ui.xml: Add File->Open menu item
6511 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6512 chooser), hook it up in the ui manager.
6514 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6516 * shell/ev-window.c: fix Help->About tooltip.
6518 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6520 * configure.ac: set CFLAGS for libevprivate.
6522 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6523 definitions, factory etc.
6525 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6527 * shell/Makefile.am: link against libevprivate.a.
6529 * shell/ev-window.c (entries): add stock icon to Help->About.
6531 * shell/main.c (main): init stock icon code.
6533 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6535 * lib/recent-files: egg recent files code
6537 * lib/Makefile.am: add.
6539 * Makefile.am: add lib subdir.
6541 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6542 set CFLAGS for recent-files.
6544 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6546 * configure.ac: disable -ansi and -pedantic gcc flags. They
6547 disable POSIX stuff in stdio.h, but egg-recent uses them.
6549 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6551 * configure.ac: add --disable-deprecated flag (defaults to on in
6554 * shell/Makefile.am (INCLUDES): use it.
6556 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6558 * shell/main.c: add missing #include.
6560 * shell/ev-window.c: fix for pedantic gcc.
6561 (ev_window_cmd_help_about): split license into paragraphs for
6562 translators and pedantic compilers.
6564 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6566 * configure.ac: add more warning flags if compiling with gcc from
6567 cvs (or explicitly requested with --enable-more-warnings).
6569 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6571 * data/evince-ui.xml: add File and File->Close menu.
6573 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6574 (ev_window_destroy): quit after destroy.
6575 (ev_window_class_init): override GtkObject::destroy.
6576 (entries): install close_window callback.
6578 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6580 * Makefile.am (SUBDIRS): add data subdir.
6582 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6583 gtk+ 2.5.0 for GtkAboutDialog.
6585 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6588 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6590 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6592 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6594 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6596 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6598 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6600 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6602 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6604 * shell/*: Added shell directory boilerplate, build it.
6606 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6608 * configure.ac, Makefile.am: Added top-level configure.ac and