1 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
3 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
4 getting the area for select_all.
6 2005-08-06 Kristian Høgsberg <krh@redhat.com>
8 * backend/ev-selection.c: (ev_selection_render_selection):
9 * backend/ev-selection.h:
11 * shell/ev-jobs.c: (ev_job_render_new):
13 * shell/ev-pixbuf-cache.c: (get_selection_colors),
14 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
15 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
18 Change selection color on focus in and focus out events. Also,
19 poppler now uses GdkColor for specifying the selection colors, so
20 drop some awkward conversion code.
22 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
24 * configure.ac: Added Hebrew translation
26 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
29 * backend/ev-selection.c: (ev_selection_render_selection):
30 * backend/ev-selection.h:
32 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
35 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
36 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
37 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
38 (ev_pixbuf_cache_style_changed),
39 (ev_pixbuf_cache_get_selection_pixbuf),
40 (ev_pixbuf_cache_set_selection_list),
41 (ev_pixbuf_cache_get_selection_list):
42 * shell/ev-pixbuf-cache.h:
43 * shell/ev-utils.c: (ev_print_region_contents):
45 * shell/ev-view.c: (ev_view_queue_draw_page),
46 (selection_update_idle_cb), (ev_view_motion_notify_event),
47 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
48 (setup_caches), (ev_view_find_next), (merge_selection_region),
50 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
52 Clean up selection to be much smoother!
54 2005-08-05 Kristian Høgsberg <krh@redhat.com>
56 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
57 to poppler_page_render_selection().
59 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
61 * ps/ps-document.c: (save_page_list): Use
62 unzipped document when printing. Thanks to
63 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
66 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
68 * shell/ev-window.c: (update_action_sensitivity):
70 Disable print and save respect to lockdown gconf keys. Fix
73 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
76 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
77 (write_to_temp_file), (ev_file_set_contents):
79 * shell/ev-window.c: (save_print_config_to_file):
81 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
84 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
86 * shell/ev-window.c: (load_print_config_from_file),
87 (save_print_config_to_file), (ev_window_print_range):
89 Persist the print settings. Fixes bug #311578.
91 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
93 * djvu/djvu-document.c: (djvu_document_get_page_size),
94 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
95 (djvu_document_thumbnails_get_thumbnail):
96 * dvi/dvi-document.c: (dvi_document_get_page_size),
97 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
98 (dvi_document_thumbnails_get_dimensions),
99 (dvi_document_thumbnails_get_thumbnail):
100 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
101 (pixbuf_document_render_pixbuf),
102 (pixbuf_document_document_iface_init),
103 (pixbuf_document_thumbnails_get_thumbnail):
105 Update backends to make them build with new rotation system.
107 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
109 * help/C/figures/evince_start_window.png:
111 Update documentation image from Luca Ferretti <elle.uca@libero.it>
113 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
115 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
116 * shell/ev-pixbuf-cache.h:
117 * shell/ev-sidebar-thumbnails.c:
118 (ev_sidebar_thumbnails_get_property), (add_range),
119 (adjustment_changed_cb):
120 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
121 pixbuf cache. Make thumbnailing work again. Also, fix bug where
122 we were thumbnailing the entire docment on startup, slowing us
125 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
127 * shell/ev-page-cache.c: (ev_page_cache_new):
128 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
131 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
133 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
134 (ev_view_rotate_left):
136 Account rotation in doc_rect_to_view_rect.
137 Ensure rotation doesnt go out of bounds.
139 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
141 * shell/ev-page-cache.c: (ev_page_cache_get_size):
143 Correct and cleanup w/h swapping
145 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
147 * backend/ev-document-thumbnails.c:
148 (ev_document_thumbnails_get_thumbnail):
149 * backend/ev-document-thumbnails.h:
150 * backend/ev-document.c:
151 * backend/ev-document.h:
152 * backend/ev-render-context.c: (ev_render_context_new),
153 (ev_render_context_set_rotation):
154 * backend/ev-render-context.h:
156 * ps/ps-document.c: (ps_document_document_iface_init):
157 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
159 * shell/ev-page-cache.c: (build_height_to_page),
160 (ev_page_cache_new), (ev_page_cache_get_size),
161 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
162 (ev_page_cache_get_height_to_page):
163 * shell/ev-page-cache.h:
164 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
165 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
166 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
167 (ev_pixbuf_cache_get_selection_pixbuf):
168 * shell/ev-pixbuf-cache.h:
169 * shell/ev-print-job.c: (idle_print_handler):
170 * shell/ev-sidebar-thumbnails.c: (add_range):
171 * shell/ev-view.c: (view_update_range_and_current_page),
172 (get_page_y_offset), (get_page_extents),
173 (ev_view_size_request_continuous_dual_page),
174 (ev_view_size_request_continuous),
175 (ev_view_size_request_dual_page),
176 (ev_view_size_request_single_page), (draw_one_page),
177 (ev_view_set_rotation), (ev_view_rotate_right),
178 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
179 (ev_view_zoom_for_size_continuous_and_dual_page),
180 (ev_view_zoom_for_size_continuous),
181 (ev_view_zoom_for_size_dual_page),
182 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
183 (ev_view_select_all):
184 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
185 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
186 (tiff_document_document_iface_init),
187 (tiff_document_thumbnails_get_thumbnail):
189 Use rotation rather than orientation. It's easier and enough
192 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
194 * shell/ev-page-cache.c: (build_height_to_page),
195 (ev_page_cache_new), (ev_page_cache_get_size),
196 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
197 (ev_page_cache_get_height_to_page):
198 * shell/ev-page-cache.h:
199 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
200 (ev_view_size_request_continuous_dual_page),
201 (ev_view_size_request_continuous),
202 (ev_view_zoom_for_size_continuous_and_dual_page),
203 (ev_view_zoom_for_size_continuous):
205 Make the page cache aware of page orientation.
207 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
209 * backend/ev-document-thumbnails.c:
210 (ev_document_thumbnails_get_thumbnail):
211 * backend/ev-document-thumbnails.h:
212 * backend/ev-document.c:
213 * backend/ev-document.h:
214 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
215 * backend/ev-ps-exporter.h:
217 * ps/ps-document.c: (ps_document_document_iface_init),
218 (ps_document_ps_export_do_page):
219 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
221 * shell/ev-page-cache.c: (ev_page_cache_get_size),
223 * shell/ev-page-cache.h:
224 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
225 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
226 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
227 * shell/ev-pixbuf-cache.h:
228 * shell/ev-print-job.c: (idle_print_handler):
229 * shell/ev-sidebar-thumbnails.c: (add_range):
230 * shell/ev-view.c: (view_update_range_and_current_page),
231 (get_page_extents), (ev_view_size_request_dual_page),
232 (ev_view_size_request_single_page), (draw_one_page),
233 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
234 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
235 (ev_view_zoom_for_size_dual_page),
236 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
237 (ev_view_select_all):
238 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
239 * tiff/tiff-document.c: (tiff_document_get_page_size),
240 (tiff_document_get_orientation), (rotate_pixbuf),
241 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
242 (tiff_document_thumbnails_get_thumbnail),
243 (tiff_document_ps_export_do_page), (tiff_document_init):
245 Really make use of the orientation bit of the render context.
246 Use the render context in a few more places in the backend API.
247 This regress orientation, but now it's done right. Will try to
250 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
252 * shell/ev-view.c: (ensure_rectangle_is_visible):
254 Patch by Nickolay V. Shmyrev to fix find flickering
256 2005-07-27 Martin Kretzschmar <martink@gnome.org>
258 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
259 duplex parameters to ::begin.
261 * tiff/tiff-document.c (tiff_document_ps_export_begin):
262 * shell/ev-print-job.c (idle_print_handler):
263 * ps/ps-document.c (ps_document_ps_export_begin):
264 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
265 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
266 implementations. Poppler backend needs poppler cvs. Rest has
269 2005-07-25 Martin Kretzschmar <martink@gnome.org>
271 * shell/ev-window.c (using_pdf_printer): new function.
272 (ev_window_print_range): print a less techy message if someone
273 tries to print to PDF.
275 2005-07-25 Martin Kretzschmar <martink@gnome.org>
277 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
278 from "unknown font" string. Bug #311431
280 2005-07-24 Martin Kretzschmar <martink@gnome.org>
282 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
284 2005-07-24 Martin Kretzschmar <martink@gnome.org>
288 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
289 name for PopplerFontTypes
290 (pdf_document_fonts_fill_model): add font type to the detail column
292 * backend/ev-document-fonts.h: added
293 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
295 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
296 font name and font details, add a little markup.
297 (ev_properties_fonts_init): use the new cell data func, specify ypad
298 property for the cell renderer.
299 (ev_properties_fonts_set_document): add the details column.
301 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
303 * configure.ac: Added "pl" to ALL_LINGUAS.
305 2005-07-24 Danilo Šegan <danilo@gnome.org>
307 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
309 2005-07-23 Tommi Vainikainen <thv@iki.fi>
311 * help/ChangeLog: Started this for translations of manual.
312 * configure.ac, autogen.sh, .cvsignore: Migrated to
313 gnome-doc-utils. Patch in bug #311222.
315 2005-07-22 Martin Kretzschmar <martink@gnome.org>
317 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
318 #ifdef this away to fix an unused-function warning.
320 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
322 * configure.ac: Added 'gl' to ALL_LINGUAS.
324 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
326 * configure.ac: Added ne in ALL_LINGUAS
328 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
330 * shell/ev-view.c: (ev_view_leave_notify_event):
332 Clear status message when pointer leaves view. Fix for bug
335 2005-07-20 Ankit Patel <ankit644@yahoo.com>
337 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
339 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
341 * shell/ev-view.c: (ev_view_leave_notify_event),
342 (ev_view_class_init):
344 Set cursor to normal then leaving view.
346 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
350 Fix required djvulibre version.
352 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
354 *configure.ac: Hindi (hi) language added
356 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
358 *configure.ac: Punjabi (pa) Language added
360 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
362 * data/evince-ui.xml, shell/ev-window.c:
364 Add keypad accelerators for zooming. Fix for bug 308128.
366 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
369 * backend/Makefile.am:
370 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
372 * shell/ev-document-types.c: (ev_document_types_add_filters):
374 Allow to enable/disable the pixbuf backend.
375 Default to off for now. If we want it enabled we should
376 really put mime types in the desktop, implement properties etc.
378 * properties/evince-properties.c:
380 Initialize error to NULL.
381 Check error is not NULL before freeing.
383 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
387 Use F5 as presentation accell
389 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
391 * shell/ev-window.c: (update_chrome_visibility),
392 (ev_window_create_fullscreen_popup), (ev_window_init):
394 Do not leak the fullscreen toolbar
396 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
398 * shell/ev-window.c: (view_actions_focus_in_cb),
399 (view_actions_focus_out_cb):
401 These has a return value! Fix totally random focus
402 issues we was seeing.
404 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
406 * shell/main.c: (load_files_remote):
408 Allow open more than one file
410 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
412 * shell/main.c: (load_files_remote):
414 Fix for dbus 0.33. bug #309975
416 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
418 * properties/ev-properties-main.c: (ev_properties_get_pages):
420 Actually return NULL for types we dont support
422 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
428 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
430 * backend/ev-document-factory.c:
431 (ev_document_factory_get_document):
433 Do not try to create the object if type
436 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
438 * ps/ps-document.c: (ps_document_dispose),
439 (ps_async_renderer_render_pixbuf):
442 Do not leak the target window
444 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
446 * shell/ev-application.c: (ev_application_init):
448 Let tbe check file existence for us.
449 Add a comment about eggrecent mime filter.
451 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
453 * data/evince-ui.xml:
454 * shell/ev-application.c: (ev_application_shutdown),
455 (ev_application_init), (ev_application_get_toolbars_model),
456 (ev_application_get_recent_model),
457 (ev_application_save_toolbars_model):
458 * shell/ev-application.h:
459 * shell/ev-window.c: (ev_window_add_recent),
460 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
461 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
464 Use common toolbar and recent models for all windows.
465 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
467 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
469 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
470 successfully check for gtk_icon_view_get_visible_range.
472 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
477 Fix djvu and dvi backend build.
479 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
481 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
482 (new_separator_pixbuf):
486 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
488 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
490 HIGification of toolbar editor dialogue.
492 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
497 Ever build metadata manager since it's just
498 disabled at runtime now.
500 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
502 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
503 (ev_metadata_manager_get), (ev_metadata_manager_set):
504 * shell/ev-metadata-manager.h:
506 Add an _init functions that enabled metadata management
509 * shell/ev-window.c: (page_changed_cb),
510 (setup_document_from_metadata), (ev_window_setup_document),
511 (setup_view_from_metadata), (ev_window_open_uri),
512 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
513 (ev_window_run_presentation), (ev_window_stop_presentation),
514 (save_sizing_mode), (ev_window_zoom_changed_cb),
515 (ev_window_continuous_changed_cb),
516 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
517 (window_configure_event_cb):
519 Remove all ugly metadata define since we deal with it
522 * shell/main.c: (load_files_remote), (main):
524 Add support for dbus cvs head. Hopefully didnt break one
525 of the other versions now!
527 If we dont get a response from the dbus server just
528 give up with it and not enable metadata.
530 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
533 * backend/Makefile.am:
535 * cut-n-paste/recent-files/Makefile.am:
536 * cut-n-paste/toolbar-editor/Makefile.am:
537 * cut-n-paste/zoom-control/Makefile.am:
540 * pixbuf/Makefile.am:
541 * properties/Makefile.am:
544 * thumbnailer/Makefile.am:
547 Make frontends depend on just libev.
548 Rework and group CFLAGS/LIBS definitions.
551 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
555 do not unnecessarily save zoom
558 * lib/ev-file-helpers.c: (ev_dot_dir):
564 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
568 Remove unnecessary dependencies
570 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
572 * properties/Makefile.am:
573 * thumbnailer/Makefile.am:
576 Some more cleanups. Was really necessary
577 but I probably introduced bugs, feel free
580 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
582 * backend/Makefile.am:
584 * cut-n-paste/recent-files/Makefile.am:
585 * cut-n-paste/toolbar-editor/Makefile.am:
586 * cut-n-paste/zoom-control/Makefile.am:
589 * pixbuf/Makefile.am:
590 * properties/Makefile.am:
593 * thumbnailer/Makefile.am:
596 Use gnome-common macros when possible.
597 Cleanup dependencies.
598 Actually disable deprecated where possible.
600 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
603 * backend/Makefile.am:
604 * properties/Makefile.am:
606 * thumbnailer/Makefile.am:
608 This should solve the circular dep without
611 * shell/ev-window.c: (setup_view_from_metadata):
613 Never restore window size/position when the
614 window is already visible.
616 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
618 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
620 Return a boolean from timeout func. Fix ported from gedit.
622 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
624 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
626 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
628 * shell/ev-document-types.c: set "All Documents" as default filter in
631 2005-07-06 Martin Kretzschmar <martink@gnome.org>
633 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
634 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
635 (ev_metadata_manager_set_boolean): fix value/val thinko.
637 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
639 * shell/ev-window.c: (setup_view_from_metadata),
640 (window_state_event_cb), (window_configure_event_cb),
643 Remember window position and maximized state
645 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
649 Fix DBUS configure checks.
651 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
652 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
653 (ev_metadata_manager_set_boolean):
657 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
658 (ev_window_stop_fullscreen), (ev_window_run_presentation),
659 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
660 (ev_window_continuous_changed_cb),
661 (ev_window_dual_mode_changed_cb), (ev_window_new):
663 Fix the build without DBUS.
665 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
667 * shell/ev-metadata-manager.c: (parse_value), (save_values),
668 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
669 (ev_metadata_manager_set_string),
670 (ev_metadata_manager_set_boolean):
671 * shell/ev-metadata-manager.h:
673 Add support for some more types
675 * shell/ev-view.c: (scroll_to_current_page),
676 (ev_view_get_continuous), (ev_view_set_continuous),
677 (ev_view_get_dual_page):
679 * shell/ev-window.c: (page_changed_cb),
680 (setup_document_from_metadata), (ev_window_setup_document),
681 (setup_view_from_metadata), (ev_window_open_uri),
682 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
683 (ev_window_run_presentation), (ev_window_stop_presentation),
684 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
685 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
686 (ev_window_update_dual_page_action),
687 (ev_window_continuous_changed_cb),
688 (ev_window_dual_mode_changed_cb), (ev_window_init):
690 Remember a bunch of view/document properties. Prolly some
691 are still missing but it's getting interesting.
693 2005-07-05 Martin Kretzschmar <martink@gnome.org>
695 * configure.ac: check if dbus-binding-tool is installed. Not the
696 case on current Ubuntu breezy, it seems.
698 2005-07-05 Luca Ferretti <elle.uca@libero.it>
700 * data/evince.desktop.in.in:
702 Allow open uri lists and add TryExec field.
704 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
708 Enable dbus when available, do not require a configure
711 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
715 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
718 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
719 Marco Pesenti Gritti <mpg@redhat.com>
721 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
723 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
724 functions to the format required by dbus
726 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
727 errors. Use the RPC parameters in the expected way
729 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
732 * properties/Makefile.am:
733 * properties/ev-properties-main.c: (ev_properties_get_pages):
735 Support all mime types
738 * thumbnailer/Makefile.am:
739 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
740 (evince_thumbnail_pngenc_get):
742 Use the document factory
744 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
746 * backend/Makefile.am:
747 * backend/ev-document-factory.c:
748 (mime_type_supported_by_gdk_pixbuf),
749 (ev_document_type_get_from_mime),
750 (ev_document_factory_get_document),
751 (ev_document_factory_get_backend),
752 (ev_document_factory_get_mime_types),
753 (ev_document_factory_get_all_mime_types):
754 * backend/ev-document-factory.h:
756 * shell/ev-document-types.c: (get_document_from_uri),
757 (ev_document_types_get_document),
758 (file_filter_add_mime_list_and_free),
759 (ev_document_types_add_filters):
760 * shell/ev-document-types.h:
761 * shell/ev-job-xfer.c: (ev_job_xfer_run):
762 * shell/ev-properties-dialog.c:
763 (ev_properties_dialog_set_document):
764 * shell/ev-window.c: (ev_window_cmd_file_open),
765 (ev_window_cmd_save_as):
766 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
768 Rework document types managing to avoid code duplication
769 and actually abstract from backend implementations.
770 Also provide a minimal factory api that can be used by
771 thumbnailer/properties.
773 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
775 * properties/ev-properties-view.c: (ev_properties_view_set_info):
777 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
780 2005-07-04 Matthew S. Wilson <msw@rpath.com>
782 * shell/ev-properties-dialog.c
783 (ev_properties_dialog_set_document): only call
784 ev_properties_fonts_set_document() if the document implements the
787 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
790 * properties/Makefile.am:
791 * properties/ev-properties-view.c:
792 (ev_properties_view_register_type):
793 * properties/ev-properties-view.h:
794 * properties/ev-properties-main.h:
796 Implement nautilus plugin for properties.
797 Works only for pdf atm, I need to rework the
798 document types stuff to get this to work
801 2005-07-04 Martin Kretzschmar <martink@gnome.org>
803 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
804 (ev_properties_fonts_set_document): use
805 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
807 2005-07-04 Matthew S. Wilson <msw@rpath.com>
809 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
811 (PlaceImage, tiff2ps_process_page): use
812 g_ascii_dtostr to convert floats to strings in a locale-safe way.
815 2005-07-04 Martin Kretzschmar <martink@gnome.org>
817 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
818 (main): to call gnome_authentication_manager_init. Should fix
821 * configure.ac: that requires libgnomeui 2.6.0.
823 2005-07-04 Matthew S. Wilson <msw@rpath.com>
825 * tiff/tiff-document.c (tiff_document_ps_export_begin)
826 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
827 use the new tiff2ps interfaces
829 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
830 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
832 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
833 structure instead of global variables. Remove use of static
834 variables in functions.
836 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
838 * shell/ev-page-action.c: unref the completion after setting it to the
841 2005-07-04 Matthew S. Wilson <msw@rpath.com>
843 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
846 2005-07-04 Matthew S. Wilson <msw@rpath.com>
848 * shell/ev-window.c (update_action_sensitivity): disable
849 File->Print if the document does not implement the ps exporter
852 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
856 * data/evince-properties.glade:
857 * properties/.cvsignore:
858 * properties/Makefile.am:
859 * properties/ev-properties-view.c: (ev_properties_view_dispose),
860 (ev_properties_view_class_init), (ev_properties_view_format_date),
861 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
862 (ev_properties_view_init), (ev_properties_view_new):
863 * properties/ev-properties-view.h:
865 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
866 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
867 (ev_properties_dialog_new):
868 * shell/ev-properties-dialog.h:
869 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
870 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
871 (update_progress_label), (job_fonts_finished_cb),
872 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
873 * shell/ev-properties-fonts.h:
874 * shell/ev-properties.c:
875 * shell/ev-properties.h:
876 * shell/ev-window.c: (ev_window_setup_document),
877 (ev_window_cmd_file_properties):
879 Split the properties pages in two different objects, depend
880 only on the backend where possible, use widgets instead
881 of gobject for the glade part, reimplement the dialog
883 I need this to implement nautilus properties page.
885 2005-07-03 Matthew S. Wilson <msw@rpath.com>
887 * tiff/tiff-document.c (tiff_document_ps_export_begin)
888 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
889 (tiff_document_document_ps_exporter_iface_init): implement the ps
890 exporter interface for tiff documents
892 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
893 libtiff to implement TIFF postscript export
895 * tiff/tiff2ps.h: added a header file for external tiff2ps
898 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
901 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
903 * shell/ev-view.c: (scroll_to_current_page),
904 (ev_view_set_fullscreen), (ev_view_set_presentation):
906 Scroll to current page when exit from presentation
908 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
910 * shell/ev-window.c: (update_document_mode),
911 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
912 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
913 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
915 Exit from fullscreen mode when switch to presentation. Fix for
918 2005-07-02 Matthew S. Wilson <msw@rpath.com>
920 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
921 return NULL if the document does not implement the selection
924 2005-07-02 Matthew S. Wilson <msw@rpath.com>
926 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
927 reported height by using the resolution aspect ratio
928 (tiff_document_render_pixbuf): scale the pixbuf using the
929 resolution aspect ratio
931 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
935 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
936 <kiltedaco@gmail.com>
938 * djvu/djvu-document.c: (djvu_document_get_orientation),
939 (djvu_document_set_orientation), (djvu_document_get_page_size),
940 (rotate_pixbuf), (djvu_document_render_pixbuf),
941 (djvu_document_document_iface_init):
942 * dvi/dvi-document.c: (dvi_document_get_orientation),
943 (dvi_document_set_orientation), (dvi_document_get_page_size),
944 (rotate_pixbuf), (dvi_document_render_pixbuf),
945 (dvi_document_document_iface_init):
947 Dvi and djvu backends are ported to new API
949 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
951 * backend/ev-selection.c: (ev_selection_get_selection_region),
952 (ev_selection_get_selection_map):
953 * backend/ev-selection.h:
955 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
957 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
958 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
959 (ev_pixbuf_cache_get_text_mapping):
960 * shell/ev-pixbuf-cache.h:
961 * shell/ev-view.c: (location_in_text),
962 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
963 support to EvView. Now we can see where we can select! Sweet!
965 2005-06-30 Kristian Høgsberg <krh@redhat.com>
967 * shell/ev-view.c (ev_view_button_press_event): Fix
968 event->y + view->scroll_x typo.
970 2005-06-30 Kristian Høgsberg <krh@redhat.com>
972 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
973 sub-GdkPixbuf instead of passing dest_x and dest_y.
975 * shell/ev-view.c: (view_point_to_doc_point),
976 (view_rect_to_doc_rect), (ev_view_button_press_event),
977 (ev_view_motion_notify_event), (compute_new_selection_rect),
978 (gdk_rectangle_point_in), (compute_new_selection_text),
979 (compute_selections): Update selection code to keep the selection
980 around as two points and not as a normalized rectangle, and fix
981 page level selection in two-column mode.
983 2005-06-30 Alex Duggan <aldug@astrolinux.com>
985 * shell/ev-window.c: (window_configure_event_cb):
989 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
995 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
998 * shell/ev-metadata-manager.c: (item_free),
999 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1000 (parse_value), (parseItem), (load_values),
1001 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1002 (save_values), (save_item), (get_oldest), (resize_items),
1003 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1004 * shell/ev-metadata-manager.h:
1006 Metadata manager from gedit but modified to use GValue, so that
1007 we dont need to keep converting from strings.
1011 ENABLE_METADATA conditional, on when dbus is on
1013 * shell/ev-application.c: (ev_application_open_uri):
1015 Show the window after load so that we can initialize
1016 window size before it's showed.
1018 * shell/ev-window.c: (ev_window_setup_from_metadata),
1019 (ev_window_open_uri), (window_configure_event_cb),
1022 Save and load metadata information about window size.
1023 Not yet keeping states in account.
1025 * shell/main.c: (main):
1027 Shutdown metadata manager.
1029 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1031 * shell/ev-application-service.xml:
1033 * shell/Makefile.am:
1034 * shell/ev-application.c:
1035 * shell/ev-application.h:
1036 * shell/ev-window.c:
1037 * shell/ev-window.h:
1040 Add an optional dbus interface (--enable-dbus).
1041 Rework application code, mainly to be easier to
1043 Do not open multiple windows with the same document,
1046 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1048 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1049 pixbuf iff it exists.
1051 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1054 * backend/ev-render-context.[ch]:
1055 * backend/ev-selection.[ch]:
1057 Massive changes. We now support text selection of pdfs, and not
1058 just rectangular selection. This is pretty broken still, but I
1059 want to get something into CVS.
1061 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1063 * pdf/ev-poppler.cc:
1065 Fix for Bug 309080: crash on window close.
1067 * shell/ev-page-action.c: (page_changed_cb):
1069 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1070 jensgr@gmx.net (Jens Granseuer).
1072 2005-06-25 Marcel Telka <marcel@telka.sk>
1074 * configure.in (ALL_LINGUAS): Added sk.
1076 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1078 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1081 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1088 * cut-n-paste/recent-files/Makefile.am:
1092 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1094 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1095 (pixbuf_document_set_orientation), (rotate_pixbuf),
1096 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1097 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1099 Implement rotation and cleanup the code a bit.
1101 * tiff/tiff-document.c: (tiff_document_get_page_size),
1102 (tiff_document_get_orientation), (tiff_document_set_orientation),
1103 (rotate_pixbuf), (tiff_document_render_pixbuf),
1104 (tiff_document_document_iface_init), (tiff_document_init):
1106 Implement rotation. Was the quicker solution for the release
1107 but we really need to share this code in the shell.
1109 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1111 * pdf/ev-poppler.cc:
1113 Enable rotation, require poppler cvs. Fix a leak.
1115 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1117 * shell/ev-window.c: (update_action_sensitivity):
1119 Make properties unsensitive if document backend doesn't provide
1122 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1124 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1125 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1126 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1127 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1128 (bitmap_flip_rotate_counter_clockwise):
1129 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1130 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1132 * dvi/mdvi-lib/common.h:
1133 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1134 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1135 (opendvi), (mdvi_reload), (mdvi_init_context),
1136 (mdvi_destroy_context), (mdvi_dopage), (special):
1137 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1138 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1139 (file_hash_free), (register_encoding), (parse_spec),
1140 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1141 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1142 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1143 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1144 (mdvi_register_font_type), (mdvi_unregister_font_type),
1145 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1146 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1147 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1148 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1149 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1150 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1151 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1152 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1153 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1154 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1155 (mdvi_unregister_special), (mdvi_flush_specials):
1156 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1158 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1159 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1160 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1161 (free_font_metrics), (flush_font_metrics):
1162 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1164 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1165 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1166 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1167 (dstring_insert), (dstring_new), (dstring_reset):
1168 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1170 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1171 avoid conflict with libtool on FC4
1173 * shell/ev-window.c: (ev_window_cmd_help_about):
1175 Update copyright year. Fix for bug 308828.
1177 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1179 * shell/ev-view.c: (add_scroll_binding_keypad),
1180 (ev_view_binding_activated), (ev_view_class_init),
1181 (on_adjustment_value_changed):
1183 Bug 170874: Arrow keys switch pages in presentation mode
1185 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1187 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1189 Fix for Bug 308265: Sidebar dissappears coming out of
1192 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1194 * shell/ev-application.c: (ev_application_open):
1195 * shell/ev-document-types.c: (ev_document_types_add_filters),
1196 (ev_document_types_add_filters_for_type):
1197 * shell/ev-document-types.h:
1198 * shell/ev-window.c: (ev_window_cmd_save_as):
1200 Suggest basename as template when saving, provide filters
1201 for save dialog. It's bug 308402
1203 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1205 * pdf/ev-poppler.cc:
1206 * shell/ev-sidebar-links.c: (job_finished_callback):
1207 * shell/ev-view.c: (update_find_status_message):
1211 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1213 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1214 (egg_recent_view_uimanager_set_list):
1216 Fix buglet in !show_numbers case.
1218 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1220 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1221 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1223 Use pango ellipsisation.
1225 * pdf/ev-poppler.cc:
1227 Fix refcount leak, from nsh.
1229 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1231 * cut-n-paste/recent-files/Makefile.am:
1232 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1233 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1235 Removed EggRecentViewGtk
1237 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1238 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1239 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1240 (ev_window_setup_recent):
1242 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1245 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1247 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1248 (egg_recent_view_gtk_finalize):
1252 * cut-n-paste/toolbar-editor/Makefile.am:
1254 Fix location of cursor icon.
1256 * pdf/ev-poppler.cc:
1257 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1258 (display_completion_text), (match_completion):
1259 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1260 (selection_changed_callback), (create_loading_model),
1261 (print_section_cb), (links_page_num_func),
1262 (update_page_callback_foreach):
1263 * shell/ev-window.c: (ev_window_dispose):
1265 Small memory fixes. Links model now store objects instead
1266 of pointers to improve memory management.
1268 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1270 * shell/ev-window.c: (zoom_control_changed_cb):
1272 Fix update of zoom control (bug 308268).
1274 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1276 * shell/ev-properties.c (set_property): escape the text correctly.
1277 Handles non-UTF-8 properties and escaped properties. Also, sets
1278 the text to "<i>None</i>" if the property isn't set.
1280 * data/evince-properties.glade: Change the label to be ellipsized,
1281 and give it a minimum size.
1283 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1285 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1286 * shell/ev-sidebar-links.c: (create_loading_model):
1287 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1288 * shell/ev-view.c: (ev_view_set_document):
1289 * shell/ev-window.c: (ev_window_dispose):
1291 Various small fixes, mostly memory leaks. Thanks to valgrind.
1293 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1295 * ps/ps-document.c: remove the locale.h include again ;-). And
1296 kill the (bogus) setlocale/savelocale business.
1298 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1302 Include locale.h to fix build
1304 * shell/ev-sidebar.c:
1306 Remove unnecessary includes
1308 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1310 * dvi/dvi-document.c: (dvi_document_load):
1311 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1314 Check for incorrect dvi files. Fix parsing dvi on AMD64
1315 platform. Thanks to tester@tester.ca (Olivier Crete).
1317 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1319 * shell/ev-page-action.c: (match_selected_cb),
1320 (display_completion_text), (match_completion), (update_model):
1321 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1322 (expand_open_links):
1323 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1324 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1325 (ev_sidebar_set_document):
1326 * shell/ev-window.c: (ev_window_xfer_job_cb),
1327 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1329 Fixed lot's of memory leaks, for example, memory leak on reload,
1330 described in bug 307793.
1332 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1334 * pdf/ev-poppler.cc:
1335 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1336 (update_visible_range), (adjustment_changed_cb),
1337 (ev_sidebar_thumbnails_fill_model),
1338 (ev_sidebar_thumbnails_refresh),
1339 (ev_sidebar_tree_selection_changed),
1340 (ev_sidebar_icon_selection_changed),
1341 (ev_sidebar_thumbnails_use_icon_view),
1342 (ev_sidebar_thumbnails_set_document):
1343 * shell/ev-sidebar-thumbnails.h:
1344 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1345 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1347 Refresh thumbnails when changing orientation. Not fully
1348 working yet becuase of a sidebar bug.
1350 Set page orientation to poppler page everywhere. This sucks
1351 really need to fix poppler.
1353 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1355 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1356 (egg_recent_view_gtk_new_menu_item),
1357 (egg_recent_view_gtk_set_property),
1358 (egg_recent_view_gtk_get_property),
1359 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1360 (egg_recent_view_gtk_set_tooltip_func),
1361 (egg_recent_view_gtk_set_label_width),
1362 (egg_recent_view_gtk_get_label_width):
1363 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1365 Sync with libegg (ellipsize labels)
1367 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1369 * data/evince-ui.xml:
1370 * shell/ev-window.c: (ev_window_cmd_go_forward),
1371 (ev_window_cmd_go_backward):
1373 Shift + PageUp moves 10 Pages. Fix for 306125
1375 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1377 * pdf/ev-poppler.cc:
1379 Add a flag to check if orientation has been overriden
1381 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1383 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1386 * ps/ps.h: add creator field to document.
1388 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1391 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1393 * data/evince-properties.glade:
1394 * shell/ev-properties.c: (ev_properties_set_document):
1396 s/PDF Version/Format
1398 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1400 * shell/ev-properties.c: (ev_properties_set_document):
1402 Remove unnecessary translations
1404 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1406 * cut-n-paste/toolbar-editor/Makefile.am:
1408 Correct library name
1410 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1413 * cut-n-paste/recent-files/egg-recent-model.c:
1414 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1415 (egg_recent_model_unlock_file):
1416 * cut-n-paste/recent-files/egg-recent-util.c:
1417 (egg_recent_util_get_unique_id):
1418 * cut-n-paste/recent-files/update-from-egg.sh:
1419 * cut-n-paste/toolbar-editor/Makefile.am:
1420 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1421 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1422 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1423 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1424 (egg_toolbars_model_get_type):
1425 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1427 Better makefile for toolbar editor and update everything
1430 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1432 * shell/ev-window.c: (update_document_mode):
1434 Prefer presentation mode when the document
1437 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1439 * data/evince-ui.xml:
1440 * shell/ev-window.c:
1442 Add control-equal for zooming
1444 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1446 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1448 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1450 * backend/ev-document.c: (ev_document_get_orientation):
1451 * backend/ev-document.h:
1452 * pdf/ev-poppler.cc:
1453 * ps/ps-document.c: (ps_document_get_orientation),
1454 (ps_document_set_orientation), (ps_document_document_iface_init):
1456 Add a get_orientation api. Improve set_orientation.
1458 * data/evince-ui.xml:
1459 * shell/ev-view.c: (ev_view_set_orientation),
1460 (ev_view_rotate_right), (ev_view_rotate_left):
1462 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1463 (ev_window_cmd_edit_rotate_right):
1465 Better ui for changing document orientation
1467 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1469 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1470 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1471 * shell/ev-sidebar-links.h:
1472 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1473 (ev_sidebar_page_iface_init):
1474 * shell/ev-sidebar-page.h:
1475 * shell/ev-sidebar-thumbnails.c:
1476 (ev_sidebar_thumbnails_get_property),
1477 (ev_sidebar_thumbnails_class_init),
1478 (ev_sidebar_thumbnails_set_document):
1479 * shell/ev-sidebar-thumbnails.h:
1480 * shell/ev-view.c: (ev_view_motion_notify_event):
1481 * shell/ev-window.c: (update_chrome_visibility),
1482 (ev_window_cmd_focus_page_selector),
1483 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1484 (sidebar_page_main_widget_update_cb), (ev_window_init):
1486 Autoraise toolbar on GoToPage binding and fix bindings in
1487 EvSidebarThumbnails page.
1489 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1491 * shell/ev-properties.c: (update_progress_label):
1493 Hide the progress label when finished; bug #307697.
1495 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1497 * pdf/ev-poppler.cc:
1499 Enable is_open for links, you will need poppler cvs
1501 * shell/ev-properties.c: (job_fonts_finished_cb):
1503 Get a lock on the document when filling the tree view
1505 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1507 * backend/ev-document-links.h:
1508 * pdf/ev-poppler.cc:
1509 * shell/ev-sidebar-links.c: (create_loading_model),
1510 (expand_open_links), (job_finished_callback):
1512 Expand links when specified by the document.
1513 Depend on a poppler api (defined out for now)
1515 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1517 * shell/ev-properties.c: (ev_properties_dispose),
1518 (ev_properties_class_init), (dialog_destroy_cb),
1519 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1520 (ev_properties_set_document), (ev_properties_new),
1521 (ev_properties_show):
1522 * shell/ev-properties.h:
1524 Make it an object, cleanup the code, api to show it as transient
1525 and to set the document.
1527 * shell/ev-window.c: (ev_window_setup_document),
1528 (ev_window_cmd_file_properties):
1530 Adapt to EvProperties changes, do not show multiple
1531 times, update it when document changes.
1533 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1536 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1537 (ps_document_set_orientation), (ps_document_document_iface_init):
1540 Implement orientation here too
1542 * shell/ev-properties.c: (ev_properties_new):
1543 * data/evince-properties.glade:
1545 Hide the fonts page for backends that doesnt
1548 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1550 * backend/ev-document.c: (ev_document_set_orientation):
1551 * backend/ev-document.h:
1552 * pdf/ev-poppler.cc:
1554 Add orientation api. Currently poppler api is not optimal,
1555 we need to set orientation every time we _get a page.
1556 I will try to fix that at some point.
1558 * data/evince-ui.xml:
1559 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1560 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1562 Add orientation menu items
1564 * shell/ev-page-cache.c: (ev_page_cache_clear):
1565 * shell/ev-page-cache.h:
1567 Add api to clear the cache
1569 * shell/ev-view.c: (setup_caches), (clear_caches),
1570 (ev_view_set_document), (ev_view_zoom_out),
1571 (ev_view_set_orientation):
1574 Implement orientation changing
1576 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1578 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1579 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1580 * backend/ev-document-fonts.h:
1582 Separate scan and fill so that we can incrementally fill from
1583 the main thread. Add a progress api.
1585 * data/evince-properties.glade:
1586 * pdf/ev-poppler.cc:
1587 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1589 * shell/ev-properties.c: (update_progress_label),
1590 (job_fonts_finished_cb), (setup_fonts_view):
1592 Incrementally feel the list and show the progress
1593 percentage in a label like acrobat does.
1595 You are going to need poppler cvs
1597 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1599 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1600 * backend/ev-document-fonts.h:
1601 * pdf/ev-poppler.cc:
1603 Make fonts model fill incrementally.
1605 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1606 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1607 (ev_job_queue_remove_job):
1608 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1609 (ev_job_fonts_new), (ev_job_fonts_run):
1612 New job for fonts scanning
1614 * shell/ev-properties.c: (job_fonts_finished_cb),
1615 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1616 * shell/ev-properties.h:
1617 * shell/ev-window.c: (ev_window_cmd_file_properties):
1619 Incrementally feel the treeview using the new job. Show Loading...
1620 message until scanning is completed.
1622 Hopefully I didnt break the build without the poppler patch.
1624 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1626 * shell/ev-application.c: (ev_application_open):
1627 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1628 (ev_document_type_get_type), (ev_document_type_lookup):
1629 * shell/ev-document-types.h:
1630 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1631 * shell/ev-job-xfer.h:
1632 * shell/ev-window.c: (ev_window_clear_local_uri),
1633 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1634 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1635 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1637 Transfer remote documents to tmp directory to display them later.
1639 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1641 * backend/ev-document-info.h:
1642 * shell/ev-properties.c: (ev_properties_new):
1644 s/GTime*/GTime. Not sure why we was using a pointer
1647 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1649 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1650 situations. That situation is that you're using GTK+-HEAD with
1651 the patch at #306726 is applied, and you have a document with <
1652 1500 pages in it. It's not quite as uniformly nice as the
1653 TreeView, but should be better in the long run.
1655 I'm pretty sure I guarded against breaking compilation with
1656 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1659 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1660 widget yet, so I commented that code out
1661 enable_view_actions_for_widget() for now. Need to figure this
1664 * shell/ev-page-action.c (match_selected_cb): emit the right
1665 signals. Our cool C-l completion now works.
1667 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1669 * backend/Makefile.am:
1670 * backend/ev-document-fonts.c:
1671 * backend/ev-document-links.c:
1672 * backend/ev-document.c: (ev_document_load):
1673 * backend/ev-document.h:
1674 * backend/ev-job-queue.c:
1675 * backend/ev-job-queue.h:
1676 * backend/ev-jobs.c:
1677 * backend/ev-jobs.h:
1678 * backend/ev-page-cache.c:
1679 * backend/ev-page-cache.h:
1681 EvPageCache and EvJobs are moved to shell.
1683 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1685 * lib/ev-file-helpers.h:
1687 New helper to work with temporary files
1689 * shell/Makefile.am:
1690 * shell/ev-application.c: (ev_application_open):
1691 * shell/ev-application.h:
1692 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1693 (remove_job_from_async_queue), (add_job_to_async_queue),
1694 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1695 (handle_job), (search_for_jobs_unlocked),
1696 (no_jobs_available_unlocked), (ev_render_thread),
1697 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1698 (ev_job_queue_add_job), (move_job_async), (move_job),
1699 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1700 * shell/ev-job-queue.h:
1701 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1702 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1703 * shell/ev-job-xfer.h:
1704 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1705 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1706 (ev_job_links_class_init), (ev_job_render_init),
1707 (ev_job_render_dispose), (ev_job_render_class_init),
1708 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1709 (ev_job_thumbnail_class_init), (ev_job_load_init),
1710 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1711 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1712 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1713 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1715 * shell/ev-page-action.c: (ev_page_action_set_document):
1716 * shell/ev-page-cache.c: (ev_page_cache_init),
1717 (ev_page_cache_class_init), (ev_page_cache_finalize),
1718 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1719 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1720 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1721 (ev_page_cache_get_title), (ev_page_cache_get_size),
1722 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1723 (ev_page_cache_get_height_to_page),
1724 (ev_page_cache_get_max_label_chars),
1725 (ev_page_cache_get_page_label),
1726 (ev_page_cache_has_nonnumeric_page_labels),
1727 (ev_page_cache_get_info), (ev_page_cache_next_page),
1728 (ev_page_cache_prev_page), (ev_page_cache_get):
1729 * shell/ev-page-cache.h:
1730 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1731 (ev_pixbuf_cache_clear_job_sizes),
1732 (ev_pixbuf_cache_add_jobs_if_needed),
1733 (ev_pixbuf_cache_set_page_range):
1734 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1735 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1736 * shell/ev-sidebar-thumbnails.c:
1737 (ev_sidebar_tree_selection_changed),
1738 (ev_sidebar_thumbnails_set_document):
1739 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1740 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1741 (ev_statusbar_get_context_id), (ev_statusbar_push),
1742 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1743 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1744 (ev_statusbar_set_progress):
1745 * shell/ev-statusbar.h:
1746 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1747 (ev_view_find_previous):
1748 * shell/ev-window.c: (ev_window_is_empty),
1749 (ev_window_setup_document), (password_dialog_response),
1750 (ev_window_clear_jobs), (ev_window_load_job_cb),
1751 (ev_window_xfer_job_cb), (ev_window_open_uri),
1752 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1753 (ev_window_print), (ev_window_print_range),
1754 (ev_window_state_event), (ev_window_cmd_view_reload),
1755 (menu_item_select_cb), (menu_item_deselect_cb),
1756 (view_status_changed_cb), (ev_window_dispose),
1757 (drag_data_received_cb), (ev_window_init):
1758 * shell/ev-window.h:
1759 * shell/main.c: (load_files):
1761 New statusbar to show progress on idle. Two new jobs -
1762 xfer job and load job to load document in background. And update
1763 of page_cache clients to new location of code.
1765 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1767 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1768 selection in open dialog. It also remembers the last visited directory
1769 in the current session.
1771 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1773 * shell/ev-properties.c: (ev_properties_new):
1774 * shell/ev-properties.h:
1775 * shell/ev-window.c: (ev_window_cmd_file_properties):
1777 Get document info from page cache instead of document itself.
1778 This should fix crash related to race conditions described in
1781 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1783 * ps/ps-document.c: (ps_document_init),
1784 (send_ps), (get_page_box), (output), (catchPipe), (input),
1785 (stop_interpreter), (file_length), (file_readable),
1786 (check_filecompressedb), (ps_document_enable_interpreter),
1787 (document_load), (ps_async_renderer_render_pixbuf):
1790 Big cleanup of the ps code
1792 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1794 * backend/Makefile.am:
1795 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1796 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1797 * backend/ev-async-renderer.h:
1799 Add an async renderer interface (method + callback) which
1800 is useful for backends like ps.
1802 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1803 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1804 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1805 (ev_job_queue_add_job), (move_job_async), (move_job),
1806 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1808 Add queues for async renderer, these are executed on the
1811 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1812 (ev_job_render_run):
1813 * backend/ev-jobs.h:
1815 If the backend support async renderer interface use it.
1817 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1818 (setup_pixmap), (ps_document_get_type),
1819 (ps_async_renderer_render_pixbuf),
1820 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1822 Implement async renderer interface.
1824 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1826 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1828 Cleanup links job on exit.
1830 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1832 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1833 (drag_data_get_cb), (drag_data_received_cb):
1834 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1835 (drag_data_get_cb), (parse_item_list),
1836 (egg_toolbar_editor_load_actions):
1837 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1838 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1839 (parse_item_list), (parse_toolbars):
1840 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1841 (dvi_pixbuf_put_pixel):
1843 Fix gcc 4.0 warnings
1845 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1847 * ps/ps-document.c: (start_interpreter):
1849 Fix warning when loading ps
1851 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1853 * ps/ps-document.c: (output):
1855 Fix crash when priting gs error messages.
1857 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1859 * backend/ev-page-cache.c: (_ev_page_cache_new):
1860 * backend/ev-page-cache.h:
1862 Use a const to return title so that we dont double
1863 free it. Small cleanup and fix a leak.
1865 * shell/ev-window.c: (update_window_title):
1867 strdup value from get_title.
1869 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1871 * shell/ev-sidebar-links.c: (job_finished_callback),
1872 (ev_sidebar_links_set_document):
1874 Cleanup the old job when changing document
1876 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1878 * shell/ev-stock-icons.c:
1879 * shell/ev-stock-icons.h:
1880 * shell/ev-window.c:
1882 Add stock icons for actions that can appear in toolbar. Fix for
1885 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1887 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1888 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1889 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1890 * backend/ev-page-cache.h:
1891 * shell/ev-view.c: (scroll_to_current_page),
1892 (view_update_range_and_current_page), (get_page_y_offset),
1893 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1894 (ev_view_size_request_continuous),
1895 (ev_view_zoom_for_size_continuous_and_dual_page),
1896 (ev_view_zoom_for_size_continuous):
1898 More compact EvView layout in document with pages of different size.
1900 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1902 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1905 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1907 * shell/ev-view.c: (view_set_adjustment_values):
1908 * shell/ev-window.c: (ev_window_cmd_file_properties):
1910 A bit different fix for rounding problem but it has no
1911 problems on startup. Make properties window transient to parent.
1913 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1915 * pdf/ev-poppler.cc:
1917 More commenting of font stuff.
1919 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1921 * pdf/ev-poppler.cc:
1923 Comment out some more fonts stuff. Should really
1924 work without the poppler patch now.
1926 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1928 * pdf/ev-poppler.cc:
1932 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1934 * data/evince-properties.glade:
1935 * pdf/ev-poppler.cc:
1936 * shell/ev-properties.c: (setup_fonts_view):
1938 Set the column title. Show the dialog only
1939 once everything is setup.
1940 Getting font info can be very slow... will
1941 prolly need to make this threaded too.
1943 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1945 * backend/Makefile.am:
1946 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1947 (ev_document_fonts_get_fonts_model):
1948 * backend/ev-document-fonts.h:
1949 * data/evince-properties.glade:
1950 * pdf/ev-poppler.cc:
1951 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1952 * shell/ev-properties.h:
1953 * shell/ev-window.c: (ev_window_cmd_file_properties):
1955 Implement fonts list. Defined out for now, since it depends
1956 on a not yet committed poppler patch.
1958 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1960 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1963 * shell/ev-window.c: Make sure we add the timeout when we get a
1966 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1967 adjustment->value before calculating the zoom factor to average
1968 out all of our rounding errors. The page no longer 'drifts' when
1971 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1973 * data/evince-properties.glade:
1974 * shell/ev-properties.c: (ev_properties_format_date),
1977 Labels don't expand when the dialogue is resized.
1978 strftime result needs to be converted to UTF-8. Thanks
1979 to Christian Persch <chpe@gnome.org>.
1981 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1983 * data/evince-properties.glade:
1987 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1989 * backend/ev-document-info.h:
1990 * backend/ev-document.c: (ev_document_info_free):
1991 * data/evince-properties.glade:
1992 * pdf/ev-poppler.cc:
1993 * ps/ps-document.c: (ps_document_get_info):
1994 * shell/ev-properties.c: (ev_properties_format_date),
1995 (set_property), (ev_properties_new):
1996 * shell/ev-properties.h:
1997 * shell/ev-window.c: (ev_window_cmd_file_properties):
1999 Rework properties code to take only EvPropertyInfo
2000 in the constructor so that it can be useful for
2001 nautilus plugin too.
2003 Deal with backends that doesnt support some properties.
2004 Make set property code generic.
2006 2005-06-04 Christian Persch <chpe@gnome.org>
2008 * data/evince-properties.glade:
2010 fix spacings, make resizeable, and make data labels
2011 selectable + ellipsised
2013 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2015 * backend/ev-document-info.h:
2017 * data/evince-ui.xml:
2018 * pdf/ev-poppler.cc:
2019 * shell/Makefile.am:
2020 * shell/ev-window.c: (update_action_sensitivity),
2021 (ev_window_cmd_file_properties):
2023 Initial go at file properties. Patch by
2024 Emil Soleyman-Zomalan <emil@soleyman.com>.
2025 Needs love see #169583
2027 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2029 * ps/ps-document.c: (output):
2030 * ps/ps.c: (psscan):
2032 Try to render even if psscan fails.
2034 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2036 * ps/ps.c: (psscan), (pscopydoc):
2038 Port buffered reading code from gv
2040 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2042 * ps/ps-document.c: (interpreter_message), (output):
2044 Do not fail on interpreter messages
2046 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2048 * backend/ev-document-misc.c:
2049 (ev_document_misc_get_thumbnail_frame):
2051 Pages can be 0 x 0, dont assert on this case
2053 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2055 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2056 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2058 Correctly manage our reference on document. Finally the reload
2059 huge leak is gone...
2061 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2063 * ps/ps-document.c: (ps_document_dispose):
2065 Forgot to chain it to the parent. Thanks chpe.
2067 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2069 * ps/ps-document.c: (ps_document_dispose),
2070 (ps_document_class_init), (stop_interpreter), (document_load):
2072 Cleanup dispose a bit. Dont leak the whole pixmap.
2074 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2076 * pdf/ev-poppler.cc:
2078 Release the poppler document on dispose
2080 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2082 * shell/ev-view.c: (ev_view_set_document):
2084 Release ref on the pixbuf cache when changing
2087 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2089 * ps/ps-document.c: (ps_document_get_info):
2093 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2095 * backend/ev-page-cache.c: (ev_page_cache_init),
2096 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2097 * backend/ev-page-cache.h:
2098 * shell/ev-page-action.c: (page_changed_cb):
2100 Set page action entry width depending on labels width. Fix
2103 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2105 * backend/ev-link.c: (ev_link_class_init):
2107 Allow -1 as page value (error)
2109 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2111 * shell/ev-sidebar-thumbnails.c:
2112 (ev_sidebar_thumbnails_set_document):
2113 * shell/ev-view.c: (scroll_to_current_page),
2114 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2115 (page_changed_cb), (on_adjustment_value_changed),
2116 (ev_view_set_document):
2118 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2121 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2124 * djvu/djvu-document.c: (djvu_document_get_page_size):
2126 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2129 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2131 * shell/ev-view.c (draw_one_page): modify the expose handling to
2134 * shell/ev-window.c (update_action_sensitivity): Respect
2135 permissions field. Kowtow to the man.
2137 * pdf/ev-poppler.cc: Get the permissions field.
2139 * tiff/*c: Make a tiny bit more robust.
2141 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2143 * djvu/djvu-document.c:
2145 Pop messages from djvu context message queue.
2147 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2149 * configure.ac, Makefile.am, shell/Makefile.am:
2150 * tiff/Makefile.am, shell/ev-document-types.c:
2152 Cleanup tiff configure checks. Fix for bug 305218.
2154 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2156 * configure.ac: Added "uk" to ALL_LINGUAS.
2158 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2160 * cut-n-paste/zoom-control/ephy-zoom.c:
2161 (ephy_zoom_get_changed_zoom_level):
2162 * cut-n-paste/zoom-control/ephy-zoom.h:
2163 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2164 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2165 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2166 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2167 (zoom_control_changed_cb), (ev_window_init):
2169 Fix minor points related to moving best fit up. Introduce
2170 "zoom" property and make zoom control change it's value on
2171 notify::zoom signals. Fix for 305080.
2173 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2175 * data/evince-ui.xml:
2176 * shell/ev-window.c: (set_view_actions_sensitivity):
2178 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2180 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2184 Depends on poppler 0.3.2
2186 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2188 * cut-n-paste/recent-files/egg-recent-item.c:
2189 (egg_recent_item_get_short_name):
2190 * cut-n-paste/toolbar-editor/Makefile.am:
2191 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2192 (new_pixbuf_from_widget):
2193 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2194 * cut-n-paste/toolbar-editor/egg-marshal.c:
2195 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2196 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2200 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2202 * tiff/tiff-document.c: Rough TIFF backend.
2204 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2208 * cut-n-paste/toolbar-editor/Makefile.am:
2212 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2214 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2215 (ev_view_find_next), (ev_view_find_previous):
2217 Remove the locks around get_n_results
2219 2005-05-21 Juerg Billeter <j@bitron.ch>
2221 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2223 Pass correct number of pages to poppler.
2225 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2229 * data/evince.desktop.in:
2230 * data/evince.desktop.in.in:
2233 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2235 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2237 * shell/ev-view.c: (view_update_adjustments),
2238 (view_set_adjustment_values): cast adjustmen->value to (int)
2239 before using it. Otherwise, we get off by a pixel in some
2242 (draw_one_page): Draw the border on expose.
2244 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2246 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2247 adjustment when the mode changes, #304923
2249 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2251 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2252 flickering on resize but still use gdk_window_scroll on
2255 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2257 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2260 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2262 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2263 second page on page_changed if possible, #304669
2265 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2267 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2268 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2270 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2273 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2274 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2275 (ev_view_zoom_for_size_presentation),
2276 (ev_view_zoom_for_size_continuous_and_dual_page),
2277 (ev_view_zoom_for_size_continuous),
2278 (ev_view_zoom_for_size_dual_page),
2279 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2281 * shell/ev-window.c: (update_view_size),
2282 (ev_window_sizing_mode_changed_cb):
2284 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2285 the scrollbars. It's not 100% right, but it's much closer. Kills
2286 an infinite loop, #304769
2289 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2291 * data/evince-ui.xml:
2292 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2293 * shell/ev-window.c: (set_view_actions_sensitivity):
2295 Make PgUp/Down behave like Space
2297 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2299 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2300 * backend/ev-ps-exporter.h:
2301 * pdf/ev-poppler.cc:
2302 * ps/ps-document.c: (ps_document_ps_export_begin):
2303 * shell/ev-print-job.c: (idle_print_handler):
2305 Adapt to new poppler api
2307 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2309 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2310 (ephy_zoom_control_init):
2312 Translate zoom levels
2314 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2316 * cut-n-paste/zoom-control/ephy-zoom.c:
2317 (ephy_zoom_get_zoom_level_index):
2319 Fix current zoom -> zoom control match
2321 2005-05-18 James Bowes <bowes@cs.dal.ca>
2323 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2324 rather than the scrolled_window that it's in. Fixes bug #304655.
2326 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2328 * shell/ev-view.c: (view_update_adjustments),
2329 (view_set_adjustment_values), (view_update_range_and_current_page),
2330 (view_scroll_to_page), (set_scroll_adjustment),
2331 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2332 (ev_view_scroll), (ev_view_scroll_view),
2333 (ensure_rectangle_is_visible), (find_page_at_location),
2334 (get_link_at_location), (go_to_link), (status_message_from_link),
2335 (ev_view_size_request_continuous_dual_page),
2336 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2337 (ev_view_unrealize), (ev_view_expose_event),
2338 (ev_view_button_press_event), (ev_view_motion_notify_event),
2339 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2340 (draw_rubberband), (highlight_find_results), (draw_one_page),
2341 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2342 (ev_view_init), (find_changed_cb), (page_changed_cb),
2343 (on_adjustment_value_changed), (ev_view_new),
2344 (ev_view_set_document), (ev_view_set_zoom),
2345 (ev_view_set_continuous), (ev_view_set_dual_page),
2346 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2347 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2348 (ev_view_zoom_for_size_presentation),
2349 (ev_view_zoom_for_size_continuous_dual_page),
2350 (ev_view_zoom_for_size_continuous),
2351 (ev_view_zoom_for_size_dual_page),
2352 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2353 (ev_view_get_status), (ev_view_set_status),
2354 (update_find_status_message), (ev_view_get_find_status),
2355 (ev_view_set_find_status), (jump_to_find_result),
2356 (jump_to_find_page), (compute_selections), (clear_selection),
2357 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2358 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2359 (ev_view_update_primary_selection),
2360 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2362 * shell/ev-window.c: (ev_window_open_page_label),
2363 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2365 * shell/ev-window.h:
2366 * shell/main.c: (load_files):
2368 Massive code clean up from Nickolay Shmyrev. Keep page offset
2369 when resizing. Remove the bin_window(). Also, patch from James
2370 Bowes to fix command line page, #300641
2372 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2374 * data/evince-ui.xml:
2377 * shell/ev-window.c: (update_action_sensitivity):
2379 Get rid of View->Normal Size, it's just confusing
2381 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2383 * backend/ev-document-info.h:
2384 * backend/ev-document.c: (ev_document_info_free): Free the
2387 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2388 (clear_range), (add_range), (update_visible_range),
2389 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2390 (ev_sidebar_thumbnails_set_document):
2391 * shell/ev-window.c: (ev_window_setup_document): Only render the
2392 visible thumbnails. It takes an instant to render, but it uses
2395 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2397 * shell/ev-sidebar-links.c: (popup_menu_cb):
2401 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2404 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2405 (button_press_cb), (ev_sidebar_links_construct):
2407 Show the popup menu also on keybindings
2409 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2411 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2412 * shell/ev-window.h:
2414 Expose api to print a range (with dialog). Make private _print use
2417 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2418 (ev_sidebar_links_construct):
2420 Show a print context menu on linkx, it prints the selected
2423 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2425 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2428 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2434 * shell/ev-window.c: (build_comments_string),
2435 (ev_window_cmd_help_about):
2437 Show poppler version/backend and authors
2439 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2441 * cut-n-paste/zoom-control/ephy-zoom.c:
2442 (ephy_zoom_get_zoom_level_index):
2443 * cut-n-paste/zoom-control/ephy-zoom.h:
2445 Move the best fit items at the top of the list
2447 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2449 * shell/ev-marshal.list:
2450 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2451 (activate_cb), (match_selected_cb), (activate_link_cb),
2452 (connect_proxy), (ev_page_action_class_init):
2453 * shell/ev-page-action.h:
2455 Use signals to notify action activation. Hopefully
2456 I did not break completion since I cant test...
2458 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2459 (register_custom_actions):
2461 Connect to page selector actions and also grab focus on
2462 the view when activated.
2464 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2466 * pdf/ev-poppler.cc:
2467 * backend/ev-page-cache.c: make page size calculation consistent
2468 and set it to (int)( width * scale + 0.5). This makes the weird
2469 line going through the middle of the page go away.
2471 * shell/ev-view.c: move painting the background page after
2472 checking the expose area covers us.
2474 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2476 * data/evince-password.glade:
2478 Mark labels as not translatable. Fix for bug 302842.
2480 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2482 * configure.ac: Added "es" to ALL_LINGUAS.
2484 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2486 * data/evince-toolbar.xml:
2487 * shell/ev-window.c: (update_action_sensitivity),
2488 (ev_window_setup_document), (ev_window_set_page_mode),
2491 Remove some leftover code from jrb first continous
2492 attempt. Use the new actions, we still need good icons
2495 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2497 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2499 Update label when connecting proxy. Fix a warning with NULL
2502 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2504 * data/evince-ui.xml:
2505 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2506 * shell/ev-page-action.h:
2507 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2509 Add mnemonic for edit toolbar.
2510 ctrl+l focus the page entry.
2512 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2515 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2517 * shell/main.c: (main):
2519 Put the toolbar xml in evince own dot dir
2521 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2523 * shell/ev-window.c: (ev_window_init):
2525 Make the toolbar not removable
2527 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2529 * data/evince-ui.xml:
2530 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2531 * shell/ev-sidebar-links.h:
2532 * shell/ev-sidebar-thumbnails.c:
2533 (ev_sidebar_thumbnails_get_treeview):
2534 * shell/ev-sidebar-thumbnails.h:
2535 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2536 (ev_view_class_init):
2538 * shell/ev-window.c: (update_action_sensitivity),
2539 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2540 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2541 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2544 This is evil... Make space/backspace global accelerators but
2545 enable them only for some widgets (sidebars and view).
2546 I dont like it, but I dont know a better way... :/
2548 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2550 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2551 (ev_page_action_widget_finalize),
2552 (ev_page_action_widget_class_init), (update_page_cache):
2554 Keep a weak reference on proxy->page_cache so that we
2555 dont try to disconnect the signal if the object is already
2556 gone. Maybe there is a better way to cleanup reference handling
2557 in page action though...
2559 2005-05-10 Juerg Billeter <j@bitron.ch>
2561 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2562 * backend/ev-ps-exporter.h:
2563 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2564 * ps/ps-document.c: (ps_document_ps_export_begin):
2566 Change api to pass print range to ps_exporter_begin. The pdf backend
2567 requires this information.
2569 * shell/ev-print-job.c: (idle_print_handler):
2573 2005-05-10 Juerg Billeter <j@bitron.ch>
2575 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2576 (idle_print_handler)
2577 * shell/ev-window.c: (ev_window_print):
2579 Support printing page range, based on patch by Amaury Jacquot
2581 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2583 * data/evince-toolbar.xml:
2585 Add zoom control to available items
2587 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2589 * shell/ev-window.c: (update_action_sensitivity):
2591 Set slash action insensitive when appropriate
2593 2005-05-10 Christian Persch <chpe@gnome.org>
2595 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2597 Fix warning on the overflow menu
2599 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2601 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2603 Check for uri correctness/existence
2605 2005-05-09 Juerg Billeter <j@bitron.ch>
2607 * shell/ev-window.c: (using_postscript_printer):
2609 LPD printers use postscript, too
2611 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2613 * shell/ev-window.c: (register_custom_actions):
2615 The zoom one is actually sort of useful,
2618 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2620 * shell/ev-window.c: (register_custom_actions):
2622 Hide page/zoom controls from overflow, they
2625 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2627 * cut-n-paste/update-from-egg.sh:
2629 Share it between all cut-n-paste subdirs
2631 * cut-n-paste/recent-files/Makefile.am:
2633 Fix to use "global" update-from-egg.sh
2635 * cut-n-paste/recent-files/egg-recent-model.c:
2636 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2637 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2638 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2639 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2643 * cut-n-paste/toolbar-editor/Makefile.am:
2645 Fix to use "global" update-from-egg.sh
2647 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2651 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2654 * cut-n-paste/Makefile.am:
2655 * cut-n-paste/recent-files/Makefile.am:
2656 * cut-n-paste/toolbar-editor/.cvsignore:
2657 * cut-n-paste/toolbar-editor/Makefile.am:
2658 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2659 (egg_editable_toolbar_get_type), (get_toolbar_position),
2660 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2661 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2662 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2663 (set_item_drag_source), (create_item_from_action), (create_item),
2664 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2665 (popup_toolbar_context_menu_cb), (free_dragged_item),
2666 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2667 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2668 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2669 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2670 (item_added_cb), (item_removed_cb),
2671 (egg_editable_toolbar_construct),
2672 (egg_editable_toolbar_disconnect_model),
2673 (egg_editable_toolbar_deconstruct),
2674 (egg_editable_toolbar_set_model),
2675 (egg_editable_toolbar_set_ui_manager),
2676 (egg_editable_toolbar_set_property),
2677 (egg_editable_toolbar_get_property),
2678 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2679 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2680 (egg_editable_toolbar_new_with_model),
2681 (egg_editable_toolbar_get_edit_mode),
2682 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2683 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2684 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2685 (new_pixbuf_from_widget), (new_separator_pixbuf),
2686 (update_separator_image), (style_set_cb),
2687 (_egg_editable_toolbar_new_separator_image),
2688 (egg_editable_toolbar_get_model):
2689 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2690 * cut-n-paste/toolbar-editor/egg-marshal.c:
2691 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2692 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2693 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2694 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2695 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2696 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2697 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2698 (editor_drag_data_delete_cb), (drag_data_get_cb),
2699 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2700 (editor_create_item), (update_editor_sheet), (setup_editor),
2701 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2702 (parse_item_list), (model_has_action), (update_actions_list),
2703 (egg_toolbar_editor_load_actions):
2704 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2705 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2706 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2707 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2708 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2709 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2710 (egg_toolbars_model_add_separator), (impl_add_item),
2711 (parse_item_list), (egg_toolbars_model_add_toolbar),
2712 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2713 (impl_get_item_data), (impl_get_item_type),
2714 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2715 (egg_toolbars_model_init), (free_toolbar),
2716 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2717 (egg_toolbars_model_remove_toolbar),
2718 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2719 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2720 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2721 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2722 (egg_toolbars_model_get_item_data),
2723 (egg_toolbars_model_get_item_type):
2724 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2725 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2727 * data/evince-toolbar.xml:
2728 * data/evince-ui.xml:
2729 * data/hand-open.png:
2731 * shell/Makefile.am:
2732 * shell/ev-window.c: (update_chrome_visibility),
2733 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2734 (ev_window_dispose), (ev_window_init):
2736 Implement epiphany like toolbar editor. Based on patch by
2737 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2739 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2741 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2743 Use set_cursor instead of set_selection, so that
2744 the keyboard focus moves too.
2746 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2748 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2750 Fix infinite loop when loading Type1 fonts
2752 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2754 * data/evince-ui.xml:
2755 * shell/ev-window.c:
2759 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2763 Make --disable really disable
2765 2005-05-07 Juerg Billeter <j@bitron.ch>
2767 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2769 Compare page labels even without has_labels set, fixes setting page
2772 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2774 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2775 (ev_view_set_cursor), (ev_view_button_press_event),
2776 (ev_view_motion_notify_event), (ev_view_button_release_event),
2779 Implement middle button scrolling. Based on a patch
2780 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2782 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2784 * shell/ev-document-types.c: (get_slow_mime_type),
2785 (get_document_type_from_mime), (ev_document_type_lookup):
2786 * shell/ev-document-types.h:
2788 Change api to lookup from uri. Do fast lookup first, if the
2789 type is unknown try with data sniffing.
2791 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2792 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2796 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2798 * thumbnailer/Makefile.am:
2802 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2809 * data/evince-ui.xml:
2811 Hide presentation mode for now
2813 * shell/ev-view.c: (highlight_find_results):
2815 Show current find selection only on current page
2817 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2819 * shell/ev-view.c: (ev_view_select_all):
2821 Compute size of the actual page, not of
2824 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2826 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2827 (view_rect_to_doc_rect), (compute_selections),
2828 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2829 (ev_view_copy), (ev_view_primary_get_cb),
2830 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2831 (ev_view_button_press_event), (ev_view_motion_notify_event),
2832 (ev_view_button_release_event), (page_changed_cb):
2836 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2838 * shell/ev-view.c: (compute_border), (get_page_extents),
2839 (doc_rect_to_view_rect), (highlight_find_results),
2840 (ev_view_bin_expose), (ev_view_select_all),
2841 (ev_view_motion_notify_event), (update_find_status_message),
2842 (jump_to_find_result), (jump_to_find_page):
2844 First go at fixing search, still buggy
2846 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2848 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2849 dropdown box and button at the top of the sidebar.
2851 2005-05-02 James Bowes <bowes@cs.dal.ca>
2853 * configure.ac: Output zoom-control Makefile.
2854 * cut-n-paste/Makefile.am: build zoom-control subdir.
2855 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2856 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2857 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2858 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2859 * cut-n-paste/zoom-control/ephy-zoom.c:
2860 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2861 from epiphany, and modified to add a separator into the menu.
2862 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2863 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2864 zoom-control action.
2865 * shell/Makefile.am: Include zoom-control flags.
2866 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2867 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2868 (ev_view_zoom_for_size_presentation),
2869 (ev_view_zoom_for_size_continuous_and_dual_page),
2870 (ev_view_zoom_for_size_continuous),
2871 (ev_view_zoom_for_size_dual_page),
2872 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2873 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2874 ev_view_get_zoom and ev_view_get_sizing_mode.
2876 * shell/ev-window.c: (update_action_sensitivity),
2877 (update_sizing_buttons), (zoom_control_changed_cb),
2878 (register_custom_actions): Initialize and use the zoom-control
2881 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2883 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2884 preview cache back to 1. Don't know when it got set to 0.
2886 * shell/ev-view.c: (compute_border), (ev_view_realize),
2887 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2888 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2889 (ev_view_get_fullscreen), (ev_view_set_presentation),
2890 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2891 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2893 * shell/ev-window.c:
2894 (update_chrome_visibility),
2895 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2896 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2897 (update_document_mode), (ev_window_update_fullscreen_action),
2898 (ev_window_fullscreen), (ev_window_unfullscreen),
2899 (ev_window_cmd_view_fullscreen),
2900 (ev_window_update_presentation_action),
2901 (ev_window_run_presentation), (ev_window_stop_presentation),
2902 (ev_window_cmd_view_presentation), (ev_window_state_event),
2903 (ev_window_focus_in_event), (ev_window_focus_out_event),
2904 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2905 * data/evince-ui.xml: Initial presentation mode. We should
2906 probably hide this until it's done, as it's quite rough. Also,
2907 change full-screen to fullscreen and add two getters to EvView.
2909 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2911 * shell/ev-page-action.c: (update_page_cache),
2912 (ev_page_action_dispose):
2913 * shell/ev-window.c: (destroy_fullscreen_popup),
2914 (ev_window_create_fullscreen_popup):
2916 Use connect_object rather than explicitly
2917 disconnect on dispose.
2919 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2921 * shell/ev-page-action.c: (update_page_cache),
2922 (ev_page_action_dispose):
2924 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2926 * backend/ev-page-cache.c: (_ev_page_cache_new),
2927 (ev_page_cache_set_page_label),
2928 (ev_page_cache_has_nonnumeric_page_labels):
2929 * backend/ev-page-cache.h:
2930 * shell/ev-page-action.c: (update_pages_label):
2932 If all page labels are numeric, fallback to default
2933 way to display number of pages. See bug 173185.
2935 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2937 * shell/ev-page-action.c: (ev_page_action_dispose):
2938 * shell/ev-view.c: (view_update_range_and_current_page):
2939 * shell/ev-window.c: (ev_window_dispose):
2941 Set page on scroll in continuous mode. Fixes bug 301986.
2942 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2944 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2948 Require poppler 0.3.0
2950 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2952 * shell/Makefile.am, configure.ac: Fix build problems
2953 with t1lib. Bug 301996.
2955 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2957 * shell/ev-view.c: (ev_view_scroll_event):
2959 Scroll up increase zoom
2961 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2963 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2964 (ev_view_set_sizing_mode),
2965 (ev_view_zoom_for_size_continuous_and_dual_page),
2966 (ev_view_zoom_for_size_continuous):
2967 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2968 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2969 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2972 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2973 Fix for 165473 and 165472.
2975 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2978 * thumbnailer/Makefile.am:
2979 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2980 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2981 * thumbnailer/evince-thumbnailer.schemas.in:
2983 Make thumbnailer schemas translatable. Fix for bug 301773
2985 * thumbnailer/evince-thumbnailer-djvu.schemas:
2986 * thumbnailer/evince-thumbnailer-dvi.schemas:
2987 * thumbnailer/evince-thumbnailer.schemas:
2991 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2993 * shell/ev-view.c (ev_view_init): forgot to set this.
2995 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2997 * shell/ev-view.c: (find_page_at_location),
2998 (get_link_at_location),
2999 (ev_view_set_show_border), (ev_view_set_spacing),
3000 (ev_view_zoom_for_size_continuous_and_dual_page),
3001 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3002 Also, add a quick fix measuring of widths. Also, removed
3003 ev_view_set_spacing and ev_view_set_show_border.
3005 * shell/ev-window.c: (ev_window_unfullscreen),
3006 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3008 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3010 * shell/ev-view.c: (view_update_range_and_current_page),
3013 Fix crash on exit and scrolling to page in continuous view.
3015 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3018 * backend/ev-page-cache.c: (_ev_page_cache_new),
3019 (ev_page_cache_get_max_width_size),
3020 (ev_page_cache_get_max_height_size):
3021 * backend/ev-page-cache.h:
3022 * data/evince-ui.xml:
3023 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3024 * shell/ev-view.c: (view_update_adjustments),
3025 (view_update_range_and_current_page), (get_bounding_box_size),
3026 (ev_view_size_request_continuous_and_dual_page),
3027 (ev_view_size_request_continuous),
3028 (ev_view_size_request_dual_page),
3029 (ev_view_size_request_single_page), (ev_view_size_request),
3030 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3031 (ev_view_bin_expose), (ev_view_expose_event),
3032 (ev_view_set_property), (ev_view_get_property),
3033 (ev_view_class_init), (ev_view_init), (ev_view_new),
3034 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3035 (ev_view_set_dual_page), (ev_view_set_full_screen),
3036 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3037 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3038 (ev_view_zoom_out), (zoom_for_size_fit_width),
3039 (zoom_for_size_best_fit),
3040 (ev_view_zoom_for_size_continuous_and_dual_page),
3041 (ev_view_zoom_for_size_continuous),
3042 (ev_view_zoom_for_size_dual_page),
3043 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3044 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3046 * shell/ev-window.c: (update_action_sensitivity),
3047 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3048 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3049 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3050 (ev_window_cmd_view_zoom_out), (update_view_size),
3051 (ev_window_set_sizing_mode), (ev_window_init):
3053 Add Continuous and Dual page modes.
3055 2005-04-23 James Bowes <bowes@cs.dal.ca>
3057 * dvi/dvi-document.c: (dvi_document_load),
3058 (dvi_document_thumbnails_get_thumbnail),
3059 (dvi_document_init_params): Fix up some mixups between
3060 width and height to correct thumbnail rendering.
3062 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3064 * dvi/mdvi-lib/private.h:
3065 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3067 Suppess output for kpathsea during font generation. Thanks to
3070 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3077 * Makefile.am: fix distcheck.
3079 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3081 * shell/ev-sidebar-links.c: (selection_changed_callback),
3082 (update_page_callback), (row_activated_callback),
3083 (job_finished_callback), (ev_sidebar_links_set_document):
3085 Fix for bug #169901. Double click on links expands tree.
3087 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3089 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3090 hard-coded style. Fix for bug 170111
3092 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3094 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3097 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3099 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3101 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3103 * pdf/ev-poppler.cc:
3104 * shell/ev-view.c: (highlight_find_results):
3106 Fix find on single page documents
3108 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3110 * data/evince.schemas.in: fix for bug 301390
3112 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3114 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3115 (ev_view_zoom_out), (ev_view_zoom_normal):
3117 * shell/ev-window.c: (update_action_sensitivity),
3118 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3119 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3120 (ev_window_cmd_view_normal_size):
3122 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3123 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3126 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3130 Depend on 2.57, 2.59 doesnt seem to be necessary
3132 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3134 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3137 Put back total number of pages as (1 of 1234)
3139 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3141 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3144 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3145 function. This helps debugging.
3147 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3149 * djvu/djvu-document.c: (djvu_document_class_init),
3150 (djvu_document_get_info), (djvu_document_document_iface_init):
3151 * dvi/dvi-document.c: (dvi_document_class_init),
3152 (dvi_document_get_info), (dvi_document_document_iface_init):
3154 Dummy implementation of get_info method for dvi and djvu. Fix
3155 crashes with those backends
3157 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3159 * data/evince.desktop.in:
3161 Add application/x-gzpostscript
3163 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3165 * data/evince.schemas.in: Added real long descriptions,
3168 * README: Added actual text, closes bug 171869
3170 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3172 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3176 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3178 * backend/ev-document-info.h:
3180 s/GDate */GDate so we can just use g_free
3182 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3184 * shell/ev-window.c: (update_document_mode),
3185 (ev_window_setup_document):
3187 Show the window in fullscreen when specified by
3190 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3192 * backend/ev-document.c: (ev_document_class_init),
3193 (ev_document_get_info), (ev_document_render_pixbuf):
3194 * backend/ev-document.h:
3195 * backend/ev-page-cache.c: (_ev_page_cache_new):
3196 * pdf/ev-poppler.cc:
3197 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3198 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3199 * ps/ps-document.c: (ps_document_class_init), (document_load),
3200 (ps_document_get_info), (ps_document_document_iface_init):
3202 Remove get_title from the interface, we can just use document info
3204 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3206 * backend/Makefile.am:
3207 * backend/ev-document.c: (ev_document_render_get_info):
3208 * backend/ev-document.h:
3209 * pdf/ev-poppler.cc:
3211 Initial support for document info. Based on jrb patch.
3213 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3215 * shell/ev-window.c: (ev_window_state_event),
3216 (ev_window_class_init), (ev_window_init):
3218 Doesn't show resize grip when maximized. See bug #301053
3220 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3224 ev-sidebar-thumbnails now has translatable labels
3226 * shell/Makefile.am:
3227 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3228 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3229 (ev_sidebar_links_page_iface_init):
3230 * shell/ev-sidebar-links.h:
3231 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3232 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3233 (ev_sidebar_page_get_label):
3234 * shell/ev-sidebar-page.h:
3235 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3236 (ev_sidebar_thumbnails_set_document),
3237 (ev_sidebar_thumbnails_support_document),
3238 (ev_sidebar_thumbnails_get_label),
3239 (ev_sidebar_thumbnails_page_iface_init):
3240 * shell/ev-sidebar-thumbnails.h:
3241 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3242 (ev_sidebar_set_document):
3243 * shell/ev-sidebar.h:
3244 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3246 Small rework of sidebar code. Now sidebar pages should implement
3247 EvSidebarPage interface. That makes page management in EvSidebar
3248 easier. See bug #164811 for details
3250 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3252 * shell/ev-application.c: (ev_application_open):
3253 * shell/ev-document-types.c:
3255 Fix build error and small problem with application exit
3257 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3259 * thumbnailer/Makefile.am:
3260 * thumbnailer/evince-thumbnailer-djvu.schemas:
3261 * thumbnailer/evince-thumbnailer-dvi.schemas:
3263 Conditionally install schemas for djvu/dvi thumbnailer
3265 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3267 * shell/ev-document-types.h:
3268 * shell/ev-document-types.c:
3269 New files, handling the mapping from mimetypes to backends
3271 * shell/ev-window.c:
3272 * thumbnailer/evince-thumbnailer.c:
3273 Use the ev-document-types code
3275 * shell/Makefile.am:
3276 Added new convenience library libevbackendfactory_la, containing
3277 the new mimetype->backend logic; moved the backends into it.
3279 * thumbnailer/Makefile.am:
3280 Make the thumbnailer link with the libevbackend.la convenience
3281 library, rather than having a duplicate of the backend logic here.
3283 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3285 * shell/ev-stock-icons.c: constify some vars.
3286 * shell/ev-window.c: ditto.
3288 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3290 * ps/ps-document.c (get_page_orientation):
3292 Respect document orientation
3294 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3298 * shell/Makefile.am:
3300 Move library dependencies to components.
3302 * shell/ev-window.c: (update_window_title),
3303 (start_loading_document):
3305 Fix display of uris with spaces. Bug 168358.
3307 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3309 * shell/ev-sidebar-links.c: (selection_changed_cb):
3310 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3311 (ev_view_button_release_event), (ev_view_set_document):
3313 * shell/ev-window.c: (find_bar_search_changed_cb):
3314 * shell/ev-window.h: Minor cleanups removing some dead code.
3316 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3318 * backend/ev-page-cache.c: (_ev_page_cache_new):
3320 Set current page to 0 if document has pages.
3322 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3324 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3326 Initialize GError to NULL, fix a crash when loading fails.
3328 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3330 * shell/ev-window.c: (update_view_size):
3332 Calculate shadow size only when there is actually
3335 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3337 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3340 Allow setting view spacing, default to 0
3342 * shell/ev-window.c: (ev_window_unfullscreen),
3343 (ev_window_cmd_view_fullscreen), (ev_window_init):
3345 Remove spacing in fullscreen mode
3347 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3349 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3350 (ev_view_size_request), (expose_bin_window),
3351 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3353 * shell/ev-window.c: (ev_window_unfullscreen),
3354 (ev_window_cmd_view_fullscreen):
3356 Do not draw the border in fulscreen
3358 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3360 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3361 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3362 (find_page_at_location), (page_changed_cb):
3364 Rework border calculation, so that I can more easily disable it.
3365 Code somewhat cleaner too.
3367 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3369 * backend/ev-page-cache.c: (ev_page_cache_init),
3370 (_ev_page_cache_new):
3372 Remove some assertions, documents can have 0 pages.
3373 Make initial current page -1.
3375 * shell/ev-page-action.c: (page_changed_cb):
3377 Show "" if current page is -1
3379 * shell/ev-window.c: (update_action_sensitivity),
3380 (ev_window_setup_document):
3382 When document has 0 pages do not set the view
3383 and make nearly everything insensitive.
3385 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3387 * shell/ev-page-view.c:
3388 * shell/ev-page-view.h:
3390 Remove unused files.
3392 * shell/ev-sidebar-thumbnails.c:
3393 (ev_sidebar_thumbnails_set_document):
3394 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3395 (ev_sidebar_supports_document):
3396 * shell/ev-sidebar.h:
3397 * shell/ev-window.c: (ev_window_setup_document):
3399 Doesn't show thumbnails if document has 1 page. Make
3400 sidebar menu entries sensitive only if if they have
3401 sense. Fix bug 164811.
3403 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3405 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3406 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3407 (ev_view_zoom_out), (ev_view_set_size):
3409 Rework sizing to deal with documents with not uniform page
3412 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3414 * backend/ev-page-cache.c: (_ev_page_cache_new):
3416 Fix several page size caching bugs
3418 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3420 * shell/ev-window.c: (set_action_properties):
3422 Make all toolbar items translatable
3424 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3426 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3427 (save_page_list), (ps_document_save),
3428 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3429 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3430 (ps_document_ps_exporter_iface_init):
3433 Based on a patch by J�rg Billeter <j@bitron.ch>
3435 Implement print and save a copy for the ps backend.
3437 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3439 * backend/ev-document.h:
3440 * djvu/djvu-document.c: (djvu_document_can_get_text),
3441 (djvu_document_document_iface_init):
3442 * dvi/dvi-document.c: (dvi_document_can_get_text),
3443 (dvi_document_document_iface_init):
3444 * pdf/ev-poppler.cc:
3445 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3446 (pixbuf_document_document_iface_init):
3447 * ps/ps-document.c: (ps_document_can_get_text),
3448 (ps_document_document_iface_init):
3449 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3450 * shell/ev-window.c: (update_action_sensitivity):
3452 Fix the crash when trying to copy in backends that doesnt
3453 support it. We can implement a better solution once we
3454 do real text selection.
3456 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3458 * data/evince-ui.xml:
3459 * shell/ev-window.c: (ev_window_cmd_escape):
3461 Work around the Escape conflict (find bar and unfullscreen)
3463 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3465 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3467 Fix for #300233. Next page correctly handles document end.
3469 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3470 (ev_sidebar_thumbnails_class_init),
3471 (ev_sidebar_thumbnails_set_document),
3472 (ev_sidebar_thumbnails_clear_job),
3473 (ev_sidebar_thumbnails_clear_model):
3475 Cleanup thumbnail jobs on document changes.
3477 * shell/ev-view.c: (add_scroll_binding_keypad),
3478 (add_scroll_binding_shifted), (ev_view_class_init):
3480 Shift + Space scrolls up. Fix for #173184
3482 * shell/ev-window.c: (ev_window_open_page),
3483 (ev_window_cmd_view_reload):
3485 Fix reload (Bug #300094)
3487 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3490 * dvi/mdvi-lib/assoc.c:
3491 * dvi/mdvi-lib/assoc.h: Removed garbage files
3493 * dvi/mdvi-lib/bitmap.c:
3494 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3495 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3496 * dvi/mdvi-lib/color.h: Antialias of rules
3498 * dvi/mdvi-lib/common.h:
3499 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3500 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3501 * dvi/mdvi-lib/files.c:
3502 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3503 * dvi/mdvi-lib/mdvi.h:
3504 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3505 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3506 * dvi/mdvi-lib/util.c: Fix compile warnings
3508 * dvi/dvi-document.c:
3509 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3510 (dvi_document_thumbnails_get_thumbnail),
3511 (dvi_document_document_thumbnails_iface_init):
3512 * dvi/mdvi-lib/Makefile.am:
3513 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3514 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3516 Dvi backend now renders thumbnails
3518 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3520 * shell/main.c: (main):
3522 Save accelerators on exit. Fixes bug #172095.
3524 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3526 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3527 update priority" comment.
3529 * backend/ev-job-queue.c: Give a way to change priority.
3531 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3533 * shell/ev-page-action.c: Fix logic.
3535 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3537 * shell/ev-view.c: (ev_view_can_find_next):
3538 * shell/ev-window.c: (ev_window_setup_document):
3540 Check that the document supports find
3542 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3544 * data/evince-ui.xml:
3545 * shell/ev-view.c: (ev_view_can_find_next):
3547 * shell/ev-window.c: (update_action_sensitivity),
3548 (find_changed_cb), (ev_window_setup_document),
3549 (ev_window_cmd_edit_find_next):
3553 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3555 * pdf/ev-poppler.cc:
3556 * shell/ev-print-job.c: (idle_print_handler):
3558 Make printing work again
3560 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3562 * shell/ev-page-action.h:
3563 * shell/ev-page-action.c: (ev_page_action_widget_init),
3564 (ev_page_action_widget_class_init), (page_changed_cb),
3565 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3566 (get_filter_model_from_model), (match_selected_cb),
3567 (display_completion_text), (match_completion), (update_model),
3568 (connect_proxy), (ev_page_action_set_property),
3569 (ev_page_action_get_property), (ev_page_action_set_document),
3570 (ev_page_action_set_model), (ev_page_action_class_init): Big
3571 reworking to make completions work iff we have >= GTK-2.7.0
3573 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3574 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3575 (job_finished_cb): We now have a 'model' property that is set when
3576 the links are loaded. This can be caught with "notify::model"
3578 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3579 listen for the model to be set, and propagate it to the action.
3581 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3583 * cut-n-paste/recent-files/egg-recent-item.c:
3584 (egg_recent_item_set_uri), (make_valid_utf8),
3585 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3586 * cut-n-paste/recent-files/egg-recent-item.h:
3588 Update egg-recent from libegg. This should fix long
3589 startup problem. For details see
3590 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3592 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3594 * cut-n-paste/recent-files/Makefile.am:
3595 * data/evince-ui.xml, shell/Makefile.am:
3596 * shell/ev-application.c, shell/ev-application.h:
3597 * shell/ev-window.c: Recent files support.
3599 * configure.ac: Added "ru" to ALL_LINGUAS.
3601 * dvju: new backend to support DJVU files.
3602 * dvi: new backend to support DVI.
3604 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3605 * ev-application.c: Support for new backends.
3607 * help, ev-window.c, main.c shell/Makefile.am:
3608 Evince user documentation.
3610 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3613 * shell/ev-window.c:
3614 * thumbnailer/evince-thumbnailer.c:
3616 s/pdf-document/ev-poppler
3618 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3625 * ps/ps-document.c: (setup_pixmap):
3629 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3631 * backend/ev-page-cache.c (ev_page_cache_next_page):
3632 * shell/ev-window.c (ev_window_cmd_go_next_page)
3633 (ev_window_cmd_go_first_page): Fix of by one errors.
3635 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3637 * ps/ps-document.c: (get_page_box):
3639 Fix page size calculation
3641 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3643 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3644 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3645 (get_page_orientation), (setup_page), (document_load),
3646 (ps_document_get_page_size), (render_pixbuf_idle):
3649 More refactoring to adapt to EvDocument changes
3651 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3653 * ps/ps-document.c: (start_interpreter):
3655 Actually add alpha args
3657 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3659 * pdf/ev-poppler.cc:
3661 Make clipboard work again
3663 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3665 Make searching work again.
3667 * backend/ev-document.c:
3668 * backend/ev-document.h:
3669 * backend/ev-document-find.c:
3670 * backend/ev-document-find.h: Change EvDocumentIface so we no
3671 longer store the current page or zoom level in the document. The
3672 consequence is that all calls that operate on the current page now
3673 instead take the page number as an extra argument, and all
3674 coordinates are now doubles in document coordinate system.
3676 * pdf/ev-poppler.cc:
3677 * pixbuf/pixbuf-document.c:
3678 * ps/ps-document.c: Update backends accordingly.
3680 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3684 Add required gettext version
3686 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3688 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3689 make F1 bring up non-existent help.
3691 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3692 epiphany's find bar, #167477
3694 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3695 <emil@nishra.com> to add space-bar scrolling,
3697 * shell/ev-window.c (static GtkActionEntry entries): add default
3698 keybinding for Help (F1)
3701 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3702 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3705 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3708 * pixbuf/pixbuf-document.c:
3710 Got pixbuf backend working again
3712 2005-04-01 Steve Murphy <murf@e-tools.com>
3714 * configure.in: Added "rw" to ALL_LINGUAS.
3716 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3718 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3719 model types, noticed by Martin Kretzschmar.
3721 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3723 * pdf/ev-poppler.cc: Implement search based on
3724 poppler_page_find_text(). Currently a bit crude since we remember
3725 all matches from all pages. Also, we grab the big document lock
3726 when we search since searching changes the underlying stream and
3727 thus conflicts with the rendering thread.
3729 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3730 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3731 (ev_view_find_previous): Fix some page indexes to be 0 based,
3732 offset rubber band by view offset,
3734 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3736 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3738 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3740 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3741 completely because I didn't understand GtkActions. I should
3742 read Marco's code more carefully in the future.
3744 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3747 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3749 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3750 PopplerRectangle change from poppler CVS.
3752 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3754 * backend/ev-document.c: (ev_document_get_page_label):
3755 * backend/ev-document.h:
3756 * backend/ev-page-cache.c: (_ev_page_cache_new),
3757 (ev_page_cache_get_page_label):
3758 * backend/ev-page-cache.h:
3759 * pdf/ev-poppler.cc:
3760 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3761 (links_page_num_func):
3762 * shell/ev-sidebar-thumbnails.c:
3763 (ev_sidebar_thumbnails_set_document):
3764 * shell/ev-view.c: (status_message_from_link),
3765 (ev_view_motion_notify_event):
3766 * shell/ev-window.c: (document_supports_sidebar): Add in page
3767 label support. It's not perfect yet, but it's the first 'feature'
3769 Also, fix a bogus comment noticed by crispin.
3771 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3773 * Makefile.am: Remove pixbuf backend for now
3775 * configure.ac: Require poppler-glib instead of just poppler.
3777 * backend/ev-document-thumbnails.h: Add a comment
3779 * backend/ev-document.h:
3780 * backend/ev-document.c: (ev_document_class_init),
3781 (ev_document_load), (ev_document_get_link),
3782 (ev_document_get_links): Remove 3 methods and add get_links.
3785 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3786 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3788 * backend/ev-link.c: (ev_link_set_title),
3789 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3790 (ev_link_mapping_find):
3791 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3793 * backend/ev-page-cache.c: (ev_page_cache_init),
3794 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3795 (ev_page_cache_get_size), (ev_page_cache_next_page),
3796 (ev_page_cache_prev_page): Fix to be 0 based.
3800 * pdf/ev-poppler.cc: New backend.
3802 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3803 (ps_document_get_page), (ps_document_document_iface_init):
3805 * shell/ev-pixbuf-cache.h:
3806 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3807 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3808 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3809 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3810 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3811 Fix up code to grab a page cache per each doc. Also, fix to be 0
3814 * shell/ev-sidebar-thumbnails.c:
3815 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3816 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3818 * shell/ev-view.c: (status_message_from_link),
3819 (find_page_at_location), (get_link_at_location),
3820 (ev_view_motion_notify_event), (ev_view_button_release_event),
3821 (ev_view_init): Use the new link code. Fix to be 0 based.
3823 * shell/ev-window.c: (update_action_sensitivity),
3824 (document_supports_sidebar): 0 based.
3826 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3828 * pdf/pdf-document.cc: Patch from Fernando Herrera
3829 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3832 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3834 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3835 1 to the page, as this seems to be 1 based. I thought we has this
3838 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3841 * backend/Makefile.am:
3842 * backend/ev-document-links.c:
3843 (ev_document_links_has_document_links),
3844 (ev_document_links_get_links_model):
3845 * backend/ev-document-links.h:
3846 * backend/ev-document.c: (ev_document_get_page_cache),
3847 (ev_document_get_doc_mutex), (ev_document_load),
3848 (ev_document_save), (ev_document_get_title),
3849 (ev_document_get_n_pages), (ev_document_set_page),
3850 (ev_document_get_page), (ev_document_set_target),
3851 (ev_document_set_scale), (ev_document_set_page_offset),
3852 (ev_document_get_page_size), (ev_document_get_text),
3853 (ev_document_get_link), (ev_document_render),
3854 (ev_document_render_pixbuf), (ev_document_scale_changed):
3855 * backend/ev-document.h:
3856 * backend/ev-job-queue.c: (remove_object_from_queue),
3857 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3858 (no_jobs_available_unlocked), (ev_render_thread),
3859 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3860 (ev_job_queue_remove_job):
3861 * backend/ev-job-queue.h:
3862 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3863 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3864 (ev_job_links_class_init), (ev_job_render_init),
3865 (ev_job_render_dispose), (ev_job_render_class_init),
3866 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3867 (ev_job_thumbnail_class_init), (ev_job_finished),
3868 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3869 (ev_job_render_run), (ev_job_thumbnail_new),
3870 (ev_job_thumbnail_run):
3871 * backend/ev-jobs.h:
3872 * backend/ev-link.c:
3873 * backend/ev-link.h:
3874 * backend/ev-page-cache.c: (ev_page_cache_init),
3875 (ev_page_cache_class_init), (ev_page_cache_finalize),
3876 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3877 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3878 (ev_page_cache_set_link), (ev_page_cache_get_title),
3879 (ev_page_cache_get_size), (ev_page_cache_next_page),
3880 (ev_page_cache_prev_page):
3881 * backend/ev-page-cache.h:
3882 * pdf/pdf-document.cc:
3885 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3886 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3887 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3888 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3889 (is_interpreter_ready), (output), (catchPipe), (input),
3890 (start_interpreter), (check_filecompressed), (compute_dimensions),
3891 (ps_document_enable_interpreter), (document_load),
3892 (ps_document_next_page), (render_page), (ps_document_set_page),
3893 (ps_document_set_scale), (render_pixbuf_idle),
3894 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3896 * shell/Makefile.am:
3897 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3898 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3899 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3900 (ev_pixbuf_cache_new), (job_finished_cb),
3901 (check_job_size_and_unref), (move_one_job),
3902 (ev_pixbuf_cache_update_range), (find_job_cache),
3903 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3904 (ev_pixbuf_cache_add_jobs_if_needed),
3905 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3906 * shell/ev-pixbuf-cache.h:
3907 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3908 (idle_print_handler):
3909 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3910 (selection_changed_cb), (create_loading_model),
3911 (ev_sidebar_links_construct), (links_page_num_func),
3912 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3913 (update_page_callback), (job_finished_cb),
3914 (ev_sidebar_links_set_document):
3915 * shell/ev-sidebar-thumbnails.c:
3916 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3917 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3918 (page_changed_cb), (thumbnail_job_completed_callback),
3919 (ev_sidebar_thumbnails_set_document):
3920 * shell/ev-sidebar-thumbnails.h:
3921 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3922 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3923 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3924 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3925 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3926 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3927 (ev_view_button_release_event), (ev_view_scroll_view),
3928 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3929 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3930 (ev_view_new), (job_finished_cb), (page_changed_cb),
3931 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3932 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3933 (ev_view_find_previous):
3935 * shell/ev-window.c: (update_action_sensitivity),
3936 (ev_window_open_page), (update_window_title), (update_total_pages),
3937 (page_changed_cb), (ev_window_setup_document),
3938 (password_dialog_response), (ev_window_cmd_save_as),
3939 (ev_window_print), (ev_window_cmd_go_previous_page),
3940 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3941 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3942 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3943 * shell/main.c: (main):
3945 Merge evince-threads branch
3947 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3949 * configure.ac: Added "lt" to ALL_LINGUAS.
3951 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3958 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3960 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3962 Fix here also the thumbnails 1-basedness :)
3964 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3971 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3973 * pdf/pdf-document.cc:
3974 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3975 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3977 Fix the mess we did with thumbnails and 1-basedness
3979 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3981 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3983 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3990 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3993 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3994 (gtk_gs_defaults_get_alpha_parameters),
3995 (gtk_gs_defaults_get_ungzip_cmd),
3996 (gtk_gs_defaults_get_unbzip2_cmd):
3998 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3999 (ps_document_get_orientation), (document_load),
4000 (ps_document_goto_page), (ps_document_set_page_size):
4003 Some more sanitization of the ps backend. Remove a lot
4004 of unused code and do not base our defaults on ggv
4007 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4009 * thumbnailer/evince-thumbnailer.schemas:
4010 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4011 (main): add -s option for thumbnail size.
4013 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4017 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4020 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4022 * pdf/pdf-document.cc:
4024 Remove 4 pixels of useless border from the
4027 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4029 * backend/ev-document-thumbnails.c:
4030 (ev_document_thumbnails_get_thumbnail):
4031 * backend/ev-document-thumbnails.h:
4033 Rework API a bit. Add a border flag and
4034 change sizing logic (now the size we specify
4035 applies to the bigger dimension).
4037 * pdf/pdf-document.cc:
4038 * pixbuf/pixbuf-document.c:
4039 (pixbuf_document_thumbnails_get_thumbnail):
4040 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4041 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4043 Adapt to the new API and do not draw a border for nautilus
4046 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4048 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4049 take thumbnails from page "0" instead of "1". Added a copyright header.
4051 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4053 * ps/ps-document.c: (set_up_page), (start_interpreter):
4055 Make it C89 compliant
4057 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4062 * pdf/pdf-document.cc:
4063 * thumbnailer/Makefile.am:
4064 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4066 * thumbnailer/evince-thumbnailer.schemas:
4067 * thumbnailer/pdf-icon.png:
4069 Add a nautilus thumbnailer.
4070 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4072 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4080 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4082 Use poppler instead of including xpdf source code. Poppler is a
4083 fork of xpdf to build it as a shared library. See
4084 http://freedesktop.org/wiki/Software/poppler.
4086 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4089 * pdf/Makefile.am: Build libpdfdocument.a here.
4091 * pdf/GDKSplashOutputDev.cc:
4092 * pdf/GDKSplashOutputDev.h:
4093 * pdf/GnomeVFSStream.cc:
4094 * pdf/GnomeVFSStream.h:
4097 * test-gdk-output-dev.cc
4099 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4102 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4104 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4106 Clear idle stack before unsetting the document
4108 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4110 * ps/ps-document.c: (ps_document_widget_event),
4111 (ps_document_set_target), (ps_document_finalize),
4112 (ps_document_get_page):
4114 Disconnect the widget event signal on finalize.
4117 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4119 * ps/ps-document.c: (set_up_page):
4121 If there is no bpixmap create one, even if size
4124 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4126 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4127 (set_up_page), (document_load), (ps_document_set_zoom):
4129 Default page is 0. Calculate size even when we have no
4132 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4134 * shell/ev-sidebar.c: expand the selection widget to be always as
4137 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4139 * shell/ev-sidebar-thumbnails.c:
4140 (ev_sidebar_thumbnails_set_document):
4142 Clear the list store when setting document
4144 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4146 * shell/ev-page-action.c: (update_entry), (sync_entry),
4147 (activate_cb), (entry_size_request_cb), (create_tool_item),
4150 Use an entry for the page control instead of spinbuttons
4152 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4154 * data/evince.schemas.in:
4156 Correct confusing string
4158 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4160 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4161 for real. Gosh, how long has this been broken.
4163 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4164 check for a NULL link. We crash otherwise.
4166 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4173 2005-02-25 Sebastien Bacher <seb128@debian.org>
4175 * configure.ac: add the french translation.
4177 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4179 * shell/ev-window.c:
4181 Remove unused header -> fix distcheck
4183 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4185 * shell/ev-window.c: (update_window_title),
4186 (ev_window_popup_password_dialog):
4188 Unescape filename for display
4190 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4192 * pdf/xpdf/pdf-document.cc:
4194 In get_page_size deal with rotation. Also
4195 cleanup the function a bit.
4197 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4199 * pdf/xpdf/pdf-document.cc:
4201 Fix crash when opening in new window
4203 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4207 Check ghostscript >= 7
4209 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4211 * shell/ev-window.c:
4213 Make page width the default sizing mode
4215 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4216 Marco Pesenti Gritti <marco@gnome.org>
4218 * shell/ev-window.c: Remember the sidebar size
4220 * data/evince.schemas.in: Add a new gconf key to store the size of
4223 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4225 * data/evince-ui.xml:
4226 * shell/ev-window.c: (update_action_sensitivity),
4227 (ev_window_cmd_view_reload):
4229 Add a "Reload" action and menu entry
4231 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4233 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4234 iff the type doesn't support thumbnailing and indexing.
4236 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4238 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4240 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4242 * pdf/splash/Splash.cc:
4244 Port fix for a crasher from kde bug
4245 http://bugs.kde.org/show_bug.cgi?id=97131
4247 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4249 * pdf/xpdf/pdf-document.cc:
4251 Return a link even if it's of an unrecognized
4252 type. Otherwise we go in an infinte cycle.
4254 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4256 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4257 (size_allocate_cb), (ev_window_set_sizing_mode):
4259 Update size when switching mode
4261 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4263 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4264 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4265 (ev_window_cmd_view_normal_size):
4267 Fix size toggle buttons behavior
4269 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4271 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4272 (doc_rect_to_view_rect), (ev_view_size_allocate),
4273 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4274 (scale_changed_callback):
4276 Do not cache offsets in size_allocate.
4278 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4280 * shell/ev-view.c: (ev_view_size_allocate):
4282 Calculate offsets before calling the parent
4283 class (which does a redraw)
4285 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4287 * pdf/xpdf/pdf-document.cc:
4289 Fix a crasher on exit. Unused code, put a TODO
4291 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4293 * backend/ev-document.c: (ev_document_class_init),
4294 (ev_document_page_changed), (ev_document_scale_changed):
4295 * backend/ev-document.h:
4297 Separate page/scale notifications
4299 * pdf/xpdf/pdf-document.cc:
4301 Emit the new signals.
4302 Do not display the pdf page in _render, do it
4303 when scale/page are requested.
4305 * ps/ps-document.c: (ps_document_set_zoom),
4306 (ps_document_widget_event):
4309 Emit the new signals.
4311 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4312 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4313 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4314 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4316 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4317 (ev_window_cmd_view_page_width), (size_allocate_cb),
4318 (ev_window_set_sizing_mode):
4320 Rework sizing to be pixel based.
4321 There are bugs but should be already way better.
4323 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4325 * shell/ev-window.c: (ev_window_init):
4327 Do not allow to shrink sidebar smaller then
4330 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4332 * shell/ev-sidebar.[ch]
4333 * shell/ev-window.c:
4335 Improved sidebar widget. Fixes #166683
4337 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4339 * shell/ev-view.c (update_find_status_message): Give translators
4340 more flexibility with ngettext plural handling.
4342 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4344 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4345 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4346 page when we get the page size.
4348 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4350 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4352 ps pages are 0 based, convert
4354 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4356 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4358 Initialize correct parent class. Set GError on document load
4360 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4362 * pdf/xpdf/pdf-document.cc:
4364 Fixup selection offset calculation
4366 * shell/ev-view.c: (view_rect_to_doc_rect),
4367 (doc_rect_to_view_rect), (ev_view_size_allocate),
4368 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4369 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4371 Store selection as document relative, so that zooming
4372 and offset changing doesnt break it.
4374 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4376 * shell/ev-view.c: (ev_view_best_fit):
4378 Do not try to best fit if the view is not realized
4380 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4382 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4384 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4386 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4388 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4390 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4391 the popup window. That prevents it resizing when in full screen
4394 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4395 multiple rerenders. This pretty much sucks.
4397 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4398 rest of the toolbar.
4400 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4402 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4404 2005-02-17 Alexander Shopov <ash@contact.bg>
4406 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4408 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4410 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4412 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4414 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4415 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4416 (set_document_page), (document_changed_callback),
4417 (ev_view_set_document), (ev_view_find_previous),
4418 (ev_view_hide_cursor), (ev_view_show_cursor):
4420 * shell/ev-window.c: (update_chrome_visibility),
4421 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4422 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4423 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4424 (ev_window_unfullscreen):
4425 * shell/main.c: (main):
4427 Automatically hide the fullscreen button.
4428 Patch by Kristian Høgsberg <krh@redhat.com>
4430 2005-02-16 Vincent Noel <vnoel@cox.net>
4432 * shell/main.c (main): Specify an icon for the window. Patch by
4433 Jaap A. Haitsma. Fixes #166177.
4435 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4437 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4439 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4441 * backend/ev-document-misc.h:
4442 * backend/ev-document-misc.c:
4443 (ev_document_misc_get_page_border_size),
4444 (ev_document_misc_paint_one_page): New function to canonicalize
4445 sizing/painting a border.
4447 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4450 * pdf/xpdf/pdf-document.cc: use new function
4452 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4453 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4454 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4455 shell/ev-window.c: (update_sizing_buttons),
4456 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4457 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4458 (ev_window_cmd_view_page_width), (size_allocate_cb),
4459 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4460 and "fit width" values act as toggle buttons so they stay
4461 toggled. It's not 100% perfect, and it's a little slow, but it's
4462 good enough to commit I think.
4464 2005-02-15 David Lodge <dave@cirt.net>
4466 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4468 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4470 * shell/ev-window.c (update_window_title): replace newlines in
4471 the title by spaces. Bug #166107.
4473 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4475 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4476 parameters providing allocation width and height without
4477 scrollbars and width of a possible vertical scrollbar. With this
4478 additional information the functions can work as
4479 intended. Unfortunately they're not idempotent. We should
4480 transform these commands to toggles. Fixes Bug #164976
4481 Initial patch by Stephane Loeuillet, then heavily modified.
4483 * shell/ev-view.h: update prototypes.
4485 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4486 (ev_window_cmd_view_page_width): provide EvView fit functions with
4487 all the information they need. Formulas to calculate this
4488 information taken from GtkScrolledWindow.
4490 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4492 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4493 created a thumbnail, the list store is updated to know
4494 that the thumbnail is set. Fixes bug #166792
4496 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4498 * shell/ev-window.c: fixed typo, closes bug 166897
4500 * TODO: updated TODO with bug numbers that are relevant
4502 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4504 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4506 2005-02-09 Vincent Noel <vnoel@cox.net>
4508 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4509 and "Next" toolbar buttons as important to make them stand out.
4511 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4515 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4516 (start_interpreter), (stop_interpreter), (document_load),
4517 (ps_document_next_page), (ps_document_goto_page),
4518 (ps_document_set_page_size), (ps_document_widget_event),
4519 (ps_document_render):
4520 * shell/ev-page-view.c: (ev_page_view_dispose):
4521 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4523 Fix compilation on non-gcc platforms
4525 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4532 * pdf/xpdf/Catalog.cc:
4535 Fix the fix for CAN-2004-0888
4537 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4540 * data/evince-ui.xml:
4541 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4542 * shell/ev-stock-icons.h:
4543 * shell/ev-window.c: (update_action_sensitivity),
4544 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4545 (set_action_properties):
4547 Improve toolbar layout/icons
4549 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4551 * pdf/xpdf/pdf-document.cc:
4553 Add warnings about unimplemented/unknown link
4556 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4558 * ps/ps-document.c: (set_up_page):
4562 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4564 * ps/ps-document.c: (start_interpreter):
4568 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4570 * shell/ev-page-view.c: (ev_page_view_dispose):
4571 * shell/ev-view.c: (ev_view_finalize):
4572 * shell/ev-window.c: (ev_window_setup_document),
4573 (ev_window_dispose), (ev_window_init):
4575 Solve more refs issues.
4577 I commented out the page_view initialization for now:
4578 it was never destroyed (because it's never added
4579 to a container). Because of that we was leaking
4580 gs processes. Couldnt think to a clean fix.
4581 We need to figure this out, password view has the
4582 same issue probably.
4584 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4586 * ps/ps-document.c: (ps_document_finalize),
4587 (ps_document_get_n_pages), (ps_document_get_page):
4589 Some cleanups, stop the interpreter on finalize
4591 * shell/ev-page-view.c: (ev_page_view_dispose),
4592 (ev_page_view_class_init):
4594 Release our reference on the document
4596 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4600 * doc/debugging.txt:
4603 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4604 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4605 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4608 Add debugging helpers
4611 * ps/ps-document.c: (set_up_page), (start_interpreter),
4612 (stop_interpreter), (document_load), (ps_document_next_page),
4613 (ps_document_goto_page), (ps_document_set_page_size),
4614 (ps_document_widget_event), (ps_document_render):
4615 * shell/Makefile.am:
4616 * shell/ev-view.c: (expose_bin_window):
4617 * shell/main.c: (main):
4621 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4623 * ps/ps-document.c: (ps_document_widget_event):
4625 Initialize message_window, this should make ps
4626 rendering really work! (Never noticed because I was
4627 testing with a ps that is causing gs to exit every time!)
4629 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4631 * data/evince.schemas.in: updated simple error in applyto closing tag
4633 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4639 * data/evince-ui.xml:
4640 A data/evince.schemas.in:
4642 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4643 * shell/ev-stock-icons.h:
4644 * shell/ev-window.c: (update_chrome_visibility),
4645 (update_chrome_flag), (ev_window_cmd_edit_find),
4646 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4647 (ev_window_unfullscreen), (ev_window_focus_in_event),
4648 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4649 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4650 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4651 (ev_window_dispose), (ev_window_class_init),
4652 (set_action_properties), (set_chrome_actions), (load_chrome),
4655 Implement fullscreen mode changes from bug #164776.
4656 Also implement persistent chrome toggles.
4658 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4660 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4662 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4668 Add another check for find interface
4672 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4674 * shell/ev-application.c: (ev_application_open):
4675 * shell/ev-window.c: (ev_window_open):
4677 Open gzipped ps documents
4679 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4682 * shell/ev-view.c: (set_document_page):
4684 Clamp page number, dont try to move to
4687 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4689 * backend/ev-document-find.c: (ev_document_find_changed):
4690 * backend/ev-document-find.h:
4691 * pdf/xpdf/pdf-document.cc:
4692 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4693 * shell/ev-window.c: (find_bar_search_changed_cb):
4695 Fix several bugs with find
4697 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4699 * shell/ev-sidebar-thumbnails.c
4700 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4701 document. Prevents warning from scroll_to_cell.
4703 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4705 * configure.ac: Add «nb» to ALL_LINGUAS too.
4707 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4709 * NOTES: New file with some random thoughts.
4713 * backend/ev-document-misc.c:
4714 (ev_document_misc_get_page_border_size): New function to
4715 canonicalize shadow drawing sizes. Possibly goofy.
4717 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4718 (ev_view_best_fit), (ev_view_fit_width):
4719 * pdf/xpdf/pdf-document.cc:
4720 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4721 * ps/ps-document.c: (ps_document_get_page_size):
4722 * backend/ev-document-misc.h:
4723 * backend/ev-document.c: (ev_document_get_page_size):
4724 * backend/ev-document.h: get_page_size now takes a page number
4725 parameter. Made all the backends/frontends honor it.
4727 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4728 see. Doesn't work yet.
4730 * shell/Makefile.am:
4731 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4732 Doesn't do anything yet.
4734 * shell/ev-sidebar-thumbnails.c:
4735 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4738 * shell/ev-window.c: (update_action_sensitivity),
4739 (ev_window_setup_document), (ev_window_set_page_mode),
4740 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4741 view-swapping code a bit so we can have multiple views on a
4742 document. Add the multi-page view, though it can't be turned on
4745 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4747 * shell/ev-application.c: (ev_application_open):
4748 * shell/ev-view.c: (expose_bin_window):
4749 * shell/ev-window.c: (ev_window_open):
4751 Support eps and check document supports find
4752 before drawing highlightings in expose.
4754 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4756 * pixbuf/pixbuf-document.c:
4757 (pixbuf_document_thumbnails_get_dimensions),
4758 (pixbuf_document_document_thumbnails_iface_init):
4760 implement get_dimensions
4762 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4769 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4771 * shell/ev-view.c: (set_document_page):
4773 Scroll at the top of the page when changing page
4775 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4777 * shell/ev-view.c: (ev_view_motion_notify_event):
4779 Do not redraw unnecessarily
4781 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4783 * pdf/xpdf/pdf-document.cc:
4784 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4785 (expose_bin_window), (find_changed_cb):
4787 Yay! find works now... Now to find bugs...
4789 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4791 * backend/ev-document-find.c: (ev_document_find_base_init),
4792 (ev_document_find_changed):
4793 * backend/ev-document-find.h:
4794 * pdf/xpdf/pdf-document.cc:
4795 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4796 (expose_bin_window), (ev_view_init), (set_document_page),
4797 (ensure_rectangle_is_visible), (jump_to_find_result),
4798 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4799 (ev_view_find_next), (ev_view_find_previous):
4801 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4803 More work on find implementation, mostly there now
4805 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4807 * backend/ev-backend-marshalers.list:
4808 * backend/ev-document-find.c: (ev_document_find_base_init),
4809 (ev_document_find_cancel), (ev_document_find_page_has_results),
4810 (ev_document_find_get_n_results), (ev_document_find_get_result),
4811 (ev_document_find_get_progress), (ev_document_find_changed):
4812 * backend/ev-document-find.h:
4814 Enanche the find interface to be really able to do
4817 * pdf/xpdf/pdf-document.cc:
4821 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4822 (expose_bin_window), (ev_view_init),
4823 (ev_view_get_find_status_message), (find_changed_cb),
4824 (ev_view_set_document), (set_document_page):
4826 Adapt to the new interface. A few things are regressed sorry,
4827 I will finish it soon.
4829 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4831 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4832 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4833 ev_sidebar_thumbnails_parent_class variable, don't define another
4834 parent_class variable.
4836 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4837 (ev_page_action_class_init): ditto.
4839 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4840 (pixbuf_document_class_init): ditto.
4842 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4845 * .cvsignore: ignore various valgrind output files.
4847 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4849 * data/evince-ui.xml:
4850 * shell/Makefile.am:
4851 * shell/ev-history.c:
4852 * shell/ev-history.h:
4853 * shell/ev-navigation-action.c:
4854 * shell/ev-navigation-action.h:
4855 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4856 (ev_view_set_page), (ev_view_fit_width):
4858 * shell/ev-window.c: (update_action_sensitivity),
4859 (ev_window_setup_document), (register_custom_actions):
4861 Kill session history
4863 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4865 * shell/ev-window.c: (update_action_sensitivity):
4867 Fix inverted up/down buttons
4869 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4871 * shell/ev-sidebar-thumbnails.c
4872 (ev_sidebar_thumbnails_select_page): make sure the selected
4873 thumbnail stays visible.
4875 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4877 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4878 scrolled window for Federico.
4880 2005-01-26 Ole Laursen <olau@hardworking.dk>
4882 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4884 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4887 * pdf/splash/SplashFTFontEngine.cc:
4889 Fix CID fonts with freetype 2.1.9
4891 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4893 * TODO: added item for desktop icon thumbnailer
4895 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4897 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4898 unloaded docs when the title is accessed.
4900 * shell/ev-password-view.[hc]: New widget for displaying password
4903 * shell/ev-window.[ch]: Refactor password handling code to handle
4906 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4914 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4916 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4917 ignore page offset here, to make search results independent of it,
4919 * shell/ev-view.c (expose_bin_window): but take offsets into
4920 account here. Bug #164932
4922 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4923 scale at the right time. Bug #164996
4925 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4927 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4928 fix the problem. Now I just removed the Adobe font names and hope
4929 that the URW fonts are always in outline format. Bug #164934
4931 * shell/ev-window.c (update_window_title): empty titles are
4932 useless, use filename in that case too.
4934 * NEWS: Add some content.
4936 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4938 * TODO: added one more TODO item and a TODONE section :)
4940 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4942 * ps/ps-document.h: add page_[xy]_offset fields.
4944 * ps/ps-document.c (ps_document_set_page_offset)
4945 (ps_document_render): Keep offset in consideration in a few
4946 places. Bug #164752 "postscript documents are not centered in
4949 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4950 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4952 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4953 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4954 stub out missing methods for complete EvDocument implementation.
4955 Fixes segfaults with Save A Copy and Copy actions.
4957 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4958 (ps_document_document_iface_init): ditto.
4960 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4964 * data/evince.desktop.in:
4968 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4970 * shell/ev-view.c: (ev_view_button_press_event),
4971 (ev_view_motion_notify_event):
4973 Make selection work in any direction
4975 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4978 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4980 Use shorter labels for some of the toolbars items
4982 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4984 * pdf/xpdf/pdf-document.cc:
4986 Check the links info is initialized before
4987 using it. Should fix a crash on startup.
4989 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4991 * pixbuf/pixbuf-document.c
4992 (pixbuf_document_thumbnails_get_dimensions): force floating point
4993 division to calculate page_ratio. Fixes crash with landscape
4996 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4998 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5000 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5002 * shell/ev-view.c (set_document_page): unset has_selection when
5004 (set_document_page): handle paper size changes when the page
5005 changes (test with Free Culture, page 2).
5007 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5009 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5010 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5012 Use normal style color for the widget background and
5013 draw a black box around the page.
5015 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5017 * pdf/xpdf/pdf-document.cc:
5019 Keep offset in consideration in a few places
5021 * shell/ev-view.c: (expose_bin_window):
5023 Set the offsets so that the document is ever centered
5025 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5027 * TODO: Added TODO items and finished off the first todo item
5029 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5030 reflect current authors
5032 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5034 * pdf/xpdf/pdf-document.cc:
5035 * shell/ev-view.c: (ev_view_set_cursor),
5036 (ev_view_motion_notify_event), (document_changed_callback),
5037 (set_document_page):
5039 Show a wait cursor while the page is rendering
5041 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5043 * shell/ev-sidebar-thumbnails.c:
5044 (ev_sidebar_tree_selection_changed),
5045 (ev_sidebar_thumbnails_select_page):
5046 * shell/ev-sidebar-thumbnails.h:
5047 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5048 (ev_view_can_go_forward):
5049 * shell/ev-window.c: (ev_window_open_page),
5050 (ev_window_setup_document), (update_current_page),
5051 (view_page_changed_cb), (ev_window_init):
5052 * shell/ev-window.h:
5054 Ensure thumbnails selection, toolbar page control and
5055 current page are in sync.
5057 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5063 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5065 * backend/Makefile.am:
5066 * backend/ev-document-links.h:
5067 * backend/ev-document-security.c: (ev_document_security_get_type),
5068 (ev_document_security_has_document_security),
5069 (ev_document_security_set_password):
5070 * backend/ev-document-security.h:
5071 * backend/ev-document.c: (ev_document_error_quark):
5072 * backend/ev-document.h:
5074 * data/evince-password.glade:
5075 * pdf/xpdf/pdf-document.cc:
5076 * shell/Makefile.am:
5077 * shell/ev-password.c: (ev_password_set_bad_password_label),
5078 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5079 (ev_password_dialog_get_password),
5080 (ev_password_dialog_set_bad_pass):
5081 * shell/ev-password.h:
5082 * shell/ev-window.c: (ev_window_get_attribute),
5083 (ev_window_set_property), (update_action_sensitivity),
5084 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5085 (ev_window_setup_document), (ev_window_get_password),
5086 (ev_window_open), (ev_window_cmd_save_as),
5087 (using_postscript_printer), (ev_window_print),
5088 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5089 (update_fullscreen_popup), (ev_window_fullscreen),
5090 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5091 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5092 (menu_item_select_cb), (find_bar_search_changed_cb),
5093 (ev_window_dispose), (ev_window_init):
5095 Add initial support for password-supported dialogs. This could be
5096 a lot cooler, but it'll do for now.
5098 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5100 * pdf/xpdf/pdf-document.cc:
5101 * shell/ev-view.c: (status_message_from_link),
5102 (ev_view_set_status), (ev_view_set_cursor),
5103 (ev_view_motion_notify_event), (ev_view_init):
5104 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5106 Fix bugs in the links implementation and change cursor
5107 when hovering a link.
5109 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5111 * viewer/.cvsignore: added cvsignore file for viewer directory
5113 * TODO: created TODO document
5115 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5118 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5119 new functions to help with implementation of sensitivity code
5120 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5121 of all actions that might require it. Fixes a crash when you
5122 click on the Zoom actions in a window lacking a document.
5124 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5126 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5129 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5131 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5132 (pixbuf_document_document_iface_init):
5133 * ps/ps-document.c: (ps_document_get_link),
5134 (ps_document_document_iface_init):
5135 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5136 (status_message_from_link), (ev_view_set_status),
5137 (ev_view_set_find_status), (ev_view_motion_notify_event),
5138 (ev_view_button_release_event), (ev_view_set_property),
5139 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5140 (ev_view_get_find_status_message), (update_find_results),
5141 (ev_view_get_status), (ev_view_get_find_status):
5143 * shell/ev-window.c: (view_status_changed_cb),
5144 (view_find_status_changed_cb), (ev_window_init):
5146 View status message support, use it to show the links.
5149 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5151 * backend/ev-document.c: (ev_document_get_link):
5152 * backend/ev-document.h:
5153 * pdf/xpdf/pdf-document.cc:
5154 * shell/ev-application.c: (ev_application_open):
5155 * shell/ev-application.h:
5156 * shell/ev-sidebar-links.c: (selection_changed_cb):
5157 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5158 (ev_view_go_to_link):
5160 Add support for document links
5162 2005-01-13 Anders Carlsson <andersca@gnome.org>
5164 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5166 Set the spin button limits correctly.
5168 * shell/ev-sidebar-thumbnails.c:
5169 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5170 Support changing pages by clicking on the thumbnails.
5172 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5174 * pixbuf/pixbuf-document.c:
5175 (pixbuf_document_thumbnails_get_dimensions),
5176 (pixbuf_document_document_thumbnails_iface_init):
5178 implement get_dimensions
5180 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5182 * ps/ps-document.c: (ps_document_goto_page):
5184 Fix page switching on multipage documents
5186 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5188 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5190 check for NULL before assigning to width and height parameters
5192 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5194 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5195 (pixbuf_document_set_property), (pixbuf_document_get_property):
5197 implement get/set properties
5199 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5201 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5203 return NULL instead of "Unknown", letting the title get set to
5204 the filename when the pdf has no title.
5206 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5208 * ps/ps-document.c: (ps_document_get_page_count),
5209 (ps_document_goto_page):
5211 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5213 * shell/ev-history.c: (ev_history_get_property),
5214 (ev_history_set_property), (ev_history_class_init),
5215 (ev_history_add_page), (ev_history_set_current_index):
5216 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5217 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5218 (ev_navigation_action_finalize):
5219 * shell/ev-navigation-action.h:
5220 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5221 (ev_view_go_forward), (ev_view_get_find_status_message),
5222 (history_index_changed_cb), (ev_view_set_history):
5224 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5225 (update_current_page), (register_custom_actions):
5227 Implement history dropdowns
5229 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5231 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5232 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5233 (ev_view_go_forward):
5234 * shell/ev-window.c: (register_custom_actions):
5236 Fix several history bugs
5238 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5240 * configure.ac: Add «nb» to ALL_LINGUAS.
5242 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5244 * backend/Makefile.am:
5245 * backend/ev-bookmark.c:
5246 * backend/ev-bookmark.h:
5247 * backend/ev-document-bookmarks.c:
5248 * backend/ev-document-bookmarks.h:
5249 * backend/ev-document-links.c: (ev_document_links_get_type),
5250 (ev_document_links_has_document_links),
5251 (ev_document_links_begin_read), (ev_document_links_get_link),
5252 (ev_document_links_get_child), (ev_document_links_next),
5253 (ev_document_links_free_iter):
5254 * backend/ev-document-links.h:
5255 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5256 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5257 (ev_link_get_link_type), (ev_link_set_link_type),
5258 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5259 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5260 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5261 (ev_link_new_external):
5262 * backend/ev-link.h:
5263 * pdf/xpdf/pdf-document.cc:
5264 * shell/Makefile.am:
5265 * shell/ev-application.c: (ev_application_open_link):
5266 * shell/ev-application.h:
5267 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5268 (ev_history_get_link_nth):
5269 * shell/ev-history.h:
5270 * shell/ev-sidebar-bookmarks.c:
5271 * shell/ev-sidebar-bookmarks.h:
5272 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5273 (ev_sidebar_links_class_init), (selection_changed_cb),
5274 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5275 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5276 (do_one_iteration), (populate_links_idle),
5277 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5278 * shell/ev-sidebar-links.h:
5279 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5280 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5283 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5284 * shell/ev-window.h:
5286 Rename bookmark to link, and use "Index" for the sidebar panel.
5288 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5290 * shell/Makefile.am:
5291 * shell/ev-application.c: (ev_application_open_bookmark):
5292 * shell/ev-application.h:
5293 * shell/ev-history.c: (ev_history_init), (free_links_list),
5294 (ev_history_finalize), (ev_history_class_init),
5295 (ev_history_add_link), (ev_history_add_page),
5296 (ev_history_get_link_nth), (ev_history_get_n_links),
5297 (ev_history_get_current_index), (ev_history_set_current_index),
5299 * shell/ev-history.h:
5300 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5301 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5302 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5303 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5306 * shell/ev-window.c: (ev_window_open_bookmark),
5307 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5308 (goto_page_cb), (register_custom_actions):
5309 * shell/ev-window.h:
5311 Initial history implementation. Needs work.
5313 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5315 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5317 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5319 * cut-n-paste/recent-files/egg-recent-item.c:
5320 * cut-n-paste/recent-files/egg-recent-item.h:
5321 * cut-n-paste/recent-files/egg-recent-model.c:
5322 * cut-n-paste/recent-files/egg-recent-util.c:
5323 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5324 * cut-n-paste/recent-files/egg-recent-view.c:
5328 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5330 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5331 (fillGlyph, fillImageMask, drawImage):
5332 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5333 pdf/splash/SplashTypes.h:
5334 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5335 packed mode for Splash.
5337 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5338 RGB8 packed mode, eliminates the pixbuf data creation loop.
5340 * shell/ev-print-job.c (ev_print_job_finalize)
5341 (ev_print_job_set_property, ev_print_job_get_property)
5342 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5343 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5344 (print_closure_finalize, ev_print_job_print): implement
5345 printing (for backends with EvPsExporter)
5347 * shell/ev_print_job.h: update prototypes.
5349 * shell/ev-window.c (ev_window_print): unref print job after
5352 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5353 unless the document implements the EvDocumentFind interface.
5355 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5357 * configure.ac: Added ja to ALL_LINGUAS.
5359 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5361 * pdf/xpdf/pdf-document.cc:
5363 add a FIXME. We should probably not allocate
5364 a bookmark object every time
5366 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5368 * shell/ev-application.c: (ev_application_open),
5369 (ev_application_open_bookmark):
5370 * shell/ev-application.h:
5372 Add a way to open bookmarks
5374 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5375 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5376 (ev_bookmark_set_property), (ev_bookmark_class_init),
5377 (ev_bookmark_new_title), (ev_bookmark_new_link),
5378 (ev_bookmark_new_external):
5380 Support for external uris, better constructors.
5382 * backend/ev-bookmark.h:
5383 * pdf/xpdf/pdf-document.cc:
5384 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5386 Handle external uris
5388 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5390 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5391 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5393 Hook up bookmarks navigation
5395 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5397 * backend/Makefile.am:
5398 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5399 (ev_bookmark_get_title), (ev_bookmark_set_title),
5400 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5401 (ev_bookmark_get_page), (ev_bookmark_set_page),
5402 (ev_bookmark_get_property), (ev_bookmark_set_property),
5403 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5405 * backend/ev-bookmark.h:
5406 * backend/ev-document-bookmarks.c:
5407 (ev_document_bookmarks_get_bookmark):
5408 * backend/ev-document-bookmarks.h:
5409 * pdf/xpdf/pdf-document.cc:
5410 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5412 Add a bookmark object to the backend and use it instead of get_values
5414 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5416 * data/evince-ui.xml:
5418 Cleanup and add select all.
5420 * shell/ev-view.c: (ev_view_select_all),
5421 (ev_view_button_press_event):
5423 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5426 Clear selection on click.
5428 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5430 * shell/ev-sidebar-thumbnails.c
5431 (ev_sidebar_thumbnails_set_document): forgot to unref the
5434 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5436 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5437 at the visible page, not just linearly. This makes it look fast.
5439 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5441 * backend/ev-document-misc.c
5442 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5444 * backend/ev-document-thumbnails.h: New interface to get the size
5447 2005-01-06 Jeremy Katz <katzj@redhat.com>
5449 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5452 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5454 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5455 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5458 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5460 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5462 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5463 fonts. Should fix font problems on systems that have the base
5464 fonts in bitmap format. Reported by James Henstridge
5465 <james@jamesh.id.au>.
5467 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5470 * pdf/xpdf/GfxState.cc:
5472 Fix for CAN-2004-1125
5474 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5476 * shell/ev-view.c: (ev_view_copy):
5478 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5480 Implement Edit->Copy
5482 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5484 * backend/ev-document.c: (ev_document_get_text):
5485 * backend/ev-document.h:
5486 * pdf/xpdf/pdf-document.cc:
5487 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5488 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5489 (ev_view_update_primary_selection), (ev_view_button_press_event),
5490 (ev_view_motion_notify_event), (ev_view_button_release_event):
5492 Beginnings of clipboard support. Incomplete but primary sort
5495 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5497 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5498 (expose_bin_window):
5500 Nicer rubberband drawing, from GtkIconView.
5502 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5504 * backend/ev-document.c: (ev_document_save):
5505 * backend/ev-document.h:
5506 * data/evince-ui.xml:
5507 * pdf/xpdf/pdf-document.cc:
5508 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5510 Implement "Save a copy..." menu item
5512 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5514 * shell/ev-view.c: (ev_view_zoom):
5516 Queue a resize when zoom changes
5518 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5520 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5523 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5526 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5528 * pdf/xpdf/pdf-document.cc
5529 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5531 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5533 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5534 It's slow, but I'll speed it up next!
5536 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5538 * shell/main.c (load_files):
5540 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5541 from the command line and because it seems more appropriate.
5543 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5545 * data/evince-ui.xml:
5546 * shell/ev-window.c: (update_action_sensitivity),
5547 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5549 s/next page/page down
5550 s/previous page/page up
5552 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5554 * data/evince-ui.xml:
5556 Change the layout to match clarkbw design.
5558 * shell/Makefile.am:
5559 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5560 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5561 (ev_navigation_action_finalize),
5562 (ev_navigation_action_set_property),
5563 (ev_navigation_action_get_property),
5564 (ev_navigation_action_class_init):
5565 * shell/ev-navigation-action.h:
5567 Implement clarkbw toolbar navigation controls (incomplete)
5569 * shell/ev-page-action.c: (update_label), (update_spin),
5570 (value_changed_cb), (create_tool_item), (connect_proxy),
5571 (ev_page_action_init), (ev_page_action_finalize),
5572 (ev_page_action_set_property), (ev_page_action_get_property),
5573 (ev_page_action_set_current_page),
5574 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5575 * shell/ev-page-action.h:
5577 Implement a page switcher in the toolbar
5579 * shell/ev-view.c: (ev_view_scroll_view):
5580 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5581 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5582 (register_custom_actions), (ev_window_init):
5584 Change page on PageUp/Down.
5586 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5588 * pdf/xpdf/pdf-document.cc
5589 (pdf_document_thumbnails_get_thumbnail): initial stab at
5590 implementing thumbnail support for pdfs. It only does documents
5591 with precached pdfs now.
5593 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5595 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5596 thumbnail code into a time-based idle as well. Also, turn off the
5597 shadow temporarily as it's really slow.
5599 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5601 * backend/ev-document.c: (ev_document_class_init):
5602 * pdf/xpdf/pdf-document.cc:
5603 * shell/ev-window.c: (ev_window_open):
5605 Fix document title bugs and fallback to
5606 filename when not available.
5608 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5610 * backend/ev-document.c: (ev_document_get_type),
5611 (ev_document_class_init), (ev_document_load),
5612 (ev_document_get_title):
5613 * backend/ev-document.h:
5614 * pdf/xpdf/pdf-document.cc:
5615 * ps/ps-document.c: (ps_document_set_property),
5616 (ps_document_get_property), (ps_document_class_init),
5620 * shell/ev-window.c: (update_window_title), (ev_window_open),
5623 Initial support for document title. Not working yet.
5625 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5627 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5629 Grab focus on the view when clicking it
5631 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5633 * shell/ev-marshal.list:
5634 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5635 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5637 Add key bindings to the view. Now if the focus would work
5640 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5643 * backend/Makefile.am:
5646 * dvi/dvilib/Makefile.am:
5647 * pdf/xpdf/Makefile.am:
5653 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5655 * shell/ev-view.c: (ev_view_realize):
5657 Fix mouse wheel scrolling
5659 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5665 * ps/ps-document.c: (catchPipe), (ps_document_init),
5666 (ps_document_class_init), (ps_document_cleanup),
5667 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5668 (set_up_page), (close_pipe), (is_interpreter_ready),
5669 (interpreter_failed), (output), (input), (start_interpreter),
5670 (stop_interpreter), (file_length), (file_readable),
5671 (check_filecompressed), (check_pdf), (compute_xdpi),
5672 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5673 (ps_document_get_type), (ps_document_emit_error_msg),
5674 (document_load), (ps_document_next_page),
5675 (ps_document_get_current_page), (ps_document_get_page_count),
5676 (ps_document_goto_page), (ps_document_set_page_size),
5677 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5678 (ps_document_load), (ps_document_get_n_pages),
5679 (ps_document_set_page), (ps_document_get_page),
5680 (ps_document_widget_event), (ps_document_set_target),
5681 (ps_document_set_scale), (ps_document_set_page_offset),
5682 (ps_document_get_page_size), (ps_document_render),
5683 (ps_document_document_iface_init):
5686 * shell/ev-window.c: (ev_window_open):
5688 Rename GtkGS to PSDocument
5690 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5692 * ps/gtkgs.c: (gtk_gs_class_init):
5695 Some more leftover...
5697 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5699 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5700 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5701 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5704 Remove unused code and make a lot of stuff private
5706 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5708 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5709 (gtk_gs_defaults_changed):
5715 Cleanup headers dependencies
5717 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5722 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5724 * ps/gtkgs.c: (file_length), (file_readable),
5725 (check_filecompressed), (check_pdf), (gtk_gs_load),
5726 (gtk_gs_get_postscript):
5730 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5735 * ps/gtkgs.c: (gtk_gs_set_zoom):
5739 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5741 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5743 Ensure the page is rerendered when changing zoom
5745 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5747 * backend/ev-document.c: (ev_document_base_init),
5748 (ev_document_changed):
5749 * backend/ev-document.h:
5751 Add a changed event that is emitted when the page content
5752 changes. This is necessary to deal with the fact that
5753 in ps backend rendering happen asycrounously.
5754 This makes the ps backend mostly work.
5756 * pdf/xpdf/pdf-document.cc:
5760 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5761 (ps_document_set_target):
5765 * shell/ev-view.c: (document_changed_callback),
5766 (ev_view_set_document), (ev_view_set_page):
5768 Redraw on the changed signal
5770 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5772 * configure.ac: Added pt_BR to ALL_LINGUAS.
5774 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5776 * backend/ev-document-bookmarks.c:
5777 (ev_document_bookmarks_get_child): *
5778 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5779 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5780 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5781 (ev_sidebar_bookmarks_destroy),
5782 (ev_sidebar_bookmarks_class_init),
5783 (ev_sidebar_bookmarks_construct), (stack_data_free),
5784 (do_one_iteration), (populate_bookmarks_idle),
5785 (ev_sidebar_bookmarks_clear_document),
5786 (ev_sidebar_bookmarks_set_document): *
5787 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5788 (ev_sidebar_add_page),
5789 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5790 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5791 it displays both the topics and the page numbers.
5793 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5795 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5797 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5800 2004-12-23 Adam Weinberger <adamw@gnome.org>
5802 * configure.ac: Added en_CA to ALL_LINGUAS.
5804 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5806 * ChangeLog: replace bottom of this ChangeLog (merged history of
5807 ggv and gpdf; where all paths were wrong and most of the files are
5808 not even in this tree) with ChangeLog (from arch) of the shell
5811 2004-12-23 Havoc Pennington <hp@redhat.com>
5813 * shell/ev-window.c: hook up potentially-questionable "find
5814 results status text" feature - something involving the sidebar or
5815 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5816 might be better in the end.
5818 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5819 with corresponding signal when it should be updated
5821 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5823 2004-12-22 Havoc Pennington <hp@redhat.com>
5825 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5826 find stuff on other pages, sort of (only returns one result on
5827 invisible pages, to show they have results; updates full results
5828 for a page when you view it). Currently repaints the current page
5829 every time a new result is found on any page, which isn't so nice.
5831 2004-12-22 Havoc Pennington <hp@redhat.com>
5833 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5834 the document doesn't support find (better ideas?)
5835 (find_bar_search_changed_cb): handle missing document or document
5836 that doesn't support find
5838 * pdf/xpdf/pdf-document.cc: port to implement the new
5841 * backend/ev-document-find.c: create a new interface for searching
5843 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5845 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5847 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5850 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5851 EvPrintJob constructor arguments.
5853 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5854 for documents that can export PostScript (page by page).
5856 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5858 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5859 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5860 (pdf_document_ps_exporter_iface_init:
5861 Implement EvPSExporter.
5863 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5865 2004-12-22 Anders Carlsson <andersca@gnome.org>
5867 * backend/Makefile.am:
5868 * backend/ev-document-thumbnails.c:
5869 (ev_document_thumbnails_get_type),
5870 (ev_document_thumbnails_get_thumbnail):
5871 * backend/ev-document-thumbnails.h:
5872 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5873 (pixbuf_document_thumbnails_get_thumbnail),
5874 (pixbuf_document_document_thumbnails_iface_init):
5875 * shell/Makefile.am:
5876 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5877 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5878 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5879 * shell/ev-sidebar-thumbnails.h:
5880 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5881 (ev_sidebar_set_document):
5882 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5883 (create_shadow), (ev_pixbuf_add_shadow):
5885 Add thumbnail support.
5887 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5889 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5890 (using_postscript_printer): Set up a print dialog for "PostScript
5893 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5896 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5898 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5900 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5901 (ps_document_set_target), (ps_document_get_page_size),
5902 (ps_document_render):
5907 2004-12-22 Christian Rose <menthos@menthos.com>
5909 * configure.ac: Added "sv" to ALL_LINGUAS.
5911 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5913 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5914 document supports bookmarks.
5916 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5918 * ps/ggvutils.c: (ggv_file_readable):
5920 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5921 (gtk_gs_get_postscript):
5925 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5927 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5928 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5929 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5930 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5931 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5932 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5933 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5934 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5935 (gtk_gs_set_antialiasing), (ps_document_load),
5936 (ps_document_render):
5939 Another check point for the ps backend. Now I can get it to show
5942 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5944 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5945 document setting code.
5947 2004-12-22 Anders Carlsson <andersca@gnome.org>
5949 * shell/eggfindbar.c: (entry_activate_callback):
5950 Animate the next button when activate is pressed.
5952 2004-12-22 Anders Carlsson <andersca@gnome.org>
5954 * shell/ev-window.c: (ev_window_cmd_edit_find),
5955 (update_fullscreen_popup), (ev_window_fullscreen),
5956 (ev_window_unfullscreen), (ev_window_state_event_cb),
5957 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5958 Fix bugs in fullscreen code.
5960 2004-12-22 Anders Carlsson <andersca@gnome.org>
5964 * pixbuf/Makefile.am:
5965 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5966 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5967 (pixbuf_document_set_page), (pixbuf_document_get_page),
5968 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5969 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5970 (pixbuf_document_render), (pixbuf_document_begin_find),
5971 (pixbuf_document_end_find), (pixbuf_document_finalize),
5972 (pixbuf_document_class_init),
5973 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5974 * pixbuf/pixbuf-document.h:
5975 * shell/Makefile.am:
5976 * shell/ev-application.c: (ev_application_open):
5977 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5981 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5984 * dvi/dvilib/Makefile.am:
5986 * configure.ac: Auto*ify dvi and dvi/dvilib
5988 * dvi/Makefile: Remove from CVS
5990 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5993 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5995 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5997 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6000 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6001 (gtk_gs_value_adjustment_changed), (compute_size),
6002 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6003 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6004 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6005 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6006 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6007 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6008 (ps_document_load), (ps_document_get_n_pages),
6009 (ps_document_set_page), (ps_document_get_page),
6010 (ps_document_set_target), (ps_document_set_scale),
6011 (ps_document_set_page_offset), (ps_document_get_page_size),
6012 (ps_document_render), (ps_document_begin_find),
6013 (ps_document_end_find), (ps_document_document_iface_init):
6015 * shell/Makefile.am:
6016 * shell/ev-window.c: (ev_window_open):
6018 Some work to integrate gtkgs with EvDocument
6020 2004-12-22 Anders Carlsson <andersca@gnome.org>
6022 * shell/ev-window.c: (update_fullscreen_popup),
6023 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6024 (exit_fullscreen_button_clicked_cb),
6025 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6026 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6027 (ev_window_state_event_cb), (ev_window_init):
6028 Add fullscreen support from Epiphany.
6030 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6032 * data/ev-stock-zoom-fit-width.png: fit-width
6033 stock icon from gpdf.
6035 * shell/ev-stock-icons.[ch]: copied from gpdf.
6037 * shell/main.c: (main): init stock icons.
6039 * shell/ev-window.c: use the fit-width icon.
6041 * data/evince-ui.xml: add zooming toolbar items.
6043 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6046 (ev_view_best_fit), (ev_view_fit_width): because
6047 get_page_size() returns the scaled page size, we
6048 need to calculate the scale factor relative to
6049 the previous scale factor. Should really just
6050 add get_real_page_size().
6052 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6054 * shell/ev-view.[ch]:
6055 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6056 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6059 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6060 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6061 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6064 * pdf/xpdf/pdf-document.cc:
6065 (pdf_document_begin_find),
6066 (pdf_document_end_find): make static.
6068 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6070 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6072 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6073 names to fontconfig patterns.
6074 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6076 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6079 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6095 Import ggv backend. Not hooked up yet.
6097 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6099 * shell/main.c: (load_files), (main): load files
6100 from the command line.
6102 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6104 * configure.ac: don't require bonobo.
6106 * cut-n-paste/recent-files/*: kill bonobo recent
6109 * shell/ev-window.c:
6110 (ev_window_is_empty): upd.
6111 (unable_to_load), (ev_window_open): load backend
6112 based on the mime type.
6114 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6116 * backend/.cvsignore: ignore generated marshalers source.
6118 * shell/main.c (main): this is not epiphany.
6120 2004-12-22 Havoc Pennington <hp@redhat.com>
6122 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6123 (expose_bin_window): draw find highlights
6125 * shell/ev-window.c (find_bar_search_changed_cb): implement
6127 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6128 (pdf_document_end_find): implement this interface
6130 * backend/ev-document.c (ev_document_found): add this to emit
6133 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6135 * data/evince-ui.xml: Add a few more toolbar items.
6137 * shell/ev-window.c: Hook up page navigation toolbar
6140 * shell/ev-view.[ch]: add ev_view_set/get_page and
6141 a page-changed signal.
6143 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6144 Add ev_document_get_page().
6146 * shell/ev-window.c: Sensitize/desensitize navigation
6149 2004-12-21 Havoc Pennington <hp@redhat.com>
6151 * backend/ev-backend-marshal.c,
6152 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6153 marshaler-generator thingy. I'm sure there's a better way to do
6154 this in the modern world.
6156 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6157 end_find methods and "found" signal.
6159 * configure.ac: find glib-genmarshal
6161 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6163 * shell/ev-sidebar.c: Construct an actual sidebar.
6164 * shell/ev-sidebar-bookmarks.[ch]:
6165 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6167 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6169 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6172 * shell/ev-view.c: Track the size from the document.
6174 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6176 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6177 constructor assumes ownership of the string passed in.
6179 * shell/ev-window.c (ev_window_open): Destroy the error
6180 dialog once we've displayed it.
6182 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6184 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6185 a bit, it works! (sort of)
6187 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6188 Move to .cc since we need to use C++ in the implementation.
6190 * shell/dummy.cc: Add a CC file to force evince
6191 to be linked as a C++ program.
6193 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6195 * shell/ev-view.[ch]: Start of content-area widget.
6197 * shell/ev-window.c: Create a EvView, update it
6198 as we change documents.
6200 * shell/Makefile.am shell/ev-marshal.list: Add
6201 generated marshalers.
6203 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6205 * Makefile.am (SUBDIRS): move shell.
6207 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6209 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6210 .a to libtool convenience libraries.
6212 * shell/ev-window.c (ev_window_open): Hard code loading
6215 * backend/ev-document.h: Add a boolean return to load(),
6216 fix GError * to GError **.
6218 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6219 object for a PDF backend EvDocument.
6221 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6223 * dvi/*: New directory with the beginning of a .dvi backend.
6225 2004-12-21 Havoc Pennington <hp@redhat.com>
6227 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6228 previous/next instead of back/forward
6230 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6232 * backend/ev-document.[ch]: Fix a couple of problems so
6235 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6237 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6238 to backend/ directory, rename EvViewer to EvDocument.
6240 2004-12-21 Havoc Pennington <hp@redhat.com>
6242 * shell/ev-window.c: hook up the find bar widget; now we just need
6243 a document to find things in
6245 * shell/eggfindbar.c: a find bar widget
6247 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6249 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6251 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6253 * pdf/**: Import of xpdf code from gpdf.
6255 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6257 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6258 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6259 Fix FreeType includes.
6261 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6262 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6263 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6264 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6265 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6266 Include xpdfconfig.h
6268 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6270 * shell/ev-window.c (ev_window_dispose): dispose can be called
6273 2004-12-21 Havoc Pennington <hp@redhat.com>
6275 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6278 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6279 items; really they should be synced with the strings, etc. from
6280 current gpdf, but just getting the boring typing out of the way
6282 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6285 * shell/ev-application.c: (window_destroy_cb):
6286 * shell/ev-window.c:
6287 * shell/main.c: (main):
6289 Actually show the window...
6291 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6294 * shell/Makefile.am:
6295 * shell/ev-application.c: (ev_application_class_init):
6296 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6300 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6302 Import to gnome cvs.
6304 * Remove copies of gpdf and ggv trees.
6305 * Rip out all the recursive configure code.
6306 * Remove bonobo machinery.
6307 * viewer/*: GInterfaces that backends should/can implement.
6309 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6311 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6314 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6316 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6317 (ev_application_finalize, ev_application_class_init)
6318 (ev_application_init): use GType instance private data for priv.
6320 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6321 (ev_window_finalize, ev_window_class_init)
6322 (ev_window_init): ditto.
6324 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6326 * shell/ev-application.c (ev_application_new_window): make public
6327 (ev_application_show_initial_window): kill.
6329 * shell/ev-application.h: update prototypes.
6331 * shell/main.cc (main): inline ev_application_show_initial_window.
6333 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6335 * shell/ev-application.c (ev_application_new_window): impl.
6336 (ev_application_show_initial_window): use it.
6337 (is_window_empty, ev_application_get_empty_window): returns an
6338 existing empty window or a new one.
6339 (ev_application_open): from ev_window_cmd_file_open.
6341 * shell/ev-application.h: update prototypes
6343 * shell/ev-window.c (ev_window_is_empty): impl.
6344 (ev_window_open): make public.
6345 (ev_window_cmd_file_open): use ev_application_open
6347 * shell/ev-window.h: update prototypes, remove unused.
6349 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6351 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6352 move destroy handler out of here...
6354 * shell/ev-application.c, shell/ev-application.h: ...into this new
6355 class. Also handles initial window creation.
6357 * shell/main.cc (main): use EvApplication to create initial
6360 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6362 * Makefile.am (SUBDIRS): add cut-n-paste
6364 * cut-n-paste/Makefile.am: add
6366 * configure.ac: generate Makefiles in cut-n-paste
6368 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6370 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6371 (ev_window_class_init): install ev_window_dispose.
6373 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6375 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6376 char (gchar looks stupid).
6378 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6380 * po/de.po: updated German translation.
6382 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6384 * configure.ac: add more pkg-config library checks for gnome-vfs,
6387 * gpdf/configure.in: temporarily disable libpaper
6388 checks. Otherwise I'd have to add the checks for the shell, too.
6390 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6392 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6393 and * file filters to the file choose.
6395 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6397 * po/de.po: Updated German translation.
6399 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6401 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6403 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6405 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6407 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6408 (ev_window_init): implement those menuitems.
6410 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6412 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6414 * shell/ev-window.c (ev_window_init): use the toolbar.
6416 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6418 * shell/ev-window.c (ev_window_init): use menu translations
6420 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6422 * configure.ac: add "de" to ALL_LINGUAS.
6424 * po/de.po: add German translation.
6426 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6428 * Makefile.am (SUBDIRS): add po
6430 * configure.ac: check intltool, glib-gettext etc, generate
6433 * po, po/POTFILES.in, po/POTFILES.skip: new.
6435 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6437 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6438 already use (#ifdef ENABLE_NLS)
6440 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6441 pointer indirection thinko.
6443 * shell/main.c: include gi18n.h for bindtextdomain etc.
6445 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6447 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6448 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6449 tooltips for menu items in the statusbar.
6451 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6453 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6454 pkgdatadir drop UIDIR
6456 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6458 * data/evince-ui.xml: Add File->Open menu item
6460 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6461 chooser), hook it up in the ui manager.
6463 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6465 * shell/ev-window.c: fix Help->About tooltip.
6467 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6469 * configure.ac: set CFLAGS for libevprivate.
6471 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6472 definitions, factory etc.
6474 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6476 * shell/Makefile.am: link against libevprivate.a.
6478 * shell/ev-window.c (entries): add stock icon to Help->About.
6480 * shell/main.c (main): init stock icon code.
6482 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6484 * lib/recent-files: egg recent files code
6486 * lib/Makefile.am: add.
6488 * Makefile.am: add lib subdir.
6490 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6491 set CFLAGS for recent-files.
6493 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6495 * configure.ac: disable -ansi and -pedantic gcc flags. They
6496 disable POSIX stuff in stdio.h, but egg-recent uses them.
6498 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6500 * configure.ac: add --disable-deprecated flag (defaults to on in
6503 * shell/Makefile.am (INCLUDES): use it.
6505 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6507 * shell/main.c: add missing #include.
6509 * shell/ev-window.c: fix for pedantic gcc.
6510 (ev_window_cmd_help_about): split license into paragraphs for
6511 translators and pedantic compilers.
6513 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6515 * configure.ac: add more warning flags if compiling with gcc from
6516 cvs (or explicitly requested with --enable-more-warnings).
6518 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6520 * data/evince-ui.xml: add File and File->Close menu.
6522 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6523 (ev_window_destroy): quit after destroy.
6524 (ev_window_class_init): override GtkObject::destroy.
6525 (entries): install close_window callback.
6527 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6529 * Makefile.am (SUBDIRS): add data subdir.
6531 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6532 gtk+ 2.5.0 for GtkAboutDialog.
6534 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6537 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6539 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6541 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6543 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6545 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6547 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6549 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6551 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6553 * shell/*: Added shell directory boilerplate, build it.
6555 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6557 * configure.ac, Makefile.am: Added top-level configure.ac and