1 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
10 Add ev-application-service.xml to extra dist
12 * shell/ev-view.c: (find_page_at_location):
14 Remove unused function (fix warning)
16 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
18 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
19 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
21 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
24 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
26 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
30 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
32 * configure.ac: Update script to get dbus version.
33 Fix for the bug #313443.
35 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
37 * shell/ev-window.c: (ev_window_cmd_escape):
39 Return focus back to view on escape. Fix for bug 313295.
41 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
43 * shell/ev-window.c: (update_window_title),
44 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
45 (ev_window_cmd_save_as):
47 Correct conversion from uri to displayable string. Fix for
50 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
52 * ps/ps-document.c: convert filename to utf8 when there is an error
53 loading document. Fixes #309915
55 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
59 We depend on poppler 0.4.0
61 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
64 * NEWS: Release 0.3.3.
65 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
67 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
69 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
70 add a couple missing mnemonics to menu items, use title
71 capitalization for menu items and window titles, and add
72 ellipsis to open menu item.
74 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
77 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
78 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
79 (ev_view_get_rotation):
81 * shell/ev-window.c: (setup_view_from_metadata),
82 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
83 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
86 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
88 * configure.ac: Added tr to ALL_LINGUAS
90 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
92 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
93 requires several clicks to find word. Thanks to
94 Colin Slater <kiltedtaco@gmail.com>.
96 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
98 * data/evince.desktop.in.in: Hide menu entry and
99 rename it to "Document Viewer". Fix for bug
102 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
104 * shell/ev-page-action.c (ev_page_action_class_init):
106 Point to the correct function in constructor of the
107 activate_label signal
109 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
111 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
112 * shell/ev-jobs.h: Make thread safe.
114 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
116 * shell/ev-view.c: (view_update_range_and_current_page):
117 Don't update page range if we are scrolling to some document
120 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
122 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
123 when getting max_page_width, fix drawing in dual mode.
125 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
127 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
128 getting the area for select_all.
130 2005-08-06 Kristian Høgsberg <krh@redhat.com>
132 * backend/ev-selection.c: (ev_selection_render_selection):
133 * backend/ev-selection.h:
135 * shell/ev-jobs.c: (ev_job_render_new):
137 * shell/ev-pixbuf-cache.c: (get_selection_colors),
138 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
139 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
140 (ev_view_class_init):
142 Change selection color on focus in and focus out events. Also,
143 poppler now uses GdkColor for specifying the selection colors, so
144 drop some awkward conversion code.
146 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
148 * configure.ac: Added Hebrew translation
150 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
153 * backend/ev-selection.c: (ev_selection_render_selection):
154 * backend/ev-selection.h:
156 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
159 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
160 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
161 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
162 (ev_pixbuf_cache_style_changed),
163 (ev_pixbuf_cache_get_selection_pixbuf),
164 (ev_pixbuf_cache_set_selection_list),
165 (ev_pixbuf_cache_get_selection_list):
166 * shell/ev-pixbuf-cache.h:
167 * shell/ev-utils.c: (ev_print_region_contents):
169 * shell/ev-view.c: (ev_view_queue_draw_page),
170 (selection_update_idle_cb), (ev_view_motion_notify_event),
171 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
172 (setup_caches), (ev_view_find_next), (merge_selection_region),
174 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
176 Clean up selection to be much smoother!
178 2005-08-05 Kristian Høgsberg <krh@redhat.com>
180 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
181 to poppler_page_render_selection().
183 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
185 * ps/ps-document.c: (save_page_list): Use
186 unzipped document when printing. Thanks to
187 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
190 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
192 * shell/ev-window.c: (update_action_sensitivity):
194 Disable print and save respect to lockdown gconf keys. Fix
197 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
200 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
201 (write_to_temp_file), (ev_file_set_contents):
203 * shell/ev-window.c: (save_print_config_to_file):
205 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
208 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
210 * shell/ev-window.c: (load_print_config_from_file),
211 (save_print_config_to_file), (ev_window_print_range):
213 Persist the print settings. Fixes bug #311578.
215 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
217 * djvu/djvu-document.c: (djvu_document_get_page_size),
218 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
219 (djvu_document_thumbnails_get_thumbnail):
220 * dvi/dvi-document.c: (dvi_document_get_page_size),
221 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
222 (dvi_document_thumbnails_get_dimensions),
223 (dvi_document_thumbnails_get_thumbnail):
224 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
225 (pixbuf_document_render_pixbuf),
226 (pixbuf_document_document_iface_init),
227 (pixbuf_document_thumbnails_get_thumbnail):
229 Update backends to make them build with new rotation system.
231 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
233 * help/C/figures/evince_start_window.png:
235 Update documentation image from Luca Ferretti <elle.uca@libero.it>
237 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
239 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
240 * shell/ev-pixbuf-cache.h:
241 * shell/ev-sidebar-thumbnails.c:
242 (ev_sidebar_thumbnails_get_property), (add_range),
243 (adjustment_changed_cb):
244 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
245 pixbuf cache. Make thumbnailing work again. Also, fix bug where
246 we were thumbnailing the entire docment on startup, slowing us
249 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
251 * shell/ev-page-cache.c: (ev_page_cache_new):
252 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
255 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
257 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
258 (ev_view_rotate_left):
260 Account rotation in doc_rect_to_view_rect.
261 Ensure rotation doesnt go out of bounds.
263 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
265 * shell/ev-page-cache.c: (ev_page_cache_get_size):
267 Correct and cleanup w/h swapping
269 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
271 * backend/ev-document-thumbnails.c:
272 (ev_document_thumbnails_get_thumbnail):
273 * backend/ev-document-thumbnails.h:
274 * backend/ev-document.c:
275 * backend/ev-document.h:
276 * backend/ev-render-context.c: (ev_render_context_new),
277 (ev_render_context_set_rotation):
278 * backend/ev-render-context.h:
280 * ps/ps-document.c: (ps_document_document_iface_init):
281 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
283 * shell/ev-page-cache.c: (build_height_to_page),
284 (ev_page_cache_new), (ev_page_cache_get_size),
285 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
286 (ev_page_cache_get_height_to_page):
287 * shell/ev-page-cache.h:
288 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
289 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
290 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
291 (ev_pixbuf_cache_get_selection_pixbuf):
292 * shell/ev-pixbuf-cache.h:
293 * shell/ev-print-job.c: (idle_print_handler):
294 * shell/ev-sidebar-thumbnails.c: (add_range):
295 * shell/ev-view.c: (view_update_range_and_current_page),
296 (get_page_y_offset), (get_page_extents),
297 (ev_view_size_request_continuous_dual_page),
298 (ev_view_size_request_continuous),
299 (ev_view_size_request_dual_page),
300 (ev_view_size_request_single_page), (draw_one_page),
301 (ev_view_set_rotation), (ev_view_rotate_right),
302 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
303 (ev_view_zoom_for_size_continuous_and_dual_page),
304 (ev_view_zoom_for_size_continuous),
305 (ev_view_zoom_for_size_dual_page),
306 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
307 (ev_view_select_all):
308 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
309 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
310 (tiff_document_document_iface_init),
311 (tiff_document_thumbnails_get_thumbnail):
313 Use rotation rather than orientation. It's easier and enough
316 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
318 * shell/ev-page-cache.c: (build_height_to_page),
319 (ev_page_cache_new), (ev_page_cache_get_size),
320 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
321 (ev_page_cache_get_height_to_page):
322 * shell/ev-page-cache.h:
323 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
324 (ev_view_size_request_continuous_dual_page),
325 (ev_view_size_request_continuous),
326 (ev_view_zoom_for_size_continuous_and_dual_page),
327 (ev_view_zoom_for_size_continuous):
329 Make the page cache aware of page orientation.
331 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
333 * backend/ev-document-thumbnails.c:
334 (ev_document_thumbnails_get_thumbnail):
335 * backend/ev-document-thumbnails.h:
336 * backend/ev-document.c:
337 * backend/ev-document.h:
338 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
339 * backend/ev-ps-exporter.h:
341 * ps/ps-document.c: (ps_document_document_iface_init),
342 (ps_document_ps_export_do_page):
343 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
345 * shell/ev-page-cache.c: (ev_page_cache_get_size),
347 * shell/ev-page-cache.h:
348 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
349 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
350 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
351 * shell/ev-pixbuf-cache.h:
352 * shell/ev-print-job.c: (idle_print_handler):
353 * shell/ev-sidebar-thumbnails.c: (add_range):
354 * shell/ev-view.c: (view_update_range_and_current_page),
355 (get_page_extents), (ev_view_size_request_dual_page),
356 (ev_view_size_request_single_page), (draw_one_page),
357 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
358 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
359 (ev_view_zoom_for_size_dual_page),
360 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
361 (ev_view_select_all):
362 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
363 * tiff/tiff-document.c: (tiff_document_get_page_size),
364 (tiff_document_get_orientation), (rotate_pixbuf),
365 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
366 (tiff_document_thumbnails_get_thumbnail),
367 (tiff_document_ps_export_do_page), (tiff_document_init):
369 Really make use of the orientation bit of the render context.
370 Use the render context in a few more places in the backend API.
371 This regress orientation, but now it's done right. Will try to
374 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
376 * shell/ev-view.c: (ensure_rectangle_is_visible):
378 Patch by Nickolay V. Shmyrev to fix find flickering
380 2005-07-27 Martin Kretzschmar <martink@gnome.org>
382 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
383 duplex parameters to ::begin.
385 * tiff/tiff-document.c (tiff_document_ps_export_begin):
386 * shell/ev-print-job.c (idle_print_handler):
387 * ps/ps-document.c (ps_document_ps_export_begin):
388 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
389 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
390 implementations. Poppler backend needs poppler cvs. Rest has
393 2005-07-25 Martin Kretzschmar <martink@gnome.org>
395 * shell/ev-window.c (using_pdf_printer): new function.
396 (ev_window_print_range): print a less techy message if someone
397 tries to print to PDF.
399 2005-07-25 Martin Kretzschmar <martink@gnome.org>
401 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
402 from "unknown font" string. Bug #311431
404 2005-07-24 Martin Kretzschmar <martink@gnome.org>
406 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
408 2005-07-24 Martin Kretzschmar <martink@gnome.org>
412 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
413 name for PopplerFontTypes
414 (pdf_document_fonts_fill_model): add font type to the detail column
416 * backend/ev-document-fonts.h: added
417 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
419 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
420 font name and font details, add a little markup.
421 (ev_properties_fonts_init): use the new cell data func, specify ypad
422 property for the cell renderer.
423 (ev_properties_fonts_set_document): add the details column.
425 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
427 * configure.ac: Added "pl" to ALL_LINGUAS.
429 2005-07-24 Danilo Šegan <danilo@gnome.org>
431 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
433 2005-07-23 Tommi Vainikainen <thv@iki.fi>
435 * help/ChangeLog: Started this for translations of manual.
436 * configure.ac, autogen.sh, .cvsignore: Migrated to
437 gnome-doc-utils. Patch in bug #311222.
439 2005-07-22 Martin Kretzschmar <martink@gnome.org>
441 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
442 #ifdef this away to fix an unused-function warning.
444 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
446 * configure.ac: Added 'gl' to ALL_LINGUAS.
448 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
450 * configure.ac: Added ne in ALL_LINGUAS
452 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
454 * shell/ev-view.c: (ev_view_leave_notify_event):
456 Clear status message when pointer leaves view. Fix for bug
459 2005-07-20 Ankit Patel <ankit644@yahoo.com>
461 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
463 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
465 * shell/ev-view.c: (ev_view_leave_notify_event),
466 (ev_view_class_init):
468 Set cursor to normal then leaving view.
470 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
474 Fix required djvulibre version.
476 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
478 *configure.ac: Hindi (hi) language added
480 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
482 *configure.ac: Punjabi (pa) Language added
484 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
486 * data/evince-ui.xml, shell/ev-window.c:
488 Add keypad accelerators for zooming. Fix for bug 308128.
490 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
493 * backend/Makefile.am:
494 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
496 * shell/ev-document-types.c: (ev_document_types_add_filters):
498 Allow to enable/disable the pixbuf backend.
499 Default to off for now. If we want it enabled we should
500 really put mime types in the desktop, implement properties etc.
502 * properties/evince-properties.c:
504 Initialize error to NULL.
505 Check error is not NULL before freeing.
507 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
511 Use F5 as presentation accell
513 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
515 * shell/ev-window.c: (update_chrome_visibility),
516 (ev_window_create_fullscreen_popup), (ev_window_init):
518 Do not leak the fullscreen toolbar
520 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
522 * shell/ev-window.c: (view_actions_focus_in_cb),
523 (view_actions_focus_out_cb):
525 These has a return value! Fix totally random focus
526 issues we was seeing.
528 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
530 * shell/main.c: (load_files_remote):
532 Allow open more than one file
534 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
536 * shell/main.c: (load_files_remote):
538 Fix for dbus 0.33. bug #309975
540 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
542 * properties/ev-properties-main.c: (ev_properties_get_pages):
544 Actually return NULL for types we dont support
546 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
552 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
554 * backend/ev-document-factory.c:
555 (ev_document_factory_get_document):
557 Do not try to create the object if type
560 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
562 * ps/ps-document.c: (ps_document_dispose),
563 (ps_async_renderer_render_pixbuf):
566 Do not leak the target window
568 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
570 * shell/ev-application.c: (ev_application_init):
572 Let tbe check file existence for us.
573 Add a comment about eggrecent mime filter.
575 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
577 * data/evince-ui.xml:
578 * shell/ev-application.c: (ev_application_shutdown),
579 (ev_application_init), (ev_application_get_toolbars_model),
580 (ev_application_get_recent_model),
581 (ev_application_save_toolbars_model):
582 * shell/ev-application.h:
583 * shell/ev-window.c: (ev_window_add_recent),
584 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
585 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
588 Use common toolbar and recent models for all windows.
589 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
591 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
593 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
594 successfully check for gtk_icon_view_get_visible_range.
596 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
601 Fix djvu and dvi backend build.
603 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
605 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
606 (new_separator_pixbuf):
610 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
612 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
614 HIGification of toolbar editor dialogue.
616 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
621 Ever build metadata manager since it's just
622 disabled at runtime now.
624 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
626 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
627 (ev_metadata_manager_get), (ev_metadata_manager_set):
628 * shell/ev-metadata-manager.h:
630 Add an _init functions that enabled metadata management
633 * shell/ev-window.c: (page_changed_cb),
634 (setup_document_from_metadata), (ev_window_setup_document),
635 (setup_view_from_metadata), (ev_window_open_uri),
636 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
637 (ev_window_run_presentation), (ev_window_stop_presentation),
638 (save_sizing_mode), (ev_window_zoom_changed_cb),
639 (ev_window_continuous_changed_cb),
640 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
641 (window_configure_event_cb):
643 Remove all ugly metadata define since we deal with it
646 * shell/main.c: (load_files_remote), (main):
648 Add support for dbus cvs head. Hopefully didnt break one
649 of the other versions now!
651 If we dont get a response from the dbus server just
652 give up with it and not enable metadata.
654 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
657 * backend/Makefile.am:
659 * cut-n-paste/recent-files/Makefile.am:
660 * cut-n-paste/toolbar-editor/Makefile.am:
661 * cut-n-paste/zoom-control/Makefile.am:
664 * pixbuf/Makefile.am:
665 * properties/Makefile.am:
668 * thumbnailer/Makefile.am:
671 Make frontends depend on just libev.
672 Rework and group CFLAGS/LIBS definitions.
675 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
679 do not unnecessarily save zoom
682 * lib/ev-file-helpers.c: (ev_dot_dir):
688 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
692 Remove unnecessary dependencies
694 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
696 * properties/Makefile.am:
697 * thumbnailer/Makefile.am:
700 Some more cleanups. Was really necessary
701 but I probably introduced bugs, feel free
704 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
706 * backend/Makefile.am:
708 * cut-n-paste/recent-files/Makefile.am:
709 * cut-n-paste/toolbar-editor/Makefile.am:
710 * cut-n-paste/zoom-control/Makefile.am:
713 * pixbuf/Makefile.am:
714 * properties/Makefile.am:
717 * thumbnailer/Makefile.am:
720 Use gnome-common macros when possible.
721 Cleanup dependencies.
722 Actually disable deprecated where possible.
724 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
727 * backend/Makefile.am:
728 * properties/Makefile.am:
730 * thumbnailer/Makefile.am:
732 This should solve the circular dep without
735 * shell/ev-window.c: (setup_view_from_metadata):
737 Never restore window size/position when the
738 window is already visible.
740 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
742 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
744 Return a boolean from timeout func. Fix ported from gedit.
746 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
748 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
750 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
752 * shell/ev-document-types.c: set "All Documents" as default filter in
755 2005-07-06 Martin Kretzschmar <martink@gnome.org>
757 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
758 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
759 (ev_metadata_manager_set_boolean): fix value/val thinko.
761 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
763 * shell/ev-window.c: (setup_view_from_metadata),
764 (window_state_event_cb), (window_configure_event_cb),
767 Remember window position and maximized state
769 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
773 Fix DBUS configure checks.
775 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
776 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
777 (ev_metadata_manager_set_boolean):
781 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
782 (ev_window_stop_fullscreen), (ev_window_run_presentation),
783 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
784 (ev_window_continuous_changed_cb),
785 (ev_window_dual_mode_changed_cb), (ev_window_new):
787 Fix the build without DBUS.
789 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
791 * shell/ev-metadata-manager.c: (parse_value), (save_values),
792 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
793 (ev_metadata_manager_set_string),
794 (ev_metadata_manager_set_boolean):
795 * shell/ev-metadata-manager.h:
797 Add support for some more types
799 * shell/ev-view.c: (scroll_to_current_page),
800 (ev_view_get_continuous), (ev_view_set_continuous),
801 (ev_view_get_dual_page):
803 * shell/ev-window.c: (page_changed_cb),
804 (setup_document_from_metadata), (ev_window_setup_document),
805 (setup_view_from_metadata), (ev_window_open_uri),
806 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
807 (ev_window_run_presentation), (ev_window_stop_presentation),
808 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
809 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
810 (ev_window_update_dual_page_action),
811 (ev_window_continuous_changed_cb),
812 (ev_window_dual_mode_changed_cb), (ev_window_init):
814 Remember a bunch of view/document properties. Prolly some
815 are still missing but it's getting interesting.
817 2005-07-05 Martin Kretzschmar <martink@gnome.org>
819 * configure.ac: check if dbus-binding-tool is installed. Not the
820 case on current Ubuntu breezy, it seems.
822 2005-07-05 Luca Ferretti <elle.uca@libero.it>
824 * data/evince.desktop.in.in:
826 Allow open uri lists and add TryExec field.
828 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
832 Enable dbus when available, do not require a configure
835 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
839 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
842 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
843 Marco Pesenti Gritti <mpg@redhat.com>
845 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
847 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
848 functions to the format required by dbus
850 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
851 errors. Use the RPC parameters in the expected way
853 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
856 * properties/Makefile.am:
857 * properties/ev-properties-main.c: (ev_properties_get_pages):
859 Support all mime types
862 * thumbnailer/Makefile.am:
863 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
864 (evince_thumbnail_pngenc_get):
866 Use the document factory
868 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
870 * backend/Makefile.am:
871 * backend/ev-document-factory.c:
872 (mime_type_supported_by_gdk_pixbuf),
873 (ev_document_type_get_from_mime),
874 (ev_document_factory_get_document),
875 (ev_document_factory_get_backend),
876 (ev_document_factory_get_mime_types),
877 (ev_document_factory_get_all_mime_types):
878 * backend/ev-document-factory.h:
880 * shell/ev-document-types.c: (get_document_from_uri),
881 (ev_document_types_get_document),
882 (file_filter_add_mime_list_and_free),
883 (ev_document_types_add_filters):
884 * shell/ev-document-types.h:
885 * shell/ev-job-xfer.c: (ev_job_xfer_run):
886 * shell/ev-properties-dialog.c:
887 (ev_properties_dialog_set_document):
888 * shell/ev-window.c: (ev_window_cmd_file_open),
889 (ev_window_cmd_save_as):
890 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
892 Rework document types managing to avoid code duplication
893 and actually abstract from backend implementations.
894 Also provide a minimal factory api that can be used by
895 thumbnailer/properties.
897 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
899 * properties/ev-properties-view.c: (ev_properties_view_set_info):
901 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
904 2005-07-04 Matthew S. Wilson <msw@rpath.com>
906 * shell/ev-properties-dialog.c
907 (ev_properties_dialog_set_document): only call
908 ev_properties_fonts_set_document() if the document implements the
911 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
914 * properties/Makefile.am:
915 * properties/ev-properties-view.c:
916 (ev_properties_view_register_type):
917 * properties/ev-properties-view.h:
918 * properties/ev-properties-main.h:
920 Implement nautilus plugin for properties.
921 Works only for pdf atm, I need to rework the
922 document types stuff to get this to work
925 2005-07-04 Martin Kretzschmar <martink@gnome.org>
927 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
928 (ev_properties_fonts_set_document): use
929 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
931 2005-07-04 Matthew S. Wilson <msw@rpath.com>
933 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
935 (PlaceImage, tiff2ps_process_page): use
936 g_ascii_dtostr to convert floats to strings in a locale-safe way.
939 2005-07-04 Martin Kretzschmar <martink@gnome.org>
941 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
942 (main): to call gnome_authentication_manager_init. Should fix
945 * configure.ac: that requires libgnomeui 2.6.0.
947 2005-07-04 Matthew S. Wilson <msw@rpath.com>
949 * tiff/tiff-document.c (tiff_document_ps_export_begin)
950 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
951 use the new tiff2ps interfaces
953 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
954 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
956 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
957 structure instead of global variables. Remove use of static
958 variables in functions.
960 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
962 * shell/ev-page-action.c: unref the completion after setting it to the
965 2005-07-04 Matthew S. Wilson <msw@rpath.com>
967 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
970 2005-07-04 Matthew S. Wilson <msw@rpath.com>
972 * shell/ev-window.c (update_action_sensitivity): disable
973 File->Print if the document does not implement the ps exporter
976 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
980 * data/evince-properties.glade:
981 * properties/.cvsignore:
982 * properties/Makefile.am:
983 * properties/ev-properties-view.c: (ev_properties_view_dispose),
984 (ev_properties_view_class_init), (ev_properties_view_format_date),
985 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
986 (ev_properties_view_init), (ev_properties_view_new):
987 * properties/ev-properties-view.h:
989 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
990 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
991 (ev_properties_dialog_new):
992 * shell/ev-properties-dialog.h:
993 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
994 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
995 (update_progress_label), (job_fonts_finished_cb),
996 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
997 * shell/ev-properties-fonts.h:
998 * shell/ev-properties.c:
999 * shell/ev-properties.h:
1000 * shell/ev-window.c: (ev_window_setup_document),
1001 (ev_window_cmd_file_properties):
1003 Split the properties pages in two different objects, depend
1004 only on the backend where possible, use widgets instead
1005 of gobject for the glade part, reimplement the dialog
1007 I need this to implement nautilus properties page.
1009 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1011 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1012 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1013 (tiff_document_document_ps_exporter_iface_init): implement the ps
1014 exporter interface for tiff documents
1016 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1017 libtiff to implement TIFF postscript export
1019 * tiff/tiff2ps.h: added a header file for external tiff2ps
1022 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1025 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1027 * shell/ev-view.c: (scroll_to_current_page),
1028 (ev_view_set_fullscreen), (ev_view_set_presentation):
1030 Scroll to current page when exit from presentation
1032 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1034 * shell/ev-window.c: (update_document_mode),
1035 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1036 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1037 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1039 Exit from fullscreen mode when switch to presentation. Fix for
1042 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1044 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1045 return NULL if the document does not implement the selection
1048 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1050 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1051 reported height by using the resolution aspect ratio
1052 (tiff_document_render_pixbuf): scale the pixbuf using the
1053 resolution aspect ratio
1055 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1059 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1060 <kiltedaco@gmail.com>
1062 * djvu/djvu-document.c: (djvu_document_get_orientation),
1063 (djvu_document_set_orientation), (djvu_document_get_page_size),
1064 (rotate_pixbuf), (djvu_document_render_pixbuf),
1065 (djvu_document_document_iface_init):
1066 * dvi/dvi-document.c: (dvi_document_get_orientation),
1067 (dvi_document_set_orientation), (dvi_document_get_page_size),
1068 (rotate_pixbuf), (dvi_document_render_pixbuf),
1069 (dvi_document_document_iface_init):
1071 Dvi and djvu backends are ported to new API
1073 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1075 * backend/ev-selection.c: (ev_selection_get_selection_region),
1076 (ev_selection_get_selection_map):
1077 * backend/ev-selection.h:
1078 * pdf/ev-poppler.cc:
1079 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1081 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1082 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1083 (ev_pixbuf_cache_get_text_mapping):
1084 * shell/ev-pixbuf-cache.h:
1085 * shell/ev-view.c: (location_in_text),
1086 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1087 support to EvView. Now we can see where we can select! Sweet!
1089 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1091 * shell/ev-view.c (ev_view_button_press_event): Fix
1092 event->y + view->scroll_x typo.
1094 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1096 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1097 sub-GdkPixbuf instead of passing dest_x and dest_y.
1099 * shell/ev-view.c: (view_point_to_doc_point),
1100 (view_rect_to_doc_rect), (ev_view_button_press_event),
1101 (ev_view_motion_notify_event), (compute_new_selection_rect),
1102 (gdk_rectangle_point_in), (compute_new_selection_text),
1103 (compute_selections): Update selection code to keep the selection
1104 around as two points and not as a normalized rectangle, and fix
1105 page level selection in two-column mode.
1107 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1109 * shell/ev-window.c: (window_configure_event_cb):
1113 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1115 * pdf/ev-poppler.cc:
1119 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1121 * shell/Makefile.am:
1122 * shell/ev-metadata-manager.c: (item_free),
1123 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1124 (parse_value), (parseItem), (load_values),
1125 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1126 (save_values), (save_item), (get_oldest), (resize_items),
1127 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1128 * shell/ev-metadata-manager.h:
1130 Metadata manager from gedit but modified to use GValue, so that
1131 we dont need to keep converting from strings.
1135 ENABLE_METADATA conditional, on when dbus is on
1137 * shell/ev-application.c: (ev_application_open_uri):
1139 Show the window after load so that we can initialize
1140 window size before it's showed.
1142 * shell/ev-window.c: (ev_window_setup_from_metadata),
1143 (ev_window_open_uri), (window_configure_event_cb),
1146 Save and load metadata information about window size.
1147 Not yet keeping states in account.
1149 * shell/main.c: (main):
1151 Shutdown metadata manager.
1153 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1155 * shell/ev-application-service.xml:
1157 * shell/Makefile.am:
1158 * shell/ev-application.c:
1159 * shell/ev-application.h:
1160 * shell/ev-window.c:
1161 * shell/ev-window.h:
1164 Add an optional dbus interface (--enable-dbus).
1165 Rework application code, mainly to be easier to
1167 Do not open multiple windows with the same document,
1170 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1172 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1173 pixbuf iff it exists.
1175 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1178 * backend/ev-render-context.[ch]:
1179 * backend/ev-selection.[ch]:
1181 Massive changes. We now support text selection of pdfs, and not
1182 just rectangular selection. This is pretty broken still, but I
1183 want to get something into CVS.
1185 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1187 * pdf/ev-poppler.cc:
1189 Fix for Bug 309080: crash on window close.
1191 * shell/ev-page-action.c: (page_changed_cb):
1193 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1194 jensgr@gmx.net (Jens Granseuer).
1196 2005-06-25 Marcel Telka <marcel@telka.sk>
1198 * configure.in (ALL_LINGUAS): Added sk.
1200 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1202 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1205 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1212 * cut-n-paste/recent-files/Makefile.am:
1216 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1218 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1219 (pixbuf_document_set_orientation), (rotate_pixbuf),
1220 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1221 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1223 Implement rotation and cleanup the code a bit.
1225 * tiff/tiff-document.c: (tiff_document_get_page_size),
1226 (tiff_document_get_orientation), (tiff_document_set_orientation),
1227 (rotate_pixbuf), (tiff_document_render_pixbuf),
1228 (tiff_document_document_iface_init), (tiff_document_init):
1230 Implement rotation. Was the quicker solution for the release
1231 but we really need to share this code in the shell.
1233 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1235 * pdf/ev-poppler.cc:
1237 Enable rotation, require poppler cvs. Fix a leak.
1239 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1241 * shell/ev-window.c: (update_action_sensitivity):
1243 Make properties unsensitive if document backend doesn't provide
1246 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1248 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1249 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1250 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1251 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1252 (bitmap_flip_rotate_counter_clockwise):
1253 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1254 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1256 * dvi/mdvi-lib/common.h:
1257 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1258 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1259 (opendvi), (mdvi_reload), (mdvi_init_context),
1260 (mdvi_destroy_context), (mdvi_dopage), (special):
1261 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1262 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1263 (file_hash_free), (register_encoding), (parse_spec),
1264 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1265 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1266 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1267 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1268 (mdvi_register_font_type), (mdvi_unregister_font_type),
1269 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1270 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1271 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1272 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1273 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1274 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1275 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1276 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1277 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1278 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1279 (mdvi_unregister_special), (mdvi_flush_specials):
1280 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1282 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1283 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1284 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1285 (free_font_metrics), (flush_font_metrics):
1286 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1288 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1289 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1290 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1291 (dstring_insert), (dstring_new), (dstring_reset):
1292 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1294 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1295 avoid conflict with libtool on FC4
1297 * shell/ev-window.c: (ev_window_cmd_help_about):
1299 Update copyright year. Fix for bug 308828.
1301 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1303 * shell/ev-view.c: (add_scroll_binding_keypad),
1304 (ev_view_binding_activated), (ev_view_class_init),
1305 (on_adjustment_value_changed):
1307 Bug 170874: Arrow keys switch pages in presentation mode
1309 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1311 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1313 Fix for Bug 308265: Sidebar dissappears coming out of
1316 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1318 * shell/ev-application.c: (ev_application_open):
1319 * shell/ev-document-types.c: (ev_document_types_add_filters),
1320 (ev_document_types_add_filters_for_type):
1321 * shell/ev-document-types.h:
1322 * shell/ev-window.c: (ev_window_cmd_save_as):
1324 Suggest basename as template when saving, provide filters
1325 for save dialog. It's bug 308402
1327 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1329 * pdf/ev-poppler.cc:
1330 * shell/ev-sidebar-links.c: (job_finished_callback):
1331 * shell/ev-view.c: (update_find_status_message):
1335 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1337 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1338 (egg_recent_view_uimanager_set_list):
1340 Fix buglet in !show_numbers case.
1342 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1344 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1345 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1347 Use pango ellipsisation.
1349 * pdf/ev-poppler.cc:
1351 Fix refcount leak, from nsh.
1353 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1355 * cut-n-paste/recent-files/Makefile.am:
1356 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1357 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1359 Removed EggRecentViewGtk
1361 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1362 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1363 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1364 (ev_window_setup_recent):
1366 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1369 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1371 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1372 (egg_recent_view_gtk_finalize):
1376 * cut-n-paste/toolbar-editor/Makefile.am:
1378 Fix location of cursor icon.
1380 * pdf/ev-poppler.cc:
1381 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1382 (display_completion_text), (match_completion):
1383 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1384 (selection_changed_callback), (create_loading_model),
1385 (print_section_cb), (links_page_num_func),
1386 (update_page_callback_foreach):
1387 * shell/ev-window.c: (ev_window_dispose):
1389 Small memory fixes. Links model now store objects instead
1390 of pointers to improve memory management.
1392 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1394 * shell/ev-window.c: (zoom_control_changed_cb):
1396 Fix update of zoom control (bug 308268).
1398 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1400 * shell/ev-properties.c (set_property): escape the text correctly.
1401 Handles non-UTF-8 properties and escaped properties. Also, sets
1402 the text to "<i>None</i>" if the property isn't set.
1404 * data/evince-properties.glade: Change the label to be ellipsized,
1405 and give it a minimum size.
1407 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1409 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1410 * shell/ev-sidebar-links.c: (create_loading_model):
1411 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1412 * shell/ev-view.c: (ev_view_set_document):
1413 * shell/ev-window.c: (ev_window_dispose):
1415 Various small fixes, mostly memory leaks. Thanks to valgrind.
1417 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1419 * ps/ps-document.c: remove the locale.h include again ;-). And
1420 kill the (bogus) setlocale/savelocale business.
1422 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1426 Include locale.h to fix build
1428 * shell/ev-sidebar.c:
1430 Remove unnecessary includes
1432 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1434 * dvi/dvi-document.c: (dvi_document_load):
1435 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1438 Check for incorrect dvi files. Fix parsing dvi on AMD64
1439 platform. Thanks to tester@tester.ca (Olivier Crete).
1441 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1443 * shell/ev-page-action.c: (match_selected_cb),
1444 (display_completion_text), (match_completion), (update_model):
1445 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1446 (expand_open_links):
1447 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1448 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1449 (ev_sidebar_set_document):
1450 * shell/ev-window.c: (ev_window_xfer_job_cb),
1451 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1453 Fixed lot's of memory leaks, for example, memory leak on reload,
1454 described in bug 307793.
1456 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1458 * pdf/ev-poppler.cc:
1459 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1460 (update_visible_range), (adjustment_changed_cb),
1461 (ev_sidebar_thumbnails_fill_model),
1462 (ev_sidebar_thumbnails_refresh),
1463 (ev_sidebar_tree_selection_changed),
1464 (ev_sidebar_icon_selection_changed),
1465 (ev_sidebar_thumbnails_use_icon_view),
1466 (ev_sidebar_thumbnails_set_document):
1467 * shell/ev-sidebar-thumbnails.h:
1468 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1469 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1471 Refresh thumbnails when changing orientation. Not fully
1472 working yet becuase of a sidebar bug.
1474 Set page orientation to poppler page everywhere. This sucks
1475 really need to fix poppler.
1477 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1479 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1480 (egg_recent_view_gtk_new_menu_item),
1481 (egg_recent_view_gtk_set_property),
1482 (egg_recent_view_gtk_get_property),
1483 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1484 (egg_recent_view_gtk_set_tooltip_func),
1485 (egg_recent_view_gtk_set_label_width),
1486 (egg_recent_view_gtk_get_label_width):
1487 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1489 Sync with libegg (ellipsize labels)
1491 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1493 * data/evince-ui.xml:
1494 * shell/ev-window.c: (ev_window_cmd_go_forward),
1495 (ev_window_cmd_go_backward):
1497 Shift + PageUp moves 10 Pages. Fix for 306125
1499 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1501 * pdf/ev-poppler.cc:
1503 Add a flag to check if orientation has been overriden
1505 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1507 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1510 * ps/ps.h: add creator field to document.
1512 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1515 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1517 * data/evince-properties.glade:
1518 * shell/ev-properties.c: (ev_properties_set_document):
1520 s/PDF Version/Format
1522 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1524 * shell/ev-properties.c: (ev_properties_set_document):
1526 Remove unnecessary translations
1528 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1530 * cut-n-paste/toolbar-editor/Makefile.am:
1532 Correct library name
1534 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1537 * cut-n-paste/recent-files/egg-recent-model.c:
1538 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1539 (egg_recent_model_unlock_file):
1540 * cut-n-paste/recent-files/egg-recent-util.c:
1541 (egg_recent_util_get_unique_id):
1542 * cut-n-paste/recent-files/update-from-egg.sh:
1543 * cut-n-paste/toolbar-editor/Makefile.am:
1544 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1545 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1546 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1547 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1548 (egg_toolbars_model_get_type):
1549 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1551 Better makefile for toolbar editor and update everything
1554 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1556 * shell/ev-window.c: (update_document_mode):
1558 Prefer presentation mode when the document
1561 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1563 * data/evince-ui.xml:
1564 * shell/ev-window.c:
1566 Add control-equal for zooming
1568 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1570 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1572 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1574 * backend/ev-document.c: (ev_document_get_orientation):
1575 * backend/ev-document.h:
1576 * pdf/ev-poppler.cc:
1577 * ps/ps-document.c: (ps_document_get_orientation),
1578 (ps_document_set_orientation), (ps_document_document_iface_init):
1580 Add a get_orientation api. Improve set_orientation.
1582 * data/evince-ui.xml:
1583 * shell/ev-view.c: (ev_view_set_orientation),
1584 (ev_view_rotate_right), (ev_view_rotate_left):
1586 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1587 (ev_window_cmd_edit_rotate_right):
1589 Better ui for changing document orientation
1591 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1593 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1594 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1595 * shell/ev-sidebar-links.h:
1596 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1597 (ev_sidebar_page_iface_init):
1598 * shell/ev-sidebar-page.h:
1599 * shell/ev-sidebar-thumbnails.c:
1600 (ev_sidebar_thumbnails_get_property),
1601 (ev_sidebar_thumbnails_class_init),
1602 (ev_sidebar_thumbnails_set_document):
1603 * shell/ev-sidebar-thumbnails.h:
1604 * shell/ev-view.c: (ev_view_motion_notify_event):
1605 * shell/ev-window.c: (update_chrome_visibility),
1606 (ev_window_cmd_focus_page_selector),
1607 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1608 (sidebar_page_main_widget_update_cb), (ev_window_init):
1610 Autoraise toolbar on GoToPage binding and fix bindings in
1611 EvSidebarThumbnails page.
1613 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1615 * shell/ev-properties.c: (update_progress_label):
1617 Hide the progress label when finished; bug #307697.
1619 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1621 * pdf/ev-poppler.cc:
1623 Enable is_open for links, you will need poppler cvs
1625 * shell/ev-properties.c: (job_fonts_finished_cb):
1627 Get a lock on the document when filling the tree view
1629 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1631 * backend/ev-document-links.h:
1632 * pdf/ev-poppler.cc:
1633 * shell/ev-sidebar-links.c: (create_loading_model),
1634 (expand_open_links), (job_finished_callback):
1636 Expand links when specified by the document.
1637 Depend on a poppler api (defined out for now)
1639 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1641 * shell/ev-properties.c: (ev_properties_dispose),
1642 (ev_properties_class_init), (dialog_destroy_cb),
1643 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1644 (ev_properties_set_document), (ev_properties_new),
1645 (ev_properties_show):
1646 * shell/ev-properties.h:
1648 Make it an object, cleanup the code, api to show it as transient
1649 and to set the document.
1651 * shell/ev-window.c: (ev_window_setup_document),
1652 (ev_window_cmd_file_properties):
1654 Adapt to EvProperties changes, do not show multiple
1655 times, update it when document changes.
1657 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1660 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1661 (ps_document_set_orientation), (ps_document_document_iface_init):
1664 Implement orientation here too
1666 * shell/ev-properties.c: (ev_properties_new):
1667 * data/evince-properties.glade:
1669 Hide the fonts page for backends that doesnt
1672 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1674 * backend/ev-document.c: (ev_document_set_orientation):
1675 * backend/ev-document.h:
1676 * pdf/ev-poppler.cc:
1678 Add orientation api. Currently poppler api is not optimal,
1679 we need to set orientation every time we _get a page.
1680 I will try to fix that at some point.
1682 * data/evince-ui.xml:
1683 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1684 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1686 Add orientation menu items
1688 * shell/ev-page-cache.c: (ev_page_cache_clear):
1689 * shell/ev-page-cache.h:
1691 Add api to clear the cache
1693 * shell/ev-view.c: (setup_caches), (clear_caches),
1694 (ev_view_set_document), (ev_view_zoom_out),
1695 (ev_view_set_orientation):
1698 Implement orientation changing
1700 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1702 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1703 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1704 * backend/ev-document-fonts.h:
1706 Separate scan and fill so that we can incrementally fill from
1707 the main thread. Add a progress api.
1709 * data/evince-properties.glade:
1710 * pdf/ev-poppler.cc:
1711 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1713 * shell/ev-properties.c: (update_progress_label),
1714 (job_fonts_finished_cb), (setup_fonts_view):
1716 Incrementally feel the list and show the progress
1717 percentage in a label like acrobat does.
1719 You are going to need poppler cvs
1721 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1723 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1724 * backend/ev-document-fonts.h:
1725 * pdf/ev-poppler.cc:
1727 Make fonts model fill incrementally.
1729 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1730 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1731 (ev_job_queue_remove_job):
1732 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1733 (ev_job_fonts_new), (ev_job_fonts_run):
1736 New job for fonts scanning
1738 * shell/ev-properties.c: (job_fonts_finished_cb),
1739 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1740 * shell/ev-properties.h:
1741 * shell/ev-window.c: (ev_window_cmd_file_properties):
1743 Incrementally feel the treeview using the new job. Show Loading...
1744 message until scanning is completed.
1746 Hopefully I didnt break the build without the poppler patch.
1748 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1750 * shell/ev-application.c: (ev_application_open):
1751 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1752 (ev_document_type_get_type), (ev_document_type_lookup):
1753 * shell/ev-document-types.h:
1754 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1755 * shell/ev-job-xfer.h:
1756 * shell/ev-window.c: (ev_window_clear_local_uri),
1757 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1758 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1759 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1761 Transfer remote documents to tmp directory to display them later.
1763 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1765 * backend/ev-document-info.h:
1766 * shell/ev-properties.c: (ev_properties_new):
1768 s/GTime*/GTime. Not sure why we was using a pointer
1771 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1773 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1774 situations. That situation is that you're using GTK+-HEAD with
1775 the patch at #306726 is applied, and you have a document with <
1776 1500 pages in it. It's not quite as uniformly nice as the
1777 TreeView, but should be better in the long run.
1779 I'm pretty sure I guarded against breaking compilation with
1780 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1783 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1784 widget yet, so I commented that code out
1785 enable_view_actions_for_widget() for now. Need to figure this
1788 * shell/ev-page-action.c (match_selected_cb): emit the right
1789 signals. Our cool C-l completion now works.
1791 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1793 * backend/Makefile.am:
1794 * backend/ev-document-fonts.c:
1795 * backend/ev-document-links.c:
1796 * backend/ev-document.c: (ev_document_load):
1797 * backend/ev-document.h:
1798 * backend/ev-job-queue.c:
1799 * backend/ev-job-queue.h:
1800 * backend/ev-jobs.c:
1801 * backend/ev-jobs.h:
1802 * backend/ev-page-cache.c:
1803 * backend/ev-page-cache.h:
1805 EvPageCache and EvJobs are moved to shell.
1807 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1809 * lib/ev-file-helpers.h:
1811 New helper to work with temporary files
1813 * shell/Makefile.am:
1814 * shell/ev-application.c: (ev_application_open):
1815 * shell/ev-application.h:
1816 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1817 (remove_job_from_async_queue), (add_job_to_async_queue),
1818 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1819 (handle_job), (search_for_jobs_unlocked),
1820 (no_jobs_available_unlocked), (ev_render_thread),
1821 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1822 (ev_job_queue_add_job), (move_job_async), (move_job),
1823 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1824 * shell/ev-job-queue.h:
1825 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1826 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1827 * shell/ev-job-xfer.h:
1828 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1829 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1830 (ev_job_links_class_init), (ev_job_render_init),
1831 (ev_job_render_dispose), (ev_job_render_class_init),
1832 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1833 (ev_job_thumbnail_class_init), (ev_job_load_init),
1834 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1835 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1836 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1837 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1839 * shell/ev-page-action.c: (ev_page_action_set_document):
1840 * shell/ev-page-cache.c: (ev_page_cache_init),
1841 (ev_page_cache_class_init), (ev_page_cache_finalize),
1842 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1843 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1844 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1845 (ev_page_cache_get_title), (ev_page_cache_get_size),
1846 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1847 (ev_page_cache_get_height_to_page),
1848 (ev_page_cache_get_max_label_chars),
1849 (ev_page_cache_get_page_label),
1850 (ev_page_cache_has_nonnumeric_page_labels),
1851 (ev_page_cache_get_info), (ev_page_cache_next_page),
1852 (ev_page_cache_prev_page), (ev_page_cache_get):
1853 * shell/ev-page-cache.h:
1854 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1855 (ev_pixbuf_cache_clear_job_sizes),
1856 (ev_pixbuf_cache_add_jobs_if_needed),
1857 (ev_pixbuf_cache_set_page_range):
1858 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1859 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1860 * shell/ev-sidebar-thumbnails.c:
1861 (ev_sidebar_tree_selection_changed),
1862 (ev_sidebar_thumbnails_set_document):
1863 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1864 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1865 (ev_statusbar_get_context_id), (ev_statusbar_push),
1866 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1867 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1868 (ev_statusbar_set_progress):
1869 * shell/ev-statusbar.h:
1870 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1871 (ev_view_find_previous):
1872 * shell/ev-window.c: (ev_window_is_empty),
1873 (ev_window_setup_document), (password_dialog_response),
1874 (ev_window_clear_jobs), (ev_window_load_job_cb),
1875 (ev_window_xfer_job_cb), (ev_window_open_uri),
1876 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1877 (ev_window_print), (ev_window_print_range),
1878 (ev_window_state_event), (ev_window_cmd_view_reload),
1879 (menu_item_select_cb), (menu_item_deselect_cb),
1880 (view_status_changed_cb), (ev_window_dispose),
1881 (drag_data_received_cb), (ev_window_init):
1882 * shell/ev-window.h:
1883 * shell/main.c: (load_files):
1885 New statusbar to show progress on idle. Two new jobs -
1886 xfer job and load job to load document in background. And update
1887 of page_cache clients to new location of code.
1889 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1891 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1892 selection in open dialog. It also remembers the last visited directory
1893 in the current session.
1895 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1897 * shell/ev-properties.c: (ev_properties_new):
1898 * shell/ev-properties.h:
1899 * shell/ev-window.c: (ev_window_cmd_file_properties):
1901 Get document info from page cache instead of document itself.
1902 This should fix crash related to race conditions described in
1905 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1907 * ps/ps-document.c: (ps_document_init),
1908 (send_ps), (get_page_box), (output), (catchPipe), (input),
1909 (stop_interpreter), (file_length), (file_readable),
1910 (check_filecompressedb), (ps_document_enable_interpreter),
1911 (document_load), (ps_async_renderer_render_pixbuf):
1914 Big cleanup of the ps code
1916 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1918 * backend/Makefile.am:
1919 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1920 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1921 * backend/ev-async-renderer.h:
1923 Add an async renderer interface (method + callback) which
1924 is useful for backends like ps.
1926 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1927 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1928 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1929 (ev_job_queue_add_job), (move_job_async), (move_job),
1930 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1932 Add queues for async renderer, these are executed on the
1935 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1936 (ev_job_render_run):
1937 * backend/ev-jobs.h:
1939 If the backend support async renderer interface use it.
1941 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1942 (setup_pixmap), (ps_document_get_type),
1943 (ps_async_renderer_render_pixbuf),
1944 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1946 Implement async renderer interface.
1948 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1950 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1952 Cleanup links job on exit.
1954 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1956 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1957 (drag_data_get_cb), (drag_data_received_cb):
1958 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1959 (drag_data_get_cb), (parse_item_list),
1960 (egg_toolbar_editor_load_actions):
1961 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1962 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1963 (parse_item_list), (parse_toolbars):
1964 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1965 (dvi_pixbuf_put_pixel):
1967 Fix gcc 4.0 warnings
1969 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1971 * ps/ps-document.c: (start_interpreter):
1973 Fix warning when loading ps
1975 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1977 * ps/ps-document.c: (output):
1979 Fix crash when priting gs error messages.
1981 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1983 * backend/ev-page-cache.c: (_ev_page_cache_new):
1984 * backend/ev-page-cache.h:
1986 Use a const to return title so that we dont double
1987 free it. Small cleanup and fix a leak.
1989 * shell/ev-window.c: (update_window_title):
1991 strdup value from get_title.
1993 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1995 * shell/ev-sidebar-links.c: (job_finished_callback),
1996 (ev_sidebar_links_set_document):
1998 Cleanup the old job when changing document
2000 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2002 * shell/ev-stock-icons.c:
2003 * shell/ev-stock-icons.h:
2004 * shell/ev-window.c:
2006 Add stock icons for actions that can appear in toolbar. Fix for
2009 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2011 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2012 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2013 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2014 * backend/ev-page-cache.h:
2015 * shell/ev-view.c: (scroll_to_current_page),
2016 (view_update_range_and_current_page), (get_page_y_offset),
2017 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2018 (ev_view_size_request_continuous),
2019 (ev_view_zoom_for_size_continuous_and_dual_page),
2020 (ev_view_zoom_for_size_continuous):
2022 More compact EvView layout in document with pages of different size.
2024 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2026 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2029 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2031 * shell/ev-view.c: (view_set_adjustment_values):
2032 * shell/ev-window.c: (ev_window_cmd_file_properties):
2034 A bit different fix for rounding problem but it has no
2035 problems on startup. Make properties window transient to parent.
2037 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2039 * pdf/ev-poppler.cc:
2041 More commenting of font stuff.
2043 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2045 * pdf/ev-poppler.cc:
2047 Comment out some more fonts stuff. Should really
2048 work without the poppler patch now.
2050 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2052 * pdf/ev-poppler.cc:
2056 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2058 * data/evince-properties.glade:
2059 * pdf/ev-poppler.cc:
2060 * shell/ev-properties.c: (setup_fonts_view):
2062 Set the column title. Show the dialog only
2063 once everything is setup.
2064 Getting font info can be very slow... will
2065 prolly need to make this threaded too.
2067 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2069 * backend/Makefile.am:
2070 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2071 (ev_document_fonts_get_fonts_model):
2072 * backend/ev-document-fonts.h:
2073 * data/evince-properties.glade:
2074 * pdf/ev-poppler.cc:
2075 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2076 * shell/ev-properties.h:
2077 * shell/ev-window.c: (ev_window_cmd_file_properties):
2079 Implement fonts list. Defined out for now, since it depends
2080 on a not yet committed poppler patch.
2082 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2084 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2087 * shell/ev-window.c: Make sure we add the timeout when we get a
2090 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2091 adjustment->value before calculating the zoom factor to average
2092 out all of our rounding errors. The page no longer 'drifts' when
2095 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2097 * data/evince-properties.glade:
2098 * shell/ev-properties.c: (ev_properties_format_date),
2101 Labels don't expand when the dialogue is resized.
2102 strftime result needs to be converted to UTF-8. Thanks
2103 to Christian Persch <chpe@gnome.org>.
2105 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2107 * data/evince-properties.glade:
2111 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2113 * backend/ev-document-info.h:
2114 * backend/ev-document.c: (ev_document_info_free):
2115 * data/evince-properties.glade:
2116 * pdf/ev-poppler.cc:
2117 * ps/ps-document.c: (ps_document_get_info):
2118 * shell/ev-properties.c: (ev_properties_format_date),
2119 (set_property), (ev_properties_new):
2120 * shell/ev-properties.h:
2121 * shell/ev-window.c: (ev_window_cmd_file_properties):
2123 Rework properties code to take only EvPropertyInfo
2124 in the constructor so that it can be useful for
2125 nautilus plugin too.
2127 Deal with backends that doesnt support some properties.
2128 Make set property code generic.
2130 2005-06-04 Christian Persch <chpe@gnome.org>
2132 * data/evince-properties.glade:
2134 fix spacings, make resizeable, and make data labels
2135 selectable + ellipsised
2137 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2139 * backend/ev-document-info.h:
2141 * data/evince-ui.xml:
2142 * pdf/ev-poppler.cc:
2143 * shell/Makefile.am:
2144 * shell/ev-window.c: (update_action_sensitivity),
2145 (ev_window_cmd_file_properties):
2147 Initial go at file properties. Patch by
2148 Emil Soleyman-Zomalan <emil@soleyman.com>.
2149 Needs love see #169583
2151 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2153 * ps/ps-document.c: (output):
2154 * ps/ps.c: (psscan):
2156 Try to render even if psscan fails.
2158 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2160 * ps/ps.c: (psscan), (pscopydoc):
2162 Port buffered reading code from gv
2164 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2166 * ps/ps-document.c: (interpreter_message), (output):
2168 Do not fail on interpreter messages
2170 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2172 * backend/ev-document-misc.c:
2173 (ev_document_misc_get_thumbnail_frame):
2175 Pages can be 0 x 0, dont assert on this case
2177 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2179 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2180 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2182 Correctly manage our reference on document. Finally the reload
2183 huge leak is gone...
2185 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2187 * ps/ps-document.c: (ps_document_dispose):
2189 Forgot to chain it to the parent. Thanks chpe.
2191 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2193 * ps/ps-document.c: (ps_document_dispose),
2194 (ps_document_class_init), (stop_interpreter), (document_load):
2196 Cleanup dispose a bit. Dont leak the whole pixmap.
2198 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2200 * pdf/ev-poppler.cc:
2202 Release the poppler document on dispose
2204 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2206 * shell/ev-view.c: (ev_view_set_document):
2208 Release ref on the pixbuf cache when changing
2211 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2213 * ps/ps-document.c: (ps_document_get_info):
2217 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2219 * backend/ev-page-cache.c: (ev_page_cache_init),
2220 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2221 * backend/ev-page-cache.h:
2222 * shell/ev-page-action.c: (page_changed_cb):
2224 Set page action entry width depending on labels width. Fix
2227 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2229 * backend/ev-link.c: (ev_link_class_init):
2231 Allow -1 as page value (error)
2233 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2235 * shell/ev-sidebar-thumbnails.c:
2236 (ev_sidebar_thumbnails_set_document):
2237 * shell/ev-view.c: (scroll_to_current_page),
2238 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2239 (page_changed_cb), (on_adjustment_value_changed),
2240 (ev_view_set_document):
2242 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2245 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2248 * djvu/djvu-document.c: (djvu_document_get_page_size):
2250 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2253 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2255 * shell/ev-view.c (draw_one_page): modify the expose handling to
2258 * shell/ev-window.c (update_action_sensitivity): Respect
2259 permissions field. Kowtow to the man.
2261 * pdf/ev-poppler.cc: Get the permissions field.
2263 * tiff/*c: Make a tiny bit more robust.
2265 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2267 * djvu/djvu-document.c:
2269 Pop messages from djvu context message queue.
2271 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2273 * configure.ac, Makefile.am, shell/Makefile.am:
2274 * tiff/Makefile.am, shell/ev-document-types.c:
2276 Cleanup tiff configure checks. Fix for bug 305218.
2278 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2280 * configure.ac: Added "uk" to ALL_LINGUAS.
2282 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2284 * cut-n-paste/zoom-control/ephy-zoom.c:
2285 (ephy_zoom_get_changed_zoom_level):
2286 * cut-n-paste/zoom-control/ephy-zoom.h:
2287 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2288 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2289 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2290 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2291 (zoom_control_changed_cb), (ev_window_init):
2293 Fix minor points related to moving best fit up. Introduce
2294 "zoom" property and make zoom control change it's value on
2295 notify::zoom signals. Fix for 305080.
2297 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2299 * data/evince-ui.xml:
2300 * shell/ev-window.c: (set_view_actions_sensitivity):
2302 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2304 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2308 Depends on poppler 0.3.2
2310 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2312 * cut-n-paste/recent-files/egg-recent-item.c:
2313 (egg_recent_item_get_short_name):
2314 * cut-n-paste/toolbar-editor/Makefile.am:
2315 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2316 (new_pixbuf_from_widget):
2317 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2318 * cut-n-paste/toolbar-editor/egg-marshal.c:
2319 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2320 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2324 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2326 * tiff/tiff-document.c: Rough TIFF backend.
2328 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2332 * cut-n-paste/toolbar-editor/Makefile.am:
2336 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2338 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2339 (ev_view_find_next), (ev_view_find_previous):
2341 Remove the locks around get_n_results
2343 2005-05-21 Juerg Billeter <j@bitron.ch>
2345 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2347 Pass correct number of pages to poppler.
2349 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2353 * data/evince.desktop.in:
2354 * data/evince.desktop.in.in:
2357 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2359 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2361 * shell/ev-view.c: (view_update_adjustments),
2362 (view_set_adjustment_values): cast adjustmen->value to (int)
2363 before using it. Otherwise, we get off by a pixel in some
2366 (draw_one_page): Draw the border on expose.
2368 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2370 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2371 adjustment when the mode changes, #304923
2373 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2375 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2376 flickering on resize but still use gdk_window_scroll on
2379 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2381 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2384 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2386 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2387 second page on page_changed if possible, #304669
2389 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2391 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2392 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2394 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2397 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2398 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2399 (ev_view_zoom_for_size_presentation),
2400 (ev_view_zoom_for_size_continuous_and_dual_page),
2401 (ev_view_zoom_for_size_continuous),
2402 (ev_view_zoom_for_size_dual_page),
2403 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2405 * shell/ev-window.c: (update_view_size),
2406 (ev_window_sizing_mode_changed_cb):
2408 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2409 the scrollbars. It's not 100% right, but it's much closer. Kills
2410 an infinite loop, #304769
2413 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2415 * data/evince-ui.xml:
2416 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2417 * shell/ev-window.c: (set_view_actions_sensitivity):
2419 Make PgUp/Down behave like Space
2421 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2423 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2424 * backend/ev-ps-exporter.h:
2425 * pdf/ev-poppler.cc:
2426 * ps/ps-document.c: (ps_document_ps_export_begin):
2427 * shell/ev-print-job.c: (idle_print_handler):
2429 Adapt to new poppler api
2431 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2433 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2434 (ephy_zoom_control_init):
2436 Translate zoom levels
2438 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2440 * cut-n-paste/zoom-control/ephy-zoom.c:
2441 (ephy_zoom_get_zoom_level_index):
2443 Fix current zoom -> zoom control match
2445 2005-05-18 James Bowes <bowes@cs.dal.ca>
2447 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2448 rather than the scrolled_window that it's in. Fixes bug #304655.
2450 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2452 * shell/ev-view.c: (view_update_adjustments),
2453 (view_set_adjustment_values), (view_update_range_and_current_page),
2454 (view_scroll_to_page), (set_scroll_adjustment),
2455 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2456 (ev_view_scroll), (ev_view_scroll_view),
2457 (ensure_rectangle_is_visible), (find_page_at_location),
2458 (get_link_at_location), (go_to_link), (status_message_from_link),
2459 (ev_view_size_request_continuous_dual_page),
2460 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2461 (ev_view_unrealize), (ev_view_expose_event),
2462 (ev_view_button_press_event), (ev_view_motion_notify_event),
2463 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2464 (draw_rubberband), (highlight_find_results), (draw_one_page),
2465 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2466 (ev_view_init), (find_changed_cb), (page_changed_cb),
2467 (on_adjustment_value_changed), (ev_view_new),
2468 (ev_view_set_document), (ev_view_set_zoom),
2469 (ev_view_set_continuous), (ev_view_set_dual_page),
2470 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2471 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2472 (ev_view_zoom_for_size_presentation),
2473 (ev_view_zoom_for_size_continuous_dual_page),
2474 (ev_view_zoom_for_size_continuous),
2475 (ev_view_zoom_for_size_dual_page),
2476 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2477 (ev_view_get_status), (ev_view_set_status),
2478 (update_find_status_message), (ev_view_get_find_status),
2479 (ev_view_set_find_status), (jump_to_find_result),
2480 (jump_to_find_page), (compute_selections), (clear_selection),
2481 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2482 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2483 (ev_view_update_primary_selection),
2484 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2486 * shell/ev-window.c: (ev_window_open_page_label),
2487 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2489 * shell/ev-window.h:
2490 * shell/main.c: (load_files):
2492 Massive code clean up from Nickolay Shmyrev. Keep page offset
2493 when resizing. Remove the bin_window(). Also, patch from James
2494 Bowes to fix command line page, #300641
2496 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2498 * data/evince-ui.xml:
2501 * shell/ev-window.c: (update_action_sensitivity):
2503 Get rid of View->Normal Size, it's just confusing
2505 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2507 * backend/ev-document-info.h:
2508 * backend/ev-document.c: (ev_document_info_free): Free the
2511 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2512 (clear_range), (add_range), (update_visible_range),
2513 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2514 (ev_sidebar_thumbnails_set_document):
2515 * shell/ev-window.c: (ev_window_setup_document): Only render the
2516 visible thumbnails. It takes an instant to render, but it uses
2519 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2521 * shell/ev-sidebar-links.c: (popup_menu_cb):
2525 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2528 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2529 (button_press_cb), (ev_sidebar_links_construct):
2531 Show the popup menu also on keybindings
2533 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2535 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2536 * shell/ev-window.h:
2538 Expose api to print a range (with dialog). Make private _print use
2541 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2542 (ev_sidebar_links_construct):
2544 Show a print context menu on linkx, it prints the selected
2547 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2549 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2552 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2558 * shell/ev-window.c: (build_comments_string),
2559 (ev_window_cmd_help_about):
2561 Show poppler version/backend and authors
2563 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2565 * cut-n-paste/zoom-control/ephy-zoom.c:
2566 (ephy_zoom_get_zoom_level_index):
2567 * cut-n-paste/zoom-control/ephy-zoom.h:
2569 Move the best fit items at the top of the list
2571 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2573 * shell/ev-marshal.list:
2574 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2575 (activate_cb), (match_selected_cb), (activate_link_cb),
2576 (connect_proxy), (ev_page_action_class_init):
2577 * shell/ev-page-action.h:
2579 Use signals to notify action activation. Hopefully
2580 I did not break completion since I cant test...
2582 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2583 (register_custom_actions):
2585 Connect to page selector actions and also grab focus on
2586 the view when activated.
2588 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2590 * pdf/ev-poppler.cc:
2591 * backend/ev-page-cache.c: make page size calculation consistent
2592 and set it to (int)( width * scale + 0.5). This makes the weird
2593 line going through the middle of the page go away.
2595 * shell/ev-view.c: move painting the background page after
2596 checking the expose area covers us.
2598 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2600 * data/evince-password.glade:
2602 Mark labels as not translatable. Fix for bug 302842.
2604 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2606 * configure.ac: Added "es" to ALL_LINGUAS.
2608 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2610 * data/evince-toolbar.xml:
2611 * shell/ev-window.c: (update_action_sensitivity),
2612 (ev_window_setup_document), (ev_window_set_page_mode),
2615 Remove some leftover code from jrb first continous
2616 attempt. Use the new actions, we still need good icons
2619 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2621 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2623 Update label when connecting proxy. Fix a warning with NULL
2626 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2628 * data/evince-ui.xml:
2629 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2630 * shell/ev-page-action.h:
2631 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2633 Add mnemonic for edit toolbar.
2634 ctrl+l focus the page entry.
2636 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2639 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2641 * shell/main.c: (main):
2643 Put the toolbar xml in evince own dot dir
2645 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2647 * shell/ev-window.c: (ev_window_init):
2649 Make the toolbar not removable
2651 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2653 * data/evince-ui.xml:
2654 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2655 * shell/ev-sidebar-links.h:
2656 * shell/ev-sidebar-thumbnails.c:
2657 (ev_sidebar_thumbnails_get_treeview):
2658 * shell/ev-sidebar-thumbnails.h:
2659 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2660 (ev_view_class_init):
2662 * shell/ev-window.c: (update_action_sensitivity),
2663 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2664 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2665 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2668 This is evil... Make space/backspace global accelerators but
2669 enable them only for some widgets (sidebars and view).
2670 I dont like it, but I dont know a better way... :/
2672 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2674 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2675 (ev_page_action_widget_finalize),
2676 (ev_page_action_widget_class_init), (update_page_cache):
2678 Keep a weak reference on proxy->page_cache so that we
2679 dont try to disconnect the signal if the object is already
2680 gone. Maybe there is a better way to cleanup reference handling
2681 in page action though...
2683 2005-05-10 Juerg Billeter <j@bitron.ch>
2685 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2686 * backend/ev-ps-exporter.h:
2687 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2688 * ps/ps-document.c: (ps_document_ps_export_begin):
2690 Change api to pass print range to ps_exporter_begin. The pdf backend
2691 requires this information.
2693 * shell/ev-print-job.c: (idle_print_handler):
2697 2005-05-10 Juerg Billeter <j@bitron.ch>
2699 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2700 (idle_print_handler)
2701 * shell/ev-window.c: (ev_window_print):
2703 Support printing page range, based on patch by Amaury Jacquot
2705 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2707 * data/evince-toolbar.xml:
2709 Add zoom control to available items
2711 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2713 * shell/ev-window.c: (update_action_sensitivity):
2715 Set slash action insensitive when appropriate
2717 2005-05-10 Christian Persch <chpe@gnome.org>
2719 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2721 Fix warning on the overflow menu
2723 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2725 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2727 Check for uri correctness/existence
2729 2005-05-09 Juerg Billeter <j@bitron.ch>
2731 * shell/ev-window.c: (using_postscript_printer):
2733 LPD printers use postscript, too
2735 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2737 * shell/ev-window.c: (register_custom_actions):
2739 The zoom one is actually sort of useful,
2742 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2744 * shell/ev-window.c: (register_custom_actions):
2746 Hide page/zoom controls from overflow, they
2749 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2751 * cut-n-paste/update-from-egg.sh:
2753 Share it between all cut-n-paste subdirs
2755 * cut-n-paste/recent-files/Makefile.am:
2757 Fix to use "global" update-from-egg.sh
2759 * cut-n-paste/recent-files/egg-recent-model.c:
2760 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2761 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2762 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2763 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2767 * cut-n-paste/toolbar-editor/Makefile.am:
2769 Fix to use "global" update-from-egg.sh
2771 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2775 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2778 * cut-n-paste/Makefile.am:
2779 * cut-n-paste/recent-files/Makefile.am:
2780 * cut-n-paste/toolbar-editor/.cvsignore:
2781 * cut-n-paste/toolbar-editor/Makefile.am:
2782 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2783 (egg_editable_toolbar_get_type), (get_toolbar_position),
2784 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2785 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2786 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2787 (set_item_drag_source), (create_item_from_action), (create_item),
2788 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2789 (popup_toolbar_context_menu_cb), (free_dragged_item),
2790 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2791 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2792 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2793 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2794 (item_added_cb), (item_removed_cb),
2795 (egg_editable_toolbar_construct),
2796 (egg_editable_toolbar_disconnect_model),
2797 (egg_editable_toolbar_deconstruct),
2798 (egg_editable_toolbar_set_model),
2799 (egg_editable_toolbar_set_ui_manager),
2800 (egg_editable_toolbar_set_property),
2801 (egg_editable_toolbar_get_property),
2802 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2803 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2804 (egg_editable_toolbar_new_with_model),
2805 (egg_editable_toolbar_get_edit_mode),
2806 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2807 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2808 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2809 (new_pixbuf_from_widget), (new_separator_pixbuf),
2810 (update_separator_image), (style_set_cb),
2811 (_egg_editable_toolbar_new_separator_image),
2812 (egg_editable_toolbar_get_model):
2813 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2814 * cut-n-paste/toolbar-editor/egg-marshal.c:
2815 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2816 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2817 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2818 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2819 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2820 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2821 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2822 (editor_drag_data_delete_cb), (drag_data_get_cb),
2823 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2824 (editor_create_item), (update_editor_sheet), (setup_editor),
2825 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2826 (parse_item_list), (model_has_action), (update_actions_list),
2827 (egg_toolbar_editor_load_actions):
2828 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2829 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2830 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2831 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2832 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2833 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2834 (egg_toolbars_model_add_separator), (impl_add_item),
2835 (parse_item_list), (egg_toolbars_model_add_toolbar),
2836 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2837 (impl_get_item_data), (impl_get_item_type),
2838 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2839 (egg_toolbars_model_init), (free_toolbar),
2840 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2841 (egg_toolbars_model_remove_toolbar),
2842 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2843 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2844 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2845 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2846 (egg_toolbars_model_get_item_data),
2847 (egg_toolbars_model_get_item_type):
2848 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2849 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2851 * data/evince-toolbar.xml:
2852 * data/evince-ui.xml:
2853 * data/hand-open.png:
2855 * shell/Makefile.am:
2856 * shell/ev-window.c: (update_chrome_visibility),
2857 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2858 (ev_window_dispose), (ev_window_init):
2860 Implement epiphany like toolbar editor. Based on patch by
2861 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2863 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2865 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2867 Use set_cursor instead of set_selection, so that
2868 the keyboard focus moves too.
2870 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2872 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2874 Fix infinite loop when loading Type1 fonts
2876 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2878 * data/evince-ui.xml:
2879 * shell/ev-window.c:
2883 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2887 Make --disable really disable
2889 2005-05-07 Juerg Billeter <j@bitron.ch>
2891 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2893 Compare page labels even without has_labels set, fixes setting page
2896 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2898 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2899 (ev_view_set_cursor), (ev_view_button_press_event),
2900 (ev_view_motion_notify_event), (ev_view_button_release_event),
2903 Implement middle button scrolling. Based on a patch
2904 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2906 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2908 * shell/ev-document-types.c: (get_slow_mime_type),
2909 (get_document_type_from_mime), (ev_document_type_lookup):
2910 * shell/ev-document-types.h:
2912 Change api to lookup from uri. Do fast lookup first, if the
2913 type is unknown try with data sniffing.
2915 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2916 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2920 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2922 * thumbnailer/Makefile.am:
2926 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2933 * data/evince-ui.xml:
2935 Hide presentation mode for now
2937 * shell/ev-view.c: (highlight_find_results):
2939 Show current find selection only on current page
2941 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2943 * shell/ev-view.c: (ev_view_select_all):
2945 Compute size of the actual page, not of
2948 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2950 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2951 (view_rect_to_doc_rect), (compute_selections),
2952 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2953 (ev_view_copy), (ev_view_primary_get_cb),
2954 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2955 (ev_view_button_press_event), (ev_view_motion_notify_event),
2956 (ev_view_button_release_event), (page_changed_cb):
2960 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2962 * shell/ev-view.c: (compute_border), (get_page_extents),
2963 (doc_rect_to_view_rect), (highlight_find_results),
2964 (ev_view_bin_expose), (ev_view_select_all),
2965 (ev_view_motion_notify_event), (update_find_status_message),
2966 (jump_to_find_result), (jump_to_find_page):
2968 First go at fixing search, still buggy
2970 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2972 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2973 dropdown box and button at the top of the sidebar.
2975 2005-05-02 James Bowes <bowes@cs.dal.ca>
2977 * configure.ac: Output zoom-control Makefile.
2978 * cut-n-paste/Makefile.am: build zoom-control subdir.
2979 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2980 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2981 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2982 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2983 * cut-n-paste/zoom-control/ephy-zoom.c:
2984 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2985 from epiphany, and modified to add a separator into the menu.
2986 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2987 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2988 zoom-control action.
2989 * shell/Makefile.am: Include zoom-control flags.
2990 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2991 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2992 (ev_view_zoom_for_size_presentation),
2993 (ev_view_zoom_for_size_continuous_and_dual_page),
2994 (ev_view_zoom_for_size_continuous),
2995 (ev_view_zoom_for_size_dual_page),
2996 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2997 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2998 ev_view_get_zoom and ev_view_get_sizing_mode.
3000 * shell/ev-window.c: (update_action_sensitivity),
3001 (update_sizing_buttons), (zoom_control_changed_cb),
3002 (register_custom_actions): Initialize and use the zoom-control
3005 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3007 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3008 preview cache back to 1. Don't know when it got set to 0.
3010 * shell/ev-view.c: (compute_border), (ev_view_realize),
3011 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3012 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3013 (ev_view_get_fullscreen), (ev_view_set_presentation),
3014 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3015 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3017 * shell/ev-window.c:
3018 (update_chrome_visibility),
3019 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3020 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3021 (update_document_mode), (ev_window_update_fullscreen_action),
3022 (ev_window_fullscreen), (ev_window_unfullscreen),
3023 (ev_window_cmd_view_fullscreen),
3024 (ev_window_update_presentation_action),
3025 (ev_window_run_presentation), (ev_window_stop_presentation),
3026 (ev_window_cmd_view_presentation), (ev_window_state_event),
3027 (ev_window_focus_in_event), (ev_window_focus_out_event),
3028 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3029 * data/evince-ui.xml: Initial presentation mode. We should
3030 probably hide this until it's done, as it's quite rough. Also,
3031 change full-screen to fullscreen and add two getters to EvView.
3033 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3035 * shell/ev-page-action.c: (update_page_cache),
3036 (ev_page_action_dispose):
3037 * shell/ev-window.c: (destroy_fullscreen_popup),
3038 (ev_window_create_fullscreen_popup):
3040 Use connect_object rather than explicitly
3041 disconnect on dispose.
3043 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3045 * shell/ev-page-action.c: (update_page_cache),
3046 (ev_page_action_dispose):
3048 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3050 * backend/ev-page-cache.c: (_ev_page_cache_new),
3051 (ev_page_cache_set_page_label),
3052 (ev_page_cache_has_nonnumeric_page_labels):
3053 * backend/ev-page-cache.h:
3054 * shell/ev-page-action.c: (update_pages_label):
3056 If all page labels are numeric, fallback to default
3057 way to display number of pages. See bug 173185.
3059 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3061 * shell/ev-page-action.c: (ev_page_action_dispose):
3062 * shell/ev-view.c: (view_update_range_and_current_page):
3063 * shell/ev-window.c: (ev_window_dispose):
3065 Set page on scroll in continuous mode. Fixes bug 301986.
3066 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3068 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3072 Require poppler 0.3.0
3074 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3076 * shell/Makefile.am, configure.ac: Fix build problems
3077 with t1lib. Bug 301996.
3079 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3081 * shell/ev-view.c: (ev_view_scroll_event):
3083 Scroll up increase zoom
3085 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3087 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3088 (ev_view_set_sizing_mode),
3089 (ev_view_zoom_for_size_continuous_and_dual_page),
3090 (ev_view_zoom_for_size_continuous):
3091 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3092 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3093 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3096 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3097 Fix for 165473 and 165472.
3099 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3102 * thumbnailer/Makefile.am:
3103 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3104 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3105 * thumbnailer/evince-thumbnailer.schemas.in:
3107 Make thumbnailer schemas translatable. Fix for bug 301773
3109 * thumbnailer/evince-thumbnailer-djvu.schemas:
3110 * thumbnailer/evince-thumbnailer-dvi.schemas:
3111 * thumbnailer/evince-thumbnailer.schemas:
3115 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3117 * shell/ev-view.c (ev_view_init): forgot to set this.
3119 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3121 * shell/ev-view.c: (find_page_at_location),
3122 (get_link_at_location),
3123 (ev_view_set_show_border), (ev_view_set_spacing),
3124 (ev_view_zoom_for_size_continuous_and_dual_page),
3125 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3126 Also, add a quick fix measuring of widths. Also, removed
3127 ev_view_set_spacing and ev_view_set_show_border.
3129 * shell/ev-window.c: (ev_window_unfullscreen),
3130 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3132 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3134 * shell/ev-view.c: (view_update_range_and_current_page),
3137 Fix crash on exit and scrolling to page in continuous view.
3139 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3142 * backend/ev-page-cache.c: (_ev_page_cache_new),
3143 (ev_page_cache_get_max_width_size),
3144 (ev_page_cache_get_max_height_size):
3145 * backend/ev-page-cache.h:
3146 * data/evince-ui.xml:
3147 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3148 * shell/ev-view.c: (view_update_adjustments),
3149 (view_update_range_and_current_page), (get_bounding_box_size),
3150 (ev_view_size_request_continuous_and_dual_page),
3151 (ev_view_size_request_continuous),
3152 (ev_view_size_request_dual_page),
3153 (ev_view_size_request_single_page), (ev_view_size_request),
3154 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3155 (ev_view_bin_expose), (ev_view_expose_event),
3156 (ev_view_set_property), (ev_view_get_property),
3157 (ev_view_class_init), (ev_view_init), (ev_view_new),
3158 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3159 (ev_view_set_dual_page), (ev_view_set_full_screen),
3160 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3161 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3162 (ev_view_zoom_out), (zoom_for_size_fit_width),
3163 (zoom_for_size_best_fit),
3164 (ev_view_zoom_for_size_continuous_and_dual_page),
3165 (ev_view_zoom_for_size_continuous),
3166 (ev_view_zoom_for_size_dual_page),
3167 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3168 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3170 * shell/ev-window.c: (update_action_sensitivity),
3171 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3172 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3173 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3174 (ev_window_cmd_view_zoom_out), (update_view_size),
3175 (ev_window_set_sizing_mode), (ev_window_init):
3177 Add Continuous and Dual page modes.
3179 2005-04-23 James Bowes <bowes@cs.dal.ca>
3181 * dvi/dvi-document.c: (dvi_document_load),
3182 (dvi_document_thumbnails_get_thumbnail),
3183 (dvi_document_init_params): Fix up some mixups between
3184 width and height to correct thumbnail rendering.
3186 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3188 * dvi/mdvi-lib/private.h:
3189 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3191 Suppess output for kpathsea during font generation. Thanks to
3194 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3201 * Makefile.am: fix distcheck.
3203 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3205 * shell/ev-sidebar-links.c: (selection_changed_callback),
3206 (update_page_callback), (row_activated_callback),
3207 (job_finished_callback), (ev_sidebar_links_set_document):
3209 Fix for bug #169901. Double click on links expands tree.
3211 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3213 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3214 hard-coded style. Fix for bug 170111
3216 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3218 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3221 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3223 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3225 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3227 * pdf/ev-poppler.cc:
3228 * shell/ev-view.c: (highlight_find_results):
3230 Fix find on single page documents
3232 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3234 * data/evince.schemas.in: fix for bug 301390
3236 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3238 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3239 (ev_view_zoom_out), (ev_view_zoom_normal):
3241 * shell/ev-window.c: (update_action_sensitivity),
3242 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3243 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3244 (ev_window_cmd_view_normal_size):
3246 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3247 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3250 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3254 Depend on 2.57, 2.59 doesnt seem to be necessary
3256 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3258 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3261 Put back total number of pages as (1 of 1234)
3263 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3265 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3268 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3269 function. This helps debugging.
3271 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3273 * djvu/djvu-document.c: (djvu_document_class_init),
3274 (djvu_document_get_info), (djvu_document_document_iface_init):
3275 * dvi/dvi-document.c: (dvi_document_class_init),
3276 (dvi_document_get_info), (dvi_document_document_iface_init):
3278 Dummy implementation of get_info method for dvi and djvu. Fix
3279 crashes with those backends
3281 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3283 * data/evince.desktop.in:
3285 Add application/x-gzpostscript
3287 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3289 * data/evince.schemas.in: Added real long descriptions,
3292 * README: Added actual text, closes bug 171869
3294 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3296 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3300 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3302 * backend/ev-document-info.h:
3304 s/GDate */GDate so we can just use g_free
3306 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3308 * shell/ev-window.c: (update_document_mode),
3309 (ev_window_setup_document):
3311 Show the window in fullscreen when specified by
3314 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3316 * backend/ev-document.c: (ev_document_class_init),
3317 (ev_document_get_info), (ev_document_render_pixbuf):
3318 * backend/ev-document.h:
3319 * backend/ev-page-cache.c: (_ev_page_cache_new):
3320 * pdf/ev-poppler.cc:
3321 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3322 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3323 * ps/ps-document.c: (ps_document_class_init), (document_load),
3324 (ps_document_get_info), (ps_document_document_iface_init):
3326 Remove get_title from the interface, we can just use document info
3328 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3330 * backend/Makefile.am:
3331 * backend/ev-document.c: (ev_document_render_get_info):
3332 * backend/ev-document.h:
3333 * pdf/ev-poppler.cc:
3335 Initial support for document info. Based on jrb patch.
3337 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3339 * shell/ev-window.c: (ev_window_state_event),
3340 (ev_window_class_init), (ev_window_init):
3342 Doesn't show resize grip when maximized. See bug #301053
3344 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3348 ev-sidebar-thumbnails now has translatable labels
3350 * shell/Makefile.am:
3351 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3352 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3353 (ev_sidebar_links_page_iface_init):
3354 * shell/ev-sidebar-links.h:
3355 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3356 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3357 (ev_sidebar_page_get_label):
3358 * shell/ev-sidebar-page.h:
3359 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3360 (ev_sidebar_thumbnails_set_document),
3361 (ev_sidebar_thumbnails_support_document),
3362 (ev_sidebar_thumbnails_get_label),
3363 (ev_sidebar_thumbnails_page_iface_init):
3364 * shell/ev-sidebar-thumbnails.h:
3365 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3366 (ev_sidebar_set_document):
3367 * shell/ev-sidebar.h:
3368 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3370 Small rework of sidebar code. Now sidebar pages should implement
3371 EvSidebarPage interface. That makes page management in EvSidebar
3372 easier. See bug #164811 for details
3374 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3376 * shell/ev-application.c: (ev_application_open):
3377 * shell/ev-document-types.c:
3379 Fix build error and small problem with application exit
3381 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3383 * thumbnailer/Makefile.am:
3384 * thumbnailer/evince-thumbnailer-djvu.schemas:
3385 * thumbnailer/evince-thumbnailer-dvi.schemas:
3387 Conditionally install schemas for djvu/dvi thumbnailer
3389 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3391 * shell/ev-document-types.h:
3392 * shell/ev-document-types.c:
3393 New files, handling the mapping from mimetypes to backends
3395 * shell/ev-window.c:
3396 * thumbnailer/evince-thumbnailer.c:
3397 Use the ev-document-types code
3399 * shell/Makefile.am:
3400 Added new convenience library libevbackendfactory_la, containing
3401 the new mimetype->backend logic; moved the backends into it.
3403 * thumbnailer/Makefile.am:
3404 Make the thumbnailer link with the libevbackend.la convenience
3405 library, rather than having a duplicate of the backend logic here.
3407 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3409 * shell/ev-stock-icons.c: constify some vars.
3410 * shell/ev-window.c: ditto.
3412 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3414 * ps/ps-document.c (get_page_orientation):
3416 Respect document orientation
3418 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3422 * shell/Makefile.am:
3424 Move library dependencies to components.
3426 * shell/ev-window.c: (update_window_title),
3427 (start_loading_document):
3429 Fix display of uris with spaces. Bug 168358.
3431 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3433 * shell/ev-sidebar-links.c: (selection_changed_cb):
3434 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3435 (ev_view_button_release_event), (ev_view_set_document):
3437 * shell/ev-window.c: (find_bar_search_changed_cb):
3438 * shell/ev-window.h: Minor cleanups removing some dead code.
3440 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3442 * backend/ev-page-cache.c: (_ev_page_cache_new):
3444 Set current page to 0 if document has pages.
3446 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3448 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3450 Initialize GError to NULL, fix a crash when loading fails.
3452 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3454 * shell/ev-window.c: (update_view_size):
3456 Calculate shadow size only when there is actually
3459 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3461 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3464 Allow setting view spacing, default to 0
3466 * shell/ev-window.c: (ev_window_unfullscreen),
3467 (ev_window_cmd_view_fullscreen), (ev_window_init):
3469 Remove spacing in fullscreen mode
3471 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3473 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3474 (ev_view_size_request), (expose_bin_window),
3475 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3477 * shell/ev-window.c: (ev_window_unfullscreen),
3478 (ev_window_cmd_view_fullscreen):
3480 Do not draw the border in fulscreen
3482 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3484 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3485 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3486 (find_page_at_location), (page_changed_cb):
3488 Rework border calculation, so that I can more easily disable it.
3489 Code somewhat cleaner too.
3491 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3493 * backend/ev-page-cache.c: (ev_page_cache_init),
3494 (_ev_page_cache_new):
3496 Remove some assertions, documents can have 0 pages.
3497 Make initial current page -1.
3499 * shell/ev-page-action.c: (page_changed_cb):
3501 Show "" if current page is -1
3503 * shell/ev-window.c: (update_action_sensitivity),
3504 (ev_window_setup_document):
3506 When document has 0 pages do not set the view
3507 and make nearly everything insensitive.
3509 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3511 * shell/ev-page-view.c:
3512 * shell/ev-page-view.h:
3514 Remove unused files.
3516 * shell/ev-sidebar-thumbnails.c:
3517 (ev_sidebar_thumbnails_set_document):
3518 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3519 (ev_sidebar_supports_document):
3520 * shell/ev-sidebar.h:
3521 * shell/ev-window.c: (ev_window_setup_document):
3523 Doesn't show thumbnails if document has 1 page. Make
3524 sidebar menu entries sensitive only if if they have
3525 sense. Fix bug 164811.
3527 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3529 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3530 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3531 (ev_view_zoom_out), (ev_view_set_size):
3533 Rework sizing to deal with documents with not uniform page
3536 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3538 * backend/ev-page-cache.c: (_ev_page_cache_new):
3540 Fix several page size caching bugs
3542 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3544 * shell/ev-window.c: (set_action_properties):
3546 Make all toolbar items translatable
3548 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3550 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3551 (save_page_list), (ps_document_save),
3552 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3553 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3554 (ps_document_ps_exporter_iface_init):
3557 Based on a patch by J�rg Billeter <j@bitron.ch>
3559 Implement print and save a copy for the ps backend.
3561 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3563 * backend/ev-document.h:
3564 * djvu/djvu-document.c: (djvu_document_can_get_text),
3565 (djvu_document_document_iface_init):
3566 * dvi/dvi-document.c: (dvi_document_can_get_text),
3567 (dvi_document_document_iface_init):
3568 * pdf/ev-poppler.cc:
3569 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3570 (pixbuf_document_document_iface_init):
3571 * ps/ps-document.c: (ps_document_can_get_text),
3572 (ps_document_document_iface_init):
3573 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3574 * shell/ev-window.c: (update_action_sensitivity):
3576 Fix the crash when trying to copy in backends that doesnt
3577 support it. We can implement a better solution once we
3578 do real text selection.
3580 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3582 * data/evince-ui.xml:
3583 * shell/ev-window.c: (ev_window_cmd_escape):
3585 Work around the Escape conflict (find bar and unfullscreen)
3587 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3589 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3591 Fix for #300233. Next page correctly handles document end.
3593 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3594 (ev_sidebar_thumbnails_class_init),
3595 (ev_sidebar_thumbnails_set_document),
3596 (ev_sidebar_thumbnails_clear_job),
3597 (ev_sidebar_thumbnails_clear_model):
3599 Cleanup thumbnail jobs on document changes.
3601 * shell/ev-view.c: (add_scroll_binding_keypad),
3602 (add_scroll_binding_shifted), (ev_view_class_init):
3604 Shift + Space scrolls up. Fix for #173184
3606 * shell/ev-window.c: (ev_window_open_page),
3607 (ev_window_cmd_view_reload):
3609 Fix reload (Bug #300094)
3611 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3614 * dvi/mdvi-lib/assoc.c:
3615 * dvi/mdvi-lib/assoc.h: Removed garbage files
3617 * dvi/mdvi-lib/bitmap.c:
3618 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3619 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3620 * dvi/mdvi-lib/color.h: Antialias of rules
3622 * dvi/mdvi-lib/common.h:
3623 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3624 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3625 * dvi/mdvi-lib/files.c:
3626 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3627 * dvi/mdvi-lib/mdvi.h:
3628 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3629 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3630 * dvi/mdvi-lib/util.c: Fix compile warnings
3632 * dvi/dvi-document.c:
3633 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3634 (dvi_document_thumbnails_get_thumbnail),
3635 (dvi_document_document_thumbnails_iface_init):
3636 * dvi/mdvi-lib/Makefile.am:
3637 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3638 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3640 Dvi backend now renders thumbnails
3642 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3644 * shell/main.c: (main):
3646 Save accelerators on exit. Fixes bug #172095.
3648 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3650 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3651 update priority" comment.
3653 * backend/ev-job-queue.c: Give a way to change priority.
3655 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3657 * shell/ev-page-action.c: Fix logic.
3659 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3661 * shell/ev-view.c: (ev_view_can_find_next):
3662 * shell/ev-window.c: (ev_window_setup_document):
3664 Check that the document supports find
3666 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3668 * data/evince-ui.xml:
3669 * shell/ev-view.c: (ev_view_can_find_next):
3671 * shell/ev-window.c: (update_action_sensitivity),
3672 (find_changed_cb), (ev_window_setup_document),
3673 (ev_window_cmd_edit_find_next):
3677 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3679 * pdf/ev-poppler.cc:
3680 * shell/ev-print-job.c: (idle_print_handler):
3682 Make printing work again
3684 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3686 * shell/ev-page-action.h:
3687 * shell/ev-page-action.c: (ev_page_action_widget_init),
3688 (ev_page_action_widget_class_init), (page_changed_cb),
3689 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3690 (get_filter_model_from_model), (match_selected_cb),
3691 (display_completion_text), (match_completion), (update_model),
3692 (connect_proxy), (ev_page_action_set_property),
3693 (ev_page_action_get_property), (ev_page_action_set_document),
3694 (ev_page_action_set_model), (ev_page_action_class_init): Big
3695 reworking to make completions work iff we have >= GTK-2.7.0
3697 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3698 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3699 (job_finished_cb): We now have a 'model' property that is set when
3700 the links are loaded. This can be caught with "notify::model"
3702 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3703 listen for the model to be set, and propagate it to the action.
3705 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3707 * cut-n-paste/recent-files/egg-recent-item.c:
3708 (egg_recent_item_set_uri), (make_valid_utf8),
3709 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3710 * cut-n-paste/recent-files/egg-recent-item.h:
3712 Update egg-recent from libegg. This should fix long
3713 startup problem. For details see
3714 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3716 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3718 * cut-n-paste/recent-files/Makefile.am:
3719 * data/evince-ui.xml, shell/Makefile.am:
3720 * shell/ev-application.c, shell/ev-application.h:
3721 * shell/ev-window.c: Recent files support.
3723 * configure.ac: Added "ru" to ALL_LINGUAS.
3725 * dvju: new backend to support DJVU files.
3726 * dvi: new backend to support DVI.
3728 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3729 * ev-application.c: Support for new backends.
3731 * help, ev-window.c, main.c shell/Makefile.am:
3732 Evince user documentation.
3734 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3737 * shell/ev-window.c:
3738 * thumbnailer/evince-thumbnailer.c:
3740 s/pdf-document/ev-poppler
3742 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3749 * ps/ps-document.c: (setup_pixmap):
3753 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3755 * backend/ev-page-cache.c (ev_page_cache_next_page):
3756 * shell/ev-window.c (ev_window_cmd_go_next_page)
3757 (ev_window_cmd_go_first_page): Fix of by one errors.
3759 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3761 * ps/ps-document.c: (get_page_box):
3763 Fix page size calculation
3765 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3767 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3768 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3769 (get_page_orientation), (setup_page), (document_load),
3770 (ps_document_get_page_size), (render_pixbuf_idle):
3773 More refactoring to adapt to EvDocument changes
3775 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3777 * ps/ps-document.c: (start_interpreter):
3779 Actually add alpha args
3781 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3783 * pdf/ev-poppler.cc:
3785 Make clipboard work again
3787 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3789 Make searching work again.
3791 * backend/ev-document.c:
3792 * backend/ev-document.h:
3793 * backend/ev-document-find.c:
3794 * backend/ev-document-find.h: Change EvDocumentIface so we no
3795 longer store the current page or zoom level in the document. The
3796 consequence is that all calls that operate on the current page now
3797 instead take the page number as an extra argument, and all
3798 coordinates are now doubles in document coordinate system.
3800 * pdf/ev-poppler.cc:
3801 * pixbuf/pixbuf-document.c:
3802 * ps/ps-document.c: Update backends accordingly.
3804 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3808 Add required gettext version
3810 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3812 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3813 make F1 bring up non-existent help.
3815 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3816 epiphany's find bar, #167477
3818 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3819 <emil@nishra.com> to add space-bar scrolling,
3821 * shell/ev-window.c (static GtkActionEntry entries): add default
3822 keybinding for Help (F1)
3825 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3826 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3829 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3832 * pixbuf/pixbuf-document.c:
3834 Got pixbuf backend working again
3836 2005-04-01 Steve Murphy <murf@e-tools.com>
3838 * configure.in: Added "rw" to ALL_LINGUAS.
3840 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3842 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3843 model types, noticed by Martin Kretzschmar.
3845 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3847 * pdf/ev-poppler.cc: Implement search based on
3848 poppler_page_find_text(). Currently a bit crude since we remember
3849 all matches from all pages. Also, we grab the big document lock
3850 when we search since searching changes the underlying stream and
3851 thus conflicts with the rendering thread.
3853 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3854 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3855 (ev_view_find_previous): Fix some page indexes to be 0 based,
3856 offset rubber band by view offset,
3858 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3860 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3862 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3864 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3865 completely because I didn't understand GtkActions. I should
3866 read Marco's code more carefully in the future.
3868 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3871 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3873 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3874 PopplerRectangle change from poppler CVS.
3876 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3878 * backend/ev-document.c: (ev_document_get_page_label):
3879 * backend/ev-document.h:
3880 * backend/ev-page-cache.c: (_ev_page_cache_new),
3881 (ev_page_cache_get_page_label):
3882 * backend/ev-page-cache.h:
3883 * pdf/ev-poppler.cc:
3884 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3885 (links_page_num_func):
3886 * shell/ev-sidebar-thumbnails.c:
3887 (ev_sidebar_thumbnails_set_document):
3888 * shell/ev-view.c: (status_message_from_link),
3889 (ev_view_motion_notify_event):
3890 * shell/ev-window.c: (document_supports_sidebar): Add in page
3891 label support. It's not perfect yet, but it's the first 'feature'
3893 Also, fix a bogus comment noticed by crispin.
3895 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3897 * Makefile.am: Remove pixbuf backend for now
3899 * configure.ac: Require poppler-glib instead of just poppler.
3901 * backend/ev-document-thumbnails.h: Add a comment
3903 * backend/ev-document.h:
3904 * backend/ev-document.c: (ev_document_class_init),
3905 (ev_document_load), (ev_document_get_link),
3906 (ev_document_get_links): Remove 3 methods and add get_links.
3909 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3910 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3912 * backend/ev-link.c: (ev_link_set_title),
3913 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3914 (ev_link_mapping_find):
3915 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3917 * backend/ev-page-cache.c: (ev_page_cache_init),
3918 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3919 (ev_page_cache_get_size), (ev_page_cache_next_page),
3920 (ev_page_cache_prev_page): Fix to be 0 based.
3924 * pdf/ev-poppler.cc: New backend.
3926 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3927 (ps_document_get_page), (ps_document_document_iface_init):
3929 * shell/ev-pixbuf-cache.h:
3930 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3931 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3932 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3933 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3934 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3935 Fix up code to grab a page cache per each doc. Also, fix to be 0
3938 * shell/ev-sidebar-thumbnails.c:
3939 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3940 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3942 * shell/ev-view.c: (status_message_from_link),
3943 (find_page_at_location), (get_link_at_location),
3944 (ev_view_motion_notify_event), (ev_view_button_release_event),
3945 (ev_view_init): Use the new link code. Fix to be 0 based.
3947 * shell/ev-window.c: (update_action_sensitivity),
3948 (document_supports_sidebar): 0 based.
3950 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3952 * pdf/pdf-document.cc: Patch from Fernando Herrera
3953 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3956 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3958 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3959 1 to the page, as this seems to be 1 based. I thought we has this
3962 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3965 * backend/Makefile.am:
3966 * backend/ev-document-links.c:
3967 (ev_document_links_has_document_links),
3968 (ev_document_links_get_links_model):
3969 * backend/ev-document-links.h:
3970 * backend/ev-document.c: (ev_document_get_page_cache),
3971 (ev_document_get_doc_mutex), (ev_document_load),
3972 (ev_document_save), (ev_document_get_title),
3973 (ev_document_get_n_pages), (ev_document_set_page),
3974 (ev_document_get_page), (ev_document_set_target),
3975 (ev_document_set_scale), (ev_document_set_page_offset),
3976 (ev_document_get_page_size), (ev_document_get_text),
3977 (ev_document_get_link), (ev_document_render),
3978 (ev_document_render_pixbuf), (ev_document_scale_changed):
3979 * backend/ev-document.h:
3980 * backend/ev-job-queue.c: (remove_object_from_queue),
3981 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3982 (no_jobs_available_unlocked), (ev_render_thread),
3983 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3984 (ev_job_queue_remove_job):
3985 * backend/ev-job-queue.h:
3986 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3987 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3988 (ev_job_links_class_init), (ev_job_render_init),
3989 (ev_job_render_dispose), (ev_job_render_class_init),
3990 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3991 (ev_job_thumbnail_class_init), (ev_job_finished),
3992 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3993 (ev_job_render_run), (ev_job_thumbnail_new),
3994 (ev_job_thumbnail_run):
3995 * backend/ev-jobs.h:
3996 * backend/ev-link.c:
3997 * backend/ev-link.h:
3998 * backend/ev-page-cache.c: (ev_page_cache_init),
3999 (ev_page_cache_class_init), (ev_page_cache_finalize),
4000 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4001 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4002 (ev_page_cache_set_link), (ev_page_cache_get_title),
4003 (ev_page_cache_get_size), (ev_page_cache_next_page),
4004 (ev_page_cache_prev_page):
4005 * backend/ev-page-cache.h:
4006 * pdf/pdf-document.cc:
4009 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4010 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4011 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4012 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4013 (is_interpreter_ready), (output), (catchPipe), (input),
4014 (start_interpreter), (check_filecompressed), (compute_dimensions),
4015 (ps_document_enable_interpreter), (document_load),
4016 (ps_document_next_page), (render_page), (ps_document_set_page),
4017 (ps_document_set_scale), (render_pixbuf_idle),
4018 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4020 * shell/Makefile.am:
4021 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4022 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4023 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4024 (ev_pixbuf_cache_new), (job_finished_cb),
4025 (check_job_size_and_unref), (move_one_job),
4026 (ev_pixbuf_cache_update_range), (find_job_cache),
4027 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4028 (ev_pixbuf_cache_add_jobs_if_needed),
4029 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4030 * shell/ev-pixbuf-cache.h:
4031 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4032 (idle_print_handler):
4033 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4034 (selection_changed_cb), (create_loading_model),
4035 (ev_sidebar_links_construct), (links_page_num_func),
4036 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4037 (update_page_callback), (job_finished_cb),
4038 (ev_sidebar_links_set_document):
4039 * shell/ev-sidebar-thumbnails.c:
4040 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4041 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4042 (page_changed_cb), (thumbnail_job_completed_callback),
4043 (ev_sidebar_thumbnails_set_document):
4044 * shell/ev-sidebar-thumbnails.h:
4045 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4046 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4047 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4048 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4049 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4050 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4051 (ev_view_button_release_event), (ev_view_scroll_view),
4052 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4053 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4054 (ev_view_new), (job_finished_cb), (page_changed_cb),
4055 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4056 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4057 (ev_view_find_previous):
4059 * shell/ev-window.c: (update_action_sensitivity),
4060 (ev_window_open_page), (update_window_title), (update_total_pages),
4061 (page_changed_cb), (ev_window_setup_document),
4062 (password_dialog_response), (ev_window_cmd_save_as),
4063 (ev_window_print), (ev_window_cmd_go_previous_page),
4064 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4065 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4066 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4067 * shell/main.c: (main):
4069 Merge evince-threads branch
4071 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4073 * configure.ac: Added "lt" to ALL_LINGUAS.
4075 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4082 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4084 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4086 Fix here also the thumbnails 1-basedness :)
4088 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4095 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4097 * pdf/pdf-document.cc:
4098 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4099 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4101 Fix the mess we did with thumbnails and 1-basedness
4103 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4105 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4107 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4114 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4117 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4118 (gtk_gs_defaults_get_alpha_parameters),
4119 (gtk_gs_defaults_get_ungzip_cmd),
4120 (gtk_gs_defaults_get_unbzip2_cmd):
4122 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4123 (ps_document_get_orientation), (document_load),
4124 (ps_document_goto_page), (ps_document_set_page_size):
4127 Some more sanitization of the ps backend. Remove a lot
4128 of unused code and do not base our defaults on ggv
4131 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4133 * thumbnailer/evince-thumbnailer.schemas:
4134 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4135 (main): add -s option for thumbnail size.
4137 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4141 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4144 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4146 * pdf/pdf-document.cc:
4148 Remove 4 pixels of useless border from the
4151 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4153 * backend/ev-document-thumbnails.c:
4154 (ev_document_thumbnails_get_thumbnail):
4155 * backend/ev-document-thumbnails.h:
4157 Rework API a bit. Add a border flag and
4158 change sizing logic (now the size we specify
4159 applies to the bigger dimension).
4161 * pdf/pdf-document.cc:
4162 * pixbuf/pixbuf-document.c:
4163 (pixbuf_document_thumbnails_get_thumbnail):
4164 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4165 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4167 Adapt to the new API and do not draw a border for nautilus
4170 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4172 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4173 take thumbnails from page "0" instead of "1". Added a copyright header.
4175 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4177 * ps/ps-document.c: (set_up_page), (start_interpreter):
4179 Make it C89 compliant
4181 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4186 * pdf/pdf-document.cc:
4187 * thumbnailer/Makefile.am:
4188 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4190 * thumbnailer/evince-thumbnailer.schemas:
4191 * thumbnailer/pdf-icon.png:
4193 Add a nautilus thumbnailer.
4194 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4196 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4204 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4206 Use poppler instead of including xpdf source code. Poppler is a
4207 fork of xpdf to build it as a shared library. See
4208 http://freedesktop.org/wiki/Software/poppler.
4210 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4213 * pdf/Makefile.am: Build libpdfdocument.a here.
4215 * pdf/GDKSplashOutputDev.cc:
4216 * pdf/GDKSplashOutputDev.h:
4217 * pdf/GnomeVFSStream.cc:
4218 * pdf/GnomeVFSStream.h:
4221 * test-gdk-output-dev.cc
4223 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4226 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4228 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4230 Clear idle stack before unsetting the document
4232 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4234 * ps/ps-document.c: (ps_document_widget_event),
4235 (ps_document_set_target), (ps_document_finalize),
4236 (ps_document_get_page):
4238 Disconnect the widget event signal on finalize.
4241 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4243 * ps/ps-document.c: (set_up_page):
4245 If there is no bpixmap create one, even if size
4248 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4250 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4251 (set_up_page), (document_load), (ps_document_set_zoom):
4253 Default page is 0. Calculate size even when we have no
4256 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4258 * shell/ev-sidebar.c: expand the selection widget to be always as
4261 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4263 * shell/ev-sidebar-thumbnails.c:
4264 (ev_sidebar_thumbnails_set_document):
4266 Clear the list store when setting document
4268 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4270 * shell/ev-page-action.c: (update_entry), (sync_entry),
4271 (activate_cb), (entry_size_request_cb), (create_tool_item),
4274 Use an entry for the page control instead of spinbuttons
4276 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4278 * data/evince.schemas.in:
4280 Correct confusing string
4282 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4284 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4285 for real. Gosh, how long has this been broken.
4287 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4288 check for a NULL link. We crash otherwise.
4290 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4297 2005-02-25 Sebastien Bacher <seb128@debian.org>
4299 * configure.ac: add the french translation.
4301 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4303 * shell/ev-window.c:
4305 Remove unused header -> fix distcheck
4307 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4309 * shell/ev-window.c: (update_window_title),
4310 (ev_window_popup_password_dialog):
4312 Unescape filename for display
4314 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4316 * pdf/xpdf/pdf-document.cc:
4318 In get_page_size deal with rotation. Also
4319 cleanup the function a bit.
4321 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4323 * pdf/xpdf/pdf-document.cc:
4325 Fix crash when opening in new window
4327 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4331 Check ghostscript >= 7
4333 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4335 * shell/ev-window.c:
4337 Make page width the default sizing mode
4339 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4340 Marco Pesenti Gritti <marco@gnome.org>
4342 * shell/ev-window.c: Remember the sidebar size
4344 * data/evince.schemas.in: Add a new gconf key to store the size of
4347 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4349 * data/evince-ui.xml:
4350 * shell/ev-window.c: (update_action_sensitivity),
4351 (ev_window_cmd_view_reload):
4353 Add a "Reload" action and menu entry
4355 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4357 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4358 iff the type doesn't support thumbnailing and indexing.
4360 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4362 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4364 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4366 * pdf/splash/Splash.cc:
4368 Port fix for a crasher from kde bug
4369 http://bugs.kde.org/show_bug.cgi?id=97131
4371 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4373 * pdf/xpdf/pdf-document.cc:
4375 Return a link even if it's of an unrecognized
4376 type. Otherwise we go in an infinte cycle.
4378 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4380 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4381 (size_allocate_cb), (ev_window_set_sizing_mode):
4383 Update size when switching mode
4385 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4387 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4388 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4389 (ev_window_cmd_view_normal_size):
4391 Fix size toggle buttons behavior
4393 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4395 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4396 (doc_rect_to_view_rect), (ev_view_size_allocate),
4397 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4398 (scale_changed_callback):
4400 Do not cache offsets in size_allocate.
4402 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4404 * shell/ev-view.c: (ev_view_size_allocate):
4406 Calculate offsets before calling the parent
4407 class (which does a redraw)
4409 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4411 * pdf/xpdf/pdf-document.cc:
4413 Fix a crasher on exit. Unused code, put a TODO
4415 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4417 * backend/ev-document.c: (ev_document_class_init),
4418 (ev_document_page_changed), (ev_document_scale_changed):
4419 * backend/ev-document.h:
4421 Separate page/scale notifications
4423 * pdf/xpdf/pdf-document.cc:
4425 Emit the new signals.
4426 Do not display the pdf page in _render, do it
4427 when scale/page are requested.
4429 * ps/ps-document.c: (ps_document_set_zoom),
4430 (ps_document_widget_event):
4433 Emit the new signals.
4435 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4436 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4437 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4438 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4440 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4441 (ev_window_cmd_view_page_width), (size_allocate_cb),
4442 (ev_window_set_sizing_mode):
4444 Rework sizing to be pixel based.
4445 There are bugs but should be already way better.
4447 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4449 * shell/ev-window.c: (ev_window_init):
4451 Do not allow to shrink sidebar smaller then
4454 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4456 * shell/ev-sidebar.[ch]
4457 * shell/ev-window.c:
4459 Improved sidebar widget. Fixes #166683
4461 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4463 * shell/ev-view.c (update_find_status_message): Give translators
4464 more flexibility with ngettext plural handling.
4466 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4468 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4469 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4470 page when we get the page size.
4472 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4474 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4476 ps pages are 0 based, convert
4478 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4480 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4482 Initialize correct parent class. Set GError on document load
4484 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4486 * pdf/xpdf/pdf-document.cc:
4488 Fixup selection offset calculation
4490 * shell/ev-view.c: (view_rect_to_doc_rect),
4491 (doc_rect_to_view_rect), (ev_view_size_allocate),
4492 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4493 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4495 Store selection as document relative, so that zooming
4496 and offset changing doesnt break it.
4498 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4500 * shell/ev-view.c: (ev_view_best_fit):
4502 Do not try to best fit if the view is not realized
4504 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4506 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4508 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4510 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4512 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4514 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4515 the popup window. That prevents it resizing when in full screen
4518 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4519 multiple rerenders. This pretty much sucks.
4521 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4522 rest of the toolbar.
4524 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4526 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4528 2005-02-17 Alexander Shopov <ash@contact.bg>
4530 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4532 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4534 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4536 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4538 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4539 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4540 (set_document_page), (document_changed_callback),
4541 (ev_view_set_document), (ev_view_find_previous),
4542 (ev_view_hide_cursor), (ev_view_show_cursor):
4544 * shell/ev-window.c: (update_chrome_visibility),
4545 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4546 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4547 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4548 (ev_window_unfullscreen):
4549 * shell/main.c: (main):
4551 Automatically hide the fullscreen button.
4552 Patch by Kristian Høgsberg <krh@redhat.com>
4554 2005-02-16 Vincent Noel <vnoel@cox.net>
4556 * shell/main.c (main): Specify an icon for the window. Patch by
4557 Jaap A. Haitsma. Fixes #166177.
4559 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4561 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4563 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4565 * backend/ev-document-misc.h:
4566 * backend/ev-document-misc.c:
4567 (ev_document_misc_get_page_border_size),
4568 (ev_document_misc_paint_one_page): New function to canonicalize
4569 sizing/painting a border.
4571 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4574 * pdf/xpdf/pdf-document.cc: use new function
4576 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4577 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4578 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4579 shell/ev-window.c: (update_sizing_buttons),
4580 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4581 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4582 (ev_window_cmd_view_page_width), (size_allocate_cb),
4583 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4584 and "fit width" values act as toggle buttons so they stay
4585 toggled. It's not 100% perfect, and it's a little slow, but it's
4586 good enough to commit I think.
4588 2005-02-15 David Lodge <dave@cirt.net>
4590 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4592 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4594 * shell/ev-window.c (update_window_title): replace newlines in
4595 the title by spaces. Bug #166107.
4597 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4599 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4600 parameters providing allocation width and height without
4601 scrollbars and width of a possible vertical scrollbar. With this
4602 additional information the functions can work as
4603 intended. Unfortunately they're not idempotent. We should
4604 transform these commands to toggles. Fixes Bug #164976
4605 Initial patch by Stephane Loeuillet, then heavily modified.
4607 * shell/ev-view.h: update prototypes.
4609 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4610 (ev_window_cmd_view_page_width): provide EvView fit functions with
4611 all the information they need. Formulas to calculate this
4612 information taken from GtkScrolledWindow.
4614 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4616 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4617 created a thumbnail, the list store is updated to know
4618 that the thumbnail is set. Fixes bug #166792
4620 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4622 * shell/ev-window.c: fixed typo, closes bug 166897
4624 * TODO: updated TODO with bug numbers that are relevant
4626 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4628 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4630 2005-02-09 Vincent Noel <vnoel@cox.net>
4632 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4633 and "Next" toolbar buttons as important to make them stand out.
4635 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4639 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4640 (start_interpreter), (stop_interpreter), (document_load),
4641 (ps_document_next_page), (ps_document_goto_page),
4642 (ps_document_set_page_size), (ps_document_widget_event),
4643 (ps_document_render):
4644 * shell/ev-page-view.c: (ev_page_view_dispose):
4645 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4647 Fix compilation on non-gcc platforms
4649 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4656 * pdf/xpdf/Catalog.cc:
4659 Fix the fix for CAN-2004-0888
4661 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4664 * data/evince-ui.xml:
4665 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4666 * shell/ev-stock-icons.h:
4667 * shell/ev-window.c: (update_action_sensitivity),
4668 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4669 (set_action_properties):
4671 Improve toolbar layout/icons
4673 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4675 * pdf/xpdf/pdf-document.cc:
4677 Add warnings about unimplemented/unknown link
4680 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4682 * ps/ps-document.c: (set_up_page):
4686 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4688 * ps/ps-document.c: (start_interpreter):
4692 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4694 * shell/ev-page-view.c: (ev_page_view_dispose):
4695 * shell/ev-view.c: (ev_view_finalize):
4696 * shell/ev-window.c: (ev_window_setup_document),
4697 (ev_window_dispose), (ev_window_init):
4699 Solve more refs issues.
4701 I commented out the page_view initialization for now:
4702 it was never destroyed (because it's never added
4703 to a container). Because of that we was leaking
4704 gs processes. Couldnt think to a clean fix.
4705 We need to figure this out, password view has the
4706 same issue probably.
4708 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4710 * ps/ps-document.c: (ps_document_finalize),
4711 (ps_document_get_n_pages), (ps_document_get_page):
4713 Some cleanups, stop the interpreter on finalize
4715 * shell/ev-page-view.c: (ev_page_view_dispose),
4716 (ev_page_view_class_init):
4718 Release our reference on the document
4720 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4724 * doc/debugging.txt:
4727 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4728 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4729 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4732 Add debugging helpers
4735 * ps/ps-document.c: (set_up_page), (start_interpreter),
4736 (stop_interpreter), (document_load), (ps_document_next_page),
4737 (ps_document_goto_page), (ps_document_set_page_size),
4738 (ps_document_widget_event), (ps_document_render):
4739 * shell/Makefile.am:
4740 * shell/ev-view.c: (expose_bin_window):
4741 * shell/main.c: (main):
4745 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4747 * ps/ps-document.c: (ps_document_widget_event):
4749 Initialize message_window, this should make ps
4750 rendering really work! (Never noticed because I was
4751 testing with a ps that is causing gs to exit every time!)
4753 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4755 * data/evince.schemas.in: updated simple error in applyto closing tag
4757 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4763 * data/evince-ui.xml:
4764 A data/evince.schemas.in:
4766 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4767 * shell/ev-stock-icons.h:
4768 * shell/ev-window.c: (update_chrome_visibility),
4769 (update_chrome_flag), (ev_window_cmd_edit_find),
4770 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4771 (ev_window_unfullscreen), (ev_window_focus_in_event),
4772 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4773 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4774 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4775 (ev_window_dispose), (ev_window_class_init),
4776 (set_action_properties), (set_chrome_actions), (load_chrome),
4779 Implement fullscreen mode changes from bug #164776.
4780 Also implement persistent chrome toggles.
4782 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4784 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4786 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4792 Add another check for find interface
4796 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4798 * shell/ev-application.c: (ev_application_open):
4799 * shell/ev-window.c: (ev_window_open):
4801 Open gzipped ps documents
4803 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4806 * shell/ev-view.c: (set_document_page):
4808 Clamp page number, dont try to move to
4811 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4813 * backend/ev-document-find.c: (ev_document_find_changed):
4814 * backend/ev-document-find.h:
4815 * pdf/xpdf/pdf-document.cc:
4816 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4817 * shell/ev-window.c: (find_bar_search_changed_cb):
4819 Fix several bugs with find
4821 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4823 * shell/ev-sidebar-thumbnails.c
4824 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4825 document. Prevents warning from scroll_to_cell.
4827 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4829 * configure.ac: Add «nb» to ALL_LINGUAS too.
4831 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4833 * NOTES: New file with some random thoughts.
4837 * backend/ev-document-misc.c:
4838 (ev_document_misc_get_page_border_size): New function to
4839 canonicalize shadow drawing sizes. Possibly goofy.
4841 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4842 (ev_view_best_fit), (ev_view_fit_width):
4843 * pdf/xpdf/pdf-document.cc:
4844 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4845 * ps/ps-document.c: (ps_document_get_page_size):
4846 * backend/ev-document-misc.h:
4847 * backend/ev-document.c: (ev_document_get_page_size):
4848 * backend/ev-document.h: get_page_size now takes a page number
4849 parameter. Made all the backends/frontends honor it.
4851 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4852 see. Doesn't work yet.
4854 * shell/Makefile.am:
4855 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4856 Doesn't do anything yet.
4858 * shell/ev-sidebar-thumbnails.c:
4859 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4862 * shell/ev-window.c: (update_action_sensitivity),
4863 (ev_window_setup_document), (ev_window_set_page_mode),
4864 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4865 view-swapping code a bit so we can have multiple views on a
4866 document. Add the multi-page view, though it can't be turned on
4869 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4871 * shell/ev-application.c: (ev_application_open):
4872 * shell/ev-view.c: (expose_bin_window):
4873 * shell/ev-window.c: (ev_window_open):
4875 Support eps and check document supports find
4876 before drawing highlightings in expose.
4878 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4880 * pixbuf/pixbuf-document.c:
4881 (pixbuf_document_thumbnails_get_dimensions),
4882 (pixbuf_document_document_thumbnails_iface_init):
4884 implement get_dimensions
4886 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4893 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4895 * shell/ev-view.c: (set_document_page):
4897 Scroll at the top of the page when changing page
4899 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4901 * shell/ev-view.c: (ev_view_motion_notify_event):
4903 Do not redraw unnecessarily
4905 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4907 * pdf/xpdf/pdf-document.cc:
4908 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4909 (expose_bin_window), (find_changed_cb):
4911 Yay! find works now... Now to find bugs...
4913 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4915 * backend/ev-document-find.c: (ev_document_find_base_init),
4916 (ev_document_find_changed):
4917 * backend/ev-document-find.h:
4918 * pdf/xpdf/pdf-document.cc:
4919 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4920 (expose_bin_window), (ev_view_init), (set_document_page),
4921 (ensure_rectangle_is_visible), (jump_to_find_result),
4922 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4923 (ev_view_find_next), (ev_view_find_previous):
4925 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4927 More work on find implementation, mostly there now
4929 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4931 * backend/ev-backend-marshalers.list:
4932 * backend/ev-document-find.c: (ev_document_find_base_init),
4933 (ev_document_find_cancel), (ev_document_find_page_has_results),
4934 (ev_document_find_get_n_results), (ev_document_find_get_result),
4935 (ev_document_find_get_progress), (ev_document_find_changed):
4936 * backend/ev-document-find.h:
4938 Enanche the find interface to be really able to do
4941 * pdf/xpdf/pdf-document.cc:
4945 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4946 (expose_bin_window), (ev_view_init),
4947 (ev_view_get_find_status_message), (find_changed_cb),
4948 (ev_view_set_document), (set_document_page):
4950 Adapt to the new interface. A few things are regressed sorry,
4951 I will finish it soon.
4953 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4955 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4956 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4957 ev_sidebar_thumbnails_parent_class variable, don't define another
4958 parent_class variable.
4960 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4961 (ev_page_action_class_init): ditto.
4963 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4964 (pixbuf_document_class_init): ditto.
4966 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4969 * .cvsignore: ignore various valgrind output files.
4971 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4973 * data/evince-ui.xml:
4974 * shell/Makefile.am:
4975 * shell/ev-history.c:
4976 * shell/ev-history.h:
4977 * shell/ev-navigation-action.c:
4978 * shell/ev-navigation-action.h:
4979 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4980 (ev_view_set_page), (ev_view_fit_width):
4982 * shell/ev-window.c: (update_action_sensitivity),
4983 (ev_window_setup_document), (register_custom_actions):
4985 Kill session history
4987 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4989 * shell/ev-window.c: (update_action_sensitivity):
4991 Fix inverted up/down buttons
4993 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4995 * shell/ev-sidebar-thumbnails.c
4996 (ev_sidebar_thumbnails_select_page): make sure the selected
4997 thumbnail stays visible.
4999 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5001 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5002 scrolled window for Federico.
5004 2005-01-26 Ole Laursen <olau@hardworking.dk>
5006 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5008 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5011 * pdf/splash/SplashFTFontEngine.cc:
5013 Fix CID fonts with freetype 2.1.9
5015 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5017 * TODO: added item for desktop icon thumbnailer
5019 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5021 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5022 unloaded docs when the title is accessed.
5024 * shell/ev-password-view.[hc]: New widget for displaying password
5027 * shell/ev-window.[ch]: Refactor password handling code to handle
5030 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5038 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5040 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5041 ignore page offset here, to make search results independent of it,
5043 * shell/ev-view.c (expose_bin_window): but take offsets into
5044 account here. Bug #164932
5046 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5047 scale at the right time. Bug #164996
5049 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5051 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5052 fix the problem. Now I just removed the Adobe font names and hope
5053 that the URW fonts are always in outline format. Bug #164934
5055 * shell/ev-window.c (update_window_title): empty titles are
5056 useless, use filename in that case too.
5058 * NEWS: Add some content.
5060 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5062 * TODO: added one more TODO item and a TODONE section :)
5064 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5066 * ps/ps-document.h: add page_[xy]_offset fields.
5068 * ps/ps-document.c (ps_document_set_page_offset)
5069 (ps_document_render): Keep offset in consideration in a few
5070 places. Bug #164752 "postscript documents are not centered in
5073 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5074 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5076 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5077 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5078 stub out missing methods for complete EvDocument implementation.
5079 Fixes segfaults with Save A Copy and Copy actions.
5081 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5082 (ps_document_document_iface_init): ditto.
5084 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5088 * data/evince.desktop.in:
5092 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5094 * shell/ev-view.c: (ev_view_button_press_event),
5095 (ev_view_motion_notify_event):
5097 Make selection work in any direction
5099 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5102 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5104 Use shorter labels for some of the toolbars items
5106 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5108 * pdf/xpdf/pdf-document.cc:
5110 Check the links info is initialized before
5111 using it. Should fix a crash on startup.
5113 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5115 * pixbuf/pixbuf-document.c
5116 (pixbuf_document_thumbnails_get_dimensions): force floating point
5117 division to calculate page_ratio. Fixes crash with landscape
5120 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5122 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5124 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5126 * shell/ev-view.c (set_document_page): unset has_selection when
5128 (set_document_page): handle paper size changes when the page
5129 changes (test with Free Culture, page 2).
5131 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5133 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5134 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5136 Use normal style color for the widget background and
5137 draw a black box around the page.
5139 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5141 * pdf/xpdf/pdf-document.cc:
5143 Keep offset in consideration in a few places
5145 * shell/ev-view.c: (expose_bin_window):
5147 Set the offsets so that the document is ever centered
5149 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5151 * TODO: Added TODO items and finished off the first todo item
5153 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5154 reflect current authors
5156 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5158 * pdf/xpdf/pdf-document.cc:
5159 * shell/ev-view.c: (ev_view_set_cursor),
5160 (ev_view_motion_notify_event), (document_changed_callback),
5161 (set_document_page):
5163 Show a wait cursor while the page is rendering
5165 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5167 * shell/ev-sidebar-thumbnails.c:
5168 (ev_sidebar_tree_selection_changed),
5169 (ev_sidebar_thumbnails_select_page):
5170 * shell/ev-sidebar-thumbnails.h:
5171 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5172 (ev_view_can_go_forward):
5173 * shell/ev-window.c: (ev_window_open_page),
5174 (ev_window_setup_document), (update_current_page),
5175 (view_page_changed_cb), (ev_window_init):
5176 * shell/ev-window.h:
5178 Ensure thumbnails selection, toolbar page control and
5179 current page are in sync.
5181 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5187 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5189 * backend/Makefile.am:
5190 * backend/ev-document-links.h:
5191 * backend/ev-document-security.c: (ev_document_security_get_type),
5192 (ev_document_security_has_document_security),
5193 (ev_document_security_set_password):
5194 * backend/ev-document-security.h:
5195 * backend/ev-document.c: (ev_document_error_quark):
5196 * backend/ev-document.h:
5198 * data/evince-password.glade:
5199 * pdf/xpdf/pdf-document.cc:
5200 * shell/Makefile.am:
5201 * shell/ev-password.c: (ev_password_set_bad_password_label),
5202 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5203 (ev_password_dialog_get_password),
5204 (ev_password_dialog_set_bad_pass):
5205 * shell/ev-password.h:
5206 * shell/ev-window.c: (ev_window_get_attribute),
5207 (ev_window_set_property), (update_action_sensitivity),
5208 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5209 (ev_window_setup_document), (ev_window_get_password),
5210 (ev_window_open), (ev_window_cmd_save_as),
5211 (using_postscript_printer), (ev_window_print),
5212 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5213 (update_fullscreen_popup), (ev_window_fullscreen),
5214 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5215 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5216 (menu_item_select_cb), (find_bar_search_changed_cb),
5217 (ev_window_dispose), (ev_window_init):
5219 Add initial support for password-supported dialogs. This could be
5220 a lot cooler, but it'll do for now.
5222 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5224 * pdf/xpdf/pdf-document.cc:
5225 * shell/ev-view.c: (status_message_from_link),
5226 (ev_view_set_status), (ev_view_set_cursor),
5227 (ev_view_motion_notify_event), (ev_view_init):
5228 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5230 Fix bugs in the links implementation and change cursor
5231 when hovering a link.
5233 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5235 * viewer/.cvsignore: added cvsignore file for viewer directory
5237 * TODO: created TODO document
5239 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5242 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5243 new functions to help with implementation of sensitivity code
5244 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5245 of all actions that might require it. Fixes a crash when you
5246 click on the Zoom actions in a window lacking a document.
5248 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5250 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5253 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5255 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5256 (pixbuf_document_document_iface_init):
5257 * ps/ps-document.c: (ps_document_get_link),
5258 (ps_document_document_iface_init):
5259 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5260 (status_message_from_link), (ev_view_set_status),
5261 (ev_view_set_find_status), (ev_view_motion_notify_event),
5262 (ev_view_button_release_event), (ev_view_set_property),
5263 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5264 (ev_view_get_find_status_message), (update_find_results),
5265 (ev_view_get_status), (ev_view_get_find_status):
5267 * shell/ev-window.c: (view_status_changed_cb),
5268 (view_find_status_changed_cb), (ev_window_init):
5270 View status message support, use it to show the links.
5273 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5275 * backend/ev-document.c: (ev_document_get_link):
5276 * backend/ev-document.h:
5277 * pdf/xpdf/pdf-document.cc:
5278 * shell/ev-application.c: (ev_application_open):
5279 * shell/ev-application.h:
5280 * shell/ev-sidebar-links.c: (selection_changed_cb):
5281 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5282 (ev_view_go_to_link):
5284 Add support for document links
5286 2005-01-13 Anders Carlsson <andersca@gnome.org>
5288 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5290 Set the spin button limits correctly.
5292 * shell/ev-sidebar-thumbnails.c:
5293 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5294 Support changing pages by clicking on the thumbnails.
5296 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5298 * pixbuf/pixbuf-document.c:
5299 (pixbuf_document_thumbnails_get_dimensions),
5300 (pixbuf_document_document_thumbnails_iface_init):
5302 implement get_dimensions
5304 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5306 * ps/ps-document.c: (ps_document_goto_page):
5308 Fix page switching on multipage documents
5310 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5312 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5314 check for NULL before assigning to width and height parameters
5316 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5318 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5319 (pixbuf_document_set_property), (pixbuf_document_get_property):
5321 implement get/set properties
5323 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5325 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5327 return NULL instead of "Unknown", letting the title get set to
5328 the filename when the pdf has no title.
5330 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5332 * ps/ps-document.c: (ps_document_get_page_count),
5333 (ps_document_goto_page):
5335 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5337 * shell/ev-history.c: (ev_history_get_property),
5338 (ev_history_set_property), (ev_history_class_init),
5339 (ev_history_add_page), (ev_history_set_current_index):
5340 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5341 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5342 (ev_navigation_action_finalize):
5343 * shell/ev-navigation-action.h:
5344 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5345 (ev_view_go_forward), (ev_view_get_find_status_message),
5346 (history_index_changed_cb), (ev_view_set_history):
5348 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5349 (update_current_page), (register_custom_actions):
5351 Implement history dropdowns
5353 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5355 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5356 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5357 (ev_view_go_forward):
5358 * shell/ev-window.c: (register_custom_actions):
5360 Fix several history bugs
5362 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5364 * configure.ac: Add «nb» to ALL_LINGUAS.
5366 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5368 * backend/Makefile.am:
5369 * backend/ev-bookmark.c:
5370 * backend/ev-bookmark.h:
5371 * backend/ev-document-bookmarks.c:
5372 * backend/ev-document-bookmarks.h:
5373 * backend/ev-document-links.c: (ev_document_links_get_type),
5374 (ev_document_links_has_document_links),
5375 (ev_document_links_begin_read), (ev_document_links_get_link),
5376 (ev_document_links_get_child), (ev_document_links_next),
5377 (ev_document_links_free_iter):
5378 * backend/ev-document-links.h:
5379 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5380 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5381 (ev_link_get_link_type), (ev_link_set_link_type),
5382 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5383 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5384 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5385 (ev_link_new_external):
5386 * backend/ev-link.h:
5387 * pdf/xpdf/pdf-document.cc:
5388 * shell/Makefile.am:
5389 * shell/ev-application.c: (ev_application_open_link):
5390 * shell/ev-application.h:
5391 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5392 (ev_history_get_link_nth):
5393 * shell/ev-history.h:
5394 * shell/ev-sidebar-bookmarks.c:
5395 * shell/ev-sidebar-bookmarks.h:
5396 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5397 (ev_sidebar_links_class_init), (selection_changed_cb),
5398 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5399 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5400 (do_one_iteration), (populate_links_idle),
5401 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5402 * shell/ev-sidebar-links.h:
5403 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5404 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5407 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5408 * shell/ev-window.h:
5410 Rename bookmark to link, and use "Index" for the sidebar panel.
5412 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5414 * shell/Makefile.am:
5415 * shell/ev-application.c: (ev_application_open_bookmark):
5416 * shell/ev-application.h:
5417 * shell/ev-history.c: (ev_history_init), (free_links_list),
5418 (ev_history_finalize), (ev_history_class_init),
5419 (ev_history_add_link), (ev_history_add_page),
5420 (ev_history_get_link_nth), (ev_history_get_n_links),
5421 (ev_history_get_current_index), (ev_history_set_current_index),
5423 * shell/ev-history.h:
5424 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5425 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5426 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5427 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5430 * shell/ev-window.c: (ev_window_open_bookmark),
5431 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5432 (goto_page_cb), (register_custom_actions):
5433 * shell/ev-window.h:
5435 Initial history implementation. Needs work.
5437 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5439 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5441 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5443 * cut-n-paste/recent-files/egg-recent-item.c:
5444 * cut-n-paste/recent-files/egg-recent-item.h:
5445 * cut-n-paste/recent-files/egg-recent-model.c:
5446 * cut-n-paste/recent-files/egg-recent-util.c:
5447 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5448 * cut-n-paste/recent-files/egg-recent-view.c:
5452 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5454 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5455 (fillGlyph, fillImageMask, drawImage):
5456 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5457 pdf/splash/SplashTypes.h:
5458 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5459 packed mode for Splash.
5461 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5462 RGB8 packed mode, eliminates the pixbuf data creation loop.
5464 * shell/ev-print-job.c (ev_print_job_finalize)
5465 (ev_print_job_set_property, ev_print_job_get_property)
5466 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5467 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5468 (print_closure_finalize, ev_print_job_print): implement
5469 printing (for backends with EvPsExporter)
5471 * shell/ev_print_job.h: update prototypes.
5473 * shell/ev-window.c (ev_window_print): unref print job after
5476 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5477 unless the document implements the EvDocumentFind interface.
5479 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5481 * configure.ac: Added ja to ALL_LINGUAS.
5483 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5485 * pdf/xpdf/pdf-document.cc:
5487 add a FIXME. We should probably not allocate
5488 a bookmark object every time
5490 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5492 * shell/ev-application.c: (ev_application_open),
5493 (ev_application_open_bookmark):
5494 * shell/ev-application.h:
5496 Add a way to open bookmarks
5498 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5499 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5500 (ev_bookmark_set_property), (ev_bookmark_class_init),
5501 (ev_bookmark_new_title), (ev_bookmark_new_link),
5502 (ev_bookmark_new_external):
5504 Support for external uris, better constructors.
5506 * backend/ev-bookmark.h:
5507 * pdf/xpdf/pdf-document.cc:
5508 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5510 Handle external uris
5512 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5514 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5515 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5517 Hook up bookmarks navigation
5519 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5521 * backend/Makefile.am:
5522 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5523 (ev_bookmark_get_title), (ev_bookmark_set_title),
5524 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5525 (ev_bookmark_get_page), (ev_bookmark_set_page),
5526 (ev_bookmark_get_property), (ev_bookmark_set_property),
5527 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5529 * backend/ev-bookmark.h:
5530 * backend/ev-document-bookmarks.c:
5531 (ev_document_bookmarks_get_bookmark):
5532 * backend/ev-document-bookmarks.h:
5533 * pdf/xpdf/pdf-document.cc:
5534 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5536 Add a bookmark object to the backend and use it instead of get_values
5538 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5540 * data/evince-ui.xml:
5542 Cleanup and add select all.
5544 * shell/ev-view.c: (ev_view_select_all),
5545 (ev_view_button_press_event):
5547 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5550 Clear selection on click.
5552 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5554 * shell/ev-sidebar-thumbnails.c
5555 (ev_sidebar_thumbnails_set_document): forgot to unref the
5558 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5560 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5561 at the visible page, not just linearly. This makes it look fast.
5563 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5565 * backend/ev-document-misc.c
5566 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5568 * backend/ev-document-thumbnails.h: New interface to get the size
5571 2005-01-06 Jeremy Katz <katzj@redhat.com>
5573 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5576 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5578 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5579 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5582 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5584 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5586 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5587 fonts. Should fix font problems on systems that have the base
5588 fonts in bitmap format. Reported by James Henstridge
5589 <james@jamesh.id.au>.
5591 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5594 * pdf/xpdf/GfxState.cc:
5596 Fix for CAN-2004-1125
5598 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5600 * shell/ev-view.c: (ev_view_copy):
5602 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5604 Implement Edit->Copy
5606 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5608 * backend/ev-document.c: (ev_document_get_text):
5609 * backend/ev-document.h:
5610 * pdf/xpdf/pdf-document.cc:
5611 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5612 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5613 (ev_view_update_primary_selection), (ev_view_button_press_event),
5614 (ev_view_motion_notify_event), (ev_view_button_release_event):
5616 Beginnings of clipboard support. Incomplete but primary sort
5619 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5621 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5622 (expose_bin_window):
5624 Nicer rubberband drawing, from GtkIconView.
5626 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5628 * backend/ev-document.c: (ev_document_save):
5629 * backend/ev-document.h:
5630 * data/evince-ui.xml:
5631 * pdf/xpdf/pdf-document.cc:
5632 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5634 Implement "Save a copy..." menu item
5636 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5638 * shell/ev-view.c: (ev_view_zoom):
5640 Queue a resize when zoom changes
5642 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5644 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5647 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5650 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5652 * pdf/xpdf/pdf-document.cc
5653 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5655 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5657 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5658 It's slow, but I'll speed it up next!
5660 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5662 * shell/main.c (load_files):
5664 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5665 from the command line and because it seems more appropriate.
5667 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5669 * data/evince-ui.xml:
5670 * shell/ev-window.c: (update_action_sensitivity),
5671 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5673 s/next page/page down
5674 s/previous page/page up
5676 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5678 * data/evince-ui.xml:
5680 Change the layout to match clarkbw design.
5682 * shell/Makefile.am:
5683 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5684 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5685 (ev_navigation_action_finalize),
5686 (ev_navigation_action_set_property),
5687 (ev_navigation_action_get_property),
5688 (ev_navigation_action_class_init):
5689 * shell/ev-navigation-action.h:
5691 Implement clarkbw toolbar navigation controls (incomplete)
5693 * shell/ev-page-action.c: (update_label), (update_spin),
5694 (value_changed_cb), (create_tool_item), (connect_proxy),
5695 (ev_page_action_init), (ev_page_action_finalize),
5696 (ev_page_action_set_property), (ev_page_action_get_property),
5697 (ev_page_action_set_current_page),
5698 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5699 * shell/ev-page-action.h:
5701 Implement a page switcher in the toolbar
5703 * shell/ev-view.c: (ev_view_scroll_view):
5704 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5705 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5706 (register_custom_actions), (ev_window_init):
5708 Change page on PageUp/Down.
5710 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5712 * pdf/xpdf/pdf-document.cc
5713 (pdf_document_thumbnails_get_thumbnail): initial stab at
5714 implementing thumbnail support for pdfs. It only does documents
5715 with precached pdfs now.
5717 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5719 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5720 thumbnail code into a time-based idle as well. Also, turn off the
5721 shadow temporarily as it's really slow.
5723 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5725 * backend/ev-document.c: (ev_document_class_init):
5726 * pdf/xpdf/pdf-document.cc:
5727 * shell/ev-window.c: (ev_window_open):
5729 Fix document title bugs and fallback to
5730 filename when not available.
5732 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5734 * backend/ev-document.c: (ev_document_get_type),
5735 (ev_document_class_init), (ev_document_load),
5736 (ev_document_get_title):
5737 * backend/ev-document.h:
5738 * pdf/xpdf/pdf-document.cc:
5739 * ps/ps-document.c: (ps_document_set_property),
5740 (ps_document_get_property), (ps_document_class_init),
5744 * shell/ev-window.c: (update_window_title), (ev_window_open),
5747 Initial support for document title. Not working yet.
5749 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5751 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5753 Grab focus on the view when clicking it
5755 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5757 * shell/ev-marshal.list:
5758 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5759 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5761 Add key bindings to the view. Now if the focus would work
5764 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5767 * backend/Makefile.am:
5770 * dvi/dvilib/Makefile.am:
5771 * pdf/xpdf/Makefile.am:
5777 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5779 * shell/ev-view.c: (ev_view_realize):
5781 Fix mouse wheel scrolling
5783 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5789 * ps/ps-document.c: (catchPipe), (ps_document_init),
5790 (ps_document_class_init), (ps_document_cleanup),
5791 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5792 (set_up_page), (close_pipe), (is_interpreter_ready),
5793 (interpreter_failed), (output), (input), (start_interpreter),
5794 (stop_interpreter), (file_length), (file_readable),
5795 (check_filecompressed), (check_pdf), (compute_xdpi),
5796 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5797 (ps_document_get_type), (ps_document_emit_error_msg),
5798 (document_load), (ps_document_next_page),
5799 (ps_document_get_current_page), (ps_document_get_page_count),
5800 (ps_document_goto_page), (ps_document_set_page_size),
5801 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5802 (ps_document_load), (ps_document_get_n_pages),
5803 (ps_document_set_page), (ps_document_get_page),
5804 (ps_document_widget_event), (ps_document_set_target),
5805 (ps_document_set_scale), (ps_document_set_page_offset),
5806 (ps_document_get_page_size), (ps_document_render),
5807 (ps_document_document_iface_init):
5810 * shell/ev-window.c: (ev_window_open):
5812 Rename GtkGS to PSDocument
5814 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5816 * ps/gtkgs.c: (gtk_gs_class_init):
5819 Some more leftover...
5821 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5823 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5824 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5825 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5828 Remove unused code and make a lot of stuff private
5830 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5832 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5833 (gtk_gs_defaults_changed):
5839 Cleanup headers dependencies
5841 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5846 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5848 * ps/gtkgs.c: (file_length), (file_readable),
5849 (check_filecompressed), (check_pdf), (gtk_gs_load),
5850 (gtk_gs_get_postscript):
5854 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5859 * ps/gtkgs.c: (gtk_gs_set_zoom):
5863 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5865 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5867 Ensure the page is rerendered when changing zoom
5869 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5871 * backend/ev-document.c: (ev_document_base_init),
5872 (ev_document_changed):
5873 * backend/ev-document.h:
5875 Add a changed event that is emitted when the page content
5876 changes. This is necessary to deal with the fact that
5877 in ps backend rendering happen asycrounously.
5878 This makes the ps backend mostly work.
5880 * pdf/xpdf/pdf-document.cc:
5884 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5885 (ps_document_set_target):
5889 * shell/ev-view.c: (document_changed_callback),
5890 (ev_view_set_document), (ev_view_set_page):
5892 Redraw on the changed signal
5894 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5896 * configure.ac: Added pt_BR to ALL_LINGUAS.
5898 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5900 * backend/ev-document-bookmarks.c:
5901 (ev_document_bookmarks_get_child): *
5902 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5903 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5904 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5905 (ev_sidebar_bookmarks_destroy),
5906 (ev_sidebar_bookmarks_class_init),
5907 (ev_sidebar_bookmarks_construct), (stack_data_free),
5908 (do_one_iteration), (populate_bookmarks_idle),
5909 (ev_sidebar_bookmarks_clear_document),
5910 (ev_sidebar_bookmarks_set_document): *
5911 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5912 (ev_sidebar_add_page),
5913 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5914 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5915 it displays both the topics and the page numbers.
5917 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5919 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5921 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5924 2004-12-23 Adam Weinberger <adamw@gnome.org>
5926 * configure.ac: Added en_CA to ALL_LINGUAS.
5928 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5930 * ChangeLog: replace bottom of this ChangeLog (merged history of
5931 ggv and gpdf; where all paths were wrong and most of the files are
5932 not even in this tree) with ChangeLog (from arch) of the shell
5935 2004-12-23 Havoc Pennington <hp@redhat.com>
5937 * shell/ev-window.c: hook up potentially-questionable "find
5938 results status text" feature - something involving the sidebar or
5939 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5940 might be better in the end.
5942 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5943 with corresponding signal when it should be updated
5945 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5947 2004-12-22 Havoc Pennington <hp@redhat.com>
5949 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5950 find stuff on other pages, sort of (only returns one result on
5951 invisible pages, to show they have results; updates full results
5952 for a page when you view it). Currently repaints the current page
5953 every time a new result is found on any page, which isn't so nice.
5955 2004-12-22 Havoc Pennington <hp@redhat.com>
5957 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5958 the document doesn't support find (better ideas?)
5959 (find_bar_search_changed_cb): handle missing document or document
5960 that doesn't support find
5962 * pdf/xpdf/pdf-document.cc: port to implement the new
5965 * backend/ev-document-find.c: create a new interface for searching
5967 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5969 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5971 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5974 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5975 EvPrintJob constructor arguments.
5977 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5978 for documents that can export PostScript (page by page).
5980 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5982 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5983 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5984 (pdf_document_ps_exporter_iface_init:
5985 Implement EvPSExporter.
5987 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5989 2004-12-22 Anders Carlsson <andersca@gnome.org>
5991 * backend/Makefile.am:
5992 * backend/ev-document-thumbnails.c:
5993 (ev_document_thumbnails_get_type),
5994 (ev_document_thumbnails_get_thumbnail):
5995 * backend/ev-document-thumbnails.h:
5996 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5997 (pixbuf_document_thumbnails_get_thumbnail),
5998 (pixbuf_document_document_thumbnails_iface_init):
5999 * shell/Makefile.am:
6000 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6001 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6002 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6003 * shell/ev-sidebar-thumbnails.h:
6004 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6005 (ev_sidebar_set_document):
6006 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6007 (create_shadow), (ev_pixbuf_add_shadow):
6009 Add thumbnail support.
6011 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6013 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6014 (using_postscript_printer): Set up a print dialog for "PostScript
6017 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6020 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6022 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6024 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6025 (ps_document_set_target), (ps_document_get_page_size),
6026 (ps_document_render):
6031 2004-12-22 Christian Rose <menthos@menthos.com>
6033 * configure.ac: Added "sv" to ALL_LINGUAS.
6035 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6037 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6038 document supports bookmarks.
6040 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6042 * ps/ggvutils.c: (ggv_file_readable):
6044 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6045 (gtk_gs_get_postscript):
6049 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6051 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6052 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6053 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6054 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6055 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6056 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6057 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6058 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6059 (gtk_gs_set_antialiasing), (ps_document_load),
6060 (ps_document_render):
6063 Another check point for the ps backend. Now I can get it to show
6066 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6068 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6069 document setting code.
6071 2004-12-22 Anders Carlsson <andersca@gnome.org>
6073 * shell/eggfindbar.c: (entry_activate_callback):
6074 Animate the next button when activate is pressed.
6076 2004-12-22 Anders Carlsson <andersca@gnome.org>
6078 * shell/ev-window.c: (ev_window_cmd_edit_find),
6079 (update_fullscreen_popup), (ev_window_fullscreen),
6080 (ev_window_unfullscreen), (ev_window_state_event_cb),
6081 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6082 Fix bugs in fullscreen code.
6084 2004-12-22 Anders Carlsson <andersca@gnome.org>
6088 * pixbuf/Makefile.am:
6089 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6090 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6091 (pixbuf_document_set_page), (pixbuf_document_get_page),
6092 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6093 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6094 (pixbuf_document_render), (pixbuf_document_begin_find),
6095 (pixbuf_document_end_find), (pixbuf_document_finalize),
6096 (pixbuf_document_class_init),
6097 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6098 * pixbuf/pixbuf-document.h:
6099 * shell/Makefile.am:
6100 * shell/ev-application.c: (ev_application_open):
6101 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6105 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6108 * dvi/dvilib/Makefile.am:
6110 * configure.ac: Auto*ify dvi and dvi/dvilib
6112 * dvi/Makefile: Remove from CVS
6114 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6117 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6119 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6121 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6124 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6125 (gtk_gs_value_adjustment_changed), (compute_size),
6126 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6127 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6128 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6129 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6130 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6131 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6132 (ps_document_load), (ps_document_get_n_pages),
6133 (ps_document_set_page), (ps_document_get_page),
6134 (ps_document_set_target), (ps_document_set_scale),
6135 (ps_document_set_page_offset), (ps_document_get_page_size),
6136 (ps_document_render), (ps_document_begin_find),
6137 (ps_document_end_find), (ps_document_document_iface_init):
6139 * shell/Makefile.am:
6140 * shell/ev-window.c: (ev_window_open):
6142 Some work to integrate gtkgs with EvDocument
6144 2004-12-22 Anders Carlsson <andersca@gnome.org>
6146 * shell/ev-window.c: (update_fullscreen_popup),
6147 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6148 (exit_fullscreen_button_clicked_cb),
6149 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6150 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6151 (ev_window_state_event_cb), (ev_window_init):
6152 Add fullscreen support from Epiphany.
6154 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6156 * data/ev-stock-zoom-fit-width.png: fit-width
6157 stock icon from gpdf.
6159 * shell/ev-stock-icons.[ch]: copied from gpdf.
6161 * shell/main.c: (main): init stock icons.
6163 * shell/ev-window.c: use the fit-width icon.
6165 * data/evince-ui.xml: add zooming toolbar items.
6167 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6170 (ev_view_best_fit), (ev_view_fit_width): because
6171 get_page_size() returns the scaled page size, we
6172 need to calculate the scale factor relative to
6173 the previous scale factor. Should really just
6174 add get_real_page_size().
6176 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6178 * shell/ev-view.[ch]:
6179 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6180 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6183 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6184 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6185 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6188 * pdf/xpdf/pdf-document.cc:
6189 (pdf_document_begin_find),
6190 (pdf_document_end_find): make static.
6192 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6194 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6196 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6197 names to fontconfig patterns.
6198 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6200 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6203 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6219 Import ggv backend. Not hooked up yet.
6221 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6223 * shell/main.c: (load_files), (main): load files
6224 from the command line.
6226 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6228 * configure.ac: don't require bonobo.
6230 * cut-n-paste/recent-files/*: kill bonobo recent
6233 * shell/ev-window.c:
6234 (ev_window_is_empty): upd.
6235 (unable_to_load), (ev_window_open): load backend
6236 based on the mime type.
6238 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6240 * backend/.cvsignore: ignore generated marshalers source.
6242 * shell/main.c (main): this is not epiphany.
6244 2004-12-22 Havoc Pennington <hp@redhat.com>
6246 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6247 (expose_bin_window): draw find highlights
6249 * shell/ev-window.c (find_bar_search_changed_cb): implement
6251 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6252 (pdf_document_end_find): implement this interface
6254 * backend/ev-document.c (ev_document_found): add this to emit
6257 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6259 * data/evince-ui.xml: Add a few more toolbar items.
6261 * shell/ev-window.c: Hook up page navigation toolbar
6264 * shell/ev-view.[ch]: add ev_view_set/get_page and
6265 a page-changed signal.
6267 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6268 Add ev_document_get_page().
6270 * shell/ev-window.c: Sensitize/desensitize navigation
6273 2004-12-21 Havoc Pennington <hp@redhat.com>
6275 * backend/ev-backend-marshal.c,
6276 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6277 marshaler-generator thingy. I'm sure there's a better way to do
6278 this in the modern world.
6280 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6281 end_find methods and "found" signal.
6283 * configure.ac: find glib-genmarshal
6285 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6287 * shell/ev-sidebar.c: Construct an actual sidebar.
6288 * shell/ev-sidebar-bookmarks.[ch]:
6289 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6291 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6293 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6296 * shell/ev-view.c: Track the size from the document.
6298 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6300 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6301 constructor assumes ownership of the string passed in.
6303 * shell/ev-window.c (ev_window_open): Destroy the error
6304 dialog once we've displayed it.
6306 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6308 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6309 a bit, it works! (sort of)
6311 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6312 Move to .cc since we need to use C++ in the implementation.
6314 * shell/dummy.cc: Add a CC file to force evince
6315 to be linked as a C++ program.
6317 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6319 * shell/ev-view.[ch]: Start of content-area widget.
6321 * shell/ev-window.c: Create a EvView, update it
6322 as we change documents.
6324 * shell/Makefile.am shell/ev-marshal.list: Add
6325 generated marshalers.
6327 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6329 * Makefile.am (SUBDIRS): move shell.
6331 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6333 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6334 .a to libtool convenience libraries.
6336 * shell/ev-window.c (ev_window_open): Hard code loading
6339 * backend/ev-document.h: Add a boolean return to load(),
6340 fix GError * to GError **.
6342 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6343 object for a PDF backend EvDocument.
6345 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6347 * dvi/*: New directory with the beginning of a .dvi backend.
6349 2004-12-21 Havoc Pennington <hp@redhat.com>
6351 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6352 previous/next instead of back/forward
6354 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6356 * backend/ev-document.[ch]: Fix a couple of problems so
6359 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6361 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6362 to backend/ directory, rename EvViewer to EvDocument.
6364 2004-12-21 Havoc Pennington <hp@redhat.com>
6366 * shell/ev-window.c: hook up the find bar widget; now we just need
6367 a document to find things in
6369 * shell/eggfindbar.c: a find bar widget
6371 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6373 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6375 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6377 * pdf/**: Import of xpdf code from gpdf.
6379 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6381 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6382 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6383 Fix FreeType includes.
6385 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6386 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6387 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6388 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6389 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6390 Include xpdfconfig.h
6392 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6394 * shell/ev-window.c (ev_window_dispose): dispose can be called
6397 2004-12-21 Havoc Pennington <hp@redhat.com>
6399 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6402 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6403 items; really they should be synced with the strings, etc. from
6404 current gpdf, but just getting the boring typing out of the way
6406 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6409 * shell/ev-application.c: (window_destroy_cb):
6410 * shell/ev-window.c:
6411 * shell/main.c: (main):
6413 Actually show the window...
6415 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6418 * shell/Makefile.am:
6419 * shell/ev-application.c: (ev_application_class_init):
6420 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6424 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6426 Import to gnome cvs.
6428 * Remove copies of gpdf and ggv trees.
6429 * Rip out all the recursive configure code.
6430 * Remove bonobo machinery.
6431 * viewer/*: GInterfaces that backends should/can implement.
6433 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6435 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6438 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6440 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6441 (ev_application_finalize, ev_application_class_init)
6442 (ev_application_init): use GType instance private data for priv.
6444 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6445 (ev_window_finalize, ev_window_class_init)
6446 (ev_window_init): ditto.
6448 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6450 * shell/ev-application.c (ev_application_new_window): make public
6451 (ev_application_show_initial_window): kill.
6453 * shell/ev-application.h: update prototypes.
6455 * shell/main.cc (main): inline ev_application_show_initial_window.
6457 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6459 * shell/ev-application.c (ev_application_new_window): impl.
6460 (ev_application_show_initial_window): use it.
6461 (is_window_empty, ev_application_get_empty_window): returns an
6462 existing empty window or a new one.
6463 (ev_application_open): from ev_window_cmd_file_open.
6465 * shell/ev-application.h: update prototypes
6467 * shell/ev-window.c (ev_window_is_empty): impl.
6468 (ev_window_open): make public.
6469 (ev_window_cmd_file_open): use ev_application_open
6471 * shell/ev-window.h: update prototypes, remove unused.
6473 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6475 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6476 move destroy handler out of here...
6478 * shell/ev-application.c, shell/ev-application.h: ...into this new
6479 class. Also handles initial window creation.
6481 * shell/main.cc (main): use EvApplication to create initial
6484 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6486 * Makefile.am (SUBDIRS): add cut-n-paste
6488 * cut-n-paste/Makefile.am: add
6490 * configure.ac: generate Makefiles in cut-n-paste
6492 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6494 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6495 (ev_window_class_init): install ev_window_dispose.
6497 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6499 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6500 char (gchar looks stupid).
6502 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6504 * po/de.po: updated German translation.
6506 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6508 * configure.ac: add more pkg-config library checks for gnome-vfs,
6511 * gpdf/configure.in: temporarily disable libpaper
6512 checks. Otherwise I'd have to add the checks for the shell, too.
6514 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6516 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6517 and * file filters to the file choose.
6519 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6521 * po/de.po: Updated German translation.
6523 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6525 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6527 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6529 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6531 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6532 (ev_window_init): implement those menuitems.
6534 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6536 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6538 * shell/ev-window.c (ev_window_init): use the toolbar.
6540 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6542 * shell/ev-window.c (ev_window_init): use menu translations
6544 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6546 * configure.ac: add "de" to ALL_LINGUAS.
6548 * po/de.po: add German translation.
6550 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6552 * Makefile.am (SUBDIRS): add po
6554 * configure.ac: check intltool, glib-gettext etc, generate
6557 * po, po/POTFILES.in, po/POTFILES.skip: new.
6559 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6561 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6562 already use (#ifdef ENABLE_NLS)
6564 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6565 pointer indirection thinko.
6567 * shell/main.c: include gi18n.h for bindtextdomain etc.
6569 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6571 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6572 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6573 tooltips for menu items in the statusbar.
6575 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6577 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6578 pkgdatadir drop UIDIR
6580 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6582 * data/evince-ui.xml: Add File->Open menu item
6584 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6585 chooser), hook it up in the ui manager.
6587 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6589 * shell/ev-window.c: fix Help->About tooltip.
6591 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6593 * configure.ac: set CFLAGS for libevprivate.
6595 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6596 definitions, factory etc.
6598 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6600 * shell/Makefile.am: link against libevprivate.a.
6602 * shell/ev-window.c (entries): add stock icon to Help->About.
6604 * shell/main.c (main): init stock icon code.
6606 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6608 * lib/recent-files: egg recent files code
6610 * lib/Makefile.am: add.
6612 * Makefile.am: add lib subdir.
6614 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6615 set CFLAGS for recent-files.
6617 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6619 * configure.ac: disable -ansi and -pedantic gcc flags. They
6620 disable POSIX stuff in stdio.h, but egg-recent uses them.
6622 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6624 * configure.ac: add --disable-deprecated flag (defaults to on in
6627 * shell/Makefile.am (INCLUDES): use it.
6629 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6631 * shell/main.c: add missing #include.
6633 * shell/ev-window.c: fix for pedantic gcc.
6634 (ev_window_cmd_help_about): split license into paragraphs for
6635 translators and pedantic compilers.
6637 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6639 * configure.ac: add more warning flags if compiling with gcc from
6640 cvs (or explicitly requested with --enable-more-warnings).
6642 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6644 * data/evince-ui.xml: add File and File->Close menu.
6646 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6647 (ev_window_destroy): quit after destroy.
6648 (ev_window_class_init): override GtkObject::destroy.
6649 (entries): install close_window callback.
6651 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6653 * Makefile.am (SUBDIRS): add data subdir.
6655 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6656 gtk+ 2.5.0 for GtkAboutDialog.
6658 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6661 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6663 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6665 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6667 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6669 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6671 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6673 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6675 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6677 * shell/*: Added shell directory boilerplate, build it.
6679 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6681 * configure.ac, Makefile.am: Added top-level configure.ac and