1 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
3 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
4 add a couple missing mnemonics to menu items, use title
5 capitalization for menu items and window titles, and add
6 ellipsis to open menu item.
8 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
11 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
12 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
13 (ev_view_get_rotation):
15 * shell/ev-window.c: (setup_view_from_metadata),
16 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
17 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
20 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
22 * configure.ac: Added tr to ALL_LINGUAS
24 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
26 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
27 requires several clicks to find word. Thanks to
28 Colin Slater <kiltedtaco@gmail.com>.
30 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
32 * data/evince.desktop.in.in: Hide menu entry and
33 rename it to "Document Viewer". Fix for bug
36 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
38 * shell/ev-page-action.c (ev_page_action_class_init):
40 Point to the correct function in constructor of the
43 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
45 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
46 * shell/ev-jobs.h: Make thread safe.
48 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
50 * shell/ev-view.c: (view_update_range_and_current_page):
51 Don't update page range if we are scrolling to some document
54 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
56 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
57 when getting max_page_width, fix drawing in dual mode.
59 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
61 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
62 getting the area for select_all.
64 2005-08-06 Kristian Høgsberg <krh@redhat.com>
66 * backend/ev-selection.c: (ev_selection_render_selection):
67 * backend/ev-selection.h:
69 * shell/ev-jobs.c: (ev_job_render_new):
71 * shell/ev-pixbuf-cache.c: (get_selection_colors),
72 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
73 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
76 Change selection color on focus in and focus out events. Also,
77 poppler now uses GdkColor for specifying the selection colors, so
78 drop some awkward conversion code.
80 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
82 * configure.ac: Added Hebrew translation
84 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
87 * backend/ev-selection.c: (ev_selection_render_selection):
88 * backend/ev-selection.h:
90 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
93 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
94 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
95 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
96 (ev_pixbuf_cache_style_changed),
97 (ev_pixbuf_cache_get_selection_pixbuf),
98 (ev_pixbuf_cache_set_selection_list),
99 (ev_pixbuf_cache_get_selection_list):
100 * shell/ev-pixbuf-cache.h:
101 * shell/ev-utils.c: (ev_print_region_contents):
103 * shell/ev-view.c: (ev_view_queue_draw_page),
104 (selection_update_idle_cb), (ev_view_motion_notify_event),
105 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
106 (setup_caches), (ev_view_find_next), (merge_selection_region),
108 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
110 Clean up selection to be much smoother!
112 2005-08-05 Kristian Høgsberg <krh@redhat.com>
114 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
115 to poppler_page_render_selection().
117 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
119 * ps/ps-document.c: (save_page_list): Use
120 unzipped document when printing. Thanks to
121 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
124 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
126 * shell/ev-window.c: (update_action_sensitivity):
128 Disable print and save respect to lockdown gconf keys. Fix
131 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
134 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
135 (write_to_temp_file), (ev_file_set_contents):
137 * shell/ev-window.c: (save_print_config_to_file):
139 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
142 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
144 * shell/ev-window.c: (load_print_config_from_file),
145 (save_print_config_to_file), (ev_window_print_range):
147 Persist the print settings. Fixes bug #311578.
149 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
151 * djvu/djvu-document.c: (djvu_document_get_page_size),
152 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
153 (djvu_document_thumbnails_get_thumbnail):
154 * dvi/dvi-document.c: (dvi_document_get_page_size),
155 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
156 (dvi_document_thumbnails_get_dimensions),
157 (dvi_document_thumbnails_get_thumbnail):
158 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
159 (pixbuf_document_render_pixbuf),
160 (pixbuf_document_document_iface_init),
161 (pixbuf_document_thumbnails_get_thumbnail):
163 Update backends to make them build with new rotation system.
165 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
167 * help/C/figures/evince_start_window.png:
169 Update documentation image from Luca Ferretti <elle.uca@libero.it>
171 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
173 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
174 * shell/ev-pixbuf-cache.h:
175 * shell/ev-sidebar-thumbnails.c:
176 (ev_sidebar_thumbnails_get_property), (add_range),
177 (adjustment_changed_cb):
178 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
179 pixbuf cache. Make thumbnailing work again. Also, fix bug where
180 we were thumbnailing the entire docment on startup, slowing us
183 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
185 * shell/ev-page-cache.c: (ev_page_cache_new):
186 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
189 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
191 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
192 (ev_view_rotate_left):
194 Account rotation in doc_rect_to_view_rect.
195 Ensure rotation doesnt go out of bounds.
197 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
199 * shell/ev-page-cache.c: (ev_page_cache_get_size):
201 Correct and cleanup w/h swapping
203 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
205 * backend/ev-document-thumbnails.c:
206 (ev_document_thumbnails_get_thumbnail):
207 * backend/ev-document-thumbnails.h:
208 * backend/ev-document.c:
209 * backend/ev-document.h:
210 * backend/ev-render-context.c: (ev_render_context_new),
211 (ev_render_context_set_rotation):
212 * backend/ev-render-context.h:
214 * ps/ps-document.c: (ps_document_document_iface_init):
215 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
217 * shell/ev-page-cache.c: (build_height_to_page),
218 (ev_page_cache_new), (ev_page_cache_get_size),
219 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
220 (ev_page_cache_get_height_to_page):
221 * shell/ev-page-cache.h:
222 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
223 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
224 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
225 (ev_pixbuf_cache_get_selection_pixbuf):
226 * shell/ev-pixbuf-cache.h:
227 * shell/ev-print-job.c: (idle_print_handler):
228 * shell/ev-sidebar-thumbnails.c: (add_range):
229 * shell/ev-view.c: (view_update_range_and_current_page),
230 (get_page_y_offset), (get_page_extents),
231 (ev_view_size_request_continuous_dual_page),
232 (ev_view_size_request_continuous),
233 (ev_view_size_request_dual_page),
234 (ev_view_size_request_single_page), (draw_one_page),
235 (ev_view_set_rotation), (ev_view_rotate_right),
236 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
237 (ev_view_zoom_for_size_continuous_and_dual_page),
238 (ev_view_zoom_for_size_continuous),
239 (ev_view_zoom_for_size_dual_page),
240 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
241 (ev_view_select_all):
242 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
243 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
244 (tiff_document_document_iface_init),
245 (tiff_document_thumbnails_get_thumbnail):
247 Use rotation rather than orientation. It's easier and enough
250 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
252 * shell/ev-page-cache.c: (build_height_to_page),
253 (ev_page_cache_new), (ev_page_cache_get_size),
254 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
255 (ev_page_cache_get_height_to_page):
256 * shell/ev-page-cache.h:
257 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
258 (ev_view_size_request_continuous_dual_page),
259 (ev_view_size_request_continuous),
260 (ev_view_zoom_for_size_continuous_and_dual_page),
261 (ev_view_zoom_for_size_continuous):
263 Make the page cache aware of page orientation.
265 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
267 * backend/ev-document-thumbnails.c:
268 (ev_document_thumbnails_get_thumbnail):
269 * backend/ev-document-thumbnails.h:
270 * backend/ev-document.c:
271 * backend/ev-document.h:
272 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
273 * backend/ev-ps-exporter.h:
275 * ps/ps-document.c: (ps_document_document_iface_init),
276 (ps_document_ps_export_do_page):
277 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
279 * shell/ev-page-cache.c: (ev_page_cache_get_size),
281 * shell/ev-page-cache.h:
282 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
283 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
284 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
285 * shell/ev-pixbuf-cache.h:
286 * shell/ev-print-job.c: (idle_print_handler):
287 * shell/ev-sidebar-thumbnails.c: (add_range):
288 * shell/ev-view.c: (view_update_range_and_current_page),
289 (get_page_extents), (ev_view_size_request_dual_page),
290 (ev_view_size_request_single_page), (draw_one_page),
291 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
292 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
293 (ev_view_zoom_for_size_dual_page),
294 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
295 (ev_view_select_all):
296 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
297 * tiff/tiff-document.c: (tiff_document_get_page_size),
298 (tiff_document_get_orientation), (rotate_pixbuf),
299 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
300 (tiff_document_thumbnails_get_thumbnail),
301 (tiff_document_ps_export_do_page), (tiff_document_init):
303 Really make use of the orientation bit of the render context.
304 Use the render context in a few more places in the backend API.
305 This regress orientation, but now it's done right. Will try to
308 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
310 * shell/ev-view.c: (ensure_rectangle_is_visible):
312 Patch by Nickolay V. Shmyrev to fix find flickering
314 2005-07-27 Martin Kretzschmar <martink@gnome.org>
316 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
317 duplex parameters to ::begin.
319 * tiff/tiff-document.c (tiff_document_ps_export_begin):
320 * shell/ev-print-job.c (idle_print_handler):
321 * ps/ps-document.c (ps_document_ps_export_begin):
322 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
323 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
324 implementations. Poppler backend needs poppler cvs. Rest has
327 2005-07-25 Martin Kretzschmar <martink@gnome.org>
329 * shell/ev-window.c (using_pdf_printer): new function.
330 (ev_window_print_range): print a less techy message if someone
331 tries to print to PDF.
333 2005-07-25 Martin Kretzschmar <martink@gnome.org>
335 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
336 from "unknown font" string. Bug #311431
338 2005-07-24 Martin Kretzschmar <martink@gnome.org>
340 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
342 2005-07-24 Martin Kretzschmar <martink@gnome.org>
346 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
347 name for PopplerFontTypes
348 (pdf_document_fonts_fill_model): add font type to the detail column
350 * backend/ev-document-fonts.h: added
351 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
353 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
354 font name and font details, add a little markup.
355 (ev_properties_fonts_init): use the new cell data func, specify ypad
356 property for the cell renderer.
357 (ev_properties_fonts_set_document): add the details column.
359 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
361 * configure.ac: Added "pl" to ALL_LINGUAS.
363 2005-07-24 Danilo Šegan <danilo@gnome.org>
365 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
367 2005-07-23 Tommi Vainikainen <thv@iki.fi>
369 * help/ChangeLog: Started this for translations of manual.
370 * configure.ac, autogen.sh, .cvsignore: Migrated to
371 gnome-doc-utils. Patch in bug #311222.
373 2005-07-22 Martin Kretzschmar <martink@gnome.org>
375 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
376 #ifdef this away to fix an unused-function warning.
378 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
380 * configure.ac: Added 'gl' to ALL_LINGUAS.
382 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
384 * configure.ac: Added ne in ALL_LINGUAS
386 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
388 * shell/ev-view.c: (ev_view_leave_notify_event):
390 Clear status message when pointer leaves view. Fix for bug
393 2005-07-20 Ankit Patel <ankit644@yahoo.com>
395 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
397 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
399 * shell/ev-view.c: (ev_view_leave_notify_event),
400 (ev_view_class_init):
402 Set cursor to normal then leaving view.
404 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
408 Fix required djvulibre version.
410 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
412 *configure.ac: Hindi (hi) language added
414 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
416 *configure.ac: Punjabi (pa) Language added
418 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
420 * data/evince-ui.xml, shell/ev-window.c:
422 Add keypad accelerators for zooming. Fix for bug 308128.
424 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
427 * backend/Makefile.am:
428 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
430 * shell/ev-document-types.c: (ev_document_types_add_filters):
432 Allow to enable/disable the pixbuf backend.
433 Default to off for now. If we want it enabled we should
434 really put mime types in the desktop, implement properties etc.
436 * properties/evince-properties.c:
438 Initialize error to NULL.
439 Check error is not NULL before freeing.
441 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
445 Use F5 as presentation accell
447 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
449 * shell/ev-window.c: (update_chrome_visibility),
450 (ev_window_create_fullscreen_popup), (ev_window_init):
452 Do not leak the fullscreen toolbar
454 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
456 * shell/ev-window.c: (view_actions_focus_in_cb),
457 (view_actions_focus_out_cb):
459 These has a return value! Fix totally random focus
460 issues we was seeing.
462 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
464 * shell/main.c: (load_files_remote):
466 Allow open more than one file
468 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
470 * shell/main.c: (load_files_remote):
472 Fix for dbus 0.33. bug #309975
474 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
476 * properties/ev-properties-main.c: (ev_properties_get_pages):
478 Actually return NULL for types we dont support
480 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
486 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
488 * backend/ev-document-factory.c:
489 (ev_document_factory_get_document):
491 Do not try to create the object if type
494 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
496 * ps/ps-document.c: (ps_document_dispose),
497 (ps_async_renderer_render_pixbuf):
500 Do not leak the target window
502 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
504 * shell/ev-application.c: (ev_application_init):
506 Let tbe check file existence for us.
507 Add a comment about eggrecent mime filter.
509 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
511 * data/evince-ui.xml:
512 * shell/ev-application.c: (ev_application_shutdown),
513 (ev_application_init), (ev_application_get_toolbars_model),
514 (ev_application_get_recent_model),
515 (ev_application_save_toolbars_model):
516 * shell/ev-application.h:
517 * shell/ev-window.c: (ev_window_add_recent),
518 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
519 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
522 Use common toolbar and recent models for all windows.
523 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
525 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
527 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
528 successfully check for gtk_icon_view_get_visible_range.
530 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
535 Fix djvu and dvi backend build.
537 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
539 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
540 (new_separator_pixbuf):
544 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
546 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
548 HIGification of toolbar editor dialogue.
550 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
555 Ever build metadata manager since it's just
556 disabled at runtime now.
558 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
560 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
561 (ev_metadata_manager_get), (ev_metadata_manager_set):
562 * shell/ev-metadata-manager.h:
564 Add an _init functions that enabled metadata management
567 * shell/ev-window.c: (page_changed_cb),
568 (setup_document_from_metadata), (ev_window_setup_document),
569 (setup_view_from_metadata), (ev_window_open_uri),
570 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
571 (ev_window_run_presentation), (ev_window_stop_presentation),
572 (save_sizing_mode), (ev_window_zoom_changed_cb),
573 (ev_window_continuous_changed_cb),
574 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
575 (window_configure_event_cb):
577 Remove all ugly metadata define since we deal with it
580 * shell/main.c: (load_files_remote), (main):
582 Add support for dbus cvs head. Hopefully didnt break one
583 of the other versions now!
585 If we dont get a response from the dbus server just
586 give up with it and not enable metadata.
588 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
591 * backend/Makefile.am:
593 * cut-n-paste/recent-files/Makefile.am:
594 * cut-n-paste/toolbar-editor/Makefile.am:
595 * cut-n-paste/zoom-control/Makefile.am:
598 * pixbuf/Makefile.am:
599 * properties/Makefile.am:
602 * thumbnailer/Makefile.am:
605 Make frontends depend on just libev.
606 Rework and group CFLAGS/LIBS definitions.
609 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
613 do not unnecessarily save zoom
616 * lib/ev-file-helpers.c: (ev_dot_dir):
622 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
626 Remove unnecessary dependencies
628 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
630 * properties/Makefile.am:
631 * thumbnailer/Makefile.am:
634 Some more cleanups. Was really necessary
635 but I probably introduced bugs, feel free
638 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
640 * backend/Makefile.am:
642 * cut-n-paste/recent-files/Makefile.am:
643 * cut-n-paste/toolbar-editor/Makefile.am:
644 * cut-n-paste/zoom-control/Makefile.am:
647 * pixbuf/Makefile.am:
648 * properties/Makefile.am:
651 * thumbnailer/Makefile.am:
654 Use gnome-common macros when possible.
655 Cleanup dependencies.
656 Actually disable deprecated where possible.
658 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
661 * backend/Makefile.am:
662 * properties/Makefile.am:
664 * thumbnailer/Makefile.am:
666 This should solve the circular dep without
669 * shell/ev-window.c: (setup_view_from_metadata):
671 Never restore window size/position when the
672 window is already visible.
674 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
676 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
678 Return a boolean from timeout func. Fix ported from gedit.
680 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
682 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
684 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
686 * shell/ev-document-types.c: set "All Documents" as default filter in
689 2005-07-06 Martin Kretzschmar <martink@gnome.org>
691 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
692 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
693 (ev_metadata_manager_set_boolean): fix value/val thinko.
695 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
697 * shell/ev-window.c: (setup_view_from_metadata),
698 (window_state_event_cb), (window_configure_event_cb),
701 Remember window position and maximized state
703 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
707 Fix DBUS configure checks.
709 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
710 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
711 (ev_metadata_manager_set_boolean):
715 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
716 (ev_window_stop_fullscreen), (ev_window_run_presentation),
717 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
718 (ev_window_continuous_changed_cb),
719 (ev_window_dual_mode_changed_cb), (ev_window_new):
721 Fix the build without DBUS.
723 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
725 * shell/ev-metadata-manager.c: (parse_value), (save_values),
726 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
727 (ev_metadata_manager_set_string),
728 (ev_metadata_manager_set_boolean):
729 * shell/ev-metadata-manager.h:
731 Add support for some more types
733 * shell/ev-view.c: (scroll_to_current_page),
734 (ev_view_get_continuous), (ev_view_set_continuous),
735 (ev_view_get_dual_page):
737 * shell/ev-window.c: (page_changed_cb),
738 (setup_document_from_metadata), (ev_window_setup_document),
739 (setup_view_from_metadata), (ev_window_open_uri),
740 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
741 (ev_window_run_presentation), (ev_window_stop_presentation),
742 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
743 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
744 (ev_window_update_dual_page_action),
745 (ev_window_continuous_changed_cb),
746 (ev_window_dual_mode_changed_cb), (ev_window_init):
748 Remember a bunch of view/document properties. Prolly some
749 are still missing but it's getting interesting.
751 2005-07-05 Martin Kretzschmar <martink@gnome.org>
753 * configure.ac: check if dbus-binding-tool is installed. Not the
754 case on current Ubuntu breezy, it seems.
756 2005-07-05 Luca Ferretti <elle.uca@libero.it>
758 * data/evince.desktop.in.in:
760 Allow open uri lists and add TryExec field.
762 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
766 Enable dbus when available, do not require a configure
769 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
773 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
776 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
777 Marco Pesenti Gritti <mpg@redhat.com>
779 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
781 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
782 functions to the format required by dbus
784 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
785 errors. Use the RPC parameters in the expected way
787 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
790 * properties/Makefile.am:
791 * properties/ev-properties-main.c: (ev_properties_get_pages):
793 Support all mime types
796 * thumbnailer/Makefile.am:
797 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
798 (evince_thumbnail_pngenc_get):
800 Use the document factory
802 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
804 * backend/Makefile.am:
805 * backend/ev-document-factory.c:
806 (mime_type_supported_by_gdk_pixbuf),
807 (ev_document_type_get_from_mime),
808 (ev_document_factory_get_document),
809 (ev_document_factory_get_backend),
810 (ev_document_factory_get_mime_types),
811 (ev_document_factory_get_all_mime_types):
812 * backend/ev-document-factory.h:
814 * shell/ev-document-types.c: (get_document_from_uri),
815 (ev_document_types_get_document),
816 (file_filter_add_mime_list_and_free),
817 (ev_document_types_add_filters):
818 * shell/ev-document-types.h:
819 * shell/ev-job-xfer.c: (ev_job_xfer_run):
820 * shell/ev-properties-dialog.c:
821 (ev_properties_dialog_set_document):
822 * shell/ev-window.c: (ev_window_cmd_file_open),
823 (ev_window_cmd_save_as):
824 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
826 Rework document types managing to avoid code duplication
827 and actually abstract from backend implementations.
828 Also provide a minimal factory api that can be used by
829 thumbnailer/properties.
831 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
833 * properties/ev-properties-view.c: (ev_properties_view_set_info):
835 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
838 2005-07-04 Matthew S. Wilson <msw@rpath.com>
840 * shell/ev-properties-dialog.c
841 (ev_properties_dialog_set_document): only call
842 ev_properties_fonts_set_document() if the document implements the
845 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
848 * properties/Makefile.am:
849 * properties/ev-properties-view.c:
850 (ev_properties_view_register_type):
851 * properties/ev-properties-view.h:
852 * properties/ev-properties-main.h:
854 Implement nautilus plugin for properties.
855 Works only for pdf atm, I need to rework the
856 document types stuff to get this to work
859 2005-07-04 Martin Kretzschmar <martink@gnome.org>
861 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
862 (ev_properties_fonts_set_document): use
863 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
865 2005-07-04 Matthew S. Wilson <msw@rpath.com>
867 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
869 (PlaceImage, tiff2ps_process_page): use
870 g_ascii_dtostr to convert floats to strings in a locale-safe way.
873 2005-07-04 Martin Kretzschmar <martink@gnome.org>
875 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
876 (main): to call gnome_authentication_manager_init. Should fix
879 * configure.ac: that requires libgnomeui 2.6.0.
881 2005-07-04 Matthew S. Wilson <msw@rpath.com>
883 * tiff/tiff-document.c (tiff_document_ps_export_begin)
884 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
885 use the new tiff2ps interfaces
887 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
888 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
890 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
891 structure instead of global variables. Remove use of static
892 variables in functions.
894 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
896 * shell/ev-page-action.c: unref the completion after setting it to the
899 2005-07-04 Matthew S. Wilson <msw@rpath.com>
901 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
904 2005-07-04 Matthew S. Wilson <msw@rpath.com>
906 * shell/ev-window.c (update_action_sensitivity): disable
907 File->Print if the document does not implement the ps exporter
910 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
914 * data/evince-properties.glade:
915 * properties/.cvsignore:
916 * properties/Makefile.am:
917 * properties/ev-properties-view.c: (ev_properties_view_dispose),
918 (ev_properties_view_class_init), (ev_properties_view_format_date),
919 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
920 (ev_properties_view_init), (ev_properties_view_new):
921 * properties/ev-properties-view.h:
923 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
924 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
925 (ev_properties_dialog_new):
926 * shell/ev-properties-dialog.h:
927 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
928 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
929 (update_progress_label), (job_fonts_finished_cb),
930 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
931 * shell/ev-properties-fonts.h:
932 * shell/ev-properties.c:
933 * shell/ev-properties.h:
934 * shell/ev-window.c: (ev_window_setup_document),
935 (ev_window_cmd_file_properties):
937 Split the properties pages in two different objects, depend
938 only on the backend where possible, use widgets instead
939 of gobject for the glade part, reimplement the dialog
941 I need this to implement nautilus properties page.
943 2005-07-03 Matthew S. Wilson <msw@rpath.com>
945 * tiff/tiff-document.c (tiff_document_ps_export_begin)
946 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
947 (tiff_document_document_ps_exporter_iface_init): implement the ps
948 exporter interface for tiff documents
950 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
951 libtiff to implement TIFF postscript export
953 * tiff/tiff2ps.h: added a header file for external tiff2ps
956 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
959 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
961 * shell/ev-view.c: (scroll_to_current_page),
962 (ev_view_set_fullscreen), (ev_view_set_presentation):
964 Scroll to current page when exit from presentation
966 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
968 * shell/ev-window.c: (update_document_mode),
969 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
970 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
971 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
973 Exit from fullscreen mode when switch to presentation. Fix for
976 2005-07-02 Matthew S. Wilson <msw@rpath.com>
978 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
979 return NULL if the document does not implement the selection
982 2005-07-02 Matthew S. Wilson <msw@rpath.com>
984 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
985 reported height by using the resolution aspect ratio
986 (tiff_document_render_pixbuf): scale the pixbuf using the
987 resolution aspect ratio
989 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
993 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
994 <kiltedaco@gmail.com>
996 * djvu/djvu-document.c: (djvu_document_get_orientation),
997 (djvu_document_set_orientation), (djvu_document_get_page_size),
998 (rotate_pixbuf), (djvu_document_render_pixbuf),
999 (djvu_document_document_iface_init):
1000 * dvi/dvi-document.c: (dvi_document_get_orientation),
1001 (dvi_document_set_orientation), (dvi_document_get_page_size),
1002 (rotate_pixbuf), (dvi_document_render_pixbuf),
1003 (dvi_document_document_iface_init):
1005 Dvi and djvu backends are ported to new API
1007 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1009 * backend/ev-selection.c: (ev_selection_get_selection_region),
1010 (ev_selection_get_selection_map):
1011 * backend/ev-selection.h:
1012 * pdf/ev-poppler.cc:
1013 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1015 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1016 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1017 (ev_pixbuf_cache_get_text_mapping):
1018 * shell/ev-pixbuf-cache.h:
1019 * shell/ev-view.c: (location_in_text),
1020 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1021 support to EvView. Now we can see where we can select! Sweet!
1023 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1025 * shell/ev-view.c (ev_view_button_press_event): Fix
1026 event->y + view->scroll_x typo.
1028 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1030 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1031 sub-GdkPixbuf instead of passing dest_x and dest_y.
1033 * shell/ev-view.c: (view_point_to_doc_point),
1034 (view_rect_to_doc_rect), (ev_view_button_press_event),
1035 (ev_view_motion_notify_event), (compute_new_selection_rect),
1036 (gdk_rectangle_point_in), (compute_new_selection_text),
1037 (compute_selections): Update selection code to keep the selection
1038 around as two points and not as a normalized rectangle, and fix
1039 page level selection in two-column mode.
1041 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1043 * shell/ev-window.c: (window_configure_event_cb):
1047 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1049 * pdf/ev-poppler.cc:
1053 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1055 * shell/Makefile.am:
1056 * shell/ev-metadata-manager.c: (item_free),
1057 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1058 (parse_value), (parseItem), (load_values),
1059 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1060 (save_values), (save_item), (get_oldest), (resize_items),
1061 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1062 * shell/ev-metadata-manager.h:
1064 Metadata manager from gedit but modified to use GValue, so that
1065 we dont need to keep converting from strings.
1069 ENABLE_METADATA conditional, on when dbus is on
1071 * shell/ev-application.c: (ev_application_open_uri):
1073 Show the window after load so that we can initialize
1074 window size before it's showed.
1076 * shell/ev-window.c: (ev_window_setup_from_metadata),
1077 (ev_window_open_uri), (window_configure_event_cb),
1080 Save and load metadata information about window size.
1081 Not yet keeping states in account.
1083 * shell/main.c: (main):
1085 Shutdown metadata manager.
1087 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1089 * shell/ev-application-service.xml:
1091 * shell/Makefile.am:
1092 * shell/ev-application.c:
1093 * shell/ev-application.h:
1094 * shell/ev-window.c:
1095 * shell/ev-window.h:
1098 Add an optional dbus interface (--enable-dbus).
1099 Rework application code, mainly to be easier to
1101 Do not open multiple windows with the same document,
1104 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1106 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1107 pixbuf iff it exists.
1109 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1112 * backend/ev-render-context.[ch]:
1113 * backend/ev-selection.[ch]:
1115 Massive changes. We now support text selection of pdfs, and not
1116 just rectangular selection. This is pretty broken still, but I
1117 want to get something into CVS.
1119 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1121 * pdf/ev-poppler.cc:
1123 Fix for Bug 309080: crash on window close.
1125 * shell/ev-page-action.c: (page_changed_cb):
1127 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1128 jensgr@gmx.net (Jens Granseuer).
1130 2005-06-25 Marcel Telka <marcel@telka.sk>
1132 * configure.in (ALL_LINGUAS): Added sk.
1134 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1136 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1139 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1146 * cut-n-paste/recent-files/Makefile.am:
1150 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1152 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1153 (pixbuf_document_set_orientation), (rotate_pixbuf),
1154 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1155 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1157 Implement rotation and cleanup the code a bit.
1159 * tiff/tiff-document.c: (tiff_document_get_page_size),
1160 (tiff_document_get_orientation), (tiff_document_set_orientation),
1161 (rotate_pixbuf), (tiff_document_render_pixbuf),
1162 (tiff_document_document_iface_init), (tiff_document_init):
1164 Implement rotation. Was the quicker solution for the release
1165 but we really need to share this code in the shell.
1167 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1169 * pdf/ev-poppler.cc:
1171 Enable rotation, require poppler cvs. Fix a leak.
1173 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1175 * shell/ev-window.c: (update_action_sensitivity):
1177 Make properties unsensitive if document backend doesn't provide
1180 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1182 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1183 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1184 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1185 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1186 (bitmap_flip_rotate_counter_clockwise):
1187 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1188 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1190 * dvi/mdvi-lib/common.h:
1191 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1192 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1193 (opendvi), (mdvi_reload), (mdvi_init_context),
1194 (mdvi_destroy_context), (mdvi_dopage), (special):
1195 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1196 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1197 (file_hash_free), (register_encoding), (parse_spec),
1198 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1199 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1200 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1201 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1202 (mdvi_register_font_type), (mdvi_unregister_font_type),
1203 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1204 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1205 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1206 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1207 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1208 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1209 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1210 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1211 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1212 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1213 (mdvi_unregister_special), (mdvi_flush_specials):
1214 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1216 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1217 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1218 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1219 (free_font_metrics), (flush_font_metrics):
1220 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1222 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1223 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1224 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1225 (dstring_insert), (dstring_new), (dstring_reset):
1226 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1228 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1229 avoid conflict with libtool on FC4
1231 * shell/ev-window.c: (ev_window_cmd_help_about):
1233 Update copyright year. Fix for bug 308828.
1235 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1237 * shell/ev-view.c: (add_scroll_binding_keypad),
1238 (ev_view_binding_activated), (ev_view_class_init),
1239 (on_adjustment_value_changed):
1241 Bug 170874: Arrow keys switch pages in presentation mode
1243 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1245 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1247 Fix for Bug 308265: Sidebar dissappears coming out of
1250 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1252 * shell/ev-application.c: (ev_application_open):
1253 * shell/ev-document-types.c: (ev_document_types_add_filters),
1254 (ev_document_types_add_filters_for_type):
1255 * shell/ev-document-types.h:
1256 * shell/ev-window.c: (ev_window_cmd_save_as):
1258 Suggest basename as template when saving, provide filters
1259 for save dialog. It's bug 308402
1261 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1263 * pdf/ev-poppler.cc:
1264 * shell/ev-sidebar-links.c: (job_finished_callback):
1265 * shell/ev-view.c: (update_find_status_message):
1269 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1271 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1272 (egg_recent_view_uimanager_set_list):
1274 Fix buglet in !show_numbers case.
1276 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1278 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1279 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1281 Use pango ellipsisation.
1283 * pdf/ev-poppler.cc:
1285 Fix refcount leak, from nsh.
1287 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1289 * cut-n-paste/recent-files/Makefile.am:
1290 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1291 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1293 Removed EggRecentViewGtk
1295 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1296 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1297 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1298 (ev_window_setup_recent):
1300 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1303 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1305 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1306 (egg_recent_view_gtk_finalize):
1310 * cut-n-paste/toolbar-editor/Makefile.am:
1312 Fix location of cursor icon.
1314 * pdf/ev-poppler.cc:
1315 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1316 (display_completion_text), (match_completion):
1317 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1318 (selection_changed_callback), (create_loading_model),
1319 (print_section_cb), (links_page_num_func),
1320 (update_page_callback_foreach):
1321 * shell/ev-window.c: (ev_window_dispose):
1323 Small memory fixes. Links model now store objects instead
1324 of pointers to improve memory management.
1326 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1328 * shell/ev-window.c: (zoom_control_changed_cb):
1330 Fix update of zoom control (bug 308268).
1332 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1334 * shell/ev-properties.c (set_property): escape the text correctly.
1335 Handles non-UTF-8 properties and escaped properties. Also, sets
1336 the text to "<i>None</i>" if the property isn't set.
1338 * data/evince-properties.glade: Change the label to be ellipsized,
1339 and give it a minimum size.
1341 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1343 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1344 * shell/ev-sidebar-links.c: (create_loading_model):
1345 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1346 * shell/ev-view.c: (ev_view_set_document):
1347 * shell/ev-window.c: (ev_window_dispose):
1349 Various small fixes, mostly memory leaks. Thanks to valgrind.
1351 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1353 * ps/ps-document.c: remove the locale.h include again ;-). And
1354 kill the (bogus) setlocale/savelocale business.
1356 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1360 Include locale.h to fix build
1362 * shell/ev-sidebar.c:
1364 Remove unnecessary includes
1366 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1368 * dvi/dvi-document.c: (dvi_document_load):
1369 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1372 Check for incorrect dvi files. Fix parsing dvi on AMD64
1373 platform. Thanks to tester@tester.ca (Olivier Crete).
1375 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1377 * shell/ev-page-action.c: (match_selected_cb),
1378 (display_completion_text), (match_completion), (update_model):
1379 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1380 (expand_open_links):
1381 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1382 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1383 (ev_sidebar_set_document):
1384 * shell/ev-window.c: (ev_window_xfer_job_cb),
1385 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1387 Fixed lot's of memory leaks, for example, memory leak on reload,
1388 described in bug 307793.
1390 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1392 * pdf/ev-poppler.cc:
1393 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1394 (update_visible_range), (adjustment_changed_cb),
1395 (ev_sidebar_thumbnails_fill_model),
1396 (ev_sidebar_thumbnails_refresh),
1397 (ev_sidebar_tree_selection_changed),
1398 (ev_sidebar_icon_selection_changed),
1399 (ev_sidebar_thumbnails_use_icon_view),
1400 (ev_sidebar_thumbnails_set_document):
1401 * shell/ev-sidebar-thumbnails.h:
1402 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1403 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1405 Refresh thumbnails when changing orientation. Not fully
1406 working yet becuase of a sidebar bug.
1408 Set page orientation to poppler page everywhere. This sucks
1409 really need to fix poppler.
1411 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1413 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1414 (egg_recent_view_gtk_new_menu_item),
1415 (egg_recent_view_gtk_set_property),
1416 (egg_recent_view_gtk_get_property),
1417 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1418 (egg_recent_view_gtk_set_tooltip_func),
1419 (egg_recent_view_gtk_set_label_width),
1420 (egg_recent_view_gtk_get_label_width):
1421 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1423 Sync with libegg (ellipsize labels)
1425 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1427 * data/evince-ui.xml:
1428 * shell/ev-window.c: (ev_window_cmd_go_forward),
1429 (ev_window_cmd_go_backward):
1431 Shift + PageUp moves 10 Pages. Fix for 306125
1433 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1435 * pdf/ev-poppler.cc:
1437 Add a flag to check if orientation has been overriden
1439 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1441 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1444 * ps/ps.h: add creator field to document.
1446 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1449 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1451 * data/evince-properties.glade:
1452 * shell/ev-properties.c: (ev_properties_set_document):
1454 s/PDF Version/Format
1456 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1458 * shell/ev-properties.c: (ev_properties_set_document):
1460 Remove unnecessary translations
1462 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1464 * cut-n-paste/toolbar-editor/Makefile.am:
1466 Correct library name
1468 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1471 * cut-n-paste/recent-files/egg-recent-model.c:
1472 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1473 (egg_recent_model_unlock_file):
1474 * cut-n-paste/recent-files/egg-recent-util.c:
1475 (egg_recent_util_get_unique_id):
1476 * cut-n-paste/recent-files/update-from-egg.sh:
1477 * cut-n-paste/toolbar-editor/Makefile.am:
1478 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1479 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1480 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1481 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1482 (egg_toolbars_model_get_type):
1483 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1485 Better makefile for toolbar editor and update everything
1488 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1490 * shell/ev-window.c: (update_document_mode):
1492 Prefer presentation mode when the document
1495 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1497 * data/evince-ui.xml:
1498 * shell/ev-window.c:
1500 Add control-equal for zooming
1502 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1504 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1506 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1508 * backend/ev-document.c: (ev_document_get_orientation):
1509 * backend/ev-document.h:
1510 * pdf/ev-poppler.cc:
1511 * ps/ps-document.c: (ps_document_get_orientation),
1512 (ps_document_set_orientation), (ps_document_document_iface_init):
1514 Add a get_orientation api. Improve set_orientation.
1516 * data/evince-ui.xml:
1517 * shell/ev-view.c: (ev_view_set_orientation),
1518 (ev_view_rotate_right), (ev_view_rotate_left):
1520 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1521 (ev_window_cmd_edit_rotate_right):
1523 Better ui for changing document orientation
1525 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1527 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1528 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1529 * shell/ev-sidebar-links.h:
1530 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1531 (ev_sidebar_page_iface_init):
1532 * shell/ev-sidebar-page.h:
1533 * shell/ev-sidebar-thumbnails.c:
1534 (ev_sidebar_thumbnails_get_property),
1535 (ev_sidebar_thumbnails_class_init),
1536 (ev_sidebar_thumbnails_set_document):
1537 * shell/ev-sidebar-thumbnails.h:
1538 * shell/ev-view.c: (ev_view_motion_notify_event):
1539 * shell/ev-window.c: (update_chrome_visibility),
1540 (ev_window_cmd_focus_page_selector),
1541 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1542 (sidebar_page_main_widget_update_cb), (ev_window_init):
1544 Autoraise toolbar on GoToPage binding and fix bindings in
1545 EvSidebarThumbnails page.
1547 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1549 * shell/ev-properties.c: (update_progress_label):
1551 Hide the progress label when finished; bug #307697.
1553 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1555 * pdf/ev-poppler.cc:
1557 Enable is_open for links, you will need poppler cvs
1559 * shell/ev-properties.c: (job_fonts_finished_cb):
1561 Get a lock on the document when filling the tree view
1563 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1565 * backend/ev-document-links.h:
1566 * pdf/ev-poppler.cc:
1567 * shell/ev-sidebar-links.c: (create_loading_model),
1568 (expand_open_links), (job_finished_callback):
1570 Expand links when specified by the document.
1571 Depend on a poppler api (defined out for now)
1573 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1575 * shell/ev-properties.c: (ev_properties_dispose),
1576 (ev_properties_class_init), (dialog_destroy_cb),
1577 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1578 (ev_properties_set_document), (ev_properties_new),
1579 (ev_properties_show):
1580 * shell/ev-properties.h:
1582 Make it an object, cleanup the code, api to show it as transient
1583 and to set the document.
1585 * shell/ev-window.c: (ev_window_setup_document),
1586 (ev_window_cmd_file_properties):
1588 Adapt to EvProperties changes, do not show multiple
1589 times, update it when document changes.
1591 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1594 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1595 (ps_document_set_orientation), (ps_document_document_iface_init):
1598 Implement orientation here too
1600 * shell/ev-properties.c: (ev_properties_new):
1601 * data/evince-properties.glade:
1603 Hide the fonts page for backends that doesnt
1606 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1608 * backend/ev-document.c: (ev_document_set_orientation):
1609 * backend/ev-document.h:
1610 * pdf/ev-poppler.cc:
1612 Add orientation api. Currently poppler api is not optimal,
1613 we need to set orientation every time we _get a page.
1614 I will try to fix that at some point.
1616 * data/evince-ui.xml:
1617 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1618 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1620 Add orientation menu items
1622 * shell/ev-page-cache.c: (ev_page_cache_clear):
1623 * shell/ev-page-cache.h:
1625 Add api to clear the cache
1627 * shell/ev-view.c: (setup_caches), (clear_caches),
1628 (ev_view_set_document), (ev_view_zoom_out),
1629 (ev_view_set_orientation):
1632 Implement orientation changing
1634 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1636 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1637 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1638 * backend/ev-document-fonts.h:
1640 Separate scan and fill so that we can incrementally fill from
1641 the main thread. Add a progress api.
1643 * data/evince-properties.glade:
1644 * pdf/ev-poppler.cc:
1645 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1647 * shell/ev-properties.c: (update_progress_label),
1648 (job_fonts_finished_cb), (setup_fonts_view):
1650 Incrementally feel the list and show the progress
1651 percentage in a label like acrobat does.
1653 You are going to need poppler cvs
1655 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1657 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1658 * backend/ev-document-fonts.h:
1659 * pdf/ev-poppler.cc:
1661 Make fonts model fill incrementally.
1663 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1664 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1665 (ev_job_queue_remove_job):
1666 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1667 (ev_job_fonts_new), (ev_job_fonts_run):
1670 New job for fonts scanning
1672 * shell/ev-properties.c: (job_fonts_finished_cb),
1673 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1674 * shell/ev-properties.h:
1675 * shell/ev-window.c: (ev_window_cmd_file_properties):
1677 Incrementally feel the treeview using the new job. Show Loading...
1678 message until scanning is completed.
1680 Hopefully I didnt break the build without the poppler patch.
1682 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1684 * shell/ev-application.c: (ev_application_open):
1685 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1686 (ev_document_type_get_type), (ev_document_type_lookup):
1687 * shell/ev-document-types.h:
1688 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1689 * shell/ev-job-xfer.h:
1690 * shell/ev-window.c: (ev_window_clear_local_uri),
1691 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1692 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1693 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1695 Transfer remote documents to tmp directory to display them later.
1697 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1699 * backend/ev-document-info.h:
1700 * shell/ev-properties.c: (ev_properties_new):
1702 s/GTime*/GTime. Not sure why we was using a pointer
1705 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1707 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1708 situations. That situation is that you're using GTK+-HEAD with
1709 the patch at #306726 is applied, and you have a document with <
1710 1500 pages in it. It's not quite as uniformly nice as the
1711 TreeView, but should be better in the long run.
1713 I'm pretty sure I guarded against breaking compilation with
1714 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1717 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1718 widget yet, so I commented that code out
1719 enable_view_actions_for_widget() for now. Need to figure this
1722 * shell/ev-page-action.c (match_selected_cb): emit the right
1723 signals. Our cool C-l completion now works.
1725 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1727 * backend/Makefile.am:
1728 * backend/ev-document-fonts.c:
1729 * backend/ev-document-links.c:
1730 * backend/ev-document.c: (ev_document_load):
1731 * backend/ev-document.h:
1732 * backend/ev-job-queue.c:
1733 * backend/ev-job-queue.h:
1734 * backend/ev-jobs.c:
1735 * backend/ev-jobs.h:
1736 * backend/ev-page-cache.c:
1737 * backend/ev-page-cache.h:
1739 EvPageCache and EvJobs are moved to shell.
1741 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1743 * lib/ev-file-helpers.h:
1745 New helper to work with temporary files
1747 * shell/Makefile.am:
1748 * shell/ev-application.c: (ev_application_open):
1749 * shell/ev-application.h:
1750 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1751 (remove_job_from_async_queue), (add_job_to_async_queue),
1752 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1753 (handle_job), (search_for_jobs_unlocked),
1754 (no_jobs_available_unlocked), (ev_render_thread),
1755 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1756 (ev_job_queue_add_job), (move_job_async), (move_job),
1757 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1758 * shell/ev-job-queue.h:
1759 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1760 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1761 * shell/ev-job-xfer.h:
1762 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1763 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1764 (ev_job_links_class_init), (ev_job_render_init),
1765 (ev_job_render_dispose), (ev_job_render_class_init),
1766 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1767 (ev_job_thumbnail_class_init), (ev_job_load_init),
1768 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1769 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1770 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1771 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1773 * shell/ev-page-action.c: (ev_page_action_set_document):
1774 * shell/ev-page-cache.c: (ev_page_cache_init),
1775 (ev_page_cache_class_init), (ev_page_cache_finalize),
1776 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1777 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1778 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1779 (ev_page_cache_get_title), (ev_page_cache_get_size),
1780 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1781 (ev_page_cache_get_height_to_page),
1782 (ev_page_cache_get_max_label_chars),
1783 (ev_page_cache_get_page_label),
1784 (ev_page_cache_has_nonnumeric_page_labels),
1785 (ev_page_cache_get_info), (ev_page_cache_next_page),
1786 (ev_page_cache_prev_page), (ev_page_cache_get):
1787 * shell/ev-page-cache.h:
1788 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1789 (ev_pixbuf_cache_clear_job_sizes),
1790 (ev_pixbuf_cache_add_jobs_if_needed),
1791 (ev_pixbuf_cache_set_page_range):
1792 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1793 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1794 * shell/ev-sidebar-thumbnails.c:
1795 (ev_sidebar_tree_selection_changed),
1796 (ev_sidebar_thumbnails_set_document):
1797 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1798 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1799 (ev_statusbar_get_context_id), (ev_statusbar_push),
1800 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1801 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1802 (ev_statusbar_set_progress):
1803 * shell/ev-statusbar.h:
1804 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1805 (ev_view_find_previous):
1806 * shell/ev-window.c: (ev_window_is_empty),
1807 (ev_window_setup_document), (password_dialog_response),
1808 (ev_window_clear_jobs), (ev_window_load_job_cb),
1809 (ev_window_xfer_job_cb), (ev_window_open_uri),
1810 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1811 (ev_window_print), (ev_window_print_range),
1812 (ev_window_state_event), (ev_window_cmd_view_reload),
1813 (menu_item_select_cb), (menu_item_deselect_cb),
1814 (view_status_changed_cb), (ev_window_dispose),
1815 (drag_data_received_cb), (ev_window_init):
1816 * shell/ev-window.h:
1817 * shell/main.c: (load_files):
1819 New statusbar to show progress on idle. Two new jobs -
1820 xfer job and load job to load document in background. And update
1821 of page_cache clients to new location of code.
1823 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1825 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1826 selection in open dialog. It also remembers the last visited directory
1827 in the current session.
1829 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1831 * shell/ev-properties.c: (ev_properties_new):
1832 * shell/ev-properties.h:
1833 * shell/ev-window.c: (ev_window_cmd_file_properties):
1835 Get document info from page cache instead of document itself.
1836 This should fix crash related to race conditions described in
1839 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1841 * ps/ps-document.c: (ps_document_init),
1842 (send_ps), (get_page_box), (output), (catchPipe), (input),
1843 (stop_interpreter), (file_length), (file_readable),
1844 (check_filecompressedb), (ps_document_enable_interpreter),
1845 (document_load), (ps_async_renderer_render_pixbuf):
1848 Big cleanup of the ps code
1850 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1852 * backend/Makefile.am:
1853 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1854 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1855 * backend/ev-async-renderer.h:
1857 Add an async renderer interface (method + callback) which
1858 is useful for backends like ps.
1860 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1861 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1862 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1863 (ev_job_queue_add_job), (move_job_async), (move_job),
1864 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1866 Add queues for async renderer, these are executed on the
1869 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1870 (ev_job_render_run):
1871 * backend/ev-jobs.h:
1873 If the backend support async renderer interface use it.
1875 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1876 (setup_pixmap), (ps_document_get_type),
1877 (ps_async_renderer_render_pixbuf),
1878 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1880 Implement async renderer interface.
1882 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1884 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1886 Cleanup links job on exit.
1888 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1890 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1891 (drag_data_get_cb), (drag_data_received_cb):
1892 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1893 (drag_data_get_cb), (parse_item_list),
1894 (egg_toolbar_editor_load_actions):
1895 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1896 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1897 (parse_item_list), (parse_toolbars):
1898 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1899 (dvi_pixbuf_put_pixel):
1901 Fix gcc 4.0 warnings
1903 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1905 * ps/ps-document.c: (start_interpreter):
1907 Fix warning when loading ps
1909 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1911 * ps/ps-document.c: (output):
1913 Fix crash when priting gs error messages.
1915 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1917 * backend/ev-page-cache.c: (_ev_page_cache_new):
1918 * backend/ev-page-cache.h:
1920 Use a const to return title so that we dont double
1921 free it. Small cleanup and fix a leak.
1923 * shell/ev-window.c: (update_window_title):
1925 strdup value from get_title.
1927 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1929 * shell/ev-sidebar-links.c: (job_finished_callback),
1930 (ev_sidebar_links_set_document):
1932 Cleanup the old job when changing document
1934 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1936 * shell/ev-stock-icons.c:
1937 * shell/ev-stock-icons.h:
1938 * shell/ev-window.c:
1940 Add stock icons for actions that can appear in toolbar. Fix for
1943 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1945 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1946 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1947 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1948 * backend/ev-page-cache.h:
1949 * shell/ev-view.c: (scroll_to_current_page),
1950 (view_update_range_and_current_page), (get_page_y_offset),
1951 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1952 (ev_view_size_request_continuous),
1953 (ev_view_zoom_for_size_continuous_and_dual_page),
1954 (ev_view_zoom_for_size_continuous):
1956 More compact EvView layout in document with pages of different size.
1958 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1960 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1963 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1965 * shell/ev-view.c: (view_set_adjustment_values):
1966 * shell/ev-window.c: (ev_window_cmd_file_properties):
1968 A bit different fix for rounding problem but it has no
1969 problems on startup. Make properties window transient to parent.
1971 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1973 * pdf/ev-poppler.cc:
1975 More commenting of font stuff.
1977 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1979 * pdf/ev-poppler.cc:
1981 Comment out some more fonts stuff. Should really
1982 work without the poppler patch now.
1984 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1986 * pdf/ev-poppler.cc:
1990 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1992 * data/evince-properties.glade:
1993 * pdf/ev-poppler.cc:
1994 * shell/ev-properties.c: (setup_fonts_view):
1996 Set the column title. Show the dialog only
1997 once everything is setup.
1998 Getting font info can be very slow... will
1999 prolly need to make this threaded too.
2001 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2003 * backend/Makefile.am:
2004 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2005 (ev_document_fonts_get_fonts_model):
2006 * backend/ev-document-fonts.h:
2007 * data/evince-properties.glade:
2008 * pdf/ev-poppler.cc:
2009 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2010 * shell/ev-properties.h:
2011 * shell/ev-window.c: (ev_window_cmd_file_properties):
2013 Implement fonts list. Defined out for now, since it depends
2014 on a not yet committed poppler patch.
2016 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2018 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2021 * shell/ev-window.c: Make sure we add the timeout when we get a
2024 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2025 adjustment->value before calculating the zoom factor to average
2026 out all of our rounding errors. The page no longer 'drifts' when
2029 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2031 * data/evince-properties.glade:
2032 * shell/ev-properties.c: (ev_properties_format_date),
2035 Labels don't expand when the dialogue is resized.
2036 strftime result needs to be converted to UTF-8. Thanks
2037 to Christian Persch <chpe@gnome.org>.
2039 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2041 * data/evince-properties.glade:
2045 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2047 * backend/ev-document-info.h:
2048 * backend/ev-document.c: (ev_document_info_free):
2049 * data/evince-properties.glade:
2050 * pdf/ev-poppler.cc:
2051 * ps/ps-document.c: (ps_document_get_info):
2052 * shell/ev-properties.c: (ev_properties_format_date),
2053 (set_property), (ev_properties_new):
2054 * shell/ev-properties.h:
2055 * shell/ev-window.c: (ev_window_cmd_file_properties):
2057 Rework properties code to take only EvPropertyInfo
2058 in the constructor so that it can be useful for
2059 nautilus plugin too.
2061 Deal with backends that doesnt support some properties.
2062 Make set property code generic.
2064 2005-06-04 Christian Persch <chpe@gnome.org>
2066 * data/evince-properties.glade:
2068 fix spacings, make resizeable, and make data labels
2069 selectable + ellipsised
2071 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2073 * backend/ev-document-info.h:
2075 * data/evince-ui.xml:
2076 * pdf/ev-poppler.cc:
2077 * shell/Makefile.am:
2078 * shell/ev-window.c: (update_action_sensitivity),
2079 (ev_window_cmd_file_properties):
2081 Initial go at file properties. Patch by
2082 Emil Soleyman-Zomalan <emil@soleyman.com>.
2083 Needs love see #169583
2085 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2087 * ps/ps-document.c: (output):
2088 * ps/ps.c: (psscan):
2090 Try to render even if psscan fails.
2092 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2094 * ps/ps.c: (psscan), (pscopydoc):
2096 Port buffered reading code from gv
2098 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2100 * ps/ps-document.c: (interpreter_message), (output):
2102 Do not fail on interpreter messages
2104 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2106 * backend/ev-document-misc.c:
2107 (ev_document_misc_get_thumbnail_frame):
2109 Pages can be 0 x 0, dont assert on this case
2111 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2113 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2114 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2116 Correctly manage our reference on document. Finally the reload
2117 huge leak is gone...
2119 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2121 * ps/ps-document.c: (ps_document_dispose):
2123 Forgot to chain it to the parent. Thanks chpe.
2125 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2127 * ps/ps-document.c: (ps_document_dispose),
2128 (ps_document_class_init), (stop_interpreter), (document_load):
2130 Cleanup dispose a bit. Dont leak the whole pixmap.
2132 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2134 * pdf/ev-poppler.cc:
2136 Release the poppler document on dispose
2138 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2140 * shell/ev-view.c: (ev_view_set_document):
2142 Release ref on the pixbuf cache when changing
2145 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2147 * ps/ps-document.c: (ps_document_get_info):
2151 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2153 * backend/ev-page-cache.c: (ev_page_cache_init),
2154 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2155 * backend/ev-page-cache.h:
2156 * shell/ev-page-action.c: (page_changed_cb):
2158 Set page action entry width depending on labels width. Fix
2161 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2163 * backend/ev-link.c: (ev_link_class_init):
2165 Allow -1 as page value (error)
2167 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2169 * shell/ev-sidebar-thumbnails.c:
2170 (ev_sidebar_thumbnails_set_document):
2171 * shell/ev-view.c: (scroll_to_current_page),
2172 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2173 (page_changed_cb), (on_adjustment_value_changed),
2174 (ev_view_set_document):
2176 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2179 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2182 * djvu/djvu-document.c: (djvu_document_get_page_size):
2184 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2187 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2189 * shell/ev-view.c (draw_one_page): modify the expose handling to
2192 * shell/ev-window.c (update_action_sensitivity): Respect
2193 permissions field. Kowtow to the man.
2195 * pdf/ev-poppler.cc: Get the permissions field.
2197 * tiff/*c: Make a tiny bit more robust.
2199 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2201 * djvu/djvu-document.c:
2203 Pop messages from djvu context message queue.
2205 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2207 * configure.ac, Makefile.am, shell/Makefile.am:
2208 * tiff/Makefile.am, shell/ev-document-types.c:
2210 Cleanup tiff configure checks. Fix for bug 305218.
2212 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2214 * configure.ac: Added "uk" to ALL_LINGUAS.
2216 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2218 * cut-n-paste/zoom-control/ephy-zoom.c:
2219 (ephy_zoom_get_changed_zoom_level):
2220 * cut-n-paste/zoom-control/ephy-zoom.h:
2221 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2222 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2223 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2224 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2225 (zoom_control_changed_cb), (ev_window_init):
2227 Fix minor points related to moving best fit up. Introduce
2228 "zoom" property and make zoom control change it's value on
2229 notify::zoom signals. Fix for 305080.
2231 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2233 * data/evince-ui.xml:
2234 * shell/ev-window.c: (set_view_actions_sensitivity):
2236 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2238 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2242 Depends on poppler 0.3.2
2244 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2246 * cut-n-paste/recent-files/egg-recent-item.c:
2247 (egg_recent_item_get_short_name):
2248 * cut-n-paste/toolbar-editor/Makefile.am:
2249 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2250 (new_pixbuf_from_widget):
2251 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2252 * cut-n-paste/toolbar-editor/egg-marshal.c:
2253 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2254 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2258 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2260 * tiff/tiff-document.c: Rough TIFF backend.
2262 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2266 * cut-n-paste/toolbar-editor/Makefile.am:
2270 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2272 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2273 (ev_view_find_next), (ev_view_find_previous):
2275 Remove the locks around get_n_results
2277 2005-05-21 Juerg Billeter <j@bitron.ch>
2279 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2281 Pass correct number of pages to poppler.
2283 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2287 * data/evince.desktop.in:
2288 * data/evince.desktop.in.in:
2291 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2293 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2295 * shell/ev-view.c: (view_update_adjustments),
2296 (view_set_adjustment_values): cast adjustmen->value to (int)
2297 before using it. Otherwise, we get off by a pixel in some
2300 (draw_one_page): Draw the border on expose.
2302 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2304 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2305 adjustment when the mode changes, #304923
2307 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2309 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2310 flickering on resize but still use gdk_window_scroll on
2313 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2315 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2318 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2320 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2321 second page on page_changed if possible, #304669
2323 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2325 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2326 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2328 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2331 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2332 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2333 (ev_view_zoom_for_size_presentation),
2334 (ev_view_zoom_for_size_continuous_and_dual_page),
2335 (ev_view_zoom_for_size_continuous),
2336 (ev_view_zoom_for_size_dual_page),
2337 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2339 * shell/ev-window.c: (update_view_size),
2340 (ev_window_sizing_mode_changed_cb):
2342 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2343 the scrollbars. It's not 100% right, but it's much closer. Kills
2344 an infinite loop, #304769
2347 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2349 * data/evince-ui.xml:
2350 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2351 * shell/ev-window.c: (set_view_actions_sensitivity):
2353 Make PgUp/Down behave like Space
2355 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2357 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2358 * backend/ev-ps-exporter.h:
2359 * pdf/ev-poppler.cc:
2360 * ps/ps-document.c: (ps_document_ps_export_begin):
2361 * shell/ev-print-job.c: (idle_print_handler):
2363 Adapt to new poppler api
2365 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2367 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2368 (ephy_zoom_control_init):
2370 Translate zoom levels
2372 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2374 * cut-n-paste/zoom-control/ephy-zoom.c:
2375 (ephy_zoom_get_zoom_level_index):
2377 Fix current zoom -> zoom control match
2379 2005-05-18 James Bowes <bowes@cs.dal.ca>
2381 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2382 rather than the scrolled_window that it's in. Fixes bug #304655.
2384 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2386 * shell/ev-view.c: (view_update_adjustments),
2387 (view_set_adjustment_values), (view_update_range_and_current_page),
2388 (view_scroll_to_page), (set_scroll_adjustment),
2389 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2390 (ev_view_scroll), (ev_view_scroll_view),
2391 (ensure_rectangle_is_visible), (find_page_at_location),
2392 (get_link_at_location), (go_to_link), (status_message_from_link),
2393 (ev_view_size_request_continuous_dual_page),
2394 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2395 (ev_view_unrealize), (ev_view_expose_event),
2396 (ev_view_button_press_event), (ev_view_motion_notify_event),
2397 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2398 (draw_rubberband), (highlight_find_results), (draw_one_page),
2399 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2400 (ev_view_init), (find_changed_cb), (page_changed_cb),
2401 (on_adjustment_value_changed), (ev_view_new),
2402 (ev_view_set_document), (ev_view_set_zoom),
2403 (ev_view_set_continuous), (ev_view_set_dual_page),
2404 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2405 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2406 (ev_view_zoom_for_size_presentation),
2407 (ev_view_zoom_for_size_continuous_dual_page),
2408 (ev_view_zoom_for_size_continuous),
2409 (ev_view_zoom_for_size_dual_page),
2410 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2411 (ev_view_get_status), (ev_view_set_status),
2412 (update_find_status_message), (ev_view_get_find_status),
2413 (ev_view_set_find_status), (jump_to_find_result),
2414 (jump_to_find_page), (compute_selections), (clear_selection),
2415 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2416 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2417 (ev_view_update_primary_selection),
2418 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2420 * shell/ev-window.c: (ev_window_open_page_label),
2421 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2423 * shell/ev-window.h:
2424 * shell/main.c: (load_files):
2426 Massive code clean up from Nickolay Shmyrev. Keep page offset
2427 when resizing. Remove the bin_window(). Also, patch from James
2428 Bowes to fix command line page, #300641
2430 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2432 * data/evince-ui.xml:
2435 * shell/ev-window.c: (update_action_sensitivity):
2437 Get rid of View->Normal Size, it's just confusing
2439 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2441 * backend/ev-document-info.h:
2442 * backend/ev-document.c: (ev_document_info_free): Free the
2445 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2446 (clear_range), (add_range), (update_visible_range),
2447 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2448 (ev_sidebar_thumbnails_set_document):
2449 * shell/ev-window.c: (ev_window_setup_document): Only render the
2450 visible thumbnails. It takes an instant to render, but it uses
2453 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2455 * shell/ev-sidebar-links.c: (popup_menu_cb):
2459 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2462 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2463 (button_press_cb), (ev_sidebar_links_construct):
2465 Show the popup menu also on keybindings
2467 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2469 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2470 * shell/ev-window.h:
2472 Expose api to print a range (with dialog). Make private _print use
2475 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2476 (ev_sidebar_links_construct):
2478 Show a print context menu on linkx, it prints the selected
2481 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2483 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2486 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2492 * shell/ev-window.c: (build_comments_string),
2493 (ev_window_cmd_help_about):
2495 Show poppler version/backend and authors
2497 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2499 * cut-n-paste/zoom-control/ephy-zoom.c:
2500 (ephy_zoom_get_zoom_level_index):
2501 * cut-n-paste/zoom-control/ephy-zoom.h:
2503 Move the best fit items at the top of the list
2505 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2507 * shell/ev-marshal.list:
2508 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2509 (activate_cb), (match_selected_cb), (activate_link_cb),
2510 (connect_proxy), (ev_page_action_class_init):
2511 * shell/ev-page-action.h:
2513 Use signals to notify action activation. Hopefully
2514 I did not break completion since I cant test...
2516 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2517 (register_custom_actions):
2519 Connect to page selector actions and also grab focus on
2520 the view when activated.
2522 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2524 * pdf/ev-poppler.cc:
2525 * backend/ev-page-cache.c: make page size calculation consistent
2526 and set it to (int)( width * scale + 0.5). This makes the weird
2527 line going through the middle of the page go away.
2529 * shell/ev-view.c: move painting the background page after
2530 checking the expose area covers us.
2532 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2534 * data/evince-password.glade:
2536 Mark labels as not translatable. Fix for bug 302842.
2538 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2540 * configure.ac: Added "es" to ALL_LINGUAS.
2542 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2544 * data/evince-toolbar.xml:
2545 * shell/ev-window.c: (update_action_sensitivity),
2546 (ev_window_setup_document), (ev_window_set_page_mode),
2549 Remove some leftover code from jrb first continous
2550 attempt. Use the new actions, we still need good icons
2553 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2555 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2557 Update label when connecting proxy. Fix a warning with NULL
2560 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2562 * data/evince-ui.xml:
2563 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2564 * shell/ev-page-action.h:
2565 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2567 Add mnemonic for edit toolbar.
2568 ctrl+l focus the page entry.
2570 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2573 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2575 * shell/main.c: (main):
2577 Put the toolbar xml in evince own dot dir
2579 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2581 * shell/ev-window.c: (ev_window_init):
2583 Make the toolbar not removable
2585 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2587 * data/evince-ui.xml:
2588 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2589 * shell/ev-sidebar-links.h:
2590 * shell/ev-sidebar-thumbnails.c:
2591 (ev_sidebar_thumbnails_get_treeview):
2592 * shell/ev-sidebar-thumbnails.h:
2593 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2594 (ev_view_class_init):
2596 * shell/ev-window.c: (update_action_sensitivity),
2597 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2598 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2599 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2602 This is evil... Make space/backspace global accelerators but
2603 enable them only for some widgets (sidebars and view).
2604 I dont like it, but I dont know a better way... :/
2606 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2608 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2609 (ev_page_action_widget_finalize),
2610 (ev_page_action_widget_class_init), (update_page_cache):
2612 Keep a weak reference on proxy->page_cache so that we
2613 dont try to disconnect the signal if the object is already
2614 gone. Maybe there is a better way to cleanup reference handling
2615 in page action though...
2617 2005-05-10 Juerg Billeter <j@bitron.ch>
2619 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2620 * backend/ev-ps-exporter.h:
2621 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2622 * ps/ps-document.c: (ps_document_ps_export_begin):
2624 Change api to pass print range to ps_exporter_begin. The pdf backend
2625 requires this information.
2627 * shell/ev-print-job.c: (idle_print_handler):
2631 2005-05-10 Juerg Billeter <j@bitron.ch>
2633 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2634 (idle_print_handler)
2635 * shell/ev-window.c: (ev_window_print):
2637 Support printing page range, based on patch by Amaury Jacquot
2639 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2641 * data/evince-toolbar.xml:
2643 Add zoom control to available items
2645 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2647 * shell/ev-window.c: (update_action_sensitivity):
2649 Set slash action insensitive when appropriate
2651 2005-05-10 Christian Persch <chpe@gnome.org>
2653 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2655 Fix warning on the overflow menu
2657 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2659 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2661 Check for uri correctness/existence
2663 2005-05-09 Juerg Billeter <j@bitron.ch>
2665 * shell/ev-window.c: (using_postscript_printer):
2667 LPD printers use postscript, too
2669 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2671 * shell/ev-window.c: (register_custom_actions):
2673 The zoom one is actually sort of useful,
2676 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2678 * shell/ev-window.c: (register_custom_actions):
2680 Hide page/zoom controls from overflow, they
2683 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2685 * cut-n-paste/update-from-egg.sh:
2687 Share it between all cut-n-paste subdirs
2689 * cut-n-paste/recent-files/Makefile.am:
2691 Fix to use "global" update-from-egg.sh
2693 * cut-n-paste/recent-files/egg-recent-model.c:
2694 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2695 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2696 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2697 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2701 * cut-n-paste/toolbar-editor/Makefile.am:
2703 Fix to use "global" update-from-egg.sh
2705 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2709 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2712 * cut-n-paste/Makefile.am:
2713 * cut-n-paste/recent-files/Makefile.am:
2714 * cut-n-paste/toolbar-editor/.cvsignore:
2715 * cut-n-paste/toolbar-editor/Makefile.am:
2716 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2717 (egg_editable_toolbar_get_type), (get_toolbar_position),
2718 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2719 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2720 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2721 (set_item_drag_source), (create_item_from_action), (create_item),
2722 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2723 (popup_toolbar_context_menu_cb), (free_dragged_item),
2724 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2725 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2726 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2727 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2728 (item_added_cb), (item_removed_cb),
2729 (egg_editable_toolbar_construct),
2730 (egg_editable_toolbar_disconnect_model),
2731 (egg_editable_toolbar_deconstruct),
2732 (egg_editable_toolbar_set_model),
2733 (egg_editable_toolbar_set_ui_manager),
2734 (egg_editable_toolbar_set_property),
2735 (egg_editable_toolbar_get_property),
2736 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2737 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2738 (egg_editable_toolbar_new_with_model),
2739 (egg_editable_toolbar_get_edit_mode),
2740 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2741 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2742 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2743 (new_pixbuf_from_widget), (new_separator_pixbuf),
2744 (update_separator_image), (style_set_cb),
2745 (_egg_editable_toolbar_new_separator_image),
2746 (egg_editable_toolbar_get_model):
2747 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2748 * cut-n-paste/toolbar-editor/egg-marshal.c:
2749 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2750 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2751 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2752 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2753 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2754 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2755 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2756 (editor_drag_data_delete_cb), (drag_data_get_cb),
2757 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2758 (editor_create_item), (update_editor_sheet), (setup_editor),
2759 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2760 (parse_item_list), (model_has_action), (update_actions_list),
2761 (egg_toolbar_editor_load_actions):
2762 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2763 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2764 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2765 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2766 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2767 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2768 (egg_toolbars_model_add_separator), (impl_add_item),
2769 (parse_item_list), (egg_toolbars_model_add_toolbar),
2770 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2771 (impl_get_item_data), (impl_get_item_type),
2772 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2773 (egg_toolbars_model_init), (free_toolbar),
2774 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2775 (egg_toolbars_model_remove_toolbar),
2776 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2777 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2778 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2779 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2780 (egg_toolbars_model_get_item_data),
2781 (egg_toolbars_model_get_item_type):
2782 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2783 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2785 * data/evince-toolbar.xml:
2786 * data/evince-ui.xml:
2787 * data/hand-open.png:
2789 * shell/Makefile.am:
2790 * shell/ev-window.c: (update_chrome_visibility),
2791 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2792 (ev_window_dispose), (ev_window_init):
2794 Implement epiphany like toolbar editor. Based on patch by
2795 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2797 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2799 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2801 Use set_cursor instead of set_selection, so that
2802 the keyboard focus moves too.
2804 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2806 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2808 Fix infinite loop when loading Type1 fonts
2810 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2812 * data/evince-ui.xml:
2813 * shell/ev-window.c:
2817 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2821 Make --disable really disable
2823 2005-05-07 Juerg Billeter <j@bitron.ch>
2825 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2827 Compare page labels even without has_labels set, fixes setting page
2830 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2832 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2833 (ev_view_set_cursor), (ev_view_button_press_event),
2834 (ev_view_motion_notify_event), (ev_view_button_release_event),
2837 Implement middle button scrolling. Based on a patch
2838 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2840 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2842 * shell/ev-document-types.c: (get_slow_mime_type),
2843 (get_document_type_from_mime), (ev_document_type_lookup):
2844 * shell/ev-document-types.h:
2846 Change api to lookup from uri. Do fast lookup first, if the
2847 type is unknown try with data sniffing.
2849 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2850 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2854 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2856 * thumbnailer/Makefile.am:
2860 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2867 * data/evince-ui.xml:
2869 Hide presentation mode for now
2871 * shell/ev-view.c: (highlight_find_results):
2873 Show current find selection only on current page
2875 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2877 * shell/ev-view.c: (ev_view_select_all):
2879 Compute size of the actual page, not of
2882 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2884 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2885 (view_rect_to_doc_rect), (compute_selections),
2886 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2887 (ev_view_copy), (ev_view_primary_get_cb),
2888 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2889 (ev_view_button_press_event), (ev_view_motion_notify_event),
2890 (ev_view_button_release_event), (page_changed_cb):
2894 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2896 * shell/ev-view.c: (compute_border), (get_page_extents),
2897 (doc_rect_to_view_rect), (highlight_find_results),
2898 (ev_view_bin_expose), (ev_view_select_all),
2899 (ev_view_motion_notify_event), (update_find_status_message),
2900 (jump_to_find_result), (jump_to_find_page):
2902 First go at fixing search, still buggy
2904 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2906 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2907 dropdown box and button at the top of the sidebar.
2909 2005-05-02 James Bowes <bowes@cs.dal.ca>
2911 * configure.ac: Output zoom-control Makefile.
2912 * cut-n-paste/Makefile.am: build zoom-control subdir.
2913 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2914 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2915 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2916 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2917 * cut-n-paste/zoom-control/ephy-zoom.c:
2918 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2919 from epiphany, and modified to add a separator into the menu.
2920 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2921 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2922 zoom-control action.
2923 * shell/Makefile.am: Include zoom-control flags.
2924 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2925 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2926 (ev_view_zoom_for_size_presentation),
2927 (ev_view_zoom_for_size_continuous_and_dual_page),
2928 (ev_view_zoom_for_size_continuous),
2929 (ev_view_zoom_for_size_dual_page),
2930 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2931 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2932 ev_view_get_zoom and ev_view_get_sizing_mode.
2934 * shell/ev-window.c: (update_action_sensitivity),
2935 (update_sizing_buttons), (zoom_control_changed_cb),
2936 (register_custom_actions): Initialize and use the zoom-control
2939 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2941 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2942 preview cache back to 1. Don't know when it got set to 0.
2944 * shell/ev-view.c: (compute_border), (ev_view_realize),
2945 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2946 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2947 (ev_view_get_fullscreen), (ev_view_set_presentation),
2948 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2949 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2951 * shell/ev-window.c:
2952 (update_chrome_visibility),
2953 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2954 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2955 (update_document_mode), (ev_window_update_fullscreen_action),
2956 (ev_window_fullscreen), (ev_window_unfullscreen),
2957 (ev_window_cmd_view_fullscreen),
2958 (ev_window_update_presentation_action),
2959 (ev_window_run_presentation), (ev_window_stop_presentation),
2960 (ev_window_cmd_view_presentation), (ev_window_state_event),
2961 (ev_window_focus_in_event), (ev_window_focus_out_event),
2962 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2963 * data/evince-ui.xml: Initial presentation mode. We should
2964 probably hide this until it's done, as it's quite rough. Also,
2965 change full-screen to fullscreen and add two getters to EvView.
2967 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2969 * shell/ev-page-action.c: (update_page_cache),
2970 (ev_page_action_dispose):
2971 * shell/ev-window.c: (destroy_fullscreen_popup),
2972 (ev_window_create_fullscreen_popup):
2974 Use connect_object rather than explicitly
2975 disconnect on dispose.
2977 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2979 * shell/ev-page-action.c: (update_page_cache),
2980 (ev_page_action_dispose):
2982 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2984 * backend/ev-page-cache.c: (_ev_page_cache_new),
2985 (ev_page_cache_set_page_label),
2986 (ev_page_cache_has_nonnumeric_page_labels):
2987 * backend/ev-page-cache.h:
2988 * shell/ev-page-action.c: (update_pages_label):
2990 If all page labels are numeric, fallback to default
2991 way to display number of pages. See bug 173185.
2993 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2995 * shell/ev-page-action.c: (ev_page_action_dispose):
2996 * shell/ev-view.c: (view_update_range_and_current_page):
2997 * shell/ev-window.c: (ev_window_dispose):
2999 Set page on scroll in continuous mode. Fixes bug 301986.
3000 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3002 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3006 Require poppler 0.3.0
3008 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3010 * shell/Makefile.am, configure.ac: Fix build problems
3011 with t1lib. Bug 301996.
3013 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3015 * shell/ev-view.c: (ev_view_scroll_event):
3017 Scroll up increase zoom
3019 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3021 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3022 (ev_view_set_sizing_mode),
3023 (ev_view_zoom_for_size_continuous_and_dual_page),
3024 (ev_view_zoom_for_size_continuous):
3025 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3026 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3027 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3030 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3031 Fix for 165473 and 165472.
3033 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3036 * thumbnailer/Makefile.am:
3037 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3038 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3039 * thumbnailer/evince-thumbnailer.schemas.in:
3041 Make thumbnailer schemas translatable. Fix for bug 301773
3043 * thumbnailer/evince-thumbnailer-djvu.schemas:
3044 * thumbnailer/evince-thumbnailer-dvi.schemas:
3045 * thumbnailer/evince-thumbnailer.schemas:
3049 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3051 * shell/ev-view.c (ev_view_init): forgot to set this.
3053 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3055 * shell/ev-view.c: (find_page_at_location),
3056 (get_link_at_location),
3057 (ev_view_set_show_border), (ev_view_set_spacing),
3058 (ev_view_zoom_for_size_continuous_and_dual_page),
3059 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3060 Also, add a quick fix measuring of widths. Also, removed
3061 ev_view_set_spacing and ev_view_set_show_border.
3063 * shell/ev-window.c: (ev_window_unfullscreen),
3064 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3066 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3068 * shell/ev-view.c: (view_update_range_and_current_page),
3071 Fix crash on exit and scrolling to page in continuous view.
3073 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3076 * backend/ev-page-cache.c: (_ev_page_cache_new),
3077 (ev_page_cache_get_max_width_size),
3078 (ev_page_cache_get_max_height_size):
3079 * backend/ev-page-cache.h:
3080 * data/evince-ui.xml:
3081 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3082 * shell/ev-view.c: (view_update_adjustments),
3083 (view_update_range_and_current_page), (get_bounding_box_size),
3084 (ev_view_size_request_continuous_and_dual_page),
3085 (ev_view_size_request_continuous),
3086 (ev_view_size_request_dual_page),
3087 (ev_view_size_request_single_page), (ev_view_size_request),
3088 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3089 (ev_view_bin_expose), (ev_view_expose_event),
3090 (ev_view_set_property), (ev_view_get_property),
3091 (ev_view_class_init), (ev_view_init), (ev_view_new),
3092 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3093 (ev_view_set_dual_page), (ev_view_set_full_screen),
3094 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3095 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3096 (ev_view_zoom_out), (zoom_for_size_fit_width),
3097 (zoom_for_size_best_fit),
3098 (ev_view_zoom_for_size_continuous_and_dual_page),
3099 (ev_view_zoom_for_size_continuous),
3100 (ev_view_zoom_for_size_dual_page),
3101 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3102 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3104 * shell/ev-window.c: (update_action_sensitivity),
3105 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3106 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3107 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3108 (ev_window_cmd_view_zoom_out), (update_view_size),
3109 (ev_window_set_sizing_mode), (ev_window_init):
3111 Add Continuous and Dual page modes.
3113 2005-04-23 James Bowes <bowes@cs.dal.ca>
3115 * dvi/dvi-document.c: (dvi_document_load),
3116 (dvi_document_thumbnails_get_thumbnail),
3117 (dvi_document_init_params): Fix up some mixups between
3118 width and height to correct thumbnail rendering.
3120 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3122 * dvi/mdvi-lib/private.h:
3123 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3125 Suppess output for kpathsea during font generation. Thanks to
3128 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3135 * Makefile.am: fix distcheck.
3137 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3139 * shell/ev-sidebar-links.c: (selection_changed_callback),
3140 (update_page_callback), (row_activated_callback),
3141 (job_finished_callback), (ev_sidebar_links_set_document):
3143 Fix for bug #169901. Double click on links expands tree.
3145 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3147 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3148 hard-coded style. Fix for bug 170111
3150 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3152 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3155 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3157 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3159 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3161 * pdf/ev-poppler.cc:
3162 * shell/ev-view.c: (highlight_find_results):
3164 Fix find on single page documents
3166 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3168 * data/evince.schemas.in: fix for bug 301390
3170 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3172 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3173 (ev_view_zoom_out), (ev_view_zoom_normal):
3175 * shell/ev-window.c: (update_action_sensitivity),
3176 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3177 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3178 (ev_window_cmd_view_normal_size):
3180 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3181 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3184 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3188 Depend on 2.57, 2.59 doesnt seem to be necessary
3190 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3192 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3195 Put back total number of pages as (1 of 1234)
3197 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3199 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3202 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3203 function. This helps debugging.
3205 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3207 * djvu/djvu-document.c: (djvu_document_class_init),
3208 (djvu_document_get_info), (djvu_document_document_iface_init):
3209 * dvi/dvi-document.c: (dvi_document_class_init),
3210 (dvi_document_get_info), (dvi_document_document_iface_init):
3212 Dummy implementation of get_info method for dvi and djvu. Fix
3213 crashes with those backends
3215 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3217 * data/evince.desktop.in:
3219 Add application/x-gzpostscript
3221 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3223 * data/evince.schemas.in: Added real long descriptions,
3226 * README: Added actual text, closes bug 171869
3228 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3230 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3234 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3236 * backend/ev-document-info.h:
3238 s/GDate */GDate so we can just use g_free
3240 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3242 * shell/ev-window.c: (update_document_mode),
3243 (ev_window_setup_document):
3245 Show the window in fullscreen when specified by
3248 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3250 * backend/ev-document.c: (ev_document_class_init),
3251 (ev_document_get_info), (ev_document_render_pixbuf):
3252 * backend/ev-document.h:
3253 * backend/ev-page-cache.c: (_ev_page_cache_new):
3254 * pdf/ev-poppler.cc:
3255 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3256 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3257 * ps/ps-document.c: (ps_document_class_init), (document_load),
3258 (ps_document_get_info), (ps_document_document_iface_init):
3260 Remove get_title from the interface, we can just use document info
3262 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3264 * backend/Makefile.am:
3265 * backend/ev-document.c: (ev_document_render_get_info):
3266 * backend/ev-document.h:
3267 * pdf/ev-poppler.cc:
3269 Initial support for document info. Based on jrb patch.
3271 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3273 * shell/ev-window.c: (ev_window_state_event),
3274 (ev_window_class_init), (ev_window_init):
3276 Doesn't show resize grip when maximized. See bug #301053
3278 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3282 ev-sidebar-thumbnails now has translatable labels
3284 * shell/Makefile.am:
3285 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3286 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3287 (ev_sidebar_links_page_iface_init):
3288 * shell/ev-sidebar-links.h:
3289 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3290 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3291 (ev_sidebar_page_get_label):
3292 * shell/ev-sidebar-page.h:
3293 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3294 (ev_sidebar_thumbnails_set_document),
3295 (ev_sidebar_thumbnails_support_document),
3296 (ev_sidebar_thumbnails_get_label),
3297 (ev_sidebar_thumbnails_page_iface_init):
3298 * shell/ev-sidebar-thumbnails.h:
3299 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3300 (ev_sidebar_set_document):
3301 * shell/ev-sidebar.h:
3302 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3304 Small rework of sidebar code. Now sidebar pages should implement
3305 EvSidebarPage interface. That makes page management in EvSidebar
3306 easier. See bug #164811 for details
3308 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3310 * shell/ev-application.c: (ev_application_open):
3311 * shell/ev-document-types.c:
3313 Fix build error and small problem with application exit
3315 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3317 * thumbnailer/Makefile.am:
3318 * thumbnailer/evince-thumbnailer-djvu.schemas:
3319 * thumbnailer/evince-thumbnailer-dvi.schemas:
3321 Conditionally install schemas for djvu/dvi thumbnailer
3323 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3325 * shell/ev-document-types.h:
3326 * shell/ev-document-types.c:
3327 New files, handling the mapping from mimetypes to backends
3329 * shell/ev-window.c:
3330 * thumbnailer/evince-thumbnailer.c:
3331 Use the ev-document-types code
3333 * shell/Makefile.am:
3334 Added new convenience library libevbackendfactory_la, containing
3335 the new mimetype->backend logic; moved the backends into it.
3337 * thumbnailer/Makefile.am:
3338 Make the thumbnailer link with the libevbackend.la convenience
3339 library, rather than having a duplicate of the backend logic here.
3341 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3343 * shell/ev-stock-icons.c: constify some vars.
3344 * shell/ev-window.c: ditto.
3346 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3348 * ps/ps-document.c (get_page_orientation):
3350 Respect document orientation
3352 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3356 * shell/Makefile.am:
3358 Move library dependencies to components.
3360 * shell/ev-window.c: (update_window_title),
3361 (start_loading_document):
3363 Fix display of uris with spaces. Bug 168358.
3365 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3367 * shell/ev-sidebar-links.c: (selection_changed_cb):
3368 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3369 (ev_view_button_release_event), (ev_view_set_document):
3371 * shell/ev-window.c: (find_bar_search_changed_cb):
3372 * shell/ev-window.h: Minor cleanups removing some dead code.
3374 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3376 * backend/ev-page-cache.c: (_ev_page_cache_new):
3378 Set current page to 0 if document has pages.
3380 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3382 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3384 Initialize GError to NULL, fix a crash when loading fails.
3386 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3388 * shell/ev-window.c: (update_view_size):
3390 Calculate shadow size only when there is actually
3393 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3395 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3398 Allow setting view spacing, default to 0
3400 * shell/ev-window.c: (ev_window_unfullscreen),
3401 (ev_window_cmd_view_fullscreen), (ev_window_init):
3403 Remove spacing in fullscreen mode
3405 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3407 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3408 (ev_view_size_request), (expose_bin_window),
3409 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3411 * shell/ev-window.c: (ev_window_unfullscreen),
3412 (ev_window_cmd_view_fullscreen):
3414 Do not draw the border in fulscreen
3416 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3418 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3419 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3420 (find_page_at_location), (page_changed_cb):
3422 Rework border calculation, so that I can more easily disable it.
3423 Code somewhat cleaner too.
3425 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3427 * backend/ev-page-cache.c: (ev_page_cache_init),
3428 (_ev_page_cache_new):
3430 Remove some assertions, documents can have 0 pages.
3431 Make initial current page -1.
3433 * shell/ev-page-action.c: (page_changed_cb):
3435 Show "" if current page is -1
3437 * shell/ev-window.c: (update_action_sensitivity),
3438 (ev_window_setup_document):
3440 When document has 0 pages do not set the view
3441 and make nearly everything insensitive.
3443 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3445 * shell/ev-page-view.c:
3446 * shell/ev-page-view.h:
3448 Remove unused files.
3450 * shell/ev-sidebar-thumbnails.c:
3451 (ev_sidebar_thumbnails_set_document):
3452 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3453 (ev_sidebar_supports_document):
3454 * shell/ev-sidebar.h:
3455 * shell/ev-window.c: (ev_window_setup_document):
3457 Doesn't show thumbnails if document has 1 page. Make
3458 sidebar menu entries sensitive only if if they have
3459 sense. Fix bug 164811.
3461 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3463 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3464 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3465 (ev_view_zoom_out), (ev_view_set_size):
3467 Rework sizing to deal with documents with not uniform page
3470 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3472 * backend/ev-page-cache.c: (_ev_page_cache_new):
3474 Fix several page size caching bugs
3476 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3478 * shell/ev-window.c: (set_action_properties):
3480 Make all toolbar items translatable
3482 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3484 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3485 (save_page_list), (ps_document_save),
3486 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3487 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3488 (ps_document_ps_exporter_iface_init):
3491 Based on a patch by J�rg Billeter <j@bitron.ch>
3493 Implement print and save a copy for the ps backend.
3495 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3497 * backend/ev-document.h:
3498 * djvu/djvu-document.c: (djvu_document_can_get_text),
3499 (djvu_document_document_iface_init):
3500 * dvi/dvi-document.c: (dvi_document_can_get_text),
3501 (dvi_document_document_iface_init):
3502 * pdf/ev-poppler.cc:
3503 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3504 (pixbuf_document_document_iface_init):
3505 * ps/ps-document.c: (ps_document_can_get_text),
3506 (ps_document_document_iface_init):
3507 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3508 * shell/ev-window.c: (update_action_sensitivity):
3510 Fix the crash when trying to copy in backends that doesnt
3511 support it. We can implement a better solution once we
3512 do real text selection.
3514 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3516 * data/evince-ui.xml:
3517 * shell/ev-window.c: (ev_window_cmd_escape):
3519 Work around the Escape conflict (find bar and unfullscreen)
3521 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3523 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3525 Fix for #300233. Next page correctly handles document end.
3527 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3528 (ev_sidebar_thumbnails_class_init),
3529 (ev_sidebar_thumbnails_set_document),
3530 (ev_sidebar_thumbnails_clear_job),
3531 (ev_sidebar_thumbnails_clear_model):
3533 Cleanup thumbnail jobs on document changes.
3535 * shell/ev-view.c: (add_scroll_binding_keypad),
3536 (add_scroll_binding_shifted), (ev_view_class_init):
3538 Shift + Space scrolls up. Fix for #173184
3540 * shell/ev-window.c: (ev_window_open_page),
3541 (ev_window_cmd_view_reload):
3543 Fix reload (Bug #300094)
3545 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3548 * dvi/mdvi-lib/assoc.c:
3549 * dvi/mdvi-lib/assoc.h: Removed garbage files
3551 * dvi/mdvi-lib/bitmap.c:
3552 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3553 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3554 * dvi/mdvi-lib/color.h: Antialias of rules
3556 * dvi/mdvi-lib/common.h:
3557 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3558 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3559 * dvi/mdvi-lib/files.c:
3560 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3561 * dvi/mdvi-lib/mdvi.h:
3562 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3563 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3564 * dvi/mdvi-lib/util.c: Fix compile warnings
3566 * dvi/dvi-document.c:
3567 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3568 (dvi_document_thumbnails_get_thumbnail),
3569 (dvi_document_document_thumbnails_iface_init):
3570 * dvi/mdvi-lib/Makefile.am:
3571 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3572 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3574 Dvi backend now renders thumbnails
3576 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3578 * shell/main.c: (main):
3580 Save accelerators on exit. Fixes bug #172095.
3582 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3584 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3585 update priority" comment.
3587 * backend/ev-job-queue.c: Give a way to change priority.
3589 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3591 * shell/ev-page-action.c: Fix logic.
3593 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3595 * shell/ev-view.c: (ev_view_can_find_next):
3596 * shell/ev-window.c: (ev_window_setup_document):
3598 Check that the document supports find
3600 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3602 * data/evince-ui.xml:
3603 * shell/ev-view.c: (ev_view_can_find_next):
3605 * shell/ev-window.c: (update_action_sensitivity),
3606 (find_changed_cb), (ev_window_setup_document),
3607 (ev_window_cmd_edit_find_next):
3611 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3613 * pdf/ev-poppler.cc:
3614 * shell/ev-print-job.c: (idle_print_handler):
3616 Make printing work again
3618 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3620 * shell/ev-page-action.h:
3621 * shell/ev-page-action.c: (ev_page_action_widget_init),
3622 (ev_page_action_widget_class_init), (page_changed_cb),
3623 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3624 (get_filter_model_from_model), (match_selected_cb),
3625 (display_completion_text), (match_completion), (update_model),
3626 (connect_proxy), (ev_page_action_set_property),
3627 (ev_page_action_get_property), (ev_page_action_set_document),
3628 (ev_page_action_set_model), (ev_page_action_class_init): Big
3629 reworking to make completions work iff we have >= GTK-2.7.0
3631 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3632 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3633 (job_finished_cb): We now have a 'model' property that is set when
3634 the links are loaded. This can be caught with "notify::model"
3636 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3637 listen for the model to be set, and propagate it to the action.
3639 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3641 * cut-n-paste/recent-files/egg-recent-item.c:
3642 (egg_recent_item_set_uri), (make_valid_utf8),
3643 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3644 * cut-n-paste/recent-files/egg-recent-item.h:
3646 Update egg-recent from libegg. This should fix long
3647 startup problem. For details see
3648 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3650 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3652 * cut-n-paste/recent-files/Makefile.am:
3653 * data/evince-ui.xml, shell/Makefile.am:
3654 * shell/ev-application.c, shell/ev-application.h:
3655 * shell/ev-window.c: Recent files support.
3657 * configure.ac: Added "ru" to ALL_LINGUAS.
3659 * dvju: new backend to support DJVU files.
3660 * dvi: new backend to support DVI.
3662 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3663 * ev-application.c: Support for new backends.
3665 * help, ev-window.c, main.c shell/Makefile.am:
3666 Evince user documentation.
3668 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3671 * shell/ev-window.c:
3672 * thumbnailer/evince-thumbnailer.c:
3674 s/pdf-document/ev-poppler
3676 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3683 * ps/ps-document.c: (setup_pixmap):
3687 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3689 * backend/ev-page-cache.c (ev_page_cache_next_page):
3690 * shell/ev-window.c (ev_window_cmd_go_next_page)
3691 (ev_window_cmd_go_first_page): Fix of by one errors.
3693 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3695 * ps/ps-document.c: (get_page_box):
3697 Fix page size calculation
3699 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3701 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3702 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3703 (get_page_orientation), (setup_page), (document_load),
3704 (ps_document_get_page_size), (render_pixbuf_idle):
3707 More refactoring to adapt to EvDocument changes
3709 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3711 * ps/ps-document.c: (start_interpreter):
3713 Actually add alpha args
3715 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3717 * pdf/ev-poppler.cc:
3719 Make clipboard work again
3721 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3723 Make searching work again.
3725 * backend/ev-document.c:
3726 * backend/ev-document.h:
3727 * backend/ev-document-find.c:
3728 * backend/ev-document-find.h: Change EvDocumentIface so we no
3729 longer store the current page or zoom level in the document. The
3730 consequence is that all calls that operate on the current page now
3731 instead take the page number as an extra argument, and all
3732 coordinates are now doubles in document coordinate system.
3734 * pdf/ev-poppler.cc:
3735 * pixbuf/pixbuf-document.c:
3736 * ps/ps-document.c: Update backends accordingly.
3738 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3742 Add required gettext version
3744 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3746 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3747 make F1 bring up non-existent help.
3749 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3750 epiphany's find bar, #167477
3752 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3753 <emil@nishra.com> to add space-bar scrolling,
3755 * shell/ev-window.c (static GtkActionEntry entries): add default
3756 keybinding for Help (F1)
3759 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3760 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3763 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3766 * pixbuf/pixbuf-document.c:
3768 Got pixbuf backend working again
3770 2005-04-01 Steve Murphy <murf@e-tools.com>
3772 * configure.in: Added "rw" to ALL_LINGUAS.
3774 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3776 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3777 model types, noticed by Martin Kretzschmar.
3779 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3781 * pdf/ev-poppler.cc: Implement search based on
3782 poppler_page_find_text(). Currently a bit crude since we remember
3783 all matches from all pages. Also, we grab the big document lock
3784 when we search since searching changes the underlying stream and
3785 thus conflicts with the rendering thread.
3787 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3788 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3789 (ev_view_find_previous): Fix some page indexes to be 0 based,
3790 offset rubber band by view offset,
3792 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3794 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3796 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3798 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3799 completely because I didn't understand GtkActions. I should
3800 read Marco's code more carefully in the future.
3802 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3805 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3807 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3808 PopplerRectangle change from poppler CVS.
3810 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3812 * backend/ev-document.c: (ev_document_get_page_label):
3813 * backend/ev-document.h:
3814 * backend/ev-page-cache.c: (_ev_page_cache_new),
3815 (ev_page_cache_get_page_label):
3816 * backend/ev-page-cache.h:
3817 * pdf/ev-poppler.cc:
3818 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3819 (links_page_num_func):
3820 * shell/ev-sidebar-thumbnails.c:
3821 (ev_sidebar_thumbnails_set_document):
3822 * shell/ev-view.c: (status_message_from_link),
3823 (ev_view_motion_notify_event):
3824 * shell/ev-window.c: (document_supports_sidebar): Add in page
3825 label support. It's not perfect yet, but it's the first 'feature'
3827 Also, fix a bogus comment noticed by crispin.
3829 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3831 * Makefile.am: Remove pixbuf backend for now
3833 * configure.ac: Require poppler-glib instead of just poppler.
3835 * backend/ev-document-thumbnails.h: Add a comment
3837 * backend/ev-document.h:
3838 * backend/ev-document.c: (ev_document_class_init),
3839 (ev_document_load), (ev_document_get_link),
3840 (ev_document_get_links): Remove 3 methods and add get_links.
3843 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3844 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3846 * backend/ev-link.c: (ev_link_set_title),
3847 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3848 (ev_link_mapping_find):
3849 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3851 * backend/ev-page-cache.c: (ev_page_cache_init),
3852 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3853 (ev_page_cache_get_size), (ev_page_cache_next_page),
3854 (ev_page_cache_prev_page): Fix to be 0 based.
3858 * pdf/ev-poppler.cc: New backend.
3860 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3861 (ps_document_get_page), (ps_document_document_iface_init):
3863 * shell/ev-pixbuf-cache.h:
3864 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3865 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3866 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3867 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3868 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3869 Fix up code to grab a page cache per each doc. Also, fix to be 0
3872 * shell/ev-sidebar-thumbnails.c:
3873 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3874 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3876 * shell/ev-view.c: (status_message_from_link),
3877 (find_page_at_location), (get_link_at_location),
3878 (ev_view_motion_notify_event), (ev_view_button_release_event),
3879 (ev_view_init): Use the new link code. Fix to be 0 based.
3881 * shell/ev-window.c: (update_action_sensitivity),
3882 (document_supports_sidebar): 0 based.
3884 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3886 * pdf/pdf-document.cc: Patch from Fernando Herrera
3887 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3890 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3892 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3893 1 to the page, as this seems to be 1 based. I thought we has this
3896 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3899 * backend/Makefile.am:
3900 * backend/ev-document-links.c:
3901 (ev_document_links_has_document_links),
3902 (ev_document_links_get_links_model):
3903 * backend/ev-document-links.h:
3904 * backend/ev-document.c: (ev_document_get_page_cache),
3905 (ev_document_get_doc_mutex), (ev_document_load),
3906 (ev_document_save), (ev_document_get_title),
3907 (ev_document_get_n_pages), (ev_document_set_page),
3908 (ev_document_get_page), (ev_document_set_target),
3909 (ev_document_set_scale), (ev_document_set_page_offset),
3910 (ev_document_get_page_size), (ev_document_get_text),
3911 (ev_document_get_link), (ev_document_render),
3912 (ev_document_render_pixbuf), (ev_document_scale_changed):
3913 * backend/ev-document.h:
3914 * backend/ev-job-queue.c: (remove_object_from_queue),
3915 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3916 (no_jobs_available_unlocked), (ev_render_thread),
3917 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3918 (ev_job_queue_remove_job):
3919 * backend/ev-job-queue.h:
3920 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3921 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3922 (ev_job_links_class_init), (ev_job_render_init),
3923 (ev_job_render_dispose), (ev_job_render_class_init),
3924 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3925 (ev_job_thumbnail_class_init), (ev_job_finished),
3926 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3927 (ev_job_render_run), (ev_job_thumbnail_new),
3928 (ev_job_thumbnail_run):
3929 * backend/ev-jobs.h:
3930 * backend/ev-link.c:
3931 * backend/ev-link.h:
3932 * backend/ev-page-cache.c: (ev_page_cache_init),
3933 (ev_page_cache_class_init), (ev_page_cache_finalize),
3934 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3935 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3936 (ev_page_cache_set_link), (ev_page_cache_get_title),
3937 (ev_page_cache_get_size), (ev_page_cache_next_page),
3938 (ev_page_cache_prev_page):
3939 * backend/ev-page-cache.h:
3940 * pdf/pdf-document.cc:
3943 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3944 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3945 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3946 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3947 (is_interpreter_ready), (output), (catchPipe), (input),
3948 (start_interpreter), (check_filecompressed), (compute_dimensions),
3949 (ps_document_enable_interpreter), (document_load),
3950 (ps_document_next_page), (render_page), (ps_document_set_page),
3951 (ps_document_set_scale), (render_pixbuf_idle),
3952 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3954 * shell/Makefile.am:
3955 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3956 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3957 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3958 (ev_pixbuf_cache_new), (job_finished_cb),
3959 (check_job_size_and_unref), (move_one_job),
3960 (ev_pixbuf_cache_update_range), (find_job_cache),
3961 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3962 (ev_pixbuf_cache_add_jobs_if_needed),
3963 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3964 * shell/ev-pixbuf-cache.h:
3965 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3966 (idle_print_handler):
3967 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3968 (selection_changed_cb), (create_loading_model),
3969 (ev_sidebar_links_construct), (links_page_num_func),
3970 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3971 (update_page_callback), (job_finished_cb),
3972 (ev_sidebar_links_set_document):
3973 * shell/ev-sidebar-thumbnails.c:
3974 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3975 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3976 (page_changed_cb), (thumbnail_job_completed_callback),
3977 (ev_sidebar_thumbnails_set_document):
3978 * shell/ev-sidebar-thumbnails.h:
3979 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3980 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3981 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3982 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3983 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3984 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3985 (ev_view_button_release_event), (ev_view_scroll_view),
3986 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3987 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3988 (ev_view_new), (job_finished_cb), (page_changed_cb),
3989 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3990 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3991 (ev_view_find_previous):
3993 * shell/ev-window.c: (update_action_sensitivity),
3994 (ev_window_open_page), (update_window_title), (update_total_pages),
3995 (page_changed_cb), (ev_window_setup_document),
3996 (password_dialog_response), (ev_window_cmd_save_as),
3997 (ev_window_print), (ev_window_cmd_go_previous_page),
3998 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3999 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4000 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4001 * shell/main.c: (main):
4003 Merge evince-threads branch
4005 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4007 * configure.ac: Added "lt" to ALL_LINGUAS.
4009 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4016 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4018 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4020 Fix here also the thumbnails 1-basedness :)
4022 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4029 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4031 * pdf/pdf-document.cc:
4032 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4033 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4035 Fix the mess we did with thumbnails and 1-basedness
4037 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4039 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4041 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4048 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4051 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4052 (gtk_gs_defaults_get_alpha_parameters),
4053 (gtk_gs_defaults_get_ungzip_cmd),
4054 (gtk_gs_defaults_get_unbzip2_cmd):
4056 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4057 (ps_document_get_orientation), (document_load),
4058 (ps_document_goto_page), (ps_document_set_page_size):
4061 Some more sanitization of the ps backend. Remove a lot
4062 of unused code and do not base our defaults on ggv
4065 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4067 * thumbnailer/evince-thumbnailer.schemas:
4068 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4069 (main): add -s option for thumbnail size.
4071 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4075 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4078 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4080 * pdf/pdf-document.cc:
4082 Remove 4 pixels of useless border from the
4085 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4087 * backend/ev-document-thumbnails.c:
4088 (ev_document_thumbnails_get_thumbnail):
4089 * backend/ev-document-thumbnails.h:
4091 Rework API a bit. Add a border flag and
4092 change sizing logic (now the size we specify
4093 applies to the bigger dimension).
4095 * pdf/pdf-document.cc:
4096 * pixbuf/pixbuf-document.c:
4097 (pixbuf_document_thumbnails_get_thumbnail):
4098 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4099 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4101 Adapt to the new API and do not draw a border for nautilus
4104 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4106 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4107 take thumbnails from page "0" instead of "1". Added a copyright header.
4109 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4111 * ps/ps-document.c: (set_up_page), (start_interpreter):
4113 Make it C89 compliant
4115 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4120 * pdf/pdf-document.cc:
4121 * thumbnailer/Makefile.am:
4122 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4124 * thumbnailer/evince-thumbnailer.schemas:
4125 * thumbnailer/pdf-icon.png:
4127 Add a nautilus thumbnailer.
4128 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4130 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4138 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4140 Use poppler instead of including xpdf source code. Poppler is a
4141 fork of xpdf to build it as a shared library. See
4142 http://freedesktop.org/wiki/Software/poppler.
4144 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4147 * pdf/Makefile.am: Build libpdfdocument.a here.
4149 * pdf/GDKSplashOutputDev.cc:
4150 * pdf/GDKSplashOutputDev.h:
4151 * pdf/GnomeVFSStream.cc:
4152 * pdf/GnomeVFSStream.h:
4155 * test-gdk-output-dev.cc
4157 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4160 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4162 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4164 Clear idle stack before unsetting the document
4166 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4168 * ps/ps-document.c: (ps_document_widget_event),
4169 (ps_document_set_target), (ps_document_finalize),
4170 (ps_document_get_page):
4172 Disconnect the widget event signal on finalize.
4175 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4177 * ps/ps-document.c: (set_up_page):
4179 If there is no bpixmap create one, even if size
4182 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4184 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4185 (set_up_page), (document_load), (ps_document_set_zoom):
4187 Default page is 0. Calculate size even when we have no
4190 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4192 * shell/ev-sidebar.c: expand the selection widget to be always as
4195 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4197 * shell/ev-sidebar-thumbnails.c:
4198 (ev_sidebar_thumbnails_set_document):
4200 Clear the list store when setting document
4202 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4204 * shell/ev-page-action.c: (update_entry), (sync_entry),
4205 (activate_cb), (entry_size_request_cb), (create_tool_item),
4208 Use an entry for the page control instead of spinbuttons
4210 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4212 * data/evince.schemas.in:
4214 Correct confusing string
4216 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4218 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4219 for real. Gosh, how long has this been broken.
4221 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4222 check for a NULL link. We crash otherwise.
4224 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4231 2005-02-25 Sebastien Bacher <seb128@debian.org>
4233 * configure.ac: add the french translation.
4235 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4237 * shell/ev-window.c:
4239 Remove unused header -> fix distcheck
4241 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4243 * shell/ev-window.c: (update_window_title),
4244 (ev_window_popup_password_dialog):
4246 Unescape filename for display
4248 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4250 * pdf/xpdf/pdf-document.cc:
4252 In get_page_size deal with rotation. Also
4253 cleanup the function a bit.
4255 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4257 * pdf/xpdf/pdf-document.cc:
4259 Fix crash when opening in new window
4261 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4265 Check ghostscript >= 7
4267 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4269 * shell/ev-window.c:
4271 Make page width the default sizing mode
4273 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4274 Marco Pesenti Gritti <marco@gnome.org>
4276 * shell/ev-window.c: Remember the sidebar size
4278 * data/evince.schemas.in: Add a new gconf key to store the size of
4281 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4283 * data/evince-ui.xml:
4284 * shell/ev-window.c: (update_action_sensitivity),
4285 (ev_window_cmd_view_reload):
4287 Add a "Reload" action and menu entry
4289 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4291 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4292 iff the type doesn't support thumbnailing and indexing.
4294 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4296 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4298 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4300 * pdf/splash/Splash.cc:
4302 Port fix for a crasher from kde bug
4303 http://bugs.kde.org/show_bug.cgi?id=97131
4305 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4307 * pdf/xpdf/pdf-document.cc:
4309 Return a link even if it's of an unrecognized
4310 type. Otherwise we go in an infinte cycle.
4312 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4314 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4315 (size_allocate_cb), (ev_window_set_sizing_mode):
4317 Update size when switching mode
4319 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4321 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4322 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4323 (ev_window_cmd_view_normal_size):
4325 Fix size toggle buttons behavior
4327 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4329 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4330 (doc_rect_to_view_rect), (ev_view_size_allocate),
4331 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4332 (scale_changed_callback):
4334 Do not cache offsets in size_allocate.
4336 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4338 * shell/ev-view.c: (ev_view_size_allocate):
4340 Calculate offsets before calling the parent
4341 class (which does a redraw)
4343 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4345 * pdf/xpdf/pdf-document.cc:
4347 Fix a crasher on exit. Unused code, put a TODO
4349 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4351 * backend/ev-document.c: (ev_document_class_init),
4352 (ev_document_page_changed), (ev_document_scale_changed):
4353 * backend/ev-document.h:
4355 Separate page/scale notifications
4357 * pdf/xpdf/pdf-document.cc:
4359 Emit the new signals.
4360 Do not display the pdf page in _render, do it
4361 when scale/page are requested.
4363 * ps/ps-document.c: (ps_document_set_zoom),
4364 (ps_document_widget_event):
4367 Emit the new signals.
4369 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4370 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4371 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4372 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4374 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4375 (ev_window_cmd_view_page_width), (size_allocate_cb),
4376 (ev_window_set_sizing_mode):
4378 Rework sizing to be pixel based.
4379 There are bugs but should be already way better.
4381 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4383 * shell/ev-window.c: (ev_window_init):
4385 Do not allow to shrink sidebar smaller then
4388 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4390 * shell/ev-sidebar.[ch]
4391 * shell/ev-window.c:
4393 Improved sidebar widget. Fixes #166683
4395 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4397 * shell/ev-view.c (update_find_status_message): Give translators
4398 more flexibility with ngettext plural handling.
4400 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4402 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4403 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4404 page when we get the page size.
4406 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4408 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4410 ps pages are 0 based, convert
4412 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4414 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4416 Initialize correct parent class. Set GError on document load
4418 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4420 * pdf/xpdf/pdf-document.cc:
4422 Fixup selection offset calculation
4424 * shell/ev-view.c: (view_rect_to_doc_rect),
4425 (doc_rect_to_view_rect), (ev_view_size_allocate),
4426 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4427 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4429 Store selection as document relative, so that zooming
4430 and offset changing doesnt break it.
4432 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4434 * shell/ev-view.c: (ev_view_best_fit):
4436 Do not try to best fit if the view is not realized
4438 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4440 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4442 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4444 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4446 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4448 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4449 the popup window. That prevents it resizing when in full screen
4452 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4453 multiple rerenders. This pretty much sucks.
4455 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4456 rest of the toolbar.
4458 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4460 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4462 2005-02-17 Alexander Shopov <ash@contact.bg>
4464 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4466 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4468 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4470 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4472 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4473 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4474 (set_document_page), (document_changed_callback),
4475 (ev_view_set_document), (ev_view_find_previous),
4476 (ev_view_hide_cursor), (ev_view_show_cursor):
4478 * shell/ev-window.c: (update_chrome_visibility),
4479 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4480 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4481 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4482 (ev_window_unfullscreen):
4483 * shell/main.c: (main):
4485 Automatically hide the fullscreen button.
4486 Patch by Kristian Høgsberg <krh@redhat.com>
4488 2005-02-16 Vincent Noel <vnoel@cox.net>
4490 * shell/main.c (main): Specify an icon for the window. Patch by
4491 Jaap A. Haitsma. Fixes #166177.
4493 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4495 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4497 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4499 * backend/ev-document-misc.h:
4500 * backend/ev-document-misc.c:
4501 (ev_document_misc_get_page_border_size),
4502 (ev_document_misc_paint_one_page): New function to canonicalize
4503 sizing/painting a border.
4505 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4508 * pdf/xpdf/pdf-document.cc: use new function
4510 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4511 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4512 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4513 shell/ev-window.c: (update_sizing_buttons),
4514 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4515 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4516 (ev_window_cmd_view_page_width), (size_allocate_cb),
4517 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4518 and "fit width" values act as toggle buttons so they stay
4519 toggled. It's not 100% perfect, and it's a little slow, but it's
4520 good enough to commit I think.
4522 2005-02-15 David Lodge <dave@cirt.net>
4524 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4526 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4528 * shell/ev-window.c (update_window_title): replace newlines in
4529 the title by spaces. Bug #166107.
4531 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4533 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4534 parameters providing allocation width and height without
4535 scrollbars and width of a possible vertical scrollbar. With this
4536 additional information the functions can work as
4537 intended. Unfortunately they're not idempotent. We should
4538 transform these commands to toggles. Fixes Bug #164976
4539 Initial patch by Stephane Loeuillet, then heavily modified.
4541 * shell/ev-view.h: update prototypes.
4543 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4544 (ev_window_cmd_view_page_width): provide EvView fit functions with
4545 all the information they need. Formulas to calculate this
4546 information taken from GtkScrolledWindow.
4548 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4550 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4551 created a thumbnail, the list store is updated to know
4552 that the thumbnail is set. Fixes bug #166792
4554 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4556 * shell/ev-window.c: fixed typo, closes bug 166897
4558 * TODO: updated TODO with bug numbers that are relevant
4560 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4562 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4564 2005-02-09 Vincent Noel <vnoel@cox.net>
4566 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4567 and "Next" toolbar buttons as important to make them stand out.
4569 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4573 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4574 (start_interpreter), (stop_interpreter), (document_load),
4575 (ps_document_next_page), (ps_document_goto_page),
4576 (ps_document_set_page_size), (ps_document_widget_event),
4577 (ps_document_render):
4578 * shell/ev-page-view.c: (ev_page_view_dispose):
4579 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4581 Fix compilation on non-gcc platforms
4583 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4590 * pdf/xpdf/Catalog.cc:
4593 Fix the fix for CAN-2004-0888
4595 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4598 * data/evince-ui.xml:
4599 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4600 * shell/ev-stock-icons.h:
4601 * shell/ev-window.c: (update_action_sensitivity),
4602 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4603 (set_action_properties):
4605 Improve toolbar layout/icons
4607 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4609 * pdf/xpdf/pdf-document.cc:
4611 Add warnings about unimplemented/unknown link
4614 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4616 * ps/ps-document.c: (set_up_page):
4620 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4622 * ps/ps-document.c: (start_interpreter):
4626 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4628 * shell/ev-page-view.c: (ev_page_view_dispose):
4629 * shell/ev-view.c: (ev_view_finalize):
4630 * shell/ev-window.c: (ev_window_setup_document),
4631 (ev_window_dispose), (ev_window_init):
4633 Solve more refs issues.
4635 I commented out the page_view initialization for now:
4636 it was never destroyed (because it's never added
4637 to a container). Because of that we was leaking
4638 gs processes. Couldnt think to a clean fix.
4639 We need to figure this out, password view has the
4640 same issue probably.
4642 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4644 * ps/ps-document.c: (ps_document_finalize),
4645 (ps_document_get_n_pages), (ps_document_get_page):
4647 Some cleanups, stop the interpreter on finalize
4649 * shell/ev-page-view.c: (ev_page_view_dispose),
4650 (ev_page_view_class_init):
4652 Release our reference on the document
4654 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4658 * doc/debugging.txt:
4661 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4662 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4663 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4666 Add debugging helpers
4669 * ps/ps-document.c: (set_up_page), (start_interpreter),
4670 (stop_interpreter), (document_load), (ps_document_next_page),
4671 (ps_document_goto_page), (ps_document_set_page_size),
4672 (ps_document_widget_event), (ps_document_render):
4673 * shell/Makefile.am:
4674 * shell/ev-view.c: (expose_bin_window):
4675 * shell/main.c: (main):
4679 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4681 * ps/ps-document.c: (ps_document_widget_event):
4683 Initialize message_window, this should make ps
4684 rendering really work! (Never noticed because I was
4685 testing with a ps that is causing gs to exit every time!)
4687 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4689 * data/evince.schemas.in: updated simple error in applyto closing tag
4691 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4697 * data/evince-ui.xml:
4698 A data/evince.schemas.in:
4700 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4701 * shell/ev-stock-icons.h:
4702 * shell/ev-window.c: (update_chrome_visibility),
4703 (update_chrome_flag), (ev_window_cmd_edit_find),
4704 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4705 (ev_window_unfullscreen), (ev_window_focus_in_event),
4706 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4707 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4708 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4709 (ev_window_dispose), (ev_window_class_init),
4710 (set_action_properties), (set_chrome_actions), (load_chrome),
4713 Implement fullscreen mode changes from bug #164776.
4714 Also implement persistent chrome toggles.
4716 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4718 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4720 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4726 Add another check for find interface
4730 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4732 * shell/ev-application.c: (ev_application_open):
4733 * shell/ev-window.c: (ev_window_open):
4735 Open gzipped ps documents
4737 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4740 * shell/ev-view.c: (set_document_page):
4742 Clamp page number, dont try to move to
4745 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4747 * backend/ev-document-find.c: (ev_document_find_changed):
4748 * backend/ev-document-find.h:
4749 * pdf/xpdf/pdf-document.cc:
4750 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4751 * shell/ev-window.c: (find_bar_search_changed_cb):
4753 Fix several bugs with find
4755 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4757 * shell/ev-sidebar-thumbnails.c
4758 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4759 document. Prevents warning from scroll_to_cell.
4761 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4763 * configure.ac: Add «nb» to ALL_LINGUAS too.
4765 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4767 * NOTES: New file with some random thoughts.
4771 * backend/ev-document-misc.c:
4772 (ev_document_misc_get_page_border_size): New function to
4773 canonicalize shadow drawing sizes. Possibly goofy.
4775 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4776 (ev_view_best_fit), (ev_view_fit_width):
4777 * pdf/xpdf/pdf-document.cc:
4778 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4779 * ps/ps-document.c: (ps_document_get_page_size):
4780 * backend/ev-document-misc.h:
4781 * backend/ev-document.c: (ev_document_get_page_size):
4782 * backend/ev-document.h: get_page_size now takes a page number
4783 parameter. Made all the backends/frontends honor it.
4785 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4786 see. Doesn't work yet.
4788 * shell/Makefile.am:
4789 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4790 Doesn't do anything yet.
4792 * shell/ev-sidebar-thumbnails.c:
4793 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4796 * shell/ev-window.c: (update_action_sensitivity),
4797 (ev_window_setup_document), (ev_window_set_page_mode),
4798 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4799 view-swapping code a bit so we can have multiple views on a
4800 document. Add the multi-page view, though it can't be turned on
4803 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4805 * shell/ev-application.c: (ev_application_open):
4806 * shell/ev-view.c: (expose_bin_window):
4807 * shell/ev-window.c: (ev_window_open):
4809 Support eps and check document supports find
4810 before drawing highlightings in expose.
4812 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4814 * pixbuf/pixbuf-document.c:
4815 (pixbuf_document_thumbnails_get_dimensions),
4816 (pixbuf_document_document_thumbnails_iface_init):
4818 implement get_dimensions
4820 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4827 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4829 * shell/ev-view.c: (set_document_page):
4831 Scroll at the top of the page when changing page
4833 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4835 * shell/ev-view.c: (ev_view_motion_notify_event):
4837 Do not redraw unnecessarily
4839 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4841 * pdf/xpdf/pdf-document.cc:
4842 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4843 (expose_bin_window), (find_changed_cb):
4845 Yay! find works now... Now to find bugs...
4847 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4849 * backend/ev-document-find.c: (ev_document_find_base_init),
4850 (ev_document_find_changed):
4851 * backend/ev-document-find.h:
4852 * pdf/xpdf/pdf-document.cc:
4853 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4854 (expose_bin_window), (ev_view_init), (set_document_page),
4855 (ensure_rectangle_is_visible), (jump_to_find_result),
4856 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4857 (ev_view_find_next), (ev_view_find_previous):
4859 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4861 More work on find implementation, mostly there now
4863 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4865 * backend/ev-backend-marshalers.list:
4866 * backend/ev-document-find.c: (ev_document_find_base_init),
4867 (ev_document_find_cancel), (ev_document_find_page_has_results),
4868 (ev_document_find_get_n_results), (ev_document_find_get_result),
4869 (ev_document_find_get_progress), (ev_document_find_changed):
4870 * backend/ev-document-find.h:
4872 Enanche the find interface to be really able to do
4875 * pdf/xpdf/pdf-document.cc:
4879 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4880 (expose_bin_window), (ev_view_init),
4881 (ev_view_get_find_status_message), (find_changed_cb),
4882 (ev_view_set_document), (set_document_page):
4884 Adapt to the new interface. A few things are regressed sorry,
4885 I will finish it soon.
4887 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4889 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4890 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4891 ev_sidebar_thumbnails_parent_class variable, don't define another
4892 parent_class variable.
4894 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4895 (ev_page_action_class_init): ditto.
4897 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4898 (pixbuf_document_class_init): ditto.
4900 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4903 * .cvsignore: ignore various valgrind output files.
4905 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4907 * data/evince-ui.xml:
4908 * shell/Makefile.am:
4909 * shell/ev-history.c:
4910 * shell/ev-history.h:
4911 * shell/ev-navigation-action.c:
4912 * shell/ev-navigation-action.h:
4913 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4914 (ev_view_set_page), (ev_view_fit_width):
4916 * shell/ev-window.c: (update_action_sensitivity),
4917 (ev_window_setup_document), (register_custom_actions):
4919 Kill session history
4921 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4923 * shell/ev-window.c: (update_action_sensitivity):
4925 Fix inverted up/down buttons
4927 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4929 * shell/ev-sidebar-thumbnails.c
4930 (ev_sidebar_thumbnails_select_page): make sure the selected
4931 thumbnail stays visible.
4933 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4935 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4936 scrolled window for Federico.
4938 2005-01-26 Ole Laursen <olau@hardworking.dk>
4940 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4942 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4945 * pdf/splash/SplashFTFontEngine.cc:
4947 Fix CID fonts with freetype 2.1.9
4949 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4951 * TODO: added item for desktop icon thumbnailer
4953 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4955 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4956 unloaded docs when the title is accessed.
4958 * shell/ev-password-view.[hc]: New widget for displaying password
4961 * shell/ev-window.[ch]: Refactor password handling code to handle
4964 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4972 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4974 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4975 ignore page offset here, to make search results independent of it,
4977 * shell/ev-view.c (expose_bin_window): but take offsets into
4978 account here. Bug #164932
4980 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4981 scale at the right time. Bug #164996
4983 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4985 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4986 fix the problem. Now I just removed the Adobe font names and hope
4987 that the URW fonts are always in outline format. Bug #164934
4989 * shell/ev-window.c (update_window_title): empty titles are
4990 useless, use filename in that case too.
4992 * NEWS: Add some content.
4994 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4996 * TODO: added one more TODO item and a TODONE section :)
4998 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5000 * ps/ps-document.h: add page_[xy]_offset fields.
5002 * ps/ps-document.c (ps_document_set_page_offset)
5003 (ps_document_render): Keep offset in consideration in a few
5004 places. Bug #164752 "postscript documents are not centered in
5007 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5008 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5010 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5011 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5012 stub out missing methods for complete EvDocument implementation.
5013 Fixes segfaults with Save A Copy and Copy actions.
5015 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5016 (ps_document_document_iface_init): ditto.
5018 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5022 * data/evince.desktop.in:
5026 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5028 * shell/ev-view.c: (ev_view_button_press_event),
5029 (ev_view_motion_notify_event):
5031 Make selection work in any direction
5033 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5036 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5038 Use shorter labels for some of the toolbars items
5040 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5042 * pdf/xpdf/pdf-document.cc:
5044 Check the links info is initialized before
5045 using it. Should fix a crash on startup.
5047 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5049 * pixbuf/pixbuf-document.c
5050 (pixbuf_document_thumbnails_get_dimensions): force floating point
5051 division to calculate page_ratio. Fixes crash with landscape
5054 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5056 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5058 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5060 * shell/ev-view.c (set_document_page): unset has_selection when
5062 (set_document_page): handle paper size changes when the page
5063 changes (test with Free Culture, page 2).
5065 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5067 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5068 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5070 Use normal style color for the widget background and
5071 draw a black box around the page.
5073 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5075 * pdf/xpdf/pdf-document.cc:
5077 Keep offset in consideration in a few places
5079 * shell/ev-view.c: (expose_bin_window):
5081 Set the offsets so that the document is ever centered
5083 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5085 * TODO: Added TODO items and finished off the first todo item
5087 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5088 reflect current authors
5090 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5092 * pdf/xpdf/pdf-document.cc:
5093 * shell/ev-view.c: (ev_view_set_cursor),
5094 (ev_view_motion_notify_event), (document_changed_callback),
5095 (set_document_page):
5097 Show a wait cursor while the page is rendering
5099 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5101 * shell/ev-sidebar-thumbnails.c:
5102 (ev_sidebar_tree_selection_changed),
5103 (ev_sidebar_thumbnails_select_page):
5104 * shell/ev-sidebar-thumbnails.h:
5105 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5106 (ev_view_can_go_forward):
5107 * shell/ev-window.c: (ev_window_open_page),
5108 (ev_window_setup_document), (update_current_page),
5109 (view_page_changed_cb), (ev_window_init):
5110 * shell/ev-window.h:
5112 Ensure thumbnails selection, toolbar page control and
5113 current page are in sync.
5115 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5121 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5123 * backend/Makefile.am:
5124 * backend/ev-document-links.h:
5125 * backend/ev-document-security.c: (ev_document_security_get_type),
5126 (ev_document_security_has_document_security),
5127 (ev_document_security_set_password):
5128 * backend/ev-document-security.h:
5129 * backend/ev-document.c: (ev_document_error_quark):
5130 * backend/ev-document.h:
5132 * data/evince-password.glade:
5133 * pdf/xpdf/pdf-document.cc:
5134 * shell/Makefile.am:
5135 * shell/ev-password.c: (ev_password_set_bad_password_label),
5136 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5137 (ev_password_dialog_get_password),
5138 (ev_password_dialog_set_bad_pass):
5139 * shell/ev-password.h:
5140 * shell/ev-window.c: (ev_window_get_attribute),
5141 (ev_window_set_property), (update_action_sensitivity),
5142 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5143 (ev_window_setup_document), (ev_window_get_password),
5144 (ev_window_open), (ev_window_cmd_save_as),
5145 (using_postscript_printer), (ev_window_print),
5146 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5147 (update_fullscreen_popup), (ev_window_fullscreen),
5148 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5149 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5150 (menu_item_select_cb), (find_bar_search_changed_cb),
5151 (ev_window_dispose), (ev_window_init):
5153 Add initial support for password-supported dialogs. This could be
5154 a lot cooler, but it'll do for now.
5156 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5158 * pdf/xpdf/pdf-document.cc:
5159 * shell/ev-view.c: (status_message_from_link),
5160 (ev_view_set_status), (ev_view_set_cursor),
5161 (ev_view_motion_notify_event), (ev_view_init):
5162 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5164 Fix bugs in the links implementation and change cursor
5165 when hovering a link.
5167 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5169 * viewer/.cvsignore: added cvsignore file for viewer directory
5171 * TODO: created TODO document
5173 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5176 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5177 new functions to help with implementation of sensitivity code
5178 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5179 of all actions that might require it. Fixes a crash when you
5180 click on the Zoom actions in a window lacking a document.
5182 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5184 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5187 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5189 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5190 (pixbuf_document_document_iface_init):
5191 * ps/ps-document.c: (ps_document_get_link),
5192 (ps_document_document_iface_init):
5193 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5194 (status_message_from_link), (ev_view_set_status),
5195 (ev_view_set_find_status), (ev_view_motion_notify_event),
5196 (ev_view_button_release_event), (ev_view_set_property),
5197 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5198 (ev_view_get_find_status_message), (update_find_results),
5199 (ev_view_get_status), (ev_view_get_find_status):
5201 * shell/ev-window.c: (view_status_changed_cb),
5202 (view_find_status_changed_cb), (ev_window_init):
5204 View status message support, use it to show the links.
5207 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5209 * backend/ev-document.c: (ev_document_get_link):
5210 * backend/ev-document.h:
5211 * pdf/xpdf/pdf-document.cc:
5212 * shell/ev-application.c: (ev_application_open):
5213 * shell/ev-application.h:
5214 * shell/ev-sidebar-links.c: (selection_changed_cb):
5215 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5216 (ev_view_go_to_link):
5218 Add support for document links
5220 2005-01-13 Anders Carlsson <andersca@gnome.org>
5222 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5224 Set the spin button limits correctly.
5226 * shell/ev-sidebar-thumbnails.c:
5227 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5228 Support changing pages by clicking on the thumbnails.
5230 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5232 * pixbuf/pixbuf-document.c:
5233 (pixbuf_document_thumbnails_get_dimensions),
5234 (pixbuf_document_document_thumbnails_iface_init):
5236 implement get_dimensions
5238 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5240 * ps/ps-document.c: (ps_document_goto_page):
5242 Fix page switching on multipage documents
5244 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5246 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5248 check for NULL before assigning to width and height parameters
5250 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5252 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5253 (pixbuf_document_set_property), (pixbuf_document_get_property):
5255 implement get/set properties
5257 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5259 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5261 return NULL instead of "Unknown", letting the title get set to
5262 the filename when the pdf has no title.
5264 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5266 * ps/ps-document.c: (ps_document_get_page_count),
5267 (ps_document_goto_page):
5269 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5271 * shell/ev-history.c: (ev_history_get_property),
5272 (ev_history_set_property), (ev_history_class_init),
5273 (ev_history_add_page), (ev_history_set_current_index):
5274 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5275 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5276 (ev_navigation_action_finalize):
5277 * shell/ev-navigation-action.h:
5278 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5279 (ev_view_go_forward), (ev_view_get_find_status_message),
5280 (history_index_changed_cb), (ev_view_set_history):
5282 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5283 (update_current_page), (register_custom_actions):
5285 Implement history dropdowns
5287 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5289 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5290 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5291 (ev_view_go_forward):
5292 * shell/ev-window.c: (register_custom_actions):
5294 Fix several history bugs
5296 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5298 * configure.ac: Add «nb» to ALL_LINGUAS.
5300 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5302 * backend/Makefile.am:
5303 * backend/ev-bookmark.c:
5304 * backend/ev-bookmark.h:
5305 * backend/ev-document-bookmarks.c:
5306 * backend/ev-document-bookmarks.h:
5307 * backend/ev-document-links.c: (ev_document_links_get_type),
5308 (ev_document_links_has_document_links),
5309 (ev_document_links_begin_read), (ev_document_links_get_link),
5310 (ev_document_links_get_child), (ev_document_links_next),
5311 (ev_document_links_free_iter):
5312 * backend/ev-document-links.h:
5313 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5314 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5315 (ev_link_get_link_type), (ev_link_set_link_type),
5316 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5317 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5318 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5319 (ev_link_new_external):
5320 * backend/ev-link.h:
5321 * pdf/xpdf/pdf-document.cc:
5322 * shell/Makefile.am:
5323 * shell/ev-application.c: (ev_application_open_link):
5324 * shell/ev-application.h:
5325 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5326 (ev_history_get_link_nth):
5327 * shell/ev-history.h:
5328 * shell/ev-sidebar-bookmarks.c:
5329 * shell/ev-sidebar-bookmarks.h:
5330 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5331 (ev_sidebar_links_class_init), (selection_changed_cb),
5332 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5333 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5334 (do_one_iteration), (populate_links_idle),
5335 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5336 * shell/ev-sidebar-links.h:
5337 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5338 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5341 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5342 * shell/ev-window.h:
5344 Rename bookmark to link, and use "Index" for the sidebar panel.
5346 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5348 * shell/Makefile.am:
5349 * shell/ev-application.c: (ev_application_open_bookmark):
5350 * shell/ev-application.h:
5351 * shell/ev-history.c: (ev_history_init), (free_links_list),
5352 (ev_history_finalize), (ev_history_class_init),
5353 (ev_history_add_link), (ev_history_add_page),
5354 (ev_history_get_link_nth), (ev_history_get_n_links),
5355 (ev_history_get_current_index), (ev_history_set_current_index),
5357 * shell/ev-history.h:
5358 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5359 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5360 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5361 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5364 * shell/ev-window.c: (ev_window_open_bookmark),
5365 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5366 (goto_page_cb), (register_custom_actions):
5367 * shell/ev-window.h:
5369 Initial history implementation. Needs work.
5371 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5373 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5375 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5377 * cut-n-paste/recent-files/egg-recent-item.c:
5378 * cut-n-paste/recent-files/egg-recent-item.h:
5379 * cut-n-paste/recent-files/egg-recent-model.c:
5380 * cut-n-paste/recent-files/egg-recent-util.c:
5381 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5382 * cut-n-paste/recent-files/egg-recent-view.c:
5386 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5388 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5389 (fillGlyph, fillImageMask, drawImage):
5390 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5391 pdf/splash/SplashTypes.h:
5392 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5393 packed mode for Splash.
5395 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5396 RGB8 packed mode, eliminates the pixbuf data creation loop.
5398 * shell/ev-print-job.c (ev_print_job_finalize)
5399 (ev_print_job_set_property, ev_print_job_get_property)
5400 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5401 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5402 (print_closure_finalize, ev_print_job_print): implement
5403 printing (for backends with EvPsExporter)
5405 * shell/ev_print_job.h: update prototypes.
5407 * shell/ev-window.c (ev_window_print): unref print job after
5410 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5411 unless the document implements the EvDocumentFind interface.
5413 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5415 * configure.ac: Added ja to ALL_LINGUAS.
5417 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5419 * pdf/xpdf/pdf-document.cc:
5421 add a FIXME. We should probably not allocate
5422 a bookmark object every time
5424 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5426 * shell/ev-application.c: (ev_application_open),
5427 (ev_application_open_bookmark):
5428 * shell/ev-application.h:
5430 Add a way to open bookmarks
5432 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5433 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5434 (ev_bookmark_set_property), (ev_bookmark_class_init),
5435 (ev_bookmark_new_title), (ev_bookmark_new_link),
5436 (ev_bookmark_new_external):
5438 Support for external uris, better constructors.
5440 * backend/ev-bookmark.h:
5441 * pdf/xpdf/pdf-document.cc:
5442 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5444 Handle external uris
5446 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5448 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5449 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5451 Hook up bookmarks navigation
5453 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5455 * backend/Makefile.am:
5456 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5457 (ev_bookmark_get_title), (ev_bookmark_set_title),
5458 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5459 (ev_bookmark_get_page), (ev_bookmark_set_page),
5460 (ev_bookmark_get_property), (ev_bookmark_set_property),
5461 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5463 * backend/ev-bookmark.h:
5464 * backend/ev-document-bookmarks.c:
5465 (ev_document_bookmarks_get_bookmark):
5466 * backend/ev-document-bookmarks.h:
5467 * pdf/xpdf/pdf-document.cc:
5468 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5470 Add a bookmark object to the backend and use it instead of get_values
5472 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5474 * data/evince-ui.xml:
5476 Cleanup and add select all.
5478 * shell/ev-view.c: (ev_view_select_all),
5479 (ev_view_button_press_event):
5481 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5484 Clear selection on click.
5486 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5488 * shell/ev-sidebar-thumbnails.c
5489 (ev_sidebar_thumbnails_set_document): forgot to unref the
5492 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5494 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5495 at the visible page, not just linearly. This makes it look fast.
5497 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5499 * backend/ev-document-misc.c
5500 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5502 * backend/ev-document-thumbnails.h: New interface to get the size
5505 2005-01-06 Jeremy Katz <katzj@redhat.com>
5507 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5510 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5512 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5513 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5516 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5518 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5520 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5521 fonts. Should fix font problems on systems that have the base
5522 fonts in bitmap format. Reported by James Henstridge
5523 <james@jamesh.id.au>.
5525 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5528 * pdf/xpdf/GfxState.cc:
5530 Fix for CAN-2004-1125
5532 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5534 * shell/ev-view.c: (ev_view_copy):
5536 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5538 Implement Edit->Copy
5540 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5542 * backend/ev-document.c: (ev_document_get_text):
5543 * backend/ev-document.h:
5544 * pdf/xpdf/pdf-document.cc:
5545 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5546 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5547 (ev_view_update_primary_selection), (ev_view_button_press_event),
5548 (ev_view_motion_notify_event), (ev_view_button_release_event):
5550 Beginnings of clipboard support. Incomplete but primary sort
5553 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5555 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5556 (expose_bin_window):
5558 Nicer rubberband drawing, from GtkIconView.
5560 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5562 * backend/ev-document.c: (ev_document_save):
5563 * backend/ev-document.h:
5564 * data/evince-ui.xml:
5565 * pdf/xpdf/pdf-document.cc:
5566 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5568 Implement "Save a copy..." menu item
5570 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5572 * shell/ev-view.c: (ev_view_zoom):
5574 Queue a resize when zoom changes
5576 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5578 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5581 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5584 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5586 * pdf/xpdf/pdf-document.cc
5587 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5589 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5591 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5592 It's slow, but I'll speed it up next!
5594 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5596 * shell/main.c (load_files):
5598 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5599 from the command line and because it seems more appropriate.
5601 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5603 * data/evince-ui.xml:
5604 * shell/ev-window.c: (update_action_sensitivity),
5605 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5607 s/next page/page down
5608 s/previous page/page up
5610 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5612 * data/evince-ui.xml:
5614 Change the layout to match clarkbw design.
5616 * shell/Makefile.am:
5617 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5618 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5619 (ev_navigation_action_finalize),
5620 (ev_navigation_action_set_property),
5621 (ev_navigation_action_get_property),
5622 (ev_navigation_action_class_init):
5623 * shell/ev-navigation-action.h:
5625 Implement clarkbw toolbar navigation controls (incomplete)
5627 * shell/ev-page-action.c: (update_label), (update_spin),
5628 (value_changed_cb), (create_tool_item), (connect_proxy),
5629 (ev_page_action_init), (ev_page_action_finalize),
5630 (ev_page_action_set_property), (ev_page_action_get_property),
5631 (ev_page_action_set_current_page),
5632 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5633 * shell/ev-page-action.h:
5635 Implement a page switcher in the toolbar
5637 * shell/ev-view.c: (ev_view_scroll_view):
5638 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5639 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5640 (register_custom_actions), (ev_window_init):
5642 Change page on PageUp/Down.
5644 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5646 * pdf/xpdf/pdf-document.cc
5647 (pdf_document_thumbnails_get_thumbnail): initial stab at
5648 implementing thumbnail support for pdfs. It only does documents
5649 with precached pdfs now.
5651 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5653 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5654 thumbnail code into a time-based idle as well. Also, turn off the
5655 shadow temporarily as it's really slow.
5657 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5659 * backend/ev-document.c: (ev_document_class_init):
5660 * pdf/xpdf/pdf-document.cc:
5661 * shell/ev-window.c: (ev_window_open):
5663 Fix document title bugs and fallback to
5664 filename when not available.
5666 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5668 * backend/ev-document.c: (ev_document_get_type),
5669 (ev_document_class_init), (ev_document_load),
5670 (ev_document_get_title):
5671 * backend/ev-document.h:
5672 * pdf/xpdf/pdf-document.cc:
5673 * ps/ps-document.c: (ps_document_set_property),
5674 (ps_document_get_property), (ps_document_class_init),
5678 * shell/ev-window.c: (update_window_title), (ev_window_open),
5681 Initial support for document title. Not working yet.
5683 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5685 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5687 Grab focus on the view when clicking it
5689 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5691 * shell/ev-marshal.list:
5692 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5693 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5695 Add key bindings to the view. Now if the focus would work
5698 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5701 * backend/Makefile.am:
5704 * dvi/dvilib/Makefile.am:
5705 * pdf/xpdf/Makefile.am:
5711 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5713 * shell/ev-view.c: (ev_view_realize):
5715 Fix mouse wheel scrolling
5717 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5723 * ps/ps-document.c: (catchPipe), (ps_document_init),
5724 (ps_document_class_init), (ps_document_cleanup),
5725 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5726 (set_up_page), (close_pipe), (is_interpreter_ready),
5727 (interpreter_failed), (output), (input), (start_interpreter),
5728 (stop_interpreter), (file_length), (file_readable),
5729 (check_filecompressed), (check_pdf), (compute_xdpi),
5730 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5731 (ps_document_get_type), (ps_document_emit_error_msg),
5732 (document_load), (ps_document_next_page),
5733 (ps_document_get_current_page), (ps_document_get_page_count),
5734 (ps_document_goto_page), (ps_document_set_page_size),
5735 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5736 (ps_document_load), (ps_document_get_n_pages),
5737 (ps_document_set_page), (ps_document_get_page),
5738 (ps_document_widget_event), (ps_document_set_target),
5739 (ps_document_set_scale), (ps_document_set_page_offset),
5740 (ps_document_get_page_size), (ps_document_render),
5741 (ps_document_document_iface_init):
5744 * shell/ev-window.c: (ev_window_open):
5746 Rename GtkGS to PSDocument
5748 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5750 * ps/gtkgs.c: (gtk_gs_class_init):
5753 Some more leftover...
5755 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5757 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5758 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5759 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5762 Remove unused code and make a lot of stuff private
5764 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5766 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5767 (gtk_gs_defaults_changed):
5773 Cleanup headers dependencies
5775 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5780 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5782 * ps/gtkgs.c: (file_length), (file_readable),
5783 (check_filecompressed), (check_pdf), (gtk_gs_load),
5784 (gtk_gs_get_postscript):
5788 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5793 * ps/gtkgs.c: (gtk_gs_set_zoom):
5797 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5799 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5801 Ensure the page is rerendered when changing zoom
5803 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5805 * backend/ev-document.c: (ev_document_base_init),
5806 (ev_document_changed):
5807 * backend/ev-document.h:
5809 Add a changed event that is emitted when the page content
5810 changes. This is necessary to deal with the fact that
5811 in ps backend rendering happen asycrounously.
5812 This makes the ps backend mostly work.
5814 * pdf/xpdf/pdf-document.cc:
5818 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5819 (ps_document_set_target):
5823 * shell/ev-view.c: (document_changed_callback),
5824 (ev_view_set_document), (ev_view_set_page):
5826 Redraw on the changed signal
5828 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5830 * configure.ac: Added pt_BR to ALL_LINGUAS.
5832 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5834 * backend/ev-document-bookmarks.c:
5835 (ev_document_bookmarks_get_child): *
5836 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5837 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5838 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5839 (ev_sidebar_bookmarks_destroy),
5840 (ev_sidebar_bookmarks_class_init),
5841 (ev_sidebar_bookmarks_construct), (stack_data_free),
5842 (do_one_iteration), (populate_bookmarks_idle),
5843 (ev_sidebar_bookmarks_clear_document),
5844 (ev_sidebar_bookmarks_set_document): *
5845 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5846 (ev_sidebar_add_page),
5847 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5848 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5849 it displays both the topics and the page numbers.
5851 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5853 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5855 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5858 2004-12-23 Adam Weinberger <adamw@gnome.org>
5860 * configure.ac: Added en_CA to ALL_LINGUAS.
5862 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5864 * ChangeLog: replace bottom of this ChangeLog (merged history of
5865 ggv and gpdf; where all paths were wrong and most of the files are
5866 not even in this tree) with ChangeLog (from arch) of the shell
5869 2004-12-23 Havoc Pennington <hp@redhat.com>
5871 * shell/ev-window.c: hook up potentially-questionable "find
5872 results status text" feature - something involving the sidebar or
5873 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5874 might be better in the end.
5876 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5877 with corresponding signal when it should be updated
5879 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5881 2004-12-22 Havoc Pennington <hp@redhat.com>
5883 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5884 find stuff on other pages, sort of (only returns one result on
5885 invisible pages, to show they have results; updates full results
5886 for a page when you view it). Currently repaints the current page
5887 every time a new result is found on any page, which isn't so nice.
5889 2004-12-22 Havoc Pennington <hp@redhat.com>
5891 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5892 the document doesn't support find (better ideas?)
5893 (find_bar_search_changed_cb): handle missing document or document
5894 that doesn't support find
5896 * pdf/xpdf/pdf-document.cc: port to implement the new
5899 * backend/ev-document-find.c: create a new interface for searching
5901 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5903 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5905 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5908 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5909 EvPrintJob constructor arguments.
5911 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5912 for documents that can export PostScript (page by page).
5914 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5916 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5917 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5918 (pdf_document_ps_exporter_iface_init:
5919 Implement EvPSExporter.
5921 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5923 2004-12-22 Anders Carlsson <andersca@gnome.org>
5925 * backend/Makefile.am:
5926 * backend/ev-document-thumbnails.c:
5927 (ev_document_thumbnails_get_type),
5928 (ev_document_thumbnails_get_thumbnail):
5929 * backend/ev-document-thumbnails.h:
5930 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5931 (pixbuf_document_thumbnails_get_thumbnail),
5932 (pixbuf_document_document_thumbnails_iface_init):
5933 * shell/Makefile.am:
5934 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5935 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5936 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5937 * shell/ev-sidebar-thumbnails.h:
5938 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5939 (ev_sidebar_set_document):
5940 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5941 (create_shadow), (ev_pixbuf_add_shadow):
5943 Add thumbnail support.
5945 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5947 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5948 (using_postscript_printer): Set up a print dialog for "PostScript
5951 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5954 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5956 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5958 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5959 (ps_document_set_target), (ps_document_get_page_size),
5960 (ps_document_render):
5965 2004-12-22 Christian Rose <menthos@menthos.com>
5967 * configure.ac: Added "sv" to ALL_LINGUAS.
5969 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5971 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5972 document supports bookmarks.
5974 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5976 * ps/ggvutils.c: (ggv_file_readable):
5978 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5979 (gtk_gs_get_postscript):
5983 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5985 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5986 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5987 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5988 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5989 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5990 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5991 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5992 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5993 (gtk_gs_set_antialiasing), (ps_document_load),
5994 (ps_document_render):
5997 Another check point for the ps backend. Now I can get it to show
6000 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6002 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6003 document setting code.
6005 2004-12-22 Anders Carlsson <andersca@gnome.org>
6007 * shell/eggfindbar.c: (entry_activate_callback):
6008 Animate the next button when activate is pressed.
6010 2004-12-22 Anders Carlsson <andersca@gnome.org>
6012 * shell/ev-window.c: (ev_window_cmd_edit_find),
6013 (update_fullscreen_popup), (ev_window_fullscreen),
6014 (ev_window_unfullscreen), (ev_window_state_event_cb),
6015 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6016 Fix bugs in fullscreen code.
6018 2004-12-22 Anders Carlsson <andersca@gnome.org>
6022 * pixbuf/Makefile.am:
6023 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6024 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6025 (pixbuf_document_set_page), (pixbuf_document_get_page),
6026 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6027 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6028 (pixbuf_document_render), (pixbuf_document_begin_find),
6029 (pixbuf_document_end_find), (pixbuf_document_finalize),
6030 (pixbuf_document_class_init),
6031 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6032 * pixbuf/pixbuf-document.h:
6033 * shell/Makefile.am:
6034 * shell/ev-application.c: (ev_application_open):
6035 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6039 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6042 * dvi/dvilib/Makefile.am:
6044 * configure.ac: Auto*ify dvi and dvi/dvilib
6046 * dvi/Makefile: Remove from CVS
6048 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6051 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6053 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6055 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6058 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6059 (gtk_gs_value_adjustment_changed), (compute_size),
6060 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6061 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6062 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6063 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6064 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6065 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6066 (ps_document_load), (ps_document_get_n_pages),
6067 (ps_document_set_page), (ps_document_get_page),
6068 (ps_document_set_target), (ps_document_set_scale),
6069 (ps_document_set_page_offset), (ps_document_get_page_size),
6070 (ps_document_render), (ps_document_begin_find),
6071 (ps_document_end_find), (ps_document_document_iface_init):
6073 * shell/Makefile.am:
6074 * shell/ev-window.c: (ev_window_open):
6076 Some work to integrate gtkgs with EvDocument
6078 2004-12-22 Anders Carlsson <andersca@gnome.org>
6080 * shell/ev-window.c: (update_fullscreen_popup),
6081 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6082 (exit_fullscreen_button_clicked_cb),
6083 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6084 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6085 (ev_window_state_event_cb), (ev_window_init):
6086 Add fullscreen support from Epiphany.
6088 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6090 * data/ev-stock-zoom-fit-width.png: fit-width
6091 stock icon from gpdf.
6093 * shell/ev-stock-icons.[ch]: copied from gpdf.
6095 * shell/main.c: (main): init stock icons.
6097 * shell/ev-window.c: use the fit-width icon.
6099 * data/evince-ui.xml: add zooming toolbar items.
6101 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6104 (ev_view_best_fit), (ev_view_fit_width): because
6105 get_page_size() returns the scaled page size, we
6106 need to calculate the scale factor relative to
6107 the previous scale factor. Should really just
6108 add get_real_page_size().
6110 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6112 * shell/ev-view.[ch]:
6113 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6114 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6117 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6118 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6119 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6122 * pdf/xpdf/pdf-document.cc:
6123 (pdf_document_begin_find),
6124 (pdf_document_end_find): make static.
6126 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6128 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6130 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6131 names to fontconfig patterns.
6132 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6134 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6137 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6153 Import ggv backend. Not hooked up yet.
6155 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6157 * shell/main.c: (load_files), (main): load files
6158 from the command line.
6160 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6162 * configure.ac: don't require bonobo.
6164 * cut-n-paste/recent-files/*: kill bonobo recent
6167 * shell/ev-window.c:
6168 (ev_window_is_empty): upd.
6169 (unable_to_load), (ev_window_open): load backend
6170 based on the mime type.
6172 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6174 * backend/.cvsignore: ignore generated marshalers source.
6176 * shell/main.c (main): this is not epiphany.
6178 2004-12-22 Havoc Pennington <hp@redhat.com>
6180 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6181 (expose_bin_window): draw find highlights
6183 * shell/ev-window.c (find_bar_search_changed_cb): implement
6185 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6186 (pdf_document_end_find): implement this interface
6188 * backend/ev-document.c (ev_document_found): add this to emit
6191 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6193 * data/evince-ui.xml: Add a few more toolbar items.
6195 * shell/ev-window.c: Hook up page navigation toolbar
6198 * shell/ev-view.[ch]: add ev_view_set/get_page and
6199 a page-changed signal.
6201 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6202 Add ev_document_get_page().
6204 * shell/ev-window.c: Sensitize/desensitize navigation
6207 2004-12-21 Havoc Pennington <hp@redhat.com>
6209 * backend/ev-backend-marshal.c,
6210 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6211 marshaler-generator thingy. I'm sure there's a better way to do
6212 this in the modern world.
6214 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6215 end_find methods and "found" signal.
6217 * configure.ac: find glib-genmarshal
6219 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6221 * shell/ev-sidebar.c: Construct an actual sidebar.
6222 * shell/ev-sidebar-bookmarks.[ch]:
6223 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6225 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6227 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6230 * shell/ev-view.c: Track the size from the document.
6232 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6234 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6235 constructor assumes ownership of the string passed in.
6237 * shell/ev-window.c (ev_window_open): Destroy the error
6238 dialog once we've displayed it.
6240 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6242 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6243 a bit, it works! (sort of)
6245 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6246 Move to .cc since we need to use C++ in the implementation.
6248 * shell/dummy.cc: Add a CC file to force evince
6249 to be linked as a C++ program.
6251 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6253 * shell/ev-view.[ch]: Start of content-area widget.
6255 * shell/ev-window.c: Create a EvView, update it
6256 as we change documents.
6258 * shell/Makefile.am shell/ev-marshal.list: Add
6259 generated marshalers.
6261 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6263 * Makefile.am (SUBDIRS): move shell.
6265 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6267 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6268 .a to libtool convenience libraries.
6270 * shell/ev-window.c (ev_window_open): Hard code loading
6273 * backend/ev-document.h: Add a boolean return to load(),
6274 fix GError * to GError **.
6276 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6277 object for a PDF backend EvDocument.
6279 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6281 * dvi/*: New directory with the beginning of a .dvi backend.
6283 2004-12-21 Havoc Pennington <hp@redhat.com>
6285 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6286 previous/next instead of back/forward
6288 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6290 * backend/ev-document.[ch]: Fix a couple of problems so
6293 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6295 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6296 to backend/ directory, rename EvViewer to EvDocument.
6298 2004-12-21 Havoc Pennington <hp@redhat.com>
6300 * shell/ev-window.c: hook up the find bar widget; now we just need
6301 a document to find things in
6303 * shell/eggfindbar.c: a find bar widget
6305 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6307 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6309 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6311 * pdf/**: Import of xpdf code from gpdf.
6313 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6315 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6316 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6317 Fix FreeType includes.
6319 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6320 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6321 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6322 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6323 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6324 Include xpdfconfig.h
6326 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6328 * shell/ev-window.c (ev_window_dispose): dispose can be called
6331 2004-12-21 Havoc Pennington <hp@redhat.com>
6333 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6336 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6337 items; really they should be synced with the strings, etc. from
6338 current gpdf, but just getting the boring typing out of the way
6340 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6343 * shell/ev-application.c: (window_destroy_cb):
6344 * shell/ev-window.c:
6345 * shell/main.c: (main):
6347 Actually show the window...
6349 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6352 * shell/Makefile.am:
6353 * shell/ev-application.c: (ev_application_class_init):
6354 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6358 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6360 Import to gnome cvs.
6362 * Remove copies of gpdf and ggv trees.
6363 * Rip out all the recursive configure code.
6364 * Remove bonobo machinery.
6365 * viewer/*: GInterfaces that backends should/can implement.
6367 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6369 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6372 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6374 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6375 (ev_application_finalize, ev_application_class_init)
6376 (ev_application_init): use GType instance private data for priv.
6378 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6379 (ev_window_finalize, ev_window_class_init)
6380 (ev_window_init): ditto.
6382 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6384 * shell/ev-application.c (ev_application_new_window): make public
6385 (ev_application_show_initial_window): kill.
6387 * shell/ev-application.h: update prototypes.
6389 * shell/main.cc (main): inline ev_application_show_initial_window.
6391 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6393 * shell/ev-application.c (ev_application_new_window): impl.
6394 (ev_application_show_initial_window): use it.
6395 (is_window_empty, ev_application_get_empty_window): returns an
6396 existing empty window or a new one.
6397 (ev_application_open): from ev_window_cmd_file_open.
6399 * shell/ev-application.h: update prototypes
6401 * shell/ev-window.c (ev_window_is_empty): impl.
6402 (ev_window_open): make public.
6403 (ev_window_cmd_file_open): use ev_application_open
6405 * shell/ev-window.h: update prototypes, remove unused.
6407 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6409 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6410 move destroy handler out of here...
6412 * shell/ev-application.c, shell/ev-application.h: ...into this new
6413 class. Also handles initial window creation.
6415 * shell/main.cc (main): use EvApplication to create initial
6418 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6420 * Makefile.am (SUBDIRS): add cut-n-paste
6422 * cut-n-paste/Makefile.am: add
6424 * configure.ac: generate Makefiles in cut-n-paste
6426 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6428 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6429 (ev_window_class_init): install ev_window_dispose.
6431 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6433 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6434 char (gchar looks stupid).
6436 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6438 * po/de.po: updated German translation.
6440 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6442 * configure.ac: add more pkg-config library checks for gnome-vfs,
6445 * gpdf/configure.in: temporarily disable libpaper
6446 checks. Otherwise I'd have to add the checks for the shell, too.
6448 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6450 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6451 and * file filters to the file choose.
6453 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6455 * po/de.po: Updated German translation.
6457 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6459 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6461 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6463 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6465 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6466 (ev_window_init): implement those menuitems.
6468 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6470 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6472 * shell/ev-window.c (ev_window_init): use the toolbar.
6474 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6476 * shell/ev-window.c (ev_window_init): use menu translations
6478 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6480 * configure.ac: add "de" to ALL_LINGUAS.
6482 * po/de.po: add German translation.
6484 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6486 * Makefile.am (SUBDIRS): add po
6488 * configure.ac: check intltool, glib-gettext etc, generate
6491 * po, po/POTFILES.in, po/POTFILES.skip: new.
6493 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6495 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6496 already use (#ifdef ENABLE_NLS)
6498 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6499 pointer indirection thinko.
6501 * shell/main.c: include gi18n.h for bindtextdomain etc.
6503 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6505 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6506 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6507 tooltips for menu items in the statusbar.
6509 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6511 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6512 pkgdatadir drop UIDIR
6514 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6516 * data/evince-ui.xml: Add File->Open menu item
6518 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6519 chooser), hook it up in the ui manager.
6521 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6523 * shell/ev-window.c: fix Help->About tooltip.
6525 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6527 * configure.ac: set CFLAGS for libevprivate.
6529 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6530 definitions, factory etc.
6532 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6534 * shell/Makefile.am: link against libevprivate.a.
6536 * shell/ev-window.c (entries): add stock icon to Help->About.
6538 * shell/main.c (main): init stock icon code.
6540 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6542 * lib/recent-files: egg recent files code
6544 * lib/Makefile.am: add.
6546 * Makefile.am: add lib subdir.
6548 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6549 set CFLAGS for recent-files.
6551 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6553 * configure.ac: disable -ansi and -pedantic gcc flags. They
6554 disable POSIX stuff in stdio.h, but egg-recent uses them.
6556 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6558 * configure.ac: add --disable-deprecated flag (defaults to on in
6561 * shell/Makefile.am (INCLUDES): use it.
6563 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6565 * shell/main.c: add missing #include.
6567 * shell/ev-window.c: fix for pedantic gcc.
6568 (ev_window_cmd_help_about): split license into paragraphs for
6569 translators and pedantic compilers.
6571 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6573 * configure.ac: add more warning flags if compiling with gcc from
6574 cvs (or explicitly requested with --enable-more-warnings).
6576 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6578 * data/evince-ui.xml: add File and File->Close menu.
6580 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6581 (ev_window_destroy): quit after destroy.
6582 (ev_window_class_init): override GtkObject::destroy.
6583 (entries): install close_window callback.
6585 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6587 * Makefile.am (SUBDIRS): add data subdir.
6589 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6590 gtk+ 2.5.0 for GtkAboutDialog.
6592 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6595 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6597 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6599 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6601 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6603 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6605 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6607 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6609 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6611 * shell/*: Added shell directory boilerplate, build it.
6613 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6615 * configure.ac, Makefile.am: Added top-level configure.ac and