1 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
4 requires several clicks to find word. Thanks to
5 Colin Slater <kiltedtaco@gmail.com>.
7 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
9 * data/evince.desktop.in.in: Hide menu entry and
10 rename it to "Document Viewer". Fix for bug
13 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
15 * shell/ev-page-action.c (ev_page_action_class_init):
17 Point to the correct function in constructor of the
20 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
22 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
23 * shell/ev-jobs.h: Make thread safe.
25 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
27 * shell/ev-view.c: (view_update_range_and_current_page):
28 Don't update page range if we are scrolling to some document
31 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
33 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
34 when getting max_page_width, fix drawing in dual mode.
36 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
38 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
39 getting the area for select_all.
41 2005-08-06 Kristian Høgsberg <krh@redhat.com>
43 * backend/ev-selection.c: (ev_selection_render_selection):
44 * backend/ev-selection.h:
46 * shell/ev-jobs.c: (ev_job_render_new):
48 * shell/ev-pixbuf-cache.c: (get_selection_colors),
49 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
50 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
53 Change selection color on focus in and focus out events. Also,
54 poppler now uses GdkColor for specifying the selection colors, so
55 drop some awkward conversion code.
57 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
59 * configure.ac: Added Hebrew translation
61 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
64 * backend/ev-selection.c: (ev_selection_render_selection):
65 * backend/ev-selection.h:
67 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
70 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
71 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
72 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
73 (ev_pixbuf_cache_style_changed),
74 (ev_pixbuf_cache_get_selection_pixbuf),
75 (ev_pixbuf_cache_set_selection_list),
76 (ev_pixbuf_cache_get_selection_list):
77 * shell/ev-pixbuf-cache.h:
78 * shell/ev-utils.c: (ev_print_region_contents):
80 * shell/ev-view.c: (ev_view_queue_draw_page),
81 (selection_update_idle_cb), (ev_view_motion_notify_event),
82 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
83 (setup_caches), (ev_view_find_next), (merge_selection_region),
85 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
87 Clean up selection to be much smoother!
89 2005-08-05 Kristian Høgsberg <krh@redhat.com>
91 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
92 to poppler_page_render_selection().
94 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
96 * ps/ps-document.c: (save_page_list): Use
97 unzipped document when printing. Thanks to
98 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
101 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
103 * shell/ev-window.c: (update_action_sensitivity):
105 Disable print and save respect to lockdown gconf keys. Fix
108 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
111 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
112 (write_to_temp_file), (ev_file_set_contents):
114 * shell/ev-window.c: (save_print_config_to_file):
116 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
119 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
121 * shell/ev-window.c: (load_print_config_from_file),
122 (save_print_config_to_file), (ev_window_print_range):
124 Persist the print settings. Fixes bug #311578.
126 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
128 * djvu/djvu-document.c: (djvu_document_get_page_size),
129 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
130 (djvu_document_thumbnails_get_thumbnail):
131 * dvi/dvi-document.c: (dvi_document_get_page_size),
132 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
133 (dvi_document_thumbnails_get_dimensions),
134 (dvi_document_thumbnails_get_thumbnail):
135 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
136 (pixbuf_document_render_pixbuf),
137 (pixbuf_document_document_iface_init),
138 (pixbuf_document_thumbnails_get_thumbnail):
140 Update backends to make them build with new rotation system.
142 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
144 * help/C/figures/evince_start_window.png:
146 Update documentation image from Luca Ferretti <elle.uca@libero.it>
148 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
150 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
151 * shell/ev-pixbuf-cache.h:
152 * shell/ev-sidebar-thumbnails.c:
153 (ev_sidebar_thumbnails_get_property), (add_range),
154 (adjustment_changed_cb):
155 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
156 pixbuf cache. Make thumbnailing work again. Also, fix bug where
157 we were thumbnailing the entire docment on startup, slowing us
160 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
162 * shell/ev-page-cache.c: (ev_page_cache_new):
163 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
166 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
168 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
169 (ev_view_rotate_left):
171 Account rotation in doc_rect_to_view_rect.
172 Ensure rotation doesnt go out of bounds.
174 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
176 * shell/ev-page-cache.c: (ev_page_cache_get_size):
178 Correct and cleanup w/h swapping
180 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
182 * backend/ev-document-thumbnails.c:
183 (ev_document_thumbnails_get_thumbnail):
184 * backend/ev-document-thumbnails.h:
185 * backend/ev-document.c:
186 * backend/ev-document.h:
187 * backend/ev-render-context.c: (ev_render_context_new),
188 (ev_render_context_set_rotation):
189 * backend/ev-render-context.h:
191 * ps/ps-document.c: (ps_document_document_iface_init):
192 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
194 * shell/ev-page-cache.c: (build_height_to_page),
195 (ev_page_cache_new), (ev_page_cache_get_size),
196 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
197 (ev_page_cache_get_height_to_page):
198 * shell/ev-page-cache.h:
199 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
200 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
201 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
202 (ev_pixbuf_cache_get_selection_pixbuf):
203 * shell/ev-pixbuf-cache.h:
204 * shell/ev-print-job.c: (idle_print_handler):
205 * shell/ev-sidebar-thumbnails.c: (add_range):
206 * shell/ev-view.c: (view_update_range_and_current_page),
207 (get_page_y_offset), (get_page_extents),
208 (ev_view_size_request_continuous_dual_page),
209 (ev_view_size_request_continuous),
210 (ev_view_size_request_dual_page),
211 (ev_view_size_request_single_page), (draw_one_page),
212 (ev_view_set_rotation), (ev_view_rotate_right),
213 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
214 (ev_view_zoom_for_size_continuous_and_dual_page),
215 (ev_view_zoom_for_size_continuous),
216 (ev_view_zoom_for_size_dual_page),
217 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
218 (ev_view_select_all):
219 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
220 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
221 (tiff_document_document_iface_init),
222 (tiff_document_thumbnails_get_thumbnail):
224 Use rotation rather than orientation. It's easier and enough
227 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
229 * shell/ev-page-cache.c: (build_height_to_page),
230 (ev_page_cache_new), (ev_page_cache_get_size),
231 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
232 (ev_page_cache_get_height_to_page):
233 * shell/ev-page-cache.h:
234 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
235 (ev_view_size_request_continuous_dual_page),
236 (ev_view_size_request_continuous),
237 (ev_view_zoom_for_size_continuous_and_dual_page),
238 (ev_view_zoom_for_size_continuous):
240 Make the page cache aware of page orientation.
242 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
244 * backend/ev-document-thumbnails.c:
245 (ev_document_thumbnails_get_thumbnail):
246 * backend/ev-document-thumbnails.h:
247 * backend/ev-document.c:
248 * backend/ev-document.h:
249 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
250 * backend/ev-ps-exporter.h:
252 * ps/ps-document.c: (ps_document_document_iface_init),
253 (ps_document_ps_export_do_page):
254 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
256 * shell/ev-page-cache.c: (ev_page_cache_get_size),
258 * shell/ev-page-cache.h:
259 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
260 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
261 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
262 * shell/ev-pixbuf-cache.h:
263 * shell/ev-print-job.c: (idle_print_handler):
264 * shell/ev-sidebar-thumbnails.c: (add_range):
265 * shell/ev-view.c: (view_update_range_and_current_page),
266 (get_page_extents), (ev_view_size_request_dual_page),
267 (ev_view_size_request_single_page), (draw_one_page),
268 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
269 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
270 (ev_view_zoom_for_size_dual_page),
271 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
272 (ev_view_select_all):
273 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
274 * tiff/tiff-document.c: (tiff_document_get_page_size),
275 (tiff_document_get_orientation), (rotate_pixbuf),
276 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
277 (tiff_document_thumbnails_get_thumbnail),
278 (tiff_document_ps_export_do_page), (tiff_document_init):
280 Really make use of the orientation bit of the render context.
281 Use the render context in a few more places in the backend API.
282 This regress orientation, but now it's done right. Will try to
285 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
287 * shell/ev-view.c: (ensure_rectangle_is_visible):
289 Patch by Nickolay V. Shmyrev to fix find flickering
291 2005-07-27 Martin Kretzschmar <martink@gnome.org>
293 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
294 duplex parameters to ::begin.
296 * tiff/tiff-document.c (tiff_document_ps_export_begin):
297 * shell/ev-print-job.c (idle_print_handler):
298 * ps/ps-document.c (ps_document_ps_export_begin):
299 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
300 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
301 implementations. Poppler backend needs poppler cvs. Rest has
304 2005-07-25 Martin Kretzschmar <martink@gnome.org>
306 * shell/ev-window.c (using_pdf_printer): new function.
307 (ev_window_print_range): print a less techy message if someone
308 tries to print to PDF.
310 2005-07-25 Martin Kretzschmar <martink@gnome.org>
312 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
313 from "unknown font" string. Bug #311431
315 2005-07-24 Martin Kretzschmar <martink@gnome.org>
317 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
319 2005-07-24 Martin Kretzschmar <martink@gnome.org>
323 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
324 name for PopplerFontTypes
325 (pdf_document_fonts_fill_model): add font type to the detail column
327 * backend/ev-document-fonts.h: added
328 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
330 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
331 font name and font details, add a little markup.
332 (ev_properties_fonts_init): use the new cell data func, specify ypad
333 property for the cell renderer.
334 (ev_properties_fonts_set_document): add the details column.
336 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
338 * configure.ac: Added "pl" to ALL_LINGUAS.
340 2005-07-24 Danilo Šegan <danilo@gnome.org>
342 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
344 2005-07-23 Tommi Vainikainen <thv@iki.fi>
346 * help/ChangeLog: Started this for translations of manual.
347 * configure.ac, autogen.sh, .cvsignore: Migrated to
348 gnome-doc-utils. Patch in bug #311222.
350 2005-07-22 Martin Kretzschmar <martink@gnome.org>
352 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
353 #ifdef this away to fix an unused-function warning.
355 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
357 * configure.ac: Added 'gl' to ALL_LINGUAS.
359 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
361 * configure.ac: Added ne in ALL_LINGUAS
363 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
365 * shell/ev-view.c: (ev_view_leave_notify_event):
367 Clear status message when pointer leaves view. Fix for bug
370 2005-07-20 Ankit Patel <ankit644@yahoo.com>
372 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
374 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
376 * shell/ev-view.c: (ev_view_leave_notify_event),
377 (ev_view_class_init):
379 Set cursor to normal then leaving view.
381 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
385 Fix required djvulibre version.
387 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
389 *configure.ac: Hindi (hi) language added
391 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
393 *configure.ac: Punjabi (pa) Language added
395 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
397 * data/evince-ui.xml, shell/ev-window.c:
399 Add keypad accelerators for zooming. Fix for bug 308128.
401 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
404 * backend/Makefile.am:
405 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
407 * shell/ev-document-types.c: (ev_document_types_add_filters):
409 Allow to enable/disable the pixbuf backend.
410 Default to off for now. If we want it enabled we should
411 really put mime types in the desktop, implement properties etc.
413 * properties/evince-properties.c:
415 Initialize error to NULL.
416 Check error is not NULL before freeing.
418 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
422 Use F5 as presentation accell
424 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
426 * shell/ev-window.c: (update_chrome_visibility),
427 (ev_window_create_fullscreen_popup), (ev_window_init):
429 Do not leak the fullscreen toolbar
431 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
433 * shell/ev-window.c: (view_actions_focus_in_cb),
434 (view_actions_focus_out_cb):
436 These has a return value! Fix totally random focus
437 issues we was seeing.
439 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
441 * shell/main.c: (load_files_remote):
443 Allow open more than one file
445 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
447 * shell/main.c: (load_files_remote):
449 Fix for dbus 0.33. bug #309975
451 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
453 * properties/ev-properties-main.c: (ev_properties_get_pages):
455 Actually return NULL for types we dont support
457 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
463 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
465 * backend/ev-document-factory.c:
466 (ev_document_factory_get_document):
468 Do not try to create the object if type
471 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
473 * ps/ps-document.c: (ps_document_dispose),
474 (ps_async_renderer_render_pixbuf):
477 Do not leak the target window
479 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
481 * shell/ev-application.c: (ev_application_init):
483 Let tbe check file existence for us.
484 Add a comment about eggrecent mime filter.
486 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
488 * data/evince-ui.xml:
489 * shell/ev-application.c: (ev_application_shutdown),
490 (ev_application_init), (ev_application_get_toolbars_model),
491 (ev_application_get_recent_model),
492 (ev_application_save_toolbars_model):
493 * shell/ev-application.h:
494 * shell/ev-window.c: (ev_window_add_recent),
495 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
496 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
499 Use common toolbar and recent models for all windows.
500 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
502 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
504 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
505 successfully check for gtk_icon_view_get_visible_range.
507 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
512 Fix djvu and dvi backend build.
514 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
516 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
517 (new_separator_pixbuf):
521 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
523 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
525 HIGification of toolbar editor dialogue.
527 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
532 Ever build metadata manager since it's just
533 disabled at runtime now.
535 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
537 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
538 (ev_metadata_manager_get), (ev_metadata_manager_set):
539 * shell/ev-metadata-manager.h:
541 Add an _init functions that enabled metadata management
544 * shell/ev-window.c: (page_changed_cb),
545 (setup_document_from_metadata), (ev_window_setup_document),
546 (setup_view_from_metadata), (ev_window_open_uri),
547 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
548 (ev_window_run_presentation), (ev_window_stop_presentation),
549 (save_sizing_mode), (ev_window_zoom_changed_cb),
550 (ev_window_continuous_changed_cb),
551 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
552 (window_configure_event_cb):
554 Remove all ugly metadata define since we deal with it
557 * shell/main.c: (load_files_remote), (main):
559 Add support for dbus cvs head. Hopefully didnt break one
560 of the other versions now!
562 If we dont get a response from the dbus server just
563 give up with it and not enable metadata.
565 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
568 * backend/Makefile.am:
570 * cut-n-paste/recent-files/Makefile.am:
571 * cut-n-paste/toolbar-editor/Makefile.am:
572 * cut-n-paste/zoom-control/Makefile.am:
575 * pixbuf/Makefile.am:
576 * properties/Makefile.am:
579 * thumbnailer/Makefile.am:
582 Make frontends depend on just libev.
583 Rework and group CFLAGS/LIBS definitions.
586 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
590 do not unnecessarily save zoom
593 * lib/ev-file-helpers.c: (ev_dot_dir):
599 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
603 Remove unnecessary dependencies
605 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
607 * properties/Makefile.am:
608 * thumbnailer/Makefile.am:
611 Some more cleanups. Was really necessary
612 but I probably introduced bugs, feel free
615 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
617 * backend/Makefile.am:
619 * cut-n-paste/recent-files/Makefile.am:
620 * cut-n-paste/toolbar-editor/Makefile.am:
621 * cut-n-paste/zoom-control/Makefile.am:
624 * pixbuf/Makefile.am:
625 * properties/Makefile.am:
628 * thumbnailer/Makefile.am:
631 Use gnome-common macros when possible.
632 Cleanup dependencies.
633 Actually disable deprecated where possible.
635 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
638 * backend/Makefile.am:
639 * properties/Makefile.am:
641 * thumbnailer/Makefile.am:
643 This should solve the circular dep without
646 * shell/ev-window.c: (setup_view_from_metadata):
648 Never restore window size/position when the
649 window is already visible.
651 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
653 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
655 Return a boolean from timeout func. Fix ported from gedit.
657 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
659 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
661 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
663 * shell/ev-document-types.c: set "All Documents" as default filter in
666 2005-07-06 Martin Kretzschmar <martink@gnome.org>
668 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
669 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
670 (ev_metadata_manager_set_boolean): fix value/val thinko.
672 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
674 * shell/ev-window.c: (setup_view_from_metadata),
675 (window_state_event_cb), (window_configure_event_cb),
678 Remember window position and maximized state
680 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
684 Fix DBUS configure checks.
686 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
687 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
688 (ev_metadata_manager_set_boolean):
692 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
693 (ev_window_stop_fullscreen), (ev_window_run_presentation),
694 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
695 (ev_window_continuous_changed_cb),
696 (ev_window_dual_mode_changed_cb), (ev_window_new):
698 Fix the build without DBUS.
700 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
702 * shell/ev-metadata-manager.c: (parse_value), (save_values),
703 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
704 (ev_metadata_manager_set_string),
705 (ev_metadata_manager_set_boolean):
706 * shell/ev-metadata-manager.h:
708 Add support for some more types
710 * shell/ev-view.c: (scroll_to_current_page),
711 (ev_view_get_continuous), (ev_view_set_continuous),
712 (ev_view_get_dual_page):
714 * shell/ev-window.c: (page_changed_cb),
715 (setup_document_from_metadata), (ev_window_setup_document),
716 (setup_view_from_metadata), (ev_window_open_uri),
717 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
718 (ev_window_run_presentation), (ev_window_stop_presentation),
719 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
720 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
721 (ev_window_update_dual_page_action),
722 (ev_window_continuous_changed_cb),
723 (ev_window_dual_mode_changed_cb), (ev_window_init):
725 Remember a bunch of view/document properties. Prolly some
726 are still missing but it's getting interesting.
728 2005-07-05 Martin Kretzschmar <martink@gnome.org>
730 * configure.ac: check if dbus-binding-tool is installed. Not the
731 case on current Ubuntu breezy, it seems.
733 2005-07-05 Luca Ferretti <elle.uca@libero.it>
735 * data/evince.desktop.in.in:
737 Allow open uri lists and add TryExec field.
739 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
743 Enable dbus when available, do not require a configure
746 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
750 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
753 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
754 Marco Pesenti Gritti <mpg@redhat.com>
756 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
758 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
759 functions to the format required by dbus
761 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
762 errors. Use the RPC parameters in the expected way
764 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
767 * properties/Makefile.am:
768 * properties/ev-properties-main.c: (ev_properties_get_pages):
770 Support all mime types
773 * thumbnailer/Makefile.am:
774 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
775 (evince_thumbnail_pngenc_get):
777 Use the document factory
779 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
781 * backend/Makefile.am:
782 * backend/ev-document-factory.c:
783 (mime_type_supported_by_gdk_pixbuf),
784 (ev_document_type_get_from_mime),
785 (ev_document_factory_get_document),
786 (ev_document_factory_get_backend),
787 (ev_document_factory_get_mime_types),
788 (ev_document_factory_get_all_mime_types):
789 * backend/ev-document-factory.h:
791 * shell/ev-document-types.c: (get_document_from_uri),
792 (ev_document_types_get_document),
793 (file_filter_add_mime_list_and_free),
794 (ev_document_types_add_filters):
795 * shell/ev-document-types.h:
796 * shell/ev-job-xfer.c: (ev_job_xfer_run):
797 * shell/ev-properties-dialog.c:
798 (ev_properties_dialog_set_document):
799 * shell/ev-window.c: (ev_window_cmd_file_open),
800 (ev_window_cmd_save_as):
801 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
803 Rework document types managing to avoid code duplication
804 and actually abstract from backend implementations.
805 Also provide a minimal factory api that can be used by
806 thumbnailer/properties.
808 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
810 * properties/ev-properties-view.c: (ev_properties_view_set_info):
812 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
815 2005-07-04 Matthew S. Wilson <msw@rpath.com>
817 * shell/ev-properties-dialog.c
818 (ev_properties_dialog_set_document): only call
819 ev_properties_fonts_set_document() if the document implements the
822 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
825 * properties/Makefile.am:
826 * properties/ev-properties-view.c:
827 (ev_properties_view_register_type):
828 * properties/ev-properties-view.h:
829 * properties/ev-properties-main.h:
831 Implement nautilus plugin for properties.
832 Works only for pdf atm, I need to rework the
833 document types stuff to get this to work
836 2005-07-04 Martin Kretzschmar <martink@gnome.org>
838 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
839 (ev_properties_fonts_set_document): use
840 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
842 2005-07-04 Matthew S. Wilson <msw@rpath.com>
844 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
846 (PlaceImage, tiff2ps_process_page): use
847 g_ascii_dtostr to convert floats to strings in a locale-safe way.
850 2005-07-04 Martin Kretzschmar <martink@gnome.org>
852 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
853 (main): to call gnome_authentication_manager_init. Should fix
856 * configure.ac: that requires libgnomeui 2.6.0.
858 2005-07-04 Matthew S. Wilson <msw@rpath.com>
860 * tiff/tiff-document.c (tiff_document_ps_export_begin)
861 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
862 use the new tiff2ps interfaces
864 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
865 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
867 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
868 structure instead of global variables. Remove use of static
869 variables in functions.
871 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
873 * shell/ev-page-action.c: unref the completion after setting it to the
876 2005-07-04 Matthew S. Wilson <msw@rpath.com>
878 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
881 2005-07-04 Matthew S. Wilson <msw@rpath.com>
883 * shell/ev-window.c (update_action_sensitivity): disable
884 File->Print if the document does not implement the ps exporter
887 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
891 * data/evince-properties.glade:
892 * properties/.cvsignore:
893 * properties/Makefile.am:
894 * properties/ev-properties-view.c: (ev_properties_view_dispose),
895 (ev_properties_view_class_init), (ev_properties_view_format_date),
896 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
897 (ev_properties_view_init), (ev_properties_view_new):
898 * properties/ev-properties-view.h:
900 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
901 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
902 (ev_properties_dialog_new):
903 * shell/ev-properties-dialog.h:
904 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
905 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
906 (update_progress_label), (job_fonts_finished_cb),
907 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
908 * shell/ev-properties-fonts.h:
909 * shell/ev-properties.c:
910 * shell/ev-properties.h:
911 * shell/ev-window.c: (ev_window_setup_document),
912 (ev_window_cmd_file_properties):
914 Split the properties pages in two different objects, depend
915 only on the backend where possible, use widgets instead
916 of gobject for the glade part, reimplement the dialog
918 I need this to implement nautilus properties page.
920 2005-07-03 Matthew S. Wilson <msw@rpath.com>
922 * tiff/tiff-document.c (tiff_document_ps_export_begin)
923 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
924 (tiff_document_document_ps_exporter_iface_init): implement the ps
925 exporter interface for tiff documents
927 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
928 libtiff to implement TIFF postscript export
930 * tiff/tiff2ps.h: added a header file for external tiff2ps
933 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
936 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
938 * shell/ev-view.c: (scroll_to_current_page),
939 (ev_view_set_fullscreen), (ev_view_set_presentation):
941 Scroll to current page when exit from presentation
943 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
945 * shell/ev-window.c: (update_document_mode),
946 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
947 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
948 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
950 Exit from fullscreen mode when switch to presentation. Fix for
953 2005-07-02 Matthew S. Wilson <msw@rpath.com>
955 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
956 return NULL if the document does not implement the selection
959 2005-07-02 Matthew S. Wilson <msw@rpath.com>
961 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
962 reported height by using the resolution aspect ratio
963 (tiff_document_render_pixbuf): scale the pixbuf using the
964 resolution aspect ratio
966 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
970 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
971 <kiltedaco@gmail.com>
973 * djvu/djvu-document.c: (djvu_document_get_orientation),
974 (djvu_document_set_orientation), (djvu_document_get_page_size),
975 (rotate_pixbuf), (djvu_document_render_pixbuf),
976 (djvu_document_document_iface_init):
977 * dvi/dvi-document.c: (dvi_document_get_orientation),
978 (dvi_document_set_orientation), (dvi_document_get_page_size),
979 (rotate_pixbuf), (dvi_document_render_pixbuf),
980 (dvi_document_document_iface_init):
982 Dvi and djvu backends are ported to new API
984 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
986 * backend/ev-selection.c: (ev_selection_get_selection_region),
987 (ev_selection_get_selection_map):
988 * backend/ev-selection.h:
990 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
992 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
993 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
994 (ev_pixbuf_cache_get_text_mapping):
995 * shell/ev-pixbuf-cache.h:
996 * shell/ev-view.c: (location_in_text),
997 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
998 support to EvView. Now we can see where we can select! Sweet!
1000 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1002 * shell/ev-view.c (ev_view_button_press_event): Fix
1003 event->y + view->scroll_x typo.
1005 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1007 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1008 sub-GdkPixbuf instead of passing dest_x and dest_y.
1010 * shell/ev-view.c: (view_point_to_doc_point),
1011 (view_rect_to_doc_rect), (ev_view_button_press_event),
1012 (ev_view_motion_notify_event), (compute_new_selection_rect),
1013 (gdk_rectangle_point_in), (compute_new_selection_text),
1014 (compute_selections): Update selection code to keep the selection
1015 around as two points and not as a normalized rectangle, and fix
1016 page level selection in two-column mode.
1018 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1020 * shell/ev-window.c: (window_configure_event_cb):
1024 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1026 * pdf/ev-poppler.cc:
1030 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1032 * shell/Makefile.am:
1033 * shell/ev-metadata-manager.c: (item_free),
1034 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1035 (parse_value), (parseItem), (load_values),
1036 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1037 (save_values), (save_item), (get_oldest), (resize_items),
1038 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1039 * shell/ev-metadata-manager.h:
1041 Metadata manager from gedit but modified to use GValue, so that
1042 we dont need to keep converting from strings.
1046 ENABLE_METADATA conditional, on when dbus is on
1048 * shell/ev-application.c: (ev_application_open_uri):
1050 Show the window after load so that we can initialize
1051 window size before it's showed.
1053 * shell/ev-window.c: (ev_window_setup_from_metadata),
1054 (ev_window_open_uri), (window_configure_event_cb),
1057 Save and load metadata information about window size.
1058 Not yet keeping states in account.
1060 * shell/main.c: (main):
1062 Shutdown metadata manager.
1064 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1066 * shell/ev-application-service.xml:
1068 * shell/Makefile.am:
1069 * shell/ev-application.c:
1070 * shell/ev-application.h:
1071 * shell/ev-window.c:
1072 * shell/ev-window.h:
1075 Add an optional dbus interface (--enable-dbus).
1076 Rework application code, mainly to be easier to
1078 Do not open multiple windows with the same document,
1081 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1083 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1084 pixbuf iff it exists.
1086 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1089 * backend/ev-render-context.[ch]:
1090 * backend/ev-selection.[ch]:
1092 Massive changes. We now support text selection of pdfs, and not
1093 just rectangular selection. This is pretty broken still, but I
1094 want to get something into CVS.
1096 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1098 * pdf/ev-poppler.cc:
1100 Fix for Bug 309080: crash on window close.
1102 * shell/ev-page-action.c: (page_changed_cb):
1104 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1105 jensgr@gmx.net (Jens Granseuer).
1107 2005-06-25 Marcel Telka <marcel@telka.sk>
1109 * configure.in (ALL_LINGUAS): Added sk.
1111 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1113 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1116 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1123 * cut-n-paste/recent-files/Makefile.am:
1127 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1129 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1130 (pixbuf_document_set_orientation), (rotate_pixbuf),
1131 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1132 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1134 Implement rotation and cleanup the code a bit.
1136 * tiff/tiff-document.c: (tiff_document_get_page_size),
1137 (tiff_document_get_orientation), (tiff_document_set_orientation),
1138 (rotate_pixbuf), (tiff_document_render_pixbuf),
1139 (tiff_document_document_iface_init), (tiff_document_init):
1141 Implement rotation. Was the quicker solution for the release
1142 but we really need to share this code in the shell.
1144 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1146 * pdf/ev-poppler.cc:
1148 Enable rotation, require poppler cvs. Fix a leak.
1150 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1152 * shell/ev-window.c: (update_action_sensitivity):
1154 Make properties unsensitive if document backend doesn't provide
1157 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1159 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1160 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1161 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1162 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1163 (bitmap_flip_rotate_counter_clockwise):
1164 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1165 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1167 * dvi/mdvi-lib/common.h:
1168 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1169 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1170 (opendvi), (mdvi_reload), (mdvi_init_context),
1171 (mdvi_destroy_context), (mdvi_dopage), (special):
1172 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1173 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1174 (file_hash_free), (register_encoding), (parse_spec),
1175 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1176 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1177 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1178 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1179 (mdvi_register_font_type), (mdvi_unregister_font_type),
1180 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1181 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1182 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1183 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1184 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1185 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1186 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1187 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1188 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1189 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1190 (mdvi_unregister_special), (mdvi_flush_specials):
1191 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1193 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1194 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1195 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1196 (free_font_metrics), (flush_font_metrics):
1197 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1199 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1200 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1201 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1202 (dstring_insert), (dstring_new), (dstring_reset):
1203 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1205 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1206 avoid conflict with libtool on FC4
1208 * shell/ev-window.c: (ev_window_cmd_help_about):
1210 Update copyright year. Fix for bug 308828.
1212 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1214 * shell/ev-view.c: (add_scroll_binding_keypad),
1215 (ev_view_binding_activated), (ev_view_class_init),
1216 (on_adjustment_value_changed):
1218 Bug 170874: Arrow keys switch pages in presentation mode
1220 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1222 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1224 Fix for Bug 308265: Sidebar dissappears coming out of
1227 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1229 * shell/ev-application.c: (ev_application_open):
1230 * shell/ev-document-types.c: (ev_document_types_add_filters),
1231 (ev_document_types_add_filters_for_type):
1232 * shell/ev-document-types.h:
1233 * shell/ev-window.c: (ev_window_cmd_save_as):
1235 Suggest basename as template when saving, provide filters
1236 for save dialog. It's bug 308402
1238 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1240 * pdf/ev-poppler.cc:
1241 * shell/ev-sidebar-links.c: (job_finished_callback):
1242 * shell/ev-view.c: (update_find_status_message):
1246 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1248 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1249 (egg_recent_view_uimanager_set_list):
1251 Fix buglet in !show_numbers case.
1253 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1255 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1256 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1258 Use pango ellipsisation.
1260 * pdf/ev-poppler.cc:
1262 Fix refcount leak, from nsh.
1264 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1266 * cut-n-paste/recent-files/Makefile.am:
1267 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1268 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1270 Removed EggRecentViewGtk
1272 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1273 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1274 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1275 (ev_window_setup_recent):
1277 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1280 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1282 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1283 (egg_recent_view_gtk_finalize):
1287 * cut-n-paste/toolbar-editor/Makefile.am:
1289 Fix location of cursor icon.
1291 * pdf/ev-poppler.cc:
1292 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1293 (display_completion_text), (match_completion):
1294 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1295 (selection_changed_callback), (create_loading_model),
1296 (print_section_cb), (links_page_num_func),
1297 (update_page_callback_foreach):
1298 * shell/ev-window.c: (ev_window_dispose):
1300 Small memory fixes. Links model now store objects instead
1301 of pointers to improve memory management.
1303 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1305 * shell/ev-window.c: (zoom_control_changed_cb):
1307 Fix update of zoom control (bug 308268).
1309 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1311 * shell/ev-properties.c (set_property): escape the text correctly.
1312 Handles non-UTF-8 properties and escaped properties. Also, sets
1313 the text to "<i>None</i>" if the property isn't set.
1315 * data/evince-properties.glade: Change the label to be ellipsized,
1316 and give it a minimum size.
1318 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1320 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1321 * shell/ev-sidebar-links.c: (create_loading_model):
1322 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1323 * shell/ev-view.c: (ev_view_set_document):
1324 * shell/ev-window.c: (ev_window_dispose):
1326 Various small fixes, mostly memory leaks. Thanks to valgrind.
1328 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1330 * ps/ps-document.c: remove the locale.h include again ;-). And
1331 kill the (bogus) setlocale/savelocale business.
1333 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1337 Include locale.h to fix build
1339 * shell/ev-sidebar.c:
1341 Remove unnecessary includes
1343 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1345 * dvi/dvi-document.c: (dvi_document_load):
1346 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1349 Check for incorrect dvi files. Fix parsing dvi on AMD64
1350 platform. Thanks to tester@tester.ca (Olivier Crete).
1352 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1354 * shell/ev-page-action.c: (match_selected_cb),
1355 (display_completion_text), (match_completion), (update_model):
1356 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1357 (expand_open_links):
1358 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1359 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1360 (ev_sidebar_set_document):
1361 * shell/ev-window.c: (ev_window_xfer_job_cb),
1362 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1364 Fixed lot's of memory leaks, for example, memory leak on reload,
1365 described in bug 307793.
1367 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1369 * pdf/ev-poppler.cc:
1370 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1371 (update_visible_range), (adjustment_changed_cb),
1372 (ev_sidebar_thumbnails_fill_model),
1373 (ev_sidebar_thumbnails_refresh),
1374 (ev_sidebar_tree_selection_changed),
1375 (ev_sidebar_icon_selection_changed),
1376 (ev_sidebar_thumbnails_use_icon_view),
1377 (ev_sidebar_thumbnails_set_document):
1378 * shell/ev-sidebar-thumbnails.h:
1379 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1380 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1382 Refresh thumbnails when changing orientation. Not fully
1383 working yet becuase of a sidebar bug.
1385 Set page orientation to poppler page everywhere. This sucks
1386 really need to fix poppler.
1388 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1390 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1391 (egg_recent_view_gtk_new_menu_item),
1392 (egg_recent_view_gtk_set_property),
1393 (egg_recent_view_gtk_get_property),
1394 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1395 (egg_recent_view_gtk_set_tooltip_func),
1396 (egg_recent_view_gtk_set_label_width),
1397 (egg_recent_view_gtk_get_label_width):
1398 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1400 Sync with libegg (ellipsize labels)
1402 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1404 * data/evince-ui.xml:
1405 * shell/ev-window.c: (ev_window_cmd_go_forward),
1406 (ev_window_cmd_go_backward):
1408 Shift + PageUp moves 10 Pages. Fix for 306125
1410 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1412 * pdf/ev-poppler.cc:
1414 Add a flag to check if orientation has been overriden
1416 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1418 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1421 * ps/ps.h: add creator field to document.
1423 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1426 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1428 * data/evince-properties.glade:
1429 * shell/ev-properties.c: (ev_properties_set_document):
1431 s/PDF Version/Format
1433 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1435 * shell/ev-properties.c: (ev_properties_set_document):
1437 Remove unnecessary translations
1439 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1441 * cut-n-paste/toolbar-editor/Makefile.am:
1443 Correct library name
1445 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1448 * cut-n-paste/recent-files/egg-recent-model.c:
1449 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1450 (egg_recent_model_unlock_file):
1451 * cut-n-paste/recent-files/egg-recent-util.c:
1452 (egg_recent_util_get_unique_id):
1453 * cut-n-paste/recent-files/update-from-egg.sh:
1454 * cut-n-paste/toolbar-editor/Makefile.am:
1455 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1456 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1457 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1458 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1459 (egg_toolbars_model_get_type):
1460 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1462 Better makefile for toolbar editor and update everything
1465 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1467 * shell/ev-window.c: (update_document_mode):
1469 Prefer presentation mode when the document
1472 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1474 * data/evince-ui.xml:
1475 * shell/ev-window.c:
1477 Add control-equal for zooming
1479 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1481 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1483 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1485 * backend/ev-document.c: (ev_document_get_orientation):
1486 * backend/ev-document.h:
1487 * pdf/ev-poppler.cc:
1488 * ps/ps-document.c: (ps_document_get_orientation),
1489 (ps_document_set_orientation), (ps_document_document_iface_init):
1491 Add a get_orientation api. Improve set_orientation.
1493 * data/evince-ui.xml:
1494 * shell/ev-view.c: (ev_view_set_orientation),
1495 (ev_view_rotate_right), (ev_view_rotate_left):
1497 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1498 (ev_window_cmd_edit_rotate_right):
1500 Better ui for changing document orientation
1502 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1504 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1505 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1506 * shell/ev-sidebar-links.h:
1507 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1508 (ev_sidebar_page_iface_init):
1509 * shell/ev-sidebar-page.h:
1510 * shell/ev-sidebar-thumbnails.c:
1511 (ev_sidebar_thumbnails_get_property),
1512 (ev_sidebar_thumbnails_class_init),
1513 (ev_sidebar_thumbnails_set_document):
1514 * shell/ev-sidebar-thumbnails.h:
1515 * shell/ev-view.c: (ev_view_motion_notify_event):
1516 * shell/ev-window.c: (update_chrome_visibility),
1517 (ev_window_cmd_focus_page_selector),
1518 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1519 (sidebar_page_main_widget_update_cb), (ev_window_init):
1521 Autoraise toolbar on GoToPage binding and fix bindings in
1522 EvSidebarThumbnails page.
1524 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1526 * shell/ev-properties.c: (update_progress_label):
1528 Hide the progress label when finished; bug #307697.
1530 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1532 * pdf/ev-poppler.cc:
1534 Enable is_open for links, you will need poppler cvs
1536 * shell/ev-properties.c: (job_fonts_finished_cb):
1538 Get a lock on the document when filling the tree view
1540 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1542 * backend/ev-document-links.h:
1543 * pdf/ev-poppler.cc:
1544 * shell/ev-sidebar-links.c: (create_loading_model),
1545 (expand_open_links), (job_finished_callback):
1547 Expand links when specified by the document.
1548 Depend on a poppler api (defined out for now)
1550 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1552 * shell/ev-properties.c: (ev_properties_dispose),
1553 (ev_properties_class_init), (dialog_destroy_cb),
1554 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1555 (ev_properties_set_document), (ev_properties_new),
1556 (ev_properties_show):
1557 * shell/ev-properties.h:
1559 Make it an object, cleanup the code, api to show it as transient
1560 and to set the document.
1562 * shell/ev-window.c: (ev_window_setup_document),
1563 (ev_window_cmd_file_properties):
1565 Adapt to EvProperties changes, do not show multiple
1566 times, update it when document changes.
1568 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1571 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1572 (ps_document_set_orientation), (ps_document_document_iface_init):
1575 Implement orientation here too
1577 * shell/ev-properties.c: (ev_properties_new):
1578 * data/evince-properties.glade:
1580 Hide the fonts page for backends that doesnt
1583 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1585 * backend/ev-document.c: (ev_document_set_orientation):
1586 * backend/ev-document.h:
1587 * pdf/ev-poppler.cc:
1589 Add orientation api. Currently poppler api is not optimal,
1590 we need to set orientation every time we _get a page.
1591 I will try to fix that at some point.
1593 * data/evince-ui.xml:
1594 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1595 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1597 Add orientation menu items
1599 * shell/ev-page-cache.c: (ev_page_cache_clear):
1600 * shell/ev-page-cache.h:
1602 Add api to clear the cache
1604 * shell/ev-view.c: (setup_caches), (clear_caches),
1605 (ev_view_set_document), (ev_view_zoom_out),
1606 (ev_view_set_orientation):
1609 Implement orientation changing
1611 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1613 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1614 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1615 * backend/ev-document-fonts.h:
1617 Separate scan and fill so that we can incrementally fill from
1618 the main thread. Add a progress api.
1620 * data/evince-properties.glade:
1621 * pdf/ev-poppler.cc:
1622 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1624 * shell/ev-properties.c: (update_progress_label),
1625 (job_fonts_finished_cb), (setup_fonts_view):
1627 Incrementally feel the list and show the progress
1628 percentage in a label like acrobat does.
1630 You are going to need poppler cvs
1632 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1634 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1635 * backend/ev-document-fonts.h:
1636 * pdf/ev-poppler.cc:
1638 Make fonts model fill incrementally.
1640 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1641 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1642 (ev_job_queue_remove_job):
1643 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1644 (ev_job_fonts_new), (ev_job_fonts_run):
1647 New job for fonts scanning
1649 * shell/ev-properties.c: (job_fonts_finished_cb),
1650 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1651 * shell/ev-properties.h:
1652 * shell/ev-window.c: (ev_window_cmd_file_properties):
1654 Incrementally feel the treeview using the new job. Show Loading...
1655 message until scanning is completed.
1657 Hopefully I didnt break the build without the poppler patch.
1659 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1661 * shell/ev-application.c: (ev_application_open):
1662 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1663 (ev_document_type_get_type), (ev_document_type_lookup):
1664 * shell/ev-document-types.h:
1665 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1666 * shell/ev-job-xfer.h:
1667 * shell/ev-window.c: (ev_window_clear_local_uri),
1668 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1669 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1670 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1672 Transfer remote documents to tmp directory to display them later.
1674 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1676 * backend/ev-document-info.h:
1677 * shell/ev-properties.c: (ev_properties_new):
1679 s/GTime*/GTime. Not sure why we was using a pointer
1682 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1684 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1685 situations. That situation is that you're using GTK+-HEAD with
1686 the patch at #306726 is applied, and you have a document with <
1687 1500 pages in it. It's not quite as uniformly nice as the
1688 TreeView, but should be better in the long run.
1690 I'm pretty sure I guarded against breaking compilation with
1691 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1694 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1695 widget yet, so I commented that code out
1696 enable_view_actions_for_widget() for now. Need to figure this
1699 * shell/ev-page-action.c (match_selected_cb): emit the right
1700 signals. Our cool C-l completion now works.
1702 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1704 * backend/Makefile.am:
1705 * backend/ev-document-fonts.c:
1706 * backend/ev-document-links.c:
1707 * backend/ev-document.c: (ev_document_load):
1708 * backend/ev-document.h:
1709 * backend/ev-job-queue.c:
1710 * backend/ev-job-queue.h:
1711 * backend/ev-jobs.c:
1712 * backend/ev-jobs.h:
1713 * backend/ev-page-cache.c:
1714 * backend/ev-page-cache.h:
1716 EvPageCache and EvJobs are moved to shell.
1718 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1720 * lib/ev-file-helpers.h:
1722 New helper to work with temporary files
1724 * shell/Makefile.am:
1725 * shell/ev-application.c: (ev_application_open):
1726 * shell/ev-application.h:
1727 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1728 (remove_job_from_async_queue), (add_job_to_async_queue),
1729 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1730 (handle_job), (search_for_jobs_unlocked),
1731 (no_jobs_available_unlocked), (ev_render_thread),
1732 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1733 (ev_job_queue_add_job), (move_job_async), (move_job),
1734 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1735 * shell/ev-job-queue.h:
1736 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1737 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1738 * shell/ev-job-xfer.h:
1739 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1740 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1741 (ev_job_links_class_init), (ev_job_render_init),
1742 (ev_job_render_dispose), (ev_job_render_class_init),
1743 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1744 (ev_job_thumbnail_class_init), (ev_job_load_init),
1745 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1746 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1747 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1748 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1750 * shell/ev-page-action.c: (ev_page_action_set_document):
1751 * shell/ev-page-cache.c: (ev_page_cache_init),
1752 (ev_page_cache_class_init), (ev_page_cache_finalize),
1753 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1754 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1755 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1756 (ev_page_cache_get_title), (ev_page_cache_get_size),
1757 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1758 (ev_page_cache_get_height_to_page),
1759 (ev_page_cache_get_max_label_chars),
1760 (ev_page_cache_get_page_label),
1761 (ev_page_cache_has_nonnumeric_page_labels),
1762 (ev_page_cache_get_info), (ev_page_cache_next_page),
1763 (ev_page_cache_prev_page), (ev_page_cache_get):
1764 * shell/ev-page-cache.h:
1765 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1766 (ev_pixbuf_cache_clear_job_sizes),
1767 (ev_pixbuf_cache_add_jobs_if_needed),
1768 (ev_pixbuf_cache_set_page_range):
1769 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1770 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1771 * shell/ev-sidebar-thumbnails.c:
1772 (ev_sidebar_tree_selection_changed),
1773 (ev_sidebar_thumbnails_set_document):
1774 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1775 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1776 (ev_statusbar_get_context_id), (ev_statusbar_push),
1777 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1778 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1779 (ev_statusbar_set_progress):
1780 * shell/ev-statusbar.h:
1781 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1782 (ev_view_find_previous):
1783 * shell/ev-window.c: (ev_window_is_empty),
1784 (ev_window_setup_document), (password_dialog_response),
1785 (ev_window_clear_jobs), (ev_window_load_job_cb),
1786 (ev_window_xfer_job_cb), (ev_window_open_uri),
1787 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1788 (ev_window_print), (ev_window_print_range),
1789 (ev_window_state_event), (ev_window_cmd_view_reload),
1790 (menu_item_select_cb), (menu_item_deselect_cb),
1791 (view_status_changed_cb), (ev_window_dispose),
1792 (drag_data_received_cb), (ev_window_init):
1793 * shell/ev-window.h:
1794 * shell/main.c: (load_files):
1796 New statusbar to show progress on idle. Two new jobs -
1797 xfer job and load job to load document in background. And update
1798 of page_cache clients to new location of code.
1800 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1802 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1803 selection in open dialog. It also remembers the last visited directory
1804 in the current session.
1806 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1808 * shell/ev-properties.c: (ev_properties_new):
1809 * shell/ev-properties.h:
1810 * shell/ev-window.c: (ev_window_cmd_file_properties):
1812 Get document info from page cache instead of document itself.
1813 This should fix crash related to race conditions described in
1816 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1818 * ps/ps-document.c: (ps_document_init),
1819 (send_ps), (get_page_box), (output), (catchPipe), (input),
1820 (stop_interpreter), (file_length), (file_readable),
1821 (check_filecompressedb), (ps_document_enable_interpreter),
1822 (document_load), (ps_async_renderer_render_pixbuf):
1825 Big cleanup of the ps code
1827 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1829 * backend/Makefile.am:
1830 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1831 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1832 * backend/ev-async-renderer.h:
1834 Add an async renderer interface (method + callback) which
1835 is useful for backends like ps.
1837 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1838 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1839 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1840 (ev_job_queue_add_job), (move_job_async), (move_job),
1841 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1843 Add queues for async renderer, these are executed on the
1846 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1847 (ev_job_render_run):
1848 * backend/ev-jobs.h:
1850 If the backend support async renderer interface use it.
1852 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1853 (setup_pixmap), (ps_document_get_type),
1854 (ps_async_renderer_render_pixbuf),
1855 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1857 Implement async renderer interface.
1859 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1861 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1863 Cleanup links job on exit.
1865 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1867 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1868 (drag_data_get_cb), (drag_data_received_cb):
1869 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1870 (drag_data_get_cb), (parse_item_list),
1871 (egg_toolbar_editor_load_actions):
1872 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1873 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1874 (parse_item_list), (parse_toolbars):
1875 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1876 (dvi_pixbuf_put_pixel):
1878 Fix gcc 4.0 warnings
1880 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1882 * ps/ps-document.c: (start_interpreter):
1884 Fix warning when loading ps
1886 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1888 * ps/ps-document.c: (output):
1890 Fix crash when priting gs error messages.
1892 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1894 * backend/ev-page-cache.c: (_ev_page_cache_new):
1895 * backend/ev-page-cache.h:
1897 Use a const to return title so that we dont double
1898 free it. Small cleanup and fix a leak.
1900 * shell/ev-window.c: (update_window_title):
1902 strdup value from get_title.
1904 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1906 * shell/ev-sidebar-links.c: (job_finished_callback),
1907 (ev_sidebar_links_set_document):
1909 Cleanup the old job when changing document
1911 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1913 * shell/ev-stock-icons.c:
1914 * shell/ev-stock-icons.h:
1915 * shell/ev-window.c:
1917 Add stock icons for actions that can appear in toolbar. Fix for
1920 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1922 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1923 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1924 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1925 * backend/ev-page-cache.h:
1926 * shell/ev-view.c: (scroll_to_current_page),
1927 (view_update_range_and_current_page), (get_page_y_offset),
1928 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1929 (ev_view_size_request_continuous),
1930 (ev_view_zoom_for_size_continuous_and_dual_page),
1931 (ev_view_zoom_for_size_continuous):
1933 More compact EvView layout in document with pages of different size.
1935 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1937 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1940 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1942 * shell/ev-view.c: (view_set_adjustment_values):
1943 * shell/ev-window.c: (ev_window_cmd_file_properties):
1945 A bit different fix for rounding problem but it has no
1946 problems on startup. Make properties window transient to parent.
1948 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1950 * pdf/ev-poppler.cc:
1952 More commenting of font stuff.
1954 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1956 * pdf/ev-poppler.cc:
1958 Comment out some more fonts stuff. Should really
1959 work without the poppler patch now.
1961 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1963 * pdf/ev-poppler.cc:
1967 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1969 * data/evince-properties.glade:
1970 * pdf/ev-poppler.cc:
1971 * shell/ev-properties.c: (setup_fonts_view):
1973 Set the column title. Show the dialog only
1974 once everything is setup.
1975 Getting font info can be very slow... will
1976 prolly need to make this threaded too.
1978 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1980 * backend/Makefile.am:
1981 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1982 (ev_document_fonts_get_fonts_model):
1983 * backend/ev-document-fonts.h:
1984 * data/evince-properties.glade:
1985 * pdf/ev-poppler.cc:
1986 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1987 * shell/ev-properties.h:
1988 * shell/ev-window.c: (ev_window_cmd_file_properties):
1990 Implement fonts list. Defined out for now, since it depends
1991 on a not yet committed poppler patch.
1993 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1995 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1998 * shell/ev-window.c: Make sure we add the timeout when we get a
2001 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2002 adjustment->value before calculating the zoom factor to average
2003 out all of our rounding errors. The page no longer 'drifts' when
2006 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2008 * data/evince-properties.glade:
2009 * shell/ev-properties.c: (ev_properties_format_date),
2012 Labels don't expand when the dialogue is resized.
2013 strftime result needs to be converted to UTF-8. Thanks
2014 to Christian Persch <chpe@gnome.org>.
2016 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2018 * data/evince-properties.glade:
2022 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2024 * backend/ev-document-info.h:
2025 * backend/ev-document.c: (ev_document_info_free):
2026 * data/evince-properties.glade:
2027 * pdf/ev-poppler.cc:
2028 * ps/ps-document.c: (ps_document_get_info):
2029 * shell/ev-properties.c: (ev_properties_format_date),
2030 (set_property), (ev_properties_new):
2031 * shell/ev-properties.h:
2032 * shell/ev-window.c: (ev_window_cmd_file_properties):
2034 Rework properties code to take only EvPropertyInfo
2035 in the constructor so that it can be useful for
2036 nautilus plugin too.
2038 Deal with backends that doesnt support some properties.
2039 Make set property code generic.
2041 2005-06-04 Christian Persch <chpe@gnome.org>
2043 * data/evince-properties.glade:
2045 fix spacings, make resizeable, and make data labels
2046 selectable + ellipsised
2048 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2050 * backend/ev-document-info.h:
2052 * data/evince-ui.xml:
2053 * pdf/ev-poppler.cc:
2054 * shell/Makefile.am:
2055 * shell/ev-window.c: (update_action_sensitivity),
2056 (ev_window_cmd_file_properties):
2058 Initial go at file properties. Patch by
2059 Emil Soleyman-Zomalan <emil@soleyman.com>.
2060 Needs love see #169583
2062 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2064 * ps/ps-document.c: (output):
2065 * ps/ps.c: (psscan):
2067 Try to render even if psscan fails.
2069 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2071 * ps/ps.c: (psscan), (pscopydoc):
2073 Port buffered reading code from gv
2075 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2077 * ps/ps-document.c: (interpreter_message), (output):
2079 Do not fail on interpreter messages
2081 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2083 * backend/ev-document-misc.c:
2084 (ev_document_misc_get_thumbnail_frame):
2086 Pages can be 0 x 0, dont assert on this case
2088 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2090 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2091 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2093 Correctly manage our reference on document. Finally the reload
2094 huge leak is gone...
2096 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2098 * ps/ps-document.c: (ps_document_dispose):
2100 Forgot to chain it to the parent. Thanks chpe.
2102 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2104 * ps/ps-document.c: (ps_document_dispose),
2105 (ps_document_class_init), (stop_interpreter), (document_load):
2107 Cleanup dispose a bit. Dont leak the whole pixmap.
2109 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2111 * pdf/ev-poppler.cc:
2113 Release the poppler document on dispose
2115 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2117 * shell/ev-view.c: (ev_view_set_document):
2119 Release ref on the pixbuf cache when changing
2122 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2124 * ps/ps-document.c: (ps_document_get_info):
2128 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2130 * backend/ev-page-cache.c: (ev_page_cache_init),
2131 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2132 * backend/ev-page-cache.h:
2133 * shell/ev-page-action.c: (page_changed_cb):
2135 Set page action entry width depending on labels width. Fix
2138 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2140 * backend/ev-link.c: (ev_link_class_init):
2142 Allow -1 as page value (error)
2144 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2146 * shell/ev-sidebar-thumbnails.c:
2147 (ev_sidebar_thumbnails_set_document):
2148 * shell/ev-view.c: (scroll_to_current_page),
2149 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2150 (page_changed_cb), (on_adjustment_value_changed),
2151 (ev_view_set_document):
2153 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2156 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2159 * djvu/djvu-document.c: (djvu_document_get_page_size):
2161 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2164 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2166 * shell/ev-view.c (draw_one_page): modify the expose handling to
2169 * shell/ev-window.c (update_action_sensitivity): Respect
2170 permissions field. Kowtow to the man.
2172 * pdf/ev-poppler.cc: Get the permissions field.
2174 * tiff/*c: Make a tiny bit more robust.
2176 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2178 * djvu/djvu-document.c:
2180 Pop messages from djvu context message queue.
2182 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2184 * configure.ac, Makefile.am, shell/Makefile.am:
2185 * tiff/Makefile.am, shell/ev-document-types.c:
2187 Cleanup tiff configure checks. Fix for bug 305218.
2189 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2191 * configure.ac: Added "uk" to ALL_LINGUAS.
2193 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2195 * cut-n-paste/zoom-control/ephy-zoom.c:
2196 (ephy_zoom_get_changed_zoom_level):
2197 * cut-n-paste/zoom-control/ephy-zoom.h:
2198 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2199 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2200 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2201 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2202 (zoom_control_changed_cb), (ev_window_init):
2204 Fix minor points related to moving best fit up. Introduce
2205 "zoom" property and make zoom control change it's value on
2206 notify::zoom signals. Fix for 305080.
2208 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2210 * data/evince-ui.xml:
2211 * shell/ev-window.c: (set_view_actions_sensitivity):
2213 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2215 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2219 Depends on poppler 0.3.2
2221 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2223 * cut-n-paste/recent-files/egg-recent-item.c:
2224 (egg_recent_item_get_short_name):
2225 * cut-n-paste/toolbar-editor/Makefile.am:
2226 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2227 (new_pixbuf_from_widget):
2228 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2229 * cut-n-paste/toolbar-editor/egg-marshal.c:
2230 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2231 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2235 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2237 * tiff/tiff-document.c: Rough TIFF backend.
2239 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2243 * cut-n-paste/toolbar-editor/Makefile.am:
2247 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2249 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2250 (ev_view_find_next), (ev_view_find_previous):
2252 Remove the locks around get_n_results
2254 2005-05-21 Juerg Billeter <j@bitron.ch>
2256 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2258 Pass correct number of pages to poppler.
2260 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2264 * data/evince.desktop.in:
2265 * data/evince.desktop.in.in:
2268 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2270 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2272 * shell/ev-view.c: (view_update_adjustments),
2273 (view_set_adjustment_values): cast adjustmen->value to (int)
2274 before using it. Otherwise, we get off by a pixel in some
2277 (draw_one_page): Draw the border on expose.
2279 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2281 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2282 adjustment when the mode changes, #304923
2284 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2286 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2287 flickering on resize but still use gdk_window_scroll on
2290 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2292 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2295 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2297 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2298 second page on page_changed if possible, #304669
2300 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2302 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2303 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2305 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2308 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2309 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2310 (ev_view_zoom_for_size_presentation),
2311 (ev_view_zoom_for_size_continuous_and_dual_page),
2312 (ev_view_zoom_for_size_continuous),
2313 (ev_view_zoom_for_size_dual_page),
2314 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2316 * shell/ev-window.c: (update_view_size),
2317 (ev_window_sizing_mode_changed_cb):
2319 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2320 the scrollbars. It's not 100% right, but it's much closer. Kills
2321 an infinite loop, #304769
2324 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2326 * data/evince-ui.xml:
2327 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2328 * shell/ev-window.c: (set_view_actions_sensitivity):
2330 Make PgUp/Down behave like Space
2332 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2334 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2335 * backend/ev-ps-exporter.h:
2336 * pdf/ev-poppler.cc:
2337 * ps/ps-document.c: (ps_document_ps_export_begin):
2338 * shell/ev-print-job.c: (idle_print_handler):
2340 Adapt to new poppler api
2342 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2344 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2345 (ephy_zoom_control_init):
2347 Translate zoom levels
2349 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2351 * cut-n-paste/zoom-control/ephy-zoom.c:
2352 (ephy_zoom_get_zoom_level_index):
2354 Fix current zoom -> zoom control match
2356 2005-05-18 James Bowes <bowes@cs.dal.ca>
2358 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2359 rather than the scrolled_window that it's in. Fixes bug #304655.
2361 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2363 * shell/ev-view.c: (view_update_adjustments),
2364 (view_set_adjustment_values), (view_update_range_and_current_page),
2365 (view_scroll_to_page), (set_scroll_adjustment),
2366 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2367 (ev_view_scroll), (ev_view_scroll_view),
2368 (ensure_rectangle_is_visible), (find_page_at_location),
2369 (get_link_at_location), (go_to_link), (status_message_from_link),
2370 (ev_view_size_request_continuous_dual_page),
2371 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2372 (ev_view_unrealize), (ev_view_expose_event),
2373 (ev_view_button_press_event), (ev_view_motion_notify_event),
2374 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2375 (draw_rubberband), (highlight_find_results), (draw_one_page),
2376 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2377 (ev_view_init), (find_changed_cb), (page_changed_cb),
2378 (on_adjustment_value_changed), (ev_view_new),
2379 (ev_view_set_document), (ev_view_set_zoom),
2380 (ev_view_set_continuous), (ev_view_set_dual_page),
2381 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2382 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2383 (ev_view_zoom_for_size_presentation),
2384 (ev_view_zoom_for_size_continuous_dual_page),
2385 (ev_view_zoom_for_size_continuous),
2386 (ev_view_zoom_for_size_dual_page),
2387 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2388 (ev_view_get_status), (ev_view_set_status),
2389 (update_find_status_message), (ev_view_get_find_status),
2390 (ev_view_set_find_status), (jump_to_find_result),
2391 (jump_to_find_page), (compute_selections), (clear_selection),
2392 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2393 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2394 (ev_view_update_primary_selection),
2395 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2397 * shell/ev-window.c: (ev_window_open_page_label),
2398 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2400 * shell/ev-window.h:
2401 * shell/main.c: (load_files):
2403 Massive code clean up from Nickolay Shmyrev. Keep page offset
2404 when resizing. Remove the bin_window(). Also, patch from James
2405 Bowes to fix command line page, #300641
2407 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2409 * data/evince-ui.xml:
2412 * shell/ev-window.c: (update_action_sensitivity):
2414 Get rid of View->Normal Size, it's just confusing
2416 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2418 * backend/ev-document-info.h:
2419 * backend/ev-document.c: (ev_document_info_free): Free the
2422 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2423 (clear_range), (add_range), (update_visible_range),
2424 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2425 (ev_sidebar_thumbnails_set_document):
2426 * shell/ev-window.c: (ev_window_setup_document): Only render the
2427 visible thumbnails. It takes an instant to render, but it uses
2430 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2432 * shell/ev-sidebar-links.c: (popup_menu_cb):
2436 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2439 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2440 (button_press_cb), (ev_sidebar_links_construct):
2442 Show the popup menu also on keybindings
2444 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2446 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2447 * shell/ev-window.h:
2449 Expose api to print a range (with dialog). Make private _print use
2452 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2453 (ev_sidebar_links_construct):
2455 Show a print context menu on linkx, it prints the selected
2458 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2460 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2463 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2469 * shell/ev-window.c: (build_comments_string),
2470 (ev_window_cmd_help_about):
2472 Show poppler version/backend and authors
2474 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2476 * cut-n-paste/zoom-control/ephy-zoom.c:
2477 (ephy_zoom_get_zoom_level_index):
2478 * cut-n-paste/zoom-control/ephy-zoom.h:
2480 Move the best fit items at the top of the list
2482 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2484 * shell/ev-marshal.list:
2485 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2486 (activate_cb), (match_selected_cb), (activate_link_cb),
2487 (connect_proxy), (ev_page_action_class_init):
2488 * shell/ev-page-action.h:
2490 Use signals to notify action activation. Hopefully
2491 I did not break completion since I cant test...
2493 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2494 (register_custom_actions):
2496 Connect to page selector actions and also grab focus on
2497 the view when activated.
2499 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2501 * pdf/ev-poppler.cc:
2502 * backend/ev-page-cache.c: make page size calculation consistent
2503 and set it to (int)( width * scale + 0.5). This makes the weird
2504 line going through the middle of the page go away.
2506 * shell/ev-view.c: move painting the background page after
2507 checking the expose area covers us.
2509 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2511 * data/evince-password.glade:
2513 Mark labels as not translatable. Fix for bug 302842.
2515 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2517 * configure.ac: Added "es" to ALL_LINGUAS.
2519 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2521 * data/evince-toolbar.xml:
2522 * shell/ev-window.c: (update_action_sensitivity),
2523 (ev_window_setup_document), (ev_window_set_page_mode),
2526 Remove some leftover code from jrb first continous
2527 attempt. Use the new actions, we still need good icons
2530 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2532 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2534 Update label when connecting proxy. Fix a warning with NULL
2537 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2539 * data/evince-ui.xml:
2540 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2541 * shell/ev-page-action.h:
2542 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2544 Add mnemonic for edit toolbar.
2545 ctrl+l focus the page entry.
2547 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2550 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2552 * shell/main.c: (main):
2554 Put the toolbar xml in evince own dot dir
2556 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2558 * shell/ev-window.c: (ev_window_init):
2560 Make the toolbar not removable
2562 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2564 * data/evince-ui.xml:
2565 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2566 * shell/ev-sidebar-links.h:
2567 * shell/ev-sidebar-thumbnails.c:
2568 (ev_sidebar_thumbnails_get_treeview):
2569 * shell/ev-sidebar-thumbnails.h:
2570 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2571 (ev_view_class_init):
2573 * shell/ev-window.c: (update_action_sensitivity),
2574 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2575 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2576 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2579 This is evil... Make space/backspace global accelerators but
2580 enable them only for some widgets (sidebars and view).
2581 I dont like it, but I dont know a better way... :/
2583 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2585 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2586 (ev_page_action_widget_finalize),
2587 (ev_page_action_widget_class_init), (update_page_cache):
2589 Keep a weak reference on proxy->page_cache so that we
2590 dont try to disconnect the signal if the object is already
2591 gone. Maybe there is a better way to cleanup reference handling
2592 in page action though...
2594 2005-05-10 Juerg Billeter <j@bitron.ch>
2596 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2597 * backend/ev-ps-exporter.h:
2598 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2599 * ps/ps-document.c: (ps_document_ps_export_begin):
2601 Change api to pass print range to ps_exporter_begin. The pdf backend
2602 requires this information.
2604 * shell/ev-print-job.c: (idle_print_handler):
2608 2005-05-10 Juerg Billeter <j@bitron.ch>
2610 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2611 (idle_print_handler)
2612 * shell/ev-window.c: (ev_window_print):
2614 Support printing page range, based on patch by Amaury Jacquot
2616 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2618 * data/evince-toolbar.xml:
2620 Add zoom control to available items
2622 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2624 * shell/ev-window.c: (update_action_sensitivity):
2626 Set slash action insensitive when appropriate
2628 2005-05-10 Christian Persch <chpe@gnome.org>
2630 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2632 Fix warning on the overflow menu
2634 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2636 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2638 Check for uri correctness/existence
2640 2005-05-09 Juerg Billeter <j@bitron.ch>
2642 * shell/ev-window.c: (using_postscript_printer):
2644 LPD printers use postscript, too
2646 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2648 * shell/ev-window.c: (register_custom_actions):
2650 The zoom one is actually sort of useful,
2653 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2655 * shell/ev-window.c: (register_custom_actions):
2657 Hide page/zoom controls from overflow, they
2660 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2662 * cut-n-paste/update-from-egg.sh:
2664 Share it between all cut-n-paste subdirs
2666 * cut-n-paste/recent-files/Makefile.am:
2668 Fix to use "global" update-from-egg.sh
2670 * cut-n-paste/recent-files/egg-recent-model.c:
2671 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2672 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2673 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2674 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2678 * cut-n-paste/toolbar-editor/Makefile.am:
2680 Fix to use "global" update-from-egg.sh
2682 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2686 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2689 * cut-n-paste/Makefile.am:
2690 * cut-n-paste/recent-files/Makefile.am:
2691 * cut-n-paste/toolbar-editor/.cvsignore:
2692 * cut-n-paste/toolbar-editor/Makefile.am:
2693 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2694 (egg_editable_toolbar_get_type), (get_toolbar_position),
2695 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2696 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2697 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2698 (set_item_drag_source), (create_item_from_action), (create_item),
2699 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2700 (popup_toolbar_context_menu_cb), (free_dragged_item),
2701 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2702 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2703 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2704 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2705 (item_added_cb), (item_removed_cb),
2706 (egg_editable_toolbar_construct),
2707 (egg_editable_toolbar_disconnect_model),
2708 (egg_editable_toolbar_deconstruct),
2709 (egg_editable_toolbar_set_model),
2710 (egg_editable_toolbar_set_ui_manager),
2711 (egg_editable_toolbar_set_property),
2712 (egg_editable_toolbar_get_property),
2713 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2714 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2715 (egg_editable_toolbar_new_with_model),
2716 (egg_editable_toolbar_get_edit_mode),
2717 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2718 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2719 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2720 (new_pixbuf_from_widget), (new_separator_pixbuf),
2721 (update_separator_image), (style_set_cb),
2722 (_egg_editable_toolbar_new_separator_image),
2723 (egg_editable_toolbar_get_model):
2724 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2725 * cut-n-paste/toolbar-editor/egg-marshal.c:
2726 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2727 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2728 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2729 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2730 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2731 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2732 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2733 (editor_drag_data_delete_cb), (drag_data_get_cb),
2734 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2735 (editor_create_item), (update_editor_sheet), (setup_editor),
2736 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2737 (parse_item_list), (model_has_action), (update_actions_list),
2738 (egg_toolbar_editor_load_actions):
2739 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2740 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2741 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2742 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2743 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2744 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2745 (egg_toolbars_model_add_separator), (impl_add_item),
2746 (parse_item_list), (egg_toolbars_model_add_toolbar),
2747 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2748 (impl_get_item_data), (impl_get_item_type),
2749 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2750 (egg_toolbars_model_init), (free_toolbar),
2751 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2752 (egg_toolbars_model_remove_toolbar),
2753 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2754 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2755 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2756 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2757 (egg_toolbars_model_get_item_data),
2758 (egg_toolbars_model_get_item_type):
2759 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2760 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2762 * data/evince-toolbar.xml:
2763 * data/evince-ui.xml:
2764 * data/hand-open.png:
2766 * shell/Makefile.am:
2767 * shell/ev-window.c: (update_chrome_visibility),
2768 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2769 (ev_window_dispose), (ev_window_init):
2771 Implement epiphany like toolbar editor. Based on patch by
2772 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2774 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2776 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2778 Use set_cursor instead of set_selection, so that
2779 the keyboard focus moves too.
2781 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2783 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2785 Fix infinite loop when loading Type1 fonts
2787 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2789 * data/evince-ui.xml:
2790 * shell/ev-window.c:
2794 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2798 Make --disable really disable
2800 2005-05-07 Juerg Billeter <j@bitron.ch>
2802 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2804 Compare page labels even without has_labels set, fixes setting page
2807 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2809 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2810 (ev_view_set_cursor), (ev_view_button_press_event),
2811 (ev_view_motion_notify_event), (ev_view_button_release_event),
2814 Implement middle button scrolling. Based on a patch
2815 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2817 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2819 * shell/ev-document-types.c: (get_slow_mime_type),
2820 (get_document_type_from_mime), (ev_document_type_lookup):
2821 * shell/ev-document-types.h:
2823 Change api to lookup from uri. Do fast lookup first, if the
2824 type is unknown try with data sniffing.
2826 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2827 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2831 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2833 * thumbnailer/Makefile.am:
2837 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2844 * data/evince-ui.xml:
2846 Hide presentation mode for now
2848 * shell/ev-view.c: (highlight_find_results):
2850 Show current find selection only on current page
2852 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2854 * shell/ev-view.c: (ev_view_select_all):
2856 Compute size of the actual page, not of
2859 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2861 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2862 (view_rect_to_doc_rect), (compute_selections),
2863 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2864 (ev_view_copy), (ev_view_primary_get_cb),
2865 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2866 (ev_view_button_press_event), (ev_view_motion_notify_event),
2867 (ev_view_button_release_event), (page_changed_cb):
2871 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2873 * shell/ev-view.c: (compute_border), (get_page_extents),
2874 (doc_rect_to_view_rect), (highlight_find_results),
2875 (ev_view_bin_expose), (ev_view_select_all),
2876 (ev_view_motion_notify_event), (update_find_status_message),
2877 (jump_to_find_result), (jump_to_find_page):
2879 First go at fixing search, still buggy
2881 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2883 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2884 dropdown box and button at the top of the sidebar.
2886 2005-05-02 James Bowes <bowes@cs.dal.ca>
2888 * configure.ac: Output zoom-control Makefile.
2889 * cut-n-paste/Makefile.am: build zoom-control subdir.
2890 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2891 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2892 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2893 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2894 * cut-n-paste/zoom-control/ephy-zoom.c:
2895 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2896 from epiphany, and modified to add a separator into the menu.
2897 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2898 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2899 zoom-control action.
2900 * shell/Makefile.am: Include zoom-control flags.
2901 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2902 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2903 (ev_view_zoom_for_size_presentation),
2904 (ev_view_zoom_for_size_continuous_and_dual_page),
2905 (ev_view_zoom_for_size_continuous),
2906 (ev_view_zoom_for_size_dual_page),
2907 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2908 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2909 ev_view_get_zoom and ev_view_get_sizing_mode.
2911 * shell/ev-window.c: (update_action_sensitivity),
2912 (update_sizing_buttons), (zoom_control_changed_cb),
2913 (register_custom_actions): Initialize and use the zoom-control
2916 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2918 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2919 preview cache back to 1. Don't know when it got set to 0.
2921 * shell/ev-view.c: (compute_border), (ev_view_realize),
2922 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2923 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2924 (ev_view_get_fullscreen), (ev_view_set_presentation),
2925 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2926 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2928 * shell/ev-window.c:
2929 (update_chrome_visibility),
2930 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2931 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2932 (update_document_mode), (ev_window_update_fullscreen_action),
2933 (ev_window_fullscreen), (ev_window_unfullscreen),
2934 (ev_window_cmd_view_fullscreen),
2935 (ev_window_update_presentation_action),
2936 (ev_window_run_presentation), (ev_window_stop_presentation),
2937 (ev_window_cmd_view_presentation), (ev_window_state_event),
2938 (ev_window_focus_in_event), (ev_window_focus_out_event),
2939 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2940 * data/evince-ui.xml: Initial presentation mode. We should
2941 probably hide this until it's done, as it's quite rough. Also,
2942 change full-screen to fullscreen and add two getters to EvView.
2944 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2946 * shell/ev-page-action.c: (update_page_cache),
2947 (ev_page_action_dispose):
2948 * shell/ev-window.c: (destroy_fullscreen_popup),
2949 (ev_window_create_fullscreen_popup):
2951 Use connect_object rather than explicitly
2952 disconnect on dispose.
2954 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2956 * shell/ev-page-action.c: (update_page_cache),
2957 (ev_page_action_dispose):
2959 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2961 * backend/ev-page-cache.c: (_ev_page_cache_new),
2962 (ev_page_cache_set_page_label),
2963 (ev_page_cache_has_nonnumeric_page_labels):
2964 * backend/ev-page-cache.h:
2965 * shell/ev-page-action.c: (update_pages_label):
2967 If all page labels are numeric, fallback to default
2968 way to display number of pages. See bug 173185.
2970 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2972 * shell/ev-page-action.c: (ev_page_action_dispose):
2973 * shell/ev-view.c: (view_update_range_and_current_page):
2974 * shell/ev-window.c: (ev_window_dispose):
2976 Set page on scroll in continuous mode. Fixes bug 301986.
2977 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2979 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2983 Require poppler 0.3.0
2985 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2987 * shell/Makefile.am, configure.ac: Fix build problems
2988 with t1lib. Bug 301996.
2990 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2992 * shell/ev-view.c: (ev_view_scroll_event):
2994 Scroll up increase zoom
2996 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2998 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2999 (ev_view_set_sizing_mode),
3000 (ev_view_zoom_for_size_continuous_and_dual_page),
3001 (ev_view_zoom_for_size_continuous):
3002 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3003 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3004 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3007 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3008 Fix for 165473 and 165472.
3010 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3013 * thumbnailer/Makefile.am:
3014 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3015 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3016 * thumbnailer/evince-thumbnailer.schemas.in:
3018 Make thumbnailer schemas translatable. Fix for bug 301773
3020 * thumbnailer/evince-thumbnailer-djvu.schemas:
3021 * thumbnailer/evince-thumbnailer-dvi.schemas:
3022 * thumbnailer/evince-thumbnailer.schemas:
3026 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3028 * shell/ev-view.c (ev_view_init): forgot to set this.
3030 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3032 * shell/ev-view.c: (find_page_at_location),
3033 (get_link_at_location),
3034 (ev_view_set_show_border), (ev_view_set_spacing),
3035 (ev_view_zoom_for_size_continuous_and_dual_page),
3036 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3037 Also, add a quick fix measuring of widths. Also, removed
3038 ev_view_set_spacing and ev_view_set_show_border.
3040 * shell/ev-window.c: (ev_window_unfullscreen),
3041 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3043 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3045 * shell/ev-view.c: (view_update_range_and_current_page),
3048 Fix crash on exit and scrolling to page in continuous view.
3050 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3053 * backend/ev-page-cache.c: (_ev_page_cache_new),
3054 (ev_page_cache_get_max_width_size),
3055 (ev_page_cache_get_max_height_size):
3056 * backend/ev-page-cache.h:
3057 * data/evince-ui.xml:
3058 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3059 * shell/ev-view.c: (view_update_adjustments),
3060 (view_update_range_and_current_page), (get_bounding_box_size),
3061 (ev_view_size_request_continuous_and_dual_page),
3062 (ev_view_size_request_continuous),
3063 (ev_view_size_request_dual_page),
3064 (ev_view_size_request_single_page), (ev_view_size_request),
3065 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3066 (ev_view_bin_expose), (ev_view_expose_event),
3067 (ev_view_set_property), (ev_view_get_property),
3068 (ev_view_class_init), (ev_view_init), (ev_view_new),
3069 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3070 (ev_view_set_dual_page), (ev_view_set_full_screen),
3071 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3072 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3073 (ev_view_zoom_out), (zoom_for_size_fit_width),
3074 (zoom_for_size_best_fit),
3075 (ev_view_zoom_for_size_continuous_and_dual_page),
3076 (ev_view_zoom_for_size_continuous),
3077 (ev_view_zoom_for_size_dual_page),
3078 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3079 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3081 * shell/ev-window.c: (update_action_sensitivity),
3082 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3083 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3084 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3085 (ev_window_cmd_view_zoom_out), (update_view_size),
3086 (ev_window_set_sizing_mode), (ev_window_init):
3088 Add Continuous and Dual page modes.
3090 2005-04-23 James Bowes <bowes@cs.dal.ca>
3092 * dvi/dvi-document.c: (dvi_document_load),
3093 (dvi_document_thumbnails_get_thumbnail),
3094 (dvi_document_init_params): Fix up some mixups between
3095 width and height to correct thumbnail rendering.
3097 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3099 * dvi/mdvi-lib/private.h:
3100 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3102 Suppess output for kpathsea during font generation. Thanks to
3105 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3112 * Makefile.am: fix distcheck.
3114 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3116 * shell/ev-sidebar-links.c: (selection_changed_callback),
3117 (update_page_callback), (row_activated_callback),
3118 (job_finished_callback), (ev_sidebar_links_set_document):
3120 Fix for bug #169901. Double click on links expands tree.
3122 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3124 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3125 hard-coded style. Fix for bug 170111
3127 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3129 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3132 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3134 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3136 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3138 * pdf/ev-poppler.cc:
3139 * shell/ev-view.c: (highlight_find_results):
3141 Fix find on single page documents
3143 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3145 * data/evince.schemas.in: fix for bug 301390
3147 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3149 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3150 (ev_view_zoom_out), (ev_view_zoom_normal):
3152 * shell/ev-window.c: (update_action_sensitivity),
3153 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3154 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3155 (ev_window_cmd_view_normal_size):
3157 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3158 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3161 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3165 Depend on 2.57, 2.59 doesnt seem to be necessary
3167 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3169 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3172 Put back total number of pages as (1 of 1234)
3174 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3176 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3179 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3180 function. This helps debugging.
3182 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3184 * djvu/djvu-document.c: (djvu_document_class_init),
3185 (djvu_document_get_info), (djvu_document_document_iface_init):
3186 * dvi/dvi-document.c: (dvi_document_class_init),
3187 (dvi_document_get_info), (dvi_document_document_iface_init):
3189 Dummy implementation of get_info method for dvi and djvu. Fix
3190 crashes with those backends
3192 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3194 * data/evince.desktop.in:
3196 Add application/x-gzpostscript
3198 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3200 * data/evince.schemas.in: Added real long descriptions,
3203 * README: Added actual text, closes bug 171869
3205 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3207 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3211 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3213 * backend/ev-document-info.h:
3215 s/GDate */GDate so we can just use g_free
3217 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3219 * shell/ev-window.c: (update_document_mode),
3220 (ev_window_setup_document):
3222 Show the window in fullscreen when specified by
3225 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3227 * backend/ev-document.c: (ev_document_class_init),
3228 (ev_document_get_info), (ev_document_render_pixbuf):
3229 * backend/ev-document.h:
3230 * backend/ev-page-cache.c: (_ev_page_cache_new):
3231 * pdf/ev-poppler.cc:
3232 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3233 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3234 * ps/ps-document.c: (ps_document_class_init), (document_load),
3235 (ps_document_get_info), (ps_document_document_iface_init):
3237 Remove get_title from the interface, we can just use document info
3239 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3241 * backend/Makefile.am:
3242 * backend/ev-document.c: (ev_document_render_get_info):
3243 * backend/ev-document.h:
3244 * pdf/ev-poppler.cc:
3246 Initial support for document info. Based on jrb patch.
3248 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3250 * shell/ev-window.c: (ev_window_state_event),
3251 (ev_window_class_init), (ev_window_init):
3253 Doesn't show resize grip when maximized. See bug #301053
3255 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3259 ev-sidebar-thumbnails now has translatable labels
3261 * shell/Makefile.am:
3262 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3263 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3264 (ev_sidebar_links_page_iface_init):
3265 * shell/ev-sidebar-links.h:
3266 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3267 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3268 (ev_sidebar_page_get_label):
3269 * shell/ev-sidebar-page.h:
3270 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3271 (ev_sidebar_thumbnails_set_document),
3272 (ev_sidebar_thumbnails_support_document),
3273 (ev_sidebar_thumbnails_get_label),
3274 (ev_sidebar_thumbnails_page_iface_init):
3275 * shell/ev-sidebar-thumbnails.h:
3276 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3277 (ev_sidebar_set_document):
3278 * shell/ev-sidebar.h:
3279 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3281 Small rework of sidebar code. Now sidebar pages should implement
3282 EvSidebarPage interface. That makes page management in EvSidebar
3283 easier. See bug #164811 for details
3285 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3287 * shell/ev-application.c: (ev_application_open):
3288 * shell/ev-document-types.c:
3290 Fix build error and small problem with application exit
3292 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3294 * thumbnailer/Makefile.am:
3295 * thumbnailer/evince-thumbnailer-djvu.schemas:
3296 * thumbnailer/evince-thumbnailer-dvi.schemas:
3298 Conditionally install schemas for djvu/dvi thumbnailer
3300 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3302 * shell/ev-document-types.h:
3303 * shell/ev-document-types.c:
3304 New files, handling the mapping from mimetypes to backends
3306 * shell/ev-window.c:
3307 * thumbnailer/evince-thumbnailer.c:
3308 Use the ev-document-types code
3310 * shell/Makefile.am:
3311 Added new convenience library libevbackendfactory_la, containing
3312 the new mimetype->backend logic; moved the backends into it.
3314 * thumbnailer/Makefile.am:
3315 Make the thumbnailer link with the libevbackend.la convenience
3316 library, rather than having a duplicate of the backend logic here.
3318 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3320 * shell/ev-stock-icons.c: constify some vars.
3321 * shell/ev-window.c: ditto.
3323 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3325 * ps/ps-document.c (get_page_orientation):
3327 Respect document orientation
3329 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3333 * shell/Makefile.am:
3335 Move library dependencies to components.
3337 * shell/ev-window.c: (update_window_title),
3338 (start_loading_document):
3340 Fix display of uris with spaces. Bug 168358.
3342 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3344 * shell/ev-sidebar-links.c: (selection_changed_cb):
3345 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3346 (ev_view_button_release_event), (ev_view_set_document):
3348 * shell/ev-window.c: (find_bar_search_changed_cb):
3349 * shell/ev-window.h: Minor cleanups removing some dead code.
3351 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3353 * backend/ev-page-cache.c: (_ev_page_cache_new):
3355 Set current page to 0 if document has pages.
3357 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3359 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3361 Initialize GError to NULL, fix a crash when loading fails.
3363 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3365 * shell/ev-window.c: (update_view_size):
3367 Calculate shadow size only when there is actually
3370 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3372 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3375 Allow setting view spacing, default to 0
3377 * shell/ev-window.c: (ev_window_unfullscreen),
3378 (ev_window_cmd_view_fullscreen), (ev_window_init):
3380 Remove spacing in fullscreen mode
3382 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3384 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3385 (ev_view_size_request), (expose_bin_window),
3386 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3388 * shell/ev-window.c: (ev_window_unfullscreen),
3389 (ev_window_cmd_view_fullscreen):
3391 Do not draw the border in fulscreen
3393 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3395 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3396 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3397 (find_page_at_location), (page_changed_cb):
3399 Rework border calculation, so that I can more easily disable it.
3400 Code somewhat cleaner too.
3402 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3404 * backend/ev-page-cache.c: (ev_page_cache_init),
3405 (_ev_page_cache_new):
3407 Remove some assertions, documents can have 0 pages.
3408 Make initial current page -1.
3410 * shell/ev-page-action.c: (page_changed_cb):
3412 Show "" if current page is -1
3414 * shell/ev-window.c: (update_action_sensitivity),
3415 (ev_window_setup_document):
3417 When document has 0 pages do not set the view
3418 and make nearly everything insensitive.
3420 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3422 * shell/ev-page-view.c:
3423 * shell/ev-page-view.h:
3425 Remove unused files.
3427 * shell/ev-sidebar-thumbnails.c:
3428 (ev_sidebar_thumbnails_set_document):
3429 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3430 (ev_sidebar_supports_document):
3431 * shell/ev-sidebar.h:
3432 * shell/ev-window.c: (ev_window_setup_document):
3434 Doesn't show thumbnails if document has 1 page. Make
3435 sidebar menu entries sensitive only if if they have
3436 sense. Fix bug 164811.
3438 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3440 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3441 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3442 (ev_view_zoom_out), (ev_view_set_size):
3444 Rework sizing to deal with documents with not uniform page
3447 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3449 * backend/ev-page-cache.c: (_ev_page_cache_new):
3451 Fix several page size caching bugs
3453 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3455 * shell/ev-window.c: (set_action_properties):
3457 Make all toolbar items translatable
3459 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3461 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3462 (save_page_list), (ps_document_save),
3463 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3464 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3465 (ps_document_ps_exporter_iface_init):
3468 Based on a patch by J�rg Billeter <j@bitron.ch>
3470 Implement print and save a copy for the ps backend.
3472 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3474 * backend/ev-document.h:
3475 * djvu/djvu-document.c: (djvu_document_can_get_text),
3476 (djvu_document_document_iface_init):
3477 * dvi/dvi-document.c: (dvi_document_can_get_text),
3478 (dvi_document_document_iface_init):
3479 * pdf/ev-poppler.cc:
3480 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3481 (pixbuf_document_document_iface_init):
3482 * ps/ps-document.c: (ps_document_can_get_text),
3483 (ps_document_document_iface_init):
3484 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3485 * shell/ev-window.c: (update_action_sensitivity):
3487 Fix the crash when trying to copy in backends that doesnt
3488 support it. We can implement a better solution once we
3489 do real text selection.
3491 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3493 * data/evince-ui.xml:
3494 * shell/ev-window.c: (ev_window_cmd_escape):
3496 Work around the Escape conflict (find bar and unfullscreen)
3498 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3500 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3502 Fix for #300233. Next page correctly handles document end.
3504 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3505 (ev_sidebar_thumbnails_class_init),
3506 (ev_sidebar_thumbnails_set_document),
3507 (ev_sidebar_thumbnails_clear_job),
3508 (ev_sidebar_thumbnails_clear_model):
3510 Cleanup thumbnail jobs on document changes.
3512 * shell/ev-view.c: (add_scroll_binding_keypad),
3513 (add_scroll_binding_shifted), (ev_view_class_init):
3515 Shift + Space scrolls up. Fix for #173184
3517 * shell/ev-window.c: (ev_window_open_page),
3518 (ev_window_cmd_view_reload):
3520 Fix reload (Bug #300094)
3522 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3525 * dvi/mdvi-lib/assoc.c:
3526 * dvi/mdvi-lib/assoc.h: Removed garbage files
3528 * dvi/mdvi-lib/bitmap.c:
3529 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3530 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3531 * dvi/mdvi-lib/color.h: Antialias of rules
3533 * dvi/mdvi-lib/common.h:
3534 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3535 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3536 * dvi/mdvi-lib/files.c:
3537 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3538 * dvi/mdvi-lib/mdvi.h:
3539 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3540 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3541 * dvi/mdvi-lib/util.c: Fix compile warnings
3543 * dvi/dvi-document.c:
3544 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3545 (dvi_document_thumbnails_get_thumbnail),
3546 (dvi_document_document_thumbnails_iface_init):
3547 * dvi/mdvi-lib/Makefile.am:
3548 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3549 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3551 Dvi backend now renders thumbnails
3553 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3555 * shell/main.c: (main):
3557 Save accelerators on exit. Fixes bug #172095.
3559 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3561 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3562 update priority" comment.
3564 * backend/ev-job-queue.c: Give a way to change priority.
3566 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3568 * shell/ev-page-action.c: Fix logic.
3570 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3572 * shell/ev-view.c: (ev_view_can_find_next):
3573 * shell/ev-window.c: (ev_window_setup_document):
3575 Check that the document supports find
3577 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3579 * data/evince-ui.xml:
3580 * shell/ev-view.c: (ev_view_can_find_next):
3582 * shell/ev-window.c: (update_action_sensitivity),
3583 (find_changed_cb), (ev_window_setup_document),
3584 (ev_window_cmd_edit_find_next):
3588 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3590 * pdf/ev-poppler.cc:
3591 * shell/ev-print-job.c: (idle_print_handler):
3593 Make printing work again
3595 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3597 * shell/ev-page-action.h:
3598 * shell/ev-page-action.c: (ev_page_action_widget_init),
3599 (ev_page_action_widget_class_init), (page_changed_cb),
3600 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3601 (get_filter_model_from_model), (match_selected_cb),
3602 (display_completion_text), (match_completion), (update_model),
3603 (connect_proxy), (ev_page_action_set_property),
3604 (ev_page_action_get_property), (ev_page_action_set_document),
3605 (ev_page_action_set_model), (ev_page_action_class_init): Big
3606 reworking to make completions work iff we have >= GTK-2.7.0
3608 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3609 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3610 (job_finished_cb): We now have a 'model' property that is set when
3611 the links are loaded. This can be caught with "notify::model"
3613 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3614 listen for the model to be set, and propagate it to the action.
3616 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3618 * cut-n-paste/recent-files/egg-recent-item.c:
3619 (egg_recent_item_set_uri), (make_valid_utf8),
3620 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3621 * cut-n-paste/recent-files/egg-recent-item.h:
3623 Update egg-recent from libegg. This should fix long
3624 startup problem. For details see
3625 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3627 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3629 * cut-n-paste/recent-files/Makefile.am:
3630 * data/evince-ui.xml, shell/Makefile.am:
3631 * shell/ev-application.c, shell/ev-application.h:
3632 * shell/ev-window.c: Recent files support.
3634 * configure.ac: Added "ru" to ALL_LINGUAS.
3636 * dvju: new backend to support DJVU files.
3637 * dvi: new backend to support DVI.
3639 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3640 * ev-application.c: Support for new backends.
3642 * help, ev-window.c, main.c shell/Makefile.am:
3643 Evince user documentation.
3645 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3648 * shell/ev-window.c:
3649 * thumbnailer/evince-thumbnailer.c:
3651 s/pdf-document/ev-poppler
3653 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3660 * ps/ps-document.c: (setup_pixmap):
3664 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3666 * backend/ev-page-cache.c (ev_page_cache_next_page):
3667 * shell/ev-window.c (ev_window_cmd_go_next_page)
3668 (ev_window_cmd_go_first_page): Fix of by one errors.
3670 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3672 * ps/ps-document.c: (get_page_box):
3674 Fix page size calculation
3676 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3678 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3679 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3680 (get_page_orientation), (setup_page), (document_load),
3681 (ps_document_get_page_size), (render_pixbuf_idle):
3684 More refactoring to adapt to EvDocument changes
3686 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3688 * ps/ps-document.c: (start_interpreter):
3690 Actually add alpha args
3692 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3694 * pdf/ev-poppler.cc:
3696 Make clipboard work again
3698 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3700 Make searching work again.
3702 * backend/ev-document.c:
3703 * backend/ev-document.h:
3704 * backend/ev-document-find.c:
3705 * backend/ev-document-find.h: Change EvDocumentIface so we no
3706 longer store the current page or zoom level in the document. The
3707 consequence is that all calls that operate on the current page now
3708 instead take the page number as an extra argument, and all
3709 coordinates are now doubles in document coordinate system.
3711 * pdf/ev-poppler.cc:
3712 * pixbuf/pixbuf-document.c:
3713 * ps/ps-document.c: Update backends accordingly.
3715 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3719 Add required gettext version
3721 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3723 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3724 make F1 bring up non-existent help.
3726 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3727 epiphany's find bar, #167477
3729 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3730 <emil@nishra.com> to add space-bar scrolling,
3732 * shell/ev-window.c (static GtkActionEntry entries): add default
3733 keybinding for Help (F1)
3736 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3737 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3740 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3743 * pixbuf/pixbuf-document.c:
3745 Got pixbuf backend working again
3747 2005-04-01 Steve Murphy <murf@e-tools.com>
3749 * configure.in: Added "rw" to ALL_LINGUAS.
3751 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3753 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3754 model types, noticed by Martin Kretzschmar.
3756 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3758 * pdf/ev-poppler.cc: Implement search based on
3759 poppler_page_find_text(). Currently a bit crude since we remember
3760 all matches from all pages. Also, we grab the big document lock
3761 when we search since searching changes the underlying stream and
3762 thus conflicts with the rendering thread.
3764 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3765 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3766 (ev_view_find_previous): Fix some page indexes to be 0 based,
3767 offset rubber band by view offset,
3769 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3771 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3773 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3775 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3776 completely because I didn't understand GtkActions. I should
3777 read Marco's code more carefully in the future.
3779 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3782 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3784 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3785 PopplerRectangle change from poppler CVS.
3787 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3789 * backend/ev-document.c: (ev_document_get_page_label):
3790 * backend/ev-document.h:
3791 * backend/ev-page-cache.c: (_ev_page_cache_new),
3792 (ev_page_cache_get_page_label):
3793 * backend/ev-page-cache.h:
3794 * pdf/ev-poppler.cc:
3795 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3796 (links_page_num_func):
3797 * shell/ev-sidebar-thumbnails.c:
3798 (ev_sidebar_thumbnails_set_document):
3799 * shell/ev-view.c: (status_message_from_link),
3800 (ev_view_motion_notify_event):
3801 * shell/ev-window.c: (document_supports_sidebar): Add in page
3802 label support. It's not perfect yet, but it's the first 'feature'
3804 Also, fix a bogus comment noticed by crispin.
3806 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3808 * Makefile.am: Remove pixbuf backend for now
3810 * configure.ac: Require poppler-glib instead of just poppler.
3812 * backend/ev-document-thumbnails.h: Add a comment
3814 * backend/ev-document.h:
3815 * backend/ev-document.c: (ev_document_class_init),
3816 (ev_document_load), (ev_document_get_link),
3817 (ev_document_get_links): Remove 3 methods and add get_links.
3820 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3821 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3823 * backend/ev-link.c: (ev_link_set_title),
3824 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3825 (ev_link_mapping_find):
3826 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3828 * backend/ev-page-cache.c: (ev_page_cache_init),
3829 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3830 (ev_page_cache_get_size), (ev_page_cache_next_page),
3831 (ev_page_cache_prev_page): Fix to be 0 based.
3835 * pdf/ev-poppler.cc: New backend.
3837 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3838 (ps_document_get_page), (ps_document_document_iface_init):
3840 * shell/ev-pixbuf-cache.h:
3841 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3842 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3843 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3844 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3845 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3846 Fix up code to grab a page cache per each doc. Also, fix to be 0
3849 * shell/ev-sidebar-thumbnails.c:
3850 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3851 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3853 * shell/ev-view.c: (status_message_from_link),
3854 (find_page_at_location), (get_link_at_location),
3855 (ev_view_motion_notify_event), (ev_view_button_release_event),
3856 (ev_view_init): Use the new link code. Fix to be 0 based.
3858 * shell/ev-window.c: (update_action_sensitivity),
3859 (document_supports_sidebar): 0 based.
3861 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3863 * pdf/pdf-document.cc: Patch from Fernando Herrera
3864 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3867 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3869 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3870 1 to the page, as this seems to be 1 based. I thought we has this
3873 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3876 * backend/Makefile.am:
3877 * backend/ev-document-links.c:
3878 (ev_document_links_has_document_links),
3879 (ev_document_links_get_links_model):
3880 * backend/ev-document-links.h:
3881 * backend/ev-document.c: (ev_document_get_page_cache),
3882 (ev_document_get_doc_mutex), (ev_document_load),
3883 (ev_document_save), (ev_document_get_title),
3884 (ev_document_get_n_pages), (ev_document_set_page),
3885 (ev_document_get_page), (ev_document_set_target),
3886 (ev_document_set_scale), (ev_document_set_page_offset),
3887 (ev_document_get_page_size), (ev_document_get_text),
3888 (ev_document_get_link), (ev_document_render),
3889 (ev_document_render_pixbuf), (ev_document_scale_changed):
3890 * backend/ev-document.h:
3891 * backend/ev-job-queue.c: (remove_object_from_queue),
3892 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3893 (no_jobs_available_unlocked), (ev_render_thread),
3894 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3895 (ev_job_queue_remove_job):
3896 * backend/ev-job-queue.h:
3897 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3898 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3899 (ev_job_links_class_init), (ev_job_render_init),
3900 (ev_job_render_dispose), (ev_job_render_class_init),
3901 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3902 (ev_job_thumbnail_class_init), (ev_job_finished),
3903 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3904 (ev_job_render_run), (ev_job_thumbnail_new),
3905 (ev_job_thumbnail_run):
3906 * backend/ev-jobs.h:
3907 * backend/ev-link.c:
3908 * backend/ev-link.h:
3909 * backend/ev-page-cache.c: (ev_page_cache_init),
3910 (ev_page_cache_class_init), (ev_page_cache_finalize),
3911 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3912 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3913 (ev_page_cache_set_link), (ev_page_cache_get_title),
3914 (ev_page_cache_get_size), (ev_page_cache_next_page),
3915 (ev_page_cache_prev_page):
3916 * backend/ev-page-cache.h:
3917 * pdf/pdf-document.cc:
3920 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3921 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3922 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3923 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3924 (is_interpreter_ready), (output), (catchPipe), (input),
3925 (start_interpreter), (check_filecompressed), (compute_dimensions),
3926 (ps_document_enable_interpreter), (document_load),
3927 (ps_document_next_page), (render_page), (ps_document_set_page),
3928 (ps_document_set_scale), (render_pixbuf_idle),
3929 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3931 * shell/Makefile.am:
3932 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3933 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3934 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3935 (ev_pixbuf_cache_new), (job_finished_cb),
3936 (check_job_size_and_unref), (move_one_job),
3937 (ev_pixbuf_cache_update_range), (find_job_cache),
3938 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3939 (ev_pixbuf_cache_add_jobs_if_needed),
3940 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3941 * shell/ev-pixbuf-cache.h:
3942 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3943 (idle_print_handler):
3944 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3945 (selection_changed_cb), (create_loading_model),
3946 (ev_sidebar_links_construct), (links_page_num_func),
3947 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3948 (update_page_callback), (job_finished_cb),
3949 (ev_sidebar_links_set_document):
3950 * shell/ev-sidebar-thumbnails.c:
3951 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3952 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3953 (page_changed_cb), (thumbnail_job_completed_callback),
3954 (ev_sidebar_thumbnails_set_document):
3955 * shell/ev-sidebar-thumbnails.h:
3956 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3957 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3958 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3959 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3960 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3961 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3962 (ev_view_button_release_event), (ev_view_scroll_view),
3963 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3964 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3965 (ev_view_new), (job_finished_cb), (page_changed_cb),
3966 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3967 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3968 (ev_view_find_previous):
3970 * shell/ev-window.c: (update_action_sensitivity),
3971 (ev_window_open_page), (update_window_title), (update_total_pages),
3972 (page_changed_cb), (ev_window_setup_document),
3973 (password_dialog_response), (ev_window_cmd_save_as),
3974 (ev_window_print), (ev_window_cmd_go_previous_page),
3975 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3976 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3977 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3978 * shell/main.c: (main):
3980 Merge evince-threads branch
3982 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3984 * configure.ac: Added "lt" to ALL_LINGUAS.
3986 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3993 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3995 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3997 Fix here also the thumbnails 1-basedness :)
3999 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4006 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4008 * pdf/pdf-document.cc:
4009 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4010 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4012 Fix the mess we did with thumbnails and 1-basedness
4014 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4016 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4018 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4025 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4028 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4029 (gtk_gs_defaults_get_alpha_parameters),
4030 (gtk_gs_defaults_get_ungzip_cmd),
4031 (gtk_gs_defaults_get_unbzip2_cmd):
4033 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4034 (ps_document_get_orientation), (document_load),
4035 (ps_document_goto_page), (ps_document_set_page_size):
4038 Some more sanitization of the ps backend. Remove a lot
4039 of unused code and do not base our defaults on ggv
4042 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4044 * thumbnailer/evince-thumbnailer.schemas:
4045 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4046 (main): add -s option for thumbnail size.
4048 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4052 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4055 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4057 * pdf/pdf-document.cc:
4059 Remove 4 pixels of useless border from the
4062 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4064 * backend/ev-document-thumbnails.c:
4065 (ev_document_thumbnails_get_thumbnail):
4066 * backend/ev-document-thumbnails.h:
4068 Rework API a bit. Add a border flag and
4069 change sizing logic (now the size we specify
4070 applies to the bigger dimension).
4072 * pdf/pdf-document.cc:
4073 * pixbuf/pixbuf-document.c:
4074 (pixbuf_document_thumbnails_get_thumbnail):
4075 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4076 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4078 Adapt to the new API and do not draw a border for nautilus
4081 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4083 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4084 take thumbnails from page "0" instead of "1". Added a copyright header.
4086 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4088 * ps/ps-document.c: (set_up_page), (start_interpreter):
4090 Make it C89 compliant
4092 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4097 * pdf/pdf-document.cc:
4098 * thumbnailer/Makefile.am:
4099 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4101 * thumbnailer/evince-thumbnailer.schemas:
4102 * thumbnailer/pdf-icon.png:
4104 Add a nautilus thumbnailer.
4105 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4107 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4115 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4117 Use poppler instead of including xpdf source code. Poppler is a
4118 fork of xpdf to build it as a shared library. See
4119 http://freedesktop.org/wiki/Software/poppler.
4121 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4124 * pdf/Makefile.am: Build libpdfdocument.a here.
4126 * pdf/GDKSplashOutputDev.cc:
4127 * pdf/GDKSplashOutputDev.h:
4128 * pdf/GnomeVFSStream.cc:
4129 * pdf/GnomeVFSStream.h:
4132 * test-gdk-output-dev.cc
4134 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4137 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4139 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4141 Clear idle stack before unsetting the document
4143 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4145 * ps/ps-document.c: (ps_document_widget_event),
4146 (ps_document_set_target), (ps_document_finalize),
4147 (ps_document_get_page):
4149 Disconnect the widget event signal on finalize.
4152 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4154 * ps/ps-document.c: (set_up_page):
4156 If there is no bpixmap create one, even if size
4159 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4161 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4162 (set_up_page), (document_load), (ps_document_set_zoom):
4164 Default page is 0. Calculate size even when we have no
4167 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4169 * shell/ev-sidebar.c: expand the selection widget to be always as
4172 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4174 * shell/ev-sidebar-thumbnails.c:
4175 (ev_sidebar_thumbnails_set_document):
4177 Clear the list store when setting document
4179 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4181 * shell/ev-page-action.c: (update_entry), (sync_entry),
4182 (activate_cb), (entry_size_request_cb), (create_tool_item),
4185 Use an entry for the page control instead of spinbuttons
4187 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4189 * data/evince.schemas.in:
4191 Correct confusing string
4193 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4195 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4196 for real. Gosh, how long has this been broken.
4198 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4199 check for a NULL link. We crash otherwise.
4201 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4208 2005-02-25 Sebastien Bacher <seb128@debian.org>
4210 * configure.ac: add the french translation.
4212 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4214 * shell/ev-window.c:
4216 Remove unused header -> fix distcheck
4218 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4220 * shell/ev-window.c: (update_window_title),
4221 (ev_window_popup_password_dialog):
4223 Unescape filename for display
4225 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4227 * pdf/xpdf/pdf-document.cc:
4229 In get_page_size deal with rotation. Also
4230 cleanup the function a bit.
4232 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4234 * pdf/xpdf/pdf-document.cc:
4236 Fix crash when opening in new window
4238 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4242 Check ghostscript >= 7
4244 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4246 * shell/ev-window.c:
4248 Make page width the default sizing mode
4250 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4251 Marco Pesenti Gritti <marco@gnome.org>
4253 * shell/ev-window.c: Remember the sidebar size
4255 * data/evince.schemas.in: Add a new gconf key to store the size of
4258 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4260 * data/evince-ui.xml:
4261 * shell/ev-window.c: (update_action_sensitivity),
4262 (ev_window_cmd_view_reload):
4264 Add a "Reload" action and menu entry
4266 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4268 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4269 iff the type doesn't support thumbnailing and indexing.
4271 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4273 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4275 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4277 * pdf/splash/Splash.cc:
4279 Port fix for a crasher from kde bug
4280 http://bugs.kde.org/show_bug.cgi?id=97131
4282 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4284 * pdf/xpdf/pdf-document.cc:
4286 Return a link even if it's of an unrecognized
4287 type. Otherwise we go in an infinte cycle.
4289 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4291 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4292 (size_allocate_cb), (ev_window_set_sizing_mode):
4294 Update size when switching mode
4296 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4298 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4299 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4300 (ev_window_cmd_view_normal_size):
4302 Fix size toggle buttons behavior
4304 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4306 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4307 (doc_rect_to_view_rect), (ev_view_size_allocate),
4308 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4309 (scale_changed_callback):
4311 Do not cache offsets in size_allocate.
4313 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4315 * shell/ev-view.c: (ev_view_size_allocate):
4317 Calculate offsets before calling the parent
4318 class (which does a redraw)
4320 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4322 * pdf/xpdf/pdf-document.cc:
4324 Fix a crasher on exit. Unused code, put a TODO
4326 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4328 * backend/ev-document.c: (ev_document_class_init),
4329 (ev_document_page_changed), (ev_document_scale_changed):
4330 * backend/ev-document.h:
4332 Separate page/scale notifications
4334 * pdf/xpdf/pdf-document.cc:
4336 Emit the new signals.
4337 Do not display the pdf page in _render, do it
4338 when scale/page are requested.
4340 * ps/ps-document.c: (ps_document_set_zoom),
4341 (ps_document_widget_event):
4344 Emit the new signals.
4346 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4347 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4348 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4349 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4351 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4352 (ev_window_cmd_view_page_width), (size_allocate_cb),
4353 (ev_window_set_sizing_mode):
4355 Rework sizing to be pixel based.
4356 There are bugs but should be already way better.
4358 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4360 * shell/ev-window.c: (ev_window_init):
4362 Do not allow to shrink sidebar smaller then
4365 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4367 * shell/ev-sidebar.[ch]
4368 * shell/ev-window.c:
4370 Improved sidebar widget. Fixes #166683
4372 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4374 * shell/ev-view.c (update_find_status_message): Give translators
4375 more flexibility with ngettext plural handling.
4377 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4379 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4380 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4381 page when we get the page size.
4383 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4385 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4387 ps pages are 0 based, convert
4389 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4391 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4393 Initialize correct parent class. Set GError on document load
4395 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4397 * pdf/xpdf/pdf-document.cc:
4399 Fixup selection offset calculation
4401 * shell/ev-view.c: (view_rect_to_doc_rect),
4402 (doc_rect_to_view_rect), (ev_view_size_allocate),
4403 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4404 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4406 Store selection as document relative, so that zooming
4407 and offset changing doesnt break it.
4409 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4411 * shell/ev-view.c: (ev_view_best_fit):
4413 Do not try to best fit if the view is not realized
4415 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4417 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4419 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4421 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4423 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4425 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4426 the popup window. That prevents it resizing when in full screen
4429 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4430 multiple rerenders. This pretty much sucks.
4432 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4433 rest of the toolbar.
4435 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4437 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4439 2005-02-17 Alexander Shopov <ash@contact.bg>
4441 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4443 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4445 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4447 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4449 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4450 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4451 (set_document_page), (document_changed_callback),
4452 (ev_view_set_document), (ev_view_find_previous),
4453 (ev_view_hide_cursor), (ev_view_show_cursor):
4455 * shell/ev-window.c: (update_chrome_visibility),
4456 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4457 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4458 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4459 (ev_window_unfullscreen):
4460 * shell/main.c: (main):
4462 Automatically hide the fullscreen button.
4463 Patch by Kristian Høgsberg <krh@redhat.com>
4465 2005-02-16 Vincent Noel <vnoel@cox.net>
4467 * shell/main.c (main): Specify an icon for the window. Patch by
4468 Jaap A. Haitsma. Fixes #166177.
4470 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4472 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4474 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4476 * backend/ev-document-misc.h:
4477 * backend/ev-document-misc.c:
4478 (ev_document_misc_get_page_border_size),
4479 (ev_document_misc_paint_one_page): New function to canonicalize
4480 sizing/painting a border.
4482 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4485 * pdf/xpdf/pdf-document.cc: use new function
4487 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4488 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4489 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4490 shell/ev-window.c: (update_sizing_buttons),
4491 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4492 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4493 (ev_window_cmd_view_page_width), (size_allocate_cb),
4494 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4495 and "fit width" values act as toggle buttons so they stay
4496 toggled. It's not 100% perfect, and it's a little slow, but it's
4497 good enough to commit I think.
4499 2005-02-15 David Lodge <dave@cirt.net>
4501 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4503 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4505 * shell/ev-window.c (update_window_title): replace newlines in
4506 the title by spaces. Bug #166107.
4508 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4510 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4511 parameters providing allocation width and height without
4512 scrollbars and width of a possible vertical scrollbar. With this
4513 additional information the functions can work as
4514 intended. Unfortunately they're not idempotent. We should
4515 transform these commands to toggles. Fixes Bug #164976
4516 Initial patch by Stephane Loeuillet, then heavily modified.
4518 * shell/ev-view.h: update prototypes.
4520 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4521 (ev_window_cmd_view_page_width): provide EvView fit functions with
4522 all the information they need. Formulas to calculate this
4523 information taken from GtkScrolledWindow.
4525 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4527 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4528 created a thumbnail, the list store is updated to know
4529 that the thumbnail is set. Fixes bug #166792
4531 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4533 * shell/ev-window.c: fixed typo, closes bug 166897
4535 * TODO: updated TODO with bug numbers that are relevant
4537 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4539 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4541 2005-02-09 Vincent Noel <vnoel@cox.net>
4543 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4544 and "Next" toolbar buttons as important to make them stand out.
4546 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4550 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4551 (start_interpreter), (stop_interpreter), (document_load),
4552 (ps_document_next_page), (ps_document_goto_page),
4553 (ps_document_set_page_size), (ps_document_widget_event),
4554 (ps_document_render):
4555 * shell/ev-page-view.c: (ev_page_view_dispose):
4556 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4558 Fix compilation on non-gcc platforms
4560 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4567 * pdf/xpdf/Catalog.cc:
4570 Fix the fix for CAN-2004-0888
4572 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4575 * data/evince-ui.xml:
4576 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4577 * shell/ev-stock-icons.h:
4578 * shell/ev-window.c: (update_action_sensitivity),
4579 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4580 (set_action_properties):
4582 Improve toolbar layout/icons
4584 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4586 * pdf/xpdf/pdf-document.cc:
4588 Add warnings about unimplemented/unknown link
4591 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4593 * ps/ps-document.c: (set_up_page):
4597 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4599 * ps/ps-document.c: (start_interpreter):
4603 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4605 * shell/ev-page-view.c: (ev_page_view_dispose):
4606 * shell/ev-view.c: (ev_view_finalize):
4607 * shell/ev-window.c: (ev_window_setup_document),
4608 (ev_window_dispose), (ev_window_init):
4610 Solve more refs issues.
4612 I commented out the page_view initialization for now:
4613 it was never destroyed (because it's never added
4614 to a container). Because of that we was leaking
4615 gs processes. Couldnt think to a clean fix.
4616 We need to figure this out, password view has the
4617 same issue probably.
4619 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4621 * ps/ps-document.c: (ps_document_finalize),
4622 (ps_document_get_n_pages), (ps_document_get_page):
4624 Some cleanups, stop the interpreter on finalize
4626 * shell/ev-page-view.c: (ev_page_view_dispose),
4627 (ev_page_view_class_init):
4629 Release our reference on the document
4631 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4635 * doc/debugging.txt:
4638 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4639 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4640 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4643 Add debugging helpers
4646 * ps/ps-document.c: (set_up_page), (start_interpreter),
4647 (stop_interpreter), (document_load), (ps_document_next_page),
4648 (ps_document_goto_page), (ps_document_set_page_size),
4649 (ps_document_widget_event), (ps_document_render):
4650 * shell/Makefile.am:
4651 * shell/ev-view.c: (expose_bin_window):
4652 * shell/main.c: (main):
4656 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4658 * ps/ps-document.c: (ps_document_widget_event):
4660 Initialize message_window, this should make ps
4661 rendering really work! (Never noticed because I was
4662 testing with a ps that is causing gs to exit every time!)
4664 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4666 * data/evince.schemas.in: updated simple error in applyto closing tag
4668 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4674 * data/evince-ui.xml:
4675 A data/evince.schemas.in:
4677 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4678 * shell/ev-stock-icons.h:
4679 * shell/ev-window.c: (update_chrome_visibility),
4680 (update_chrome_flag), (ev_window_cmd_edit_find),
4681 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4682 (ev_window_unfullscreen), (ev_window_focus_in_event),
4683 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4684 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4685 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4686 (ev_window_dispose), (ev_window_class_init),
4687 (set_action_properties), (set_chrome_actions), (load_chrome),
4690 Implement fullscreen mode changes from bug #164776.
4691 Also implement persistent chrome toggles.
4693 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4695 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4697 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4703 Add another check for find interface
4707 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4709 * shell/ev-application.c: (ev_application_open):
4710 * shell/ev-window.c: (ev_window_open):
4712 Open gzipped ps documents
4714 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4717 * shell/ev-view.c: (set_document_page):
4719 Clamp page number, dont try to move to
4722 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4724 * backend/ev-document-find.c: (ev_document_find_changed):
4725 * backend/ev-document-find.h:
4726 * pdf/xpdf/pdf-document.cc:
4727 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4728 * shell/ev-window.c: (find_bar_search_changed_cb):
4730 Fix several bugs with find
4732 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4734 * shell/ev-sidebar-thumbnails.c
4735 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4736 document. Prevents warning from scroll_to_cell.
4738 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4740 * configure.ac: Add «nb» to ALL_LINGUAS too.
4742 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4744 * NOTES: New file with some random thoughts.
4748 * backend/ev-document-misc.c:
4749 (ev_document_misc_get_page_border_size): New function to
4750 canonicalize shadow drawing sizes. Possibly goofy.
4752 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4753 (ev_view_best_fit), (ev_view_fit_width):
4754 * pdf/xpdf/pdf-document.cc:
4755 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4756 * ps/ps-document.c: (ps_document_get_page_size):
4757 * backend/ev-document-misc.h:
4758 * backend/ev-document.c: (ev_document_get_page_size):
4759 * backend/ev-document.h: get_page_size now takes a page number
4760 parameter. Made all the backends/frontends honor it.
4762 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4763 see. Doesn't work yet.
4765 * shell/Makefile.am:
4766 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4767 Doesn't do anything yet.
4769 * shell/ev-sidebar-thumbnails.c:
4770 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4773 * shell/ev-window.c: (update_action_sensitivity),
4774 (ev_window_setup_document), (ev_window_set_page_mode),
4775 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4776 view-swapping code a bit so we can have multiple views on a
4777 document. Add the multi-page view, though it can't be turned on
4780 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4782 * shell/ev-application.c: (ev_application_open):
4783 * shell/ev-view.c: (expose_bin_window):
4784 * shell/ev-window.c: (ev_window_open):
4786 Support eps and check document supports find
4787 before drawing highlightings in expose.
4789 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4791 * pixbuf/pixbuf-document.c:
4792 (pixbuf_document_thumbnails_get_dimensions),
4793 (pixbuf_document_document_thumbnails_iface_init):
4795 implement get_dimensions
4797 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4804 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4806 * shell/ev-view.c: (set_document_page):
4808 Scroll at the top of the page when changing page
4810 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4812 * shell/ev-view.c: (ev_view_motion_notify_event):
4814 Do not redraw unnecessarily
4816 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4818 * pdf/xpdf/pdf-document.cc:
4819 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4820 (expose_bin_window), (find_changed_cb):
4822 Yay! find works now... Now to find bugs...
4824 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4826 * backend/ev-document-find.c: (ev_document_find_base_init),
4827 (ev_document_find_changed):
4828 * backend/ev-document-find.h:
4829 * pdf/xpdf/pdf-document.cc:
4830 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4831 (expose_bin_window), (ev_view_init), (set_document_page),
4832 (ensure_rectangle_is_visible), (jump_to_find_result),
4833 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4834 (ev_view_find_next), (ev_view_find_previous):
4836 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4838 More work on find implementation, mostly there now
4840 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4842 * backend/ev-backend-marshalers.list:
4843 * backend/ev-document-find.c: (ev_document_find_base_init),
4844 (ev_document_find_cancel), (ev_document_find_page_has_results),
4845 (ev_document_find_get_n_results), (ev_document_find_get_result),
4846 (ev_document_find_get_progress), (ev_document_find_changed):
4847 * backend/ev-document-find.h:
4849 Enanche the find interface to be really able to do
4852 * pdf/xpdf/pdf-document.cc:
4856 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4857 (expose_bin_window), (ev_view_init),
4858 (ev_view_get_find_status_message), (find_changed_cb),
4859 (ev_view_set_document), (set_document_page):
4861 Adapt to the new interface. A few things are regressed sorry,
4862 I will finish it soon.
4864 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4866 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4867 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4868 ev_sidebar_thumbnails_parent_class variable, don't define another
4869 parent_class variable.
4871 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4872 (ev_page_action_class_init): ditto.
4874 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4875 (pixbuf_document_class_init): ditto.
4877 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4880 * .cvsignore: ignore various valgrind output files.
4882 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4884 * data/evince-ui.xml:
4885 * shell/Makefile.am:
4886 * shell/ev-history.c:
4887 * shell/ev-history.h:
4888 * shell/ev-navigation-action.c:
4889 * shell/ev-navigation-action.h:
4890 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4891 (ev_view_set_page), (ev_view_fit_width):
4893 * shell/ev-window.c: (update_action_sensitivity),
4894 (ev_window_setup_document), (register_custom_actions):
4896 Kill session history
4898 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4900 * shell/ev-window.c: (update_action_sensitivity):
4902 Fix inverted up/down buttons
4904 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4906 * shell/ev-sidebar-thumbnails.c
4907 (ev_sidebar_thumbnails_select_page): make sure the selected
4908 thumbnail stays visible.
4910 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4912 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4913 scrolled window for Federico.
4915 2005-01-26 Ole Laursen <olau@hardworking.dk>
4917 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4919 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4922 * pdf/splash/SplashFTFontEngine.cc:
4924 Fix CID fonts with freetype 2.1.9
4926 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4928 * TODO: added item for desktop icon thumbnailer
4930 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4932 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4933 unloaded docs when the title is accessed.
4935 * shell/ev-password-view.[hc]: New widget for displaying password
4938 * shell/ev-window.[ch]: Refactor password handling code to handle
4941 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4949 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4951 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4952 ignore page offset here, to make search results independent of it,
4954 * shell/ev-view.c (expose_bin_window): but take offsets into
4955 account here. Bug #164932
4957 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4958 scale at the right time. Bug #164996
4960 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4962 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4963 fix the problem. Now I just removed the Adobe font names and hope
4964 that the URW fonts are always in outline format. Bug #164934
4966 * shell/ev-window.c (update_window_title): empty titles are
4967 useless, use filename in that case too.
4969 * NEWS: Add some content.
4971 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4973 * TODO: added one more TODO item and a TODONE section :)
4975 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4977 * ps/ps-document.h: add page_[xy]_offset fields.
4979 * ps/ps-document.c (ps_document_set_page_offset)
4980 (ps_document_render): Keep offset in consideration in a few
4981 places. Bug #164752 "postscript documents are not centered in
4984 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4985 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4987 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4988 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4989 stub out missing methods for complete EvDocument implementation.
4990 Fixes segfaults with Save A Copy and Copy actions.
4992 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4993 (ps_document_document_iface_init): ditto.
4995 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4999 * data/evince.desktop.in:
5003 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5005 * shell/ev-view.c: (ev_view_button_press_event),
5006 (ev_view_motion_notify_event):
5008 Make selection work in any direction
5010 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5013 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5015 Use shorter labels for some of the toolbars items
5017 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5019 * pdf/xpdf/pdf-document.cc:
5021 Check the links info is initialized before
5022 using it. Should fix a crash on startup.
5024 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5026 * pixbuf/pixbuf-document.c
5027 (pixbuf_document_thumbnails_get_dimensions): force floating point
5028 division to calculate page_ratio. Fixes crash with landscape
5031 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5033 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5035 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5037 * shell/ev-view.c (set_document_page): unset has_selection when
5039 (set_document_page): handle paper size changes when the page
5040 changes (test with Free Culture, page 2).
5042 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5044 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5045 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5047 Use normal style color for the widget background and
5048 draw a black box around the page.
5050 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5052 * pdf/xpdf/pdf-document.cc:
5054 Keep offset in consideration in a few places
5056 * shell/ev-view.c: (expose_bin_window):
5058 Set the offsets so that the document is ever centered
5060 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5062 * TODO: Added TODO items and finished off the first todo item
5064 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5065 reflect current authors
5067 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5069 * pdf/xpdf/pdf-document.cc:
5070 * shell/ev-view.c: (ev_view_set_cursor),
5071 (ev_view_motion_notify_event), (document_changed_callback),
5072 (set_document_page):
5074 Show a wait cursor while the page is rendering
5076 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5078 * shell/ev-sidebar-thumbnails.c:
5079 (ev_sidebar_tree_selection_changed),
5080 (ev_sidebar_thumbnails_select_page):
5081 * shell/ev-sidebar-thumbnails.h:
5082 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5083 (ev_view_can_go_forward):
5084 * shell/ev-window.c: (ev_window_open_page),
5085 (ev_window_setup_document), (update_current_page),
5086 (view_page_changed_cb), (ev_window_init):
5087 * shell/ev-window.h:
5089 Ensure thumbnails selection, toolbar page control and
5090 current page are in sync.
5092 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5098 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5100 * backend/Makefile.am:
5101 * backend/ev-document-links.h:
5102 * backend/ev-document-security.c: (ev_document_security_get_type),
5103 (ev_document_security_has_document_security),
5104 (ev_document_security_set_password):
5105 * backend/ev-document-security.h:
5106 * backend/ev-document.c: (ev_document_error_quark):
5107 * backend/ev-document.h:
5109 * data/evince-password.glade:
5110 * pdf/xpdf/pdf-document.cc:
5111 * shell/Makefile.am:
5112 * shell/ev-password.c: (ev_password_set_bad_password_label),
5113 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5114 (ev_password_dialog_get_password),
5115 (ev_password_dialog_set_bad_pass):
5116 * shell/ev-password.h:
5117 * shell/ev-window.c: (ev_window_get_attribute),
5118 (ev_window_set_property), (update_action_sensitivity),
5119 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5120 (ev_window_setup_document), (ev_window_get_password),
5121 (ev_window_open), (ev_window_cmd_save_as),
5122 (using_postscript_printer), (ev_window_print),
5123 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5124 (update_fullscreen_popup), (ev_window_fullscreen),
5125 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5126 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5127 (menu_item_select_cb), (find_bar_search_changed_cb),
5128 (ev_window_dispose), (ev_window_init):
5130 Add initial support for password-supported dialogs. This could be
5131 a lot cooler, but it'll do for now.
5133 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5135 * pdf/xpdf/pdf-document.cc:
5136 * shell/ev-view.c: (status_message_from_link),
5137 (ev_view_set_status), (ev_view_set_cursor),
5138 (ev_view_motion_notify_event), (ev_view_init):
5139 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5141 Fix bugs in the links implementation and change cursor
5142 when hovering a link.
5144 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5146 * viewer/.cvsignore: added cvsignore file for viewer directory
5148 * TODO: created TODO document
5150 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5153 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5154 new functions to help with implementation of sensitivity code
5155 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5156 of all actions that might require it. Fixes a crash when you
5157 click on the Zoom actions in a window lacking a document.
5159 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5161 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5164 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5166 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5167 (pixbuf_document_document_iface_init):
5168 * ps/ps-document.c: (ps_document_get_link),
5169 (ps_document_document_iface_init):
5170 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5171 (status_message_from_link), (ev_view_set_status),
5172 (ev_view_set_find_status), (ev_view_motion_notify_event),
5173 (ev_view_button_release_event), (ev_view_set_property),
5174 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5175 (ev_view_get_find_status_message), (update_find_results),
5176 (ev_view_get_status), (ev_view_get_find_status):
5178 * shell/ev-window.c: (view_status_changed_cb),
5179 (view_find_status_changed_cb), (ev_window_init):
5181 View status message support, use it to show the links.
5184 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5186 * backend/ev-document.c: (ev_document_get_link):
5187 * backend/ev-document.h:
5188 * pdf/xpdf/pdf-document.cc:
5189 * shell/ev-application.c: (ev_application_open):
5190 * shell/ev-application.h:
5191 * shell/ev-sidebar-links.c: (selection_changed_cb):
5192 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5193 (ev_view_go_to_link):
5195 Add support for document links
5197 2005-01-13 Anders Carlsson <andersca@gnome.org>
5199 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5201 Set the spin button limits correctly.
5203 * shell/ev-sidebar-thumbnails.c:
5204 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5205 Support changing pages by clicking on the thumbnails.
5207 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5209 * pixbuf/pixbuf-document.c:
5210 (pixbuf_document_thumbnails_get_dimensions),
5211 (pixbuf_document_document_thumbnails_iface_init):
5213 implement get_dimensions
5215 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5217 * ps/ps-document.c: (ps_document_goto_page):
5219 Fix page switching on multipage documents
5221 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5223 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5225 check for NULL before assigning to width and height parameters
5227 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5229 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5230 (pixbuf_document_set_property), (pixbuf_document_get_property):
5232 implement get/set properties
5234 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5236 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5238 return NULL instead of "Unknown", letting the title get set to
5239 the filename when the pdf has no title.
5241 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5243 * ps/ps-document.c: (ps_document_get_page_count),
5244 (ps_document_goto_page):
5246 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5248 * shell/ev-history.c: (ev_history_get_property),
5249 (ev_history_set_property), (ev_history_class_init),
5250 (ev_history_add_page), (ev_history_set_current_index):
5251 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5252 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5253 (ev_navigation_action_finalize):
5254 * shell/ev-navigation-action.h:
5255 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5256 (ev_view_go_forward), (ev_view_get_find_status_message),
5257 (history_index_changed_cb), (ev_view_set_history):
5259 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5260 (update_current_page), (register_custom_actions):
5262 Implement history dropdowns
5264 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5266 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5267 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5268 (ev_view_go_forward):
5269 * shell/ev-window.c: (register_custom_actions):
5271 Fix several history bugs
5273 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5275 * configure.ac: Add «nb» to ALL_LINGUAS.
5277 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5279 * backend/Makefile.am:
5280 * backend/ev-bookmark.c:
5281 * backend/ev-bookmark.h:
5282 * backend/ev-document-bookmarks.c:
5283 * backend/ev-document-bookmarks.h:
5284 * backend/ev-document-links.c: (ev_document_links_get_type),
5285 (ev_document_links_has_document_links),
5286 (ev_document_links_begin_read), (ev_document_links_get_link),
5287 (ev_document_links_get_child), (ev_document_links_next),
5288 (ev_document_links_free_iter):
5289 * backend/ev-document-links.h:
5290 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5291 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5292 (ev_link_get_link_type), (ev_link_set_link_type),
5293 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5294 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5295 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5296 (ev_link_new_external):
5297 * backend/ev-link.h:
5298 * pdf/xpdf/pdf-document.cc:
5299 * shell/Makefile.am:
5300 * shell/ev-application.c: (ev_application_open_link):
5301 * shell/ev-application.h:
5302 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5303 (ev_history_get_link_nth):
5304 * shell/ev-history.h:
5305 * shell/ev-sidebar-bookmarks.c:
5306 * shell/ev-sidebar-bookmarks.h:
5307 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5308 (ev_sidebar_links_class_init), (selection_changed_cb),
5309 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5310 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5311 (do_one_iteration), (populate_links_idle),
5312 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5313 * shell/ev-sidebar-links.h:
5314 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5315 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5318 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5319 * shell/ev-window.h:
5321 Rename bookmark to link, and use "Index" for the sidebar panel.
5323 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5325 * shell/Makefile.am:
5326 * shell/ev-application.c: (ev_application_open_bookmark):
5327 * shell/ev-application.h:
5328 * shell/ev-history.c: (ev_history_init), (free_links_list),
5329 (ev_history_finalize), (ev_history_class_init),
5330 (ev_history_add_link), (ev_history_add_page),
5331 (ev_history_get_link_nth), (ev_history_get_n_links),
5332 (ev_history_get_current_index), (ev_history_set_current_index),
5334 * shell/ev-history.h:
5335 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5336 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5337 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5338 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5341 * shell/ev-window.c: (ev_window_open_bookmark),
5342 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5343 (goto_page_cb), (register_custom_actions):
5344 * shell/ev-window.h:
5346 Initial history implementation. Needs work.
5348 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5350 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5352 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5354 * cut-n-paste/recent-files/egg-recent-item.c:
5355 * cut-n-paste/recent-files/egg-recent-item.h:
5356 * cut-n-paste/recent-files/egg-recent-model.c:
5357 * cut-n-paste/recent-files/egg-recent-util.c:
5358 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5359 * cut-n-paste/recent-files/egg-recent-view.c:
5363 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5365 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5366 (fillGlyph, fillImageMask, drawImage):
5367 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5368 pdf/splash/SplashTypes.h:
5369 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5370 packed mode for Splash.
5372 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5373 RGB8 packed mode, eliminates the pixbuf data creation loop.
5375 * shell/ev-print-job.c (ev_print_job_finalize)
5376 (ev_print_job_set_property, ev_print_job_get_property)
5377 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5378 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5379 (print_closure_finalize, ev_print_job_print): implement
5380 printing (for backends with EvPsExporter)
5382 * shell/ev_print_job.h: update prototypes.
5384 * shell/ev-window.c (ev_window_print): unref print job after
5387 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5388 unless the document implements the EvDocumentFind interface.
5390 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5392 * configure.ac: Added ja to ALL_LINGUAS.
5394 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5396 * pdf/xpdf/pdf-document.cc:
5398 add a FIXME. We should probably not allocate
5399 a bookmark object every time
5401 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5403 * shell/ev-application.c: (ev_application_open),
5404 (ev_application_open_bookmark):
5405 * shell/ev-application.h:
5407 Add a way to open bookmarks
5409 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5410 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5411 (ev_bookmark_set_property), (ev_bookmark_class_init),
5412 (ev_bookmark_new_title), (ev_bookmark_new_link),
5413 (ev_bookmark_new_external):
5415 Support for external uris, better constructors.
5417 * backend/ev-bookmark.h:
5418 * pdf/xpdf/pdf-document.cc:
5419 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5421 Handle external uris
5423 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5425 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5426 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5428 Hook up bookmarks navigation
5430 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5432 * backend/Makefile.am:
5433 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5434 (ev_bookmark_get_title), (ev_bookmark_set_title),
5435 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5436 (ev_bookmark_get_page), (ev_bookmark_set_page),
5437 (ev_bookmark_get_property), (ev_bookmark_set_property),
5438 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5440 * backend/ev-bookmark.h:
5441 * backend/ev-document-bookmarks.c:
5442 (ev_document_bookmarks_get_bookmark):
5443 * backend/ev-document-bookmarks.h:
5444 * pdf/xpdf/pdf-document.cc:
5445 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5447 Add a bookmark object to the backend and use it instead of get_values
5449 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5451 * data/evince-ui.xml:
5453 Cleanup and add select all.
5455 * shell/ev-view.c: (ev_view_select_all),
5456 (ev_view_button_press_event):
5458 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5461 Clear selection on click.
5463 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5465 * shell/ev-sidebar-thumbnails.c
5466 (ev_sidebar_thumbnails_set_document): forgot to unref the
5469 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5471 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5472 at the visible page, not just linearly. This makes it look fast.
5474 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5476 * backend/ev-document-misc.c
5477 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5479 * backend/ev-document-thumbnails.h: New interface to get the size
5482 2005-01-06 Jeremy Katz <katzj@redhat.com>
5484 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5487 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5489 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5490 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5493 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5495 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5497 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5498 fonts. Should fix font problems on systems that have the base
5499 fonts in bitmap format. Reported by James Henstridge
5500 <james@jamesh.id.au>.
5502 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5505 * pdf/xpdf/GfxState.cc:
5507 Fix for CAN-2004-1125
5509 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5511 * shell/ev-view.c: (ev_view_copy):
5513 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5515 Implement Edit->Copy
5517 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5519 * backend/ev-document.c: (ev_document_get_text):
5520 * backend/ev-document.h:
5521 * pdf/xpdf/pdf-document.cc:
5522 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5523 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5524 (ev_view_update_primary_selection), (ev_view_button_press_event),
5525 (ev_view_motion_notify_event), (ev_view_button_release_event):
5527 Beginnings of clipboard support. Incomplete but primary sort
5530 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5532 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5533 (expose_bin_window):
5535 Nicer rubberband drawing, from GtkIconView.
5537 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5539 * backend/ev-document.c: (ev_document_save):
5540 * backend/ev-document.h:
5541 * data/evince-ui.xml:
5542 * pdf/xpdf/pdf-document.cc:
5543 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5545 Implement "Save a copy..." menu item
5547 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5549 * shell/ev-view.c: (ev_view_zoom):
5551 Queue a resize when zoom changes
5553 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5555 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5558 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5561 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5563 * pdf/xpdf/pdf-document.cc
5564 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5566 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5568 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5569 It's slow, but I'll speed it up next!
5571 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5573 * shell/main.c (load_files):
5575 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5576 from the command line and because it seems more appropriate.
5578 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5580 * data/evince-ui.xml:
5581 * shell/ev-window.c: (update_action_sensitivity),
5582 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5584 s/next page/page down
5585 s/previous page/page up
5587 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5589 * data/evince-ui.xml:
5591 Change the layout to match clarkbw design.
5593 * shell/Makefile.am:
5594 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5595 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5596 (ev_navigation_action_finalize),
5597 (ev_navigation_action_set_property),
5598 (ev_navigation_action_get_property),
5599 (ev_navigation_action_class_init):
5600 * shell/ev-navigation-action.h:
5602 Implement clarkbw toolbar navigation controls (incomplete)
5604 * shell/ev-page-action.c: (update_label), (update_spin),
5605 (value_changed_cb), (create_tool_item), (connect_proxy),
5606 (ev_page_action_init), (ev_page_action_finalize),
5607 (ev_page_action_set_property), (ev_page_action_get_property),
5608 (ev_page_action_set_current_page),
5609 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5610 * shell/ev-page-action.h:
5612 Implement a page switcher in the toolbar
5614 * shell/ev-view.c: (ev_view_scroll_view):
5615 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5616 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5617 (register_custom_actions), (ev_window_init):
5619 Change page on PageUp/Down.
5621 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5623 * pdf/xpdf/pdf-document.cc
5624 (pdf_document_thumbnails_get_thumbnail): initial stab at
5625 implementing thumbnail support for pdfs. It only does documents
5626 with precached pdfs now.
5628 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5630 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5631 thumbnail code into a time-based idle as well. Also, turn off the
5632 shadow temporarily as it's really slow.
5634 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5636 * backend/ev-document.c: (ev_document_class_init):
5637 * pdf/xpdf/pdf-document.cc:
5638 * shell/ev-window.c: (ev_window_open):
5640 Fix document title bugs and fallback to
5641 filename when not available.
5643 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5645 * backend/ev-document.c: (ev_document_get_type),
5646 (ev_document_class_init), (ev_document_load),
5647 (ev_document_get_title):
5648 * backend/ev-document.h:
5649 * pdf/xpdf/pdf-document.cc:
5650 * ps/ps-document.c: (ps_document_set_property),
5651 (ps_document_get_property), (ps_document_class_init),
5655 * shell/ev-window.c: (update_window_title), (ev_window_open),
5658 Initial support for document title. Not working yet.
5660 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5662 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5664 Grab focus on the view when clicking it
5666 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5668 * shell/ev-marshal.list:
5669 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5670 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5672 Add key bindings to the view. Now if the focus would work
5675 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5678 * backend/Makefile.am:
5681 * dvi/dvilib/Makefile.am:
5682 * pdf/xpdf/Makefile.am:
5688 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5690 * shell/ev-view.c: (ev_view_realize):
5692 Fix mouse wheel scrolling
5694 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5700 * ps/ps-document.c: (catchPipe), (ps_document_init),
5701 (ps_document_class_init), (ps_document_cleanup),
5702 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5703 (set_up_page), (close_pipe), (is_interpreter_ready),
5704 (interpreter_failed), (output), (input), (start_interpreter),
5705 (stop_interpreter), (file_length), (file_readable),
5706 (check_filecompressed), (check_pdf), (compute_xdpi),
5707 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5708 (ps_document_get_type), (ps_document_emit_error_msg),
5709 (document_load), (ps_document_next_page),
5710 (ps_document_get_current_page), (ps_document_get_page_count),
5711 (ps_document_goto_page), (ps_document_set_page_size),
5712 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5713 (ps_document_load), (ps_document_get_n_pages),
5714 (ps_document_set_page), (ps_document_get_page),
5715 (ps_document_widget_event), (ps_document_set_target),
5716 (ps_document_set_scale), (ps_document_set_page_offset),
5717 (ps_document_get_page_size), (ps_document_render),
5718 (ps_document_document_iface_init):
5721 * shell/ev-window.c: (ev_window_open):
5723 Rename GtkGS to PSDocument
5725 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5727 * ps/gtkgs.c: (gtk_gs_class_init):
5730 Some more leftover...
5732 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5734 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5735 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5736 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5739 Remove unused code and make a lot of stuff private
5741 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5743 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5744 (gtk_gs_defaults_changed):
5750 Cleanup headers dependencies
5752 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5757 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5759 * ps/gtkgs.c: (file_length), (file_readable),
5760 (check_filecompressed), (check_pdf), (gtk_gs_load),
5761 (gtk_gs_get_postscript):
5765 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5770 * ps/gtkgs.c: (gtk_gs_set_zoom):
5774 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5776 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5778 Ensure the page is rerendered when changing zoom
5780 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5782 * backend/ev-document.c: (ev_document_base_init),
5783 (ev_document_changed):
5784 * backend/ev-document.h:
5786 Add a changed event that is emitted when the page content
5787 changes. This is necessary to deal with the fact that
5788 in ps backend rendering happen asycrounously.
5789 This makes the ps backend mostly work.
5791 * pdf/xpdf/pdf-document.cc:
5795 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5796 (ps_document_set_target):
5800 * shell/ev-view.c: (document_changed_callback),
5801 (ev_view_set_document), (ev_view_set_page):
5803 Redraw on the changed signal
5805 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5807 * configure.ac: Added pt_BR to ALL_LINGUAS.
5809 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5811 * backend/ev-document-bookmarks.c:
5812 (ev_document_bookmarks_get_child): *
5813 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5814 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5815 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5816 (ev_sidebar_bookmarks_destroy),
5817 (ev_sidebar_bookmarks_class_init),
5818 (ev_sidebar_bookmarks_construct), (stack_data_free),
5819 (do_one_iteration), (populate_bookmarks_idle),
5820 (ev_sidebar_bookmarks_clear_document),
5821 (ev_sidebar_bookmarks_set_document): *
5822 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5823 (ev_sidebar_add_page),
5824 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5825 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5826 it displays both the topics and the page numbers.
5828 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5830 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5832 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5835 2004-12-23 Adam Weinberger <adamw@gnome.org>
5837 * configure.ac: Added en_CA to ALL_LINGUAS.
5839 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5841 * ChangeLog: replace bottom of this ChangeLog (merged history of
5842 ggv and gpdf; where all paths were wrong and most of the files are
5843 not even in this tree) with ChangeLog (from arch) of the shell
5846 2004-12-23 Havoc Pennington <hp@redhat.com>
5848 * shell/ev-window.c: hook up potentially-questionable "find
5849 results status text" feature - something involving the sidebar or
5850 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5851 might be better in the end.
5853 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5854 with corresponding signal when it should be updated
5856 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5858 2004-12-22 Havoc Pennington <hp@redhat.com>
5860 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5861 find stuff on other pages, sort of (only returns one result on
5862 invisible pages, to show they have results; updates full results
5863 for a page when you view it). Currently repaints the current page
5864 every time a new result is found on any page, which isn't so nice.
5866 2004-12-22 Havoc Pennington <hp@redhat.com>
5868 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5869 the document doesn't support find (better ideas?)
5870 (find_bar_search_changed_cb): handle missing document or document
5871 that doesn't support find
5873 * pdf/xpdf/pdf-document.cc: port to implement the new
5876 * backend/ev-document-find.c: create a new interface for searching
5878 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5880 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5882 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5885 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5886 EvPrintJob constructor arguments.
5888 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5889 for documents that can export PostScript (page by page).
5891 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5893 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5894 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5895 (pdf_document_ps_exporter_iface_init:
5896 Implement EvPSExporter.
5898 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5900 2004-12-22 Anders Carlsson <andersca@gnome.org>
5902 * backend/Makefile.am:
5903 * backend/ev-document-thumbnails.c:
5904 (ev_document_thumbnails_get_type),
5905 (ev_document_thumbnails_get_thumbnail):
5906 * backend/ev-document-thumbnails.h:
5907 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5908 (pixbuf_document_thumbnails_get_thumbnail),
5909 (pixbuf_document_document_thumbnails_iface_init):
5910 * shell/Makefile.am:
5911 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5912 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5913 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5914 * shell/ev-sidebar-thumbnails.h:
5915 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5916 (ev_sidebar_set_document):
5917 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5918 (create_shadow), (ev_pixbuf_add_shadow):
5920 Add thumbnail support.
5922 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5924 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5925 (using_postscript_printer): Set up a print dialog for "PostScript
5928 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5931 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5933 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5935 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5936 (ps_document_set_target), (ps_document_get_page_size),
5937 (ps_document_render):
5942 2004-12-22 Christian Rose <menthos@menthos.com>
5944 * configure.ac: Added "sv" to ALL_LINGUAS.
5946 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5948 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5949 document supports bookmarks.
5951 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5953 * ps/ggvutils.c: (ggv_file_readable):
5955 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5956 (gtk_gs_get_postscript):
5960 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5962 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5963 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5964 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5965 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5966 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5967 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5968 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5969 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5970 (gtk_gs_set_antialiasing), (ps_document_load),
5971 (ps_document_render):
5974 Another check point for the ps backend. Now I can get it to show
5977 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5979 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5980 document setting code.
5982 2004-12-22 Anders Carlsson <andersca@gnome.org>
5984 * shell/eggfindbar.c: (entry_activate_callback):
5985 Animate the next button when activate is pressed.
5987 2004-12-22 Anders Carlsson <andersca@gnome.org>
5989 * shell/ev-window.c: (ev_window_cmd_edit_find),
5990 (update_fullscreen_popup), (ev_window_fullscreen),
5991 (ev_window_unfullscreen), (ev_window_state_event_cb),
5992 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5993 Fix bugs in fullscreen code.
5995 2004-12-22 Anders Carlsson <andersca@gnome.org>
5999 * pixbuf/Makefile.am:
6000 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6001 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6002 (pixbuf_document_set_page), (pixbuf_document_get_page),
6003 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6004 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6005 (pixbuf_document_render), (pixbuf_document_begin_find),
6006 (pixbuf_document_end_find), (pixbuf_document_finalize),
6007 (pixbuf_document_class_init),
6008 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6009 * pixbuf/pixbuf-document.h:
6010 * shell/Makefile.am:
6011 * shell/ev-application.c: (ev_application_open):
6012 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6016 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6019 * dvi/dvilib/Makefile.am:
6021 * configure.ac: Auto*ify dvi and dvi/dvilib
6023 * dvi/Makefile: Remove from CVS
6025 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6028 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6030 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6032 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6035 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6036 (gtk_gs_value_adjustment_changed), (compute_size),
6037 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6038 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6039 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6040 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6041 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6042 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6043 (ps_document_load), (ps_document_get_n_pages),
6044 (ps_document_set_page), (ps_document_get_page),
6045 (ps_document_set_target), (ps_document_set_scale),
6046 (ps_document_set_page_offset), (ps_document_get_page_size),
6047 (ps_document_render), (ps_document_begin_find),
6048 (ps_document_end_find), (ps_document_document_iface_init):
6050 * shell/Makefile.am:
6051 * shell/ev-window.c: (ev_window_open):
6053 Some work to integrate gtkgs with EvDocument
6055 2004-12-22 Anders Carlsson <andersca@gnome.org>
6057 * shell/ev-window.c: (update_fullscreen_popup),
6058 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6059 (exit_fullscreen_button_clicked_cb),
6060 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6061 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6062 (ev_window_state_event_cb), (ev_window_init):
6063 Add fullscreen support from Epiphany.
6065 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6067 * data/ev-stock-zoom-fit-width.png: fit-width
6068 stock icon from gpdf.
6070 * shell/ev-stock-icons.[ch]: copied from gpdf.
6072 * shell/main.c: (main): init stock icons.
6074 * shell/ev-window.c: use the fit-width icon.
6076 * data/evince-ui.xml: add zooming toolbar items.
6078 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6081 (ev_view_best_fit), (ev_view_fit_width): because
6082 get_page_size() returns the scaled page size, we
6083 need to calculate the scale factor relative to
6084 the previous scale factor. Should really just
6085 add get_real_page_size().
6087 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6089 * shell/ev-view.[ch]:
6090 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6091 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6094 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6095 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6096 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6099 * pdf/xpdf/pdf-document.cc:
6100 (pdf_document_begin_find),
6101 (pdf_document_end_find): make static.
6103 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6105 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6107 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6108 names to fontconfig patterns.
6109 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6111 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6114 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6130 Import ggv backend. Not hooked up yet.
6132 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6134 * shell/main.c: (load_files), (main): load files
6135 from the command line.
6137 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6139 * configure.ac: don't require bonobo.
6141 * cut-n-paste/recent-files/*: kill bonobo recent
6144 * shell/ev-window.c:
6145 (ev_window_is_empty): upd.
6146 (unable_to_load), (ev_window_open): load backend
6147 based on the mime type.
6149 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6151 * backend/.cvsignore: ignore generated marshalers source.
6153 * shell/main.c (main): this is not epiphany.
6155 2004-12-22 Havoc Pennington <hp@redhat.com>
6157 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6158 (expose_bin_window): draw find highlights
6160 * shell/ev-window.c (find_bar_search_changed_cb): implement
6162 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6163 (pdf_document_end_find): implement this interface
6165 * backend/ev-document.c (ev_document_found): add this to emit
6168 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6170 * data/evince-ui.xml: Add a few more toolbar items.
6172 * shell/ev-window.c: Hook up page navigation toolbar
6175 * shell/ev-view.[ch]: add ev_view_set/get_page and
6176 a page-changed signal.
6178 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6179 Add ev_document_get_page().
6181 * shell/ev-window.c: Sensitize/desensitize navigation
6184 2004-12-21 Havoc Pennington <hp@redhat.com>
6186 * backend/ev-backend-marshal.c,
6187 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6188 marshaler-generator thingy. I'm sure there's a better way to do
6189 this in the modern world.
6191 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6192 end_find methods and "found" signal.
6194 * configure.ac: find glib-genmarshal
6196 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6198 * shell/ev-sidebar.c: Construct an actual sidebar.
6199 * shell/ev-sidebar-bookmarks.[ch]:
6200 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6202 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6204 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6207 * shell/ev-view.c: Track the size from the document.
6209 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6211 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6212 constructor assumes ownership of the string passed in.
6214 * shell/ev-window.c (ev_window_open): Destroy the error
6215 dialog once we've displayed it.
6217 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6219 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6220 a bit, it works! (sort of)
6222 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6223 Move to .cc since we need to use C++ in the implementation.
6225 * shell/dummy.cc: Add a CC file to force evince
6226 to be linked as a C++ program.
6228 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6230 * shell/ev-view.[ch]: Start of content-area widget.
6232 * shell/ev-window.c: Create a EvView, update it
6233 as we change documents.
6235 * shell/Makefile.am shell/ev-marshal.list: Add
6236 generated marshalers.
6238 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6240 * Makefile.am (SUBDIRS): move shell.
6242 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6244 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6245 .a to libtool convenience libraries.
6247 * shell/ev-window.c (ev_window_open): Hard code loading
6250 * backend/ev-document.h: Add a boolean return to load(),
6251 fix GError * to GError **.
6253 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6254 object for a PDF backend EvDocument.
6256 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6258 * dvi/*: New directory with the beginning of a .dvi backend.
6260 2004-12-21 Havoc Pennington <hp@redhat.com>
6262 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6263 previous/next instead of back/forward
6265 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6267 * backend/ev-document.[ch]: Fix a couple of problems so
6270 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6272 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6273 to backend/ directory, rename EvViewer to EvDocument.
6275 2004-12-21 Havoc Pennington <hp@redhat.com>
6277 * shell/ev-window.c: hook up the find bar widget; now we just need
6278 a document to find things in
6280 * shell/eggfindbar.c: a find bar widget
6282 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6284 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6286 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6288 * pdf/**: Import of xpdf code from gpdf.
6290 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6292 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6293 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6294 Fix FreeType includes.
6296 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6297 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6298 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6299 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6300 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6301 Include xpdfconfig.h
6303 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6305 * shell/ev-window.c (ev_window_dispose): dispose can be called
6308 2004-12-21 Havoc Pennington <hp@redhat.com>
6310 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6313 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6314 items; really they should be synced with the strings, etc. from
6315 current gpdf, but just getting the boring typing out of the way
6317 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6320 * shell/ev-application.c: (window_destroy_cb):
6321 * shell/ev-window.c:
6322 * shell/main.c: (main):
6324 Actually show the window...
6326 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6329 * shell/Makefile.am:
6330 * shell/ev-application.c: (ev_application_class_init):
6331 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6335 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6337 Import to gnome cvs.
6339 * Remove copies of gpdf and ggv trees.
6340 * Rip out all the recursive configure code.
6341 * Remove bonobo machinery.
6342 * viewer/*: GInterfaces that backends should/can implement.
6344 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6346 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6349 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6351 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6352 (ev_application_finalize, ev_application_class_init)
6353 (ev_application_init): use GType instance private data for priv.
6355 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6356 (ev_window_finalize, ev_window_class_init)
6357 (ev_window_init): ditto.
6359 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6361 * shell/ev-application.c (ev_application_new_window): make public
6362 (ev_application_show_initial_window): kill.
6364 * shell/ev-application.h: update prototypes.
6366 * shell/main.cc (main): inline ev_application_show_initial_window.
6368 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6370 * shell/ev-application.c (ev_application_new_window): impl.
6371 (ev_application_show_initial_window): use it.
6372 (is_window_empty, ev_application_get_empty_window): returns an
6373 existing empty window or a new one.
6374 (ev_application_open): from ev_window_cmd_file_open.
6376 * shell/ev-application.h: update prototypes
6378 * shell/ev-window.c (ev_window_is_empty): impl.
6379 (ev_window_open): make public.
6380 (ev_window_cmd_file_open): use ev_application_open
6382 * shell/ev-window.h: update prototypes, remove unused.
6384 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6386 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6387 move destroy handler out of here...
6389 * shell/ev-application.c, shell/ev-application.h: ...into this new
6390 class. Also handles initial window creation.
6392 * shell/main.cc (main): use EvApplication to create initial
6395 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6397 * Makefile.am (SUBDIRS): add cut-n-paste
6399 * cut-n-paste/Makefile.am: add
6401 * configure.ac: generate Makefiles in cut-n-paste
6403 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6405 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6406 (ev_window_class_init): install ev_window_dispose.
6408 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6410 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6411 char (gchar looks stupid).
6413 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6415 * po/de.po: updated German translation.
6417 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6419 * configure.ac: add more pkg-config library checks for gnome-vfs,
6422 * gpdf/configure.in: temporarily disable libpaper
6423 checks. Otherwise I'd have to add the checks for the shell, too.
6425 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6427 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6428 and * file filters to the file choose.
6430 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6432 * po/de.po: Updated German translation.
6434 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6436 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6438 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6440 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6442 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6443 (ev_window_init): implement those menuitems.
6445 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6447 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6449 * shell/ev-window.c (ev_window_init): use the toolbar.
6451 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6453 * shell/ev-window.c (ev_window_init): use menu translations
6455 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6457 * configure.ac: add "de" to ALL_LINGUAS.
6459 * po/de.po: add German translation.
6461 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6463 * Makefile.am (SUBDIRS): add po
6465 * configure.ac: check intltool, glib-gettext etc, generate
6468 * po, po/POTFILES.in, po/POTFILES.skip: new.
6470 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6472 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6473 already use (#ifdef ENABLE_NLS)
6475 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6476 pointer indirection thinko.
6478 * shell/main.c: include gi18n.h for bindtextdomain etc.
6480 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6482 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6483 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6484 tooltips for menu items in the statusbar.
6486 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6488 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6489 pkgdatadir drop UIDIR
6491 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6493 * data/evince-ui.xml: Add File->Open menu item
6495 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6496 chooser), hook it up in the ui manager.
6498 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6500 * shell/ev-window.c: fix Help->About tooltip.
6502 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6504 * configure.ac: set CFLAGS for libevprivate.
6506 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6507 definitions, factory etc.
6509 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6511 * shell/Makefile.am: link against libevprivate.a.
6513 * shell/ev-window.c (entries): add stock icon to Help->About.
6515 * shell/main.c (main): init stock icon code.
6517 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6519 * lib/recent-files: egg recent files code
6521 * lib/Makefile.am: add.
6523 * Makefile.am: add lib subdir.
6525 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6526 set CFLAGS for recent-files.
6528 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6530 * configure.ac: disable -ansi and -pedantic gcc flags. They
6531 disable POSIX stuff in stdio.h, but egg-recent uses them.
6533 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6535 * configure.ac: add --disable-deprecated flag (defaults to on in
6538 * shell/Makefile.am (INCLUDES): use it.
6540 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6542 * shell/main.c: add missing #include.
6544 * shell/ev-window.c: fix for pedantic gcc.
6545 (ev_window_cmd_help_about): split license into paragraphs for
6546 translators and pedantic compilers.
6548 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6550 * configure.ac: add more warning flags if compiling with gcc from
6551 cvs (or explicitly requested with --enable-more-warnings).
6553 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6555 * data/evince-ui.xml: add File and File->Close menu.
6557 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6558 (ev_window_destroy): quit after destroy.
6559 (ev_window_class_init): override GtkObject::destroy.
6560 (entries): install close_window callback.
6562 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6564 * Makefile.am (SUBDIRS): add data subdir.
6566 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6567 gtk+ 2.5.0 for GtkAboutDialog.
6569 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6572 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6574 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6576 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6578 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6580 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6582 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6584 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6586 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6588 * shell/*: Added shell directory boilerplate, build it.
6590 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6592 * configure.ac, Makefile.am: Added top-level configure.ac and