1 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
3 * ps/ps-document.c: Use g_filename_display_name for displaying
4 filenames and revert string freeze breackage
6 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
15 Add ev-application-service.xml to extra dist
17 * shell/ev-view.c: (find_page_at_location):
19 Remove unused function (fix warning)
21 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
23 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
24 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
26 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
29 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
31 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
35 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
37 * configure.ac: Update script to get dbus version.
38 Fix for the bug #313443.
40 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
42 * shell/ev-window.c: (ev_window_cmd_escape):
44 Return focus back to view on escape. Fix for bug 313295.
46 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
48 * shell/ev-window.c: (update_window_title),
49 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
50 (ev_window_cmd_save_as):
52 Correct conversion from uri to displayable string. Fix for
55 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
57 * ps/ps-document.c: convert filename to utf8 when there is an error
58 loading document. Fixes #309915
60 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
64 We depend on poppler 0.4.0
66 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
69 * NEWS: Release 0.3.3.
70 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
72 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
74 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
75 add a couple missing mnemonics to menu items, use title
76 capitalization for menu items and window titles, and add
77 ellipsis to open menu item.
79 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
82 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
83 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
84 (ev_view_get_rotation):
86 * shell/ev-window.c: (setup_view_from_metadata),
87 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
88 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
91 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
93 * configure.ac: Added tr to ALL_LINGUAS
95 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
97 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
98 requires several clicks to find word. Thanks to
99 Colin Slater <kiltedtaco@gmail.com>.
101 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
103 * data/evince.desktop.in.in: Hide menu entry and
104 rename it to "Document Viewer". Fix for bug
107 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
109 * shell/ev-page-action.c (ev_page_action_class_init):
111 Point to the correct function in constructor of the
112 activate_label signal
114 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
116 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
117 * shell/ev-jobs.h: Make thread safe.
119 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
121 * shell/ev-view.c: (view_update_range_and_current_page):
122 Don't update page range if we are scrolling to some document
125 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
127 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
128 when getting max_page_width, fix drawing in dual mode.
130 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
132 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
133 getting the area for select_all.
135 2005-08-06 Kristian Høgsberg <krh@redhat.com>
137 * backend/ev-selection.c: (ev_selection_render_selection):
138 * backend/ev-selection.h:
140 * shell/ev-jobs.c: (ev_job_render_new):
142 * shell/ev-pixbuf-cache.c: (get_selection_colors),
143 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
144 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
145 (ev_view_class_init):
147 Change selection color on focus in and focus out events. Also,
148 poppler now uses GdkColor for specifying the selection colors, so
149 drop some awkward conversion code.
151 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
153 * configure.ac: Added Hebrew translation
155 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
158 * backend/ev-selection.c: (ev_selection_render_selection):
159 * backend/ev-selection.h:
161 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
164 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
165 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
166 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
167 (ev_pixbuf_cache_style_changed),
168 (ev_pixbuf_cache_get_selection_pixbuf),
169 (ev_pixbuf_cache_set_selection_list),
170 (ev_pixbuf_cache_get_selection_list):
171 * shell/ev-pixbuf-cache.h:
172 * shell/ev-utils.c: (ev_print_region_contents):
174 * shell/ev-view.c: (ev_view_queue_draw_page),
175 (selection_update_idle_cb), (ev_view_motion_notify_event),
176 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
177 (setup_caches), (ev_view_find_next), (merge_selection_region),
179 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
181 Clean up selection to be much smoother!
183 2005-08-05 Kristian Høgsberg <krh@redhat.com>
185 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
186 to poppler_page_render_selection().
188 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
190 * ps/ps-document.c: (save_page_list): Use
191 unzipped document when printing. Thanks to
192 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
195 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
197 * shell/ev-window.c: (update_action_sensitivity):
199 Disable print and save respect to lockdown gconf keys. Fix
202 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
205 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
206 (write_to_temp_file), (ev_file_set_contents):
208 * shell/ev-window.c: (save_print_config_to_file):
210 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
213 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
215 * shell/ev-window.c: (load_print_config_from_file),
216 (save_print_config_to_file), (ev_window_print_range):
218 Persist the print settings. Fixes bug #311578.
220 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
222 * djvu/djvu-document.c: (djvu_document_get_page_size),
223 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
224 (djvu_document_thumbnails_get_thumbnail):
225 * dvi/dvi-document.c: (dvi_document_get_page_size),
226 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
227 (dvi_document_thumbnails_get_dimensions),
228 (dvi_document_thumbnails_get_thumbnail):
229 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
230 (pixbuf_document_render_pixbuf),
231 (pixbuf_document_document_iface_init),
232 (pixbuf_document_thumbnails_get_thumbnail):
234 Update backends to make them build with new rotation system.
236 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
238 * help/C/figures/evince_start_window.png:
240 Update documentation image from Luca Ferretti <elle.uca@libero.it>
242 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
244 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
245 * shell/ev-pixbuf-cache.h:
246 * shell/ev-sidebar-thumbnails.c:
247 (ev_sidebar_thumbnails_get_property), (add_range),
248 (adjustment_changed_cb):
249 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
250 pixbuf cache. Make thumbnailing work again. Also, fix bug where
251 we were thumbnailing the entire docment on startup, slowing us
254 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
256 * shell/ev-page-cache.c: (ev_page_cache_new):
257 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
260 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
262 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
263 (ev_view_rotate_left):
265 Account rotation in doc_rect_to_view_rect.
266 Ensure rotation doesnt go out of bounds.
268 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
270 * shell/ev-page-cache.c: (ev_page_cache_get_size):
272 Correct and cleanup w/h swapping
274 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
276 * backend/ev-document-thumbnails.c:
277 (ev_document_thumbnails_get_thumbnail):
278 * backend/ev-document-thumbnails.h:
279 * backend/ev-document.c:
280 * backend/ev-document.h:
281 * backend/ev-render-context.c: (ev_render_context_new),
282 (ev_render_context_set_rotation):
283 * backend/ev-render-context.h:
285 * ps/ps-document.c: (ps_document_document_iface_init):
286 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
288 * shell/ev-page-cache.c: (build_height_to_page),
289 (ev_page_cache_new), (ev_page_cache_get_size),
290 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
291 (ev_page_cache_get_height_to_page):
292 * shell/ev-page-cache.h:
293 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
294 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
295 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
296 (ev_pixbuf_cache_get_selection_pixbuf):
297 * shell/ev-pixbuf-cache.h:
298 * shell/ev-print-job.c: (idle_print_handler):
299 * shell/ev-sidebar-thumbnails.c: (add_range):
300 * shell/ev-view.c: (view_update_range_and_current_page),
301 (get_page_y_offset), (get_page_extents),
302 (ev_view_size_request_continuous_dual_page),
303 (ev_view_size_request_continuous),
304 (ev_view_size_request_dual_page),
305 (ev_view_size_request_single_page), (draw_one_page),
306 (ev_view_set_rotation), (ev_view_rotate_right),
307 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
308 (ev_view_zoom_for_size_continuous_and_dual_page),
309 (ev_view_zoom_for_size_continuous),
310 (ev_view_zoom_for_size_dual_page),
311 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
312 (ev_view_select_all):
313 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
314 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
315 (tiff_document_document_iface_init),
316 (tiff_document_thumbnails_get_thumbnail):
318 Use rotation rather than orientation. It's easier and enough
321 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
323 * shell/ev-page-cache.c: (build_height_to_page),
324 (ev_page_cache_new), (ev_page_cache_get_size),
325 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
326 (ev_page_cache_get_height_to_page):
327 * shell/ev-page-cache.h:
328 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
329 (ev_view_size_request_continuous_dual_page),
330 (ev_view_size_request_continuous),
331 (ev_view_zoom_for_size_continuous_and_dual_page),
332 (ev_view_zoom_for_size_continuous):
334 Make the page cache aware of page orientation.
336 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
338 * backend/ev-document-thumbnails.c:
339 (ev_document_thumbnails_get_thumbnail):
340 * backend/ev-document-thumbnails.h:
341 * backend/ev-document.c:
342 * backend/ev-document.h:
343 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
344 * backend/ev-ps-exporter.h:
346 * ps/ps-document.c: (ps_document_document_iface_init),
347 (ps_document_ps_export_do_page):
348 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
350 * shell/ev-page-cache.c: (ev_page_cache_get_size),
352 * shell/ev-page-cache.h:
353 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
354 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
355 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
356 * shell/ev-pixbuf-cache.h:
357 * shell/ev-print-job.c: (idle_print_handler):
358 * shell/ev-sidebar-thumbnails.c: (add_range):
359 * shell/ev-view.c: (view_update_range_and_current_page),
360 (get_page_extents), (ev_view_size_request_dual_page),
361 (ev_view_size_request_single_page), (draw_one_page),
362 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
363 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
364 (ev_view_zoom_for_size_dual_page),
365 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
366 (ev_view_select_all):
367 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
368 * tiff/tiff-document.c: (tiff_document_get_page_size),
369 (tiff_document_get_orientation), (rotate_pixbuf),
370 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
371 (tiff_document_thumbnails_get_thumbnail),
372 (tiff_document_ps_export_do_page), (tiff_document_init):
374 Really make use of the orientation bit of the render context.
375 Use the render context in a few more places in the backend API.
376 This regress orientation, but now it's done right. Will try to
379 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
381 * shell/ev-view.c: (ensure_rectangle_is_visible):
383 Patch by Nickolay V. Shmyrev to fix find flickering
385 2005-07-27 Martin Kretzschmar <martink@gnome.org>
387 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
388 duplex parameters to ::begin.
390 * tiff/tiff-document.c (tiff_document_ps_export_begin):
391 * shell/ev-print-job.c (idle_print_handler):
392 * ps/ps-document.c (ps_document_ps_export_begin):
393 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
394 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
395 implementations. Poppler backend needs poppler cvs. Rest has
398 2005-07-25 Martin Kretzschmar <martink@gnome.org>
400 * shell/ev-window.c (using_pdf_printer): new function.
401 (ev_window_print_range): print a less techy message if someone
402 tries to print to PDF.
404 2005-07-25 Martin Kretzschmar <martink@gnome.org>
406 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
407 from "unknown font" string. Bug #311431
409 2005-07-24 Martin Kretzschmar <martink@gnome.org>
411 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
413 2005-07-24 Martin Kretzschmar <martink@gnome.org>
417 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
418 name for PopplerFontTypes
419 (pdf_document_fonts_fill_model): add font type to the detail column
421 * backend/ev-document-fonts.h: added
422 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
424 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
425 font name and font details, add a little markup.
426 (ev_properties_fonts_init): use the new cell data func, specify ypad
427 property for the cell renderer.
428 (ev_properties_fonts_set_document): add the details column.
430 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
432 * configure.ac: Added "pl" to ALL_LINGUAS.
434 2005-07-24 Danilo Šegan <danilo@gnome.org>
436 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
438 2005-07-23 Tommi Vainikainen <thv@iki.fi>
440 * help/ChangeLog: Started this for translations of manual.
441 * configure.ac, autogen.sh, .cvsignore: Migrated to
442 gnome-doc-utils. Patch in bug #311222.
444 2005-07-22 Martin Kretzschmar <martink@gnome.org>
446 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
447 #ifdef this away to fix an unused-function warning.
449 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
451 * configure.ac: Added 'gl' to ALL_LINGUAS.
453 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
455 * configure.ac: Added ne in ALL_LINGUAS
457 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
459 * shell/ev-view.c: (ev_view_leave_notify_event):
461 Clear status message when pointer leaves view. Fix for bug
464 2005-07-20 Ankit Patel <ankit644@yahoo.com>
466 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
468 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
470 * shell/ev-view.c: (ev_view_leave_notify_event),
471 (ev_view_class_init):
473 Set cursor to normal then leaving view.
475 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
479 Fix required djvulibre version.
481 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
483 *configure.ac: Hindi (hi) language added
485 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
487 *configure.ac: Punjabi (pa) Language added
489 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
491 * data/evince-ui.xml, shell/ev-window.c:
493 Add keypad accelerators for zooming. Fix for bug 308128.
495 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
498 * backend/Makefile.am:
499 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
501 * shell/ev-document-types.c: (ev_document_types_add_filters):
503 Allow to enable/disable the pixbuf backend.
504 Default to off for now. If we want it enabled we should
505 really put mime types in the desktop, implement properties etc.
507 * properties/evince-properties.c:
509 Initialize error to NULL.
510 Check error is not NULL before freeing.
512 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
516 Use F5 as presentation accell
518 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
520 * shell/ev-window.c: (update_chrome_visibility),
521 (ev_window_create_fullscreen_popup), (ev_window_init):
523 Do not leak the fullscreen toolbar
525 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
527 * shell/ev-window.c: (view_actions_focus_in_cb),
528 (view_actions_focus_out_cb):
530 These has a return value! Fix totally random focus
531 issues we was seeing.
533 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
535 * shell/main.c: (load_files_remote):
537 Allow open more than one file
539 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
541 * shell/main.c: (load_files_remote):
543 Fix for dbus 0.33. bug #309975
545 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
547 * properties/ev-properties-main.c: (ev_properties_get_pages):
549 Actually return NULL for types we dont support
551 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
557 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
559 * backend/ev-document-factory.c:
560 (ev_document_factory_get_document):
562 Do not try to create the object if type
565 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
567 * ps/ps-document.c: (ps_document_dispose),
568 (ps_async_renderer_render_pixbuf):
571 Do not leak the target window
573 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
575 * shell/ev-application.c: (ev_application_init):
577 Let tbe check file existence for us.
578 Add a comment about eggrecent mime filter.
580 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
582 * data/evince-ui.xml:
583 * shell/ev-application.c: (ev_application_shutdown),
584 (ev_application_init), (ev_application_get_toolbars_model),
585 (ev_application_get_recent_model),
586 (ev_application_save_toolbars_model):
587 * shell/ev-application.h:
588 * shell/ev-window.c: (ev_window_add_recent),
589 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
590 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
593 Use common toolbar and recent models for all windows.
594 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
596 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
598 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
599 successfully check for gtk_icon_view_get_visible_range.
601 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
606 Fix djvu and dvi backend build.
608 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
610 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
611 (new_separator_pixbuf):
615 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
617 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
619 HIGification of toolbar editor dialogue.
621 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
626 Ever build metadata manager since it's just
627 disabled at runtime now.
629 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
631 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
632 (ev_metadata_manager_get), (ev_metadata_manager_set):
633 * shell/ev-metadata-manager.h:
635 Add an _init functions that enabled metadata management
638 * shell/ev-window.c: (page_changed_cb),
639 (setup_document_from_metadata), (ev_window_setup_document),
640 (setup_view_from_metadata), (ev_window_open_uri),
641 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
642 (ev_window_run_presentation), (ev_window_stop_presentation),
643 (save_sizing_mode), (ev_window_zoom_changed_cb),
644 (ev_window_continuous_changed_cb),
645 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
646 (window_configure_event_cb):
648 Remove all ugly metadata define since we deal with it
651 * shell/main.c: (load_files_remote), (main):
653 Add support for dbus cvs head. Hopefully didnt break one
654 of the other versions now!
656 If we dont get a response from the dbus server just
657 give up with it and not enable metadata.
659 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
662 * backend/Makefile.am:
664 * cut-n-paste/recent-files/Makefile.am:
665 * cut-n-paste/toolbar-editor/Makefile.am:
666 * cut-n-paste/zoom-control/Makefile.am:
669 * pixbuf/Makefile.am:
670 * properties/Makefile.am:
673 * thumbnailer/Makefile.am:
676 Make frontends depend on just libev.
677 Rework and group CFLAGS/LIBS definitions.
680 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
684 do not unnecessarily save zoom
687 * lib/ev-file-helpers.c: (ev_dot_dir):
693 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
697 Remove unnecessary dependencies
699 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
701 * properties/Makefile.am:
702 * thumbnailer/Makefile.am:
705 Some more cleanups. Was really necessary
706 but I probably introduced bugs, feel free
709 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
711 * backend/Makefile.am:
713 * cut-n-paste/recent-files/Makefile.am:
714 * cut-n-paste/toolbar-editor/Makefile.am:
715 * cut-n-paste/zoom-control/Makefile.am:
718 * pixbuf/Makefile.am:
719 * properties/Makefile.am:
722 * thumbnailer/Makefile.am:
725 Use gnome-common macros when possible.
726 Cleanup dependencies.
727 Actually disable deprecated where possible.
729 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
732 * backend/Makefile.am:
733 * properties/Makefile.am:
735 * thumbnailer/Makefile.am:
737 This should solve the circular dep without
740 * shell/ev-window.c: (setup_view_from_metadata):
742 Never restore window size/position when the
743 window is already visible.
745 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
747 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
749 Return a boolean from timeout func. Fix ported from gedit.
751 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
753 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
755 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
757 * shell/ev-document-types.c: set "All Documents" as default filter in
760 2005-07-06 Martin Kretzschmar <martink@gnome.org>
762 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
763 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
764 (ev_metadata_manager_set_boolean): fix value/val thinko.
766 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
768 * shell/ev-window.c: (setup_view_from_metadata),
769 (window_state_event_cb), (window_configure_event_cb),
772 Remember window position and maximized state
774 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
778 Fix DBUS configure checks.
780 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
781 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
782 (ev_metadata_manager_set_boolean):
786 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
787 (ev_window_stop_fullscreen), (ev_window_run_presentation),
788 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
789 (ev_window_continuous_changed_cb),
790 (ev_window_dual_mode_changed_cb), (ev_window_new):
792 Fix the build without DBUS.
794 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
796 * shell/ev-metadata-manager.c: (parse_value), (save_values),
797 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
798 (ev_metadata_manager_set_string),
799 (ev_metadata_manager_set_boolean):
800 * shell/ev-metadata-manager.h:
802 Add support for some more types
804 * shell/ev-view.c: (scroll_to_current_page),
805 (ev_view_get_continuous), (ev_view_set_continuous),
806 (ev_view_get_dual_page):
808 * shell/ev-window.c: (page_changed_cb),
809 (setup_document_from_metadata), (ev_window_setup_document),
810 (setup_view_from_metadata), (ev_window_open_uri),
811 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
812 (ev_window_run_presentation), (ev_window_stop_presentation),
813 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
814 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
815 (ev_window_update_dual_page_action),
816 (ev_window_continuous_changed_cb),
817 (ev_window_dual_mode_changed_cb), (ev_window_init):
819 Remember a bunch of view/document properties. Prolly some
820 are still missing but it's getting interesting.
822 2005-07-05 Martin Kretzschmar <martink@gnome.org>
824 * configure.ac: check if dbus-binding-tool is installed. Not the
825 case on current Ubuntu breezy, it seems.
827 2005-07-05 Luca Ferretti <elle.uca@libero.it>
829 * data/evince.desktop.in.in:
831 Allow open uri lists and add TryExec field.
833 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
837 Enable dbus when available, do not require a configure
840 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
844 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
847 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
848 Marco Pesenti Gritti <mpg@redhat.com>
850 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
852 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
853 functions to the format required by dbus
855 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
856 errors. Use the RPC parameters in the expected way
858 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
861 * properties/Makefile.am:
862 * properties/ev-properties-main.c: (ev_properties_get_pages):
864 Support all mime types
867 * thumbnailer/Makefile.am:
868 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
869 (evince_thumbnail_pngenc_get):
871 Use the document factory
873 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
875 * backend/Makefile.am:
876 * backend/ev-document-factory.c:
877 (mime_type_supported_by_gdk_pixbuf),
878 (ev_document_type_get_from_mime),
879 (ev_document_factory_get_document),
880 (ev_document_factory_get_backend),
881 (ev_document_factory_get_mime_types),
882 (ev_document_factory_get_all_mime_types):
883 * backend/ev-document-factory.h:
885 * shell/ev-document-types.c: (get_document_from_uri),
886 (ev_document_types_get_document),
887 (file_filter_add_mime_list_and_free),
888 (ev_document_types_add_filters):
889 * shell/ev-document-types.h:
890 * shell/ev-job-xfer.c: (ev_job_xfer_run):
891 * shell/ev-properties-dialog.c:
892 (ev_properties_dialog_set_document):
893 * shell/ev-window.c: (ev_window_cmd_file_open),
894 (ev_window_cmd_save_as):
895 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
897 Rework document types managing to avoid code duplication
898 and actually abstract from backend implementations.
899 Also provide a minimal factory api that can be used by
900 thumbnailer/properties.
902 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
904 * properties/ev-properties-view.c: (ev_properties_view_set_info):
906 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
909 2005-07-04 Matthew S. Wilson <msw@rpath.com>
911 * shell/ev-properties-dialog.c
912 (ev_properties_dialog_set_document): only call
913 ev_properties_fonts_set_document() if the document implements the
916 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
919 * properties/Makefile.am:
920 * properties/ev-properties-view.c:
921 (ev_properties_view_register_type):
922 * properties/ev-properties-view.h:
923 * properties/ev-properties-main.h:
925 Implement nautilus plugin for properties.
926 Works only for pdf atm, I need to rework the
927 document types stuff to get this to work
930 2005-07-04 Martin Kretzschmar <martink@gnome.org>
932 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
933 (ev_properties_fonts_set_document): use
934 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
936 2005-07-04 Matthew S. Wilson <msw@rpath.com>
938 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
940 (PlaceImage, tiff2ps_process_page): use
941 g_ascii_dtostr to convert floats to strings in a locale-safe way.
944 2005-07-04 Martin Kretzschmar <martink@gnome.org>
946 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
947 (main): to call gnome_authentication_manager_init. Should fix
950 * configure.ac: that requires libgnomeui 2.6.0.
952 2005-07-04 Matthew S. Wilson <msw@rpath.com>
954 * tiff/tiff-document.c (tiff_document_ps_export_begin)
955 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
956 use the new tiff2ps interfaces
958 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
959 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
961 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
962 structure instead of global variables. Remove use of static
963 variables in functions.
965 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
967 * shell/ev-page-action.c: unref the completion after setting it to the
970 2005-07-04 Matthew S. Wilson <msw@rpath.com>
972 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
975 2005-07-04 Matthew S. Wilson <msw@rpath.com>
977 * shell/ev-window.c (update_action_sensitivity): disable
978 File->Print if the document does not implement the ps exporter
981 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
985 * data/evince-properties.glade:
986 * properties/.cvsignore:
987 * properties/Makefile.am:
988 * properties/ev-properties-view.c: (ev_properties_view_dispose),
989 (ev_properties_view_class_init), (ev_properties_view_format_date),
990 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
991 (ev_properties_view_init), (ev_properties_view_new):
992 * properties/ev-properties-view.h:
994 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
995 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
996 (ev_properties_dialog_new):
997 * shell/ev-properties-dialog.h:
998 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
999 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1000 (update_progress_label), (job_fonts_finished_cb),
1001 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1002 * shell/ev-properties-fonts.h:
1003 * shell/ev-properties.c:
1004 * shell/ev-properties.h:
1005 * shell/ev-window.c: (ev_window_setup_document),
1006 (ev_window_cmd_file_properties):
1008 Split the properties pages in two different objects, depend
1009 only on the backend where possible, use widgets instead
1010 of gobject for the glade part, reimplement the dialog
1012 I need this to implement nautilus properties page.
1014 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1016 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1017 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1018 (tiff_document_document_ps_exporter_iface_init): implement the ps
1019 exporter interface for tiff documents
1021 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1022 libtiff to implement TIFF postscript export
1024 * tiff/tiff2ps.h: added a header file for external tiff2ps
1027 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1030 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1032 * shell/ev-view.c: (scroll_to_current_page),
1033 (ev_view_set_fullscreen), (ev_view_set_presentation):
1035 Scroll to current page when exit from presentation
1037 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1039 * shell/ev-window.c: (update_document_mode),
1040 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1041 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1042 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1044 Exit from fullscreen mode when switch to presentation. Fix for
1047 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1049 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1050 return NULL if the document does not implement the selection
1053 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1055 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1056 reported height by using the resolution aspect ratio
1057 (tiff_document_render_pixbuf): scale the pixbuf using the
1058 resolution aspect ratio
1060 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1064 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1065 <kiltedaco@gmail.com>
1067 * djvu/djvu-document.c: (djvu_document_get_orientation),
1068 (djvu_document_set_orientation), (djvu_document_get_page_size),
1069 (rotate_pixbuf), (djvu_document_render_pixbuf),
1070 (djvu_document_document_iface_init):
1071 * dvi/dvi-document.c: (dvi_document_get_orientation),
1072 (dvi_document_set_orientation), (dvi_document_get_page_size),
1073 (rotate_pixbuf), (dvi_document_render_pixbuf),
1074 (dvi_document_document_iface_init):
1076 Dvi and djvu backends are ported to new API
1078 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1080 * backend/ev-selection.c: (ev_selection_get_selection_region),
1081 (ev_selection_get_selection_map):
1082 * backend/ev-selection.h:
1083 * pdf/ev-poppler.cc:
1084 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1086 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1087 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1088 (ev_pixbuf_cache_get_text_mapping):
1089 * shell/ev-pixbuf-cache.h:
1090 * shell/ev-view.c: (location_in_text),
1091 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1092 support to EvView. Now we can see where we can select! Sweet!
1094 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1096 * shell/ev-view.c (ev_view_button_press_event): Fix
1097 event->y + view->scroll_x typo.
1099 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1101 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1102 sub-GdkPixbuf instead of passing dest_x and dest_y.
1104 * shell/ev-view.c: (view_point_to_doc_point),
1105 (view_rect_to_doc_rect), (ev_view_button_press_event),
1106 (ev_view_motion_notify_event), (compute_new_selection_rect),
1107 (gdk_rectangle_point_in), (compute_new_selection_text),
1108 (compute_selections): Update selection code to keep the selection
1109 around as two points and not as a normalized rectangle, and fix
1110 page level selection in two-column mode.
1112 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1114 * shell/ev-window.c: (window_configure_event_cb):
1118 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1120 * pdf/ev-poppler.cc:
1124 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1126 * shell/Makefile.am:
1127 * shell/ev-metadata-manager.c: (item_free),
1128 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1129 (parse_value), (parseItem), (load_values),
1130 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1131 (save_values), (save_item), (get_oldest), (resize_items),
1132 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1133 * shell/ev-metadata-manager.h:
1135 Metadata manager from gedit but modified to use GValue, so that
1136 we dont need to keep converting from strings.
1140 ENABLE_METADATA conditional, on when dbus is on
1142 * shell/ev-application.c: (ev_application_open_uri):
1144 Show the window after load so that we can initialize
1145 window size before it's showed.
1147 * shell/ev-window.c: (ev_window_setup_from_metadata),
1148 (ev_window_open_uri), (window_configure_event_cb),
1151 Save and load metadata information about window size.
1152 Not yet keeping states in account.
1154 * shell/main.c: (main):
1156 Shutdown metadata manager.
1158 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1160 * shell/ev-application-service.xml:
1162 * shell/Makefile.am:
1163 * shell/ev-application.c:
1164 * shell/ev-application.h:
1165 * shell/ev-window.c:
1166 * shell/ev-window.h:
1169 Add an optional dbus interface (--enable-dbus).
1170 Rework application code, mainly to be easier to
1172 Do not open multiple windows with the same document,
1175 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1177 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1178 pixbuf iff it exists.
1180 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1183 * backend/ev-render-context.[ch]:
1184 * backend/ev-selection.[ch]:
1186 Massive changes. We now support text selection of pdfs, and not
1187 just rectangular selection. This is pretty broken still, but I
1188 want to get something into CVS.
1190 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1192 * pdf/ev-poppler.cc:
1194 Fix for Bug 309080: crash on window close.
1196 * shell/ev-page-action.c: (page_changed_cb):
1198 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1199 jensgr@gmx.net (Jens Granseuer).
1201 2005-06-25 Marcel Telka <marcel@telka.sk>
1203 * configure.in (ALL_LINGUAS): Added sk.
1205 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1207 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1210 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1217 * cut-n-paste/recent-files/Makefile.am:
1221 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1223 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1224 (pixbuf_document_set_orientation), (rotate_pixbuf),
1225 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1226 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1228 Implement rotation and cleanup the code a bit.
1230 * tiff/tiff-document.c: (tiff_document_get_page_size),
1231 (tiff_document_get_orientation), (tiff_document_set_orientation),
1232 (rotate_pixbuf), (tiff_document_render_pixbuf),
1233 (tiff_document_document_iface_init), (tiff_document_init):
1235 Implement rotation. Was the quicker solution for the release
1236 but we really need to share this code in the shell.
1238 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1240 * pdf/ev-poppler.cc:
1242 Enable rotation, require poppler cvs. Fix a leak.
1244 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1246 * shell/ev-window.c: (update_action_sensitivity):
1248 Make properties unsensitive if document backend doesn't provide
1251 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1253 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1254 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1255 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1256 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1257 (bitmap_flip_rotate_counter_clockwise):
1258 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1259 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1261 * dvi/mdvi-lib/common.h:
1262 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1263 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1264 (opendvi), (mdvi_reload), (mdvi_init_context),
1265 (mdvi_destroy_context), (mdvi_dopage), (special):
1266 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1267 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1268 (file_hash_free), (register_encoding), (parse_spec),
1269 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1270 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1271 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1272 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1273 (mdvi_register_font_type), (mdvi_unregister_font_type),
1274 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1275 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1276 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1277 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1278 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1279 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1280 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1281 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1282 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1283 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1284 (mdvi_unregister_special), (mdvi_flush_specials):
1285 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1287 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1288 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1289 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1290 (free_font_metrics), (flush_font_metrics):
1291 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1293 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1294 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1295 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1296 (dstring_insert), (dstring_new), (dstring_reset):
1297 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1299 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1300 avoid conflict with libtool on FC4
1302 * shell/ev-window.c: (ev_window_cmd_help_about):
1304 Update copyright year. Fix for bug 308828.
1306 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1308 * shell/ev-view.c: (add_scroll_binding_keypad),
1309 (ev_view_binding_activated), (ev_view_class_init),
1310 (on_adjustment_value_changed):
1312 Bug 170874: Arrow keys switch pages in presentation mode
1314 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1316 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1318 Fix for Bug 308265: Sidebar dissappears coming out of
1321 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1323 * shell/ev-application.c: (ev_application_open):
1324 * shell/ev-document-types.c: (ev_document_types_add_filters),
1325 (ev_document_types_add_filters_for_type):
1326 * shell/ev-document-types.h:
1327 * shell/ev-window.c: (ev_window_cmd_save_as):
1329 Suggest basename as template when saving, provide filters
1330 for save dialog. It's bug 308402
1332 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1334 * pdf/ev-poppler.cc:
1335 * shell/ev-sidebar-links.c: (job_finished_callback):
1336 * shell/ev-view.c: (update_find_status_message):
1340 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1342 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1343 (egg_recent_view_uimanager_set_list):
1345 Fix buglet in !show_numbers case.
1347 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1349 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1350 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1352 Use pango ellipsisation.
1354 * pdf/ev-poppler.cc:
1356 Fix refcount leak, from nsh.
1358 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1360 * cut-n-paste/recent-files/Makefile.am:
1361 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1362 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1364 Removed EggRecentViewGtk
1366 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1367 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1368 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1369 (ev_window_setup_recent):
1371 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1374 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1376 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1377 (egg_recent_view_gtk_finalize):
1381 * cut-n-paste/toolbar-editor/Makefile.am:
1383 Fix location of cursor icon.
1385 * pdf/ev-poppler.cc:
1386 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1387 (display_completion_text), (match_completion):
1388 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1389 (selection_changed_callback), (create_loading_model),
1390 (print_section_cb), (links_page_num_func),
1391 (update_page_callback_foreach):
1392 * shell/ev-window.c: (ev_window_dispose):
1394 Small memory fixes. Links model now store objects instead
1395 of pointers to improve memory management.
1397 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1399 * shell/ev-window.c: (zoom_control_changed_cb):
1401 Fix update of zoom control (bug 308268).
1403 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1405 * shell/ev-properties.c (set_property): escape the text correctly.
1406 Handles non-UTF-8 properties and escaped properties. Also, sets
1407 the text to "<i>None</i>" if the property isn't set.
1409 * data/evince-properties.glade: Change the label to be ellipsized,
1410 and give it a minimum size.
1412 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1414 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1415 * shell/ev-sidebar-links.c: (create_loading_model):
1416 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1417 * shell/ev-view.c: (ev_view_set_document):
1418 * shell/ev-window.c: (ev_window_dispose):
1420 Various small fixes, mostly memory leaks. Thanks to valgrind.
1422 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1424 * ps/ps-document.c: remove the locale.h include again ;-). And
1425 kill the (bogus) setlocale/savelocale business.
1427 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1431 Include locale.h to fix build
1433 * shell/ev-sidebar.c:
1435 Remove unnecessary includes
1437 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1439 * dvi/dvi-document.c: (dvi_document_load):
1440 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1443 Check for incorrect dvi files. Fix parsing dvi on AMD64
1444 platform. Thanks to tester@tester.ca (Olivier Crete).
1446 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1448 * shell/ev-page-action.c: (match_selected_cb),
1449 (display_completion_text), (match_completion), (update_model):
1450 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1451 (expand_open_links):
1452 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1453 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1454 (ev_sidebar_set_document):
1455 * shell/ev-window.c: (ev_window_xfer_job_cb),
1456 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1458 Fixed lot's of memory leaks, for example, memory leak on reload,
1459 described in bug 307793.
1461 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1463 * pdf/ev-poppler.cc:
1464 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1465 (update_visible_range), (adjustment_changed_cb),
1466 (ev_sidebar_thumbnails_fill_model),
1467 (ev_sidebar_thumbnails_refresh),
1468 (ev_sidebar_tree_selection_changed),
1469 (ev_sidebar_icon_selection_changed),
1470 (ev_sidebar_thumbnails_use_icon_view),
1471 (ev_sidebar_thumbnails_set_document):
1472 * shell/ev-sidebar-thumbnails.h:
1473 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1474 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1476 Refresh thumbnails when changing orientation. Not fully
1477 working yet becuase of a sidebar bug.
1479 Set page orientation to poppler page everywhere. This sucks
1480 really need to fix poppler.
1482 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1484 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1485 (egg_recent_view_gtk_new_menu_item),
1486 (egg_recent_view_gtk_set_property),
1487 (egg_recent_view_gtk_get_property),
1488 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1489 (egg_recent_view_gtk_set_tooltip_func),
1490 (egg_recent_view_gtk_set_label_width),
1491 (egg_recent_view_gtk_get_label_width):
1492 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1494 Sync with libegg (ellipsize labels)
1496 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1498 * data/evince-ui.xml:
1499 * shell/ev-window.c: (ev_window_cmd_go_forward),
1500 (ev_window_cmd_go_backward):
1502 Shift + PageUp moves 10 Pages. Fix for 306125
1504 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1506 * pdf/ev-poppler.cc:
1508 Add a flag to check if orientation has been overriden
1510 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1512 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1515 * ps/ps.h: add creator field to document.
1517 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1520 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1522 * data/evince-properties.glade:
1523 * shell/ev-properties.c: (ev_properties_set_document):
1525 s/PDF Version/Format
1527 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1529 * shell/ev-properties.c: (ev_properties_set_document):
1531 Remove unnecessary translations
1533 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1535 * cut-n-paste/toolbar-editor/Makefile.am:
1537 Correct library name
1539 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1542 * cut-n-paste/recent-files/egg-recent-model.c:
1543 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1544 (egg_recent_model_unlock_file):
1545 * cut-n-paste/recent-files/egg-recent-util.c:
1546 (egg_recent_util_get_unique_id):
1547 * cut-n-paste/recent-files/update-from-egg.sh:
1548 * cut-n-paste/toolbar-editor/Makefile.am:
1549 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1550 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1551 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1552 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1553 (egg_toolbars_model_get_type):
1554 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1556 Better makefile for toolbar editor and update everything
1559 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1561 * shell/ev-window.c: (update_document_mode):
1563 Prefer presentation mode when the document
1566 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1568 * data/evince-ui.xml:
1569 * shell/ev-window.c:
1571 Add control-equal for zooming
1573 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1575 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1577 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1579 * backend/ev-document.c: (ev_document_get_orientation):
1580 * backend/ev-document.h:
1581 * pdf/ev-poppler.cc:
1582 * ps/ps-document.c: (ps_document_get_orientation),
1583 (ps_document_set_orientation), (ps_document_document_iface_init):
1585 Add a get_orientation api. Improve set_orientation.
1587 * data/evince-ui.xml:
1588 * shell/ev-view.c: (ev_view_set_orientation),
1589 (ev_view_rotate_right), (ev_view_rotate_left):
1591 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1592 (ev_window_cmd_edit_rotate_right):
1594 Better ui for changing document orientation
1596 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1598 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1599 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1600 * shell/ev-sidebar-links.h:
1601 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1602 (ev_sidebar_page_iface_init):
1603 * shell/ev-sidebar-page.h:
1604 * shell/ev-sidebar-thumbnails.c:
1605 (ev_sidebar_thumbnails_get_property),
1606 (ev_sidebar_thumbnails_class_init),
1607 (ev_sidebar_thumbnails_set_document):
1608 * shell/ev-sidebar-thumbnails.h:
1609 * shell/ev-view.c: (ev_view_motion_notify_event):
1610 * shell/ev-window.c: (update_chrome_visibility),
1611 (ev_window_cmd_focus_page_selector),
1612 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1613 (sidebar_page_main_widget_update_cb), (ev_window_init):
1615 Autoraise toolbar on GoToPage binding and fix bindings in
1616 EvSidebarThumbnails page.
1618 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1620 * shell/ev-properties.c: (update_progress_label):
1622 Hide the progress label when finished; bug #307697.
1624 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1626 * pdf/ev-poppler.cc:
1628 Enable is_open for links, you will need poppler cvs
1630 * shell/ev-properties.c: (job_fonts_finished_cb):
1632 Get a lock on the document when filling the tree view
1634 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1636 * backend/ev-document-links.h:
1637 * pdf/ev-poppler.cc:
1638 * shell/ev-sidebar-links.c: (create_loading_model),
1639 (expand_open_links), (job_finished_callback):
1641 Expand links when specified by the document.
1642 Depend on a poppler api (defined out for now)
1644 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1646 * shell/ev-properties.c: (ev_properties_dispose),
1647 (ev_properties_class_init), (dialog_destroy_cb),
1648 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1649 (ev_properties_set_document), (ev_properties_new),
1650 (ev_properties_show):
1651 * shell/ev-properties.h:
1653 Make it an object, cleanup the code, api to show it as transient
1654 and to set the document.
1656 * shell/ev-window.c: (ev_window_setup_document),
1657 (ev_window_cmd_file_properties):
1659 Adapt to EvProperties changes, do not show multiple
1660 times, update it when document changes.
1662 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1665 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1666 (ps_document_set_orientation), (ps_document_document_iface_init):
1669 Implement orientation here too
1671 * shell/ev-properties.c: (ev_properties_new):
1672 * data/evince-properties.glade:
1674 Hide the fonts page for backends that doesnt
1677 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1679 * backend/ev-document.c: (ev_document_set_orientation):
1680 * backend/ev-document.h:
1681 * pdf/ev-poppler.cc:
1683 Add orientation api. Currently poppler api is not optimal,
1684 we need to set orientation every time we _get a page.
1685 I will try to fix that at some point.
1687 * data/evince-ui.xml:
1688 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1689 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1691 Add orientation menu items
1693 * shell/ev-page-cache.c: (ev_page_cache_clear):
1694 * shell/ev-page-cache.h:
1696 Add api to clear the cache
1698 * shell/ev-view.c: (setup_caches), (clear_caches),
1699 (ev_view_set_document), (ev_view_zoom_out),
1700 (ev_view_set_orientation):
1703 Implement orientation changing
1705 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1707 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1708 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1709 * backend/ev-document-fonts.h:
1711 Separate scan and fill so that we can incrementally fill from
1712 the main thread. Add a progress api.
1714 * data/evince-properties.glade:
1715 * pdf/ev-poppler.cc:
1716 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1718 * shell/ev-properties.c: (update_progress_label),
1719 (job_fonts_finished_cb), (setup_fonts_view):
1721 Incrementally feel the list and show the progress
1722 percentage in a label like acrobat does.
1724 You are going to need poppler cvs
1726 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1728 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1729 * backend/ev-document-fonts.h:
1730 * pdf/ev-poppler.cc:
1732 Make fonts model fill incrementally.
1734 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1735 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1736 (ev_job_queue_remove_job):
1737 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1738 (ev_job_fonts_new), (ev_job_fonts_run):
1741 New job for fonts scanning
1743 * shell/ev-properties.c: (job_fonts_finished_cb),
1744 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1745 * shell/ev-properties.h:
1746 * shell/ev-window.c: (ev_window_cmd_file_properties):
1748 Incrementally feel the treeview using the new job. Show Loading...
1749 message until scanning is completed.
1751 Hopefully I didnt break the build without the poppler patch.
1753 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1755 * shell/ev-application.c: (ev_application_open):
1756 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1757 (ev_document_type_get_type), (ev_document_type_lookup):
1758 * shell/ev-document-types.h:
1759 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1760 * shell/ev-job-xfer.h:
1761 * shell/ev-window.c: (ev_window_clear_local_uri),
1762 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1763 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1764 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1766 Transfer remote documents to tmp directory to display them later.
1768 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1770 * backend/ev-document-info.h:
1771 * shell/ev-properties.c: (ev_properties_new):
1773 s/GTime*/GTime. Not sure why we was using a pointer
1776 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1778 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1779 situations. That situation is that you're using GTK+-HEAD with
1780 the patch at #306726 is applied, and you have a document with <
1781 1500 pages in it. It's not quite as uniformly nice as the
1782 TreeView, but should be better in the long run.
1784 I'm pretty sure I guarded against breaking compilation with
1785 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1788 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1789 widget yet, so I commented that code out
1790 enable_view_actions_for_widget() for now. Need to figure this
1793 * shell/ev-page-action.c (match_selected_cb): emit the right
1794 signals. Our cool C-l completion now works.
1796 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1798 * backend/Makefile.am:
1799 * backend/ev-document-fonts.c:
1800 * backend/ev-document-links.c:
1801 * backend/ev-document.c: (ev_document_load):
1802 * backend/ev-document.h:
1803 * backend/ev-job-queue.c:
1804 * backend/ev-job-queue.h:
1805 * backend/ev-jobs.c:
1806 * backend/ev-jobs.h:
1807 * backend/ev-page-cache.c:
1808 * backend/ev-page-cache.h:
1810 EvPageCache and EvJobs are moved to shell.
1812 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1814 * lib/ev-file-helpers.h:
1816 New helper to work with temporary files
1818 * shell/Makefile.am:
1819 * shell/ev-application.c: (ev_application_open):
1820 * shell/ev-application.h:
1821 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1822 (remove_job_from_async_queue), (add_job_to_async_queue),
1823 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1824 (handle_job), (search_for_jobs_unlocked),
1825 (no_jobs_available_unlocked), (ev_render_thread),
1826 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1827 (ev_job_queue_add_job), (move_job_async), (move_job),
1828 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1829 * shell/ev-job-queue.h:
1830 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1831 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1832 * shell/ev-job-xfer.h:
1833 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1834 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1835 (ev_job_links_class_init), (ev_job_render_init),
1836 (ev_job_render_dispose), (ev_job_render_class_init),
1837 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1838 (ev_job_thumbnail_class_init), (ev_job_load_init),
1839 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1840 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1841 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1842 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1844 * shell/ev-page-action.c: (ev_page_action_set_document):
1845 * shell/ev-page-cache.c: (ev_page_cache_init),
1846 (ev_page_cache_class_init), (ev_page_cache_finalize),
1847 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1848 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1849 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1850 (ev_page_cache_get_title), (ev_page_cache_get_size),
1851 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1852 (ev_page_cache_get_height_to_page),
1853 (ev_page_cache_get_max_label_chars),
1854 (ev_page_cache_get_page_label),
1855 (ev_page_cache_has_nonnumeric_page_labels),
1856 (ev_page_cache_get_info), (ev_page_cache_next_page),
1857 (ev_page_cache_prev_page), (ev_page_cache_get):
1858 * shell/ev-page-cache.h:
1859 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1860 (ev_pixbuf_cache_clear_job_sizes),
1861 (ev_pixbuf_cache_add_jobs_if_needed),
1862 (ev_pixbuf_cache_set_page_range):
1863 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1864 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1865 * shell/ev-sidebar-thumbnails.c:
1866 (ev_sidebar_tree_selection_changed),
1867 (ev_sidebar_thumbnails_set_document):
1868 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1869 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1870 (ev_statusbar_get_context_id), (ev_statusbar_push),
1871 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1872 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1873 (ev_statusbar_set_progress):
1874 * shell/ev-statusbar.h:
1875 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1876 (ev_view_find_previous):
1877 * shell/ev-window.c: (ev_window_is_empty),
1878 (ev_window_setup_document), (password_dialog_response),
1879 (ev_window_clear_jobs), (ev_window_load_job_cb),
1880 (ev_window_xfer_job_cb), (ev_window_open_uri),
1881 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1882 (ev_window_print), (ev_window_print_range),
1883 (ev_window_state_event), (ev_window_cmd_view_reload),
1884 (menu_item_select_cb), (menu_item_deselect_cb),
1885 (view_status_changed_cb), (ev_window_dispose),
1886 (drag_data_received_cb), (ev_window_init):
1887 * shell/ev-window.h:
1888 * shell/main.c: (load_files):
1890 New statusbar to show progress on idle. Two new jobs -
1891 xfer job and load job to load document in background. And update
1892 of page_cache clients to new location of code.
1894 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1896 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1897 selection in open dialog. It also remembers the last visited directory
1898 in the current session.
1900 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1902 * shell/ev-properties.c: (ev_properties_new):
1903 * shell/ev-properties.h:
1904 * shell/ev-window.c: (ev_window_cmd_file_properties):
1906 Get document info from page cache instead of document itself.
1907 This should fix crash related to race conditions described in
1910 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1912 * ps/ps-document.c: (ps_document_init),
1913 (send_ps), (get_page_box), (output), (catchPipe), (input),
1914 (stop_interpreter), (file_length), (file_readable),
1915 (check_filecompressedb), (ps_document_enable_interpreter),
1916 (document_load), (ps_async_renderer_render_pixbuf):
1919 Big cleanup of the ps code
1921 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1923 * backend/Makefile.am:
1924 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1925 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1926 * backend/ev-async-renderer.h:
1928 Add an async renderer interface (method + callback) which
1929 is useful for backends like ps.
1931 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1932 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1933 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1934 (ev_job_queue_add_job), (move_job_async), (move_job),
1935 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1937 Add queues for async renderer, these are executed on the
1940 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1941 (ev_job_render_run):
1942 * backend/ev-jobs.h:
1944 If the backend support async renderer interface use it.
1946 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1947 (setup_pixmap), (ps_document_get_type),
1948 (ps_async_renderer_render_pixbuf),
1949 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1951 Implement async renderer interface.
1953 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1955 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1957 Cleanup links job on exit.
1959 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1961 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1962 (drag_data_get_cb), (drag_data_received_cb):
1963 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1964 (drag_data_get_cb), (parse_item_list),
1965 (egg_toolbar_editor_load_actions):
1966 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1967 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1968 (parse_item_list), (parse_toolbars):
1969 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1970 (dvi_pixbuf_put_pixel):
1972 Fix gcc 4.0 warnings
1974 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1976 * ps/ps-document.c: (start_interpreter):
1978 Fix warning when loading ps
1980 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1982 * ps/ps-document.c: (output):
1984 Fix crash when priting gs error messages.
1986 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1988 * backend/ev-page-cache.c: (_ev_page_cache_new):
1989 * backend/ev-page-cache.h:
1991 Use a const to return title so that we dont double
1992 free it. Small cleanup and fix a leak.
1994 * shell/ev-window.c: (update_window_title):
1996 strdup value from get_title.
1998 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2000 * shell/ev-sidebar-links.c: (job_finished_callback),
2001 (ev_sidebar_links_set_document):
2003 Cleanup the old job when changing document
2005 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2007 * shell/ev-stock-icons.c:
2008 * shell/ev-stock-icons.h:
2009 * shell/ev-window.c:
2011 Add stock icons for actions that can appear in toolbar. Fix for
2014 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2016 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2017 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2018 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2019 * backend/ev-page-cache.h:
2020 * shell/ev-view.c: (scroll_to_current_page),
2021 (view_update_range_and_current_page), (get_page_y_offset),
2022 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2023 (ev_view_size_request_continuous),
2024 (ev_view_zoom_for_size_continuous_and_dual_page),
2025 (ev_view_zoom_for_size_continuous):
2027 More compact EvView layout in document with pages of different size.
2029 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2031 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2034 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2036 * shell/ev-view.c: (view_set_adjustment_values):
2037 * shell/ev-window.c: (ev_window_cmd_file_properties):
2039 A bit different fix for rounding problem but it has no
2040 problems on startup. Make properties window transient to parent.
2042 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2044 * pdf/ev-poppler.cc:
2046 More commenting of font stuff.
2048 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2050 * pdf/ev-poppler.cc:
2052 Comment out some more fonts stuff. Should really
2053 work without the poppler patch now.
2055 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2057 * pdf/ev-poppler.cc:
2061 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2063 * data/evince-properties.glade:
2064 * pdf/ev-poppler.cc:
2065 * shell/ev-properties.c: (setup_fonts_view):
2067 Set the column title. Show the dialog only
2068 once everything is setup.
2069 Getting font info can be very slow... will
2070 prolly need to make this threaded too.
2072 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2074 * backend/Makefile.am:
2075 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2076 (ev_document_fonts_get_fonts_model):
2077 * backend/ev-document-fonts.h:
2078 * data/evince-properties.glade:
2079 * pdf/ev-poppler.cc:
2080 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2081 * shell/ev-properties.h:
2082 * shell/ev-window.c: (ev_window_cmd_file_properties):
2084 Implement fonts list. Defined out for now, since it depends
2085 on a not yet committed poppler patch.
2087 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2089 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2092 * shell/ev-window.c: Make sure we add the timeout when we get a
2095 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2096 adjustment->value before calculating the zoom factor to average
2097 out all of our rounding errors. The page no longer 'drifts' when
2100 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2102 * data/evince-properties.glade:
2103 * shell/ev-properties.c: (ev_properties_format_date),
2106 Labels don't expand when the dialogue is resized.
2107 strftime result needs to be converted to UTF-8. Thanks
2108 to Christian Persch <chpe@gnome.org>.
2110 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2112 * data/evince-properties.glade:
2116 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2118 * backend/ev-document-info.h:
2119 * backend/ev-document.c: (ev_document_info_free):
2120 * data/evince-properties.glade:
2121 * pdf/ev-poppler.cc:
2122 * ps/ps-document.c: (ps_document_get_info):
2123 * shell/ev-properties.c: (ev_properties_format_date),
2124 (set_property), (ev_properties_new):
2125 * shell/ev-properties.h:
2126 * shell/ev-window.c: (ev_window_cmd_file_properties):
2128 Rework properties code to take only EvPropertyInfo
2129 in the constructor so that it can be useful for
2130 nautilus plugin too.
2132 Deal with backends that doesnt support some properties.
2133 Make set property code generic.
2135 2005-06-04 Christian Persch <chpe@gnome.org>
2137 * data/evince-properties.glade:
2139 fix spacings, make resizeable, and make data labels
2140 selectable + ellipsised
2142 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2144 * backend/ev-document-info.h:
2146 * data/evince-ui.xml:
2147 * pdf/ev-poppler.cc:
2148 * shell/Makefile.am:
2149 * shell/ev-window.c: (update_action_sensitivity),
2150 (ev_window_cmd_file_properties):
2152 Initial go at file properties. Patch by
2153 Emil Soleyman-Zomalan <emil@soleyman.com>.
2154 Needs love see #169583
2156 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2158 * ps/ps-document.c: (output):
2159 * ps/ps.c: (psscan):
2161 Try to render even if psscan fails.
2163 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2165 * ps/ps.c: (psscan), (pscopydoc):
2167 Port buffered reading code from gv
2169 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2171 * ps/ps-document.c: (interpreter_message), (output):
2173 Do not fail on interpreter messages
2175 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2177 * backend/ev-document-misc.c:
2178 (ev_document_misc_get_thumbnail_frame):
2180 Pages can be 0 x 0, dont assert on this case
2182 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2184 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2185 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2187 Correctly manage our reference on document. Finally the reload
2188 huge leak is gone...
2190 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2192 * ps/ps-document.c: (ps_document_dispose):
2194 Forgot to chain it to the parent. Thanks chpe.
2196 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2198 * ps/ps-document.c: (ps_document_dispose),
2199 (ps_document_class_init), (stop_interpreter), (document_load):
2201 Cleanup dispose a bit. Dont leak the whole pixmap.
2203 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2205 * pdf/ev-poppler.cc:
2207 Release the poppler document on dispose
2209 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2211 * shell/ev-view.c: (ev_view_set_document):
2213 Release ref on the pixbuf cache when changing
2216 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2218 * ps/ps-document.c: (ps_document_get_info):
2222 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2224 * backend/ev-page-cache.c: (ev_page_cache_init),
2225 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2226 * backend/ev-page-cache.h:
2227 * shell/ev-page-action.c: (page_changed_cb):
2229 Set page action entry width depending on labels width. Fix
2232 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2234 * backend/ev-link.c: (ev_link_class_init):
2236 Allow -1 as page value (error)
2238 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2240 * shell/ev-sidebar-thumbnails.c:
2241 (ev_sidebar_thumbnails_set_document):
2242 * shell/ev-view.c: (scroll_to_current_page),
2243 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2244 (page_changed_cb), (on_adjustment_value_changed),
2245 (ev_view_set_document):
2247 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2250 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2253 * djvu/djvu-document.c: (djvu_document_get_page_size):
2255 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2258 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2260 * shell/ev-view.c (draw_one_page): modify the expose handling to
2263 * shell/ev-window.c (update_action_sensitivity): Respect
2264 permissions field. Kowtow to the man.
2266 * pdf/ev-poppler.cc: Get the permissions field.
2268 * tiff/*c: Make a tiny bit more robust.
2270 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2272 * djvu/djvu-document.c:
2274 Pop messages from djvu context message queue.
2276 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2278 * configure.ac, Makefile.am, shell/Makefile.am:
2279 * tiff/Makefile.am, shell/ev-document-types.c:
2281 Cleanup tiff configure checks. Fix for bug 305218.
2283 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2285 * configure.ac: Added "uk" to ALL_LINGUAS.
2287 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2289 * cut-n-paste/zoom-control/ephy-zoom.c:
2290 (ephy_zoom_get_changed_zoom_level):
2291 * cut-n-paste/zoom-control/ephy-zoom.h:
2292 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2293 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2294 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2295 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2296 (zoom_control_changed_cb), (ev_window_init):
2298 Fix minor points related to moving best fit up. Introduce
2299 "zoom" property and make zoom control change it's value on
2300 notify::zoom signals. Fix for 305080.
2302 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2304 * data/evince-ui.xml:
2305 * shell/ev-window.c: (set_view_actions_sensitivity):
2307 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2309 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2313 Depends on poppler 0.3.2
2315 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2317 * cut-n-paste/recent-files/egg-recent-item.c:
2318 (egg_recent_item_get_short_name):
2319 * cut-n-paste/toolbar-editor/Makefile.am:
2320 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2321 (new_pixbuf_from_widget):
2322 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2323 * cut-n-paste/toolbar-editor/egg-marshal.c:
2324 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2325 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2329 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2331 * tiff/tiff-document.c: Rough TIFF backend.
2333 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2337 * cut-n-paste/toolbar-editor/Makefile.am:
2341 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2343 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2344 (ev_view_find_next), (ev_view_find_previous):
2346 Remove the locks around get_n_results
2348 2005-05-21 Juerg Billeter <j@bitron.ch>
2350 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2352 Pass correct number of pages to poppler.
2354 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2358 * data/evince.desktop.in:
2359 * data/evince.desktop.in.in:
2362 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2364 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2366 * shell/ev-view.c: (view_update_adjustments),
2367 (view_set_adjustment_values): cast adjustmen->value to (int)
2368 before using it. Otherwise, we get off by a pixel in some
2371 (draw_one_page): Draw the border on expose.
2373 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2375 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2376 adjustment when the mode changes, #304923
2378 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2380 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2381 flickering on resize but still use gdk_window_scroll on
2384 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2386 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2389 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2391 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2392 second page on page_changed if possible, #304669
2394 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2396 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2397 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2399 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2402 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2403 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2404 (ev_view_zoom_for_size_presentation),
2405 (ev_view_zoom_for_size_continuous_and_dual_page),
2406 (ev_view_zoom_for_size_continuous),
2407 (ev_view_zoom_for_size_dual_page),
2408 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2410 * shell/ev-window.c: (update_view_size),
2411 (ev_window_sizing_mode_changed_cb):
2413 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2414 the scrollbars. It's not 100% right, but it's much closer. Kills
2415 an infinite loop, #304769
2418 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2420 * data/evince-ui.xml:
2421 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2422 * shell/ev-window.c: (set_view_actions_sensitivity):
2424 Make PgUp/Down behave like Space
2426 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2428 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2429 * backend/ev-ps-exporter.h:
2430 * pdf/ev-poppler.cc:
2431 * ps/ps-document.c: (ps_document_ps_export_begin):
2432 * shell/ev-print-job.c: (idle_print_handler):
2434 Adapt to new poppler api
2436 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2438 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2439 (ephy_zoom_control_init):
2441 Translate zoom levels
2443 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2445 * cut-n-paste/zoom-control/ephy-zoom.c:
2446 (ephy_zoom_get_zoom_level_index):
2448 Fix current zoom -> zoom control match
2450 2005-05-18 James Bowes <bowes@cs.dal.ca>
2452 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2453 rather than the scrolled_window that it's in. Fixes bug #304655.
2455 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2457 * shell/ev-view.c: (view_update_adjustments),
2458 (view_set_adjustment_values), (view_update_range_and_current_page),
2459 (view_scroll_to_page), (set_scroll_adjustment),
2460 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2461 (ev_view_scroll), (ev_view_scroll_view),
2462 (ensure_rectangle_is_visible), (find_page_at_location),
2463 (get_link_at_location), (go_to_link), (status_message_from_link),
2464 (ev_view_size_request_continuous_dual_page),
2465 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2466 (ev_view_unrealize), (ev_view_expose_event),
2467 (ev_view_button_press_event), (ev_view_motion_notify_event),
2468 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2469 (draw_rubberband), (highlight_find_results), (draw_one_page),
2470 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2471 (ev_view_init), (find_changed_cb), (page_changed_cb),
2472 (on_adjustment_value_changed), (ev_view_new),
2473 (ev_view_set_document), (ev_view_set_zoom),
2474 (ev_view_set_continuous), (ev_view_set_dual_page),
2475 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2476 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2477 (ev_view_zoom_for_size_presentation),
2478 (ev_view_zoom_for_size_continuous_dual_page),
2479 (ev_view_zoom_for_size_continuous),
2480 (ev_view_zoom_for_size_dual_page),
2481 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2482 (ev_view_get_status), (ev_view_set_status),
2483 (update_find_status_message), (ev_view_get_find_status),
2484 (ev_view_set_find_status), (jump_to_find_result),
2485 (jump_to_find_page), (compute_selections), (clear_selection),
2486 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2487 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2488 (ev_view_update_primary_selection),
2489 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2491 * shell/ev-window.c: (ev_window_open_page_label),
2492 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2494 * shell/ev-window.h:
2495 * shell/main.c: (load_files):
2497 Massive code clean up from Nickolay Shmyrev. Keep page offset
2498 when resizing. Remove the bin_window(). Also, patch from James
2499 Bowes to fix command line page, #300641
2501 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2503 * data/evince-ui.xml:
2506 * shell/ev-window.c: (update_action_sensitivity):
2508 Get rid of View->Normal Size, it's just confusing
2510 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2512 * backend/ev-document-info.h:
2513 * backend/ev-document.c: (ev_document_info_free): Free the
2516 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2517 (clear_range), (add_range), (update_visible_range),
2518 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2519 (ev_sidebar_thumbnails_set_document):
2520 * shell/ev-window.c: (ev_window_setup_document): Only render the
2521 visible thumbnails. It takes an instant to render, but it uses
2524 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2526 * shell/ev-sidebar-links.c: (popup_menu_cb):
2530 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2533 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2534 (button_press_cb), (ev_sidebar_links_construct):
2536 Show the popup menu also on keybindings
2538 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2540 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2541 * shell/ev-window.h:
2543 Expose api to print a range (with dialog). Make private _print use
2546 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2547 (ev_sidebar_links_construct):
2549 Show a print context menu on linkx, it prints the selected
2552 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2554 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2557 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2563 * shell/ev-window.c: (build_comments_string),
2564 (ev_window_cmd_help_about):
2566 Show poppler version/backend and authors
2568 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2570 * cut-n-paste/zoom-control/ephy-zoom.c:
2571 (ephy_zoom_get_zoom_level_index):
2572 * cut-n-paste/zoom-control/ephy-zoom.h:
2574 Move the best fit items at the top of the list
2576 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2578 * shell/ev-marshal.list:
2579 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2580 (activate_cb), (match_selected_cb), (activate_link_cb),
2581 (connect_proxy), (ev_page_action_class_init):
2582 * shell/ev-page-action.h:
2584 Use signals to notify action activation. Hopefully
2585 I did not break completion since I cant test...
2587 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2588 (register_custom_actions):
2590 Connect to page selector actions and also grab focus on
2591 the view when activated.
2593 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2595 * pdf/ev-poppler.cc:
2596 * backend/ev-page-cache.c: make page size calculation consistent
2597 and set it to (int)( width * scale + 0.5). This makes the weird
2598 line going through the middle of the page go away.
2600 * shell/ev-view.c: move painting the background page after
2601 checking the expose area covers us.
2603 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2605 * data/evince-password.glade:
2607 Mark labels as not translatable. Fix for bug 302842.
2609 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2611 * configure.ac: Added "es" to ALL_LINGUAS.
2613 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2615 * data/evince-toolbar.xml:
2616 * shell/ev-window.c: (update_action_sensitivity),
2617 (ev_window_setup_document), (ev_window_set_page_mode),
2620 Remove some leftover code from jrb first continous
2621 attempt. Use the new actions, we still need good icons
2624 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2626 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2628 Update label when connecting proxy. Fix a warning with NULL
2631 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2633 * data/evince-ui.xml:
2634 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2635 * shell/ev-page-action.h:
2636 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2638 Add mnemonic for edit toolbar.
2639 ctrl+l focus the page entry.
2641 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2644 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2646 * shell/main.c: (main):
2648 Put the toolbar xml in evince own dot dir
2650 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2652 * shell/ev-window.c: (ev_window_init):
2654 Make the toolbar not removable
2656 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2658 * data/evince-ui.xml:
2659 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2660 * shell/ev-sidebar-links.h:
2661 * shell/ev-sidebar-thumbnails.c:
2662 (ev_sidebar_thumbnails_get_treeview):
2663 * shell/ev-sidebar-thumbnails.h:
2664 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2665 (ev_view_class_init):
2667 * shell/ev-window.c: (update_action_sensitivity),
2668 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2669 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2670 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2673 This is evil... Make space/backspace global accelerators but
2674 enable them only for some widgets (sidebars and view).
2675 I dont like it, but I dont know a better way... :/
2677 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2679 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2680 (ev_page_action_widget_finalize),
2681 (ev_page_action_widget_class_init), (update_page_cache):
2683 Keep a weak reference on proxy->page_cache so that we
2684 dont try to disconnect the signal if the object is already
2685 gone. Maybe there is a better way to cleanup reference handling
2686 in page action though...
2688 2005-05-10 Juerg Billeter <j@bitron.ch>
2690 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2691 * backend/ev-ps-exporter.h:
2692 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2693 * ps/ps-document.c: (ps_document_ps_export_begin):
2695 Change api to pass print range to ps_exporter_begin. The pdf backend
2696 requires this information.
2698 * shell/ev-print-job.c: (idle_print_handler):
2702 2005-05-10 Juerg Billeter <j@bitron.ch>
2704 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2705 (idle_print_handler)
2706 * shell/ev-window.c: (ev_window_print):
2708 Support printing page range, based on patch by Amaury Jacquot
2710 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2712 * data/evince-toolbar.xml:
2714 Add zoom control to available items
2716 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2718 * shell/ev-window.c: (update_action_sensitivity):
2720 Set slash action insensitive when appropriate
2722 2005-05-10 Christian Persch <chpe@gnome.org>
2724 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2726 Fix warning on the overflow menu
2728 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2730 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2732 Check for uri correctness/existence
2734 2005-05-09 Juerg Billeter <j@bitron.ch>
2736 * shell/ev-window.c: (using_postscript_printer):
2738 LPD printers use postscript, too
2740 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2742 * shell/ev-window.c: (register_custom_actions):
2744 The zoom one is actually sort of useful,
2747 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2749 * shell/ev-window.c: (register_custom_actions):
2751 Hide page/zoom controls from overflow, they
2754 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2756 * cut-n-paste/update-from-egg.sh:
2758 Share it between all cut-n-paste subdirs
2760 * cut-n-paste/recent-files/Makefile.am:
2762 Fix to use "global" update-from-egg.sh
2764 * cut-n-paste/recent-files/egg-recent-model.c:
2765 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2766 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2767 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2768 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2772 * cut-n-paste/toolbar-editor/Makefile.am:
2774 Fix to use "global" update-from-egg.sh
2776 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2780 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2783 * cut-n-paste/Makefile.am:
2784 * cut-n-paste/recent-files/Makefile.am:
2785 * cut-n-paste/toolbar-editor/.cvsignore:
2786 * cut-n-paste/toolbar-editor/Makefile.am:
2787 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2788 (egg_editable_toolbar_get_type), (get_toolbar_position),
2789 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2790 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2791 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2792 (set_item_drag_source), (create_item_from_action), (create_item),
2793 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2794 (popup_toolbar_context_menu_cb), (free_dragged_item),
2795 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2796 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2797 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2798 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2799 (item_added_cb), (item_removed_cb),
2800 (egg_editable_toolbar_construct),
2801 (egg_editable_toolbar_disconnect_model),
2802 (egg_editable_toolbar_deconstruct),
2803 (egg_editable_toolbar_set_model),
2804 (egg_editable_toolbar_set_ui_manager),
2805 (egg_editable_toolbar_set_property),
2806 (egg_editable_toolbar_get_property),
2807 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2808 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2809 (egg_editable_toolbar_new_with_model),
2810 (egg_editable_toolbar_get_edit_mode),
2811 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2812 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2813 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2814 (new_pixbuf_from_widget), (new_separator_pixbuf),
2815 (update_separator_image), (style_set_cb),
2816 (_egg_editable_toolbar_new_separator_image),
2817 (egg_editable_toolbar_get_model):
2818 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2819 * cut-n-paste/toolbar-editor/egg-marshal.c:
2820 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2821 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2822 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2823 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2824 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2825 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2826 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2827 (editor_drag_data_delete_cb), (drag_data_get_cb),
2828 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2829 (editor_create_item), (update_editor_sheet), (setup_editor),
2830 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2831 (parse_item_list), (model_has_action), (update_actions_list),
2832 (egg_toolbar_editor_load_actions):
2833 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2834 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2835 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2836 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2837 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2838 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2839 (egg_toolbars_model_add_separator), (impl_add_item),
2840 (parse_item_list), (egg_toolbars_model_add_toolbar),
2841 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2842 (impl_get_item_data), (impl_get_item_type),
2843 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2844 (egg_toolbars_model_init), (free_toolbar),
2845 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2846 (egg_toolbars_model_remove_toolbar),
2847 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2848 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2849 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2850 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2851 (egg_toolbars_model_get_item_data),
2852 (egg_toolbars_model_get_item_type):
2853 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2854 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2856 * data/evince-toolbar.xml:
2857 * data/evince-ui.xml:
2858 * data/hand-open.png:
2860 * shell/Makefile.am:
2861 * shell/ev-window.c: (update_chrome_visibility),
2862 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2863 (ev_window_dispose), (ev_window_init):
2865 Implement epiphany like toolbar editor. Based on patch by
2866 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2868 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2870 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2872 Use set_cursor instead of set_selection, so that
2873 the keyboard focus moves too.
2875 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2877 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2879 Fix infinite loop when loading Type1 fonts
2881 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2883 * data/evince-ui.xml:
2884 * shell/ev-window.c:
2888 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2892 Make --disable really disable
2894 2005-05-07 Juerg Billeter <j@bitron.ch>
2896 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2898 Compare page labels even without has_labels set, fixes setting page
2901 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2903 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2904 (ev_view_set_cursor), (ev_view_button_press_event),
2905 (ev_view_motion_notify_event), (ev_view_button_release_event),
2908 Implement middle button scrolling. Based on a patch
2909 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2911 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2913 * shell/ev-document-types.c: (get_slow_mime_type),
2914 (get_document_type_from_mime), (ev_document_type_lookup):
2915 * shell/ev-document-types.h:
2917 Change api to lookup from uri. Do fast lookup first, if the
2918 type is unknown try with data sniffing.
2920 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2921 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2925 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2927 * thumbnailer/Makefile.am:
2931 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2938 * data/evince-ui.xml:
2940 Hide presentation mode for now
2942 * shell/ev-view.c: (highlight_find_results):
2944 Show current find selection only on current page
2946 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2948 * shell/ev-view.c: (ev_view_select_all):
2950 Compute size of the actual page, not of
2953 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2955 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2956 (view_rect_to_doc_rect), (compute_selections),
2957 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2958 (ev_view_copy), (ev_view_primary_get_cb),
2959 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2960 (ev_view_button_press_event), (ev_view_motion_notify_event),
2961 (ev_view_button_release_event), (page_changed_cb):
2965 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2967 * shell/ev-view.c: (compute_border), (get_page_extents),
2968 (doc_rect_to_view_rect), (highlight_find_results),
2969 (ev_view_bin_expose), (ev_view_select_all),
2970 (ev_view_motion_notify_event), (update_find_status_message),
2971 (jump_to_find_result), (jump_to_find_page):
2973 First go at fixing search, still buggy
2975 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2977 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2978 dropdown box and button at the top of the sidebar.
2980 2005-05-02 James Bowes <bowes@cs.dal.ca>
2982 * configure.ac: Output zoom-control Makefile.
2983 * cut-n-paste/Makefile.am: build zoom-control subdir.
2984 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2985 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2986 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2987 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2988 * cut-n-paste/zoom-control/ephy-zoom.c:
2989 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2990 from epiphany, and modified to add a separator into the menu.
2991 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2992 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2993 zoom-control action.
2994 * shell/Makefile.am: Include zoom-control flags.
2995 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2996 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2997 (ev_view_zoom_for_size_presentation),
2998 (ev_view_zoom_for_size_continuous_and_dual_page),
2999 (ev_view_zoom_for_size_continuous),
3000 (ev_view_zoom_for_size_dual_page),
3001 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3002 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3003 ev_view_get_zoom and ev_view_get_sizing_mode.
3005 * shell/ev-window.c: (update_action_sensitivity),
3006 (update_sizing_buttons), (zoom_control_changed_cb),
3007 (register_custom_actions): Initialize and use the zoom-control
3010 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3012 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3013 preview cache back to 1. Don't know when it got set to 0.
3015 * shell/ev-view.c: (compute_border), (ev_view_realize),
3016 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3017 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3018 (ev_view_get_fullscreen), (ev_view_set_presentation),
3019 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3020 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3022 * shell/ev-window.c:
3023 (update_chrome_visibility),
3024 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3025 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3026 (update_document_mode), (ev_window_update_fullscreen_action),
3027 (ev_window_fullscreen), (ev_window_unfullscreen),
3028 (ev_window_cmd_view_fullscreen),
3029 (ev_window_update_presentation_action),
3030 (ev_window_run_presentation), (ev_window_stop_presentation),
3031 (ev_window_cmd_view_presentation), (ev_window_state_event),
3032 (ev_window_focus_in_event), (ev_window_focus_out_event),
3033 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3034 * data/evince-ui.xml: Initial presentation mode. We should
3035 probably hide this until it's done, as it's quite rough. Also,
3036 change full-screen to fullscreen and add two getters to EvView.
3038 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3040 * shell/ev-page-action.c: (update_page_cache),
3041 (ev_page_action_dispose):
3042 * shell/ev-window.c: (destroy_fullscreen_popup),
3043 (ev_window_create_fullscreen_popup):
3045 Use connect_object rather than explicitly
3046 disconnect on dispose.
3048 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3050 * shell/ev-page-action.c: (update_page_cache),
3051 (ev_page_action_dispose):
3053 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3055 * backend/ev-page-cache.c: (_ev_page_cache_new),
3056 (ev_page_cache_set_page_label),
3057 (ev_page_cache_has_nonnumeric_page_labels):
3058 * backend/ev-page-cache.h:
3059 * shell/ev-page-action.c: (update_pages_label):
3061 If all page labels are numeric, fallback to default
3062 way to display number of pages. See bug 173185.
3064 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3066 * shell/ev-page-action.c: (ev_page_action_dispose):
3067 * shell/ev-view.c: (view_update_range_and_current_page):
3068 * shell/ev-window.c: (ev_window_dispose):
3070 Set page on scroll in continuous mode. Fixes bug 301986.
3071 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3073 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3077 Require poppler 0.3.0
3079 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3081 * shell/Makefile.am, configure.ac: Fix build problems
3082 with t1lib. Bug 301996.
3084 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3086 * shell/ev-view.c: (ev_view_scroll_event):
3088 Scroll up increase zoom
3090 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3092 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3093 (ev_view_set_sizing_mode),
3094 (ev_view_zoom_for_size_continuous_and_dual_page),
3095 (ev_view_zoom_for_size_continuous):
3096 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3097 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3098 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3101 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3102 Fix for 165473 and 165472.
3104 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3107 * thumbnailer/Makefile.am:
3108 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3109 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3110 * thumbnailer/evince-thumbnailer.schemas.in:
3112 Make thumbnailer schemas translatable. Fix for bug 301773
3114 * thumbnailer/evince-thumbnailer-djvu.schemas:
3115 * thumbnailer/evince-thumbnailer-dvi.schemas:
3116 * thumbnailer/evince-thumbnailer.schemas:
3120 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3122 * shell/ev-view.c (ev_view_init): forgot to set this.
3124 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3126 * shell/ev-view.c: (find_page_at_location),
3127 (get_link_at_location),
3128 (ev_view_set_show_border), (ev_view_set_spacing),
3129 (ev_view_zoom_for_size_continuous_and_dual_page),
3130 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3131 Also, add a quick fix measuring of widths. Also, removed
3132 ev_view_set_spacing and ev_view_set_show_border.
3134 * shell/ev-window.c: (ev_window_unfullscreen),
3135 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3137 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3139 * shell/ev-view.c: (view_update_range_and_current_page),
3142 Fix crash on exit and scrolling to page in continuous view.
3144 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3147 * backend/ev-page-cache.c: (_ev_page_cache_new),
3148 (ev_page_cache_get_max_width_size),
3149 (ev_page_cache_get_max_height_size):
3150 * backend/ev-page-cache.h:
3151 * data/evince-ui.xml:
3152 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3153 * shell/ev-view.c: (view_update_adjustments),
3154 (view_update_range_and_current_page), (get_bounding_box_size),
3155 (ev_view_size_request_continuous_and_dual_page),
3156 (ev_view_size_request_continuous),
3157 (ev_view_size_request_dual_page),
3158 (ev_view_size_request_single_page), (ev_view_size_request),
3159 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3160 (ev_view_bin_expose), (ev_view_expose_event),
3161 (ev_view_set_property), (ev_view_get_property),
3162 (ev_view_class_init), (ev_view_init), (ev_view_new),
3163 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3164 (ev_view_set_dual_page), (ev_view_set_full_screen),
3165 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3166 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3167 (ev_view_zoom_out), (zoom_for_size_fit_width),
3168 (zoom_for_size_best_fit),
3169 (ev_view_zoom_for_size_continuous_and_dual_page),
3170 (ev_view_zoom_for_size_continuous),
3171 (ev_view_zoom_for_size_dual_page),
3172 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3173 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3175 * shell/ev-window.c: (update_action_sensitivity),
3176 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3177 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3178 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3179 (ev_window_cmd_view_zoom_out), (update_view_size),
3180 (ev_window_set_sizing_mode), (ev_window_init):
3182 Add Continuous and Dual page modes.
3184 2005-04-23 James Bowes <bowes@cs.dal.ca>
3186 * dvi/dvi-document.c: (dvi_document_load),
3187 (dvi_document_thumbnails_get_thumbnail),
3188 (dvi_document_init_params): Fix up some mixups between
3189 width and height to correct thumbnail rendering.
3191 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3193 * dvi/mdvi-lib/private.h:
3194 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3196 Suppess output for kpathsea during font generation. Thanks to
3199 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3206 * Makefile.am: fix distcheck.
3208 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3210 * shell/ev-sidebar-links.c: (selection_changed_callback),
3211 (update_page_callback), (row_activated_callback),
3212 (job_finished_callback), (ev_sidebar_links_set_document):
3214 Fix for bug #169901. Double click on links expands tree.
3216 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3218 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3219 hard-coded style. Fix for bug 170111
3221 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3223 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3226 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3228 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3230 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3232 * pdf/ev-poppler.cc:
3233 * shell/ev-view.c: (highlight_find_results):
3235 Fix find on single page documents
3237 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3239 * data/evince.schemas.in: fix for bug 301390
3241 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3243 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3244 (ev_view_zoom_out), (ev_view_zoom_normal):
3246 * shell/ev-window.c: (update_action_sensitivity),
3247 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3248 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3249 (ev_window_cmd_view_normal_size):
3251 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3252 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3255 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3259 Depend on 2.57, 2.59 doesnt seem to be necessary
3261 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3263 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3266 Put back total number of pages as (1 of 1234)
3268 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3270 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3273 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3274 function. This helps debugging.
3276 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3278 * djvu/djvu-document.c: (djvu_document_class_init),
3279 (djvu_document_get_info), (djvu_document_document_iface_init):
3280 * dvi/dvi-document.c: (dvi_document_class_init),
3281 (dvi_document_get_info), (dvi_document_document_iface_init):
3283 Dummy implementation of get_info method for dvi and djvu. Fix
3284 crashes with those backends
3286 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3288 * data/evince.desktop.in:
3290 Add application/x-gzpostscript
3292 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3294 * data/evince.schemas.in: Added real long descriptions,
3297 * README: Added actual text, closes bug 171869
3299 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3301 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3305 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3307 * backend/ev-document-info.h:
3309 s/GDate */GDate so we can just use g_free
3311 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3313 * shell/ev-window.c: (update_document_mode),
3314 (ev_window_setup_document):
3316 Show the window in fullscreen when specified by
3319 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3321 * backend/ev-document.c: (ev_document_class_init),
3322 (ev_document_get_info), (ev_document_render_pixbuf):
3323 * backend/ev-document.h:
3324 * backend/ev-page-cache.c: (_ev_page_cache_new):
3325 * pdf/ev-poppler.cc:
3326 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3327 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3328 * ps/ps-document.c: (ps_document_class_init), (document_load),
3329 (ps_document_get_info), (ps_document_document_iface_init):
3331 Remove get_title from the interface, we can just use document info
3333 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3335 * backend/Makefile.am:
3336 * backend/ev-document.c: (ev_document_render_get_info):
3337 * backend/ev-document.h:
3338 * pdf/ev-poppler.cc:
3340 Initial support for document info. Based on jrb patch.
3342 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3344 * shell/ev-window.c: (ev_window_state_event),
3345 (ev_window_class_init), (ev_window_init):
3347 Doesn't show resize grip when maximized. See bug #301053
3349 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3353 ev-sidebar-thumbnails now has translatable labels
3355 * shell/Makefile.am:
3356 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3357 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3358 (ev_sidebar_links_page_iface_init):
3359 * shell/ev-sidebar-links.h:
3360 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3361 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3362 (ev_sidebar_page_get_label):
3363 * shell/ev-sidebar-page.h:
3364 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3365 (ev_sidebar_thumbnails_set_document),
3366 (ev_sidebar_thumbnails_support_document),
3367 (ev_sidebar_thumbnails_get_label),
3368 (ev_sidebar_thumbnails_page_iface_init):
3369 * shell/ev-sidebar-thumbnails.h:
3370 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3371 (ev_sidebar_set_document):
3372 * shell/ev-sidebar.h:
3373 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3375 Small rework of sidebar code. Now sidebar pages should implement
3376 EvSidebarPage interface. That makes page management in EvSidebar
3377 easier. See bug #164811 for details
3379 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3381 * shell/ev-application.c: (ev_application_open):
3382 * shell/ev-document-types.c:
3384 Fix build error and small problem with application exit
3386 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3388 * thumbnailer/Makefile.am:
3389 * thumbnailer/evince-thumbnailer-djvu.schemas:
3390 * thumbnailer/evince-thumbnailer-dvi.schemas:
3392 Conditionally install schemas for djvu/dvi thumbnailer
3394 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3396 * shell/ev-document-types.h:
3397 * shell/ev-document-types.c:
3398 New files, handling the mapping from mimetypes to backends
3400 * shell/ev-window.c:
3401 * thumbnailer/evince-thumbnailer.c:
3402 Use the ev-document-types code
3404 * shell/Makefile.am:
3405 Added new convenience library libevbackendfactory_la, containing
3406 the new mimetype->backend logic; moved the backends into it.
3408 * thumbnailer/Makefile.am:
3409 Make the thumbnailer link with the libevbackend.la convenience
3410 library, rather than having a duplicate of the backend logic here.
3412 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3414 * shell/ev-stock-icons.c: constify some vars.
3415 * shell/ev-window.c: ditto.
3417 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3419 * ps/ps-document.c (get_page_orientation):
3421 Respect document orientation
3423 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3427 * shell/Makefile.am:
3429 Move library dependencies to components.
3431 * shell/ev-window.c: (update_window_title),
3432 (start_loading_document):
3434 Fix display of uris with spaces. Bug 168358.
3436 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3438 * shell/ev-sidebar-links.c: (selection_changed_cb):
3439 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3440 (ev_view_button_release_event), (ev_view_set_document):
3442 * shell/ev-window.c: (find_bar_search_changed_cb):
3443 * shell/ev-window.h: Minor cleanups removing some dead code.
3445 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3447 * backend/ev-page-cache.c: (_ev_page_cache_new):
3449 Set current page to 0 if document has pages.
3451 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3453 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3455 Initialize GError to NULL, fix a crash when loading fails.
3457 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3459 * shell/ev-window.c: (update_view_size):
3461 Calculate shadow size only when there is actually
3464 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3466 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3469 Allow setting view spacing, default to 0
3471 * shell/ev-window.c: (ev_window_unfullscreen),
3472 (ev_window_cmd_view_fullscreen), (ev_window_init):
3474 Remove spacing in fullscreen mode
3476 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3478 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3479 (ev_view_size_request), (expose_bin_window),
3480 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3482 * shell/ev-window.c: (ev_window_unfullscreen),
3483 (ev_window_cmd_view_fullscreen):
3485 Do not draw the border in fulscreen
3487 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3489 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3490 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3491 (find_page_at_location), (page_changed_cb):
3493 Rework border calculation, so that I can more easily disable it.
3494 Code somewhat cleaner too.
3496 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3498 * backend/ev-page-cache.c: (ev_page_cache_init),
3499 (_ev_page_cache_new):
3501 Remove some assertions, documents can have 0 pages.
3502 Make initial current page -1.
3504 * shell/ev-page-action.c: (page_changed_cb):
3506 Show "" if current page is -1
3508 * shell/ev-window.c: (update_action_sensitivity),
3509 (ev_window_setup_document):
3511 When document has 0 pages do not set the view
3512 and make nearly everything insensitive.
3514 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3516 * shell/ev-page-view.c:
3517 * shell/ev-page-view.h:
3519 Remove unused files.
3521 * shell/ev-sidebar-thumbnails.c:
3522 (ev_sidebar_thumbnails_set_document):
3523 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3524 (ev_sidebar_supports_document):
3525 * shell/ev-sidebar.h:
3526 * shell/ev-window.c: (ev_window_setup_document):
3528 Doesn't show thumbnails if document has 1 page. Make
3529 sidebar menu entries sensitive only if if they have
3530 sense. Fix bug 164811.
3532 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3534 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3535 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3536 (ev_view_zoom_out), (ev_view_set_size):
3538 Rework sizing to deal with documents with not uniform page
3541 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3543 * backend/ev-page-cache.c: (_ev_page_cache_new):
3545 Fix several page size caching bugs
3547 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3549 * shell/ev-window.c: (set_action_properties):
3551 Make all toolbar items translatable
3553 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3555 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3556 (save_page_list), (ps_document_save),
3557 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3558 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3559 (ps_document_ps_exporter_iface_init):
3562 Based on a patch by J�rg Billeter <j@bitron.ch>
3564 Implement print and save a copy for the ps backend.
3566 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3568 * backend/ev-document.h:
3569 * djvu/djvu-document.c: (djvu_document_can_get_text),
3570 (djvu_document_document_iface_init):
3571 * dvi/dvi-document.c: (dvi_document_can_get_text),
3572 (dvi_document_document_iface_init):
3573 * pdf/ev-poppler.cc:
3574 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3575 (pixbuf_document_document_iface_init):
3576 * ps/ps-document.c: (ps_document_can_get_text),
3577 (ps_document_document_iface_init):
3578 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3579 * shell/ev-window.c: (update_action_sensitivity):
3581 Fix the crash when trying to copy in backends that doesnt
3582 support it. We can implement a better solution once we
3583 do real text selection.
3585 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3587 * data/evince-ui.xml:
3588 * shell/ev-window.c: (ev_window_cmd_escape):
3590 Work around the Escape conflict (find bar and unfullscreen)
3592 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3594 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3596 Fix for #300233. Next page correctly handles document end.
3598 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3599 (ev_sidebar_thumbnails_class_init),
3600 (ev_sidebar_thumbnails_set_document),
3601 (ev_sidebar_thumbnails_clear_job),
3602 (ev_sidebar_thumbnails_clear_model):
3604 Cleanup thumbnail jobs on document changes.
3606 * shell/ev-view.c: (add_scroll_binding_keypad),
3607 (add_scroll_binding_shifted), (ev_view_class_init):
3609 Shift + Space scrolls up. Fix for #173184
3611 * shell/ev-window.c: (ev_window_open_page),
3612 (ev_window_cmd_view_reload):
3614 Fix reload (Bug #300094)
3616 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3619 * dvi/mdvi-lib/assoc.c:
3620 * dvi/mdvi-lib/assoc.h: Removed garbage files
3622 * dvi/mdvi-lib/bitmap.c:
3623 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3624 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3625 * dvi/mdvi-lib/color.h: Antialias of rules
3627 * dvi/mdvi-lib/common.h:
3628 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3629 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3630 * dvi/mdvi-lib/files.c:
3631 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3632 * dvi/mdvi-lib/mdvi.h:
3633 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3634 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3635 * dvi/mdvi-lib/util.c: Fix compile warnings
3637 * dvi/dvi-document.c:
3638 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3639 (dvi_document_thumbnails_get_thumbnail),
3640 (dvi_document_document_thumbnails_iface_init):
3641 * dvi/mdvi-lib/Makefile.am:
3642 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3643 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3645 Dvi backend now renders thumbnails
3647 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3649 * shell/main.c: (main):
3651 Save accelerators on exit. Fixes bug #172095.
3653 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3655 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3656 update priority" comment.
3658 * backend/ev-job-queue.c: Give a way to change priority.
3660 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3662 * shell/ev-page-action.c: Fix logic.
3664 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3666 * shell/ev-view.c: (ev_view_can_find_next):
3667 * shell/ev-window.c: (ev_window_setup_document):
3669 Check that the document supports find
3671 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3673 * data/evince-ui.xml:
3674 * shell/ev-view.c: (ev_view_can_find_next):
3676 * shell/ev-window.c: (update_action_sensitivity),
3677 (find_changed_cb), (ev_window_setup_document),
3678 (ev_window_cmd_edit_find_next):
3682 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3684 * pdf/ev-poppler.cc:
3685 * shell/ev-print-job.c: (idle_print_handler):
3687 Make printing work again
3689 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3691 * shell/ev-page-action.h:
3692 * shell/ev-page-action.c: (ev_page_action_widget_init),
3693 (ev_page_action_widget_class_init), (page_changed_cb),
3694 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3695 (get_filter_model_from_model), (match_selected_cb),
3696 (display_completion_text), (match_completion), (update_model),
3697 (connect_proxy), (ev_page_action_set_property),
3698 (ev_page_action_get_property), (ev_page_action_set_document),
3699 (ev_page_action_set_model), (ev_page_action_class_init): Big
3700 reworking to make completions work iff we have >= GTK-2.7.0
3702 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3703 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3704 (job_finished_cb): We now have a 'model' property that is set when
3705 the links are loaded. This can be caught with "notify::model"
3707 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3708 listen for the model to be set, and propagate it to the action.
3710 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3712 * cut-n-paste/recent-files/egg-recent-item.c:
3713 (egg_recent_item_set_uri), (make_valid_utf8),
3714 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3715 * cut-n-paste/recent-files/egg-recent-item.h:
3717 Update egg-recent from libegg. This should fix long
3718 startup problem. For details see
3719 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3721 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3723 * cut-n-paste/recent-files/Makefile.am:
3724 * data/evince-ui.xml, shell/Makefile.am:
3725 * shell/ev-application.c, shell/ev-application.h:
3726 * shell/ev-window.c: Recent files support.
3728 * configure.ac: Added "ru" to ALL_LINGUAS.
3730 * dvju: new backend to support DJVU files.
3731 * dvi: new backend to support DVI.
3733 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3734 * ev-application.c: Support for new backends.
3736 * help, ev-window.c, main.c shell/Makefile.am:
3737 Evince user documentation.
3739 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3742 * shell/ev-window.c:
3743 * thumbnailer/evince-thumbnailer.c:
3745 s/pdf-document/ev-poppler
3747 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3754 * ps/ps-document.c: (setup_pixmap):
3758 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3760 * backend/ev-page-cache.c (ev_page_cache_next_page):
3761 * shell/ev-window.c (ev_window_cmd_go_next_page)
3762 (ev_window_cmd_go_first_page): Fix of by one errors.
3764 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3766 * ps/ps-document.c: (get_page_box):
3768 Fix page size calculation
3770 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3772 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3773 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3774 (get_page_orientation), (setup_page), (document_load),
3775 (ps_document_get_page_size), (render_pixbuf_idle):
3778 More refactoring to adapt to EvDocument changes
3780 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3782 * ps/ps-document.c: (start_interpreter):
3784 Actually add alpha args
3786 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3788 * pdf/ev-poppler.cc:
3790 Make clipboard work again
3792 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3794 Make searching work again.
3796 * backend/ev-document.c:
3797 * backend/ev-document.h:
3798 * backend/ev-document-find.c:
3799 * backend/ev-document-find.h: Change EvDocumentIface so we no
3800 longer store the current page or zoom level in the document. The
3801 consequence is that all calls that operate on the current page now
3802 instead take the page number as an extra argument, and all
3803 coordinates are now doubles in document coordinate system.
3805 * pdf/ev-poppler.cc:
3806 * pixbuf/pixbuf-document.c:
3807 * ps/ps-document.c: Update backends accordingly.
3809 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3813 Add required gettext version
3815 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3817 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3818 make F1 bring up non-existent help.
3820 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3821 epiphany's find bar, #167477
3823 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3824 <emil@nishra.com> to add space-bar scrolling,
3826 * shell/ev-window.c (static GtkActionEntry entries): add default
3827 keybinding for Help (F1)
3830 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3831 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3834 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3837 * pixbuf/pixbuf-document.c:
3839 Got pixbuf backend working again
3841 2005-04-01 Steve Murphy <murf@e-tools.com>
3843 * configure.in: Added "rw" to ALL_LINGUAS.
3845 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3847 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3848 model types, noticed by Martin Kretzschmar.
3850 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3852 * pdf/ev-poppler.cc: Implement search based on
3853 poppler_page_find_text(). Currently a bit crude since we remember
3854 all matches from all pages. Also, we grab the big document lock
3855 when we search since searching changes the underlying stream and
3856 thus conflicts with the rendering thread.
3858 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3859 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3860 (ev_view_find_previous): Fix some page indexes to be 0 based,
3861 offset rubber band by view offset,
3863 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3865 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3867 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3869 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3870 completely because I didn't understand GtkActions. I should
3871 read Marco's code more carefully in the future.
3873 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3876 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3878 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3879 PopplerRectangle change from poppler CVS.
3881 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3883 * backend/ev-document.c: (ev_document_get_page_label):
3884 * backend/ev-document.h:
3885 * backend/ev-page-cache.c: (_ev_page_cache_new),
3886 (ev_page_cache_get_page_label):
3887 * backend/ev-page-cache.h:
3888 * pdf/ev-poppler.cc:
3889 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3890 (links_page_num_func):
3891 * shell/ev-sidebar-thumbnails.c:
3892 (ev_sidebar_thumbnails_set_document):
3893 * shell/ev-view.c: (status_message_from_link),
3894 (ev_view_motion_notify_event):
3895 * shell/ev-window.c: (document_supports_sidebar): Add in page
3896 label support. It's not perfect yet, but it's the first 'feature'
3898 Also, fix a bogus comment noticed by crispin.
3900 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3902 * Makefile.am: Remove pixbuf backend for now
3904 * configure.ac: Require poppler-glib instead of just poppler.
3906 * backend/ev-document-thumbnails.h: Add a comment
3908 * backend/ev-document.h:
3909 * backend/ev-document.c: (ev_document_class_init),
3910 (ev_document_load), (ev_document_get_link),
3911 (ev_document_get_links): Remove 3 methods and add get_links.
3914 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3915 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3917 * backend/ev-link.c: (ev_link_set_title),
3918 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3919 (ev_link_mapping_find):
3920 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3922 * backend/ev-page-cache.c: (ev_page_cache_init),
3923 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3924 (ev_page_cache_get_size), (ev_page_cache_next_page),
3925 (ev_page_cache_prev_page): Fix to be 0 based.
3929 * pdf/ev-poppler.cc: New backend.
3931 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3932 (ps_document_get_page), (ps_document_document_iface_init):
3934 * shell/ev-pixbuf-cache.h:
3935 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3936 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3937 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3938 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3939 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3940 Fix up code to grab a page cache per each doc. Also, fix to be 0
3943 * shell/ev-sidebar-thumbnails.c:
3944 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3945 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3947 * shell/ev-view.c: (status_message_from_link),
3948 (find_page_at_location), (get_link_at_location),
3949 (ev_view_motion_notify_event), (ev_view_button_release_event),
3950 (ev_view_init): Use the new link code. Fix to be 0 based.
3952 * shell/ev-window.c: (update_action_sensitivity),
3953 (document_supports_sidebar): 0 based.
3955 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3957 * pdf/pdf-document.cc: Patch from Fernando Herrera
3958 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3961 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3963 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3964 1 to the page, as this seems to be 1 based. I thought we has this
3967 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3970 * backend/Makefile.am:
3971 * backend/ev-document-links.c:
3972 (ev_document_links_has_document_links),
3973 (ev_document_links_get_links_model):
3974 * backend/ev-document-links.h:
3975 * backend/ev-document.c: (ev_document_get_page_cache),
3976 (ev_document_get_doc_mutex), (ev_document_load),
3977 (ev_document_save), (ev_document_get_title),
3978 (ev_document_get_n_pages), (ev_document_set_page),
3979 (ev_document_get_page), (ev_document_set_target),
3980 (ev_document_set_scale), (ev_document_set_page_offset),
3981 (ev_document_get_page_size), (ev_document_get_text),
3982 (ev_document_get_link), (ev_document_render),
3983 (ev_document_render_pixbuf), (ev_document_scale_changed):
3984 * backend/ev-document.h:
3985 * backend/ev-job-queue.c: (remove_object_from_queue),
3986 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3987 (no_jobs_available_unlocked), (ev_render_thread),
3988 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3989 (ev_job_queue_remove_job):
3990 * backend/ev-job-queue.h:
3991 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3992 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3993 (ev_job_links_class_init), (ev_job_render_init),
3994 (ev_job_render_dispose), (ev_job_render_class_init),
3995 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3996 (ev_job_thumbnail_class_init), (ev_job_finished),
3997 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3998 (ev_job_render_run), (ev_job_thumbnail_new),
3999 (ev_job_thumbnail_run):
4000 * backend/ev-jobs.h:
4001 * backend/ev-link.c:
4002 * backend/ev-link.h:
4003 * backend/ev-page-cache.c: (ev_page_cache_init),
4004 (ev_page_cache_class_init), (ev_page_cache_finalize),
4005 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4006 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4007 (ev_page_cache_set_link), (ev_page_cache_get_title),
4008 (ev_page_cache_get_size), (ev_page_cache_next_page),
4009 (ev_page_cache_prev_page):
4010 * backend/ev-page-cache.h:
4011 * pdf/pdf-document.cc:
4014 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4015 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4016 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4017 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4018 (is_interpreter_ready), (output), (catchPipe), (input),
4019 (start_interpreter), (check_filecompressed), (compute_dimensions),
4020 (ps_document_enable_interpreter), (document_load),
4021 (ps_document_next_page), (render_page), (ps_document_set_page),
4022 (ps_document_set_scale), (render_pixbuf_idle),
4023 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4025 * shell/Makefile.am:
4026 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4027 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4028 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4029 (ev_pixbuf_cache_new), (job_finished_cb),
4030 (check_job_size_and_unref), (move_one_job),
4031 (ev_pixbuf_cache_update_range), (find_job_cache),
4032 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4033 (ev_pixbuf_cache_add_jobs_if_needed),
4034 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4035 * shell/ev-pixbuf-cache.h:
4036 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4037 (idle_print_handler):
4038 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4039 (selection_changed_cb), (create_loading_model),
4040 (ev_sidebar_links_construct), (links_page_num_func),
4041 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4042 (update_page_callback), (job_finished_cb),
4043 (ev_sidebar_links_set_document):
4044 * shell/ev-sidebar-thumbnails.c:
4045 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4046 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4047 (page_changed_cb), (thumbnail_job_completed_callback),
4048 (ev_sidebar_thumbnails_set_document):
4049 * shell/ev-sidebar-thumbnails.h:
4050 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4051 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4052 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4053 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4054 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4055 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4056 (ev_view_button_release_event), (ev_view_scroll_view),
4057 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4058 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4059 (ev_view_new), (job_finished_cb), (page_changed_cb),
4060 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4061 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4062 (ev_view_find_previous):
4064 * shell/ev-window.c: (update_action_sensitivity),
4065 (ev_window_open_page), (update_window_title), (update_total_pages),
4066 (page_changed_cb), (ev_window_setup_document),
4067 (password_dialog_response), (ev_window_cmd_save_as),
4068 (ev_window_print), (ev_window_cmd_go_previous_page),
4069 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4070 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4071 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4072 * shell/main.c: (main):
4074 Merge evince-threads branch
4076 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4078 * configure.ac: Added "lt" to ALL_LINGUAS.
4080 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4087 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4089 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4091 Fix here also the thumbnails 1-basedness :)
4093 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4100 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4102 * pdf/pdf-document.cc:
4103 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4104 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4106 Fix the mess we did with thumbnails and 1-basedness
4108 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4110 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4112 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4119 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4122 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4123 (gtk_gs_defaults_get_alpha_parameters),
4124 (gtk_gs_defaults_get_ungzip_cmd),
4125 (gtk_gs_defaults_get_unbzip2_cmd):
4127 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4128 (ps_document_get_orientation), (document_load),
4129 (ps_document_goto_page), (ps_document_set_page_size):
4132 Some more sanitization of the ps backend. Remove a lot
4133 of unused code and do not base our defaults on ggv
4136 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4138 * thumbnailer/evince-thumbnailer.schemas:
4139 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4140 (main): add -s option for thumbnail size.
4142 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4146 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4149 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4151 * pdf/pdf-document.cc:
4153 Remove 4 pixels of useless border from the
4156 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4158 * backend/ev-document-thumbnails.c:
4159 (ev_document_thumbnails_get_thumbnail):
4160 * backend/ev-document-thumbnails.h:
4162 Rework API a bit. Add a border flag and
4163 change sizing logic (now the size we specify
4164 applies to the bigger dimension).
4166 * pdf/pdf-document.cc:
4167 * pixbuf/pixbuf-document.c:
4168 (pixbuf_document_thumbnails_get_thumbnail):
4169 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4170 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4172 Adapt to the new API and do not draw a border for nautilus
4175 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4177 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4178 take thumbnails from page "0" instead of "1". Added a copyright header.
4180 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4182 * ps/ps-document.c: (set_up_page), (start_interpreter):
4184 Make it C89 compliant
4186 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4191 * pdf/pdf-document.cc:
4192 * thumbnailer/Makefile.am:
4193 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4195 * thumbnailer/evince-thumbnailer.schemas:
4196 * thumbnailer/pdf-icon.png:
4198 Add a nautilus thumbnailer.
4199 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4201 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4209 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4211 Use poppler instead of including xpdf source code. Poppler is a
4212 fork of xpdf to build it as a shared library. See
4213 http://freedesktop.org/wiki/Software/poppler.
4215 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4218 * pdf/Makefile.am: Build libpdfdocument.a here.
4220 * pdf/GDKSplashOutputDev.cc:
4221 * pdf/GDKSplashOutputDev.h:
4222 * pdf/GnomeVFSStream.cc:
4223 * pdf/GnomeVFSStream.h:
4226 * test-gdk-output-dev.cc
4228 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4231 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4233 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4235 Clear idle stack before unsetting the document
4237 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4239 * ps/ps-document.c: (ps_document_widget_event),
4240 (ps_document_set_target), (ps_document_finalize),
4241 (ps_document_get_page):
4243 Disconnect the widget event signal on finalize.
4246 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4248 * ps/ps-document.c: (set_up_page):
4250 If there is no bpixmap create one, even if size
4253 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4255 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4256 (set_up_page), (document_load), (ps_document_set_zoom):
4258 Default page is 0. Calculate size even when we have no
4261 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4263 * shell/ev-sidebar.c: expand the selection widget to be always as
4266 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4268 * shell/ev-sidebar-thumbnails.c:
4269 (ev_sidebar_thumbnails_set_document):
4271 Clear the list store when setting document
4273 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4275 * shell/ev-page-action.c: (update_entry), (sync_entry),
4276 (activate_cb), (entry_size_request_cb), (create_tool_item),
4279 Use an entry for the page control instead of spinbuttons
4281 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4283 * data/evince.schemas.in:
4285 Correct confusing string
4287 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4289 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4290 for real. Gosh, how long has this been broken.
4292 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4293 check for a NULL link. We crash otherwise.
4295 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4302 2005-02-25 Sebastien Bacher <seb128@debian.org>
4304 * configure.ac: add the french translation.
4306 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4308 * shell/ev-window.c:
4310 Remove unused header -> fix distcheck
4312 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4314 * shell/ev-window.c: (update_window_title),
4315 (ev_window_popup_password_dialog):
4317 Unescape filename for display
4319 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4321 * pdf/xpdf/pdf-document.cc:
4323 In get_page_size deal with rotation. Also
4324 cleanup the function a bit.
4326 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4328 * pdf/xpdf/pdf-document.cc:
4330 Fix crash when opening in new window
4332 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4336 Check ghostscript >= 7
4338 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4340 * shell/ev-window.c:
4342 Make page width the default sizing mode
4344 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4345 Marco Pesenti Gritti <marco@gnome.org>
4347 * shell/ev-window.c: Remember the sidebar size
4349 * data/evince.schemas.in: Add a new gconf key to store the size of
4352 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4354 * data/evince-ui.xml:
4355 * shell/ev-window.c: (update_action_sensitivity),
4356 (ev_window_cmd_view_reload):
4358 Add a "Reload" action and menu entry
4360 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4362 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4363 iff the type doesn't support thumbnailing and indexing.
4365 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4367 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4369 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4371 * pdf/splash/Splash.cc:
4373 Port fix for a crasher from kde bug
4374 http://bugs.kde.org/show_bug.cgi?id=97131
4376 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4378 * pdf/xpdf/pdf-document.cc:
4380 Return a link even if it's of an unrecognized
4381 type. Otherwise we go in an infinte cycle.
4383 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4385 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4386 (size_allocate_cb), (ev_window_set_sizing_mode):
4388 Update size when switching mode
4390 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4392 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4393 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4394 (ev_window_cmd_view_normal_size):
4396 Fix size toggle buttons behavior
4398 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4400 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4401 (doc_rect_to_view_rect), (ev_view_size_allocate),
4402 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4403 (scale_changed_callback):
4405 Do not cache offsets in size_allocate.
4407 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4409 * shell/ev-view.c: (ev_view_size_allocate):
4411 Calculate offsets before calling the parent
4412 class (which does a redraw)
4414 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4416 * pdf/xpdf/pdf-document.cc:
4418 Fix a crasher on exit. Unused code, put a TODO
4420 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4422 * backend/ev-document.c: (ev_document_class_init),
4423 (ev_document_page_changed), (ev_document_scale_changed):
4424 * backend/ev-document.h:
4426 Separate page/scale notifications
4428 * pdf/xpdf/pdf-document.cc:
4430 Emit the new signals.
4431 Do not display the pdf page in _render, do it
4432 when scale/page are requested.
4434 * ps/ps-document.c: (ps_document_set_zoom),
4435 (ps_document_widget_event):
4438 Emit the new signals.
4440 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4441 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4442 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4443 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4445 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4446 (ev_window_cmd_view_page_width), (size_allocate_cb),
4447 (ev_window_set_sizing_mode):
4449 Rework sizing to be pixel based.
4450 There are bugs but should be already way better.
4452 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4454 * shell/ev-window.c: (ev_window_init):
4456 Do not allow to shrink sidebar smaller then
4459 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4461 * shell/ev-sidebar.[ch]
4462 * shell/ev-window.c:
4464 Improved sidebar widget. Fixes #166683
4466 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4468 * shell/ev-view.c (update_find_status_message): Give translators
4469 more flexibility with ngettext plural handling.
4471 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4473 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4474 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4475 page when we get the page size.
4477 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4479 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4481 ps pages are 0 based, convert
4483 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4485 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4487 Initialize correct parent class. Set GError on document load
4489 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4491 * pdf/xpdf/pdf-document.cc:
4493 Fixup selection offset calculation
4495 * shell/ev-view.c: (view_rect_to_doc_rect),
4496 (doc_rect_to_view_rect), (ev_view_size_allocate),
4497 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4498 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4500 Store selection as document relative, so that zooming
4501 and offset changing doesnt break it.
4503 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4505 * shell/ev-view.c: (ev_view_best_fit):
4507 Do not try to best fit if the view is not realized
4509 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4511 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4513 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4515 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4517 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4519 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4520 the popup window. That prevents it resizing when in full screen
4523 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4524 multiple rerenders. This pretty much sucks.
4526 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4527 rest of the toolbar.
4529 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4531 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4533 2005-02-17 Alexander Shopov <ash@contact.bg>
4535 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4537 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4539 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4541 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4543 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4544 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4545 (set_document_page), (document_changed_callback),
4546 (ev_view_set_document), (ev_view_find_previous),
4547 (ev_view_hide_cursor), (ev_view_show_cursor):
4549 * shell/ev-window.c: (update_chrome_visibility),
4550 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4551 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4552 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4553 (ev_window_unfullscreen):
4554 * shell/main.c: (main):
4556 Automatically hide the fullscreen button.
4557 Patch by Kristian Høgsberg <krh@redhat.com>
4559 2005-02-16 Vincent Noel <vnoel@cox.net>
4561 * shell/main.c (main): Specify an icon for the window. Patch by
4562 Jaap A. Haitsma. Fixes #166177.
4564 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4566 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4568 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4570 * backend/ev-document-misc.h:
4571 * backend/ev-document-misc.c:
4572 (ev_document_misc_get_page_border_size),
4573 (ev_document_misc_paint_one_page): New function to canonicalize
4574 sizing/painting a border.
4576 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4579 * pdf/xpdf/pdf-document.cc: use new function
4581 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4582 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4583 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4584 shell/ev-window.c: (update_sizing_buttons),
4585 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4586 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4587 (ev_window_cmd_view_page_width), (size_allocate_cb),
4588 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4589 and "fit width" values act as toggle buttons so they stay
4590 toggled. It's not 100% perfect, and it's a little slow, but it's
4591 good enough to commit I think.
4593 2005-02-15 David Lodge <dave@cirt.net>
4595 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4597 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4599 * shell/ev-window.c (update_window_title): replace newlines in
4600 the title by spaces. Bug #166107.
4602 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4604 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4605 parameters providing allocation width and height without
4606 scrollbars and width of a possible vertical scrollbar. With this
4607 additional information the functions can work as
4608 intended. Unfortunately they're not idempotent. We should
4609 transform these commands to toggles. Fixes Bug #164976
4610 Initial patch by Stephane Loeuillet, then heavily modified.
4612 * shell/ev-view.h: update prototypes.
4614 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4615 (ev_window_cmd_view_page_width): provide EvView fit functions with
4616 all the information they need. Formulas to calculate this
4617 information taken from GtkScrolledWindow.
4619 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4621 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4622 created a thumbnail, the list store is updated to know
4623 that the thumbnail is set. Fixes bug #166792
4625 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4627 * shell/ev-window.c: fixed typo, closes bug 166897
4629 * TODO: updated TODO with bug numbers that are relevant
4631 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4633 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4635 2005-02-09 Vincent Noel <vnoel@cox.net>
4637 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4638 and "Next" toolbar buttons as important to make them stand out.
4640 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4644 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4645 (start_interpreter), (stop_interpreter), (document_load),
4646 (ps_document_next_page), (ps_document_goto_page),
4647 (ps_document_set_page_size), (ps_document_widget_event),
4648 (ps_document_render):
4649 * shell/ev-page-view.c: (ev_page_view_dispose):
4650 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4652 Fix compilation on non-gcc platforms
4654 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4661 * pdf/xpdf/Catalog.cc:
4664 Fix the fix for CAN-2004-0888
4666 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4669 * data/evince-ui.xml:
4670 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4671 * shell/ev-stock-icons.h:
4672 * shell/ev-window.c: (update_action_sensitivity),
4673 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4674 (set_action_properties):
4676 Improve toolbar layout/icons
4678 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4680 * pdf/xpdf/pdf-document.cc:
4682 Add warnings about unimplemented/unknown link
4685 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4687 * ps/ps-document.c: (set_up_page):
4691 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4693 * ps/ps-document.c: (start_interpreter):
4697 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4699 * shell/ev-page-view.c: (ev_page_view_dispose):
4700 * shell/ev-view.c: (ev_view_finalize):
4701 * shell/ev-window.c: (ev_window_setup_document),
4702 (ev_window_dispose), (ev_window_init):
4704 Solve more refs issues.
4706 I commented out the page_view initialization for now:
4707 it was never destroyed (because it's never added
4708 to a container). Because of that we was leaking
4709 gs processes. Couldnt think to a clean fix.
4710 We need to figure this out, password view has the
4711 same issue probably.
4713 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4715 * ps/ps-document.c: (ps_document_finalize),
4716 (ps_document_get_n_pages), (ps_document_get_page):
4718 Some cleanups, stop the interpreter on finalize
4720 * shell/ev-page-view.c: (ev_page_view_dispose),
4721 (ev_page_view_class_init):
4723 Release our reference on the document
4725 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4729 * doc/debugging.txt:
4732 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4733 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4734 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4737 Add debugging helpers
4740 * ps/ps-document.c: (set_up_page), (start_interpreter),
4741 (stop_interpreter), (document_load), (ps_document_next_page),
4742 (ps_document_goto_page), (ps_document_set_page_size),
4743 (ps_document_widget_event), (ps_document_render):
4744 * shell/Makefile.am:
4745 * shell/ev-view.c: (expose_bin_window):
4746 * shell/main.c: (main):
4750 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4752 * ps/ps-document.c: (ps_document_widget_event):
4754 Initialize message_window, this should make ps
4755 rendering really work! (Never noticed because I was
4756 testing with a ps that is causing gs to exit every time!)
4758 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4760 * data/evince.schemas.in: updated simple error in applyto closing tag
4762 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4768 * data/evince-ui.xml:
4769 A data/evince.schemas.in:
4771 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4772 * shell/ev-stock-icons.h:
4773 * shell/ev-window.c: (update_chrome_visibility),
4774 (update_chrome_flag), (ev_window_cmd_edit_find),
4775 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4776 (ev_window_unfullscreen), (ev_window_focus_in_event),
4777 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4778 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4779 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4780 (ev_window_dispose), (ev_window_class_init),
4781 (set_action_properties), (set_chrome_actions), (load_chrome),
4784 Implement fullscreen mode changes from bug #164776.
4785 Also implement persistent chrome toggles.
4787 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4789 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4791 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4797 Add another check for find interface
4801 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4803 * shell/ev-application.c: (ev_application_open):
4804 * shell/ev-window.c: (ev_window_open):
4806 Open gzipped ps documents
4808 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4811 * shell/ev-view.c: (set_document_page):
4813 Clamp page number, dont try to move to
4816 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4818 * backend/ev-document-find.c: (ev_document_find_changed):
4819 * backend/ev-document-find.h:
4820 * pdf/xpdf/pdf-document.cc:
4821 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4822 * shell/ev-window.c: (find_bar_search_changed_cb):
4824 Fix several bugs with find
4826 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4828 * shell/ev-sidebar-thumbnails.c
4829 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4830 document. Prevents warning from scroll_to_cell.
4832 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4834 * configure.ac: Add «nb» to ALL_LINGUAS too.
4836 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4838 * NOTES: New file with some random thoughts.
4842 * backend/ev-document-misc.c:
4843 (ev_document_misc_get_page_border_size): New function to
4844 canonicalize shadow drawing sizes. Possibly goofy.
4846 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4847 (ev_view_best_fit), (ev_view_fit_width):
4848 * pdf/xpdf/pdf-document.cc:
4849 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4850 * ps/ps-document.c: (ps_document_get_page_size):
4851 * backend/ev-document-misc.h:
4852 * backend/ev-document.c: (ev_document_get_page_size):
4853 * backend/ev-document.h: get_page_size now takes a page number
4854 parameter. Made all the backends/frontends honor it.
4856 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4857 see. Doesn't work yet.
4859 * shell/Makefile.am:
4860 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4861 Doesn't do anything yet.
4863 * shell/ev-sidebar-thumbnails.c:
4864 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4867 * shell/ev-window.c: (update_action_sensitivity),
4868 (ev_window_setup_document), (ev_window_set_page_mode),
4869 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4870 view-swapping code a bit so we can have multiple views on a
4871 document. Add the multi-page view, though it can't be turned on
4874 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4876 * shell/ev-application.c: (ev_application_open):
4877 * shell/ev-view.c: (expose_bin_window):
4878 * shell/ev-window.c: (ev_window_open):
4880 Support eps and check document supports find
4881 before drawing highlightings in expose.
4883 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4885 * pixbuf/pixbuf-document.c:
4886 (pixbuf_document_thumbnails_get_dimensions),
4887 (pixbuf_document_document_thumbnails_iface_init):
4889 implement get_dimensions
4891 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4898 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4900 * shell/ev-view.c: (set_document_page):
4902 Scroll at the top of the page when changing page
4904 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4906 * shell/ev-view.c: (ev_view_motion_notify_event):
4908 Do not redraw unnecessarily
4910 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4912 * pdf/xpdf/pdf-document.cc:
4913 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4914 (expose_bin_window), (find_changed_cb):
4916 Yay! find works now... Now to find bugs...
4918 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4920 * backend/ev-document-find.c: (ev_document_find_base_init),
4921 (ev_document_find_changed):
4922 * backend/ev-document-find.h:
4923 * pdf/xpdf/pdf-document.cc:
4924 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4925 (expose_bin_window), (ev_view_init), (set_document_page),
4926 (ensure_rectangle_is_visible), (jump_to_find_result),
4927 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4928 (ev_view_find_next), (ev_view_find_previous):
4930 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4932 More work on find implementation, mostly there now
4934 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4936 * backend/ev-backend-marshalers.list:
4937 * backend/ev-document-find.c: (ev_document_find_base_init),
4938 (ev_document_find_cancel), (ev_document_find_page_has_results),
4939 (ev_document_find_get_n_results), (ev_document_find_get_result),
4940 (ev_document_find_get_progress), (ev_document_find_changed):
4941 * backend/ev-document-find.h:
4943 Enanche the find interface to be really able to do
4946 * pdf/xpdf/pdf-document.cc:
4950 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4951 (expose_bin_window), (ev_view_init),
4952 (ev_view_get_find_status_message), (find_changed_cb),
4953 (ev_view_set_document), (set_document_page):
4955 Adapt to the new interface. A few things are regressed sorry,
4956 I will finish it soon.
4958 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4960 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4961 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4962 ev_sidebar_thumbnails_parent_class variable, don't define another
4963 parent_class variable.
4965 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4966 (ev_page_action_class_init): ditto.
4968 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4969 (pixbuf_document_class_init): ditto.
4971 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4974 * .cvsignore: ignore various valgrind output files.
4976 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4978 * data/evince-ui.xml:
4979 * shell/Makefile.am:
4980 * shell/ev-history.c:
4981 * shell/ev-history.h:
4982 * shell/ev-navigation-action.c:
4983 * shell/ev-navigation-action.h:
4984 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4985 (ev_view_set_page), (ev_view_fit_width):
4987 * shell/ev-window.c: (update_action_sensitivity),
4988 (ev_window_setup_document), (register_custom_actions):
4990 Kill session history
4992 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4994 * shell/ev-window.c: (update_action_sensitivity):
4996 Fix inverted up/down buttons
4998 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5000 * shell/ev-sidebar-thumbnails.c
5001 (ev_sidebar_thumbnails_select_page): make sure the selected
5002 thumbnail stays visible.
5004 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5006 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5007 scrolled window for Federico.
5009 2005-01-26 Ole Laursen <olau@hardworking.dk>
5011 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5013 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5016 * pdf/splash/SplashFTFontEngine.cc:
5018 Fix CID fonts with freetype 2.1.9
5020 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5022 * TODO: added item for desktop icon thumbnailer
5024 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5026 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5027 unloaded docs when the title is accessed.
5029 * shell/ev-password-view.[hc]: New widget for displaying password
5032 * shell/ev-window.[ch]: Refactor password handling code to handle
5035 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5043 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5045 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5046 ignore page offset here, to make search results independent of it,
5048 * shell/ev-view.c (expose_bin_window): but take offsets into
5049 account here. Bug #164932
5051 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5052 scale at the right time. Bug #164996
5054 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5056 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5057 fix the problem. Now I just removed the Adobe font names and hope
5058 that the URW fonts are always in outline format. Bug #164934
5060 * shell/ev-window.c (update_window_title): empty titles are
5061 useless, use filename in that case too.
5063 * NEWS: Add some content.
5065 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5067 * TODO: added one more TODO item and a TODONE section :)
5069 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5071 * ps/ps-document.h: add page_[xy]_offset fields.
5073 * ps/ps-document.c (ps_document_set_page_offset)
5074 (ps_document_render): Keep offset in consideration in a few
5075 places. Bug #164752 "postscript documents are not centered in
5078 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5079 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5081 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5082 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5083 stub out missing methods for complete EvDocument implementation.
5084 Fixes segfaults with Save A Copy and Copy actions.
5086 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5087 (ps_document_document_iface_init): ditto.
5089 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5093 * data/evince.desktop.in:
5097 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5099 * shell/ev-view.c: (ev_view_button_press_event),
5100 (ev_view_motion_notify_event):
5102 Make selection work in any direction
5104 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5107 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5109 Use shorter labels for some of the toolbars items
5111 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5113 * pdf/xpdf/pdf-document.cc:
5115 Check the links info is initialized before
5116 using it. Should fix a crash on startup.
5118 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5120 * pixbuf/pixbuf-document.c
5121 (pixbuf_document_thumbnails_get_dimensions): force floating point
5122 division to calculate page_ratio. Fixes crash with landscape
5125 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5127 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5129 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5131 * shell/ev-view.c (set_document_page): unset has_selection when
5133 (set_document_page): handle paper size changes when the page
5134 changes (test with Free Culture, page 2).
5136 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5138 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5139 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5141 Use normal style color for the widget background and
5142 draw a black box around the page.
5144 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5146 * pdf/xpdf/pdf-document.cc:
5148 Keep offset in consideration in a few places
5150 * shell/ev-view.c: (expose_bin_window):
5152 Set the offsets so that the document is ever centered
5154 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5156 * TODO: Added TODO items and finished off the first todo item
5158 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5159 reflect current authors
5161 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5163 * pdf/xpdf/pdf-document.cc:
5164 * shell/ev-view.c: (ev_view_set_cursor),
5165 (ev_view_motion_notify_event), (document_changed_callback),
5166 (set_document_page):
5168 Show a wait cursor while the page is rendering
5170 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5172 * shell/ev-sidebar-thumbnails.c:
5173 (ev_sidebar_tree_selection_changed),
5174 (ev_sidebar_thumbnails_select_page):
5175 * shell/ev-sidebar-thumbnails.h:
5176 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5177 (ev_view_can_go_forward):
5178 * shell/ev-window.c: (ev_window_open_page),
5179 (ev_window_setup_document), (update_current_page),
5180 (view_page_changed_cb), (ev_window_init):
5181 * shell/ev-window.h:
5183 Ensure thumbnails selection, toolbar page control and
5184 current page are in sync.
5186 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5192 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5194 * backend/Makefile.am:
5195 * backend/ev-document-links.h:
5196 * backend/ev-document-security.c: (ev_document_security_get_type),
5197 (ev_document_security_has_document_security),
5198 (ev_document_security_set_password):
5199 * backend/ev-document-security.h:
5200 * backend/ev-document.c: (ev_document_error_quark):
5201 * backend/ev-document.h:
5203 * data/evince-password.glade:
5204 * pdf/xpdf/pdf-document.cc:
5205 * shell/Makefile.am:
5206 * shell/ev-password.c: (ev_password_set_bad_password_label),
5207 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5208 (ev_password_dialog_get_password),
5209 (ev_password_dialog_set_bad_pass):
5210 * shell/ev-password.h:
5211 * shell/ev-window.c: (ev_window_get_attribute),
5212 (ev_window_set_property), (update_action_sensitivity),
5213 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5214 (ev_window_setup_document), (ev_window_get_password),
5215 (ev_window_open), (ev_window_cmd_save_as),
5216 (using_postscript_printer), (ev_window_print),
5217 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5218 (update_fullscreen_popup), (ev_window_fullscreen),
5219 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5220 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5221 (menu_item_select_cb), (find_bar_search_changed_cb),
5222 (ev_window_dispose), (ev_window_init):
5224 Add initial support for password-supported dialogs. This could be
5225 a lot cooler, but it'll do for now.
5227 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5229 * pdf/xpdf/pdf-document.cc:
5230 * shell/ev-view.c: (status_message_from_link),
5231 (ev_view_set_status), (ev_view_set_cursor),
5232 (ev_view_motion_notify_event), (ev_view_init):
5233 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5235 Fix bugs in the links implementation and change cursor
5236 when hovering a link.
5238 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5240 * viewer/.cvsignore: added cvsignore file for viewer directory
5242 * TODO: created TODO document
5244 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5247 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5248 new functions to help with implementation of sensitivity code
5249 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5250 of all actions that might require it. Fixes a crash when you
5251 click on the Zoom actions in a window lacking a document.
5253 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5255 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5258 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5260 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5261 (pixbuf_document_document_iface_init):
5262 * ps/ps-document.c: (ps_document_get_link),
5263 (ps_document_document_iface_init):
5264 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5265 (status_message_from_link), (ev_view_set_status),
5266 (ev_view_set_find_status), (ev_view_motion_notify_event),
5267 (ev_view_button_release_event), (ev_view_set_property),
5268 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5269 (ev_view_get_find_status_message), (update_find_results),
5270 (ev_view_get_status), (ev_view_get_find_status):
5272 * shell/ev-window.c: (view_status_changed_cb),
5273 (view_find_status_changed_cb), (ev_window_init):
5275 View status message support, use it to show the links.
5278 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5280 * backend/ev-document.c: (ev_document_get_link):
5281 * backend/ev-document.h:
5282 * pdf/xpdf/pdf-document.cc:
5283 * shell/ev-application.c: (ev_application_open):
5284 * shell/ev-application.h:
5285 * shell/ev-sidebar-links.c: (selection_changed_cb):
5286 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5287 (ev_view_go_to_link):
5289 Add support for document links
5291 2005-01-13 Anders Carlsson <andersca@gnome.org>
5293 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5295 Set the spin button limits correctly.
5297 * shell/ev-sidebar-thumbnails.c:
5298 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5299 Support changing pages by clicking on the thumbnails.
5301 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5303 * pixbuf/pixbuf-document.c:
5304 (pixbuf_document_thumbnails_get_dimensions),
5305 (pixbuf_document_document_thumbnails_iface_init):
5307 implement get_dimensions
5309 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5311 * ps/ps-document.c: (ps_document_goto_page):
5313 Fix page switching on multipage documents
5315 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5317 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5319 check for NULL before assigning to width and height parameters
5321 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5323 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5324 (pixbuf_document_set_property), (pixbuf_document_get_property):
5326 implement get/set properties
5328 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5330 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5332 return NULL instead of "Unknown", letting the title get set to
5333 the filename when the pdf has no title.
5335 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5337 * ps/ps-document.c: (ps_document_get_page_count),
5338 (ps_document_goto_page):
5340 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5342 * shell/ev-history.c: (ev_history_get_property),
5343 (ev_history_set_property), (ev_history_class_init),
5344 (ev_history_add_page), (ev_history_set_current_index):
5345 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5346 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5347 (ev_navigation_action_finalize):
5348 * shell/ev-navigation-action.h:
5349 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5350 (ev_view_go_forward), (ev_view_get_find_status_message),
5351 (history_index_changed_cb), (ev_view_set_history):
5353 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5354 (update_current_page), (register_custom_actions):
5356 Implement history dropdowns
5358 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5360 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5361 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5362 (ev_view_go_forward):
5363 * shell/ev-window.c: (register_custom_actions):
5365 Fix several history bugs
5367 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5369 * configure.ac: Add «nb» to ALL_LINGUAS.
5371 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5373 * backend/Makefile.am:
5374 * backend/ev-bookmark.c:
5375 * backend/ev-bookmark.h:
5376 * backend/ev-document-bookmarks.c:
5377 * backend/ev-document-bookmarks.h:
5378 * backend/ev-document-links.c: (ev_document_links_get_type),
5379 (ev_document_links_has_document_links),
5380 (ev_document_links_begin_read), (ev_document_links_get_link),
5381 (ev_document_links_get_child), (ev_document_links_next),
5382 (ev_document_links_free_iter):
5383 * backend/ev-document-links.h:
5384 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5385 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5386 (ev_link_get_link_type), (ev_link_set_link_type),
5387 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5388 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5389 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5390 (ev_link_new_external):
5391 * backend/ev-link.h:
5392 * pdf/xpdf/pdf-document.cc:
5393 * shell/Makefile.am:
5394 * shell/ev-application.c: (ev_application_open_link):
5395 * shell/ev-application.h:
5396 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5397 (ev_history_get_link_nth):
5398 * shell/ev-history.h:
5399 * shell/ev-sidebar-bookmarks.c:
5400 * shell/ev-sidebar-bookmarks.h:
5401 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5402 (ev_sidebar_links_class_init), (selection_changed_cb),
5403 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5404 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5405 (do_one_iteration), (populate_links_idle),
5406 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5407 * shell/ev-sidebar-links.h:
5408 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5409 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5412 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5413 * shell/ev-window.h:
5415 Rename bookmark to link, and use "Index" for the sidebar panel.
5417 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5419 * shell/Makefile.am:
5420 * shell/ev-application.c: (ev_application_open_bookmark):
5421 * shell/ev-application.h:
5422 * shell/ev-history.c: (ev_history_init), (free_links_list),
5423 (ev_history_finalize), (ev_history_class_init),
5424 (ev_history_add_link), (ev_history_add_page),
5425 (ev_history_get_link_nth), (ev_history_get_n_links),
5426 (ev_history_get_current_index), (ev_history_set_current_index),
5428 * shell/ev-history.h:
5429 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5430 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5431 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5432 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5435 * shell/ev-window.c: (ev_window_open_bookmark),
5436 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5437 (goto_page_cb), (register_custom_actions):
5438 * shell/ev-window.h:
5440 Initial history implementation. Needs work.
5442 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5444 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5446 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5448 * cut-n-paste/recent-files/egg-recent-item.c:
5449 * cut-n-paste/recent-files/egg-recent-item.h:
5450 * cut-n-paste/recent-files/egg-recent-model.c:
5451 * cut-n-paste/recent-files/egg-recent-util.c:
5452 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5453 * cut-n-paste/recent-files/egg-recent-view.c:
5457 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5459 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5460 (fillGlyph, fillImageMask, drawImage):
5461 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5462 pdf/splash/SplashTypes.h:
5463 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5464 packed mode for Splash.
5466 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5467 RGB8 packed mode, eliminates the pixbuf data creation loop.
5469 * shell/ev-print-job.c (ev_print_job_finalize)
5470 (ev_print_job_set_property, ev_print_job_get_property)
5471 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5472 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5473 (print_closure_finalize, ev_print_job_print): implement
5474 printing (for backends with EvPsExporter)
5476 * shell/ev_print_job.h: update prototypes.
5478 * shell/ev-window.c (ev_window_print): unref print job after
5481 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5482 unless the document implements the EvDocumentFind interface.
5484 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5486 * configure.ac: Added ja to ALL_LINGUAS.
5488 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5490 * pdf/xpdf/pdf-document.cc:
5492 add a FIXME. We should probably not allocate
5493 a bookmark object every time
5495 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5497 * shell/ev-application.c: (ev_application_open),
5498 (ev_application_open_bookmark):
5499 * shell/ev-application.h:
5501 Add a way to open bookmarks
5503 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5504 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5505 (ev_bookmark_set_property), (ev_bookmark_class_init),
5506 (ev_bookmark_new_title), (ev_bookmark_new_link),
5507 (ev_bookmark_new_external):
5509 Support for external uris, better constructors.
5511 * backend/ev-bookmark.h:
5512 * pdf/xpdf/pdf-document.cc:
5513 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5515 Handle external uris
5517 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5519 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5520 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5522 Hook up bookmarks navigation
5524 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5526 * backend/Makefile.am:
5527 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5528 (ev_bookmark_get_title), (ev_bookmark_set_title),
5529 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5530 (ev_bookmark_get_page), (ev_bookmark_set_page),
5531 (ev_bookmark_get_property), (ev_bookmark_set_property),
5532 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5534 * backend/ev-bookmark.h:
5535 * backend/ev-document-bookmarks.c:
5536 (ev_document_bookmarks_get_bookmark):
5537 * backend/ev-document-bookmarks.h:
5538 * pdf/xpdf/pdf-document.cc:
5539 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5541 Add a bookmark object to the backend and use it instead of get_values
5543 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5545 * data/evince-ui.xml:
5547 Cleanup and add select all.
5549 * shell/ev-view.c: (ev_view_select_all),
5550 (ev_view_button_press_event):
5552 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5555 Clear selection on click.
5557 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5559 * shell/ev-sidebar-thumbnails.c
5560 (ev_sidebar_thumbnails_set_document): forgot to unref the
5563 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5565 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5566 at the visible page, not just linearly. This makes it look fast.
5568 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5570 * backend/ev-document-misc.c
5571 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5573 * backend/ev-document-thumbnails.h: New interface to get the size
5576 2005-01-06 Jeremy Katz <katzj@redhat.com>
5578 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5581 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5583 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5584 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5587 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5589 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5591 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5592 fonts. Should fix font problems on systems that have the base
5593 fonts in bitmap format. Reported by James Henstridge
5594 <james@jamesh.id.au>.
5596 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5599 * pdf/xpdf/GfxState.cc:
5601 Fix for CAN-2004-1125
5603 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5605 * shell/ev-view.c: (ev_view_copy):
5607 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5609 Implement Edit->Copy
5611 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5613 * backend/ev-document.c: (ev_document_get_text):
5614 * backend/ev-document.h:
5615 * pdf/xpdf/pdf-document.cc:
5616 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5617 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5618 (ev_view_update_primary_selection), (ev_view_button_press_event),
5619 (ev_view_motion_notify_event), (ev_view_button_release_event):
5621 Beginnings of clipboard support. Incomplete but primary sort
5624 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5626 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5627 (expose_bin_window):
5629 Nicer rubberband drawing, from GtkIconView.
5631 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5633 * backend/ev-document.c: (ev_document_save):
5634 * backend/ev-document.h:
5635 * data/evince-ui.xml:
5636 * pdf/xpdf/pdf-document.cc:
5637 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5639 Implement "Save a copy..." menu item
5641 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5643 * shell/ev-view.c: (ev_view_zoom):
5645 Queue a resize when zoom changes
5647 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5649 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5652 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5655 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5657 * pdf/xpdf/pdf-document.cc
5658 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5660 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5662 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5663 It's slow, but I'll speed it up next!
5665 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5667 * shell/main.c (load_files):
5669 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5670 from the command line and because it seems more appropriate.
5672 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5674 * data/evince-ui.xml:
5675 * shell/ev-window.c: (update_action_sensitivity),
5676 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5678 s/next page/page down
5679 s/previous page/page up
5681 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5683 * data/evince-ui.xml:
5685 Change the layout to match clarkbw design.
5687 * shell/Makefile.am:
5688 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5689 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5690 (ev_navigation_action_finalize),
5691 (ev_navigation_action_set_property),
5692 (ev_navigation_action_get_property),
5693 (ev_navigation_action_class_init):
5694 * shell/ev-navigation-action.h:
5696 Implement clarkbw toolbar navigation controls (incomplete)
5698 * shell/ev-page-action.c: (update_label), (update_spin),
5699 (value_changed_cb), (create_tool_item), (connect_proxy),
5700 (ev_page_action_init), (ev_page_action_finalize),
5701 (ev_page_action_set_property), (ev_page_action_get_property),
5702 (ev_page_action_set_current_page),
5703 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5704 * shell/ev-page-action.h:
5706 Implement a page switcher in the toolbar
5708 * shell/ev-view.c: (ev_view_scroll_view):
5709 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5710 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5711 (register_custom_actions), (ev_window_init):
5713 Change page on PageUp/Down.
5715 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5717 * pdf/xpdf/pdf-document.cc
5718 (pdf_document_thumbnails_get_thumbnail): initial stab at
5719 implementing thumbnail support for pdfs. It only does documents
5720 with precached pdfs now.
5722 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5724 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5725 thumbnail code into a time-based idle as well. Also, turn off the
5726 shadow temporarily as it's really slow.
5728 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5730 * backend/ev-document.c: (ev_document_class_init):
5731 * pdf/xpdf/pdf-document.cc:
5732 * shell/ev-window.c: (ev_window_open):
5734 Fix document title bugs and fallback to
5735 filename when not available.
5737 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5739 * backend/ev-document.c: (ev_document_get_type),
5740 (ev_document_class_init), (ev_document_load),
5741 (ev_document_get_title):
5742 * backend/ev-document.h:
5743 * pdf/xpdf/pdf-document.cc:
5744 * ps/ps-document.c: (ps_document_set_property),
5745 (ps_document_get_property), (ps_document_class_init),
5749 * shell/ev-window.c: (update_window_title), (ev_window_open),
5752 Initial support for document title. Not working yet.
5754 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5756 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5758 Grab focus on the view when clicking it
5760 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5762 * shell/ev-marshal.list:
5763 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5764 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5766 Add key bindings to the view. Now if the focus would work
5769 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5772 * backend/Makefile.am:
5775 * dvi/dvilib/Makefile.am:
5776 * pdf/xpdf/Makefile.am:
5782 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5784 * shell/ev-view.c: (ev_view_realize):
5786 Fix mouse wheel scrolling
5788 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5794 * ps/ps-document.c: (catchPipe), (ps_document_init),
5795 (ps_document_class_init), (ps_document_cleanup),
5796 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5797 (set_up_page), (close_pipe), (is_interpreter_ready),
5798 (interpreter_failed), (output), (input), (start_interpreter),
5799 (stop_interpreter), (file_length), (file_readable),
5800 (check_filecompressed), (check_pdf), (compute_xdpi),
5801 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5802 (ps_document_get_type), (ps_document_emit_error_msg),
5803 (document_load), (ps_document_next_page),
5804 (ps_document_get_current_page), (ps_document_get_page_count),
5805 (ps_document_goto_page), (ps_document_set_page_size),
5806 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5807 (ps_document_load), (ps_document_get_n_pages),
5808 (ps_document_set_page), (ps_document_get_page),
5809 (ps_document_widget_event), (ps_document_set_target),
5810 (ps_document_set_scale), (ps_document_set_page_offset),
5811 (ps_document_get_page_size), (ps_document_render),
5812 (ps_document_document_iface_init):
5815 * shell/ev-window.c: (ev_window_open):
5817 Rename GtkGS to PSDocument
5819 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5821 * ps/gtkgs.c: (gtk_gs_class_init):
5824 Some more leftover...
5826 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5828 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5829 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5830 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5833 Remove unused code and make a lot of stuff private
5835 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5837 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5838 (gtk_gs_defaults_changed):
5844 Cleanup headers dependencies
5846 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5851 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5853 * ps/gtkgs.c: (file_length), (file_readable),
5854 (check_filecompressed), (check_pdf), (gtk_gs_load),
5855 (gtk_gs_get_postscript):
5859 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5864 * ps/gtkgs.c: (gtk_gs_set_zoom):
5868 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5870 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5872 Ensure the page is rerendered when changing zoom
5874 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5876 * backend/ev-document.c: (ev_document_base_init),
5877 (ev_document_changed):
5878 * backend/ev-document.h:
5880 Add a changed event that is emitted when the page content
5881 changes. This is necessary to deal with the fact that
5882 in ps backend rendering happen asycrounously.
5883 This makes the ps backend mostly work.
5885 * pdf/xpdf/pdf-document.cc:
5889 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5890 (ps_document_set_target):
5894 * shell/ev-view.c: (document_changed_callback),
5895 (ev_view_set_document), (ev_view_set_page):
5897 Redraw on the changed signal
5899 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5901 * configure.ac: Added pt_BR to ALL_LINGUAS.
5903 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5905 * backend/ev-document-bookmarks.c:
5906 (ev_document_bookmarks_get_child): *
5907 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5908 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5909 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5910 (ev_sidebar_bookmarks_destroy),
5911 (ev_sidebar_bookmarks_class_init),
5912 (ev_sidebar_bookmarks_construct), (stack_data_free),
5913 (do_one_iteration), (populate_bookmarks_idle),
5914 (ev_sidebar_bookmarks_clear_document),
5915 (ev_sidebar_bookmarks_set_document): *
5916 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5917 (ev_sidebar_add_page),
5918 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5919 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5920 it displays both the topics and the page numbers.
5922 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5924 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5926 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5929 2004-12-23 Adam Weinberger <adamw@gnome.org>
5931 * configure.ac: Added en_CA to ALL_LINGUAS.
5933 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5935 * ChangeLog: replace bottom of this ChangeLog (merged history of
5936 ggv and gpdf; where all paths were wrong and most of the files are
5937 not even in this tree) with ChangeLog (from arch) of the shell
5940 2004-12-23 Havoc Pennington <hp@redhat.com>
5942 * shell/ev-window.c: hook up potentially-questionable "find
5943 results status text" feature - something involving the sidebar or
5944 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5945 might be better in the end.
5947 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5948 with corresponding signal when it should be updated
5950 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5952 2004-12-22 Havoc Pennington <hp@redhat.com>
5954 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5955 find stuff on other pages, sort of (only returns one result on
5956 invisible pages, to show they have results; updates full results
5957 for a page when you view it). Currently repaints the current page
5958 every time a new result is found on any page, which isn't so nice.
5960 2004-12-22 Havoc Pennington <hp@redhat.com>
5962 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5963 the document doesn't support find (better ideas?)
5964 (find_bar_search_changed_cb): handle missing document or document
5965 that doesn't support find
5967 * pdf/xpdf/pdf-document.cc: port to implement the new
5970 * backend/ev-document-find.c: create a new interface for searching
5972 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5974 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5976 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5979 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5980 EvPrintJob constructor arguments.
5982 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5983 for documents that can export PostScript (page by page).
5985 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5987 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5988 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5989 (pdf_document_ps_exporter_iface_init:
5990 Implement EvPSExporter.
5992 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5994 2004-12-22 Anders Carlsson <andersca@gnome.org>
5996 * backend/Makefile.am:
5997 * backend/ev-document-thumbnails.c:
5998 (ev_document_thumbnails_get_type),
5999 (ev_document_thumbnails_get_thumbnail):
6000 * backend/ev-document-thumbnails.h:
6001 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6002 (pixbuf_document_thumbnails_get_thumbnail),
6003 (pixbuf_document_document_thumbnails_iface_init):
6004 * shell/Makefile.am:
6005 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6006 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6007 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6008 * shell/ev-sidebar-thumbnails.h:
6009 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6010 (ev_sidebar_set_document):
6011 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6012 (create_shadow), (ev_pixbuf_add_shadow):
6014 Add thumbnail support.
6016 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6018 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6019 (using_postscript_printer): Set up a print dialog for "PostScript
6022 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6025 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6027 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6029 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6030 (ps_document_set_target), (ps_document_get_page_size),
6031 (ps_document_render):
6036 2004-12-22 Christian Rose <menthos@menthos.com>
6038 * configure.ac: Added "sv" to ALL_LINGUAS.
6040 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6042 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6043 document supports bookmarks.
6045 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6047 * ps/ggvutils.c: (ggv_file_readable):
6049 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6050 (gtk_gs_get_postscript):
6054 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6056 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6057 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6058 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6059 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6060 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6061 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6062 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6063 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6064 (gtk_gs_set_antialiasing), (ps_document_load),
6065 (ps_document_render):
6068 Another check point for the ps backend. Now I can get it to show
6071 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6073 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6074 document setting code.
6076 2004-12-22 Anders Carlsson <andersca@gnome.org>
6078 * shell/eggfindbar.c: (entry_activate_callback):
6079 Animate the next button when activate is pressed.
6081 2004-12-22 Anders Carlsson <andersca@gnome.org>
6083 * shell/ev-window.c: (ev_window_cmd_edit_find),
6084 (update_fullscreen_popup), (ev_window_fullscreen),
6085 (ev_window_unfullscreen), (ev_window_state_event_cb),
6086 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6087 Fix bugs in fullscreen code.
6089 2004-12-22 Anders Carlsson <andersca@gnome.org>
6093 * pixbuf/Makefile.am:
6094 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6095 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6096 (pixbuf_document_set_page), (pixbuf_document_get_page),
6097 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6098 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6099 (pixbuf_document_render), (pixbuf_document_begin_find),
6100 (pixbuf_document_end_find), (pixbuf_document_finalize),
6101 (pixbuf_document_class_init),
6102 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6103 * pixbuf/pixbuf-document.h:
6104 * shell/Makefile.am:
6105 * shell/ev-application.c: (ev_application_open):
6106 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6110 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6113 * dvi/dvilib/Makefile.am:
6115 * configure.ac: Auto*ify dvi and dvi/dvilib
6117 * dvi/Makefile: Remove from CVS
6119 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6122 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6124 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6126 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6129 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6130 (gtk_gs_value_adjustment_changed), (compute_size),
6131 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6132 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6133 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6134 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6135 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6136 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6137 (ps_document_load), (ps_document_get_n_pages),
6138 (ps_document_set_page), (ps_document_get_page),
6139 (ps_document_set_target), (ps_document_set_scale),
6140 (ps_document_set_page_offset), (ps_document_get_page_size),
6141 (ps_document_render), (ps_document_begin_find),
6142 (ps_document_end_find), (ps_document_document_iface_init):
6144 * shell/Makefile.am:
6145 * shell/ev-window.c: (ev_window_open):
6147 Some work to integrate gtkgs with EvDocument
6149 2004-12-22 Anders Carlsson <andersca@gnome.org>
6151 * shell/ev-window.c: (update_fullscreen_popup),
6152 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6153 (exit_fullscreen_button_clicked_cb),
6154 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6155 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6156 (ev_window_state_event_cb), (ev_window_init):
6157 Add fullscreen support from Epiphany.
6159 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6161 * data/ev-stock-zoom-fit-width.png: fit-width
6162 stock icon from gpdf.
6164 * shell/ev-stock-icons.[ch]: copied from gpdf.
6166 * shell/main.c: (main): init stock icons.
6168 * shell/ev-window.c: use the fit-width icon.
6170 * data/evince-ui.xml: add zooming toolbar items.
6172 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6175 (ev_view_best_fit), (ev_view_fit_width): because
6176 get_page_size() returns the scaled page size, we
6177 need to calculate the scale factor relative to
6178 the previous scale factor. Should really just
6179 add get_real_page_size().
6181 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6183 * shell/ev-view.[ch]:
6184 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6185 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6188 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6189 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6190 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6193 * pdf/xpdf/pdf-document.cc:
6194 (pdf_document_begin_find),
6195 (pdf_document_end_find): make static.
6197 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6199 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6201 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6202 names to fontconfig patterns.
6203 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6205 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6208 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6224 Import ggv backend. Not hooked up yet.
6226 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6228 * shell/main.c: (load_files), (main): load files
6229 from the command line.
6231 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6233 * configure.ac: don't require bonobo.
6235 * cut-n-paste/recent-files/*: kill bonobo recent
6238 * shell/ev-window.c:
6239 (ev_window_is_empty): upd.
6240 (unable_to_load), (ev_window_open): load backend
6241 based on the mime type.
6243 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6245 * backend/.cvsignore: ignore generated marshalers source.
6247 * shell/main.c (main): this is not epiphany.
6249 2004-12-22 Havoc Pennington <hp@redhat.com>
6251 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6252 (expose_bin_window): draw find highlights
6254 * shell/ev-window.c (find_bar_search_changed_cb): implement
6256 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6257 (pdf_document_end_find): implement this interface
6259 * backend/ev-document.c (ev_document_found): add this to emit
6262 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6264 * data/evince-ui.xml: Add a few more toolbar items.
6266 * shell/ev-window.c: Hook up page navigation toolbar
6269 * shell/ev-view.[ch]: add ev_view_set/get_page and
6270 a page-changed signal.
6272 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6273 Add ev_document_get_page().
6275 * shell/ev-window.c: Sensitize/desensitize navigation
6278 2004-12-21 Havoc Pennington <hp@redhat.com>
6280 * backend/ev-backend-marshal.c,
6281 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6282 marshaler-generator thingy. I'm sure there's a better way to do
6283 this in the modern world.
6285 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6286 end_find methods and "found" signal.
6288 * configure.ac: find glib-genmarshal
6290 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6292 * shell/ev-sidebar.c: Construct an actual sidebar.
6293 * shell/ev-sidebar-bookmarks.[ch]:
6294 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6296 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6298 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6301 * shell/ev-view.c: Track the size from the document.
6303 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6305 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6306 constructor assumes ownership of the string passed in.
6308 * shell/ev-window.c (ev_window_open): Destroy the error
6309 dialog once we've displayed it.
6311 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6313 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6314 a bit, it works! (sort of)
6316 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6317 Move to .cc since we need to use C++ in the implementation.
6319 * shell/dummy.cc: Add a CC file to force evince
6320 to be linked as a C++ program.
6322 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6324 * shell/ev-view.[ch]: Start of content-area widget.
6326 * shell/ev-window.c: Create a EvView, update it
6327 as we change documents.
6329 * shell/Makefile.am shell/ev-marshal.list: Add
6330 generated marshalers.
6332 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6334 * Makefile.am (SUBDIRS): move shell.
6336 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6338 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6339 .a to libtool convenience libraries.
6341 * shell/ev-window.c (ev_window_open): Hard code loading
6344 * backend/ev-document.h: Add a boolean return to load(),
6345 fix GError * to GError **.
6347 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6348 object for a PDF backend EvDocument.
6350 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6352 * dvi/*: New directory with the beginning of a .dvi backend.
6354 2004-12-21 Havoc Pennington <hp@redhat.com>
6356 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6357 previous/next instead of back/forward
6359 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6361 * backend/ev-document.[ch]: Fix a couple of problems so
6364 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6366 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6367 to backend/ directory, rename EvViewer to EvDocument.
6369 2004-12-21 Havoc Pennington <hp@redhat.com>
6371 * shell/ev-window.c: hook up the find bar widget; now we just need
6372 a document to find things in
6374 * shell/eggfindbar.c: a find bar widget
6376 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6378 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6380 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6382 * pdf/**: Import of xpdf code from gpdf.
6384 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6386 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6387 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6388 Fix FreeType includes.
6390 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6391 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6392 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6393 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6394 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6395 Include xpdfconfig.h
6397 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6399 * shell/ev-window.c (ev_window_dispose): dispose can be called
6402 2004-12-21 Havoc Pennington <hp@redhat.com>
6404 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6407 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6408 items; really they should be synced with the strings, etc. from
6409 current gpdf, but just getting the boring typing out of the way
6411 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6414 * shell/ev-application.c: (window_destroy_cb):
6415 * shell/ev-window.c:
6416 * shell/main.c: (main):
6418 Actually show the window...
6420 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6423 * shell/Makefile.am:
6424 * shell/ev-application.c: (ev_application_class_init):
6425 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6429 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6431 Import to gnome cvs.
6433 * Remove copies of gpdf and ggv trees.
6434 * Rip out all the recursive configure code.
6435 * Remove bonobo machinery.
6436 * viewer/*: GInterfaces that backends should/can implement.
6438 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6440 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6443 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6445 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6446 (ev_application_finalize, ev_application_class_init)
6447 (ev_application_init): use GType instance private data for priv.
6449 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6450 (ev_window_finalize, ev_window_class_init)
6451 (ev_window_init): ditto.
6453 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6455 * shell/ev-application.c (ev_application_new_window): make public
6456 (ev_application_show_initial_window): kill.
6458 * shell/ev-application.h: update prototypes.
6460 * shell/main.cc (main): inline ev_application_show_initial_window.
6462 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6464 * shell/ev-application.c (ev_application_new_window): impl.
6465 (ev_application_show_initial_window): use it.
6466 (is_window_empty, ev_application_get_empty_window): returns an
6467 existing empty window or a new one.
6468 (ev_application_open): from ev_window_cmd_file_open.
6470 * shell/ev-application.h: update prototypes
6472 * shell/ev-window.c (ev_window_is_empty): impl.
6473 (ev_window_open): make public.
6474 (ev_window_cmd_file_open): use ev_application_open
6476 * shell/ev-window.h: update prototypes, remove unused.
6478 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6480 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6481 move destroy handler out of here...
6483 * shell/ev-application.c, shell/ev-application.h: ...into this new
6484 class. Also handles initial window creation.
6486 * shell/main.cc (main): use EvApplication to create initial
6489 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6491 * Makefile.am (SUBDIRS): add cut-n-paste
6493 * cut-n-paste/Makefile.am: add
6495 * configure.ac: generate Makefiles in cut-n-paste
6497 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6499 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6500 (ev_window_class_init): install ev_window_dispose.
6502 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6504 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6505 char (gchar looks stupid).
6507 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6509 * po/de.po: updated German translation.
6511 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6513 * configure.ac: add more pkg-config library checks for gnome-vfs,
6516 * gpdf/configure.in: temporarily disable libpaper
6517 checks. Otherwise I'd have to add the checks for the shell, too.
6519 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6521 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6522 and * file filters to the file choose.
6524 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6526 * po/de.po: Updated German translation.
6528 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6530 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6532 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6534 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6536 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6537 (ev_window_init): implement those menuitems.
6539 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6541 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6543 * shell/ev-window.c (ev_window_init): use the toolbar.
6545 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6547 * shell/ev-window.c (ev_window_init): use menu translations
6549 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6551 * configure.ac: add "de" to ALL_LINGUAS.
6553 * po/de.po: add German translation.
6555 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6557 * Makefile.am (SUBDIRS): add po
6559 * configure.ac: check intltool, glib-gettext etc, generate
6562 * po, po/POTFILES.in, po/POTFILES.skip: new.
6564 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6566 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6567 already use (#ifdef ENABLE_NLS)
6569 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6570 pointer indirection thinko.
6572 * shell/main.c: include gi18n.h for bindtextdomain etc.
6574 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6576 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6577 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6578 tooltips for menu items in the statusbar.
6580 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6582 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6583 pkgdatadir drop UIDIR
6585 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6587 * data/evince-ui.xml: Add File->Open menu item
6589 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6590 chooser), hook it up in the ui manager.
6592 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6594 * shell/ev-window.c: fix Help->About tooltip.
6596 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6598 * configure.ac: set CFLAGS for libevprivate.
6600 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6601 definitions, factory etc.
6603 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6605 * shell/Makefile.am: link against libevprivate.a.
6607 * shell/ev-window.c (entries): add stock icon to Help->About.
6609 * shell/main.c (main): init stock icon code.
6611 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6613 * lib/recent-files: egg recent files code
6615 * lib/Makefile.am: add.
6617 * Makefile.am: add lib subdir.
6619 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6620 set CFLAGS for recent-files.
6622 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6624 * configure.ac: disable -ansi and -pedantic gcc flags. They
6625 disable POSIX stuff in stdio.h, but egg-recent uses them.
6627 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6629 * configure.ac: add --disable-deprecated flag (defaults to on in
6632 * shell/Makefile.am (INCLUDES): use it.
6634 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6636 * shell/main.c: add missing #include.
6638 * shell/ev-window.c: fix for pedantic gcc.
6639 (ev_window_cmd_help_about): split license into paragraphs for
6640 translators and pedantic compilers.
6642 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6644 * configure.ac: add more warning flags if compiling with gcc from
6645 cvs (or explicitly requested with --enable-more-warnings).
6647 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6649 * data/evince-ui.xml: add File and File->Close menu.
6651 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6652 (ev_window_destroy): quit after destroy.
6653 (ev_window_class_init): override GtkObject::destroy.
6654 (entries): install close_window callback.
6656 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6658 * Makefile.am (SUBDIRS): add data subdir.
6660 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6661 gtk+ 2.5.0 for GtkAboutDialog.
6663 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6666 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6668 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6670 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6672 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6674 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6676 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6678 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6680 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6682 * shell/*: Added shell directory boilerplate, build it.
6684 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6686 * configure.ac, Makefile.am: Added top-level configure.ac and