1 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
3 * pdf/ev-poppler.cc: * shell/ev-metadata-manager.c:
4 (ev_metadata_manager_init): * shell/ev-view.c:
5 (ev_view_rotate_left), (ev_view_set_rotation),
6 (ev_view_get_rotation): * shell/ev-view.h: * shell/ev-window.c:
7 (setup_view_from_metadata),
8 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
9 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to disk.
11 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
13 * configure.ac: Added tr to ALL_LINGUAS
15 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
17 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
18 requires several clicks to find word. Thanks to
19 Colin Slater <kiltedtaco@gmail.com>.
21 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
23 * data/evince.desktop.in.in: Hide menu entry and
24 rename it to "Document Viewer". Fix for bug
27 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
29 * shell/ev-page-action.c (ev_page_action_class_init):
31 Point to the correct function in constructor of the
34 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
36 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
37 * shell/ev-jobs.h: Make thread safe.
39 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
41 * shell/ev-view.c: (view_update_range_and_current_page):
42 Don't update page range if we are scrolling to some document
45 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
47 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
48 when getting max_page_width, fix drawing in dual mode.
50 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
52 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
53 getting the area for select_all.
55 2005-08-06 Kristian Høgsberg <krh@redhat.com>
57 * backend/ev-selection.c: (ev_selection_render_selection):
58 * backend/ev-selection.h:
60 * shell/ev-jobs.c: (ev_job_render_new):
62 * shell/ev-pixbuf-cache.c: (get_selection_colors),
63 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
64 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
67 Change selection color on focus in and focus out events. Also,
68 poppler now uses GdkColor for specifying the selection colors, so
69 drop some awkward conversion code.
71 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
73 * configure.ac: Added Hebrew translation
75 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
78 * backend/ev-selection.c: (ev_selection_render_selection):
79 * backend/ev-selection.h:
81 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
84 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
85 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
86 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
87 (ev_pixbuf_cache_style_changed),
88 (ev_pixbuf_cache_get_selection_pixbuf),
89 (ev_pixbuf_cache_set_selection_list),
90 (ev_pixbuf_cache_get_selection_list):
91 * shell/ev-pixbuf-cache.h:
92 * shell/ev-utils.c: (ev_print_region_contents):
94 * shell/ev-view.c: (ev_view_queue_draw_page),
95 (selection_update_idle_cb), (ev_view_motion_notify_event),
96 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
97 (setup_caches), (ev_view_find_next), (merge_selection_region),
99 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
101 Clean up selection to be much smoother!
103 2005-08-05 Kristian Høgsberg <krh@redhat.com>
105 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
106 to poppler_page_render_selection().
108 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
110 * ps/ps-document.c: (save_page_list): Use
111 unzipped document when printing. Thanks to
112 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
115 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
117 * shell/ev-window.c: (update_action_sensitivity):
119 Disable print and save respect to lockdown gconf keys. Fix
122 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
125 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
126 (write_to_temp_file), (ev_file_set_contents):
128 * shell/ev-window.c: (save_print_config_to_file):
130 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
133 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
135 * shell/ev-window.c: (load_print_config_from_file),
136 (save_print_config_to_file), (ev_window_print_range):
138 Persist the print settings. Fixes bug #311578.
140 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
142 * djvu/djvu-document.c: (djvu_document_get_page_size),
143 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
144 (djvu_document_thumbnails_get_thumbnail):
145 * dvi/dvi-document.c: (dvi_document_get_page_size),
146 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
147 (dvi_document_thumbnails_get_dimensions),
148 (dvi_document_thumbnails_get_thumbnail):
149 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
150 (pixbuf_document_render_pixbuf),
151 (pixbuf_document_document_iface_init),
152 (pixbuf_document_thumbnails_get_thumbnail):
154 Update backends to make them build with new rotation system.
156 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
158 * help/C/figures/evince_start_window.png:
160 Update documentation image from Luca Ferretti <elle.uca@libero.it>
162 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
164 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
165 * shell/ev-pixbuf-cache.h:
166 * shell/ev-sidebar-thumbnails.c:
167 (ev_sidebar_thumbnails_get_property), (add_range),
168 (adjustment_changed_cb):
169 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
170 pixbuf cache. Make thumbnailing work again. Also, fix bug where
171 we were thumbnailing the entire docment on startup, slowing us
174 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
176 * shell/ev-page-cache.c: (ev_page_cache_new):
177 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
180 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
182 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
183 (ev_view_rotate_left):
185 Account rotation in doc_rect_to_view_rect.
186 Ensure rotation doesnt go out of bounds.
188 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
190 * shell/ev-page-cache.c: (ev_page_cache_get_size):
192 Correct and cleanup w/h swapping
194 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
196 * backend/ev-document-thumbnails.c:
197 (ev_document_thumbnails_get_thumbnail):
198 * backend/ev-document-thumbnails.h:
199 * backend/ev-document.c:
200 * backend/ev-document.h:
201 * backend/ev-render-context.c: (ev_render_context_new),
202 (ev_render_context_set_rotation):
203 * backend/ev-render-context.h:
205 * ps/ps-document.c: (ps_document_document_iface_init):
206 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
208 * shell/ev-page-cache.c: (build_height_to_page),
209 (ev_page_cache_new), (ev_page_cache_get_size),
210 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
211 (ev_page_cache_get_height_to_page):
212 * shell/ev-page-cache.h:
213 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
214 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
215 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
216 (ev_pixbuf_cache_get_selection_pixbuf):
217 * shell/ev-pixbuf-cache.h:
218 * shell/ev-print-job.c: (idle_print_handler):
219 * shell/ev-sidebar-thumbnails.c: (add_range):
220 * shell/ev-view.c: (view_update_range_and_current_page),
221 (get_page_y_offset), (get_page_extents),
222 (ev_view_size_request_continuous_dual_page),
223 (ev_view_size_request_continuous),
224 (ev_view_size_request_dual_page),
225 (ev_view_size_request_single_page), (draw_one_page),
226 (ev_view_set_rotation), (ev_view_rotate_right),
227 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
228 (ev_view_zoom_for_size_continuous_and_dual_page),
229 (ev_view_zoom_for_size_continuous),
230 (ev_view_zoom_for_size_dual_page),
231 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
232 (ev_view_select_all):
233 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
234 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
235 (tiff_document_document_iface_init),
236 (tiff_document_thumbnails_get_thumbnail):
238 Use rotation rather than orientation. It's easier and enough
241 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
243 * shell/ev-page-cache.c: (build_height_to_page),
244 (ev_page_cache_new), (ev_page_cache_get_size),
245 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
246 (ev_page_cache_get_height_to_page):
247 * shell/ev-page-cache.h:
248 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
249 (ev_view_size_request_continuous_dual_page),
250 (ev_view_size_request_continuous),
251 (ev_view_zoom_for_size_continuous_and_dual_page),
252 (ev_view_zoom_for_size_continuous):
254 Make the page cache aware of page orientation.
256 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
258 * backend/ev-document-thumbnails.c:
259 (ev_document_thumbnails_get_thumbnail):
260 * backend/ev-document-thumbnails.h:
261 * backend/ev-document.c:
262 * backend/ev-document.h:
263 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
264 * backend/ev-ps-exporter.h:
266 * ps/ps-document.c: (ps_document_document_iface_init),
267 (ps_document_ps_export_do_page):
268 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
270 * shell/ev-page-cache.c: (ev_page_cache_get_size),
272 * shell/ev-page-cache.h:
273 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
274 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
275 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
276 * shell/ev-pixbuf-cache.h:
277 * shell/ev-print-job.c: (idle_print_handler):
278 * shell/ev-sidebar-thumbnails.c: (add_range):
279 * shell/ev-view.c: (view_update_range_and_current_page),
280 (get_page_extents), (ev_view_size_request_dual_page),
281 (ev_view_size_request_single_page), (draw_one_page),
282 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
283 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
284 (ev_view_zoom_for_size_dual_page),
285 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
286 (ev_view_select_all):
287 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
288 * tiff/tiff-document.c: (tiff_document_get_page_size),
289 (tiff_document_get_orientation), (rotate_pixbuf),
290 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
291 (tiff_document_thumbnails_get_thumbnail),
292 (tiff_document_ps_export_do_page), (tiff_document_init):
294 Really make use of the orientation bit of the render context.
295 Use the render context in a few more places in the backend API.
296 This regress orientation, but now it's done right. Will try to
299 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
301 * shell/ev-view.c: (ensure_rectangle_is_visible):
303 Patch by Nickolay V. Shmyrev to fix find flickering
305 2005-07-27 Martin Kretzschmar <martink@gnome.org>
307 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
308 duplex parameters to ::begin.
310 * tiff/tiff-document.c (tiff_document_ps_export_begin):
311 * shell/ev-print-job.c (idle_print_handler):
312 * ps/ps-document.c (ps_document_ps_export_begin):
313 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
314 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
315 implementations. Poppler backend needs poppler cvs. Rest has
318 2005-07-25 Martin Kretzschmar <martink@gnome.org>
320 * shell/ev-window.c (using_pdf_printer): new function.
321 (ev_window_print_range): print a less techy message if someone
322 tries to print to PDF.
324 2005-07-25 Martin Kretzschmar <martink@gnome.org>
326 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
327 from "unknown font" string. Bug #311431
329 2005-07-24 Martin Kretzschmar <martink@gnome.org>
331 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
333 2005-07-24 Martin Kretzschmar <martink@gnome.org>
337 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
338 name for PopplerFontTypes
339 (pdf_document_fonts_fill_model): add font type to the detail column
341 * backend/ev-document-fonts.h: added
342 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
344 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
345 font name and font details, add a little markup.
346 (ev_properties_fonts_init): use the new cell data func, specify ypad
347 property for the cell renderer.
348 (ev_properties_fonts_set_document): add the details column.
350 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
352 * configure.ac: Added "pl" to ALL_LINGUAS.
354 2005-07-24 Danilo Šegan <danilo@gnome.org>
356 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
358 2005-07-23 Tommi Vainikainen <thv@iki.fi>
360 * help/ChangeLog: Started this for translations of manual.
361 * configure.ac, autogen.sh, .cvsignore: Migrated to
362 gnome-doc-utils. Patch in bug #311222.
364 2005-07-22 Martin Kretzschmar <martink@gnome.org>
366 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
367 #ifdef this away to fix an unused-function warning.
369 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
371 * configure.ac: Added 'gl' to ALL_LINGUAS.
373 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
375 * configure.ac: Added ne in ALL_LINGUAS
377 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
379 * shell/ev-view.c: (ev_view_leave_notify_event):
381 Clear status message when pointer leaves view. Fix for bug
384 2005-07-20 Ankit Patel <ankit644@yahoo.com>
386 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
388 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
390 * shell/ev-view.c: (ev_view_leave_notify_event),
391 (ev_view_class_init):
393 Set cursor to normal then leaving view.
395 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
399 Fix required djvulibre version.
401 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
403 *configure.ac: Hindi (hi) language added
405 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
407 *configure.ac: Punjabi (pa) Language added
409 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
411 * data/evince-ui.xml, shell/ev-window.c:
413 Add keypad accelerators for zooming. Fix for bug 308128.
415 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
418 * backend/Makefile.am:
419 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
421 * shell/ev-document-types.c: (ev_document_types_add_filters):
423 Allow to enable/disable the pixbuf backend.
424 Default to off for now. If we want it enabled we should
425 really put mime types in the desktop, implement properties etc.
427 * properties/evince-properties.c:
429 Initialize error to NULL.
430 Check error is not NULL before freeing.
432 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
436 Use F5 as presentation accell
438 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
440 * shell/ev-window.c: (update_chrome_visibility),
441 (ev_window_create_fullscreen_popup), (ev_window_init):
443 Do not leak the fullscreen toolbar
445 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
447 * shell/ev-window.c: (view_actions_focus_in_cb),
448 (view_actions_focus_out_cb):
450 These has a return value! Fix totally random focus
451 issues we was seeing.
453 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
455 * shell/main.c: (load_files_remote):
457 Allow open more than one file
459 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
461 * shell/main.c: (load_files_remote):
463 Fix for dbus 0.33. bug #309975
465 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
467 * properties/ev-properties-main.c: (ev_properties_get_pages):
469 Actually return NULL for types we dont support
471 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
477 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
479 * backend/ev-document-factory.c:
480 (ev_document_factory_get_document):
482 Do not try to create the object if type
485 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
487 * ps/ps-document.c: (ps_document_dispose),
488 (ps_async_renderer_render_pixbuf):
491 Do not leak the target window
493 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
495 * shell/ev-application.c: (ev_application_init):
497 Let tbe check file existence for us.
498 Add a comment about eggrecent mime filter.
500 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
502 * data/evince-ui.xml:
503 * shell/ev-application.c: (ev_application_shutdown),
504 (ev_application_init), (ev_application_get_toolbars_model),
505 (ev_application_get_recent_model),
506 (ev_application_save_toolbars_model):
507 * shell/ev-application.h:
508 * shell/ev-window.c: (ev_window_add_recent),
509 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
510 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
513 Use common toolbar and recent models for all windows.
514 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
516 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
518 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
519 successfully check for gtk_icon_view_get_visible_range.
521 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
526 Fix djvu and dvi backend build.
528 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
530 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
531 (new_separator_pixbuf):
535 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
537 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
539 HIGification of toolbar editor dialogue.
541 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
546 Ever build metadata manager since it's just
547 disabled at runtime now.
549 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
551 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
552 (ev_metadata_manager_get), (ev_metadata_manager_set):
553 * shell/ev-metadata-manager.h:
555 Add an _init functions that enabled metadata management
558 * shell/ev-window.c: (page_changed_cb),
559 (setup_document_from_metadata), (ev_window_setup_document),
560 (setup_view_from_metadata), (ev_window_open_uri),
561 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
562 (ev_window_run_presentation), (ev_window_stop_presentation),
563 (save_sizing_mode), (ev_window_zoom_changed_cb),
564 (ev_window_continuous_changed_cb),
565 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
566 (window_configure_event_cb):
568 Remove all ugly metadata define since we deal with it
571 * shell/main.c: (load_files_remote), (main):
573 Add support for dbus cvs head. Hopefully didnt break one
574 of the other versions now!
576 If we dont get a response from the dbus server just
577 give up with it and not enable metadata.
579 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 Make frontends depend on just libev.
597 Rework and group CFLAGS/LIBS definitions.
600 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
604 do not unnecessarily save zoom
607 * lib/ev-file-helpers.c: (ev_dot_dir):
613 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
617 Remove unnecessary dependencies
619 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
621 * properties/Makefile.am:
622 * thumbnailer/Makefile.am:
625 Some more cleanups. Was really necessary
626 but I probably introduced bugs, feel free
629 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
631 * backend/Makefile.am:
633 * cut-n-paste/recent-files/Makefile.am:
634 * cut-n-paste/toolbar-editor/Makefile.am:
635 * cut-n-paste/zoom-control/Makefile.am:
638 * pixbuf/Makefile.am:
639 * properties/Makefile.am:
642 * thumbnailer/Makefile.am:
645 Use gnome-common macros when possible.
646 Cleanup dependencies.
647 Actually disable deprecated where possible.
649 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
652 * backend/Makefile.am:
653 * properties/Makefile.am:
655 * thumbnailer/Makefile.am:
657 This should solve the circular dep without
660 * shell/ev-window.c: (setup_view_from_metadata):
662 Never restore window size/position when the
663 window is already visible.
665 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
667 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
669 Return a boolean from timeout func. Fix ported from gedit.
671 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
673 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
675 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
677 * shell/ev-document-types.c: set "All Documents" as default filter in
680 2005-07-06 Martin Kretzschmar <martink@gnome.org>
682 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
683 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
684 (ev_metadata_manager_set_boolean): fix value/val thinko.
686 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
688 * shell/ev-window.c: (setup_view_from_metadata),
689 (window_state_event_cb), (window_configure_event_cb),
692 Remember window position and maximized state
694 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
698 Fix DBUS configure checks.
700 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
701 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
702 (ev_metadata_manager_set_boolean):
706 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
707 (ev_window_stop_fullscreen), (ev_window_run_presentation),
708 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
709 (ev_window_continuous_changed_cb),
710 (ev_window_dual_mode_changed_cb), (ev_window_new):
712 Fix the build without DBUS.
714 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
716 * shell/ev-metadata-manager.c: (parse_value), (save_values),
717 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
718 (ev_metadata_manager_set_string),
719 (ev_metadata_manager_set_boolean):
720 * shell/ev-metadata-manager.h:
722 Add support for some more types
724 * shell/ev-view.c: (scroll_to_current_page),
725 (ev_view_get_continuous), (ev_view_set_continuous),
726 (ev_view_get_dual_page):
728 * shell/ev-window.c: (page_changed_cb),
729 (setup_document_from_metadata), (ev_window_setup_document),
730 (setup_view_from_metadata), (ev_window_open_uri),
731 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
732 (ev_window_run_presentation), (ev_window_stop_presentation),
733 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
734 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
735 (ev_window_update_dual_page_action),
736 (ev_window_continuous_changed_cb),
737 (ev_window_dual_mode_changed_cb), (ev_window_init):
739 Remember a bunch of view/document properties. Prolly some
740 are still missing but it's getting interesting.
742 2005-07-05 Martin Kretzschmar <martink@gnome.org>
744 * configure.ac: check if dbus-binding-tool is installed. Not the
745 case on current Ubuntu breezy, it seems.
747 2005-07-05 Luca Ferretti <elle.uca@libero.it>
749 * data/evince.desktop.in.in:
751 Allow open uri lists and add TryExec field.
753 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
757 Enable dbus when available, do not require a configure
760 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
764 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
767 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
768 Marco Pesenti Gritti <mpg@redhat.com>
770 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
772 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
773 functions to the format required by dbus
775 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
776 errors. Use the RPC parameters in the expected way
778 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
781 * properties/Makefile.am:
782 * properties/ev-properties-main.c: (ev_properties_get_pages):
784 Support all mime types
787 * thumbnailer/Makefile.am:
788 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
789 (evince_thumbnail_pngenc_get):
791 Use the document factory
793 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
795 * backend/Makefile.am:
796 * backend/ev-document-factory.c:
797 (mime_type_supported_by_gdk_pixbuf),
798 (ev_document_type_get_from_mime),
799 (ev_document_factory_get_document),
800 (ev_document_factory_get_backend),
801 (ev_document_factory_get_mime_types),
802 (ev_document_factory_get_all_mime_types):
803 * backend/ev-document-factory.h:
805 * shell/ev-document-types.c: (get_document_from_uri),
806 (ev_document_types_get_document),
807 (file_filter_add_mime_list_and_free),
808 (ev_document_types_add_filters):
809 * shell/ev-document-types.h:
810 * shell/ev-job-xfer.c: (ev_job_xfer_run):
811 * shell/ev-properties-dialog.c:
812 (ev_properties_dialog_set_document):
813 * shell/ev-window.c: (ev_window_cmd_file_open),
814 (ev_window_cmd_save_as):
815 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
817 Rework document types managing to avoid code duplication
818 and actually abstract from backend implementations.
819 Also provide a minimal factory api that can be used by
820 thumbnailer/properties.
822 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
824 * properties/ev-properties-view.c: (ev_properties_view_set_info):
826 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
829 2005-07-04 Matthew S. Wilson <msw@rpath.com>
831 * shell/ev-properties-dialog.c
832 (ev_properties_dialog_set_document): only call
833 ev_properties_fonts_set_document() if the document implements the
836 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
839 * properties/Makefile.am:
840 * properties/ev-properties-view.c:
841 (ev_properties_view_register_type):
842 * properties/ev-properties-view.h:
843 * properties/ev-properties-main.h:
845 Implement nautilus plugin for properties.
846 Works only for pdf atm, I need to rework the
847 document types stuff to get this to work
850 2005-07-04 Martin Kretzschmar <martink@gnome.org>
852 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
853 (ev_properties_fonts_set_document): use
854 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
856 2005-07-04 Matthew S. Wilson <msw@rpath.com>
858 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
860 (PlaceImage, tiff2ps_process_page): use
861 g_ascii_dtostr to convert floats to strings in a locale-safe way.
864 2005-07-04 Martin Kretzschmar <martink@gnome.org>
866 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
867 (main): to call gnome_authentication_manager_init. Should fix
870 * configure.ac: that requires libgnomeui 2.6.0.
872 2005-07-04 Matthew S. Wilson <msw@rpath.com>
874 * tiff/tiff-document.c (tiff_document_ps_export_begin)
875 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
876 use the new tiff2ps interfaces
878 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
879 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
881 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
882 structure instead of global variables. Remove use of static
883 variables in functions.
885 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
887 * shell/ev-page-action.c: unref the completion after setting it to the
890 2005-07-04 Matthew S. Wilson <msw@rpath.com>
892 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
895 2005-07-04 Matthew S. Wilson <msw@rpath.com>
897 * shell/ev-window.c (update_action_sensitivity): disable
898 File->Print if the document does not implement the ps exporter
901 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
905 * data/evince-properties.glade:
906 * properties/.cvsignore:
907 * properties/Makefile.am:
908 * properties/ev-properties-view.c: (ev_properties_view_dispose),
909 (ev_properties_view_class_init), (ev_properties_view_format_date),
910 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
911 (ev_properties_view_init), (ev_properties_view_new):
912 * properties/ev-properties-view.h:
914 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
915 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
916 (ev_properties_dialog_new):
917 * shell/ev-properties-dialog.h:
918 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
919 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
920 (update_progress_label), (job_fonts_finished_cb),
921 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
922 * shell/ev-properties-fonts.h:
923 * shell/ev-properties.c:
924 * shell/ev-properties.h:
925 * shell/ev-window.c: (ev_window_setup_document),
926 (ev_window_cmd_file_properties):
928 Split the properties pages in two different objects, depend
929 only on the backend where possible, use widgets instead
930 of gobject for the glade part, reimplement the dialog
932 I need this to implement nautilus properties page.
934 2005-07-03 Matthew S. Wilson <msw@rpath.com>
936 * tiff/tiff-document.c (tiff_document_ps_export_begin)
937 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
938 (tiff_document_document_ps_exporter_iface_init): implement the ps
939 exporter interface for tiff documents
941 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
942 libtiff to implement TIFF postscript export
944 * tiff/tiff2ps.h: added a header file for external tiff2ps
947 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
950 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
952 * shell/ev-view.c: (scroll_to_current_page),
953 (ev_view_set_fullscreen), (ev_view_set_presentation):
955 Scroll to current page when exit from presentation
957 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
959 * shell/ev-window.c: (update_document_mode),
960 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
961 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
962 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
964 Exit from fullscreen mode when switch to presentation. Fix for
967 2005-07-02 Matthew S. Wilson <msw@rpath.com>
969 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
970 return NULL if the document does not implement the selection
973 2005-07-02 Matthew S. Wilson <msw@rpath.com>
975 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
976 reported height by using the resolution aspect ratio
977 (tiff_document_render_pixbuf): scale the pixbuf using the
978 resolution aspect ratio
980 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
984 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
985 <kiltedaco@gmail.com>
987 * djvu/djvu-document.c: (djvu_document_get_orientation),
988 (djvu_document_set_orientation), (djvu_document_get_page_size),
989 (rotate_pixbuf), (djvu_document_render_pixbuf),
990 (djvu_document_document_iface_init):
991 * dvi/dvi-document.c: (dvi_document_get_orientation),
992 (dvi_document_set_orientation), (dvi_document_get_page_size),
993 (rotate_pixbuf), (dvi_document_render_pixbuf),
994 (dvi_document_document_iface_init):
996 Dvi and djvu backends are ported to new API
998 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1000 * backend/ev-selection.c: (ev_selection_get_selection_region),
1001 (ev_selection_get_selection_map):
1002 * backend/ev-selection.h:
1003 * pdf/ev-poppler.cc:
1004 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1006 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1007 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1008 (ev_pixbuf_cache_get_text_mapping):
1009 * shell/ev-pixbuf-cache.h:
1010 * shell/ev-view.c: (location_in_text),
1011 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1012 support to EvView. Now we can see where we can select! Sweet!
1014 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1016 * shell/ev-view.c (ev_view_button_press_event): Fix
1017 event->y + view->scroll_x typo.
1019 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1021 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1022 sub-GdkPixbuf instead of passing dest_x and dest_y.
1024 * shell/ev-view.c: (view_point_to_doc_point),
1025 (view_rect_to_doc_rect), (ev_view_button_press_event),
1026 (ev_view_motion_notify_event), (compute_new_selection_rect),
1027 (gdk_rectangle_point_in), (compute_new_selection_text),
1028 (compute_selections): Update selection code to keep the selection
1029 around as two points and not as a normalized rectangle, and fix
1030 page level selection in two-column mode.
1032 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1034 * shell/ev-window.c: (window_configure_event_cb):
1038 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1040 * pdf/ev-poppler.cc:
1044 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1046 * shell/Makefile.am:
1047 * shell/ev-metadata-manager.c: (item_free),
1048 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1049 (parse_value), (parseItem), (load_values),
1050 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1051 (save_values), (save_item), (get_oldest), (resize_items),
1052 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1053 * shell/ev-metadata-manager.h:
1055 Metadata manager from gedit but modified to use GValue, so that
1056 we dont need to keep converting from strings.
1060 ENABLE_METADATA conditional, on when dbus is on
1062 * shell/ev-application.c: (ev_application_open_uri):
1064 Show the window after load so that we can initialize
1065 window size before it's showed.
1067 * shell/ev-window.c: (ev_window_setup_from_metadata),
1068 (ev_window_open_uri), (window_configure_event_cb),
1071 Save and load metadata information about window size.
1072 Not yet keeping states in account.
1074 * shell/main.c: (main):
1076 Shutdown metadata manager.
1078 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1080 * shell/ev-application-service.xml:
1082 * shell/Makefile.am:
1083 * shell/ev-application.c:
1084 * shell/ev-application.h:
1085 * shell/ev-window.c:
1086 * shell/ev-window.h:
1089 Add an optional dbus interface (--enable-dbus).
1090 Rework application code, mainly to be easier to
1092 Do not open multiple windows with the same document,
1095 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1097 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1098 pixbuf iff it exists.
1100 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1103 * backend/ev-render-context.[ch]:
1104 * backend/ev-selection.[ch]:
1106 Massive changes. We now support text selection of pdfs, and not
1107 just rectangular selection. This is pretty broken still, but I
1108 want to get something into CVS.
1110 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1112 * pdf/ev-poppler.cc:
1114 Fix for Bug 309080: crash on window close.
1116 * shell/ev-page-action.c: (page_changed_cb):
1118 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1119 jensgr@gmx.net (Jens Granseuer).
1121 2005-06-25 Marcel Telka <marcel@telka.sk>
1123 * configure.in (ALL_LINGUAS): Added sk.
1125 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1127 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1130 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1137 * cut-n-paste/recent-files/Makefile.am:
1141 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1143 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1144 (pixbuf_document_set_orientation), (rotate_pixbuf),
1145 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1146 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1148 Implement rotation and cleanup the code a bit.
1150 * tiff/tiff-document.c: (tiff_document_get_page_size),
1151 (tiff_document_get_orientation), (tiff_document_set_orientation),
1152 (rotate_pixbuf), (tiff_document_render_pixbuf),
1153 (tiff_document_document_iface_init), (tiff_document_init):
1155 Implement rotation. Was the quicker solution for the release
1156 but we really need to share this code in the shell.
1158 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1160 * pdf/ev-poppler.cc:
1162 Enable rotation, require poppler cvs. Fix a leak.
1164 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1166 * shell/ev-window.c: (update_action_sensitivity):
1168 Make properties unsensitive if document backend doesn't provide
1171 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1173 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1174 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1175 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1176 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1177 (bitmap_flip_rotate_counter_clockwise):
1178 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1179 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1181 * dvi/mdvi-lib/common.h:
1182 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1183 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1184 (opendvi), (mdvi_reload), (mdvi_init_context),
1185 (mdvi_destroy_context), (mdvi_dopage), (special):
1186 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1187 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1188 (file_hash_free), (register_encoding), (parse_spec),
1189 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1190 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1191 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1192 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1193 (mdvi_register_font_type), (mdvi_unregister_font_type),
1194 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1195 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1196 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1197 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1198 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1199 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1200 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1201 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1202 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1203 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1204 (mdvi_unregister_special), (mdvi_flush_specials):
1205 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1207 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1208 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1209 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1210 (free_font_metrics), (flush_font_metrics):
1211 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1213 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1214 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1215 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1216 (dstring_insert), (dstring_new), (dstring_reset):
1217 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1219 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1220 avoid conflict with libtool on FC4
1222 * shell/ev-window.c: (ev_window_cmd_help_about):
1224 Update copyright year. Fix for bug 308828.
1226 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1228 * shell/ev-view.c: (add_scroll_binding_keypad),
1229 (ev_view_binding_activated), (ev_view_class_init),
1230 (on_adjustment_value_changed):
1232 Bug 170874: Arrow keys switch pages in presentation mode
1234 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1236 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1238 Fix for Bug 308265: Sidebar dissappears coming out of
1241 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1243 * shell/ev-application.c: (ev_application_open):
1244 * shell/ev-document-types.c: (ev_document_types_add_filters),
1245 (ev_document_types_add_filters_for_type):
1246 * shell/ev-document-types.h:
1247 * shell/ev-window.c: (ev_window_cmd_save_as):
1249 Suggest basename as template when saving, provide filters
1250 for save dialog. It's bug 308402
1252 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1254 * pdf/ev-poppler.cc:
1255 * shell/ev-sidebar-links.c: (job_finished_callback):
1256 * shell/ev-view.c: (update_find_status_message):
1260 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1262 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1263 (egg_recent_view_uimanager_set_list):
1265 Fix buglet in !show_numbers case.
1267 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1269 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1270 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1272 Use pango ellipsisation.
1274 * pdf/ev-poppler.cc:
1276 Fix refcount leak, from nsh.
1278 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1280 * cut-n-paste/recent-files/Makefile.am:
1281 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1282 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1284 Removed EggRecentViewGtk
1286 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1287 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1288 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1289 (ev_window_setup_recent):
1291 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1294 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1296 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1297 (egg_recent_view_gtk_finalize):
1301 * cut-n-paste/toolbar-editor/Makefile.am:
1303 Fix location of cursor icon.
1305 * pdf/ev-poppler.cc:
1306 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1307 (display_completion_text), (match_completion):
1308 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1309 (selection_changed_callback), (create_loading_model),
1310 (print_section_cb), (links_page_num_func),
1311 (update_page_callback_foreach):
1312 * shell/ev-window.c: (ev_window_dispose):
1314 Small memory fixes. Links model now store objects instead
1315 of pointers to improve memory management.
1317 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1319 * shell/ev-window.c: (zoom_control_changed_cb):
1321 Fix update of zoom control (bug 308268).
1323 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1325 * shell/ev-properties.c (set_property): escape the text correctly.
1326 Handles non-UTF-8 properties and escaped properties. Also, sets
1327 the text to "<i>None</i>" if the property isn't set.
1329 * data/evince-properties.glade: Change the label to be ellipsized,
1330 and give it a minimum size.
1332 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1334 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1335 * shell/ev-sidebar-links.c: (create_loading_model):
1336 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1337 * shell/ev-view.c: (ev_view_set_document):
1338 * shell/ev-window.c: (ev_window_dispose):
1340 Various small fixes, mostly memory leaks. Thanks to valgrind.
1342 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1344 * ps/ps-document.c: remove the locale.h include again ;-). And
1345 kill the (bogus) setlocale/savelocale business.
1347 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1351 Include locale.h to fix build
1353 * shell/ev-sidebar.c:
1355 Remove unnecessary includes
1357 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1359 * dvi/dvi-document.c: (dvi_document_load):
1360 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1363 Check for incorrect dvi files. Fix parsing dvi on AMD64
1364 platform. Thanks to tester@tester.ca (Olivier Crete).
1366 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1368 * shell/ev-page-action.c: (match_selected_cb),
1369 (display_completion_text), (match_completion), (update_model):
1370 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1371 (expand_open_links):
1372 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1373 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1374 (ev_sidebar_set_document):
1375 * shell/ev-window.c: (ev_window_xfer_job_cb),
1376 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1378 Fixed lot's of memory leaks, for example, memory leak on reload,
1379 described in bug 307793.
1381 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1383 * pdf/ev-poppler.cc:
1384 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1385 (update_visible_range), (adjustment_changed_cb),
1386 (ev_sidebar_thumbnails_fill_model),
1387 (ev_sidebar_thumbnails_refresh),
1388 (ev_sidebar_tree_selection_changed),
1389 (ev_sidebar_icon_selection_changed),
1390 (ev_sidebar_thumbnails_use_icon_view),
1391 (ev_sidebar_thumbnails_set_document):
1392 * shell/ev-sidebar-thumbnails.h:
1393 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1394 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1396 Refresh thumbnails when changing orientation. Not fully
1397 working yet becuase of a sidebar bug.
1399 Set page orientation to poppler page everywhere. This sucks
1400 really need to fix poppler.
1402 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1404 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1405 (egg_recent_view_gtk_new_menu_item),
1406 (egg_recent_view_gtk_set_property),
1407 (egg_recent_view_gtk_get_property),
1408 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1409 (egg_recent_view_gtk_set_tooltip_func),
1410 (egg_recent_view_gtk_set_label_width),
1411 (egg_recent_view_gtk_get_label_width):
1412 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1414 Sync with libegg (ellipsize labels)
1416 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1418 * data/evince-ui.xml:
1419 * shell/ev-window.c: (ev_window_cmd_go_forward),
1420 (ev_window_cmd_go_backward):
1422 Shift + PageUp moves 10 Pages. Fix for 306125
1424 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1426 * pdf/ev-poppler.cc:
1428 Add a flag to check if orientation has been overriden
1430 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1432 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1435 * ps/ps.h: add creator field to document.
1437 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1440 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1442 * data/evince-properties.glade:
1443 * shell/ev-properties.c: (ev_properties_set_document):
1445 s/PDF Version/Format
1447 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1449 * shell/ev-properties.c: (ev_properties_set_document):
1451 Remove unnecessary translations
1453 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1455 * cut-n-paste/toolbar-editor/Makefile.am:
1457 Correct library name
1459 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1462 * cut-n-paste/recent-files/egg-recent-model.c:
1463 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1464 (egg_recent_model_unlock_file):
1465 * cut-n-paste/recent-files/egg-recent-util.c:
1466 (egg_recent_util_get_unique_id):
1467 * cut-n-paste/recent-files/update-from-egg.sh:
1468 * cut-n-paste/toolbar-editor/Makefile.am:
1469 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1470 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1471 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1472 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1473 (egg_toolbars_model_get_type):
1474 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1476 Better makefile for toolbar editor and update everything
1479 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1481 * shell/ev-window.c: (update_document_mode):
1483 Prefer presentation mode when the document
1486 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1488 * data/evince-ui.xml:
1489 * shell/ev-window.c:
1491 Add control-equal for zooming
1493 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1495 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1497 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1499 * backend/ev-document.c: (ev_document_get_orientation):
1500 * backend/ev-document.h:
1501 * pdf/ev-poppler.cc:
1502 * ps/ps-document.c: (ps_document_get_orientation),
1503 (ps_document_set_orientation), (ps_document_document_iface_init):
1505 Add a get_orientation api. Improve set_orientation.
1507 * data/evince-ui.xml:
1508 * shell/ev-view.c: (ev_view_set_orientation),
1509 (ev_view_rotate_right), (ev_view_rotate_left):
1511 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1512 (ev_window_cmd_edit_rotate_right):
1514 Better ui for changing document orientation
1516 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1518 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1519 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1520 * shell/ev-sidebar-links.h:
1521 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1522 (ev_sidebar_page_iface_init):
1523 * shell/ev-sidebar-page.h:
1524 * shell/ev-sidebar-thumbnails.c:
1525 (ev_sidebar_thumbnails_get_property),
1526 (ev_sidebar_thumbnails_class_init),
1527 (ev_sidebar_thumbnails_set_document):
1528 * shell/ev-sidebar-thumbnails.h:
1529 * shell/ev-view.c: (ev_view_motion_notify_event):
1530 * shell/ev-window.c: (update_chrome_visibility),
1531 (ev_window_cmd_focus_page_selector),
1532 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1533 (sidebar_page_main_widget_update_cb), (ev_window_init):
1535 Autoraise toolbar on GoToPage binding and fix bindings in
1536 EvSidebarThumbnails page.
1538 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1540 * shell/ev-properties.c: (update_progress_label):
1542 Hide the progress label when finished; bug #307697.
1544 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1546 * pdf/ev-poppler.cc:
1548 Enable is_open for links, you will need poppler cvs
1550 * shell/ev-properties.c: (job_fonts_finished_cb):
1552 Get a lock on the document when filling the tree view
1554 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1556 * backend/ev-document-links.h:
1557 * pdf/ev-poppler.cc:
1558 * shell/ev-sidebar-links.c: (create_loading_model),
1559 (expand_open_links), (job_finished_callback):
1561 Expand links when specified by the document.
1562 Depend on a poppler api (defined out for now)
1564 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1566 * shell/ev-properties.c: (ev_properties_dispose),
1567 (ev_properties_class_init), (dialog_destroy_cb),
1568 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1569 (ev_properties_set_document), (ev_properties_new),
1570 (ev_properties_show):
1571 * shell/ev-properties.h:
1573 Make it an object, cleanup the code, api to show it as transient
1574 and to set the document.
1576 * shell/ev-window.c: (ev_window_setup_document),
1577 (ev_window_cmd_file_properties):
1579 Adapt to EvProperties changes, do not show multiple
1580 times, update it when document changes.
1582 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1585 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1586 (ps_document_set_orientation), (ps_document_document_iface_init):
1589 Implement orientation here too
1591 * shell/ev-properties.c: (ev_properties_new):
1592 * data/evince-properties.glade:
1594 Hide the fonts page for backends that doesnt
1597 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1599 * backend/ev-document.c: (ev_document_set_orientation):
1600 * backend/ev-document.h:
1601 * pdf/ev-poppler.cc:
1603 Add orientation api. Currently poppler api is not optimal,
1604 we need to set orientation every time we _get a page.
1605 I will try to fix that at some point.
1607 * data/evince-ui.xml:
1608 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1609 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1611 Add orientation menu items
1613 * shell/ev-page-cache.c: (ev_page_cache_clear):
1614 * shell/ev-page-cache.h:
1616 Add api to clear the cache
1618 * shell/ev-view.c: (setup_caches), (clear_caches),
1619 (ev_view_set_document), (ev_view_zoom_out),
1620 (ev_view_set_orientation):
1623 Implement orientation changing
1625 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1627 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1628 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1629 * backend/ev-document-fonts.h:
1631 Separate scan and fill so that we can incrementally fill from
1632 the main thread. Add a progress api.
1634 * data/evince-properties.glade:
1635 * pdf/ev-poppler.cc:
1636 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1638 * shell/ev-properties.c: (update_progress_label),
1639 (job_fonts_finished_cb), (setup_fonts_view):
1641 Incrementally feel the list and show the progress
1642 percentage in a label like acrobat does.
1644 You are going to need poppler cvs
1646 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1648 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1649 * backend/ev-document-fonts.h:
1650 * pdf/ev-poppler.cc:
1652 Make fonts model fill incrementally.
1654 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1655 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1656 (ev_job_queue_remove_job):
1657 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1658 (ev_job_fonts_new), (ev_job_fonts_run):
1661 New job for fonts scanning
1663 * shell/ev-properties.c: (job_fonts_finished_cb),
1664 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1665 * shell/ev-properties.h:
1666 * shell/ev-window.c: (ev_window_cmd_file_properties):
1668 Incrementally feel the treeview using the new job. Show Loading...
1669 message until scanning is completed.
1671 Hopefully I didnt break the build without the poppler patch.
1673 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1675 * shell/ev-application.c: (ev_application_open):
1676 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1677 (ev_document_type_get_type), (ev_document_type_lookup):
1678 * shell/ev-document-types.h:
1679 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1680 * shell/ev-job-xfer.h:
1681 * shell/ev-window.c: (ev_window_clear_local_uri),
1682 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1683 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1684 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1686 Transfer remote documents to tmp directory to display them later.
1688 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1690 * backend/ev-document-info.h:
1691 * shell/ev-properties.c: (ev_properties_new):
1693 s/GTime*/GTime. Not sure why we was using a pointer
1696 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1698 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1699 situations. That situation is that you're using GTK+-HEAD with
1700 the patch at #306726 is applied, and you have a document with <
1701 1500 pages in it. It's not quite as uniformly nice as the
1702 TreeView, but should be better in the long run.
1704 I'm pretty sure I guarded against breaking compilation with
1705 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1708 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1709 widget yet, so I commented that code out
1710 enable_view_actions_for_widget() for now. Need to figure this
1713 * shell/ev-page-action.c (match_selected_cb): emit the right
1714 signals. Our cool C-l completion now works.
1716 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1718 * backend/Makefile.am:
1719 * backend/ev-document-fonts.c:
1720 * backend/ev-document-links.c:
1721 * backend/ev-document.c: (ev_document_load):
1722 * backend/ev-document.h:
1723 * backend/ev-job-queue.c:
1724 * backend/ev-job-queue.h:
1725 * backend/ev-jobs.c:
1726 * backend/ev-jobs.h:
1727 * backend/ev-page-cache.c:
1728 * backend/ev-page-cache.h:
1730 EvPageCache and EvJobs are moved to shell.
1732 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1734 * lib/ev-file-helpers.h:
1736 New helper to work with temporary files
1738 * shell/Makefile.am:
1739 * shell/ev-application.c: (ev_application_open):
1740 * shell/ev-application.h:
1741 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1742 (remove_job_from_async_queue), (add_job_to_async_queue),
1743 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1744 (handle_job), (search_for_jobs_unlocked),
1745 (no_jobs_available_unlocked), (ev_render_thread),
1746 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1747 (ev_job_queue_add_job), (move_job_async), (move_job),
1748 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1749 * shell/ev-job-queue.h:
1750 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1751 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1752 * shell/ev-job-xfer.h:
1753 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1754 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1755 (ev_job_links_class_init), (ev_job_render_init),
1756 (ev_job_render_dispose), (ev_job_render_class_init),
1757 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1758 (ev_job_thumbnail_class_init), (ev_job_load_init),
1759 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1760 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1761 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1762 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1764 * shell/ev-page-action.c: (ev_page_action_set_document):
1765 * shell/ev-page-cache.c: (ev_page_cache_init),
1766 (ev_page_cache_class_init), (ev_page_cache_finalize),
1767 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1768 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1769 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1770 (ev_page_cache_get_title), (ev_page_cache_get_size),
1771 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1772 (ev_page_cache_get_height_to_page),
1773 (ev_page_cache_get_max_label_chars),
1774 (ev_page_cache_get_page_label),
1775 (ev_page_cache_has_nonnumeric_page_labels),
1776 (ev_page_cache_get_info), (ev_page_cache_next_page),
1777 (ev_page_cache_prev_page), (ev_page_cache_get):
1778 * shell/ev-page-cache.h:
1779 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1780 (ev_pixbuf_cache_clear_job_sizes),
1781 (ev_pixbuf_cache_add_jobs_if_needed),
1782 (ev_pixbuf_cache_set_page_range):
1783 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1784 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1785 * shell/ev-sidebar-thumbnails.c:
1786 (ev_sidebar_tree_selection_changed),
1787 (ev_sidebar_thumbnails_set_document):
1788 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1789 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1790 (ev_statusbar_get_context_id), (ev_statusbar_push),
1791 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1792 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1793 (ev_statusbar_set_progress):
1794 * shell/ev-statusbar.h:
1795 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1796 (ev_view_find_previous):
1797 * shell/ev-window.c: (ev_window_is_empty),
1798 (ev_window_setup_document), (password_dialog_response),
1799 (ev_window_clear_jobs), (ev_window_load_job_cb),
1800 (ev_window_xfer_job_cb), (ev_window_open_uri),
1801 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1802 (ev_window_print), (ev_window_print_range),
1803 (ev_window_state_event), (ev_window_cmd_view_reload),
1804 (menu_item_select_cb), (menu_item_deselect_cb),
1805 (view_status_changed_cb), (ev_window_dispose),
1806 (drag_data_received_cb), (ev_window_init):
1807 * shell/ev-window.h:
1808 * shell/main.c: (load_files):
1810 New statusbar to show progress on idle. Two new jobs -
1811 xfer job and load job to load document in background. And update
1812 of page_cache clients to new location of code.
1814 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1816 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1817 selection in open dialog. It also remembers the last visited directory
1818 in the current session.
1820 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1822 * shell/ev-properties.c: (ev_properties_new):
1823 * shell/ev-properties.h:
1824 * shell/ev-window.c: (ev_window_cmd_file_properties):
1826 Get document info from page cache instead of document itself.
1827 This should fix crash related to race conditions described in
1830 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1832 * ps/ps-document.c: (ps_document_init),
1833 (send_ps), (get_page_box), (output), (catchPipe), (input),
1834 (stop_interpreter), (file_length), (file_readable),
1835 (check_filecompressedb), (ps_document_enable_interpreter),
1836 (document_load), (ps_async_renderer_render_pixbuf):
1839 Big cleanup of the ps code
1841 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1843 * backend/Makefile.am:
1844 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1845 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1846 * backend/ev-async-renderer.h:
1848 Add an async renderer interface (method + callback) which
1849 is useful for backends like ps.
1851 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1852 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1853 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1854 (ev_job_queue_add_job), (move_job_async), (move_job),
1855 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1857 Add queues for async renderer, these are executed on the
1860 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1861 (ev_job_render_run):
1862 * backend/ev-jobs.h:
1864 If the backend support async renderer interface use it.
1866 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1867 (setup_pixmap), (ps_document_get_type),
1868 (ps_async_renderer_render_pixbuf),
1869 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1871 Implement async renderer interface.
1873 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1875 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1877 Cleanup links job on exit.
1879 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1881 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1882 (drag_data_get_cb), (drag_data_received_cb):
1883 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1884 (drag_data_get_cb), (parse_item_list),
1885 (egg_toolbar_editor_load_actions):
1886 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1887 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1888 (parse_item_list), (parse_toolbars):
1889 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1890 (dvi_pixbuf_put_pixel):
1892 Fix gcc 4.0 warnings
1894 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1896 * ps/ps-document.c: (start_interpreter):
1898 Fix warning when loading ps
1900 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1902 * ps/ps-document.c: (output):
1904 Fix crash when priting gs error messages.
1906 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1908 * backend/ev-page-cache.c: (_ev_page_cache_new):
1909 * backend/ev-page-cache.h:
1911 Use a const to return title so that we dont double
1912 free it. Small cleanup and fix a leak.
1914 * shell/ev-window.c: (update_window_title):
1916 strdup value from get_title.
1918 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1920 * shell/ev-sidebar-links.c: (job_finished_callback),
1921 (ev_sidebar_links_set_document):
1923 Cleanup the old job when changing document
1925 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1927 * shell/ev-stock-icons.c:
1928 * shell/ev-stock-icons.h:
1929 * shell/ev-window.c:
1931 Add stock icons for actions that can appear in toolbar. Fix for
1934 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1936 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1937 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1938 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1939 * backend/ev-page-cache.h:
1940 * shell/ev-view.c: (scroll_to_current_page),
1941 (view_update_range_and_current_page), (get_page_y_offset),
1942 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1943 (ev_view_size_request_continuous),
1944 (ev_view_zoom_for_size_continuous_and_dual_page),
1945 (ev_view_zoom_for_size_continuous):
1947 More compact EvView layout in document with pages of different size.
1949 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1951 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1954 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1956 * shell/ev-view.c: (view_set_adjustment_values):
1957 * shell/ev-window.c: (ev_window_cmd_file_properties):
1959 A bit different fix for rounding problem but it has no
1960 problems on startup. Make properties window transient to parent.
1962 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1964 * pdf/ev-poppler.cc:
1966 More commenting of font stuff.
1968 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1970 * pdf/ev-poppler.cc:
1972 Comment out some more fonts stuff. Should really
1973 work without the poppler patch now.
1975 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1977 * pdf/ev-poppler.cc:
1981 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1983 * data/evince-properties.glade:
1984 * pdf/ev-poppler.cc:
1985 * shell/ev-properties.c: (setup_fonts_view):
1987 Set the column title. Show the dialog only
1988 once everything is setup.
1989 Getting font info can be very slow... will
1990 prolly need to make this threaded too.
1992 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1994 * backend/Makefile.am:
1995 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1996 (ev_document_fonts_get_fonts_model):
1997 * backend/ev-document-fonts.h:
1998 * data/evince-properties.glade:
1999 * pdf/ev-poppler.cc:
2000 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2001 * shell/ev-properties.h:
2002 * shell/ev-window.c: (ev_window_cmd_file_properties):
2004 Implement fonts list. Defined out for now, since it depends
2005 on a not yet committed poppler patch.
2007 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2009 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2012 * shell/ev-window.c: Make sure we add the timeout when we get a
2015 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2016 adjustment->value before calculating the zoom factor to average
2017 out all of our rounding errors. The page no longer 'drifts' when
2020 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2022 * data/evince-properties.glade:
2023 * shell/ev-properties.c: (ev_properties_format_date),
2026 Labels don't expand when the dialogue is resized.
2027 strftime result needs to be converted to UTF-8. Thanks
2028 to Christian Persch <chpe@gnome.org>.
2030 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2032 * data/evince-properties.glade:
2036 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2038 * backend/ev-document-info.h:
2039 * backend/ev-document.c: (ev_document_info_free):
2040 * data/evince-properties.glade:
2041 * pdf/ev-poppler.cc:
2042 * ps/ps-document.c: (ps_document_get_info):
2043 * shell/ev-properties.c: (ev_properties_format_date),
2044 (set_property), (ev_properties_new):
2045 * shell/ev-properties.h:
2046 * shell/ev-window.c: (ev_window_cmd_file_properties):
2048 Rework properties code to take only EvPropertyInfo
2049 in the constructor so that it can be useful for
2050 nautilus plugin too.
2052 Deal with backends that doesnt support some properties.
2053 Make set property code generic.
2055 2005-06-04 Christian Persch <chpe@gnome.org>
2057 * data/evince-properties.glade:
2059 fix spacings, make resizeable, and make data labels
2060 selectable + ellipsised
2062 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2064 * backend/ev-document-info.h:
2066 * data/evince-ui.xml:
2067 * pdf/ev-poppler.cc:
2068 * shell/Makefile.am:
2069 * shell/ev-window.c: (update_action_sensitivity),
2070 (ev_window_cmd_file_properties):
2072 Initial go at file properties. Patch by
2073 Emil Soleyman-Zomalan <emil@soleyman.com>.
2074 Needs love see #169583
2076 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2078 * ps/ps-document.c: (output):
2079 * ps/ps.c: (psscan):
2081 Try to render even if psscan fails.
2083 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2085 * ps/ps.c: (psscan), (pscopydoc):
2087 Port buffered reading code from gv
2089 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2091 * ps/ps-document.c: (interpreter_message), (output):
2093 Do not fail on interpreter messages
2095 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2097 * backend/ev-document-misc.c:
2098 (ev_document_misc_get_thumbnail_frame):
2100 Pages can be 0 x 0, dont assert on this case
2102 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2104 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2105 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2107 Correctly manage our reference on document. Finally the reload
2108 huge leak is gone...
2110 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2112 * ps/ps-document.c: (ps_document_dispose):
2114 Forgot to chain it to the parent. Thanks chpe.
2116 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2118 * ps/ps-document.c: (ps_document_dispose),
2119 (ps_document_class_init), (stop_interpreter), (document_load):
2121 Cleanup dispose a bit. Dont leak the whole pixmap.
2123 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2125 * pdf/ev-poppler.cc:
2127 Release the poppler document on dispose
2129 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2131 * shell/ev-view.c: (ev_view_set_document):
2133 Release ref on the pixbuf cache when changing
2136 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2138 * ps/ps-document.c: (ps_document_get_info):
2142 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2144 * backend/ev-page-cache.c: (ev_page_cache_init),
2145 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2146 * backend/ev-page-cache.h:
2147 * shell/ev-page-action.c: (page_changed_cb):
2149 Set page action entry width depending on labels width. Fix
2152 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2154 * backend/ev-link.c: (ev_link_class_init):
2156 Allow -1 as page value (error)
2158 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2160 * shell/ev-sidebar-thumbnails.c:
2161 (ev_sidebar_thumbnails_set_document):
2162 * shell/ev-view.c: (scroll_to_current_page),
2163 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2164 (page_changed_cb), (on_adjustment_value_changed),
2165 (ev_view_set_document):
2167 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2170 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2173 * djvu/djvu-document.c: (djvu_document_get_page_size):
2175 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2178 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2180 * shell/ev-view.c (draw_one_page): modify the expose handling to
2183 * shell/ev-window.c (update_action_sensitivity): Respect
2184 permissions field. Kowtow to the man.
2186 * pdf/ev-poppler.cc: Get the permissions field.
2188 * tiff/*c: Make a tiny bit more robust.
2190 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2192 * djvu/djvu-document.c:
2194 Pop messages from djvu context message queue.
2196 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2198 * configure.ac, Makefile.am, shell/Makefile.am:
2199 * tiff/Makefile.am, shell/ev-document-types.c:
2201 Cleanup tiff configure checks. Fix for bug 305218.
2203 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2205 * configure.ac: Added "uk" to ALL_LINGUAS.
2207 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2209 * cut-n-paste/zoom-control/ephy-zoom.c:
2210 (ephy_zoom_get_changed_zoom_level):
2211 * cut-n-paste/zoom-control/ephy-zoom.h:
2212 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2213 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2214 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2215 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2216 (zoom_control_changed_cb), (ev_window_init):
2218 Fix minor points related to moving best fit up. Introduce
2219 "zoom" property and make zoom control change it's value on
2220 notify::zoom signals. Fix for 305080.
2222 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2224 * data/evince-ui.xml:
2225 * shell/ev-window.c: (set_view_actions_sensitivity):
2227 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2229 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2233 Depends on poppler 0.3.2
2235 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2237 * cut-n-paste/recent-files/egg-recent-item.c:
2238 (egg_recent_item_get_short_name):
2239 * cut-n-paste/toolbar-editor/Makefile.am:
2240 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2241 (new_pixbuf_from_widget):
2242 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2243 * cut-n-paste/toolbar-editor/egg-marshal.c:
2244 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2245 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2249 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2251 * tiff/tiff-document.c: Rough TIFF backend.
2253 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2257 * cut-n-paste/toolbar-editor/Makefile.am:
2261 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2263 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2264 (ev_view_find_next), (ev_view_find_previous):
2266 Remove the locks around get_n_results
2268 2005-05-21 Juerg Billeter <j@bitron.ch>
2270 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2272 Pass correct number of pages to poppler.
2274 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2278 * data/evince.desktop.in:
2279 * data/evince.desktop.in.in:
2282 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2284 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2286 * shell/ev-view.c: (view_update_adjustments),
2287 (view_set_adjustment_values): cast adjustmen->value to (int)
2288 before using it. Otherwise, we get off by a pixel in some
2291 (draw_one_page): Draw the border on expose.
2293 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2295 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2296 adjustment when the mode changes, #304923
2298 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2300 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2301 flickering on resize but still use gdk_window_scroll on
2304 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2306 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2309 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2311 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2312 second page on page_changed if possible, #304669
2314 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2316 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2317 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2319 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2322 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2323 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2324 (ev_view_zoom_for_size_presentation),
2325 (ev_view_zoom_for_size_continuous_and_dual_page),
2326 (ev_view_zoom_for_size_continuous),
2327 (ev_view_zoom_for_size_dual_page),
2328 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2330 * shell/ev-window.c: (update_view_size),
2331 (ev_window_sizing_mode_changed_cb):
2333 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2334 the scrollbars. It's not 100% right, but it's much closer. Kills
2335 an infinite loop, #304769
2338 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2340 * data/evince-ui.xml:
2341 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2342 * shell/ev-window.c: (set_view_actions_sensitivity):
2344 Make PgUp/Down behave like Space
2346 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2348 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2349 * backend/ev-ps-exporter.h:
2350 * pdf/ev-poppler.cc:
2351 * ps/ps-document.c: (ps_document_ps_export_begin):
2352 * shell/ev-print-job.c: (idle_print_handler):
2354 Adapt to new poppler api
2356 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2358 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2359 (ephy_zoom_control_init):
2361 Translate zoom levels
2363 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2365 * cut-n-paste/zoom-control/ephy-zoom.c:
2366 (ephy_zoom_get_zoom_level_index):
2368 Fix current zoom -> zoom control match
2370 2005-05-18 James Bowes <bowes@cs.dal.ca>
2372 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2373 rather than the scrolled_window that it's in. Fixes bug #304655.
2375 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2377 * shell/ev-view.c: (view_update_adjustments),
2378 (view_set_adjustment_values), (view_update_range_and_current_page),
2379 (view_scroll_to_page), (set_scroll_adjustment),
2380 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2381 (ev_view_scroll), (ev_view_scroll_view),
2382 (ensure_rectangle_is_visible), (find_page_at_location),
2383 (get_link_at_location), (go_to_link), (status_message_from_link),
2384 (ev_view_size_request_continuous_dual_page),
2385 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2386 (ev_view_unrealize), (ev_view_expose_event),
2387 (ev_view_button_press_event), (ev_view_motion_notify_event),
2388 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2389 (draw_rubberband), (highlight_find_results), (draw_one_page),
2390 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2391 (ev_view_init), (find_changed_cb), (page_changed_cb),
2392 (on_adjustment_value_changed), (ev_view_new),
2393 (ev_view_set_document), (ev_view_set_zoom),
2394 (ev_view_set_continuous), (ev_view_set_dual_page),
2395 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2396 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2397 (ev_view_zoom_for_size_presentation),
2398 (ev_view_zoom_for_size_continuous_dual_page),
2399 (ev_view_zoom_for_size_continuous),
2400 (ev_view_zoom_for_size_dual_page),
2401 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2402 (ev_view_get_status), (ev_view_set_status),
2403 (update_find_status_message), (ev_view_get_find_status),
2404 (ev_view_set_find_status), (jump_to_find_result),
2405 (jump_to_find_page), (compute_selections), (clear_selection),
2406 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2407 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2408 (ev_view_update_primary_selection),
2409 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2411 * shell/ev-window.c: (ev_window_open_page_label),
2412 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2414 * shell/ev-window.h:
2415 * shell/main.c: (load_files):
2417 Massive code clean up from Nickolay Shmyrev. Keep page offset
2418 when resizing. Remove the bin_window(). Also, patch from James
2419 Bowes to fix command line page, #300641
2421 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2423 * data/evince-ui.xml:
2426 * shell/ev-window.c: (update_action_sensitivity):
2428 Get rid of View->Normal Size, it's just confusing
2430 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2432 * backend/ev-document-info.h:
2433 * backend/ev-document.c: (ev_document_info_free): Free the
2436 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2437 (clear_range), (add_range), (update_visible_range),
2438 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2439 (ev_sidebar_thumbnails_set_document):
2440 * shell/ev-window.c: (ev_window_setup_document): Only render the
2441 visible thumbnails. It takes an instant to render, but it uses
2444 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2446 * shell/ev-sidebar-links.c: (popup_menu_cb):
2450 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2453 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2454 (button_press_cb), (ev_sidebar_links_construct):
2456 Show the popup menu also on keybindings
2458 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2460 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2461 * shell/ev-window.h:
2463 Expose api to print a range (with dialog). Make private _print use
2466 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2467 (ev_sidebar_links_construct):
2469 Show a print context menu on linkx, it prints the selected
2472 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2474 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2477 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2483 * shell/ev-window.c: (build_comments_string),
2484 (ev_window_cmd_help_about):
2486 Show poppler version/backend and authors
2488 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2490 * cut-n-paste/zoom-control/ephy-zoom.c:
2491 (ephy_zoom_get_zoom_level_index):
2492 * cut-n-paste/zoom-control/ephy-zoom.h:
2494 Move the best fit items at the top of the list
2496 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2498 * shell/ev-marshal.list:
2499 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2500 (activate_cb), (match_selected_cb), (activate_link_cb),
2501 (connect_proxy), (ev_page_action_class_init):
2502 * shell/ev-page-action.h:
2504 Use signals to notify action activation. Hopefully
2505 I did not break completion since I cant test...
2507 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2508 (register_custom_actions):
2510 Connect to page selector actions and also grab focus on
2511 the view when activated.
2513 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2515 * pdf/ev-poppler.cc:
2516 * backend/ev-page-cache.c: make page size calculation consistent
2517 and set it to (int)( width * scale + 0.5). This makes the weird
2518 line going through the middle of the page go away.
2520 * shell/ev-view.c: move painting the background page after
2521 checking the expose area covers us.
2523 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2525 * data/evince-password.glade:
2527 Mark labels as not translatable. Fix for bug 302842.
2529 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2531 * configure.ac: Added "es" to ALL_LINGUAS.
2533 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2535 * data/evince-toolbar.xml:
2536 * shell/ev-window.c: (update_action_sensitivity),
2537 (ev_window_setup_document), (ev_window_set_page_mode),
2540 Remove some leftover code from jrb first continous
2541 attempt. Use the new actions, we still need good icons
2544 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2546 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2548 Update label when connecting proxy. Fix a warning with NULL
2551 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2553 * data/evince-ui.xml:
2554 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2555 * shell/ev-page-action.h:
2556 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2558 Add mnemonic for edit toolbar.
2559 ctrl+l focus the page entry.
2561 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2564 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2566 * shell/main.c: (main):
2568 Put the toolbar xml in evince own dot dir
2570 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2572 * shell/ev-window.c: (ev_window_init):
2574 Make the toolbar not removable
2576 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2578 * data/evince-ui.xml:
2579 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2580 * shell/ev-sidebar-links.h:
2581 * shell/ev-sidebar-thumbnails.c:
2582 (ev_sidebar_thumbnails_get_treeview):
2583 * shell/ev-sidebar-thumbnails.h:
2584 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2585 (ev_view_class_init):
2587 * shell/ev-window.c: (update_action_sensitivity),
2588 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2589 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2590 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2593 This is evil... Make space/backspace global accelerators but
2594 enable them only for some widgets (sidebars and view).
2595 I dont like it, but I dont know a better way... :/
2597 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2599 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2600 (ev_page_action_widget_finalize),
2601 (ev_page_action_widget_class_init), (update_page_cache):
2603 Keep a weak reference on proxy->page_cache so that we
2604 dont try to disconnect the signal if the object is already
2605 gone. Maybe there is a better way to cleanup reference handling
2606 in page action though...
2608 2005-05-10 Juerg Billeter <j@bitron.ch>
2610 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2611 * backend/ev-ps-exporter.h:
2612 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2613 * ps/ps-document.c: (ps_document_ps_export_begin):
2615 Change api to pass print range to ps_exporter_begin. The pdf backend
2616 requires this information.
2618 * shell/ev-print-job.c: (idle_print_handler):
2622 2005-05-10 Juerg Billeter <j@bitron.ch>
2624 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2625 (idle_print_handler)
2626 * shell/ev-window.c: (ev_window_print):
2628 Support printing page range, based on patch by Amaury Jacquot
2630 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2632 * data/evince-toolbar.xml:
2634 Add zoom control to available items
2636 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2638 * shell/ev-window.c: (update_action_sensitivity):
2640 Set slash action insensitive when appropriate
2642 2005-05-10 Christian Persch <chpe@gnome.org>
2644 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2646 Fix warning on the overflow menu
2648 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2650 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2652 Check for uri correctness/existence
2654 2005-05-09 Juerg Billeter <j@bitron.ch>
2656 * shell/ev-window.c: (using_postscript_printer):
2658 LPD printers use postscript, too
2660 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2662 * shell/ev-window.c: (register_custom_actions):
2664 The zoom one is actually sort of useful,
2667 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2669 * shell/ev-window.c: (register_custom_actions):
2671 Hide page/zoom controls from overflow, they
2674 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2676 * cut-n-paste/update-from-egg.sh:
2678 Share it between all cut-n-paste subdirs
2680 * cut-n-paste/recent-files/Makefile.am:
2682 Fix to use "global" update-from-egg.sh
2684 * cut-n-paste/recent-files/egg-recent-model.c:
2685 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2686 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2687 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2688 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2692 * cut-n-paste/toolbar-editor/Makefile.am:
2694 Fix to use "global" update-from-egg.sh
2696 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2700 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2703 * cut-n-paste/Makefile.am:
2704 * cut-n-paste/recent-files/Makefile.am:
2705 * cut-n-paste/toolbar-editor/.cvsignore:
2706 * cut-n-paste/toolbar-editor/Makefile.am:
2707 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2708 (egg_editable_toolbar_get_type), (get_toolbar_position),
2709 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2710 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2711 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2712 (set_item_drag_source), (create_item_from_action), (create_item),
2713 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2714 (popup_toolbar_context_menu_cb), (free_dragged_item),
2715 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2716 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2717 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2718 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2719 (item_added_cb), (item_removed_cb),
2720 (egg_editable_toolbar_construct),
2721 (egg_editable_toolbar_disconnect_model),
2722 (egg_editable_toolbar_deconstruct),
2723 (egg_editable_toolbar_set_model),
2724 (egg_editable_toolbar_set_ui_manager),
2725 (egg_editable_toolbar_set_property),
2726 (egg_editable_toolbar_get_property),
2727 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2728 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2729 (egg_editable_toolbar_new_with_model),
2730 (egg_editable_toolbar_get_edit_mode),
2731 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2732 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2733 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2734 (new_pixbuf_from_widget), (new_separator_pixbuf),
2735 (update_separator_image), (style_set_cb),
2736 (_egg_editable_toolbar_new_separator_image),
2737 (egg_editable_toolbar_get_model):
2738 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2739 * cut-n-paste/toolbar-editor/egg-marshal.c:
2740 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2741 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2742 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2743 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2744 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2745 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2746 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2747 (editor_drag_data_delete_cb), (drag_data_get_cb),
2748 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2749 (editor_create_item), (update_editor_sheet), (setup_editor),
2750 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2751 (parse_item_list), (model_has_action), (update_actions_list),
2752 (egg_toolbar_editor_load_actions):
2753 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2754 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2755 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2756 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2757 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2758 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2759 (egg_toolbars_model_add_separator), (impl_add_item),
2760 (parse_item_list), (egg_toolbars_model_add_toolbar),
2761 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2762 (impl_get_item_data), (impl_get_item_type),
2763 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2764 (egg_toolbars_model_init), (free_toolbar),
2765 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2766 (egg_toolbars_model_remove_toolbar),
2767 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2768 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2769 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2770 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2771 (egg_toolbars_model_get_item_data),
2772 (egg_toolbars_model_get_item_type):
2773 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2774 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2776 * data/evince-toolbar.xml:
2777 * data/evince-ui.xml:
2778 * data/hand-open.png:
2780 * shell/Makefile.am:
2781 * shell/ev-window.c: (update_chrome_visibility),
2782 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2783 (ev_window_dispose), (ev_window_init):
2785 Implement epiphany like toolbar editor. Based on patch by
2786 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2788 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2790 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2792 Use set_cursor instead of set_selection, so that
2793 the keyboard focus moves too.
2795 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2797 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2799 Fix infinite loop when loading Type1 fonts
2801 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2803 * data/evince-ui.xml:
2804 * shell/ev-window.c:
2808 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2812 Make --disable really disable
2814 2005-05-07 Juerg Billeter <j@bitron.ch>
2816 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2818 Compare page labels even without has_labels set, fixes setting page
2821 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2823 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2824 (ev_view_set_cursor), (ev_view_button_press_event),
2825 (ev_view_motion_notify_event), (ev_view_button_release_event),
2828 Implement middle button scrolling. Based on a patch
2829 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2831 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2833 * shell/ev-document-types.c: (get_slow_mime_type),
2834 (get_document_type_from_mime), (ev_document_type_lookup):
2835 * shell/ev-document-types.h:
2837 Change api to lookup from uri. Do fast lookup first, if the
2838 type is unknown try with data sniffing.
2840 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2841 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2845 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2847 * thumbnailer/Makefile.am:
2851 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2858 * data/evince-ui.xml:
2860 Hide presentation mode for now
2862 * shell/ev-view.c: (highlight_find_results):
2864 Show current find selection only on current page
2866 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2868 * shell/ev-view.c: (ev_view_select_all):
2870 Compute size of the actual page, not of
2873 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2875 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2876 (view_rect_to_doc_rect), (compute_selections),
2877 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2878 (ev_view_copy), (ev_view_primary_get_cb),
2879 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2880 (ev_view_button_press_event), (ev_view_motion_notify_event),
2881 (ev_view_button_release_event), (page_changed_cb):
2885 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2887 * shell/ev-view.c: (compute_border), (get_page_extents),
2888 (doc_rect_to_view_rect), (highlight_find_results),
2889 (ev_view_bin_expose), (ev_view_select_all),
2890 (ev_view_motion_notify_event), (update_find_status_message),
2891 (jump_to_find_result), (jump_to_find_page):
2893 First go at fixing search, still buggy
2895 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2897 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2898 dropdown box and button at the top of the sidebar.
2900 2005-05-02 James Bowes <bowes@cs.dal.ca>
2902 * configure.ac: Output zoom-control Makefile.
2903 * cut-n-paste/Makefile.am: build zoom-control subdir.
2904 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2905 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2906 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2907 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2908 * cut-n-paste/zoom-control/ephy-zoom.c:
2909 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2910 from epiphany, and modified to add a separator into the menu.
2911 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2912 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2913 zoom-control action.
2914 * shell/Makefile.am: Include zoom-control flags.
2915 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2916 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2917 (ev_view_zoom_for_size_presentation),
2918 (ev_view_zoom_for_size_continuous_and_dual_page),
2919 (ev_view_zoom_for_size_continuous),
2920 (ev_view_zoom_for_size_dual_page),
2921 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2922 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2923 ev_view_get_zoom and ev_view_get_sizing_mode.
2925 * shell/ev-window.c: (update_action_sensitivity),
2926 (update_sizing_buttons), (zoom_control_changed_cb),
2927 (register_custom_actions): Initialize and use the zoom-control
2930 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2932 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2933 preview cache back to 1. Don't know when it got set to 0.
2935 * shell/ev-view.c: (compute_border), (ev_view_realize),
2936 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2937 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2938 (ev_view_get_fullscreen), (ev_view_set_presentation),
2939 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2940 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2942 * shell/ev-window.c:
2943 (update_chrome_visibility),
2944 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2945 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2946 (update_document_mode), (ev_window_update_fullscreen_action),
2947 (ev_window_fullscreen), (ev_window_unfullscreen),
2948 (ev_window_cmd_view_fullscreen),
2949 (ev_window_update_presentation_action),
2950 (ev_window_run_presentation), (ev_window_stop_presentation),
2951 (ev_window_cmd_view_presentation), (ev_window_state_event),
2952 (ev_window_focus_in_event), (ev_window_focus_out_event),
2953 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2954 * data/evince-ui.xml: Initial presentation mode. We should
2955 probably hide this until it's done, as it's quite rough. Also,
2956 change full-screen to fullscreen and add two getters to EvView.
2958 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2960 * shell/ev-page-action.c: (update_page_cache),
2961 (ev_page_action_dispose):
2962 * shell/ev-window.c: (destroy_fullscreen_popup),
2963 (ev_window_create_fullscreen_popup):
2965 Use connect_object rather than explicitly
2966 disconnect on dispose.
2968 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2970 * shell/ev-page-action.c: (update_page_cache),
2971 (ev_page_action_dispose):
2973 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2975 * backend/ev-page-cache.c: (_ev_page_cache_new),
2976 (ev_page_cache_set_page_label),
2977 (ev_page_cache_has_nonnumeric_page_labels):
2978 * backend/ev-page-cache.h:
2979 * shell/ev-page-action.c: (update_pages_label):
2981 If all page labels are numeric, fallback to default
2982 way to display number of pages. See bug 173185.
2984 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2986 * shell/ev-page-action.c: (ev_page_action_dispose):
2987 * shell/ev-view.c: (view_update_range_and_current_page):
2988 * shell/ev-window.c: (ev_window_dispose):
2990 Set page on scroll in continuous mode. Fixes bug 301986.
2991 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2993 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2997 Require poppler 0.3.0
2999 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3001 * shell/Makefile.am, configure.ac: Fix build problems
3002 with t1lib. Bug 301996.
3004 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3006 * shell/ev-view.c: (ev_view_scroll_event):
3008 Scroll up increase zoom
3010 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3012 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3013 (ev_view_set_sizing_mode),
3014 (ev_view_zoom_for_size_continuous_and_dual_page),
3015 (ev_view_zoom_for_size_continuous):
3016 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3017 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3018 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3021 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3022 Fix for 165473 and 165472.
3024 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3027 * thumbnailer/Makefile.am:
3028 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3029 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3030 * thumbnailer/evince-thumbnailer.schemas.in:
3032 Make thumbnailer schemas translatable. Fix for bug 301773
3034 * thumbnailer/evince-thumbnailer-djvu.schemas:
3035 * thumbnailer/evince-thumbnailer-dvi.schemas:
3036 * thumbnailer/evince-thumbnailer.schemas:
3040 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3042 * shell/ev-view.c (ev_view_init): forgot to set this.
3044 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3046 * shell/ev-view.c: (find_page_at_location),
3047 (get_link_at_location),
3048 (ev_view_set_show_border), (ev_view_set_spacing),
3049 (ev_view_zoom_for_size_continuous_and_dual_page),
3050 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3051 Also, add a quick fix measuring of widths. Also, removed
3052 ev_view_set_spacing and ev_view_set_show_border.
3054 * shell/ev-window.c: (ev_window_unfullscreen),
3055 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3057 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3059 * shell/ev-view.c: (view_update_range_and_current_page),
3062 Fix crash on exit and scrolling to page in continuous view.
3064 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3067 * backend/ev-page-cache.c: (_ev_page_cache_new),
3068 (ev_page_cache_get_max_width_size),
3069 (ev_page_cache_get_max_height_size):
3070 * backend/ev-page-cache.h:
3071 * data/evince-ui.xml:
3072 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3073 * shell/ev-view.c: (view_update_adjustments),
3074 (view_update_range_and_current_page), (get_bounding_box_size),
3075 (ev_view_size_request_continuous_and_dual_page),
3076 (ev_view_size_request_continuous),
3077 (ev_view_size_request_dual_page),
3078 (ev_view_size_request_single_page), (ev_view_size_request),
3079 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3080 (ev_view_bin_expose), (ev_view_expose_event),
3081 (ev_view_set_property), (ev_view_get_property),
3082 (ev_view_class_init), (ev_view_init), (ev_view_new),
3083 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3084 (ev_view_set_dual_page), (ev_view_set_full_screen),
3085 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3086 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3087 (ev_view_zoom_out), (zoom_for_size_fit_width),
3088 (zoom_for_size_best_fit),
3089 (ev_view_zoom_for_size_continuous_and_dual_page),
3090 (ev_view_zoom_for_size_continuous),
3091 (ev_view_zoom_for_size_dual_page),
3092 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3093 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3095 * shell/ev-window.c: (update_action_sensitivity),
3096 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3097 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3098 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3099 (ev_window_cmd_view_zoom_out), (update_view_size),
3100 (ev_window_set_sizing_mode), (ev_window_init):
3102 Add Continuous and Dual page modes.
3104 2005-04-23 James Bowes <bowes@cs.dal.ca>
3106 * dvi/dvi-document.c: (dvi_document_load),
3107 (dvi_document_thumbnails_get_thumbnail),
3108 (dvi_document_init_params): Fix up some mixups between
3109 width and height to correct thumbnail rendering.
3111 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3113 * dvi/mdvi-lib/private.h:
3114 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3116 Suppess output for kpathsea during font generation. Thanks to
3119 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3126 * Makefile.am: fix distcheck.
3128 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3130 * shell/ev-sidebar-links.c: (selection_changed_callback),
3131 (update_page_callback), (row_activated_callback),
3132 (job_finished_callback), (ev_sidebar_links_set_document):
3134 Fix for bug #169901. Double click on links expands tree.
3136 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3138 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3139 hard-coded style. Fix for bug 170111
3141 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3143 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3146 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3148 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3150 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3152 * pdf/ev-poppler.cc:
3153 * shell/ev-view.c: (highlight_find_results):
3155 Fix find on single page documents
3157 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3159 * data/evince.schemas.in: fix for bug 301390
3161 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3163 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3164 (ev_view_zoom_out), (ev_view_zoom_normal):
3166 * shell/ev-window.c: (update_action_sensitivity),
3167 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3168 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3169 (ev_window_cmd_view_normal_size):
3171 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3172 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3175 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3179 Depend on 2.57, 2.59 doesnt seem to be necessary
3181 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3183 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3186 Put back total number of pages as (1 of 1234)
3188 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3190 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3193 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3194 function. This helps debugging.
3196 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3198 * djvu/djvu-document.c: (djvu_document_class_init),
3199 (djvu_document_get_info), (djvu_document_document_iface_init):
3200 * dvi/dvi-document.c: (dvi_document_class_init),
3201 (dvi_document_get_info), (dvi_document_document_iface_init):
3203 Dummy implementation of get_info method for dvi and djvu. Fix
3204 crashes with those backends
3206 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3208 * data/evince.desktop.in:
3210 Add application/x-gzpostscript
3212 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3214 * data/evince.schemas.in: Added real long descriptions,
3217 * README: Added actual text, closes bug 171869
3219 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3221 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3225 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3227 * backend/ev-document-info.h:
3229 s/GDate */GDate so we can just use g_free
3231 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3233 * shell/ev-window.c: (update_document_mode),
3234 (ev_window_setup_document):
3236 Show the window in fullscreen when specified by
3239 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3241 * backend/ev-document.c: (ev_document_class_init),
3242 (ev_document_get_info), (ev_document_render_pixbuf):
3243 * backend/ev-document.h:
3244 * backend/ev-page-cache.c: (_ev_page_cache_new):
3245 * pdf/ev-poppler.cc:
3246 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3247 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3248 * ps/ps-document.c: (ps_document_class_init), (document_load),
3249 (ps_document_get_info), (ps_document_document_iface_init):
3251 Remove get_title from the interface, we can just use document info
3253 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3255 * backend/Makefile.am:
3256 * backend/ev-document.c: (ev_document_render_get_info):
3257 * backend/ev-document.h:
3258 * pdf/ev-poppler.cc:
3260 Initial support for document info. Based on jrb patch.
3262 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3264 * shell/ev-window.c: (ev_window_state_event),
3265 (ev_window_class_init), (ev_window_init):
3267 Doesn't show resize grip when maximized. See bug #301053
3269 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3273 ev-sidebar-thumbnails now has translatable labels
3275 * shell/Makefile.am:
3276 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3277 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3278 (ev_sidebar_links_page_iface_init):
3279 * shell/ev-sidebar-links.h:
3280 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3281 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3282 (ev_sidebar_page_get_label):
3283 * shell/ev-sidebar-page.h:
3284 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3285 (ev_sidebar_thumbnails_set_document),
3286 (ev_sidebar_thumbnails_support_document),
3287 (ev_sidebar_thumbnails_get_label),
3288 (ev_sidebar_thumbnails_page_iface_init):
3289 * shell/ev-sidebar-thumbnails.h:
3290 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3291 (ev_sidebar_set_document):
3292 * shell/ev-sidebar.h:
3293 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3295 Small rework of sidebar code. Now sidebar pages should implement
3296 EvSidebarPage interface. That makes page management in EvSidebar
3297 easier. See bug #164811 for details
3299 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3301 * shell/ev-application.c: (ev_application_open):
3302 * shell/ev-document-types.c:
3304 Fix build error and small problem with application exit
3306 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3308 * thumbnailer/Makefile.am:
3309 * thumbnailer/evince-thumbnailer-djvu.schemas:
3310 * thumbnailer/evince-thumbnailer-dvi.schemas:
3312 Conditionally install schemas for djvu/dvi thumbnailer
3314 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3316 * shell/ev-document-types.h:
3317 * shell/ev-document-types.c:
3318 New files, handling the mapping from mimetypes to backends
3320 * shell/ev-window.c:
3321 * thumbnailer/evince-thumbnailer.c:
3322 Use the ev-document-types code
3324 * shell/Makefile.am:
3325 Added new convenience library libevbackendfactory_la, containing
3326 the new mimetype->backend logic; moved the backends into it.
3328 * thumbnailer/Makefile.am:
3329 Make the thumbnailer link with the libevbackend.la convenience
3330 library, rather than having a duplicate of the backend logic here.
3332 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3334 * shell/ev-stock-icons.c: constify some vars.
3335 * shell/ev-window.c: ditto.
3337 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3339 * ps/ps-document.c (get_page_orientation):
3341 Respect document orientation
3343 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3347 * shell/Makefile.am:
3349 Move library dependencies to components.
3351 * shell/ev-window.c: (update_window_title),
3352 (start_loading_document):
3354 Fix display of uris with spaces. Bug 168358.
3356 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3358 * shell/ev-sidebar-links.c: (selection_changed_cb):
3359 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3360 (ev_view_button_release_event), (ev_view_set_document):
3362 * shell/ev-window.c: (find_bar_search_changed_cb):
3363 * shell/ev-window.h: Minor cleanups removing some dead code.
3365 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3367 * backend/ev-page-cache.c: (_ev_page_cache_new):
3369 Set current page to 0 if document has pages.
3371 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3373 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3375 Initialize GError to NULL, fix a crash when loading fails.
3377 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3379 * shell/ev-window.c: (update_view_size):
3381 Calculate shadow size only when there is actually
3384 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3386 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3389 Allow setting view spacing, default to 0
3391 * shell/ev-window.c: (ev_window_unfullscreen),
3392 (ev_window_cmd_view_fullscreen), (ev_window_init):
3394 Remove spacing in fullscreen mode
3396 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3398 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3399 (ev_view_size_request), (expose_bin_window),
3400 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3402 * shell/ev-window.c: (ev_window_unfullscreen),
3403 (ev_window_cmd_view_fullscreen):
3405 Do not draw the border in fulscreen
3407 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3409 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3410 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3411 (find_page_at_location), (page_changed_cb):
3413 Rework border calculation, so that I can more easily disable it.
3414 Code somewhat cleaner too.
3416 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3418 * backend/ev-page-cache.c: (ev_page_cache_init),
3419 (_ev_page_cache_new):
3421 Remove some assertions, documents can have 0 pages.
3422 Make initial current page -1.
3424 * shell/ev-page-action.c: (page_changed_cb):
3426 Show "" if current page is -1
3428 * shell/ev-window.c: (update_action_sensitivity),
3429 (ev_window_setup_document):
3431 When document has 0 pages do not set the view
3432 and make nearly everything insensitive.
3434 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3436 * shell/ev-page-view.c:
3437 * shell/ev-page-view.h:
3439 Remove unused files.
3441 * shell/ev-sidebar-thumbnails.c:
3442 (ev_sidebar_thumbnails_set_document):
3443 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3444 (ev_sidebar_supports_document):
3445 * shell/ev-sidebar.h:
3446 * shell/ev-window.c: (ev_window_setup_document):
3448 Doesn't show thumbnails if document has 1 page. Make
3449 sidebar menu entries sensitive only if if they have
3450 sense. Fix bug 164811.
3452 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3454 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3455 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3456 (ev_view_zoom_out), (ev_view_set_size):
3458 Rework sizing to deal with documents with not uniform page
3461 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3463 * backend/ev-page-cache.c: (_ev_page_cache_new):
3465 Fix several page size caching bugs
3467 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3469 * shell/ev-window.c: (set_action_properties):
3471 Make all toolbar items translatable
3473 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3475 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3476 (save_page_list), (ps_document_save),
3477 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3478 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3479 (ps_document_ps_exporter_iface_init):
3482 Based on a patch by J�rg Billeter <j@bitron.ch>
3484 Implement print and save a copy for the ps backend.
3486 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3488 * backend/ev-document.h:
3489 * djvu/djvu-document.c: (djvu_document_can_get_text),
3490 (djvu_document_document_iface_init):
3491 * dvi/dvi-document.c: (dvi_document_can_get_text),
3492 (dvi_document_document_iface_init):
3493 * pdf/ev-poppler.cc:
3494 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3495 (pixbuf_document_document_iface_init):
3496 * ps/ps-document.c: (ps_document_can_get_text),
3497 (ps_document_document_iface_init):
3498 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3499 * shell/ev-window.c: (update_action_sensitivity):
3501 Fix the crash when trying to copy in backends that doesnt
3502 support it. We can implement a better solution once we
3503 do real text selection.
3505 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3507 * data/evince-ui.xml:
3508 * shell/ev-window.c: (ev_window_cmd_escape):
3510 Work around the Escape conflict (find bar and unfullscreen)
3512 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3514 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3516 Fix for #300233. Next page correctly handles document end.
3518 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3519 (ev_sidebar_thumbnails_class_init),
3520 (ev_sidebar_thumbnails_set_document),
3521 (ev_sidebar_thumbnails_clear_job),
3522 (ev_sidebar_thumbnails_clear_model):
3524 Cleanup thumbnail jobs on document changes.
3526 * shell/ev-view.c: (add_scroll_binding_keypad),
3527 (add_scroll_binding_shifted), (ev_view_class_init):
3529 Shift + Space scrolls up. Fix for #173184
3531 * shell/ev-window.c: (ev_window_open_page),
3532 (ev_window_cmd_view_reload):
3534 Fix reload (Bug #300094)
3536 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3539 * dvi/mdvi-lib/assoc.c:
3540 * dvi/mdvi-lib/assoc.h: Removed garbage files
3542 * dvi/mdvi-lib/bitmap.c:
3543 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3544 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3545 * dvi/mdvi-lib/color.h: Antialias of rules
3547 * dvi/mdvi-lib/common.h:
3548 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3549 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3550 * dvi/mdvi-lib/files.c:
3551 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3552 * dvi/mdvi-lib/mdvi.h:
3553 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3554 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3555 * dvi/mdvi-lib/util.c: Fix compile warnings
3557 * dvi/dvi-document.c:
3558 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3559 (dvi_document_thumbnails_get_thumbnail),
3560 (dvi_document_document_thumbnails_iface_init):
3561 * dvi/mdvi-lib/Makefile.am:
3562 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3563 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3565 Dvi backend now renders thumbnails
3567 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3569 * shell/main.c: (main):
3571 Save accelerators on exit. Fixes bug #172095.
3573 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3575 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3576 update priority" comment.
3578 * backend/ev-job-queue.c: Give a way to change priority.
3580 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3582 * shell/ev-page-action.c: Fix logic.
3584 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3586 * shell/ev-view.c: (ev_view_can_find_next):
3587 * shell/ev-window.c: (ev_window_setup_document):
3589 Check that the document supports find
3591 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3593 * data/evince-ui.xml:
3594 * shell/ev-view.c: (ev_view_can_find_next):
3596 * shell/ev-window.c: (update_action_sensitivity),
3597 (find_changed_cb), (ev_window_setup_document),
3598 (ev_window_cmd_edit_find_next):
3602 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3604 * pdf/ev-poppler.cc:
3605 * shell/ev-print-job.c: (idle_print_handler):
3607 Make printing work again
3609 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3611 * shell/ev-page-action.h:
3612 * shell/ev-page-action.c: (ev_page_action_widget_init),
3613 (ev_page_action_widget_class_init), (page_changed_cb),
3614 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3615 (get_filter_model_from_model), (match_selected_cb),
3616 (display_completion_text), (match_completion), (update_model),
3617 (connect_proxy), (ev_page_action_set_property),
3618 (ev_page_action_get_property), (ev_page_action_set_document),
3619 (ev_page_action_set_model), (ev_page_action_class_init): Big
3620 reworking to make completions work iff we have >= GTK-2.7.0
3622 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3623 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3624 (job_finished_cb): We now have a 'model' property that is set when
3625 the links are loaded. This can be caught with "notify::model"
3627 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3628 listen for the model to be set, and propagate it to the action.
3630 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3632 * cut-n-paste/recent-files/egg-recent-item.c:
3633 (egg_recent_item_set_uri), (make_valid_utf8),
3634 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3635 * cut-n-paste/recent-files/egg-recent-item.h:
3637 Update egg-recent from libegg. This should fix long
3638 startup problem. For details see
3639 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3641 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3643 * cut-n-paste/recent-files/Makefile.am:
3644 * data/evince-ui.xml, shell/Makefile.am:
3645 * shell/ev-application.c, shell/ev-application.h:
3646 * shell/ev-window.c: Recent files support.
3648 * configure.ac: Added "ru" to ALL_LINGUAS.
3650 * dvju: new backend to support DJVU files.
3651 * dvi: new backend to support DVI.
3653 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3654 * ev-application.c: Support for new backends.
3656 * help, ev-window.c, main.c shell/Makefile.am:
3657 Evince user documentation.
3659 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3662 * shell/ev-window.c:
3663 * thumbnailer/evince-thumbnailer.c:
3665 s/pdf-document/ev-poppler
3667 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3674 * ps/ps-document.c: (setup_pixmap):
3678 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3680 * backend/ev-page-cache.c (ev_page_cache_next_page):
3681 * shell/ev-window.c (ev_window_cmd_go_next_page)
3682 (ev_window_cmd_go_first_page): Fix of by one errors.
3684 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3686 * ps/ps-document.c: (get_page_box):
3688 Fix page size calculation
3690 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3692 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3693 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3694 (get_page_orientation), (setup_page), (document_load),
3695 (ps_document_get_page_size), (render_pixbuf_idle):
3698 More refactoring to adapt to EvDocument changes
3700 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3702 * ps/ps-document.c: (start_interpreter):
3704 Actually add alpha args
3706 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3708 * pdf/ev-poppler.cc:
3710 Make clipboard work again
3712 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3714 Make searching work again.
3716 * backend/ev-document.c:
3717 * backend/ev-document.h:
3718 * backend/ev-document-find.c:
3719 * backend/ev-document-find.h: Change EvDocumentIface so we no
3720 longer store the current page or zoom level in the document. The
3721 consequence is that all calls that operate on the current page now
3722 instead take the page number as an extra argument, and all
3723 coordinates are now doubles in document coordinate system.
3725 * pdf/ev-poppler.cc:
3726 * pixbuf/pixbuf-document.c:
3727 * ps/ps-document.c: Update backends accordingly.
3729 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3733 Add required gettext version
3735 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3737 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3738 make F1 bring up non-existent help.
3740 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3741 epiphany's find bar, #167477
3743 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3744 <emil@nishra.com> to add space-bar scrolling,
3746 * shell/ev-window.c (static GtkActionEntry entries): add default
3747 keybinding for Help (F1)
3750 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3751 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3754 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3757 * pixbuf/pixbuf-document.c:
3759 Got pixbuf backend working again
3761 2005-04-01 Steve Murphy <murf@e-tools.com>
3763 * configure.in: Added "rw" to ALL_LINGUAS.
3765 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3767 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3768 model types, noticed by Martin Kretzschmar.
3770 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3772 * pdf/ev-poppler.cc: Implement search based on
3773 poppler_page_find_text(). Currently a bit crude since we remember
3774 all matches from all pages. Also, we grab the big document lock
3775 when we search since searching changes the underlying stream and
3776 thus conflicts with the rendering thread.
3778 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3779 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3780 (ev_view_find_previous): Fix some page indexes to be 0 based,
3781 offset rubber band by view offset,
3783 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3785 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3787 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3789 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3790 completely because I didn't understand GtkActions. I should
3791 read Marco's code more carefully in the future.
3793 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3796 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3798 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3799 PopplerRectangle change from poppler CVS.
3801 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3803 * backend/ev-document.c: (ev_document_get_page_label):
3804 * backend/ev-document.h:
3805 * backend/ev-page-cache.c: (_ev_page_cache_new),
3806 (ev_page_cache_get_page_label):
3807 * backend/ev-page-cache.h:
3808 * pdf/ev-poppler.cc:
3809 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3810 (links_page_num_func):
3811 * shell/ev-sidebar-thumbnails.c:
3812 (ev_sidebar_thumbnails_set_document):
3813 * shell/ev-view.c: (status_message_from_link),
3814 (ev_view_motion_notify_event):
3815 * shell/ev-window.c: (document_supports_sidebar): Add in page
3816 label support. It's not perfect yet, but it's the first 'feature'
3818 Also, fix a bogus comment noticed by crispin.
3820 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3822 * Makefile.am: Remove pixbuf backend for now
3824 * configure.ac: Require poppler-glib instead of just poppler.
3826 * backend/ev-document-thumbnails.h: Add a comment
3828 * backend/ev-document.h:
3829 * backend/ev-document.c: (ev_document_class_init),
3830 (ev_document_load), (ev_document_get_link),
3831 (ev_document_get_links): Remove 3 methods and add get_links.
3834 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3835 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3837 * backend/ev-link.c: (ev_link_set_title),
3838 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3839 (ev_link_mapping_find):
3840 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3842 * backend/ev-page-cache.c: (ev_page_cache_init),
3843 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3844 (ev_page_cache_get_size), (ev_page_cache_next_page),
3845 (ev_page_cache_prev_page): Fix to be 0 based.
3849 * pdf/ev-poppler.cc: New backend.
3851 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3852 (ps_document_get_page), (ps_document_document_iface_init):
3854 * shell/ev-pixbuf-cache.h:
3855 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3856 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3857 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3858 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3859 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3860 Fix up code to grab a page cache per each doc. Also, fix to be 0
3863 * shell/ev-sidebar-thumbnails.c:
3864 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3865 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3867 * shell/ev-view.c: (status_message_from_link),
3868 (find_page_at_location), (get_link_at_location),
3869 (ev_view_motion_notify_event), (ev_view_button_release_event),
3870 (ev_view_init): Use the new link code. Fix to be 0 based.
3872 * shell/ev-window.c: (update_action_sensitivity),
3873 (document_supports_sidebar): 0 based.
3875 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3877 * pdf/pdf-document.cc: Patch from Fernando Herrera
3878 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3881 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3883 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3884 1 to the page, as this seems to be 1 based. I thought we has this
3887 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3890 * backend/Makefile.am:
3891 * backend/ev-document-links.c:
3892 (ev_document_links_has_document_links),
3893 (ev_document_links_get_links_model):
3894 * backend/ev-document-links.h:
3895 * backend/ev-document.c: (ev_document_get_page_cache),
3896 (ev_document_get_doc_mutex), (ev_document_load),
3897 (ev_document_save), (ev_document_get_title),
3898 (ev_document_get_n_pages), (ev_document_set_page),
3899 (ev_document_get_page), (ev_document_set_target),
3900 (ev_document_set_scale), (ev_document_set_page_offset),
3901 (ev_document_get_page_size), (ev_document_get_text),
3902 (ev_document_get_link), (ev_document_render),
3903 (ev_document_render_pixbuf), (ev_document_scale_changed):
3904 * backend/ev-document.h:
3905 * backend/ev-job-queue.c: (remove_object_from_queue),
3906 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3907 (no_jobs_available_unlocked), (ev_render_thread),
3908 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3909 (ev_job_queue_remove_job):
3910 * backend/ev-job-queue.h:
3911 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3912 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3913 (ev_job_links_class_init), (ev_job_render_init),
3914 (ev_job_render_dispose), (ev_job_render_class_init),
3915 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3916 (ev_job_thumbnail_class_init), (ev_job_finished),
3917 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3918 (ev_job_render_run), (ev_job_thumbnail_new),
3919 (ev_job_thumbnail_run):
3920 * backend/ev-jobs.h:
3921 * backend/ev-link.c:
3922 * backend/ev-link.h:
3923 * backend/ev-page-cache.c: (ev_page_cache_init),
3924 (ev_page_cache_class_init), (ev_page_cache_finalize),
3925 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3926 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3927 (ev_page_cache_set_link), (ev_page_cache_get_title),
3928 (ev_page_cache_get_size), (ev_page_cache_next_page),
3929 (ev_page_cache_prev_page):
3930 * backend/ev-page-cache.h:
3931 * pdf/pdf-document.cc:
3934 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3935 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3936 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3937 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3938 (is_interpreter_ready), (output), (catchPipe), (input),
3939 (start_interpreter), (check_filecompressed), (compute_dimensions),
3940 (ps_document_enable_interpreter), (document_load),
3941 (ps_document_next_page), (render_page), (ps_document_set_page),
3942 (ps_document_set_scale), (render_pixbuf_idle),
3943 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3945 * shell/Makefile.am:
3946 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3947 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3948 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3949 (ev_pixbuf_cache_new), (job_finished_cb),
3950 (check_job_size_and_unref), (move_one_job),
3951 (ev_pixbuf_cache_update_range), (find_job_cache),
3952 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3953 (ev_pixbuf_cache_add_jobs_if_needed),
3954 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3955 * shell/ev-pixbuf-cache.h:
3956 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3957 (idle_print_handler):
3958 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3959 (selection_changed_cb), (create_loading_model),
3960 (ev_sidebar_links_construct), (links_page_num_func),
3961 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3962 (update_page_callback), (job_finished_cb),
3963 (ev_sidebar_links_set_document):
3964 * shell/ev-sidebar-thumbnails.c:
3965 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3966 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3967 (page_changed_cb), (thumbnail_job_completed_callback),
3968 (ev_sidebar_thumbnails_set_document):
3969 * shell/ev-sidebar-thumbnails.h:
3970 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3971 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3972 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3973 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3974 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3975 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3976 (ev_view_button_release_event), (ev_view_scroll_view),
3977 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3978 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3979 (ev_view_new), (job_finished_cb), (page_changed_cb),
3980 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3981 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3982 (ev_view_find_previous):
3984 * shell/ev-window.c: (update_action_sensitivity),
3985 (ev_window_open_page), (update_window_title), (update_total_pages),
3986 (page_changed_cb), (ev_window_setup_document),
3987 (password_dialog_response), (ev_window_cmd_save_as),
3988 (ev_window_print), (ev_window_cmd_go_previous_page),
3989 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3990 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3991 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3992 * shell/main.c: (main):
3994 Merge evince-threads branch
3996 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3998 * configure.ac: Added "lt" to ALL_LINGUAS.
4000 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4007 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4009 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4011 Fix here also the thumbnails 1-basedness :)
4013 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4020 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4022 * pdf/pdf-document.cc:
4023 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4024 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4026 Fix the mess we did with thumbnails and 1-basedness
4028 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4030 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4032 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4039 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4042 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4043 (gtk_gs_defaults_get_alpha_parameters),
4044 (gtk_gs_defaults_get_ungzip_cmd),
4045 (gtk_gs_defaults_get_unbzip2_cmd):
4047 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4048 (ps_document_get_orientation), (document_load),
4049 (ps_document_goto_page), (ps_document_set_page_size):
4052 Some more sanitization of the ps backend. Remove a lot
4053 of unused code and do not base our defaults on ggv
4056 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4058 * thumbnailer/evince-thumbnailer.schemas:
4059 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4060 (main): add -s option for thumbnail size.
4062 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4066 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4069 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4071 * pdf/pdf-document.cc:
4073 Remove 4 pixels of useless border from the
4076 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4078 * backend/ev-document-thumbnails.c:
4079 (ev_document_thumbnails_get_thumbnail):
4080 * backend/ev-document-thumbnails.h:
4082 Rework API a bit. Add a border flag and
4083 change sizing logic (now the size we specify
4084 applies to the bigger dimension).
4086 * pdf/pdf-document.cc:
4087 * pixbuf/pixbuf-document.c:
4088 (pixbuf_document_thumbnails_get_thumbnail):
4089 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4090 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4092 Adapt to the new API and do not draw a border for nautilus
4095 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4097 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4098 take thumbnails from page "0" instead of "1". Added a copyright header.
4100 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4102 * ps/ps-document.c: (set_up_page), (start_interpreter):
4104 Make it C89 compliant
4106 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4111 * pdf/pdf-document.cc:
4112 * thumbnailer/Makefile.am:
4113 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4115 * thumbnailer/evince-thumbnailer.schemas:
4116 * thumbnailer/pdf-icon.png:
4118 Add a nautilus thumbnailer.
4119 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4121 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4129 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4131 Use poppler instead of including xpdf source code. Poppler is a
4132 fork of xpdf to build it as a shared library. See
4133 http://freedesktop.org/wiki/Software/poppler.
4135 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4138 * pdf/Makefile.am: Build libpdfdocument.a here.
4140 * pdf/GDKSplashOutputDev.cc:
4141 * pdf/GDKSplashOutputDev.h:
4142 * pdf/GnomeVFSStream.cc:
4143 * pdf/GnomeVFSStream.h:
4146 * test-gdk-output-dev.cc
4148 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4151 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4153 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4155 Clear idle stack before unsetting the document
4157 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4159 * ps/ps-document.c: (ps_document_widget_event),
4160 (ps_document_set_target), (ps_document_finalize),
4161 (ps_document_get_page):
4163 Disconnect the widget event signal on finalize.
4166 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4168 * ps/ps-document.c: (set_up_page):
4170 If there is no bpixmap create one, even if size
4173 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4175 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4176 (set_up_page), (document_load), (ps_document_set_zoom):
4178 Default page is 0. Calculate size even when we have no
4181 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4183 * shell/ev-sidebar.c: expand the selection widget to be always as
4186 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4188 * shell/ev-sidebar-thumbnails.c:
4189 (ev_sidebar_thumbnails_set_document):
4191 Clear the list store when setting document
4193 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4195 * shell/ev-page-action.c: (update_entry), (sync_entry),
4196 (activate_cb), (entry_size_request_cb), (create_tool_item),
4199 Use an entry for the page control instead of spinbuttons
4201 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4203 * data/evince.schemas.in:
4205 Correct confusing string
4207 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4209 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4210 for real. Gosh, how long has this been broken.
4212 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4213 check for a NULL link. We crash otherwise.
4215 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4222 2005-02-25 Sebastien Bacher <seb128@debian.org>
4224 * configure.ac: add the french translation.
4226 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4228 * shell/ev-window.c:
4230 Remove unused header -> fix distcheck
4232 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4234 * shell/ev-window.c: (update_window_title),
4235 (ev_window_popup_password_dialog):
4237 Unescape filename for display
4239 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4241 * pdf/xpdf/pdf-document.cc:
4243 In get_page_size deal with rotation. Also
4244 cleanup the function a bit.
4246 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4248 * pdf/xpdf/pdf-document.cc:
4250 Fix crash when opening in new window
4252 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4256 Check ghostscript >= 7
4258 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4260 * shell/ev-window.c:
4262 Make page width the default sizing mode
4264 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4265 Marco Pesenti Gritti <marco@gnome.org>
4267 * shell/ev-window.c: Remember the sidebar size
4269 * data/evince.schemas.in: Add a new gconf key to store the size of
4272 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4274 * data/evince-ui.xml:
4275 * shell/ev-window.c: (update_action_sensitivity),
4276 (ev_window_cmd_view_reload):
4278 Add a "Reload" action and menu entry
4280 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4282 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4283 iff the type doesn't support thumbnailing and indexing.
4285 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4287 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4289 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4291 * pdf/splash/Splash.cc:
4293 Port fix for a crasher from kde bug
4294 http://bugs.kde.org/show_bug.cgi?id=97131
4296 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4298 * pdf/xpdf/pdf-document.cc:
4300 Return a link even if it's of an unrecognized
4301 type. Otherwise we go in an infinte cycle.
4303 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4305 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4306 (size_allocate_cb), (ev_window_set_sizing_mode):
4308 Update size when switching mode
4310 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4312 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4313 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4314 (ev_window_cmd_view_normal_size):
4316 Fix size toggle buttons behavior
4318 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4320 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4321 (doc_rect_to_view_rect), (ev_view_size_allocate),
4322 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4323 (scale_changed_callback):
4325 Do not cache offsets in size_allocate.
4327 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4329 * shell/ev-view.c: (ev_view_size_allocate):
4331 Calculate offsets before calling the parent
4332 class (which does a redraw)
4334 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4336 * pdf/xpdf/pdf-document.cc:
4338 Fix a crasher on exit. Unused code, put a TODO
4340 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4342 * backend/ev-document.c: (ev_document_class_init),
4343 (ev_document_page_changed), (ev_document_scale_changed):
4344 * backend/ev-document.h:
4346 Separate page/scale notifications
4348 * pdf/xpdf/pdf-document.cc:
4350 Emit the new signals.
4351 Do not display the pdf page in _render, do it
4352 when scale/page are requested.
4354 * ps/ps-document.c: (ps_document_set_zoom),
4355 (ps_document_widget_event):
4358 Emit the new signals.
4360 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4361 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4362 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4363 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4365 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4366 (ev_window_cmd_view_page_width), (size_allocate_cb),
4367 (ev_window_set_sizing_mode):
4369 Rework sizing to be pixel based.
4370 There are bugs but should be already way better.
4372 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4374 * shell/ev-window.c: (ev_window_init):
4376 Do not allow to shrink sidebar smaller then
4379 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4381 * shell/ev-sidebar.[ch]
4382 * shell/ev-window.c:
4384 Improved sidebar widget. Fixes #166683
4386 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4388 * shell/ev-view.c (update_find_status_message): Give translators
4389 more flexibility with ngettext plural handling.
4391 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4393 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4394 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4395 page when we get the page size.
4397 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4399 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4401 ps pages are 0 based, convert
4403 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4405 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4407 Initialize correct parent class. Set GError on document load
4409 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4411 * pdf/xpdf/pdf-document.cc:
4413 Fixup selection offset calculation
4415 * shell/ev-view.c: (view_rect_to_doc_rect),
4416 (doc_rect_to_view_rect), (ev_view_size_allocate),
4417 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4418 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4420 Store selection as document relative, so that zooming
4421 and offset changing doesnt break it.
4423 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4425 * shell/ev-view.c: (ev_view_best_fit):
4427 Do not try to best fit if the view is not realized
4429 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4431 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4433 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4435 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4437 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4439 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4440 the popup window. That prevents it resizing when in full screen
4443 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4444 multiple rerenders. This pretty much sucks.
4446 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4447 rest of the toolbar.
4449 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4451 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4453 2005-02-17 Alexander Shopov <ash@contact.bg>
4455 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4457 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4459 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4461 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4463 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4464 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4465 (set_document_page), (document_changed_callback),
4466 (ev_view_set_document), (ev_view_find_previous),
4467 (ev_view_hide_cursor), (ev_view_show_cursor):
4469 * shell/ev-window.c: (update_chrome_visibility),
4470 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4471 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4472 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4473 (ev_window_unfullscreen):
4474 * shell/main.c: (main):
4476 Automatically hide the fullscreen button.
4477 Patch by Kristian Høgsberg <krh@redhat.com>
4479 2005-02-16 Vincent Noel <vnoel@cox.net>
4481 * shell/main.c (main): Specify an icon for the window. Patch by
4482 Jaap A. Haitsma. Fixes #166177.
4484 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4486 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4488 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4490 * backend/ev-document-misc.h:
4491 * backend/ev-document-misc.c:
4492 (ev_document_misc_get_page_border_size),
4493 (ev_document_misc_paint_one_page): New function to canonicalize
4494 sizing/painting a border.
4496 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4499 * pdf/xpdf/pdf-document.cc: use new function
4501 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4502 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4503 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4504 shell/ev-window.c: (update_sizing_buttons),
4505 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4506 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4507 (ev_window_cmd_view_page_width), (size_allocate_cb),
4508 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4509 and "fit width" values act as toggle buttons so they stay
4510 toggled. It's not 100% perfect, and it's a little slow, but it's
4511 good enough to commit I think.
4513 2005-02-15 David Lodge <dave@cirt.net>
4515 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4517 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4519 * shell/ev-window.c (update_window_title): replace newlines in
4520 the title by spaces. Bug #166107.
4522 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4524 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4525 parameters providing allocation width and height without
4526 scrollbars and width of a possible vertical scrollbar. With this
4527 additional information the functions can work as
4528 intended. Unfortunately they're not idempotent. We should
4529 transform these commands to toggles. Fixes Bug #164976
4530 Initial patch by Stephane Loeuillet, then heavily modified.
4532 * shell/ev-view.h: update prototypes.
4534 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4535 (ev_window_cmd_view_page_width): provide EvView fit functions with
4536 all the information they need. Formulas to calculate this
4537 information taken from GtkScrolledWindow.
4539 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4541 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4542 created a thumbnail, the list store is updated to know
4543 that the thumbnail is set. Fixes bug #166792
4545 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4547 * shell/ev-window.c: fixed typo, closes bug 166897
4549 * TODO: updated TODO with bug numbers that are relevant
4551 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4553 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4555 2005-02-09 Vincent Noel <vnoel@cox.net>
4557 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4558 and "Next" toolbar buttons as important to make them stand out.
4560 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4564 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4565 (start_interpreter), (stop_interpreter), (document_load),
4566 (ps_document_next_page), (ps_document_goto_page),
4567 (ps_document_set_page_size), (ps_document_widget_event),
4568 (ps_document_render):
4569 * shell/ev-page-view.c: (ev_page_view_dispose):
4570 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4572 Fix compilation on non-gcc platforms
4574 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4581 * pdf/xpdf/Catalog.cc:
4584 Fix the fix for CAN-2004-0888
4586 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4589 * data/evince-ui.xml:
4590 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4591 * shell/ev-stock-icons.h:
4592 * shell/ev-window.c: (update_action_sensitivity),
4593 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4594 (set_action_properties):
4596 Improve toolbar layout/icons
4598 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4600 * pdf/xpdf/pdf-document.cc:
4602 Add warnings about unimplemented/unknown link
4605 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4607 * ps/ps-document.c: (set_up_page):
4611 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4613 * ps/ps-document.c: (start_interpreter):
4617 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4619 * shell/ev-page-view.c: (ev_page_view_dispose):
4620 * shell/ev-view.c: (ev_view_finalize):
4621 * shell/ev-window.c: (ev_window_setup_document),
4622 (ev_window_dispose), (ev_window_init):
4624 Solve more refs issues.
4626 I commented out the page_view initialization for now:
4627 it was never destroyed (because it's never added
4628 to a container). Because of that we was leaking
4629 gs processes. Couldnt think to a clean fix.
4630 We need to figure this out, password view has the
4631 same issue probably.
4633 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4635 * ps/ps-document.c: (ps_document_finalize),
4636 (ps_document_get_n_pages), (ps_document_get_page):
4638 Some cleanups, stop the interpreter on finalize
4640 * shell/ev-page-view.c: (ev_page_view_dispose),
4641 (ev_page_view_class_init):
4643 Release our reference on the document
4645 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4649 * doc/debugging.txt:
4652 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4653 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4654 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4657 Add debugging helpers
4660 * ps/ps-document.c: (set_up_page), (start_interpreter),
4661 (stop_interpreter), (document_load), (ps_document_next_page),
4662 (ps_document_goto_page), (ps_document_set_page_size),
4663 (ps_document_widget_event), (ps_document_render):
4664 * shell/Makefile.am:
4665 * shell/ev-view.c: (expose_bin_window):
4666 * shell/main.c: (main):
4670 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4672 * ps/ps-document.c: (ps_document_widget_event):
4674 Initialize message_window, this should make ps
4675 rendering really work! (Never noticed because I was
4676 testing with a ps that is causing gs to exit every time!)
4678 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4680 * data/evince.schemas.in: updated simple error in applyto closing tag
4682 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4688 * data/evince-ui.xml:
4689 A data/evince.schemas.in:
4691 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4692 * shell/ev-stock-icons.h:
4693 * shell/ev-window.c: (update_chrome_visibility),
4694 (update_chrome_flag), (ev_window_cmd_edit_find),
4695 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4696 (ev_window_unfullscreen), (ev_window_focus_in_event),
4697 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4698 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4699 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4700 (ev_window_dispose), (ev_window_class_init),
4701 (set_action_properties), (set_chrome_actions), (load_chrome),
4704 Implement fullscreen mode changes from bug #164776.
4705 Also implement persistent chrome toggles.
4707 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4709 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4711 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4717 Add another check for find interface
4721 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4723 * shell/ev-application.c: (ev_application_open):
4724 * shell/ev-window.c: (ev_window_open):
4726 Open gzipped ps documents
4728 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4731 * shell/ev-view.c: (set_document_page):
4733 Clamp page number, dont try to move to
4736 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4738 * backend/ev-document-find.c: (ev_document_find_changed):
4739 * backend/ev-document-find.h:
4740 * pdf/xpdf/pdf-document.cc:
4741 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4742 * shell/ev-window.c: (find_bar_search_changed_cb):
4744 Fix several bugs with find
4746 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4748 * shell/ev-sidebar-thumbnails.c
4749 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4750 document. Prevents warning from scroll_to_cell.
4752 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4754 * configure.ac: Add «nb» to ALL_LINGUAS too.
4756 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4758 * NOTES: New file with some random thoughts.
4762 * backend/ev-document-misc.c:
4763 (ev_document_misc_get_page_border_size): New function to
4764 canonicalize shadow drawing sizes. Possibly goofy.
4766 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4767 (ev_view_best_fit), (ev_view_fit_width):
4768 * pdf/xpdf/pdf-document.cc:
4769 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4770 * ps/ps-document.c: (ps_document_get_page_size):
4771 * backend/ev-document-misc.h:
4772 * backend/ev-document.c: (ev_document_get_page_size):
4773 * backend/ev-document.h: get_page_size now takes a page number
4774 parameter. Made all the backends/frontends honor it.
4776 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4777 see. Doesn't work yet.
4779 * shell/Makefile.am:
4780 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4781 Doesn't do anything yet.
4783 * shell/ev-sidebar-thumbnails.c:
4784 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4787 * shell/ev-window.c: (update_action_sensitivity),
4788 (ev_window_setup_document), (ev_window_set_page_mode),
4789 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4790 view-swapping code a bit so we can have multiple views on a
4791 document. Add the multi-page view, though it can't be turned on
4794 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4796 * shell/ev-application.c: (ev_application_open):
4797 * shell/ev-view.c: (expose_bin_window):
4798 * shell/ev-window.c: (ev_window_open):
4800 Support eps and check document supports find
4801 before drawing highlightings in expose.
4803 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4805 * pixbuf/pixbuf-document.c:
4806 (pixbuf_document_thumbnails_get_dimensions),
4807 (pixbuf_document_document_thumbnails_iface_init):
4809 implement get_dimensions
4811 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4818 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4820 * shell/ev-view.c: (set_document_page):
4822 Scroll at the top of the page when changing page
4824 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4826 * shell/ev-view.c: (ev_view_motion_notify_event):
4828 Do not redraw unnecessarily
4830 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4832 * pdf/xpdf/pdf-document.cc:
4833 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4834 (expose_bin_window), (find_changed_cb):
4836 Yay! find works now... Now to find bugs...
4838 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4840 * backend/ev-document-find.c: (ev_document_find_base_init),
4841 (ev_document_find_changed):
4842 * backend/ev-document-find.h:
4843 * pdf/xpdf/pdf-document.cc:
4844 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4845 (expose_bin_window), (ev_view_init), (set_document_page),
4846 (ensure_rectangle_is_visible), (jump_to_find_result),
4847 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4848 (ev_view_find_next), (ev_view_find_previous):
4850 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4852 More work on find implementation, mostly there now
4854 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4856 * backend/ev-backend-marshalers.list:
4857 * backend/ev-document-find.c: (ev_document_find_base_init),
4858 (ev_document_find_cancel), (ev_document_find_page_has_results),
4859 (ev_document_find_get_n_results), (ev_document_find_get_result),
4860 (ev_document_find_get_progress), (ev_document_find_changed):
4861 * backend/ev-document-find.h:
4863 Enanche the find interface to be really able to do
4866 * pdf/xpdf/pdf-document.cc:
4870 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4871 (expose_bin_window), (ev_view_init),
4872 (ev_view_get_find_status_message), (find_changed_cb),
4873 (ev_view_set_document), (set_document_page):
4875 Adapt to the new interface. A few things are regressed sorry,
4876 I will finish it soon.
4878 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4880 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4881 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4882 ev_sidebar_thumbnails_parent_class variable, don't define another
4883 parent_class variable.
4885 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4886 (ev_page_action_class_init): ditto.
4888 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4889 (pixbuf_document_class_init): ditto.
4891 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4894 * .cvsignore: ignore various valgrind output files.
4896 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4898 * data/evince-ui.xml:
4899 * shell/Makefile.am:
4900 * shell/ev-history.c:
4901 * shell/ev-history.h:
4902 * shell/ev-navigation-action.c:
4903 * shell/ev-navigation-action.h:
4904 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4905 (ev_view_set_page), (ev_view_fit_width):
4907 * shell/ev-window.c: (update_action_sensitivity),
4908 (ev_window_setup_document), (register_custom_actions):
4910 Kill session history
4912 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4914 * shell/ev-window.c: (update_action_sensitivity):
4916 Fix inverted up/down buttons
4918 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4920 * shell/ev-sidebar-thumbnails.c
4921 (ev_sidebar_thumbnails_select_page): make sure the selected
4922 thumbnail stays visible.
4924 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4926 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4927 scrolled window for Federico.
4929 2005-01-26 Ole Laursen <olau@hardworking.dk>
4931 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4933 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4936 * pdf/splash/SplashFTFontEngine.cc:
4938 Fix CID fonts with freetype 2.1.9
4940 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4942 * TODO: added item for desktop icon thumbnailer
4944 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4946 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4947 unloaded docs when the title is accessed.
4949 * shell/ev-password-view.[hc]: New widget for displaying password
4952 * shell/ev-window.[ch]: Refactor password handling code to handle
4955 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4963 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4965 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4966 ignore page offset here, to make search results independent of it,
4968 * shell/ev-view.c (expose_bin_window): but take offsets into
4969 account here. Bug #164932
4971 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4972 scale at the right time. Bug #164996
4974 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4976 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4977 fix the problem. Now I just removed the Adobe font names and hope
4978 that the URW fonts are always in outline format. Bug #164934
4980 * shell/ev-window.c (update_window_title): empty titles are
4981 useless, use filename in that case too.
4983 * NEWS: Add some content.
4985 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4987 * TODO: added one more TODO item and a TODONE section :)
4989 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4991 * ps/ps-document.h: add page_[xy]_offset fields.
4993 * ps/ps-document.c (ps_document_set_page_offset)
4994 (ps_document_render): Keep offset in consideration in a few
4995 places. Bug #164752 "postscript documents are not centered in
4998 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4999 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5001 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5002 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5003 stub out missing methods for complete EvDocument implementation.
5004 Fixes segfaults with Save A Copy and Copy actions.
5006 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5007 (ps_document_document_iface_init): ditto.
5009 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5013 * data/evince.desktop.in:
5017 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5019 * shell/ev-view.c: (ev_view_button_press_event),
5020 (ev_view_motion_notify_event):
5022 Make selection work in any direction
5024 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5027 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5029 Use shorter labels for some of the toolbars items
5031 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5033 * pdf/xpdf/pdf-document.cc:
5035 Check the links info is initialized before
5036 using it. Should fix a crash on startup.
5038 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5040 * pixbuf/pixbuf-document.c
5041 (pixbuf_document_thumbnails_get_dimensions): force floating point
5042 division to calculate page_ratio. Fixes crash with landscape
5045 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5047 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5049 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5051 * shell/ev-view.c (set_document_page): unset has_selection when
5053 (set_document_page): handle paper size changes when the page
5054 changes (test with Free Culture, page 2).
5056 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5058 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5059 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5061 Use normal style color for the widget background and
5062 draw a black box around the page.
5064 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5066 * pdf/xpdf/pdf-document.cc:
5068 Keep offset in consideration in a few places
5070 * shell/ev-view.c: (expose_bin_window):
5072 Set the offsets so that the document is ever centered
5074 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5076 * TODO: Added TODO items and finished off the first todo item
5078 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5079 reflect current authors
5081 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5083 * pdf/xpdf/pdf-document.cc:
5084 * shell/ev-view.c: (ev_view_set_cursor),
5085 (ev_view_motion_notify_event), (document_changed_callback),
5086 (set_document_page):
5088 Show a wait cursor while the page is rendering
5090 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5092 * shell/ev-sidebar-thumbnails.c:
5093 (ev_sidebar_tree_selection_changed),
5094 (ev_sidebar_thumbnails_select_page):
5095 * shell/ev-sidebar-thumbnails.h:
5096 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5097 (ev_view_can_go_forward):
5098 * shell/ev-window.c: (ev_window_open_page),
5099 (ev_window_setup_document), (update_current_page),
5100 (view_page_changed_cb), (ev_window_init):
5101 * shell/ev-window.h:
5103 Ensure thumbnails selection, toolbar page control and
5104 current page are in sync.
5106 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5112 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5114 * backend/Makefile.am:
5115 * backend/ev-document-links.h:
5116 * backend/ev-document-security.c: (ev_document_security_get_type),
5117 (ev_document_security_has_document_security),
5118 (ev_document_security_set_password):
5119 * backend/ev-document-security.h:
5120 * backend/ev-document.c: (ev_document_error_quark):
5121 * backend/ev-document.h:
5123 * data/evince-password.glade:
5124 * pdf/xpdf/pdf-document.cc:
5125 * shell/Makefile.am:
5126 * shell/ev-password.c: (ev_password_set_bad_password_label),
5127 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5128 (ev_password_dialog_get_password),
5129 (ev_password_dialog_set_bad_pass):
5130 * shell/ev-password.h:
5131 * shell/ev-window.c: (ev_window_get_attribute),
5132 (ev_window_set_property), (update_action_sensitivity),
5133 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5134 (ev_window_setup_document), (ev_window_get_password),
5135 (ev_window_open), (ev_window_cmd_save_as),
5136 (using_postscript_printer), (ev_window_print),
5137 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5138 (update_fullscreen_popup), (ev_window_fullscreen),
5139 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5140 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5141 (menu_item_select_cb), (find_bar_search_changed_cb),
5142 (ev_window_dispose), (ev_window_init):
5144 Add initial support for password-supported dialogs. This could be
5145 a lot cooler, but it'll do for now.
5147 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5149 * pdf/xpdf/pdf-document.cc:
5150 * shell/ev-view.c: (status_message_from_link),
5151 (ev_view_set_status), (ev_view_set_cursor),
5152 (ev_view_motion_notify_event), (ev_view_init):
5153 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5155 Fix bugs in the links implementation and change cursor
5156 when hovering a link.
5158 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5160 * viewer/.cvsignore: added cvsignore file for viewer directory
5162 * TODO: created TODO document
5164 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5167 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5168 new functions to help with implementation of sensitivity code
5169 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5170 of all actions that might require it. Fixes a crash when you
5171 click on the Zoom actions in a window lacking a document.
5173 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5175 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5178 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5180 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5181 (pixbuf_document_document_iface_init):
5182 * ps/ps-document.c: (ps_document_get_link),
5183 (ps_document_document_iface_init):
5184 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5185 (status_message_from_link), (ev_view_set_status),
5186 (ev_view_set_find_status), (ev_view_motion_notify_event),
5187 (ev_view_button_release_event), (ev_view_set_property),
5188 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5189 (ev_view_get_find_status_message), (update_find_results),
5190 (ev_view_get_status), (ev_view_get_find_status):
5192 * shell/ev-window.c: (view_status_changed_cb),
5193 (view_find_status_changed_cb), (ev_window_init):
5195 View status message support, use it to show the links.
5198 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5200 * backend/ev-document.c: (ev_document_get_link):
5201 * backend/ev-document.h:
5202 * pdf/xpdf/pdf-document.cc:
5203 * shell/ev-application.c: (ev_application_open):
5204 * shell/ev-application.h:
5205 * shell/ev-sidebar-links.c: (selection_changed_cb):
5206 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5207 (ev_view_go_to_link):
5209 Add support for document links
5211 2005-01-13 Anders Carlsson <andersca@gnome.org>
5213 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5215 Set the spin button limits correctly.
5217 * shell/ev-sidebar-thumbnails.c:
5218 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5219 Support changing pages by clicking on the thumbnails.
5221 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5223 * pixbuf/pixbuf-document.c:
5224 (pixbuf_document_thumbnails_get_dimensions),
5225 (pixbuf_document_document_thumbnails_iface_init):
5227 implement get_dimensions
5229 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5231 * ps/ps-document.c: (ps_document_goto_page):
5233 Fix page switching on multipage documents
5235 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5237 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5239 check for NULL before assigning to width and height parameters
5241 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5243 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5244 (pixbuf_document_set_property), (pixbuf_document_get_property):
5246 implement get/set properties
5248 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5250 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5252 return NULL instead of "Unknown", letting the title get set to
5253 the filename when the pdf has no title.
5255 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5257 * ps/ps-document.c: (ps_document_get_page_count),
5258 (ps_document_goto_page):
5260 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5262 * shell/ev-history.c: (ev_history_get_property),
5263 (ev_history_set_property), (ev_history_class_init),
5264 (ev_history_add_page), (ev_history_set_current_index):
5265 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5266 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5267 (ev_navigation_action_finalize):
5268 * shell/ev-navigation-action.h:
5269 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5270 (ev_view_go_forward), (ev_view_get_find_status_message),
5271 (history_index_changed_cb), (ev_view_set_history):
5273 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5274 (update_current_page), (register_custom_actions):
5276 Implement history dropdowns
5278 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5280 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5281 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5282 (ev_view_go_forward):
5283 * shell/ev-window.c: (register_custom_actions):
5285 Fix several history bugs
5287 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5289 * configure.ac: Add «nb» to ALL_LINGUAS.
5291 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5293 * backend/Makefile.am:
5294 * backend/ev-bookmark.c:
5295 * backend/ev-bookmark.h:
5296 * backend/ev-document-bookmarks.c:
5297 * backend/ev-document-bookmarks.h:
5298 * backend/ev-document-links.c: (ev_document_links_get_type),
5299 (ev_document_links_has_document_links),
5300 (ev_document_links_begin_read), (ev_document_links_get_link),
5301 (ev_document_links_get_child), (ev_document_links_next),
5302 (ev_document_links_free_iter):
5303 * backend/ev-document-links.h:
5304 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5305 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5306 (ev_link_get_link_type), (ev_link_set_link_type),
5307 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5308 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5309 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5310 (ev_link_new_external):
5311 * backend/ev-link.h:
5312 * pdf/xpdf/pdf-document.cc:
5313 * shell/Makefile.am:
5314 * shell/ev-application.c: (ev_application_open_link):
5315 * shell/ev-application.h:
5316 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5317 (ev_history_get_link_nth):
5318 * shell/ev-history.h:
5319 * shell/ev-sidebar-bookmarks.c:
5320 * shell/ev-sidebar-bookmarks.h:
5321 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5322 (ev_sidebar_links_class_init), (selection_changed_cb),
5323 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5324 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5325 (do_one_iteration), (populate_links_idle),
5326 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5327 * shell/ev-sidebar-links.h:
5328 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5329 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5332 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5333 * shell/ev-window.h:
5335 Rename bookmark to link, and use "Index" for the sidebar panel.
5337 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5339 * shell/Makefile.am:
5340 * shell/ev-application.c: (ev_application_open_bookmark):
5341 * shell/ev-application.h:
5342 * shell/ev-history.c: (ev_history_init), (free_links_list),
5343 (ev_history_finalize), (ev_history_class_init),
5344 (ev_history_add_link), (ev_history_add_page),
5345 (ev_history_get_link_nth), (ev_history_get_n_links),
5346 (ev_history_get_current_index), (ev_history_set_current_index),
5348 * shell/ev-history.h:
5349 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5350 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5351 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5352 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5355 * shell/ev-window.c: (ev_window_open_bookmark),
5356 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5357 (goto_page_cb), (register_custom_actions):
5358 * shell/ev-window.h:
5360 Initial history implementation. Needs work.
5362 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5364 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5366 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5368 * cut-n-paste/recent-files/egg-recent-item.c:
5369 * cut-n-paste/recent-files/egg-recent-item.h:
5370 * cut-n-paste/recent-files/egg-recent-model.c:
5371 * cut-n-paste/recent-files/egg-recent-util.c:
5372 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5373 * cut-n-paste/recent-files/egg-recent-view.c:
5377 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5379 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5380 (fillGlyph, fillImageMask, drawImage):
5381 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5382 pdf/splash/SplashTypes.h:
5383 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5384 packed mode for Splash.
5386 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5387 RGB8 packed mode, eliminates the pixbuf data creation loop.
5389 * shell/ev-print-job.c (ev_print_job_finalize)
5390 (ev_print_job_set_property, ev_print_job_get_property)
5391 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5392 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5393 (print_closure_finalize, ev_print_job_print): implement
5394 printing (for backends with EvPsExporter)
5396 * shell/ev_print_job.h: update prototypes.
5398 * shell/ev-window.c (ev_window_print): unref print job after
5401 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5402 unless the document implements the EvDocumentFind interface.
5404 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5406 * configure.ac: Added ja to ALL_LINGUAS.
5408 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5410 * pdf/xpdf/pdf-document.cc:
5412 add a FIXME. We should probably not allocate
5413 a bookmark object every time
5415 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5417 * shell/ev-application.c: (ev_application_open),
5418 (ev_application_open_bookmark):
5419 * shell/ev-application.h:
5421 Add a way to open bookmarks
5423 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5424 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5425 (ev_bookmark_set_property), (ev_bookmark_class_init),
5426 (ev_bookmark_new_title), (ev_bookmark_new_link),
5427 (ev_bookmark_new_external):
5429 Support for external uris, better constructors.
5431 * backend/ev-bookmark.h:
5432 * pdf/xpdf/pdf-document.cc:
5433 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5435 Handle external uris
5437 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5439 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5440 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5442 Hook up bookmarks navigation
5444 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5446 * backend/Makefile.am:
5447 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5448 (ev_bookmark_get_title), (ev_bookmark_set_title),
5449 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5450 (ev_bookmark_get_page), (ev_bookmark_set_page),
5451 (ev_bookmark_get_property), (ev_bookmark_set_property),
5452 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5454 * backend/ev-bookmark.h:
5455 * backend/ev-document-bookmarks.c:
5456 (ev_document_bookmarks_get_bookmark):
5457 * backend/ev-document-bookmarks.h:
5458 * pdf/xpdf/pdf-document.cc:
5459 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5461 Add a bookmark object to the backend and use it instead of get_values
5463 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5465 * data/evince-ui.xml:
5467 Cleanup and add select all.
5469 * shell/ev-view.c: (ev_view_select_all),
5470 (ev_view_button_press_event):
5472 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5475 Clear selection on click.
5477 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5479 * shell/ev-sidebar-thumbnails.c
5480 (ev_sidebar_thumbnails_set_document): forgot to unref the
5483 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5485 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5486 at the visible page, not just linearly. This makes it look fast.
5488 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5490 * backend/ev-document-misc.c
5491 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5493 * backend/ev-document-thumbnails.h: New interface to get the size
5496 2005-01-06 Jeremy Katz <katzj@redhat.com>
5498 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5501 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5503 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5504 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5507 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5509 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5511 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5512 fonts. Should fix font problems on systems that have the base
5513 fonts in bitmap format. Reported by James Henstridge
5514 <james@jamesh.id.au>.
5516 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5519 * pdf/xpdf/GfxState.cc:
5521 Fix for CAN-2004-1125
5523 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5525 * shell/ev-view.c: (ev_view_copy):
5527 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5529 Implement Edit->Copy
5531 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5533 * backend/ev-document.c: (ev_document_get_text):
5534 * backend/ev-document.h:
5535 * pdf/xpdf/pdf-document.cc:
5536 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5537 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5538 (ev_view_update_primary_selection), (ev_view_button_press_event),
5539 (ev_view_motion_notify_event), (ev_view_button_release_event):
5541 Beginnings of clipboard support. Incomplete but primary sort
5544 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5546 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5547 (expose_bin_window):
5549 Nicer rubberband drawing, from GtkIconView.
5551 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5553 * backend/ev-document.c: (ev_document_save):
5554 * backend/ev-document.h:
5555 * data/evince-ui.xml:
5556 * pdf/xpdf/pdf-document.cc:
5557 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5559 Implement "Save a copy..." menu item
5561 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5563 * shell/ev-view.c: (ev_view_zoom):
5565 Queue a resize when zoom changes
5567 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5569 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5572 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5575 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5577 * pdf/xpdf/pdf-document.cc
5578 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5580 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5582 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5583 It's slow, but I'll speed it up next!
5585 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5587 * shell/main.c (load_files):
5589 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5590 from the command line and because it seems more appropriate.
5592 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5594 * data/evince-ui.xml:
5595 * shell/ev-window.c: (update_action_sensitivity),
5596 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5598 s/next page/page down
5599 s/previous page/page up
5601 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5603 * data/evince-ui.xml:
5605 Change the layout to match clarkbw design.
5607 * shell/Makefile.am:
5608 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5609 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5610 (ev_navigation_action_finalize),
5611 (ev_navigation_action_set_property),
5612 (ev_navigation_action_get_property),
5613 (ev_navigation_action_class_init):
5614 * shell/ev-navigation-action.h:
5616 Implement clarkbw toolbar navigation controls (incomplete)
5618 * shell/ev-page-action.c: (update_label), (update_spin),
5619 (value_changed_cb), (create_tool_item), (connect_proxy),
5620 (ev_page_action_init), (ev_page_action_finalize),
5621 (ev_page_action_set_property), (ev_page_action_get_property),
5622 (ev_page_action_set_current_page),
5623 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5624 * shell/ev-page-action.h:
5626 Implement a page switcher in the toolbar
5628 * shell/ev-view.c: (ev_view_scroll_view):
5629 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5630 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5631 (register_custom_actions), (ev_window_init):
5633 Change page on PageUp/Down.
5635 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5637 * pdf/xpdf/pdf-document.cc
5638 (pdf_document_thumbnails_get_thumbnail): initial stab at
5639 implementing thumbnail support for pdfs. It only does documents
5640 with precached pdfs now.
5642 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5644 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5645 thumbnail code into a time-based idle as well. Also, turn off the
5646 shadow temporarily as it's really slow.
5648 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5650 * backend/ev-document.c: (ev_document_class_init):
5651 * pdf/xpdf/pdf-document.cc:
5652 * shell/ev-window.c: (ev_window_open):
5654 Fix document title bugs and fallback to
5655 filename when not available.
5657 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5659 * backend/ev-document.c: (ev_document_get_type),
5660 (ev_document_class_init), (ev_document_load),
5661 (ev_document_get_title):
5662 * backend/ev-document.h:
5663 * pdf/xpdf/pdf-document.cc:
5664 * ps/ps-document.c: (ps_document_set_property),
5665 (ps_document_get_property), (ps_document_class_init),
5669 * shell/ev-window.c: (update_window_title), (ev_window_open),
5672 Initial support for document title. Not working yet.
5674 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5676 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5678 Grab focus on the view when clicking it
5680 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5682 * shell/ev-marshal.list:
5683 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5684 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5686 Add key bindings to the view. Now if the focus would work
5689 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5692 * backend/Makefile.am:
5695 * dvi/dvilib/Makefile.am:
5696 * pdf/xpdf/Makefile.am:
5702 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5704 * shell/ev-view.c: (ev_view_realize):
5706 Fix mouse wheel scrolling
5708 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5714 * ps/ps-document.c: (catchPipe), (ps_document_init),
5715 (ps_document_class_init), (ps_document_cleanup),
5716 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5717 (set_up_page), (close_pipe), (is_interpreter_ready),
5718 (interpreter_failed), (output), (input), (start_interpreter),
5719 (stop_interpreter), (file_length), (file_readable),
5720 (check_filecompressed), (check_pdf), (compute_xdpi),
5721 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5722 (ps_document_get_type), (ps_document_emit_error_msg),
5723 (document_load), (ps_document_next_page),
5724 (ps_document_get_current_page), (ps_document_get_page_count),
5725 (ps_document_goto_page), (ps_document_set_page_size),
5726 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5727 (ps_document_load), (ps_document_get_n_pages),
5728 (ps_document_set_page), (ps_document_get_page),
5729 (ps_document_widget_event), (ps_document_set_target),
5730 (ps_document_set_scale), (ps_document_set_page_offset),
5731 (ps_document_get_page_size), (ps_document_render),
5732 (ps_document_document_iface_init):
5735 * shell/ev-window.c: (ev_window_open):
5737 Rename GtkGS to PSDocument
5739 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5741 * ps/gtkgs.c: (gtk_gs_class_init):
5744 Some more leftover...
5746 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5748 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5749 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5750 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5753 Remove unused code and make a lot of stuff private
5755 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5757 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5758 (gtk_gs_defaults_changed):
5764 Cleanup headers dependencies
5766 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5771 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5773 * ps/gtkgs.c: (file_length), (file_readable),
5774 (check_filecompressed), (check_pdf), (gtk_gs_load),
5775 (gtk_gs_get_postscript):
5779 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5784 * ps/gtkgs.c: (gtk_gs_set_zoom):
5788 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5790 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5792 Ensure the page is rerendered when changing zoom
5794 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5796 * backend/ev-document.c: (ev_document_base_init),
5797 (ev_document_changed):
5798 * backend/ev-document.h:
5800 Add a changed event that is emitted when the page content
5801 changes. This is necessary to deal with the fact that
5802 in ps backend rendering happen asycrounously.
5803 This makes the ps backend mostly work.
5805 * pdf/xpdf/pdf-document.cc:
5809 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5810 (ps_document_set_target):
5814 * shell/ev-view.c: (document_changed_callback),
5815 (ev_view_set_document), (ev_view_set_page):
5817 Redraw on the changed signal
5819 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5821 * configure.ac: Added pt_BR to ALL_LINGUAS.
5823 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5825 * backend/ev-document-bookmarks.c:
5826 (ev_document_bookmarks_get_child): *
5827 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5828 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5829 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5830 (ev_sidebar_bookmarks_destroy),
5831 (ev_sidebar_bookmarks_class_init),
5832 (ev_sidebar_bookmarks_construct), (stack_data_free),
5833 (do_one_iteration), (populate_bookmarks_idle),
5834 (ev_sidebar_bookmarks_clear_document),
5835 (ev_sidebar_bookmarks_set_document): *
5836 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5837 (ev_sidebar_add_page),
5838 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5839 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5840 it displays both the topics and the page numbers.
5842 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5844 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5846 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5849 2004-12-23 Adam Weinberger <adamw@gnome.org>
5851 * configure.ac: Added en_CA to ALL_LINGUAS.
5853 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5855 * ChangeLog: replace bottom of this ChangeLog (merged history of
5856 ggv and gpdf; where all paths were wrong and most of the files are
5857 not even in this tree) with ChangeLog (from arch) of the shell
5860 2004-12-23 Havoc Pennington <hp@redhat.com>
5862 * shell/ev-window.c: hook up potentially-questionable "find
5863 results status text" feature - something involving the sidebar or
5864 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5865 might be better in the end.
5867 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5868 with corresponding signal when it should be updated
5870 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5872 2004-12-22 Havoc Pennington <hp@redhat.com>
5874 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5875 find stuff on other pages, sort of (only returns one result on
5876 invisible pages, to show they have results; updates full results
5877 for a page when you view it). Currently repaints the current page
5878 every time a new result is found on any page, which isn't so nice.
5880 2004-12-22 Havoc Pennington <hp@redhat.com>
5882 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5883 the document doesn't support find (better ideas?)
5884 (find_bar_search_changed_cb): handle missing document or document
5885 that doesn't support find
5887 * pdf/xpdf/pdf-document.cc: port to implement the new
5890 * backend/ev-document-find.c: create a new interface for searching
5892 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5894 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5896 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5899 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5900 EvPrintJob constructor arguments.
5902 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5903 for documents that can export PostScript (page by page).
5905 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5907 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5908 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5909 (pdf_document_ps_exporter_iface_init:
5910 Implement EvPSExporter.
5912 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5914 2004-12-22 Anders Carlsson <andersca@gnome.org>
5916 * backend/Makefile.am:
5917 * backend/ev-document-thumbnails.c:
5918 (ev_document_thumbnails_get_type),
5919 (ev_document_thumbnails_get_thumbnail):
5920 * backend/ev-document-thumbnails.h:
5921 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5922 (pixbuf_document_thumbnails_get_thumbnail),
5923 (pixbuf_document_document_thumbnails_iface_init):
5924 * shell/Makefile.am:
5925 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5926 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5927 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5928 * shell/ev-sidebar-thumbnails.h:
5929 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5930 (ev_sidebar_set_document):
5931 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5932 (create_shadow), (ev_pixbuf_add_shadow):
5934 Add thumbnail support.
5936 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5938 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5939 (using_postscript_printer): Set up a print dialog for "PostScript
5942 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5945 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5947 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5949 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5950 (ps_document_set_target), (ps_document_get_page_size),
5951 (ps_document_render):
5956 2004-12-22 Christian Rose <menthos@menthos.com>
5958 * configure.ac: Added "sv" to ALL_LINGUAS.
5960 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5962 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5963 document supports bookmarks.
5965 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5967 * ps/ggvutils.c: (ggv_file_readable):
5969 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5970 (gtk_gs_get_postscript):
5974 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5976 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5977 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5978 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5979 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5980 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5981 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5982 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5983 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5984 (gtk_gs_set_antialiasing), (ps_document_load),
5985 (ps_document_render):
5988 Another check point for the ps backend. Now I can get it to show
5991 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5993 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5994 document setting code.
5996 2004-12-22 Anders Carlsson <andersca@gnome.org>
5998 * shell/eggfindbar.c: (entry_activate_callback):
5999 Animate the next button when activate is pressed.
6001 2004-12-22 Anders Carlsson <andersca@gnome.org>
6003 * shell/ev-window.c: (ev_window_cmd_edit_find),
6004 (update_fullscreen_popup), (ev_window_fullscreen),
6005 (ev_window_unfullscreen), (ev_window_state_event_cb),
6006 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6007 Fix bugs in fullscreen code.
6009 2004-12-22 Anders Carlsson <andersca@gnome.org>
6013 * pixbuf/Makefile.am:
6014 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6015 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6016 (pixbuf_document_set_page), (pixbuf_document_get_page),
6017 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6018 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6019 (pixbuf_document_render), (pixbuf_document_begin_find),
6020 (pixbuf_document_end_find), (pixbuf_document_finalize),
6021 (pixbuf_document_class_init),
6022 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6023 * pixbuf/pixbuf-document.h:
6024 * shell/Makefile.am:
6025 * shell/ev-application.c: (ev_application_open):
6026 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6030 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6033 * dvi/dvilib/Makefile.am:
6035 * configure.ac: Auto*ify dvi and dvi/dvilib
6037 * dvi/Makefile: Remove from CVS
6039 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6042 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6044 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6046 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6049 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6050 (gtk_gs_value_adjustment_changed), (compute_size),
6051 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6052 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6053 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6054 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6055 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6056 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6057 (ps_document_load), (ps_document_get_n_pages),
6058 (ps_document_set_page), (ps_document_get_page),
6059 (ps_document_set_target), (ps_document_set_scale),
6060 (ps_document_set_page_offset), (ps_document_get_page_size),
6061 (ps_document_render), (ps_document_begin_find),
6062 (ps_document_end_find), (ps_document_document_iface_init):
6064 * shell/Makefile.am:
6065 * shell/ev-window.c: (ev_window_open):
6067 Some work to integrate gtkgs with EvDocument
6069 2004-12-22 Anders Carlsson <andersca@gnome.org>
6071 * shell/ev-window.c: (update_fullscreen_popup),
6072 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6073 (exit_fullscreen_button_clicked_cb),
6074 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6075 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6076 (ev_window_state_event_cb), (ev_window_init):
6077 Add fullscreen support from Epiphany.
6079 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6081 * data/ev-stock-zoom-fit-width.png: fit-width
6082 stock icon from gpdf.
6084 * shell/ev-stock-icons.[ch]: copied from gpdf.
6086 * shell/main.c: (main): init stock icons.
6088 * shell/ev-window.c: use the fit-width icon.
6090 * data/evince-ui.xml: add zooming toolbar items.
6092 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6095 (ev_view_best_fit), (ev_view_fit_width): because
6096 get_page_size() returns the scaled page size, we
6097 need to calculate the scale factor relative to
6098 the previous scale factor. Should really just
6099 add get_real_page_size().
6101 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6103 * shell/ev-view.[ch]:
6104 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6105 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6108 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6109 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6110 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6113 * pdf/xpdf/pdf-document.cc:
6114 (pdf_document_begin_find),
6115 (pdf_document_end_find): make static.
6117 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6119 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6121 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6122 names to fontconfig patterns.
6123 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6125 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6128 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6144 Import ggv backend. Not hooked up yet.
6146 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6148 * shell/main.c: (load_files), (main): load files
6149 from the command line.
6151 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6153 * configure.ac: don't require bonobo.
6155 * cut-n-paste/recent-files/*: kill bonobo recent
6158 * shell/ev-window.c:
6159 (ev_window_is_empty): upd.
6160 (unable_to_load), (ev_window_open): load backend
6161 based on the mime type.
6163 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6165 * backend/.cvsignore: ignore generated marshalers source.
6167 * shell/main.c (main): this is not epiphany.
6169 2004-12-22 Havoc Pennington <hp@redhat.com>
6171 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6172 (expose_bin_window): draw find highlights
6174 * shell/ev-window.c (find_bar_search_changed_cb): implement
6176 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6177 (pdf_document_end_find): implement this interface
6179 * backend/ev-document.c (ev_document_found): add this to emit
6182 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6184 * data/evince-ui.xml: Add a few more toolbar items.
6186 * shell/ev-window.c: Hook up page navigation toolbar
6189 * shell/ev-view.[ch]: add ev_view_set/get_page and
6190 a page-changed signal.
6192 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6193 Add ev_document_get_page().
6195 * shell/ev-window.c: Sensitize/desensitize navigation
6198 2004-12-21 Havoc Pennington <hp@redhat.com>
6200 * backend/ev-backend-marshal.c,
6201 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6202 marshaler-generator thingy. I'm sure there's a better way to do
6203 this in the modern world.
6205 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6206 end_find methods and "found" signal.
6208 * configure.ac: find glib-genmarshal
6210 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6212 * shell/ev-sidebar.c: Construct an actual sidebar.
6213 * shell/ev-sidebar-bookmarks.[ch]:
6214 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6216 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6218 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6221 * shell/ev-view.c: Track the size from the document.
6223 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6225 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6226 constructor assumes ownership of the string passed in.
6228 * shell/ev-window.c (ev_window_open): Destroy the error
6229 dialog once we've displayed it.
6231 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6233 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6234 a bit, it works! (sort of)
6236 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6237 Move to .cc since we need to use C++ in the implementation.
6239 * shell/dummy.cc: Add a CC file to force evince
6240 to be linked as a C++ program.
6242 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6244 * shell/ev-view.[ch]: Start of content-area widget.
6246 * shell/ev-window.c: Create a EvView, update it
6247 as we change documents.
6249 * shell/Makefile.am shell/ev-marshal.list: Add
6250 generated marshalers.
6252 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6254 * Makefile.am (SUBDIRS): move shell.
6256 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6258 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6259 .a to libtool convenience libraries.
6261 * shell/ev-window.c (ev_window_open): Hard code loading
6264 * backend/ev-document.h: Add a boolean return to load(),
6265 fix GError * to GError **.
6267 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6268 object for a PDF backend EvDocument.
6270 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6272 * dvi/*: New directory with the beginning of a .dvi backend.
6274 2004-12-21 Havoc Pennington <hp@redhat.com>
6276 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6277 previous/next instead of back/forward
6279 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6281 * backend/ev-document.[ch]: Fix a couple of problems so
6284 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6286 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6287 to backend/ directory, rename EvViewer to EvDocument.
6289 2004-12-21 Havoc Pennington <hp@redhat.com>
6291 * shell/ev-window.c: hook up the find bar widget; now we just need
6292 a document to find things in
6294 * shell/eggfindbar.c: a find bar widget
6296 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6298 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6300 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6302 * pdf/**: Import of xpdf code from gpdf.
6304 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6306 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6307 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6308 Fix FreeType includes.
6310 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6311 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6312 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6313 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6314 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6315 Include xpdfconfig.h
6317 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6319 * shell/ev-window.c (ev_window_dispose): dispose can be called
6322 2004-12-21 Havoc Pennington <hp@redhat.com>
6324 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6327 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6328 items; really they should be synced with the strings, etc. from
6329 current gpdf, but just getting the boring typing out of the way
6331 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6334 * shell/ev-application.c: (window_destroy_cb):
6335 * shell/ev-window.c:
6336 * shell/main.c: (main):
6338 Actually show the window...
6340 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6343 * shell/Makefile.am:
6344 * shell/ev-application.c: (ev_application_class_init):
6345 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6349 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6351 Import to gnome cvs.
6353 * Remove copies of gpdf and ggv trees.
6354 * Rip out all the recursive configure code.
6355 * Remove bonobo machinery.
6356 * viewer/*: GInterfaces that backends should/can implement.
6358 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6360 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6363 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6365 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6366 (ev_application_finalize, ev_application_class_init)
6367 (ev_application_init): use GType instance private data for priv.
6369 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6370 (ev_window_finalize, ev_window_class_init)
6371 (ev_window_init): ditto.
6373 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6375 * shell/ev-application.c (ev_application_new_window): make public
6376 (ev_application_show_initial_window): kill.
6378 * shell/ev-application.h: update prototypes.
6380 * shell/main.cc (main): inline ev_application_show_initial_window.
6382 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6384 * shell/ev-application.c (ev_application_new_window): impl.
6385 (ev_application_show_initial_window): use it.
6386 (is_window_empty, ev_application_get_empty_window): returns an
6387 existing empty window or a new one.
6388 (ev_application_open): from ev_window_cmd_file_open.
6390 * shell/ev-application.h: update prototypes
6392 * shell/ev-window.c (ev_window_is_empty): impl.
6393 (ev_window_open): make public.
6394 (ev_window_cmd_file_open): use ev_application_open
6396 * shell/ev-window.h: update prototypes, remove unused.
6398 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6400 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6401 move destroy handler out of here...
6403 * shell/ev-application.c, shell/ev-application.h: ...into this new
6404 class. Also handles initial window creation.
6406 * shell/main.cc (main): use EvApplication to create initial
6409 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6411 * Makefile.am (SUBDIRS): add cut-n-paste
6413 * cut-n-paste/Makefile.am: add
6415 * configure.ac: generate Makefiles in cut-n-paste
6417 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6419 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6420 (ev_window_class_init): install ev_window_dispose.
6422 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6424 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6425 char (gchar looks stupid).
6427 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6429 * po/de.po: updated German translation.
6431 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6433 * configure.ac: add more pkg-config library checks for gnome-vfs,
6436 * gpdf/configure.in: temporarily disable libpaper
6437 checks. Otherwise I'd have to add the checks for the shell, too.
6439 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6441 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6442 and * file filters to the file choose.
6444 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6446 * po/de.po: Updated German translation.
6448 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6450 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6452 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6454 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6456 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6457 (ev_window_init): implement those menuitems.
6459 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6461 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6463 * shell/ev-window.c (ev_window_init): use the toolbar.
6465 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6467 * shell/ev-window.c (ev_window_init): use menu translations
6469 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6471 * configure.ac: add "de" to ALL_LINGUAS.
6473 * po/de.po: add German translation.
6475 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6477 * Makefile.am (SUBDIRS): add po
6479 * configure.ac: check intltool, glib-gettext etc, generate
6482 * po, po/POTFILES.in, po/POTFILES.skip: new.
6484 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6486 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6487 already use (#ifdef ENABLE_NLS)
6489 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6490 pointer indirection thinko.
6492 * shell/main.c: include gi18n.h for bindtextdomain etc.
6494 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6496 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6497 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6498 tooltips for menu items in the statusbar.
6500 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6502 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6503 pkgdatadir drop UIDIR
6505 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6507 * data/evince-ui.xml: Add File->Open menu item
6509 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6510 chooser), hook it up in the ui manager.
6512 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6514 * shell/ev-window.c: fix Help->About tooltip.
6516 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6518 * configure.ac: set CFLAGS for libevprivate.
6520 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6521 definitions, factory etc.
6523 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6525 * shell/Makefile.am: link against libevprivate.a.
6527 * shell/ev-window.c (entries): add stock icon to Help->About.
6529 * shell/main.c (main): init stock icon code.
6531 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6533 * lib/recent-files: egg recent files code
6535 * lib/Makefile.am: add.
6537 * Makefile.am: add lib subdir.
6539 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6540 set CFLAGS for recent-files.
6542 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6544 * configure.ac: disable -ansi and -pedantic gcc flags. They
6545 disable POSIX stuff in stdio.h, but egg-recent uses them.
6547 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6549 * configure.ac: add --disable-deprecated flag (defaults to on in
6552 * shell/Makefile.am (INCLUDES): use it.
6554 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6556 * shell/main.c: add missing #include.
6558 * shell/ev-window.c: fix for pedantic gcc.
6559 (ev_window_cmd_help_about): split license into paragraphs for
6560 translators and pedantic compilers.
6562 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6564 * configure.ac: add more warning flags if compiling with gcc from
6565 cvs (or explicitly requested with --enable-more-warnings).
6567 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6569 * data/evince-ui.xml: add File and File->Close menu.
6571 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6572 (ev_window_destroy): quit after destroy.
6573 (ev_window_class_init): override GtkObject::destroy.
6574 (entries): install close_window callback.
6576 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6578 * Makefile.am (SUBDIRS): add data subdir.
6580 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6581 gtk+ 2.5.0 for GtkAboutDialog.
6583 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6586 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6588 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6590 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6592 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6594 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6596 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6598 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6600 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6602 * shell/*: Added shell directory boilerplate, build it.
6604 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6606 * configure.ac, Makefile.am: Added top-level configure.ac and