1 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
4 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
5 (ev_view_enter_notify_event), (ev_view_class_init):
7 More precise handling of enter_notify/leave_notify events
8 in EvView. Fix for bug 315470.
10 2005-09-08 Christopher Aillon <caillon@redhat.com>
12 * shell/ev-window.c: (fullscreen_timeout_cb),
13 (fullscreen_set_timeout), (fullscreen_clear_timeout),
16 leak fix: unref fullscreen_timeout_source before clearing it
18 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
20 * configure.ac, dvi/mdvi/Makefile.am:
22 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
24 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
26 * backend/ev-link.c: (ev_link_new_page_xyz):
28 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
30 Fix some bugs with xyz links, respect zoom
32 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
34 * shell/ev-window.c: (page_changed_cb),
35 (setup_document_from_metadata), (update_sidebar_visibility),
36 (setup_view_from_metadata), (ev_window_run_fullscreen),
37 (ev_window_stop_fullscreen), (ev_window_run_presentation),
38 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
39 (ev_window_dual_mode_changed_cb),
40 (ev_window_sidebar_current_page_changed_cb):
42 null check uri before setting and getting metadata
44 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
47 * properties/Makefile.am:
49 * thumbnailer/Makefile.am:
51 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
53 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
55 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
56 (selection_changed_callback):
57 * shell/ev-sidebar-links.h:
59 Add a signal for link activation.
61 * shell/ev-view.c: (ev_view_goto_link),
62 (ev_view_button_release_event):
64 * shell/ev-window.c: (sidebar_links_link_activated_cb),
67 Implement the signal so that we can handle all link types.
69 * shell/ev-page-cache.c:
71 Remove unused set_link function
73 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
75 * lib/ev-tooltip.c: (ev_tooltip_set_position):
77 Add some space from the cursor, hardcoded but I couldnt
80 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
84 Use mozilla style vs gtk style, way better for links.
86 * shell/ev-view.c: (ev_view_motion_notify_event),
87 (ev_view_destroy), (ev_view_init):
89 Deactive tooltip when the link hovered is changed.
91 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
93 * backend/ev-document.h:
94 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
95 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
96 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
97 (ev_link_new_page), (ev_link_new_page_xyz):
100 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
101 (go_to_link), (tip_from_link):
103 Implement xyz links, still not functional. Links are a total
104 mess, will need to refactor and bugfix a lot :(
106 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
108 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
110 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
112 * data/evince-ui.xml:
113 * data/evince.schemas.in:
115 * shell/ev-window.c: (update_chrome_visibility),
116 (password_dialog_response), (ev_window_load_job_cb),
117 (ev_window_xfer_job_cb), (ev_window_open_uri),
118 (ev_window_class_init), (set_chrome_actions), (load_chrome),
121 Remove the statusbar. This regress loading feedback, need to
122 check with Bryan what we want to do there...
124 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
126 * lib/ev-tooltip.c: (ev_tooltip_init):
128 Fix tooltip border and size handling
130 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
132 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
133 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
134 (ev_tooltip_timeout), (ev_tooltip_activate),
135 (ev_tooltip_deactivate):
137 * shell/ev-view.c: (ev_view_motion_notify_event):
139 Delay popup showing. Mirror gtk logic/times.
141 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
144 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
145 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
146 (ev_tooltip_set_text), (ev_tooltip_set_position):
149 Simple widget to show tooltips at a custom position
151 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
154 Use it for links. First go, needs work
156 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
158 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
159 HIG fixes. Use title capitalization for window title. Use 12
160 pixels of space between the dialog's vbox and action area.
162 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
164 * shell/ev-window.c: (file_open_dialog_response_cb),
165 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
166 (ev_window_cmd_save_as):
168 Make file pickers not modal and refactor code some
170 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
172 * shell/ev-sidebar.h:
173 * shell/ev-sidebar.c: (ev_sidebar_set_property),
174 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
175 (ev_sidebar_class_init), (ev_sidebar_select_page),
176 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
177 (ev_sidebar_set_page):
179 Add a current page property and allow to get/set it
181 * shell/ev-window.c: (setup_view_from_metadata),
182 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
184 Persist current sidebar page per document
186 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
188 * data/evince.schemas.in:
189 * shell/ev-window.c: (update_chrome_visibility),
190 (setup_document_from_metadata), (update_sidebar_visibility),
191 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
192 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
193 (ev_window_run_presentation), (ev_window_stop_presentation),
194 (ev_window_view_sidebar_cb),
195 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
196 (load_chrome), (ev_window_init):
198 Persist size/visibility of sidebar per document
200 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
202 * shell/ev-view.c (draw_loading_text): Draw loading text.
204 2005-09-02 Dan Damian <dand@gnome.ro>
206 * configure.in: Added "ro" to ALL_LINGUAS.
208 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
210 * shell/ev-view.c: (clear_caches):
212 ev_page_cache_get doesnt return a reference,
213 dont try to unref it.
215 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
217 * shell/main.c: (load_files_remote):
219 Fix timestamp parameter with dbus <= 0.33
221 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
223 * data/evince.schemas.in:
225 Add missing full stop
227 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
229 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
230 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
232 Plug some memory leaks
234 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
237 * lib/ev-debug.c: (trap_handler):
239 Check for execinfo.h and use it only if it exists.
240 Ported from Epiphany (bug #314776).
242 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
244 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
246 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
248 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
249 * po/id.po : Added Indonesian translation
251 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
254 * shell/ev-application.c: Last minute GTK-2.6 fixes.
255 * NEWS: Release 0.4.0
257 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
259 * configure.ac: catch another gtk+-2.8ism
260 * shell/main.c: Make work with gtk+-2.6
262 2005-08-25 Ryan Lortie <desrt@desrt.ca>
264 * shell/ev-application-service.xml: Add 'timestamp' argument to
265 ev_application_open_window and ev_application_open_uri methods.
267 * shell/ev-application.h: Add 'timestamp' argument to
268 ev_application_open_window, ev_application_open_uri,
269 and ev_application_open_uri_list functions.
271 * shell/ev-application.c (ev_application_open_window,
272 ev_application_open_uri, ev_application_open_uri_list): Change
273 functions that show/present windows to use a timestamp if one
276 * shell/ev-window.c (ev_window_cmd_file_open,
277 ev_window_cmd_recent_file_activate, drag_data_received_cb):
278 * shell/main.c (load_files): Modify calls to ev_application to
279 include GDK_CURRENT_TIME as timestamp.
281 * shell/main.c (load_files_remote): Obtain timestamp for client
282 instance from GDK and pass to server instance so new windows are
283 focused properly. Fix dbus_g_proxy_call() calls by including second
288 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
290 * shell/ev-window.c (ev_window_finalize): Check for
291 avail. EvWindows when quiting to handle the finalize better,
294 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
296 * properties/ev-properties-view.c:
298 Set textdomain to libglade. Fixes translation problem in property page.
300 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
302 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
304 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
305 * dvi/mdvi-lib/Makefile.am:
307 Fix rotation of thumbnails, ported to new API. Moved library
308 dependencies earlier, probably it will fix linkage problem.
310 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
312 * backend/ev-document-misc.c:
313 (ev_document_misc_get_thumbnail_frame):
314 * backend/ev-document-misc.h:
318 * shell/ev-sidebar-thumbnails.c: (add_range),
319 (ev_sidebar_thumbnails_set_loading_icon),
320 (ev_sidebar_thumbnails_refresh),
321 (ev_sidebar_thumbnails_set_document):
322 * shell/ev-sidebar-thumbnails.h:
323 * shell/ev-view.c: (ev_view_motion_notify_event),
324 (ev_view_set_property), (ev_view_get_property),
325 (ev_view_class_init), (ev_view_set_rotation):
326 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
327 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
329 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
330 Redo rotation (again). prepare for 0.4.0
332 2005-08-24 Kristian Høgsberg <krh@redhat.com>
334 * configure.ac: Bump poppler requirement to 0.4.1.
336 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
337 argument to poppler_page_render_selection() call.
339 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
341 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
342 (djvu_document_thumbnails_get_thumbnail):
343 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
344 (dvi_document_thumbnails_get_thumbnail):
345 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
346 (pixbuf_document_thumbnails_get_thumbnail):
347 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
349 Update rotation direction of backends to fit with pdf and ps.
351 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
353 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
354 * backend/ev-async-renderer.h:
355 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
356 (setup_page), (ps_document_get_page_size),
357 (ps_async_renderer_render_pixbuf):
359 * shell/ev-jobs.c: (ev_job_render_run):
361 Fix orientation in the postscript document
363 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
366 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
367 * shell/ev-view.c: (highlight_find_results):
369 Adapt to the new poppler rotation API. Fix text maps on landscape
372 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
374 * shell/ev-view.c (compute_new_selection_text): get the correct
375 region when selecting in modes other than continuous.
377 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
379 * shell/main.c (main): remove redundant g_warnings.
381 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
383 * shell/Makefile.am: Don't include autogenerated
384 file ev-application-service.h into distribution, since
385 it causes dbus crash. Fix for bugs 313724 and 313443.
387 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
389 * configure.ac: Fix sed expression for FreeBSD. Thanks
390 to Joe Marcus Clark <marcus@freebsd.org>
392 * shell/eggfindbar.c: (entry_activate_callback),
393 (entry_changed_callback), (egg_find_bar_init),
394 (egg_find_bar_set_search_string):
396 Made findbar buttons unsensitive if there is no text in
397 entry. Fix for the bug 313285.
399 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
401 * ps/ps-document.c: Use g_filename_display_name for displaying
402 filenames and revert string freeze breackage
404 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
413 Add ev-application-service.xml to extra dist
415 * shell/ev-view.c: (find_page_at_location):
417 Remove unused function (fix warning)
419 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
421 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
422 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
424 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
427 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
429 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
433 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
435 * configure.ac: Update script to get dbus version.
436 Fix for the bug #313443.
438 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
440 * shell/ev-window.c: (ev_window_cmd_escape):
442 Return focus back to view on escape. Fix for bug 313295.
444 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
446 * shell/ev-window.c: (update_window_title),
447 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
448 (ev_window_cmd_save_as):
450 Correct conversion from uri to displayable string. Fix for
453 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
455 * ps/ps-document.c: convert filename to utf8 when there is an error
456 loading document. Fixes #309915
458 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
462 We depend on poppler 0.4.0
464 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
467 * NEWS: Release 0.3.3.
468 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
470 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
472 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
473 add a couple missing mnemonics to menu items, use title
474 capitalization for menu items and window titles, and add
475 ellipsis to open menu item.
477 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
480 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
481 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
482 (ev_view_get_rotation):
484 * shell/ev-window.c: (setup_view_from_metadata),
485 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
486 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
489 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
491 * configure.ac: Added tr to ALL_LINGUAS
493 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
495 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
496 requires several clicks to find word. Thanks to
497 Colin Slater <kiltedtaco@gmail.com>.
499 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
501 * data/evince.desktop.in.in: Hide menu entry and
502 rename it to "Document Viewer". Fix for bug
505 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
507 * shell/ev-page-action.c (ev_page_action_class_init):
509 Point to the correct function in constructor of the
510 activate_label signal
512 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
514 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
515 * shell/ev-jobs.h: Make thread safe.
517 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
519 * shell/ev-view.c: (view_update_range_and_current_page):
520 Don't update page range if we are scrolling to some document
523 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
525 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
526 when getting max_page_width, fix drawing in dual mode.
528 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
530 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
531 getting the area for select_all.
533 2005-08-06 Kristian Høgsberg <krh@redhat.com>
535 * backend/ev-selection.c: (ev_selection_render_selection):
536 * backend/ev-selection.h:
538 * shell/ev-jobs.c: (ev_job_render_new):
540 * shell/ev-pixbuf-cache.c: (get_selection_colors),
541 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
542 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
543 (ev_view_class_init):
545 Change selection color on focus in and focus out events. Also,
546 poppler now uses GdkColor for specifying the selection colors, so
547 drop some awkward conversion code.
549 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
551 * configure.ac: Added Hebrew translation
553 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
556 * backend/ev-selection.c: (ev_selection_render_selection):
557 * backend/ev-selection.h:
559 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
562 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
563 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
564 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
565 (ev_pixbuf_cache_style_changed),
566 (ev_pixbuf_cache_get_selection_pixbuf),
567 (ev_pixbuf_cache_set_selection_list),
568 (ev_pixbuf_cache_get_selection_list):
569 * shell/ev-pixbuf-cache.h:
570 * shell/ev-utils.c: (ev_print_region_contents):
572 * shell/ev-view.c: (ev_view_queue_draw_page),
573 (selection_update_idle_cb), (ev_view_motion_notify_event),
574 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
575 (setup_caches), (ev_view_find_next), (merge_selection_region),
577 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
579 Clean up selection to be much smoother!
581 2005-08-05 Kristian Høgsberg <krh@redhat.com>
583 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
584 to poppler_page_render_selection().
586 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
588 * ps/ps-document.c: (save_page_list): Use
589 unzipped document when printing. Thanks to
590 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
593 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
595 * shell/ev-window.c: (update_action_sensitivity):
597 Disable print and save respect to lockdown gconf keys. Fix
600 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
603 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
604 (write_to_temp_file), (ev_file_set_contents):
606 * shell/ev-window.c: (save_print_config_to_file):
608 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
611 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
613 * shell/ev-window.c: (load_print_config_from_file),
614 (save_print_config_to_file), (ev_window_print_range):
616 Persist the print settings. Fixes bug #311578.
618 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
620 * djvu/djvu-document.c: (djvu_document_get_page_size),
621 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
622 (djvu_document_thumbnails_get_thumbnail):
623 * dvi/dvi-document.c: (dvi_document_get_page_size),
624 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
625 (dvi_document_thumbnails_get_dimensions),
626 (dvi_document_thumbnails_get_thumbnail):
627 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
628 (pixbuf_document_render_pixbuf),
629 (pixbuf_document_document_iface_init),
630 (pixbuf_document_thumbnails_get_thumbnail):
632 Update backends to make them build with new rotation system.
634 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
636 * help/C/figures/evince_start_window.png:
638 Update documentation image from Luca Ferretti <elle.uca@libero.it>
640 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
642 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
643 * shell/ev-pixbuf-cache.h:
644 * shell/ev-sidebar-thumbnails.c:
645 (ev_sidebar_thumbnails_get_property), (add_range),
646 (adjustment_changed_cb):
647 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
648 pixbuf cache. Make thumbnailing work again. Also, fix bug where
649 we were thumbnailing the entire docment on startup, slowing us
652 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
654 * shell/ev-page-cache.c: (ev_page_cache_new):
655 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
658 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
660 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
661 (ev_view_rotate_left):
663 Account rotation in doc_rect_to_view_rect.
664 Ensure rotation doesnt go out of bounds.
666 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
668 * shell/ev-page-cache.c: (ev_page_cache_get_size):
670 Correct and cleanup w/h swapping
672 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
674 * backend/ev-document-thumbnails.c:
675 (ev_document_thumbnails_get_thumbnail):
676 * backend/ev-document-thumbnails.h:
677 * backend/ev-document.c:
678 * backend/ev-document.h:
679 * backend/ev-render-context.c: (ev_render_context_new),
680 (ev_render_context_set_rotation):
681 * backend/ev-render-context.h:
683 * ps/ps-document.c: (ps_document_document_iface_init):
684 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
686 * shell/ev-page-cache.c: (build_height_to_page),
687 (ev_page_cache_new), (ev_page_cache_get_size),
688 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
689 (ev_page_cache_get_height_to_page):
690 * shell/ev-page-cache.h:
691 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
692 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
693 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
694 (ev_pixbuf_cache_get_selection_pixbuf):
695 * shell/ev-pixbuf-cache.h:
696 * shell/ev-print-job.c: (idle_print_handler):
697 * shell/ev-sidebar-thumbnails.c: (add_range):
698 * shell/ev-view.c: (view_update_range_and_current_page),
699 (get_page_y_offset), (get_page_extents),
700 (ev_view_size_request_continuous_dual_page),
701 (ev_view_size_request_continuous),
702 (ev_view_size_request_dual_page),
703 (ev_view_size_request_single_page), (draw_one_page),
704 (ev_view_set_rotation), (ev_view_rotate_right),
705 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
706 (ev_view_zoom_for_size_continuous_and_dual_page),
707 (ev_view_zoom_for_size_continuous),
708 (ev_view_zoom_for_size_dual_page),
709 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
710 (ev_view_select_all):
711 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
712 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
713 (tiff_document_document_iface_init),
714 (tiff_document_thumbnails_get_thumbnail):
716 Use rotation rather than orientation. It's easier and enough
719 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
721 * shell/ev-page-cache.c: (build_height_to_page),
722 (ev_page_cache_new), (ev_page_cache_get_size),
723 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
724 (ev_page_cache_get_height_to_page):
725 * shell/ev-page-cache.h:
726 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
727 (ev_view_size_request_continuous_dual_page),
728 (ev_view_size_request_continuous),
729 (ev_view_zoom_for_size_continuous_and_dual_page),
730 (ev_view_zoom_for_size_continuous):
732 Make the page cache aware of page orientation.
734 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
736 * backend/ev-document-thumbnails.c:
737 (ev_document_thumbnails_get_thumbnail):
738 * backend/ev-document-thumbnails.h:
739 * backend/ev-document.c:
740 * backend/ev-document.h:
741 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
742 * backend/ev-ps-exporter.h:
744 * ps/ps-document.c: (ps_document_document_iface_init),
745 (ps_document_ps_export_do_page):
746 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
748 * shell/ev-page-cache.c: (ev_page_cache_get_size),
750 * shell/ev-page-cache.h:
751 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
752 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
753 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
754 * shell/ev-pixbuf-cache.h:
755 * shell/ev-print-job.c: (idle_print_handler):
756 * shell/ev-sidebar-thumbnails.c: (add_range):
757 * shell/ev-view.c: (view_update_range_and_current_page),
758 (get_page_extents), (ev_view_size_request_dual_page),
759 (ev_view_size_request_single_page), (draw_one_page),
760 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
761 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
762 (ev_view_zoom_for_size_dual_page),
763 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
764 (ev_view_select_all):
765 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
766 * tiff/tiff-document.c: (tiff_document_get_page_size),
767 (tiff_document_get_orientation), (rotate_pixbuf),
768 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
769 (tiff_document_thumbnails_get_thumbnail),
770 (tiff_document_ps_export_do_page), (tiff_document_init):
772 Really make use of the orientation bit of the render context.
773 Use the render context in a few more places in the backend API.
774 This regress orientation, but now it's done right. Will try to
777 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
779 * shell/ev-view.c: (ensure_rectangle_is_visible):
781 Patch by Nickolay V. Shmyrev to fix find flickering
783 2005-07-27 Martin Kretzschmar <martink@gnome.org>
785 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
786 duplex parameters to ::begin.
788 * tiff/tiff-document.c (tiff_document_ps_export_begin):
789 * shell/ev-print-job.c (idle_print_handler):
790 * ps/ps-document.c (ps_document_ps_export_begin):
791 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
792 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
793 implementations. Poppler backend needs poppler cvs. Rest has
796 2005-07-25 Martin Kretzschmar <martink@gnome.org>
798 * shell/ev-window.c (using_pdf_printer): new function.
799 (ev_window_print_range): print a less techy message if someone
800 tries to print to PDF.
802 2005-07-25 Martin Kretzschmar <martink@gnome.org>
804 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
805 from "unknown font" string. Bug #311431
807 2005-07-24 Martin Kretzschmar <martink@gnome.org>
809 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
811 2005-07-24 Martin Kretzschmar <martink@gnome.org>
815 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
816 name for PopplerFontTypes
817 (pdf_document_fonts_fill_model): add font type to the detail column
819 * backend/ev-document-fonts.h: added
820 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
822 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
823 font name and font details, add a little markup.
824 (ev_properties_fonts_init): use the new cell data func, specify ypad
825 property for the cell renderer.
826 (ev_properties_fonts_set_document): add the details column.
828 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
830 * configure.ac: Added "pl" to ALL_LINGUAS.
832 2005-07-24 Danilo Šegan <danilo@gnome.org>
834 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
836 2005-07-23 Tommi Vainikainen <thv@iki.fi>
838 * help/ChangeLog: Started this for translations of manual.
839 * configure.ac, autogen.sh, .cvsignore: Migrated to
840 gnome-doc-utils. Patch in bug #311222.
842 2005-07-22 Martin Kretzschmar <martink@gnome.org>
844 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
845 #ifdef this away to fix an unused-function warning.
847 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
849 * configure.ac: Added 'gl' to ALL_LINGUAS.
851 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
853 * configure.ac: Added ne in ALL_LINGUAS
855 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
857 * shell/ev-view.c: (ev_view_leave_notify_event):
859 Clear status message when pointer leaves view. Fix for bug
862 2005-07-20 Ankit Patel <ankit644@yahoo.com>
864 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
866 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
868 * shell/ev-view.c: (ev_view_leave_notify_event),
869 (ev_view_class_init):
871 Set cursor to normal then leaving view.
873 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
877 Fix required djvulibre version.
879 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
881 *configure.ac: Hindi (hi) language added
883 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
885 *configure.ac: Punjabi (pa) Language added
887 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
889 * data/evince-ui.xml, shell/ev-window.c:
891 Add keypad accelerators for zooming. Fix for bug 308128.
893 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
896 * backend/Makefile.am:
897 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
899 * shell/ev-document-types.c: (ev_document_types_add_filters):
901 Allow to enable/disable the pixbuf backend.
902 Default to off for now. If we want it enabled we should
903 really put mime types in the desktop, implement properties etc.
905 * properties/evince-properties.c:
907 Initialize error to NULL.
908 Check error is not NULL before freeing.
910 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
914 Use F5 as presentation accell
916 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
918 * shell/ev-window.c: (update_chrome_visibility),
919 (ev_window_create_fullscreen_popup), (ev_window_init):
921 Do not leak the fullscreen toolbar
923 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
925 * shell/ev-window.c: (view_actions_focus_in_cb),
926 (view_actions_focus_out_cb):
928 These has a return value! Fix totally random focus
929 issues we was seeing.
931 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
933 * shell/main.c: (load_files_remote):
935 Allow open more than one file
937 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
939 * shell/main.c: (load_files_remote):
941 Fix for dbus 0.33. bug #309975
943 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
945 * properties/ev-properties-main.c: (ev_properties_get_pages):
947 Actually return NULL for types we dont support
949 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
955 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
957 * backend/ev-document-factory.c:
958 (ev_document_factory_get_document):
960 Do not try to create the object if type
963 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
965 * ps/ps-document.c: (ps_document_dispose),
966 (ps_async_renderer_render_pixbuf):
969 Do not leak the target window
971 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
973 * shell/ev-application.c: (ev_application_init):
975 Let tbe check file existence for us.
976 Add a comment about eggrecent mime filter.
978 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
980 * data/evince-ui.xml:
981 * shell/ev-application.c: (ev_application_shutdown),
982 (ev_application_init), (ev_application_get_toolbars_model),
983 (ev_application_get_recent_model),
984 (ev_application_save_toolbars_model):
985 * shell/ev-application.h:
986 * shell/ev-window.c: (ev_window_add_recent),
987 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
988 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
991 Use common toolbar and recent models for all windows.
992 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
994 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
996 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
997 successfully check for gtk_icon_view_get_visible_range.
999 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1004 Fix djvu and dvi backend build.
1006 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1008 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1009 (new_separator_pixbuf):
1013 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1015 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1017 HIGification of toolbar editor dialogue.
1019 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1022 * shell/Makefile.am:
1024 Ever build metadata manager since it's just
1025 disabled at runtime now.
1027 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1029 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1030 (ev_metadata_manager_get), (ev_metadata_manager_set):
1031 * shell/ev-metadata-manager.h:
1033 Add an _init functions that enabled metadata management
1036 * shell/ev-window.c: (page_changed_cb),
1037 (setup_document_from_metadata), (ev_window_setup_document),
1038 (setup_view_from_metadata), (ev_window_open_uri),
1039 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1040 (ev_window_run_presentation), (ev_window_stop_presentation),
1041 (save_sizing_mode), (ev_window_zoom_changed_cb),
1042 (ev_window_continuous_changed_cb),
1043 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1044 (window_configure_event_cb):
1046 Remove all ugly metadata define since we deal with it
1049 * shell/main.c: (load_files_remote), (main):
1051 Add support for dbus cvs head. Hopefully didnt break one
1052 of the other versions now!
1054 If we dont get a response from the dbus server just
1055 give up with it and not enable metadata.
1057 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1060 * backend/Makefile.am:
1062 * cut-n-paste/recent-files/Makefile.am:
1063 * cut-n-paste/toolbar-editor/Makefile.am:
1064 * cut-n-paste/zoom-control/Makefile.am:
1067 * pixbuf/Makefile.am:
1068 * properties/Makefile.am:
1070 * shell/Makefile.am:
1071 * thumbnailer/Makefile.am:
1074 Make frontends depend on just libev.
1075 Rework and group CFLAGS/LIBS definitions.
1078 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1082 do not unnecessarily save zoom
1085 * lib/ev-file-helpers.c: (ev_dot_dir):
1086 * shell/Makefile.am:
1091 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1095 Remove unnecessary dependencies
1097 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1099 * properties/Makefile.am:
1100 * thumbnailer/Makefile.am:
1103 Some more cleanups. Was really necessary
1104 but I probably introduced bugs, feel free
1107 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1109 * backend/Makefile.am:
1111 * cut-n-paste/recent-files/Makefile.am:
1112 * cut-n-paste/toolbar-editor/Makefile.am:
1113 * cut-n-paste/zoom-control/Makefile.am:
1116 * pixbuf/Makefile.am:
1117 * properties/Makefile.am:
1119 * shell/Makefile.am:
1120 * thumbnailer/Makefile.am:
1123 Use gnome-common macros when possible.
1124 Cleanup dependencies.
1125 Actually disable deprecated where possible.
1127 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1130 * backend/Makefile.am:
1131 * properties/Makefile.am:
1132 * shell/Makefile.am:
1133 * thumbnailer/Makefile.am:
1135 This should solve the circular dep without
1136 requiring dir reorg!
1138 * shell/ev-window.c: (setup_view_from_metadata):
1140 Never restore window size/position when the
1141 window is already visible.
1143 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1145 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1147 Return a boolean from timeout func. Fix ported from gedit.
1149 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1151 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1153 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1155 * shell/ev-document-types.c: set "All Documents" as default filter in
1158 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1160 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1161 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1162 (ev_metadata_manager_set_boolean): fix value/val thinko.
1164 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1166 * shell/ev-window.c: (setup_view_from_metadata),
1167 (window_state_event_cb), (window_configure_event_cb),
1170 Remember window position and maximized state
1172 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1176 Fix DBUS configure checks.
1178 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1179 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1180 (ev_metadata_manager_set_boolean):
1184 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1185 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1186 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1187 (ev_window_continuous_changed_cb),
1188 (ev_window_dual_mode_changed_cb), (ev_window_new):
1190 Fix the build without DBUS.
1192 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1194 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1195 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1196 (ev_metadata_manager_set_string),
1197 (ev_metadata_manager_set_boolean):
1198 * shell/ev-metadata-manager.h:
1200 Add support for some more types
1202 * shell/ev-view.c: (scroll_to_current_page),
1203 (ev_view_get_continuous), (ev_view_set_continuous),
1204 (ev_view_get_dual_page):
1206 * shell/ev-window.c: (page_changed_cb),
1207 (setup_document_from_metadata), (ev_window_setup_document),
1208 (setup_view_from_metadata), (ev_window_open_uri),
1209 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1210 (ev_window_run_presentation), (ev_window_stop_presentation),
1211 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1212 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1213 (ev_window_update_dual_page_action),
1214 (ev_window_continuous_changed_cb),
1215 (ev_window_dual_mode_changed_cb), (ev_window_init):
1217 Remember a bunch of view/document properties. Prolly some
1218 are still missing but it's getting interesting.
1220 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1222 * configure.ac: check if dbus-binding-tool is installed. Not the
1223 case on current Ubuntu breezy, it seems.
1225 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1227 * data/evince.desktop.in.in:
1229 Allow open uri lists and add TryExec field.
1231 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1235 Enable dbus when available, do not require a configure
1238 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1242 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
1245 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
1246 Marco Pesenti Gritti <mpg@redhat.com>
1248 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
1250 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
1251 functions to the format required by dbus
1253 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
1254 errors. Use the RPC parameters in the expected way
1256 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1259 * properties/Makefile.am:
1260 * properties/ev-properties-main.c: (ev_properties_get_pages):
1262 Support all mime types
1264 * shell/Makefile.am:
1265 * thumbnailer/Makefile.am:
1266 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
1267 (evince_thumbnail_pngenc_get):
1269 Use the document factory
1271 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1273 * backend/Makefile.am:
1274 * backend/ev-document-factory.c:
1275 (mime_type_supported_by_gdk_pixbuf),
1276 (ev_document_type_get_from_mime),
1277 (ev_document_factory_get_document),
1278 (ev_document_factory_get_backend),
1279 (ev_document_factory_get_mime_types),
1280 (ev_document_factory_get_all_mime_types):
1281 * backend/ev-document-factory.h:
1282 * shell/Makefile.am:
1283 * shell/ev-document-types.c: (get_document_from_uri),
1284 (ev_document_types_get_document),
1285 (file_filter_add_mime_list_and_free),
1286 (ev_document_types_add_filters):
1287 * shell/ev-document-types.h:
1288 * shell/ev-job-xfer.c: (ev_job_xfer_run):
1289 * shell/ev-properties-dialog.c:
1290 (ev_properties_dialog_set_document):
1291 * shell/ev-window.c: (ev_window_cmd_file_open),
1292 (ev_window_cmd_save_as):
1293 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1295 Rework document types managing to avoid code duplication
1296 and actually abstract from backend implementations.
1297 Also provide a minimal factory api that can be used by
1298 thumbnailer/properties.
1300 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1302 * properties/ev-properties-view.c: (ev_properties_view_set_info):
1304 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1307 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1309 * shell/ev-properties-dialog.c
1310 (ev_properties_dialog_set_document): only call
1311 ev_properties_fonts_set_document() if the document implements the
1314 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1317 * properties/Makefile.am:
1318 * properties/ev-properties-view.c:
1319 (ev_properties_view_register_type):
1320 * properties/ev-properties-view.h:
1321 * properties/ev-properties-main.h:
1323 Implement nautilus plugin for properties.
1324 Works only for pdf atm, I need to rework the
1325 document types stuff to get this to work
1328 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1330 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
1331 (ev_properties_fonts_set_document): use
1332 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
1334 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1336 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
1338 (PlaceImage, tiff2ps_process_page): use
1339 g_ascii_dtostr to convert floats to strings in a locale-safe way.
1342 2005-07-04 Martin Kretzschmar <martink@gnome.org>
1344 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
1345 (main): to call gnome_authentication_manager_init. Should fix
1348 * configure.ac: that requires libgnomeui 2.6.0.
1350 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1352 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1353 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
1354 use the new tiff2ps interfaces
1356 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
1357 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
1359 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
1360 structure instead of global variables. Remove use of static
1361 variables in functions.
1363 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
1365 * shell/ev-page-action.c: unref the completion after setting it to the
1368 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1370 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
1373 2005-07-04 Matthew S. Wilson <msw@rpath.com>
1375 * shell/ev-window.c (update_action_sensitivity): disable
1376 File->Print if the document does not implement the ps exporter
1379 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
1383 * data/evince-properties.glade:
1384 * properties/.cvsignore:
1385 * properties/Makefile.am:
1386 * properties/ev-properties-view.c: (ev_properties_view_dispose),
1387 (ev_properties_view_class_init), (ev_properties_view_format_date),
1388 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
1389 (ev_properties_view_init), (ev_properties_view_new):
1390 * properties/ev-properties-view.h:
1391 * shell/Makefile.am:
1392 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
1393 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
1394 (ev_properties_dialog_new):
1395 * shell/ev-properties-dialog.h:
1396 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
1397 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
1398 (update_progress_label), (job_fonts_finished_cb),
1399 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
1400 * shell/ev-properties-fonts.h:
1401 * shell/ev-properties.c:
1402 * shell/ev-properties.h:
1403 * shell/ev-window.c: (ev_window_setup_document),
1404 (ev_window_cmd_file_properties):
1406 Split the properties pages in two different objects, depend
1407 only on the backend where possible, use widgets instead
1408 of gobject for the glade part, reimplement the dialog
1410 I need this to implement nautilus properties page.
1412 2005-07-03 Matthew S. Wilson <msw@rpath.com>
1414 * tiff/tiff-document.c (tiff_document_ps_export_begin)
1415 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
1416 (tiff_document_document_ps_exporter_iface_init): implement the ps
1417 exporter interface for tiff documents
1419 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1420 libtiff to implement TIFF postscript export
1422 * tiff/tiff2ps.h: added a header file for external tiff2ps
1425 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1428 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1430 * shell/ev-view.c: (scroll_to_current_page),
1431 (ev_view_set_fullscreen), (ev_view_set_presentation):
1433 Scroll to current page when exit from presentation
1435 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1437 * shell/ev-window.c: (update_document_mode),
1438 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1439 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1440 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1442 Exit from fullscreen mode when switch to presentation. Fix for
1445 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1447 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1448 return NULL if the document does not implement the selection
1451 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1453 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1454 reported height by using the resolution aspect ratio
1455 (tiff_document_render_pixbuf): scale the pixbuf using the
1456 resolution aspect ratio
1458 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1462 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1463 <kiltedaco@gmail.com>
1465 * djvu/djvu-document.c: (djvu_document_get_orientation),
1466 (djvu_document_set_orientation), (djvu_document_get_page_size),
1467 (rotate_pixbuf), (djvu_document_render_pixbuf),
1468 (djvu_document_document_iface_init):
1469 * dvi/dvi-document.c: (dvi_document_get_orientation),
1470 (dvi_document_set_orientation), (dvi_document_get_page_size),
1471 (rotate_pixbuf), (dvi_document_render_pixbuf),
1472 (dvi_document_document_iface_init):
1474 Dvi and djvu backends are ported to new API
1476 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1478 * backend/ev-selection.c: (ev_selection_get_selection_region),
1479 (ev_selection_get_selection_map):
1480 * backend/ev-selection.h:
1481 * pdf/ev-poppler.cc:
1482 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1484 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1485 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1486 (ev_pixbuf_cache_get_text_mapping):
1487 * shell/ev-pixbuf-cache.h:
1488 * shell/ev-view.c: (location_in_text),
1489 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1490 support to EvView. Now we can see where we can select! Sweet!
1492 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1494 * shell/ev-view.c (ev_view_button_press_event): Fix
1495 event->y + view->scroll_x typo.
1497 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1499 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1500 sub-GdkPixbuf instead of passing dest_x and dest_y.
1502 * shell/ev-view.c: (view_point_to_doc_point),
1503 (view_rect_to_doc_rect), (ev_view_button_press_event),
1504 (ev_view_motion_notify_event), (compute_new_selection_rect),
1505 (gdk_rectangle_point_in), (compute_new_selection_text),
1506 (compute_selections): Update selection code to keep the selection
1507 around as two points and not as a normalized rectangle, and fix
1508 page level selection in two-column mode.
1510 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1512 * shell/ev-window.c: (window_configure_event_cb):
1516 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1518 * pdf/ev-poppler.cc:
1522 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1524 * shell/Makefile.am:
1525 * shell/ev-metadata-manager.c: (item_free),
1526 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1527 (parse_value), (parseItem), (load_values),
1528 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1529 (save_values), (save_item), (get_oldest), (resize_items),
1530 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1531 * shell/ev-metadata-manager.h:
1533 Metadata manager from gedit but modified to use GValue, so that
1534 we dont need to keep converting from strings.
1538 ENABLE_METADATA conditional, on when dbus is on
1540 * shell/ev-application.c: (ev_application_open_uri):
1542 Show the window after load so that we can initialize
1543 window size before it's showed.
1545 * shell/ev-window.c: (ev_window_setup_from_metadata),
1546 (ev_window_open_uri), (window_configure_event_cb),
1549 Save and load metadata information about window size.
1550 Not yet keeping states in account.
1552 * shell/main.c: (main):
1554 Shutdown metadata manager.
1556 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1558 * shell/ev-application-service.xml:
1560 * shell/Makefile.am:
1561 * shell/ev-application.c:
1562 * shell/ev-application.h:
1563 * shell/ev-window.c:
1564 * shell/ev-window.h:
1567 Add an optional dbus interface (--enable-dbus).
1568 Rework application code, mainly to be easier to
1570 Do not open multiple windows with the same document,
1573 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1575 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1576 pixbuf iff it exists.
1578 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1581 * backend/ev-render-context.[ch]:
1582 * backend/ev-selection.[ch]:
1584 Massive changes. We now support text selection of pdfs, and not
1585 just rectangular selection. This is pretty broken still, but I
1586 want to get something into CVS.
1588 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1590 * pdf/ev-poppler.cc:
1592 Fix for Bug 309080: crash on window close.
1594 * shell/ev-page-action.c: (page_changed_cb):
1596 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1597 jensgr@gmx.net (Jens Granseuer).
1599 2005-06-25 Marcel Telka <marcel@telka.sk>
1601 * configure.in (ALL_LINGUAS): Added sk.
1603 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1605 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1608 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1615 * cut-n-paste/recent-files/Makefile.am:
1619 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1621 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1622 (pixbuf_document_set_orientation), (rotate_pixbuf),
1623 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1624 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1626 Implement rotation and cleanup the code a bit.
1628 * tiff/tiff-document.c: (tiff_document_get_page_size),
1629 (tiff_document_get_orientation), (tiff_document_set_orientation),
1630 (rotate_pixbuf), (tiff_document_render_pixbuf),
1631 (tiff_document_document_iface_init), (tiff_document_init):
1633 Implement rotation. Was the quicker solution for the release
1634 but we really need to share this code in the shell.
1636 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1638 * pdf/ev-poppler.cc:
1640 Enable rotation, require poppler cvs. Fix a leak.
1642 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1644 * shell/ev-window.c: (update_action_sensitivity):
1646 Make properties unsensitive if document backend doesn't provide
1649 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1651 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1652 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1653 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1654 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1655 (bitmap_flip_rotate_counter_clockwise):
1656 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1657 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1659 * dvi/mdvi-lib/common.h:
1660 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1661 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1662 (opendvi), (mdvi_reload), (mdvi_init_context),
1663 (mdvi_destroy_context), (mdvi_dopage), (special):
1664 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1665 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1666 (file_hash_free), (register_encoding), (parse_spec),
1667 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1668 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1669 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1670 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1671 (mdvi_register_font_type), (mdvi_unregister_font_type),
1672 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1673 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1674 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1675 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1676 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1677 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1678 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1679 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1680 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1681 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1682 (mdvi_unregister_special), (mdvi_flush_specials):
1683 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1685 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1686 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1687 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1688 (free_font_metrics), (flush_font_metrics):
1689 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1691 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1692 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1693 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1694 (dstring_insert), (dstring_new), (dstring_reset):
1695 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1697 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1698 avoid conflict with libtool on FC4
1700 * shell/ev-window.c: (ev_window_cmd_help_about):
1702 Update copyright year. Fix for bug 308828.
1704 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1706 * shell/ev-view.c: (add_scroll_binding_keypad),
1707 (ev_view_binding_activated), (ev_view_class_init),
1708 (on_adjustment_value_changed):
1710 Bug 170874: Arrow keys switch pages in presentation mode
1712 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1714 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1716 Fix for Bug 308265: Sidebar dissappears coming out of
1719 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1721 * shell/ev-application.c: (ev_application_open):
1722 * shell/ev-document-types.c: (ev_document_types_add_filters),
1723 (ev_document_types_add_filters_for_type):
1724 * shell/ev-document-types.h:
1725 * shell/ev-window.c: (ev_window_cmd_save_as):
1727 Suggest basename as template when saving, provide filters
1728 for save dialog. It's bug 308402
1730 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1732 * pdf/ev-poppler.cc:
1733 * shell/ev-sidebar-links.c: (job_finished_callback):
1734 * shell/ev-view.c: (update_find_status_message):
1738 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1740 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1741 (egg_recent_view_uimanager_set_list):
1743 Fix buglet in !show_numbers case.
1745 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1747 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1748 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1750 Use pango ellipsisation.
1752 * pdf/ev-poppler.cc:
1754 Fix refcount leak, from nsh.
1756 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1758 * cut-n-paste/recent-files/Makefile.am:
1759 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1760 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1762 Removed EggRecentViewGtk
1764 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1765 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1766 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1767 (ev_window_setup_recent):
1769 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1772 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1774 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1775 (egg_recent_view_gtk_finalize):
1779 * cut-n-paste/toolbar-editor/Makefile.am:
1781 Fix location of cursor icon.
1783 * pdf/ev-poppler.cc:
1784 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1785 (display_completion_text), (match_completion):
1786 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1787 (selection_changed_callback), (create_loading_model),
1788 (print_section_cb), (links_page_num_func),
1789 (update_page_callback_foreach):
1790 * shell/ev-window.c: (ev_window_dispose):
1792 Small memory fixes. Links model now store objects instead
1793 of pointers to improve memory management.
1795 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1797 * shell/ev-window.c: (zoom_control_changed_cb):
1799 Fix update of zoom control (bug 308268).
1801 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1803 * shell/ev-properties.c (set_property): escape the text correctly.
1804 Handles non-UTF-8 properties and escaped properties. Also, sets
1805 the text to "<i>None</i>" if the property isn't set.
1807 * data/evince-properties.glade: Change the label to be ellipsized,
1808 and give it a minimum size.
1810 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1812 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1813 * shell/ev-sidebar-links.c: (create_loading_model):
1814 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1815 * shell/ev-view.c: (ev_view_set_document):
1816 * shell/ev-window.c: (ev_window_dispose):
1818 Various small fixes, mostly memory leaks. Thanks to valgrind.
1820 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1822 * ps/ps-document.c: remove the locale.h include again ;-). And
1823 kill the (bogus) setlocale/savelocale business.
1825 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1829 Include locale.h to fix build
1831 * shell/ev-sidebar.c:
1833 Remove unnecessary includes
1835 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1837 * dvi/dvi-document.c: (dvi_document_load):
1838 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1841 Check for incorrect dvi files. Fix parsing dvi on AMD64
1842 platform. Thanks to tester@tester.ca (Olivier Crete).
1844 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1846 * shell/ev-page-action.c: (match_selected_cb),
1847 (display_completion_text), (match_completion), (update_model):
1848 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1849 (expand_open_links):
1850 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1851 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1852 (ev_sidebar_set_document):
1853 * shell/ev-window.c: (ev_window_xfer_job_cb),
1854 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1856 Fixed lot's of memory leaks, for example, memory leak on reload,
1857 described in bug 307793.
1859 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1861 * pdf/ev-poppler.cc:
1862 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1863 (update_visible_range), (adjustment_changed_cb),
1864 (ev_sidebar_thumbnails_fill_model),
1865 (ev_sidebar_thumbnails_refresh),
1866 (ev_sidebar_tree_selection_changed),
1867 (ev_sidebar_icon_selection_changed),
1868 (ev_sidebar_thumbnails_use_icon_view),
1869 (ev_sidebar_thumbnails_set_document):
1870 * shell/ev-sidebar-thumbnails.h:
1871 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1872 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1874 Refresh thumbnails when changing orientation. Not fully
1875 working yet becuase of a sidebar bug.
1877 Set page orientation to poppler page everywhere. This sucks
1878 really need to fix poppler.
1880 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1882 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1883 (egg_recent_view_gtk_new_menu_item),
1884 (egg_recent_view_gtk_set_property),
1885 (egg_recent_view_gtk_get_property),
1886 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1887 (egg_recent_view_gtk_set_tooltip_func),
1888 (egg_recent_view_gtk_set_label_width),
1889 (egg_recent_view_gtk_get_label_width):
1890 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1892 Sync with libegg (ellipsize labels)
1894 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1896 * data/evince-ui.xml:
1897 * shell/ev-window.c: (ev_window_cmd_go_forward),
1898 (ev_window_cmd_go_backward):
1900 Shift + PageUp moves 10 Pages. Fix for 306125
1902 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1904 * pdf/ev-poppler.cc:
1906 Add a flag to check if orientation has been overriden
1908 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1910 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1913 * ps/ps.h: add creator field to document.
1915 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1918 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1920 * data/evince-properties.glade:
1921 * shell/ev-properties.c: (ev_properties_set_document):
1923 s/PDF Version/Format
1925 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1927 * shell/ev-properties.c: (ev_properties_set_document):
1929 Remove unnecessary translations
1931 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1933 * cut-n-paste/toolbar-editor/Makefile.am:
1935 Correct library name
1937 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1940 * cut-n-paste/recent-files/egg-recent-model.c:
1941 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1942 (egg_recent_model_unlock_file):
1943 * cut-n-paste/recent-files/egg-recent-util.c:
1944 (egg_recent_util_get_unique_id):
1945 * cut-n-paste/recent-files/update-from-egg.sh:
1946 * cut-n-paste/toolbar-editor/Makefile.am:
1947 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1948 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1949 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1950 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1951 (egg_toolbars_model_get_type):
1952 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1954 Better makefile for toolbar editor and update everything
1957 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1959 * shell/ev-window.c: (update_document_mode):
1961 Prefer presentation mode when the document
1964 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1966 * data/evince-ui.xml:
1967 * shell/ev-window.c:
1969 Add control-equal for zooming
1971 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1973 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1975 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1977 * backend/ev-document.c: (ev_document_get_orientation):
1978 * backend/ev-document.h:
1979 * pdf/ev-poppler.cc:
1980 * ps/ps-document.c: (ps_document_get_orientation),
1981 (ps_document_set_orientation), (ps_document_document_iface_init):
1983 Add a get_orientation api. Improve set_orientation.
1985 * data/evince-ui.xml:
1986 * shell/ev-view.c: (ev_view_set_orientation),
1987 (ev_view_rotate_right), (ev_view_rotate_left):
1989 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1990 (ev_window_cmd_edit_rotate_right):
1992 Better ui for changing document orientation
1994 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1996 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1997 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1998 * shell/ev-sidebar-links.h:
1999 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2000 (ev_sidebar_page_iface_init):
2001 * shell/ev-sidebar-page.h:
2002 * shell/ev-sidebar-thumbnails.c:
2003 (ev_sidebar_thumbnails_get_property),
2004 (ev_sidebar_thumbnails_class_init),
2005 (ev_sidebar_thumbnails_set_document):
2006 * shell/ev-sidebar-thumbnails.h:
2007 * shell/ev-view.c: (ev_view_motion_notify_event):
2008 * shell/ev-window.c: (update_chrome_visibility),
2009 (ev_window_cmd_focus_page_selector),
2010 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2011 (sidebar_page_main_widget_update_cb), (ev_window_init):
2013 Autoraise toolbar on GoToPage binding and fix bindings in
2014 EvSidebarThumbnails page.
2016 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2018 * shell/ev-properties.c: (update_progress_label):
2020 Hide the progress label when finished; bug #307697.
2022 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2024 * pdf/ev-poppler.cc:
2026 Enable is_open for links, you will need poppler cvs
2028 * shell/ev-properties.c: (job_fonts_finished_cb):
2030 Get a lock on the document when filling the tree view
2032 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2034 * backend/ev-document-links.h:
2035 * pdf/ev-poppler.cc:
2036 * shell/ev-sidebar-links.c: (create_loading_model),
2037 (expand_open_links), (job_finished_callback):
2039 Expand links when specified by the document.
2040 Depend on a poppler api (defined out for now)
2042 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2044 * shell/ev-properties.c: (ev_properties_dispose),
2045 (ev_properties_class_init), (dialog_destroy_cb),
2046 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2047 (ev_properties_set_document), (ev_properties_new),
2048 (ev_properties_show):
2049 * shell/ev-properties.h:
2051 Make it an object, cleanup the code, api to show it as transient
2052 and to set the document.
2054 * shell/ev-window.c: (ev_window_setup_document),
2055 (ev_window_cmd_file_properties):
2057 Adapt to EvProperties changes, do not show multiple
2058 times, update it when document changes.
2060 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2063 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2064 (ps_document_set_orientation), (ps_document_document_iface_init):
2067 Implement orientation here too
2069 * shell/ev-properties.c: (ev_properties_new):
2070 * data/evince-properties.glade:
2072 Hide the fonts page for backends that doesnt
2075 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2077 * backend/ev-document.c: (ev_document_set_orientation):
2078 * backend/ev-document.h:
2079 * pdf/ev-poppler.cc:
2081 Add orientation api. Currently poppler api is not optimal,
2082 we need to set orientation every time we _get a page.
2083 I will try to fix that at some point.
2085 * data/evince-ui.xml:
2086 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2087 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2089 Add orientation menu items
2091 * shell/ev-page-cache.c: (ev_page_cache_clear):
2092 * shell/ev-page-cache.h:
2094 Add api to clear the cache
2096 * shell/ev-view.c: (setup_caches), (clear_caches),
2097 (ev_view_set_document), (ev_view_zoom_out),
2098 (ev_view_set_orientation):
2101 Implement orientation changing
2103 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2105 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2106 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2107 * backend/ev-document-fonts.h:
2109 Separate scan and fill so that we can incrementally fill from
2110 the main thread. Add a progress api.
2112 * data/evince-properties.glade:
2113 * pdf/ev-poppler.cc:
2114 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2116 * shell/ev-properties.c: (update_progress_label),
2117 (job_fonts_finished_cb), (setup_fonts_view):
2119 Incrementally feel the list and show the progress
2120 percentage in a label like acrobat does.
2122 You are going to need poppler cvs
2124 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2126 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2127 * backend/ev-document-fonts.h:
2128 * pdf/ev-poppler.cc:
2130 Make fonts model fill incrementally.
2132 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2133 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2134 (ev_job_queue_remove_job):
2135 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2136 (ev_job_fonts_new), (ev_job_fonts_run):
2139 New job for fonts scanning
2141 * shell/ev-properties.c: (job_fonts_finished_cb),
2142 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2143 * shell/ev-properties.h:
2144 * shell/ev-window.c: (ev_window_cmd_file_properties):
2146 Incrementally feel the treeview using the new job. Show Loading...
2147 message until scanning is completed.
2149 Hopefully I didnt break the build without the poppler patch.
2151 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2153 * shell/ev-application.c: (ev_application_open):
2154 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2155 (ev_document_type_get_type), (ev_document_type_lookup):
2156 * shell/ev-document-types.h:
2157 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2158 * shell/ev-job-xfer.h:
2159 * shell/ev-window.c: (ev_window_clear_local_uri),
2160 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2161 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2162 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2164 Transfer remote documents to tmp directory to display them later.
2166 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2168 * backend/ev-document-info.h:
2169 * shell/ev-properties.c: (ev_properties_new):
2171 s/GTime*/GTime. Not sure why we was using a pointer
2174 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2176 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2177 situations. That situation is that you're using GTK+-HEAD with
2178 the patch at #306726 is applied, and you have a document with <
2179 1500 pages in it. It's not quite as uniformly nice as the
2180 TreeView, but should be better in the long run.
2182 I'm pretty sure I guarded against breaking compilation with
2183 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2186 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2187 widget yet, so I commented that code out
2188 enable_view_actions_for_widget() for now. Need to figure this
2191 * shell/ev-page-action.c (match_selected_cb): emit the right
2192 signals. Our cool C-l completion now works.
2194 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2196 * backend/Makefile.am:
2197 * backend/ev-document-fonts.c:
2198 * backend/ev-document-links.c:
2199 * backend/ev-document.c: (ev_document_load):
2200 * backend/ev-document.h:
2201 * backend/ev-job-queue.c:
2202 * backend/ev-job-queue.h:
2203 * backend/ev-jobs.c:
2204 * backend/ev-jobs.h:
2205 * backend/ev-page-cache.c:
2206 * backend/ev-page-cache.h:
2208 EvPageCache and EvJobs are moved to shell.
2210 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2212 * lib/ev-file-helpers.h:
2214 New helper to work with temporary files
2216 * shell/Makefile.am:
2217 * shell/ev-application.c: (ev_application_open):
2218 * shell/ev-application.h:
2219 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2220 (remove_job_from_async_queue), (add_job_to_async_queue),
2221 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2222 (handle_job), (search_for_jobs_unlocked),
2223 (no_jobs_available_unlocked), (ev_render_thread),
2224 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2225 (ev_job_queue_add_job), (move_job_async), (move_job),
2226 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2227 * shell/ev-job-queue.h:
2228 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2229 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2230 * shell/ev-job-xfer.h:
2231 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2232 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2233 (ev_job_links_class_init), (ev_job_render_init),
2234 (ev_job_render_dispose), (ev_job_render_class_init),
2235 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2236 (ev_job_thumbnail_class_init), (ev_job_load_init),
2237 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2238 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2239 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2240 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2242 * shell/ev-page-action.c: (ev_page_action_set_document):
2243 * shell/ev-page-cache.c: (ev_page_cache_init),
2244 (ev_page_cache_class_init), (ev_page_cache_finalize),
2245 (ev_page_cache_new), (ev_page_cache_get_n_pages),
2246 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2247 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
2248 (ev_page_cache_get_title), (ev_page_cache_get_size),
2249 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2250 (ev_page_cache_get_height_to_page),
2251 (ev_page_cache_get_max_label_chars),
2252 (ev_page_cache_get_page_label),
2253 (ev_page_cache_has_nonnumeric_page_labels),
2254 (ev_page_cache_get_info), (ev_page_cache_next_page),
2255 (ev_page_cache_prev_page), (ev_page_cache_get):
2256 * shell/ev-page-cache.h:
2257 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
2258 (ev_pixbuf_cache_clear_job_sizes),
2259 (ev_pixbuf_cache_add_jobs_if_needed),
2260 (ev_pixbuf_cache_set_page_range):
2261 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
2262 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
2263 * shell/ev-sidebar-thumbnails.c:
2264 (ev_sidebar_tree_selection_changed),
2265 (ev_sidebar_thumbnails_set_document):
2266 * shell/ev-statusbar.c: (ev_statusbar_destroy),
2267 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
2268 (ev_statusbar_get_context_id), (ev_statusbar_push),
2269 (ev_statusbar_pop), (ev_statusbar_set_maximized),
2270 (ev_statusbar_pulse), (ev_statusbar_show_progress),
2271 (ev_statusbar_set_progress):
2272 * shell/ev-statusbar.h:
2273 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
2274 (ev_view_find_previous):
2275 * shell/ev-window.c: (ev_window_is_empty),
2276 (ev_window_setup_document), (password_dialog_response),
2277 (ev_window_clear_jobs), (ev_window_load_job_cb),
2278 (ev_window_xfer_job_cb), (ev_window_open_uri),
2279 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
2280 (ev_window_print), (ev_window_print_range),
2281 (ev_window_state_event), (ev_window_cmd_view_reload),
2282 (menu_item_select_cb), (menu_item_deselect_cb),
2283 (view_status_changed_cb), (ev_window_dispose),
2284 (drag_data_received_cb), (ev_window_init):
2285 * shell/ev-window.h:
2286 * shell/main.c: (load_files):
2288 New statusbar to show progress on idle. Two new jobs -
2289 xfer job and load job to load document in background. And update
2290 of page_cache clients to new location of code.
2292 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
2294 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
2295 selection in open dialog. It also remembers the last visited directory
2296 in the current session.
2298 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2300 * shell/ev-properties.c: (ev_properties_new):
2301 * shell/ev-properties.h:
2302 * shell/ev-window.c: (ev_window_cmd_file_properties):
2304 Get document info from page cache instead of document itself.
2305 This should fix crash related to race conditions described in
2308 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2310 * ps/ps-document.c: (ps_document_init),
2311 (send_ps), (get_page_box), (output), (catchPipe), (input),
2312 (stop_interpreter), (file_length), (file_readable),
2313 (check_filecompressedb), (ps_document_enable_interpreter),
2314 (document_load), (ps_async_renderer_render_pixbuf):
2317 Big cleanup of the ps code
2319 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
2321 * backend/Makefile.am:
2322 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
2323 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
2324 * backend/ev-async-renderer.h:
2326 Add an async renderer interface (method + callback) which
2327 is useful for backends like ps.
2329 * backend/ev-job-queue.c: (remove_job_from_async_queue),
2330 (add_job_to_async_queue), (job_finished_cb), (handle_job),
2331 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2332 (ev_job_queue_add_job), (move_job_async), (move_job),
2333 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2335 Add queues for async renderer, these are executed on the
2338 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
2339 (ev_job_render_run):
2340 * backend/ev-jobs.h:
2342 If the backend support async renderer interface use it.
2344 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2345 (setup_pixmap), (ps_document_get_type),
2346 (ps_async_renderer_render_pixbuf),
2347 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
2349 Implement async renderer interface.
2351 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2353 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
2355 Cleanup links job on exit.
2357 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2359 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2360 (drag_data_get_cb), (drag_data_received_cb):
2361 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2362 (drag_data_get_cb), (parse_item_list),
2363 (egg_toolbar_editor_load_actions):
2364 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2365 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
2366 (parse_item_list), (parse_toolbars):
2367 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2368 (dvi_pixbuf_put_pixel):
2370 Fix gcc 4.0 warnings
2372 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2374 * ps/ps-document.c: (start_interpreter):
2376 Fix warning when loading ps
2378 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2380 * ps/ps-document.c: (output):
2382 Fix crash when priting gs error messages.
2384 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2386 * backend/ev-page-cache.c: (_ev_page_cache_new):
2387 * backend/ev-page-cache.h:
2389 Use a const to return title so that we dont double
2390 free it. Small cleanup and fix a leak.
2392 * shell/ev-window.c: (update_window_title):
2394 strdup value from get_title.
2396 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
2398 * shell/ev-sidebar-links.c: (job_finished_callback),
2399 (ev_sidebar_links_set_document):
2401 Cleanup the old job when changing document
2403 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
2405 * shell/ev-stock-icons.c:
2406 * shell/ev-stock-icons.h:
2407 * shell/ev-window.c:
2409 Add stock icons for actions that can appear in toolbar. Fix for
2412 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2414 * backend/ev-page-cache.c: (ev_page_cache_finalize),
2415 (_ev_page_cache_new), (ev_page_cache_get_max_width),
2416 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
2417 * backend/ev-page-cache.h:
2418 * shell/ev-view.c: (scroll_to_current_page),
2419 (view_update_range_and_current_page), (get_page_y_offset),
2420 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2421 (ev_view_size_request_continuous),
2422 (ev_view_zoom_for_size_continuous_and_dual_page),
2423 (ev_view_zoom_for_size_continuous):
2425 More compact EvView layout in document with pages of different size.
2427 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2429 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2432 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2434 * shell/ev-view.c: (view_set_adjustment_values):
2435 * shell/ev-window.c: (ev_window_cmd_file_properties):
2437 A bit different fix for rounding problem but it has no
2438 problems on startup. Make properties window transient to parent.
2440 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2442 * pdf/ev-poppler.cc:
2444 More commenting of font stuff.
2446 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2448 * pdf/ev-poppler.cc:
2450 Comment out some more fonts stuff. Should really
2451 work without the poppler patch now.
2453 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2455 * pdf/ev-poppler.cc:
2459 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2461 * data/evince-properties.glade:
2462 * pdf/ev-poppler.cc:
2463 * shell/ev-properties.c: (setup_fonts_view):
2465 Set the column title. Show the dialog only
2466 once everything is setup.
2467 Getting font info can be very slow... will
2468 prolly need to make this threaded too.
2470 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2472 * backend/Makefile.am:
2473 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2474 (ev_document_fonts_get_fonts_model):
2475 * backend/ev-document-fonts.h:
2476 * data/evince-properties.glade:
2477 * pdf/ev-poppler.cc:
2478 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2479 * shell/ev-properties.h:
2480 * shell/ev-window.c: (ev_window_cmd_file_properties):
2482 Implement fonts list. Defined out for now, since it depends
2483 on a not yet committed poppler patch.
2485 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2487 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2490 * shell/ev-window.c: Make sure we add the timeout when we get a
2493 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2494 adjustment->value before calculating the zoom factor to average
2495 out all of our rounding errors. The page no longer 'drifts' when
2498 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2500 * data/evince-properties.glade:
2501 * shell/ev-properties.c: (ev_properties_format_date),
2504 Labels don't expand when the dialogue is resized.
2505 strftime result needs to be converted to UTF-8. Thanks
2506 to Christian Persch <chpe@gnome.org>.
2508 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2510 * data/evince-properties.glade:
2514 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2516 * backend/ev-document-info.h:
2517 * backend/ev-document.c: (ev_document_info_free):
2518 * data/evince-properties.glade:
2519 * pdf/ev-poppler.cc:
2520 * ps/ps-document.c: (ps_document_get_info):
2521 * shell/ev-properties.c: (ev_properties_format_date),
2522 (set_property), (ev_properties_new):
2523 * shell/ev-properties.h:
2524 * shell/ev-window.c: (ev_window_cmd_file_properties):
2526 Rework properties code to take only EvPropertyInfo
2527 in the constructor so that it can be useful for
2528 nautilus plugin too.
2530 Deal with backends that doesnt support some properties.
2531 Make set property code generic.
2533 2005-06-04 Christian Persch <chpe@gnome.org>
2535 * data/evince-properties.glade:
2537 fix spacings, make resizeable, and make data labels
2538 selectable + ellipsised
2540 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2542 * backend/ev-document-info.h:
2544 * data/evince-ui.xml:
2545 * pdf/ev-poppler.cc:
2546 * shell/Makefile.am:
2547 * shell/ev-window.c: (update_action_sensitivity),
2548 (ev_window_cmd_file_properties):
2550 Initial go at file properties. Patch by
2551 Emil Soleyman-Zomalan <emil@soleyman.com>.
2552 Needs love see #169583
2554 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2556 * ps/ps-document.c: (output):
2557 * ps/ps.c: (psscan):
2559 Try to render even if psscan fails.
2561 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2563 * ps/ps.c: (psscan), (pscopydoc):
2565 Port buffered reading code from gv
2567 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2569 * ps/ps-document.c: (interpreter_message), (output):
2571 Do not fail on interpreter messages
2573 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2575 * backend/ev-document-misc.c:
2576 (ev_document_misc_get_thumbnail_frame):
2578 Pages can be 0 x 0, dont assert on this case
2580 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2582 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2583 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2585 Correctly manage our reference on document. Finally the reload
2586 huge leak is gone...
2588 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2590 * ps/ps-document.c: (ps_document_dispose):
2592 Forgot to chain it to the parent. Thanks chpe.
2594 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2596 * ps/ps-document.c: (ps_document_dispose),
2597 (ps_document_class_init), (stop_interpreter), (document_load):
2599 Cleanup dispose a bit. Dont leak the whole pixmap.
2601 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2603 * pdf/ev-poppler.cc:
2605 Release the poppler document on dispose
2607 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2609 * shell/ev-view.c: (ev_view_set_document):
2611 Release ref on the pixbuf cache when changing
2614 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2616 * ps/ps-document.c: (ps_document_get_info):
2620 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2622 * backend/ev-page-cache.c: (ev_page_cache_init),
2623 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2624 * backend/ev-page-cache.h:
2625 * shell/ev-page-action.c: (page_changed_cb):
2627 Set page action entry width depending on labels width. Fix
2630 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2632 * backend/ev-link.c: (ev_link_class_init):
2634 Allow -1 as page value (error)
2636 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2638 * shell/ev-sidebar-thumbnails.c:
2639 (ev_sidebar_thumbnails_set_document):
2640 * shell/ev-view.c: (scroll_to_current_page),
2641 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2642 (page_changed_cb), (on_adjustment_value_changed),
2643 (ev_view_set_document):
2645 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2648 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2651 * djvu/djvu-document.c: (djvu_document_get_page_size):
2653 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2656 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2658 * shell/ev-view.c (draw_one_page): modify the expose handling to
2661 * shell/ev-window.c (update_action_sensitivity): Respect
2662 permissions field. Kowtow to the man.
2664 * pdf/ev-poppler.cc: Get the permissions field.
2666 * tiff/*c: Make a tiny bit more robust.
2668 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2670 * djvu/djvu-document.c:
2672 Pop messages from djvu context message queue.
2674 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2676 * configure.ac, Makefile.am, shell/Makefile.am:
2677 * tiff/Makefile.am, shell/ev-document-types.c:
2679 Cleanup tiff configure checks. Fix for bug 305218.
2681 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2683 * configure.ac: Added "uk" to ALL_LINGUAS.
2685 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2687 * cut-n-paste/zoom-control/ephy-zoom.c:
2688 (ephy_zoom_get_changed_zoom_level):
2689 * cut-n-paste/zoom-control/ephy-zoom.h:
2690 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2691 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2692 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2693 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2694 (zoom_control_changed_cb), (ev_window_init):
2696 Fix minor points related to moving best fit up. Introduce
2697 "zoom" property and make zoom control change it's value on
2698 notify::zoom signals. Fix for 305080.
2700 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2702 * data/evince-ui.xml:
2703 * shell/ev-window.c: (set_view_actions_sensitivity):
2705 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2707 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2711 Depends on poppler 0.3.2
2713 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2715 * cut-n-paste/recent-files/egg-recent-item.c:
2716 (egg_recent_item_get_short_name):
2717 * cut-n-paste/toolbar-editor/Makefile.am:
2718 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2719 (new_pixbuf_from_widget):
2720 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2721 * cut-n-paste/toolbar-editor/egg-marshal.c:
2722 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2723 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2727 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2729 * tiff/tiff-document.c: Rough TIFF backend.
2731 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2735 * cut-n-paste/toolbar-editor/Makefile.am:
2739 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2741 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2742 (ev_view_find_next), (ev_view_find_previous):
2744 Remove the locks around get_n_results
2746 2005-05-21 Juerg Billeter <j@bitron.ch>
2748 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2750 Pass correct number of pages to poppler.
2752 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2756 * data/evince.desktop.in:
2757 * data/evince.desktop.in.in:
2760 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2762 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2764 * shell/ev-view.c: (view_update_adjustments),
2765 (view_set_adjustment_values): cast adjustmen->value to (int)
2766 before using it. Otherwise, we get off by a pixel in some
2769 (draw_one_page): Draw the border on expose.
2771 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2773 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2774 adjustment when the mode changes, #304923
2776 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2778 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2779 flickering on resize but still use gdk_window_scroll on
2782 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2784 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2787 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2789 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2790 second page on page_changed if possible, #304669
2792 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2794 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2795 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2797 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2800 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2801 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2802 (ev_view_zoom_for_size_presentation),
2803 (ev_view_zoom_for_size_continuous_and_dual_page),
2804 (ev_view_zoom_for_size_continuous),
2805 (ev_view_zoom_for_size_dual_page),
2806 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2808 * shell/ev-window.c: (update_view_size),
2809 (ev_window_sizing_mode_changed_cb):
2811 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2812 the scrollbars. It's not 100% right, but it's much closer. Kills
2813 an infinite loop, #304769
2816 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2818 * data/evince-ui.xml:
2819 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2820 * shell/ev-window.c: (set_view_actions_sensitivity):
2822 Make PgUp/Down behave like Space
2824 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2826 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2827 * backend/ev-ps-exporter.h:
2828 * pdf/ev-poppler.cc:
2829 * ps/ps-document.c: (ps_document_ps_export_begin):
2830 * shell/ev-print-job.c: (idle_print_handler):
2832 Adapt to new poppler api
2834 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2836 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2837 (ephy_zoom_control_init):
2839 Translate zoom levels
2841 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2843 * cut-n-paste/zoom-control/ephy-zoom.c:
2844 (ephy_zoom_get_zoom_level_index):
2846 Fix current zoom -> zoom control match
2848 2005-05-18 James Bowes <bowes@cs.dal.ca>
2850 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2851 rather than the scrolled_window that it's in. Fixes bug #304655.
2853 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2855 * shell/ev-view.c: (view_update_adjustments),
2856 (view_set_adjustment_values), (view_update_range_and_current_page),
2857 (view_scroll_to_page), (set_scroll_adjustment),
2858 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2859 (ev_view_scroll), (ev_view_scroll_view),
2860 (ensure_rectangle_is_visible), (find_page_at_location),
2861 (get_link_at_location), (go_to_link), (status_message_from_link),
2862 (ev_view_size_request_continuous_dual_page),
2863 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2864 (ev_view_unrealize), (ev_view_expose_event),
2865 (ev_view_button_press_event), (ev_view_motion_notify_event),
2866 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2867 (draw_rubberband), (highlight_find_results), (draw_one_page),
2868 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2869 (ev_view_init), (find_changed_cb), (page_changed_cb),
2870 (on_adjustment_value_changed), (ev_view_new),
2871 (ev_view_set_document), (ev_view_set_zoom),
2872 (ev_view_set_continuous), (ev_view_set_dual_page),
2873 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2874 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2875 (ev_view_zoom_for_size_presentation),
2876 (ev_view_zoom_for_size_continuous_dual_page),
2877 (ev_view_zoom_for_size_continuous),
2878 (ev_view_zoom_for_size_dual_page),
2879 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2880 (ev_view_get_status), (ev_view_set_status),
2881 (update_find_status_message), (ev_view_get_find_status),
2882 (ev_view_set_find_status), (jump_to_find_result),
2883 (jump_to_find_page), (compute_selections), (clear_selection),
2884 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2885 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2886 (ev_view_update_primary_selection),
2887 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2889 * shell/ev-window.c: (ev_window_open_page_label),
2890 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2892 * shell/ev-window.h:
2893 * shell/main.c: (load_files):
2895 Massive code clean up from Nickolay Shmyrev. Keep page offset
2896 when resizing. Remove the bin_window(). Also, patch from James
2897 Bowes to fix command line page, #300641
2899 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2901 * data/evince-ui.xml:
2904 * shell/ev-window.c: (update_action_sensitivity):
2906 Get rid of View->Normal Size, it's just confusing
2908 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2910 * backend/ev-document-info.h:
2911 * backend/ev-document.c: (ev_document_info_free): Free the
2914 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2915 (clear_range), (add_range), (update_visible_range),
2916 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2917 (ev_sidebar_thumbnails_set_document):
2918 * shell/ev-window.c: (ev_window_setup_document): Only render the
2919 visible thumbnails. It takes an instant to render, but it uses
2922 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2924 * shell/ev-sidebar-links.c: (popup_menu_cb):
2928 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2931 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2932 (button_press_cb), (ev_sidebar_links_construct):
2934 Show the popup menu also on keybindings
2936 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2938 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2939 * shell/ev-window.h:
2941 Expose api to print a range (with dialog). Make private _print use
2944 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2945 (ev_sidebar_links_construct):
2947 Show a print context menu on linkx, it prints the selected
2950 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2952 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2955 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2961 * shell/ev-window.c: (build_comments_string),
2962 (ev_window_cmd_help_about):
2964 Show poppler version/backend and authors
2966 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2968 * cut-n-paste/zoom-control/ephy-zoom.c:
2969 (ephy_zoom_get_zoom_level_index):
2970 * cut-n-paste/zoom-control/ephy-zoom.h:
2972 Move the best fit items at the top of the list
2974 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2976 * shell/ev-marshal.list:
2977 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2978 (activate_cb), (match_selected_cb), (activate_link_cb),
2979 (connect_proxy), (ev_page_action_class_init):
2980 * shell/ev-page-action.h:
2982 Use signals to notify action activation. Hopefully
2983 I did not break completion since I cant test...
2985 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2986 (register_custom_actions):
2988 Connect to page selector actions and also grab focus on
2989 the view when activated.
2991 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2993 * pdf/ev-poppler.cc:
2994 * backend/ev-page-cache.c: make page size calculation consistent
2995 and set it to (int)( width * scale + 0.5). This makes the weird
2996 line going through the middle of the page go away.
2998 * shell/ev-view.c: move painting the background page after
2999 checking the expose area covers us.
3001 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3003 * data/evince-password.glade:
3005 Mark labels as not translatable. Fix for bug 302842.
3007 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3009 * configure.ac: Added "es" to ALL_LINGUAS.
3011 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3013 * data/evince-toolbar.xml:
3014 * shell/ev-window.c: (update_action_sensitivity),
3015 (ev_window_setup_document), (ev_window_set_page_mode),
3018 Remove some leftover code from jrb first continous
3019 attempt. Use the new actions, we still need good icons
3022 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3024 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3026 Update label when connecting proxy. Fix a warning with NULL
3029 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3031 * data/evince-ui.xml:
3032 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3033 * shell/ev-page-action.h:
3034 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3036 Add mnemonic for edit toolbar.
3037 ctrl+l focus the page entry.
3039 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3042 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3044 * shell/main.c: (main):
3046 Put the toolbar xml in evince own dot dir
3048 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3050 * shell/ev-window.c: (ev_window_init):
3052 Make the toolbar not removable
3054 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3056 * data/evince-ui.xml:
3057 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3058 * shell/ev-sidebar-links.h:
3059 * shell/ev-sidebar-thumbnails.c:
3060 (ev_sidebar_thumbnails_get_treeview):
3061 * shell/ev-sidebar-thumbnails.h:
3062 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3063 (ev_view_class_init):
3065 * shell/ev-window.c: (update_action_sensitivity),
3066 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3067 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3068 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3071 This is evil... Make space/backspace global accelerators but
3072 enable them only for some widgets (sidebars and view).
3073 I dont like it, but I dont know a better way... :/
3075 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3077 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3078 (ev_page_action_widget_finalize),
3079 (ev_page_action_widget_class_init), (update_page_cache):
3081 Keep a weak reference on proxy->page_cache so that we
3082 dont try to disconnect the signal if the object is already
3083 gone. Maybe there is a better way to cleanup reference handling
3084 in page action though...
3086 2005-05-10 Juerg Billeter <j@bitron.ch>
3088 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3089 * backend/ev-ps-exporter.h:
3090 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3091 * ps/ps-document.c: (ps_document_ps_export_begin):
3093 Change api to pass print range to ps_exporter_begin. The pdf backend
3094 requires this information.
3096 * shell/ev-print-job.c: (idle_print_handler):
3100 2005-05-10 Juerg Billeter <j@bitron.ch>
3102 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3103 (idle_print_handler)
3104 * shell/ev-window.c: (ev_window_print):
3106 Support printing page range, based on patch by Amaury Jacquot
3108 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3110 * data/evince-toolbar.xml:
3112 Add zoom control to available items
3114 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3116 * shell/ev-window.c: (update_action_sensitivity):
3118 Set slash action insensitive when appropriate
3120 2005-05-10 Christian Persch <chpe@gnome.org>
3122 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3124 Fix warning on the overflow menu
3126 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3128 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3130 Check for uri correctness/existence
3132 2005-05-09 Juerg Billeter <j@bitron.ch>
3134 * shell/ev-window.c: (using_postscript_printer):
3136 LPD printers use postscript, too
3138 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3140 * shell/ev-window.c: (register_custom_actions):
3142 The zoom one is actually sort of useful,
3145 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3147 * shell/ev-window.c: (register_custom_actions):
3149 Hide page/zoom controls from overflow, they
3152 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3154 * cut-n-paste/update-from-egg.sh:
3156 Share it between all cut-n-paste subdirs
3158 * cut-n-paste/recent-files/Makefile.am:
3160 Fix to use "global" update-from-egg.sh
3162 * cut-n-paste/recent-files/egg-recent-model.c:
3163 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3164 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3165 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3166 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3170 * cut-n-paste/toolbar-editor/Makefile.am:
3172 Fix to use "global" update-from-egg.sh
3174 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3178 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3181 * cut-n-paste/Makefile.am:
3182 * cut-n-paste/recent-files/Makefile.am:
3183 * cut-n-paste/toolbar-editor/.cvsignore:
3184 * cut-n-paste/toolbar-editor/Makefile.am:
3185 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3186 (egg_editable_toolbar_get_type), (get_toolbar_position),
3187 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3188 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3189 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3190 (set_item_drag_source), (create_item_from_action), (create_item),
3191 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3192 (popup_toolbar_context_menu_cb), (free_dragged_item),
3193 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3194 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3195 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3196 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3197 (item_added_cb), (item_removed_cb),
3198 (egg_editable_toolbar_construct),
3199 (egg_editable_toolbar_disconnect_model),
3200 (egg_editable_toolbar_deconstruct),
3201 (egg_editable_toolbar_set_model),
3202 (egg_editable_toolbar_set_ui_manager),
3203 (egg_editable_toolbar_set_property),
3204 (egg_editable_toolbar_get_property),
3205 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3206 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3207 (egg_editable_toolbar_new_with_model),
3208 (egg_editable_toolbar_get_edit_mode),
3209 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3210 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3211 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3212 (new_pixbuf_from_widget), (new_separator_pixbuf),
3213 (update_separator_image), (style_set_cb),
3214 (_egg_editable_toolbar_new_separator_image),
3215 (egg_editable_toolbar_get_model):
3216 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3217 * cut-n-paste/toolbar-editor/egg-marshal.c:
3218 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3219 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3220 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3221 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3222 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3223 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3224 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3225 (editor_drag_data_delete_cb), (drag_data_get_cb),
3226 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3227 (editor_create_item), (update_editor_sheet), (setup_editor),
3228 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3229 (parse_item_list), (model_has_action), (update_actions_list),
3230 (egg_toolbar_editor_load_actions):
3231 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3232 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3233 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3234 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3235 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3236 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3237 (egg_toolbars_model_add_separator), (impl_add_item),
3238 (parse_item_list), (egg_toolbars_model_add_toolbar),
3239 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3240 (impl_get_item_data), (impl_get_item_type),
3241 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3242 (egg_toolbars_model_init), (free_toolbar),
3243 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
3244 (egg_toolbars_model_remove_toolbar),
3245 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
3246 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
3247 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
3248 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
3249 (egg_toolbars_model_get_item_data),
3250 (egg_toolbars_model_get_item_type):
3251 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3252 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3254 * data/evince-toolbar.xml:
3255 * data/evince-ui.xml:
3256 * data/hand-open.png:
3258 * shell/Makefile.am:
3259 * shell/ev-window.c: (update_chrome_visibility),
3260 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
3261 (ev_window_dispose), (ev_window_init):
3263 Implement epiphany like toolbar editor. Based on patch by
3264 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3266 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3268 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
3270 Use set_cursor instead of set_selection, so that
3271 the keyboard focus moves too.
3273 2005-05-09 Aleksey Kliger <akliger@gmail.com>
3275 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
3277 Fix infinite loop when loading Type1 fonts
3279 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3281 * data/evince-ui.xml:
3282 * shell/ev-window.c:
3286 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
3290 Make --disable really disable
3292 2005-05-07 Juerg Billeter <j@bitron.ch>
3294 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
3296 Compare page labels even without has_labels set, fixes setting page
3299 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3301 * shell/ev-view.c: (ev_view_create_invisible_cursor),
3302 (ev_view_set_cursor), (ev_view_button_press_event),
3303 (ev_view_motion_notify_event), (ev_view_button_release_event),
3306 Implement middle button scrolling. Based on a patch
3307 by Tommi Komulainen <tommi.komulainen@iki.fi>.
3309 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
3311 * shell/ev-document-types.c: (get_slow_mime_type),
3312 (get_document_type_from_mime), (ev_document_type_lookup):
3313 * shell/ev-document-types.h:
3315 Change api to lookup from uri. Do fast lookup first, if the
3316 type is unknown try with data sniffing.
3318 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
3319 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3323 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3325 * thumbnailer/Makefile.am:
3329 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3336 * data/evince-ui.xml:
3338 Hide presentation mode for now
3340 * shell/ev-view.c: (highlight_find_results):
3342 Show current find selection only on current page
3344 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3346 * shell/ev-view.c: (ev_view_select_all):
3348 Compute size of the actual page, not of
3351 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3353 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
3354 (view_rect_to_doc_rect), (compute_selections),
3355 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
3356 (ev_view_copy), (ev_view_primary_get_cb),
3357 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
3358 (ev_view_button_press_event), (ev_view_motion_notify_event),
3359 (ev_view_button_release_event), (page_changed_cb):
3363 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
3365 * shell/ev-view.c: (compute_border), (get_page_extents),
3366 (doc_rect_to_view_rect), (highlight_find_results),
3367 (ev_view_bin_expose), (ev_view_select_all),
3368 (ev_view_motion_notify_event), (update_find_status_message),
3369 (jump_to_find_result), (jump_to_find_page):
3371 First go at fixing search, still buggy
3373 2005-05-04 Kristian Høgsberg <krh@redhat.com>
3375 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
3376 dropdown box and button at the top of the sidebar.
3378 2005-05-02 James Bowes <bowes@cs.dal.ca>
3380 * configure.ac: Output zoom-control Makefile.
3381 * cut-n-paste/Makefile.am: build zoom-control subdir.
3382 * cut-n-paste/zoom-control/ephy-zoom-action.c:
3383 * cut-n-paste/zoom-control/ephy-zoom-action.h:
3384 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3385 * cut-n-paste/zoom-control/ephy-zoom-control.h:
3386 * cut-n-paste/zoom-control/ephy-zoom.c:
3387 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
3388 from epiphany, and modified to add a separator into the menu.
3389 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
3390 * data/evince-ui.xml: Replace old zoom toolbar actions with new
3391 zoom-control action.
3392 * shell/Makefile.am: Include zoom-control flags.
3393 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
3394 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
3395 (ev_view_zoom_for_size_presentation),
3396 (ev_view_zoom_for_size_continuous_and_dual_page),
3397 (ev_view_zoom_for_size_continuous),
3398 (ev_view_zoom_for_size_dual_page),
3399 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
3400 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
3401 ev_view_get_zoom and ev_view_get_sizing_mode.
3403 * shell/ev-window.c: (update_action_sensitivity),
3404 (update_sizing_buttons), (zoom_control_changed_cb),
3405 (register_custom_actions): Initialize and use the zoom-control
3408 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
3410 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
3411 preview cache back to 1. Don't know when it got set to 0.
3413 * shell/ev-view.c: (compute_border), (ev_view_realize),
3414 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
3415 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
3416 (ev_view_get_fullscreen), (ev_view_set_presentation),
3417 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3418 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3420 * shell/ev-window.c:
3421 (update_chrome_visibility),
3422 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3423 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3424 (update_document_mode), (ev_window_update_fullscreen_action),
3425 (ev_window_fullscreen), (ev_window_unfullscreen),
3426 (ev_window_cmd_view_fullscreen),
3427 (ev_window_update_presentation_action),
3428 (ev_window_run_presentation), (ev_window_stop_presentation),
3429 (ev_window_cmd_view_presentation), (ev_window_state_event),
3430 (ev_window_focus_in_event), (ev_window_focus_out_event),
3431 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3432 * data/evince-ui.xml: Initial presentation mode. We should
3433 probably hide this until it's done, as it's quite rough. Also,
3434 change full-screen to fullscreen and add two getters to EvView.
3436 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3438 * shell/ev-page-action.c: (update_page_cache),
3439 (ev_page_action_dispose):
3440 * shell/ev-window.c: (destroy_fullscreen_popup),
3441 (ev_window_create_fullscreen_popup):
3443 Use connect_object rather than explicitly
3444 disconnect on dispose.
3446 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3448 * shell/ev-page-action.c: (update_page_cache),
3449 (ev_page_action_dispose):
3451 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3453 * backend/ev-page-cache.c: (_ev_page_cache_new),
3454 (ev_page_cache_set_page_label),
3455 (ev_page_cache_has_nonnumeric_page_labels):
3456 * backend/ev-page-cache.h:
3457 * shell/ev-page-action.c: (update_pages_label):
3459 If all page labels are numeric, fallback to default
3460 way to display number of pages. See bug 173185.
3462 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3464 * shell/ev-page-action.c: (ev_page_action_dispose):
3465 * shell/ev-view.c: (view_update_range_and_current_page):
3466 * shell/ev-window.c: (ev_window_dispose):
3468 Set page on scroll in continuous mode. Fixes bug 301986.
3469 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3471 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3475 Require poppler 0.3.0
3477 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3479 * shell/Makefile.am, configure.ac: Fix build problems
3480 with t1lib. Bug 301996.
3482 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3484 * shell/ev-view.c: (ev_view_scroll_event):
3486 Scroll up increase zoom
3488 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3490 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3491 (ev_view_set_sizing_mode),
3492 (ev_view_zoom_for_size_continuous_and_dual_page),
3493 (ev_view_zoom_for_size_continuous):
3494 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3495 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3496 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3499 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3500 Fix for 165473 and 165472.
3502 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3505 * thumbnailer/Makefile.am:
3506 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3507 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3508 * thumbnailer/evince-thumbnailer.schemas.in:
3510 Make thumbnailer schemas translatable. Fix for bug 301773
3512 * thumbnailer/evince-thumbnailer-djvu.schemas:
3513 * thumbnailer/evince-thumbnailer-dvi.schemas:
3514 * thumbnailer/evince-thumbnailer.schemas:
3518 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3520 * shell/ev-view.c (ev_view_init): forgot to set this.
3522 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3524 * shell/ev-view.c: (find_page_at_location),
3525 (get_link_at_location),
3526 (ev_view_set_show_border), (ev_view_set_spacing),
3527 (ev_view_zoom_for_size_continuous_and_dual_page),
3528 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3529 Also, add a quick fix measuring of widths. Also, removed
3530 ev_view_set_spacing and ev_view_set_show_border.
3532 * shell/ev-window.c: (ev_window_unfullscreen),
3533 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3535 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3537 * shell/ev-view.c: (view_update_range_and_current_page),
3540 Fix crash on exit and scrolling to page in continuous view.
3542 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3545 * backend/ev-page-cache.c: (_ev_page_cache_new),
3546 (ev_page_cache_get_max_width_size),
3547 (ev_page_cache_get_max_height_size):
3548 * backend/ev-page-cache.h:
3549 * data/evince-ui.xml:
3550 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3551 * shell/ev-view.c: (view_update_adjustments),
3552 (view_update_range_and_current_page), (get_bounding_box_size),
3553 (ev_view_size_request_continuous_and_dual_page),
3554 (ev_view_size_request_continuous),
3555 (ev_view_size_request_dual_page),
3556 (ev_view_size_request_single_page), (ev_view_size_request),
3557 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3558 (ev_view_bin_expose), (ev_view_expose_event),
3559 (ev_view_set_property), (ev_view_get_property),
3560 (ev_view_class_init), (ev_view_init), (ev_view_new),
3561 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3562 (ev_view_set_dual_page), (ev_view_set_full_screen),
3563 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3564 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3565 (ev_view_zoom_out), (zoom_for_size_fit_width),
3566 (zoom_for_size_best_fit),
3567 (ev_view_zoom_for_size_continuous_and_dual_page),
3568 (ev_view_zoom_for_size_continuous),
3569 (ev_view_zoom_for_size_dual_page),
3570 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3571 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3573 * shell/ev-window.c: (update_action_sensitivity),
3574 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3575 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3576 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3577 (ev_window_cmd_view_zoom_out), (update_view_size),
3578 (ev_window_set_sizing_mode), (ev_window_init):
3580 Add Continuous and Dual page modes.
3582 2005-04-23 James Bowes <bowes@cs.dal.ca>
3584 * dvi/dvi-document.c: (dvi_document_load),
3585 (dvi_document_thumbnails_get_thumbnail),
3586 (dvi_document_init_params): Fix up some mixups between
3587 width and height to correct thumbnail rendering.
3589 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3591 * dvi/mdvi-lib/private.h:
3592 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3594 Suppess output for kpathsea during font generation. Thanks to
3597 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3604 * Makefile.am: fix distcheck.
3606 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3608 * shell/ev-sidebar-links.c: (selection_changed_callback),
3609 (update_page_callback), (row_activated_callback),
3610 (job_finished_callback), (ev_sidebar_links_set_document):
3612 Fix for bug #169901. Double click on links expands tree.
3614 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3616 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3617 hard-coded style. Fix for bug 170111
3619 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3621 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3624 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3626 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3628 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3630 * pdf/ev-poppler.cc:
3631 * shell/ev-view.c: (highlight_find_results):
3633 Fix find on single page documents
3635 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3637 * data/evince.schemas.in: fix for bug 301390
3639 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3641 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3642 (ev_view_zoom_out), (ev_view_zoom_normal):
3644 * shell/ev-window.c: (update_action_sensitivity),
3645 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3646 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3647 (ev_window_cmd_view_normal_size):
3649 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3650 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3653 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3657 Depend on 2.57, 2.59 doesnt seem to be necessary
3659 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3661 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3664 Put back total number of pages as (1 of 1234)
3666 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3668 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3671 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3672 function. This helps debugging.
3674 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3676 * djvu/djvu-document.c: (djvu_document_class_init),
3677 (djvu_document_get_info), (djvu_document_document_iface_init):
3678 * dvi/dvi-document.c: (dvi_document_class_init),
3679 (dvi_document_get_info), (dvi_document_document_iface_init):
3681 Dummy implementation of get_info method for dvi and djvu. Fix
3682 crashes with those backends
3684 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3686 * data/evince.desktop.in:
3688 Add application/x-gzpostscript
3690 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3692 * data/evince.schemas.in: Added real long descriptions,
3695 * README: Added actual text, closes bug 171869
3697 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3699 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3703 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3705 * backend/ev-document-info.h:
3707 s/GDate */GDate so we can just use g_free
3709 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3711 * shell/ev-window.c: (update_document_mode),
3712 (ev_window_setup_document):
3714 Show the window in fullscreen when specified by
3717 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3719 * backend/ev-document.c: (ev_document_class_init),
3720 (ev_document_get_info), (ev_document_render_pixbuf):
3721 * backend/ev-document.h:
3722 * backend/ev-page-cache.c: (_ev_page_cache_new):
3723 * pdf/ev-poppler.cc:
3724 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3725 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3726 * ps/ps-document.c: (ps_document_class_init), (document_load),
3727 (ps_document_get_info), (ps_document_document_iface_init):
3729 Remove get_title from the interface, we can just use document info
3731 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3733 * backend/Makefile.am:
3734 * backend/ev-document.c: (ev_document_render_get_info):
3735 * backend/ev-document.h:
3736 * pdf/ev-poppler.cc:
3738 Initial support for document info. Based on jrb patch.
3740 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3742 * shell/ev-window.c: (ev_window_state_event),
3743 (ev_window_class_init), (ev_window_init):
3745 Doesn't show resize grip when maximized. See bug #301053
3747 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3751 ev-sidebar-thumbnails now has translatable labels
3753 * shell/Makefile.am:
3754 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3755 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3756 (ev_sidebar_links_page_iface_init):
3757 * shell/ev-sidebar-links.h:
3758 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3759 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3760 (ev_sidebar_page_get_label):
3761 * shell/ev-sidebar-page.h:
3762 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3763 (ev_sidebar_thumbnails_set_document),
3764 (ev_sidebar_thumbnails_support_document),
3765 (ev_sidebar_thumbnails_get_label),
3766 (ev_sidebar_thumbnails_page_iface_init):
3767 * shell/ev-sidebar-thumbnails.h:
3768 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3769 (ev_sidebar_set_document):
3770 * shell/ev-sidebar.h:
3771 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3773 Small rework of sidebar code. Now sidebar pages should implement
3774 EvSidebarPage interface. That makes page management in EvSidebar
3775 easier. See bug #164811 for details
3777 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3779 * shell/ev-application.c: (ev_application_open):
3780 * shell/ev-document-types.c:
3782 Fix build error and small problem with application exit
3784 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3786 * thumbnailer/Makefile.am:
3787 * thumbnailer/evince-thumbnailer-djvu.schemas:
3788 * thumbnailer/evince-thumbnailer-dvi.schemas:
3790 Conditionally install schemas for djvu/dvi thumbnailer
3792 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3794 * shell/ev-document-types.h:
3795 * shell/ev-document-types.c:
3796 New files, handling the mapping from mimetypes to backends
3798 * shell/ev-window.c:
3799 * thumbnailer/evince-thumbnailer.c:
3800 Use the ev-document-types code
3802 * shell/Makefile.am:
3803 Added new convenience library libevbackendfactory_la, containing
3804 the new mimetype->backend logic; moved the backends into it.
3806 * thumbnailer/Makefile.am:
3807 Make the thumbnailer link with the libevbackend.la convenience
3808 library, rather than having a duplicate of the backend logic here.
3810 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3812 * shell/ev-stock-icons.c: constify some vars.
3813 * shell/ev-window.c: ditto.
3815 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3817 * ps/ps-document.c (get_page_orientation):
3819 Respect document orientation
3821 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3825 * shell/Makefile.am:
3827 Move library dependencies to components.
3829 * shell/ev-window.c: (update_window_title),
3830 (start_loading_document):
3832 Fix display of uris with spaces. Bug 168358.
3834 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3836 * shell/ev-sidebar-links.c: (selection_changed_cb):
3837 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3838 (ev_view_button_release_event), (ev_view_set_document):
3840 * shell/ev-window.c: (find_bar_search_changed_cb):
3841 * shell/ev-window.h: Minor cleanups removing some dead code.
3843 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3845 * backend/ev-page-cache.c: (_ev_page_cache_new):
3847 Set current page to 0 if document has pages.
3849 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3851 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3853 Initialize GError to NULL, fix a crash when loading fails.
3855 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3857 * shell/ev-window.c: (update_view_size):
3859 Calculate shadow size only when there is actually
3862 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3864 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3867 Allow setting view spacing, default to 0
3869 * shell/ev-window.c: (ev_window_unfullscreen),
3870 (ev_window_cmd_view_fullscreen), (ev_window_init):
3872 Remove spacing in fullscreen mode
3874 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3876 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3877 (ev_view_size_request), (expose_bin_window),
3878 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3880 * shell/ev-window.c: (ev_window_unfullscreen),
3881 (ev_window_cmd_view_fullscreen):
3883 Do not draw the border in fulscreen
3885 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3887 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3888 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3889 (find_page_at_location), (page_changed_cb):
3891 Rework border calculation, so that I can more easily disable it.
3892 Code somewhat cleaner too.
3894 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3896 * backend/ev-page-cache.c: (ev_page_cache_init),
3897 (_ev_page_cache_new):
3899 Remove some assertions, documents can have 0 pages.
3900 Make initial current page -1.
3902 * shell/ev-page-action.c: (page_changed_cb):
3904 Show "" if current page is -1
3906 * shell/ev-window.c: (update_action_sensitivity),
3907 (ev_window_setup_document):
3909 When document has 0 pages do not set the view
3910 and make nearly everything insensitive.
3912 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3914 * shell/ev-page-view.c:
3915 * shell/ev-page-view.h:
3917 Remove unused files.
3919 * shell/ev-sidebar-thumbnails.c:
3920 (ev_sidebar_thumbnails_set_document):
3921 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3922 (ev_sidebar_supports_document):
3923 * shell/ev-sidebar.h:
3924 * shell/ev-window.c: (ev_window_setup_document):
3926 Doesn't show thumbnails if document has 1 page. Make
3927 sidebar menu entries sensitive only if if they have
3928 sense. Fix bug 164811.
3930 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3932 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3933 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3934 (ev_view_zoom_out), (ev_view_set_size):
3936 Rework sizing to deal with documents with not uniform page
3939 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3941 * backend/ev-page-cache.c: (_ev_page_cache_new):
3943 Fix several page size caching bugs
3945 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3947 * shell/ev-window.c: (set_action_properties):
3949 Make all toolbar items translatable
3951 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3953 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3954 (save_page_list), (ps_document_save),
3955 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3956 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3957 (ps_document_ps_exporter_iface_init):
3960 Based on a patch by J�rg Billeter <j@bitron.ch>
3962 Implement print and save a copy for the ps backend.
3964 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3966 * backend/ev-document.h:
3967 * djvu/djvu-document.c: (djvu_document_can_get_text),
3968 (djvu_document_document_iface_init):
3969 * dvi/dvi-document.c: (dvi_document_can_get_text),
3970 (dvi_document_document_iface_init):
3971 * pdf/ev-poppler.cc:
3972 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3973 (pixbuf_document_document_iface_init):
3974 * ps/ps-document.c: (ps_document_can_get_text),
3975 (ps_document_document_iface_init):
3976 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3977 * shell/ev-window.c: (update_action_sensitivity):
3979 Fix the crash when trying to copy in backends that doesnt
3980 support it. We can implement a better solution once we
3981 do real text selection.
3983 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3985 * data/evince-ui.xml:
3986 * shell/ev-window.c: (ev_window_cmd_escape):
3988 Work around the Escape conflict (find bar and unfullscreen)
3990 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3992 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3994 Fix for #300233. Next page correctly handles document end.
3996 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3997 (ev_sidebar_thumbnails_class_init),
3998 (ev_sidebar_thumbnails_set_document),
3999 (ev_sidebar_thumbnails_clear_job),
4000 (ev_sidebar_thumbnails_clear_model):
4002 Cleanup thumbnail jobs on document changes.
4004 * shell/ev-view.c: (add_scroll_binding_keypad),
4005 (add_scroll_binding_shifted), (ev_view_class_init):
4007 Shift + Space scrolls up. Fix for #173184
4009 * shell/ev-window.c: (ev_window_open_page),
4010 (ev_window_cmd_view_reload):
4012 Fix reload (Bug #300094)
4014 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4017 * dvi/mdvi-lib/assoc.c:
4018 * dvi/mdvi-lib/assoc.h: Removed garbage files
4020 * dvi/mdvi-lib/bitmap.c:
4021 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4022 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4023 * dvi/mdvi-lib/color.h: Antialias of rules
4025 * dvi/mdvi-lib/common.h:
4026 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4027 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4028 * dvi/mdvi-lib/files.c:
4029 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4030 * dvi/mdvi-lib/mdvi.h:
4031 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4032 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4033 * dvi/mdvi-lib/util.c: Fix compile warnings
4035 * dvi/dvi-document.c:
4036 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4037 (dvi_document_thumbnails_get_thumbnail),
4038 (dvi_document_document_thumbnails_iface_init):
4039 * dvi/mdvi-lib/Makefile.am:
4040 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4041 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4043 Dvi backend now renders thumbnails
4045 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4047 * shell/main.c: (main):
4049 Save accelerators on exit. Fixes bug #172095.
4051 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4053 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4054 update priority" comment.
4056 * backend/ev-job-queue.c: Give a way to change priority.
4058 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4060 * shell/ev-page-action.c: Fix logic.
4062 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4064 * shell/ev-view.c: (ev_view_can_find_next):
4065 * shell/ev-window.c: (ev_window_setup_document):
4067 Check that the document supports find
4069 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4071 * data/evince-ui.xml:
4072 * shell/ev-view.c: (ev_view_can_find_next):
4074 * shell/ev-window.c: (update_action_sensitivity),
4075 (find_changed_cb), (ev_window_setup_document),
4076 (ev_window_cmd_edit_find_next):
4080 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4082 * pdf/ev-poppler.cc:
4083 * shell/ev-print-job.c: (idle_print_handler):
4085 Make printing work again
4087 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4089 * shell/ev-page-action.h:
4090 * shell/ev-page-action.c: (ev_page_action_widget_init),
4091 (ev_page_action_widget_class_init), (page_changed_cb),
4092 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4093 (get_filter_model_from_model), (match_selected_cb),
4094 (display_completion_text), (match_completion), (update_model),
4095 (connect_proxy), (ev_page_action_set_property),
4096 (ev_page_action_get_property), (ev_page_action_set_document),
4097 (ev_page_action_set_model), (ev_page_action_class_init): Big
4098 reworking to make completions work iff we have >= GTK-2.7.0
4100 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4101 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4102 (job_finished_cb): We now have a 'model' property that is set when
4103 the links are loaded. This can be caught with "notify::model"
4105 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4106 listen for the model to be set, and propagate it to the action.
4108 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4110 * cut-n-paste/recent-files/egg-recent-item.c:
4111 (egg_recent_item_set_uri), (make_valid_utf8),
4112 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4113 * cut-n-paste/recent-files/egg-recent-item.h:
4115 Update egg-recent from libegg. This should fix long
4116 startup problem. For details see
4117 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4119 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4121 * cut-n-paste/recent-files/Makefile.am:
4122 * data/evince-ui.xml, shell/Makefile.am:
4123 * shell/ev-application.c, shell/ev-application.h:
4124 * shell/ev-window.c: Recent files support.
4126 * configure.ac: Added "ru" to ALL_LINGUAS.
4128 * dvju: new backend to support DJVU files.
4129 * dvi: new backend to support DVI.
4131 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4132 * ev-application.c: Support for new backends.
4134 * help, ev-window.c, main.c shell/Makefile.am:
4135 Evince user documentation.
4137 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4140 * shell/ev-window.c:
4141 * thumbnailer/evince-thumbnailer.c:
4143 s/pdf-document/ev-poppler
4145 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4152 * ps/ps-document.c: (setup_pixmap):
4156 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4158 * backend/ev-page-cache.c (ev_page_cache_next_page):
4159 * shell/ev-window.c (ev_window_cmd_go_next_page)
4160 (ev_window_cmd_go_first_page): Fix of by one errors.
4162 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4164 * ps/ps-document.c: (get_page_box):
4166 Fix page size calculation
4168 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4170 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4171 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4172 (get_page_orientation), (setup_page), (document_load),
4173 (ps_document_get_page_size), (render_pixbuf_idle):
4176 More refactoring to adapt to EvDocument changes
4178 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4180 * ps/ps-document.c: (start_interpreter):
4182 Actually add alpha args
4184 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4186 * pdf/ev-poppler.cc:
4188 Make clipboard work again
4190 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4192 Make searching work again.
4194 * backend/ev-document.c:
4195 * backend/ev-document.h:
4196 * backend/ev-document-find.c:
4197 * backend/ev-document-find.h: Change EvDocumentIface so we no
4198 longer store the current page or zoom level in the document. The
4199 consequence is that all calls that operate on the current page now
4200 instead take the page number as an extra argument, and all
4201 coordinates are now doubles in document coordinate system.
4203 * pdf/ev-poppler.cc:
4204 * pixbuf/pixbuf-document.c:
4205 * ps/ps-document.c: Update backends accordingly.
4207 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4211 Add required gettext version
4213 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4215 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4216 make F1 bring up non-existent help.
4218 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4219 epiphany's find bar, #167477
4221 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4222 <emil@nishra.com> to add space-bar scrolling,
4224 * shell/ev-window.c (static GtkActionEntry entries): add default
4225 keybinding for Help (F1)
4228 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4229 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4232 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4235 * pixbuf/pixbuf-document.c:
4237 Got pixbuf backend working again
4239 2005-04-01 Steve Murphy <murf@e-tools.com>
4241 * configure.in: Added "rw" to ALL_LINGUAS.
4243 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
4245 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
4246 model types, noticed by Martin Kretzschmar.
4248 2005-04-01 Kristian Høgsberg <krh@redhat.com>
4250 * pdf/ev-poppler.cc: Implement search based on
4251 poppler_page_find_text(). Currently a bit crude since we remember
4252 all matches from all pages. Also, we grab the big document lock
4253 when we search since searching changes the underlying stream and
4254 thus conflicts with the rendering thread.
4256 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4257 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
4258 (ev_view_find_previous): Fix some page indexes to be 0 based,
4259 offset rubber band by view offset,
4261 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
4263 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
4265 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
4267 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
4268 completely because I didn't understand GtkActions. I should
4269 read Marco's code more carefully in the future.
4271 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
4274 2005-03-31 Kristian Høgsberg <krh@redhat.com>
4276 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
4277 PopplerRectangle change from poppler CVS.
4279 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
4281 * backend/ev-document.c: (ev_document_get_page_label):
4282 * backend/ev-document.h:
4283 * backend/ev-page-cache.c: (_ev_page_cache_new),
4284 (ev_page_cache_get_page_label):
4285 * backend/ev-page-cache.h:
4286 * pdf/ev-poppler.cc:
4287 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
4288 (links_page_num_func):
4289 * shell/ev-sidebar-thumbnails.c:
4290 (ev_sidebar_thumbnails_set_document):
4291 * shell/ev-view.c: (status_message_from_link),
4292 (ev_view_motion_notify_event):
4293 * shell/ev-window.c: (document_supports_sidebar): Add in page
4294 label support. It's not perfect yet, but it's the first 'feature'
4296 Also, fix a bogus comment noticed by crispin.
4298 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
4300 * Makefile.am: Remove pixbuf backend for now
4302 * configure.ac: Require poppler-glib instead of just poppler.
4304 * backend/ev-document-thumbnails.h: Add a comment
4306 * backend/ev-document.h:
4307 * backend/ev-document.c: (ev_document_class_init),
4308 (ev_document_load), (ev_document_get_link),
4309 (ev_document_get_links): Remove 3 methods and add get_links.
4312 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
4313 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
4315 * backend/ev-link.c: (ev_link_set_title),
4316 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
4317 (ev_link_mapping_find):
4318 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
4320 * backend/ev-page-cache.c: (ev_page_cache_init),
4321 (_ev_page_cache_new), (ev_page_cache_set_current_page),
4322 (ev_page_cache_get_size), (ev_page_cache_next_page),
4323 (ev_page_cache_prev_page): Fix to be 0 based.
4327 * pdf/ev-poppler.cc: New backend.
4329 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
4330 (ps_document_get_page), (ps_document_document_iface_init):
4332 * shell/ev-pixbuf-cache.h:
4333 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4334 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
4335 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
4336 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
4337 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
4338 Fix up code to grab a page cache per each doc. Also, fix to be 0
4341 * shell/ev-sidebar-thumbnails.c:
4342 (ev_sidebar_tree_selection_changed), (page_changed_cb),
4343 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
4345 * shell/ev-view.c: (status_message_from_link),
4346 (find_page_at_location), (get_link_at_location),
4347 (ev_view_motion_notify_event), (ev_view_button_release_event),
4348 (ev_view_init): Use the new link code. Fix to be 0 based.
4350 * shell/ev-window.c: (update_action_sensitivity),
4351 (document_supports_sidebar): 0 based.
4353 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
4355 * pdf/pdf-document.cc: Patch from Fernando Herrera
4356 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
4359 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
4361 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
4362 1 to the page, as this seems to be 1 based. I thought we has this
4365 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
4368 * backend/Makefile.am:
4369 * backend/ev-document-links.c:
4370 (ev_document_links_has_document_links),
4371 (ev_document_links_get_links_model):
4372 * backend/ev-document-links.h:
4373 * backend/ev-document.c: (ev_document_get_page_cache),
4374 (ev_document_get_doc_mutex), (ev_document_load),
4375 (ev_document_save), (ev_document_get_title),
4376 (ev_document_get_n_pages), (ev_document_set_page),
4377 (ev_document_get_page), (ev_document_set_target),
4378 (ev_document_set_scale), (ev_document_set_page_offset),
4379 (ev_document_get_page_size), (ev_document_get_text),
4380 (ev_document_get_link), (ev_document_render),
4381 (ev_document_render_pixbuf), (ev_document_scale_changed):
4382 * backend/ev-document.h:
4383 * backend/ev-job-queue.c: (remove_object_from_queue),
4384 (notify_finished), (handle_job), (search_for_jobs_unlocked),
4385 (no_jobs_available_unlocked), (ev_render_thread),
4386 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
4387 (ev_job_queue_remove_job):
4388 * backend/ev-job-queue.h:
4389 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
4390 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
4391 (ev_job_links_class_init), (ev_job_render_init),
4392 (ev_job_render_dispose), (ev_job_render_class_init),
4393 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
4394 (ev_job_thumbnail_class_init), (ev_job_finished),
4395 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
4396 (ev_job_render_run), (ev_job_thumbnail_new),
4397 (ev_job_thumbnail_run):
4398 * backend/ev-jobs.h:
4399 * backend/ev-link.c:
4400 * backend/ev-link.h:
4401 * backend/ev-page-cache.c: (ev_page_cache_init),
4402 (ev_page_cache_class_init), (ev_page_cache_finalize),
4403 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
4404 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
4405 (ev_page_cache_set_link), (ev_page_cache_get_title),
4406 (ev_page_cache_get_size), (ev_page_cache_next_page),
4407 (ev_page_cache_prev_page):
4408 * backend/ev-page-cache.h:
4409 * pdf/pdf-document.cc:
4412 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4413 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
4414 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
4415 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
4416 (is_interpreter_ready), (output), (catchPipe), (input),
4417 (start_interpreter), (check_filecompressed), (compute_dimensions),
4418 (ps_document_enable_interpreter), (document_load),
4419 (ps_document_next_page), (render_page), (ps_document_set_page),
4420 (ps_document_set_scale), (render_pixbuf_idle),
4421 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4423 * shell/Makefile.am:
4424 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4425 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4426 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4427 (ev_pixbuf_cache_new), (job_finished_cb),
4428 (check_job_size_and_unref), (move_one_job),
4429 (ev_pixbuf_cache_update_range), (find_job_cache),
4430 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4431 (ev_pixbuf_cache_add_jobs_if_needed),
4432 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4433 * shell/ev-pixbuf-cache.h:
4434 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4435 (idle_print_handler):
4436 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4437 (selection_changed_cb), (create_loading_model),
4438 (ev_sidebar_links_construct), (links_page_num_func),
4439 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4440 (update_page_callback), (job_finished_cb),
4441 (ev_sidebar_links_set_document):
4442 * shell/ev-sidebar-thumbnails.c:
4443 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4444 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4445 (page_changed_cb), (thumbnail_job_completed_callback),
4446 (ev_sidebar_thumbnails_set_document):
4447 * shell/ev-sidebar-thumbnails.h:
4448 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4449 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4450 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4451 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4452 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4453 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4454 (ev_view_button_release_event), (ev_view_scroll_view),
4455 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4456 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4457 (ev_view_new), (job_finished_cb), (page_changed_cb),
4458 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4459 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4460 (ev_view_find_previous):
4462 * shell/ev-window.c: (update_action_sensitivity),
4463 (ev_window_open_page), (update_window_title), (update_total_pages),
4464 (page_changed_cb), (ev_window_setup_document),
4465 (password_dialog_response), (ev_window_cmd_save_as),
4466 (ev_window_print), (ev_window_cmd_go_previous_page),
4467 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4468 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4469 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4470 * shell/main.c: (main):
4472 Merge evince-threads branch
4474 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4476 * configure.ac: Added "lt" to ALL_LINGUAS.
4478 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4485 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4487 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4489 Fix here also the thumbnails 1-basedness :)
4491 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4498 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4500 * pdf/pdf-document.cc:
4501 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4502 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4504 Fix the mess we did with thumbnails and 1-basedness
4506 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4508 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4510 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4517 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4520 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4521 (gtk_gs_defaults_get_alpha_parameters),
4522 (gtk_gs_defaults_get_ungzip_cmd),
4523 (gtk_gs_defaults_get_unbzip2_cmd):
4525 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4526 (ps_document_get_orientation), (document_load),
4527 (ps_document_goto_page), (ps_document_set_page_size):
4530 Some more sanitization of the ps backend. Remove a lot
4531 of unused code and do not base our defaults on ggv
4534 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4536 * thumbnailer/evince-thumbnailer.schemas:
4537 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4538 (main): add -s option for thumbnail size.
4540 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4544 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4547 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4549 * pdf/pdf-document.cc:
4551 Remove 4 pixels of useless border from the
4554 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4556 * backend/ev-document-thumbnails.c:
4557 (ev_document_thumbnails_get_thumbnail):
4558 * backend/ev-document-thumbnails.h:
4560 Rework API a bit. Add a border flag and
4561 change sizing logic (now the size we specify
4562 applies to the bigger dimension).
4564 * pdf/pdf-document.cc:
4565 * pixbuf/pixbuf-document.c:
4566 (pixbuf_document_thumbnails_get_thumbnail):
4567 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4568 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4570 Adapt to the new API and do not draw a border for nautilus
4573 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4575 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4576 take thumbnails from page "0" instead of "1". Added a copyright header.
4578 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4580 * ps/ps-document.c: (set_up_page), (start_interpreter):
4582 Make it C89 compliant
4584 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4589 * pdf/pdf-document.cc:
4590 * thumbnailer/Makefile.am:
4591 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4593 * thumbnailer/evince-thumbnailer.schemas:
4594 * thumbnailer/pdf-icon.png:
4596 Add a nautilus thumbnailer.
4597 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4599 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4607 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4609 Use poppler instead of including xpdf source code. Poppler is a
4610 fork of xpdf to build it as a shared library. See
4611 http://freedesktop.org/wiki/Software/poppler.
4613 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4616 * pdf/Makefile.am: Build libpdfdocument.a here.
4618 * pdf/GDKSplashOutputDev.cc:
4619 * pdf/GDKSplashOutputDev.h:
4620 * pdf/GnomeVFSStream.cc:
4621 * pdf/GnomeVFSStream.h:
4624 * test-gdk-output-dev.cc
4626 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4629 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4631 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4633 Clear idle stack before unsetting the document
4635 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4637 * ps/ps-document.c: (ps_document_widget_event),
4638 (ps_document_set_target), (ps_document_finalize),
4639 (ps_document_get_page):
4641 Disconnect the widget event signal on finalize.
4644 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4646 * ps/ps-document.c: (set_up_page):
4648 If there is no bpixmap create one, even if size
4651 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4653 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4654 (set_up_page), (document_load), (ps_document_set_zoom):
4656 Default page is 0. Calculate size even when we have no
4659 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4661 * shell/ev-sidebar.c: expand the selection widget to be always as
4664 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4666 * shell/ev-sidebar-thumbnails.c:
4667 (ev_sidebar_thumbnails_set_document):
4669 Clear the list store when setting document
4671 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4673 * shell/ev-page-action.c: (update_entry), (sync_entry),
4674 (activate_cb), (entry_size_request_cb), (create_tool_item),
4677 Use an entry for the page control instead of spinbuttons
4679 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4681 * data/evince.schemas.in:
4683 Correct confusing string
4685 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4687 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4688 for real. Gosh, how long has this been broken.
4690 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4691 check for a NULL link. We crash otherwise.
4693 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4700 2005-02-25 Sebastien Bacher <seb128@debian.org>
4702 * configure.ac: add the french translation.
4704 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4706 * shell/ev-window.c:
4708 Remove unused header -> fix distcheck
4710 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4712 * shell/ev-window.c: (update_window_title),
4713 (ev_window_popup_password_dialog):
4715 Unescape filename for display
4717 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4719 * pdf/xpdf/pdf-document.cc:
4721 In get_page_size deal with rotation. Also
4722 cleanup the function a bit.
4724 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4726 * pdf/xpdf/pdf-document.cc:
4728 Fix crash when opening in new window
4730 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4734 Check ghostscript >= 7
4736 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4738 * shell/ev-window.c:
4740 Make page width the default sizing mode
4742 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4743 Marco Pesenti Gritti <marco@gnome.org>
4745 * shell/ev-window.c: Remember the sidebar size
4747 * data/evince.schemas.in: Add a new gconf key to store the size of
4750 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4752 * data/evince-ui.xml:
4753 * shell/ev-window.c: (update_action_sensitivity),
4754 (ev_window_cmd_view_reload):
4756 Add a "Reload" action and menu entry
4758 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4760 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4761 iff the type doesn't support thumbnailing and indexing.
4763 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4765 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4767 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4769 * pdf/splash/Splash.cc:
4771 Port fix for a crasher from kde bug
4772 http://bugs.kde.org/show_bug.cgi?id=97131
4774 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4776 * pdf/xpdf/pdf-document.cc:
4778 Return a link even if it's of an unrecognized
4779 type. Otherwise we go in an infinte cycle.
4781 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4783 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4784 (size_allocate_cb), (ev_window_set_sizing_mode):
4786 Update size when switching mode
4788 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4790 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4791 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4792 (ev_window_cmd_view_normal_size):
4794 Fix size toggle buttons behavior
4796 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4798 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4799 (doc_rect_to_view_rect), (ev_view_size_allocate),
4800 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4801 (scale_changed_callback):
4803 Do not cache offsets in size_allocate.
4805 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4807 * shell/ev-view.c: (ev_view_size_allocate):
4809 Calculate offsets before calling the parent
4810 class (which does a redraw)
4812 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4814 * pdf/xpdf/pdf-document.cc:
4816 Fix a crasher on exit. Unused code, put a TODO
4818 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4820 * backend/ev-document.c: (ev_document_class_init),
4821 (ev_document_page_changed), (ev_document_scale_changed):
4822 * backend/ev-document.h:
4824 Separate page/scale notifications
4826 * pdf/xpdf/pdf-document.cc:
4828 Emit the new signals.
4829 Do not display the pdf page in _render, do it
4830 when scale/page are requested.
4832 * ps/ps-document.c: (ps_document_set_zoom),
4833 (ps_document_widget_event):
4836 Emit the new signals.
4838 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4839 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4840 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4841 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4843 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4844 (ev_window_cmd_view_page_width), (size_allocate_cb),
4845 (ev_window_set_sizing_mode):
4847 Rework sizing to be pixel based.
4848 There are bugs but should be already way better.
4850 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4852 * shell/ev-window.c: (ev_window_init):
4854 Do not allow to shrink sidebar smaller then
4857 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4859 * shell/ev-sidebar.[ch]
4860 * shell/ev-window.c:
4862 Improved sidebar widget. Fixes #166683
4864 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4866 * shell/ev-view.c (update_find_status_message): Give translators
4867 more flexibility with ngettext plural handling.
4869 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4871 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4872 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4873 page when we get the page size.
4875 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4877 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4879 ps pages are 0 based, convert
4881 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4883 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4885 Initialize correct parent class. Set GError on document load
4887 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4889 * pdf/xpdf/pdf-document.cc:
4891 Fixup selection offset calculation
4893 * shell/ev-view.c: (view_rect_to_doc_rect),
4894 (doc_rect_to_view_rect), (ev_view_size_allocate),
4895 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4896 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4898 Store selection as document relative, so that zooming
4899 and offset changing doesnt break it.
4901 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4903 * shell/ev-view.c: (ev_view_best_fit):
4905 Do not try to best fit if the view is not realized
4907 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4909 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4911 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4913 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4915 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4917 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4918 the popup window. That prevents it resizing when in full screen
4921 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4922 multiple rerenders. This pretty much sucks.
4924 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4925 rest of the toolbar.
4927 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4929 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4931 2005-02-17 Alexander Shopov <ash@contact.bg>
4933 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4935 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4937 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4939 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4941 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4942 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4943 (set_document_page), (document_changed_callback),
4944 (ev_view_set_document), (ev_view_find_previous),
4945 (ev_view_hide_cursor), (ev_view_show_cursor):
4947 * shell/ev-window.c: (update_chrome_visibility),
4948 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4949 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4950 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4951 (ev_window_unfullscreen):
4952 * shell/main.c: (main):
4954 Automatically hide the fullscreen button.
4955 Patch by Kristian Høgsberg <krh@redhat.com>
4957 2005-02-16 Vincent Noel <vnoel@cox.net>
4959 * shell/main.c (main): Specify an icon for the window. Patch by
4960 Jaap A. Haitsma. Fixes #166177.
4962 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4964 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4966 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4968 * backend/ev-document-misc.h:
4969 * backend/ev-document-misc.c:
4970 (ev_document_misc_get_page_border_size),
4971 (ev_document_misc_paint_one_page): New function to canonicalize
4972 sizing/painting a border.
4974 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4977 * pdf/xpdf/pdf-document.cc: use new function
4979 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4980 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4981 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4982 shell/ev-window.c: (update_sizing_buttons),
4983 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4984 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4985 (ev_window_cmd_view_page_width), (size_allocate_cb),
4986 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4987 and "fit width" values act as toggle buttons so they stay
4988 toggled. It's not 100% perfect, and it's a little slow, but it's
4989 good enough to commit I think.
4991 2005-02-15 David Lodge <dave@cirt.net>
4993 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4995 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4997 * shell/ev-window.c (update_window_title): replace newlines in
4998 the title by spaces. Bug #166107.
5000 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5002 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5003 parameters providing allocation width and height without
5004 scrollbars and width of a possible vertical scrollbar. With this
5005 additional information the functions can work as
5006 intended. Unfortunately they're not idempotent. We should
5007 transform these commands to toggles. Fixes Bug #164976
5008 Initial patch by Stephane Loeuillet, then heavily modified.
5010 * shell/ev-view.h: update prototypes.
5012 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5013 (ev_window_cmd_view_page_width): provide EvView fit functions with
5014 all the information they need. Formulas to calculate this
5015 information taken from GtkScrolledWindow.
5017 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5019 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5020 created a thumbnail, the list store is updated to know
5021 that the thumbnail is set. Fixes bug #166792
5023 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5025 * shell/ev-window.c: fixed typo, closes bug 166897
5027 * TODO: updated TODO with bug numbers that are relevant
5029 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5031 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5033 2005-02-09 Vincent Noel <vnoel@cox.net>
5035 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5036 and "Next" toolbar buttons as important to make them stand out.
5038 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5042 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5043 (start_interpreter), (stop_interpreter), (document_load),
5044 (ps_document_next_page), (ps_document_goto_page),
5045 (ps_document_set_page_size), (ps_document_widget_event),
5046 (ps_document_render):
5047 * shell/ev-page-view.c: (ev_page_view_dispose):
5048 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5050 Fix compilation on non-gcc platforms
5052 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5059 * pdf/xpdf/Catalog.cc:
5062 Fix the fix for CAN-2004-0888
5064 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5067 * data/evince-ui.xml:
5068 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5069 * shell/ev-stock-icons.h:
5070 * shell/ev-window.c: (update_action_sensitivity),
5071 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5072 (set_action_properties):
5074 Improve toolbar layout/icons
5076 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5078 * pdf/xpdf/pdf-document.cc:
5080 Add warnings about unimplemented/unknown link
5083 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5085 * ps/ps-document.c: (set_up_page):
5089 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5091 * ps/ps-document.c: (start_interpreter):
5095 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5097 * shell/ev-page-view.c: (ev_page_view_dispose):
5098 * shell/ev-view.c: (ev_view_finalize):
5099 * shell/ev-window.c: (ev_window_setup_document),
5100 (ev_window_dispose), (ev_window_init):
5102 Solve more refs issues.
5104 I commented out the page_view initialization for now:
5105 it was never destroyed (because it's never added
5106 to a container). Because of that we was leaking
5107 gs processes. Couldnt think to a clean fix.
5108 We need to figure this out, password view has the
5109 same issue probably.
5111 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5113 * ps/ps-document.c: (ps_document_finalize),
5114 (ps_document_get_n_pages), (ps_document_get_page):
5116 Some cleanups, stop the interpreter on finalize
5118 * shell/ev-page-view.c: (ev_page_view_dispose),
5119 (ev_page_view_class_init):
5121 Release our reference on the document
5123 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5127 * doc/debugging.txt:
5130 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5131 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5132 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5135 Add debugging helpers
5138 * ps/ps-document.c: (set_up_page), (start_interpreter),
5139 (stop_interpreter), (document_load), (ps_document_next_page),
5140 (ps_document_goto_page), (ps_document_set_page_size),
5141 (ps_document_widget_event), (ps_document_render):
5142 * shell/Makefile.am:
5143 * shell/ev-view.c: (expose_bin_window):
5144 * shell/main.c: (main):
5148 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5150 * ps/ps-document.c: (ps_document_widget_event):
5152 Initialize message_window, this should make ps
5153 rendering really work! (Never noticed because I was
5154 testing with a ps that is causing gs to exit every time!)
5156 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5158 * data/evince.schemas.in: updated simple error in applyto closing tag
5160 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5166 * data/evince-ui.xml:
5167 A data/evince.schemas.in:
5169 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5170 * shell/ev-stock-icons.h:
5171 * shell/ev-window.c: (update_chrome_visibility),
5172 (update_chrome_flag), (ev_window_cmd_edit_find),
5173 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5174 (ev_window_unfullscreen), (ev_window_focus_in_event),
5175 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5176 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5177 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5178 (ev_window_dispose), (ev_window_class_init),
5179 (set_action_properties), (set_chrome_actions), (load_chrome),
5182 Implement fullscreen mode changes from bug #164776.
5183 Also implement persistent chrome toggles.
5185 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5187 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5189 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5195 Add another check for find interface
5199 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5201 * shell/ev-application.c: (ev_application_open):
5202 * shell/ev-window.c: (ev_window_open):
5204 Open gzipped ps documents
5206 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5209 * shell/ev-view.c: (set_document_page):
5211 Clamp page number, dont try to move to
5214 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5216 * backend/ev-document-find.c: (ev_document_find_changed):
5217 * backend/ev-document-find.h:
5218 * pdf/xpdf/pdf-document.cc:
5219 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5220 * shell/ev-window.c: (find_bar_search_changed_cb):
5222 Fix several bugs with find
5224 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5226 * shell/ev-sidebar-thumbnails.c
5227 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5228 document. Prevents warning from scroll_to_cell.
5230 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5232 * configure.ac: Add «nb» to ALL_LINGUAS too.
5234 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5236 * NOTES: New file with some random thoughts.
5240 * backend/ev-document-misc.c:
5241 (ev_document_misc_get_page_border_size): New function to
5242 canonicalize shadow drawing sizes. Possibly goofy.
5244 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
5245 (ev_view_best_fit), (ev_view_fit_width):
5246 * pdf/xpdf/pdf-document.cc:
5247 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5248 * ps/ps-document.c: (ps_document_get_page_size):
5249 * backend/ev-document-misc.h:
5250 * backend/ev-document.c: (ev_document_get_page_size):
5251 * backend/ev-document.h: get_page_size now takes a page number
5252 parameter. Made all the backends/frontends honor it.
5254 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
5255 see. Doesn't work yet.
5257 * shell/Makefile.am:
5258 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
5259 Doesn't do anything yet.
5261 * shell/ev-sidebar-thumbnails.c:
5262 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
5265 * shell/ev-window.c: (update_action_sensitivity),
5266 (ev_window_setup_document), (ev_window_set_page_mode),
5267 (ev_window_page_mode_cb), (ev_window_init): Clean up the
5268 view-swapping code a bit so we can have multiple views on a
5269 document. Add the multi-page view, though it can't be turned on
5272 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5274 * shell/ev-application.c: (ev_application_open):
5275 * shell/ev-view.c: (expose_bin_window):
5276 * shell/ev-window.c: (ev_window_open):
5278 Support eps and check document supports find
5279 before drawing highlightings in expose.
5281 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5283 * pixbuf/pixbuf-document.c:
5284 (pixbuf_document_thumbnails_get_dimensions),
5285 (pixbuf_document_document_thumbnails_iface_init):
5287 implement get_dimensions
5289 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
5296 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5298 * shell/ev-view.c: (set_document_page):
5300 Scroll at the top of the page when changing page
5302 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5304 * shell/ev-view.c: (ev_view_motion_notify_event):
5306 Do not redraw unnecessarily
5308 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5310 * pdf/xpdf/pdf-document.cc:
5311 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5312 (expose_bin_window), (find_changed_cb):
5314 Yay! find works now... Now to find bugs...
5316 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
5318 * backend/ev-document-find.c: (ev_document_find_base_init),
5319 (ev_document_find_changed):
5320 * backend/ev-document-find.h:
5321 * pdf/xpdf/pdf-document.cc:
5322 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5323 (expose_bin_window), (ev_view_init), (set_document_page),
5324 (ensure_rectangle_is_visible), (jump_to_find_result),
5325 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
5326 (ev_view_find_next), (ev_view_find_previous):
5328 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
5330 More work on find implementation, mostly there now
5332 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
5334 * backend/ev-backend-marshalers.list:
5335 * backend/ev-document-find.c: (ev_document_find_base_init),
5336 (ev_document_find_cancel), (ev_document_find_page_has_results),
5337 (ev_document_find_get_n_results), (ev_document_find_get_result),
5338 (ev_document_find_get_progress), (ev_document_find_changed):
5339 * backend/ev-document-find.h:
5341 Enanche the find interface to be really able to do
5344 * pdf/xpdf/pdf-document.cc:
5348 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
5349 (expose_bin_window), (ev_view_init),
5350 (ev_view_get_find_status_message), (find_changed_cb),
5351 (ev_view_set_document), (set_document_page):
5353 Adapt to the new interface. A few things are regressed sorry,
5354 I will finish it soon.
5356 2005-01-28 Martin Kretzschmar <martink@gnome.org>
5358 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
5359 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5360 ev_sidebar_thumbnails_parent_class variable, don't define another
5361 parent_class variable.
5363 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
5364 (ev_page_action_class_init): ditto.
5366 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
5367 (pixbuf_document_class_init): ditto.
5369 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
5372 * .cvsignore: ignore various valgrind output files.
5374 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5376 * data/evince-ui.xml:
5377 * shell/Makefile.am:
5378 * shell/ev-history.c:
5379 * shell/ev-history.h:
5380 * shell/ev-navigation-action.c:
5381 * shell/ev-navigation-action.h:
5382 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
5383 (ev_view_set_page), (ev_view_fit_width):
5385 * shell/ev-window.c: (update_action_sensitivity),
5386 (ev_window_setup_document), (register_custom_actions):
5388 Kill session history
5390 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
5392 * shell/ev-window.c: (update_action_sensitivity):
5394 Fix inverted up/down buttons
5396 2005-01-27 Martin Kretzschmar <martink@gnome.org>
5398 * shell/ev-sidebar-thumbnails.c
5399 (ev_sidebar_thumbnails_select_page): make sure the selected
5400 thumbnail stays visible.
5402 2005-01-26 Martin Kretzschmar <martink@gnome.org>
5404 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
5405 scrolled window for Federico.
5407 2005-01-26 Ole Laursen <olau@hardworking.dk>
5409 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
5411 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
5414 * pdf/splash/SplashFTFontEngine.cc:
5416 Fix CID fonts with freetype 2.1.9
5418 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5420 * TODO: added item for desktop icon thumbnailer
5422 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5424 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5425 unloaded docs when the title is accessed.
5427 * shell/ev-password-view.[hc]: New widget for displaying password
5430 * shell/ev-window.[ch]: Refactor password handling code to handle
5433 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5441 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5443 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5444 ignore page offset here, to make search results independent of it,
5446 * shell/ev-view.c (expose_bin_window): but take offsets into
5447 account here. Bug #164932
5449 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5450 scale at the right time. Bug #164996
5452 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5454 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5455 fix the problem. Now I just removed the Adobe font names and hope
5456 that the URW fonts are always in outline format. Bug #164934
5458 * shell/ev-window.c (update_window_title): empty titles are
5459 useless, use filename in that case too.
5461 * NEWS: Add some content.
5463 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5465 * TODO: added one more TODO item and a TODONE section :)
5467 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5469 * ps/ps-document.h: add page_[xy]_offset fields.
5471 * ps/ps-document.c (ps_document_set_page_offset)
5472 (ps_document_render): Keep offset in consideration in a few
5473 places. Bug #164752 "postscript documents are not centered in
5476 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5477 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5479 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5480 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5481 stub out missing methods for complete EvDocument implementation.
5482 Fixes segfaults with Save A Copy and Copy actions.
5484 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5485 (ps_document_document_iface_init): ditto.
5487 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5491 * data/evince.desktop.in:
5495 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5497 * shell/ev-view.c: (ev_view_button_press_event),
5498 (ev_view_motion_notify_event):
5500 Make selection work in any direction
5502 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5505 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5507 Use shorter labels for some of the toolbars items
5509 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5511 * pdf/xpdf/pdf-document.cc:
5513 Check the links info is initialized before
5514 using it. Should fix a crash on startup.
5516 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5518 * pixbuf/pixbuf-document.c
5519 (pixbuf_document_thumbnails_get_dimensions): force floating point
5520 division to calculate page_ratio. Fixes crash with landscape
5523 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5525 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5527 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5529 * shell/ev-view.c (set_document_page): unset has_selection when
5531 (set_document_page): handle paper size changes when the page
5532 changes (test with Free Culture, page 2).
5534 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5536 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5537 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5539 Use normal style color for the widget background and
5540 draw a black box around the page.
5542 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5544 * pdf/xpdf/pdf-document.cc:
5546 Keep offset in consideration in a few places
5548 * shell/ev-view.c: (expose_bin_window):
5550 Set the offsets so that the document is ever centered
5552 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5554 * TODO: Added TODO items and finished off the first todo item
5556 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5557 reflect current authors
5559 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5561 * pdf/xpdf/pdf-document.cc:
5562 * shell/ev-view.c: (ev_view_set_cursor),
5563 (ev_view_motion_notify_event), (document_changed_callback),
5564 (set_document_page):
5566 Show a wait cursor while the page is rendering
5568 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5570 * shell/ev-sidebar-thumbnails.c:
5571 (ev_sidebar_tree_selection_changed),
5572 (ev_sidebar_thumbnails_select_page):
5573 * shell/ev-sidebar-thumbnails.h:
5574 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5575 (ev_view_can_go_forward):
5576 * shell/ev-window.c: (ev_window_open_page),
5577 (ev_window_setup_document), (update_current_page),
5578 (view_page_changed_cb), (ev_window_init):
5579 * shell/ev-window.h:
5581 Ensure thumbnails selection, toolbar page control and
5582 current page are in sync.
5584 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5590 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5592 * backend/Makefile.am:
5593 * backend/ev-document-links.h:
5594 * backend/ev-document-security.c: (ev_document_security_get_type),
5595 (ev_document_security_has_document_security),
5596 (ev_document_security_set_password):
5597 * backend/ev-document-security.h:
5598 * backend/ev-document.c: (ev_document_error_quark):
5599 * backend/ev-document.h:
5601 * data/evince-password.glade:
5602 * pdf/xpdf/pdf-document.cc:
5603 * shell/Makefile.am:
5604 * shell/ev-password.c: (ev_password_set_bad_password_label),
5605 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5606 (ev_password_dialog_get_password),
5607 (ev_password_dialog_set_bad_pass):
5608 * shell/ev-password.h:
5609 * shell/ev-window.c: (ev_window_get_attribute),
5610 (ev_window_set_property), (update_action_sensitivity),
5611 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5612 (ev_window_setup_document), (ev_window_get_password),
5613 (ev_window_open), (ev_window_cmd_save_as),
5614 (using_postscript_printer), (ev_window_print),
5615 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5616 (update_fullscreen_popup), (ev_window_fullscreen),
5617 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5618 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5619 (menu_item_select_cb), (find_bar_search_changed_cb),
5620 (ev_window_dispose), (ev_window_init):
5622 Add initial support for password-supported dialogs. This could be
5623 a lot cooler, but it'll do for now.
5625 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5627 * pdf/xpdf/pdf-document.cc:
5628 * shell/ev-view.c: (status_message_from_link),
5629 (ev_view_set_status), (ev_view_set_cursor),
5630 (ev_view_motion_notify_event), (ev_view_init):
5631 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5633 Fix bugs in the links implementation and change cursor
5634 when hovering a link.
5636 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5638 * viewer/.cvsignore: added cvsignore file for viewer directory
5640 * TODO: created TODO document
5642 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5645 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5646 new functions to help with implementation of sensitivity code
5647 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5648 of all actions that might require it. Fixes a crash when you
5649 click on the Zoom actions in a window lacking a document.
5651 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5653 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5656 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5658 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5659 (pixbuf_document_document_iface_init):
5660 * ps/ps-document.c: (ps_document_get_link),
5661 (ps_document_document_iface_init):
5662 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5663 (status_message_from_link), (ev_view_set_status),
5664 (ev_view_set_find_status), (ev_view_motion_notify_event),
5665 (ev_view_button_release_event), (ev_view_set_property),
5666 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5667 (ev_view_get_find_status_message), (update_find_results),
5668 (ev_view_get_status), (ev_view_get_find_status):
5670 * shell/ev-window.c: (view_status_changed_cb),
5671 (view_find_status_changed_cb), (ev_window_init):
5673 View status message support, use it to show the links.
5676 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5678 * backend/ev-document.c: (ev_document_get_link):
5679 * backend/ev-document.h:
5680 * pdf/xpdf/pdf-document.cc:
5681 * shell/ev-application.c: (ev_application_open):
5682 * shell/ev-application.h:
5683 * shell/ev-sidebar-links.c: (selection_changed_cb):
5684 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5685 (ev_view_go_to_link):
5687 Add support for document links
5689 2005-01-13 Anders Carlsson <andersca@gnome.org>
5691 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5693 Set the spin button limits correctly.
5695 * shell/ev-sidebar-thumbnails.c:
5696 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5697 Support changing pages by clicking on the thumbnails.
5699 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5701 * pixbuf/pixbuf-document.c:
5702 (pixbuf_document_thumbnails_get_dimensions),
5703 (pixbuf_document_document_thumbnails_iface_init):
5705 implement get_dimensions
5707 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5709 * ps/ps-document.c: (ps_document_goto_page):
5711 Fix page switching on multipage documents
5713 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5715 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5717 check for NULL before assigning to width and height parameters
5719 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5721 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5722 (pixbuf_document_set_property), (pixbuf_document_get_property):
5724 implement get/set properties
5726 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5728 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5730 return NULL instead of "Unknown", letting the title get set to
5731 the filename when the pdf has no title.
5733 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5735 * ps/ps-document.c: (ps_document_get_page_count),
5736 (ps_document_goto_page):
5738 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5740 * shell/ev-history.c: (ev_history_get_property),
5741 (ev_history_set_property), (ev_history_class_init),
5742 (ev_history_add_page), (ev_history_set_current_index):
5743 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5744 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5745 (ev_navigation_action_finalize):
5746 * shell/ev-navigation-action.h:
5747 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5748 (ev_view_go_forward), (ev_view_get_find_status_message),
5749 (history_index_changed_cb), (ev_view_set_history):
5751 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5752 (update_current_page), (register_custom_actions):
5754 Implement history dropdowns
5756 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5758 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5759 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5760 (ev_view_go_forward):
5761 * shell/ev-window.c: (register_custom_actions):
5763 Fix several history bugs
5765 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5767 * configure.ac: Add «nb» to ALL_LINGUAS.
5769 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5771 * backend/Makefile.am:
5772 * backend/ev-bookmark.c:
5773 * backend/ev-bookmark.h:
5774 * backend/ev-document-bookmarks.c:
5775 * backend/ev-document-bookmarks.h:
5776 * backend/ev-document-links.c: (ev_document_links_get_type),
5777 (ev_document_links_has_document_links),
5778 (ev_document_links_begin_read), (ev_document_links_get_link),
5779 (ev_document_links_get_child), (ev_document_links_next),
5780 (ev_document_links_free_iter):
5781 * backend/ev-document-links.h:
5782 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5783 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5784 (ev_link_get_link_type), (ev_link_set_link_type),
5785 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5786 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5787 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5788 (ev_link_new_external):
5789 * backend/ev-link.h:
5790 * pdf/xpdf/pdf-document.cc:
5791 * shell/Makefile.am:
5792 * shell/ev-application.c: (ev_application_open_link):
5793 * shell/ev-application.h:
5794 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5795 (ev_history_get_link_nth):
5796 * shell/ev-history.h:
5797 * shell/ev-sidebar-bookmarks.c:
5798 * shell/ev-sidebar-bookmarks.h:
5799 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5800 (ev_sidebar_links_class_init), (selection_changed_cb),
5801 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5802 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5803 (do_one_iteration), (populate_links_idle),
5804 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5805 * shell/ev-sidebar-links.h:
5806 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5807 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5810 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5811 * shell/ev-window.h:
5813 Rename bookmark to link, and use "Index" for the sidebar panel.
5815 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5817 * shell/Makefile.am:
5818 * shell/ev-application.c: (ev_application_open_bookmark):
5819 * shell/ev-application.h:
5820 * shell/ev-history.c: (ev_history_init), (free_links_list),
5821 (ev_history_finalize), (ev_history_class_init),
5822 (ev_history_add_link), (ev_history_add_page),
5823 (ev_history_get_link_nth), (ev_history_get_n_links),
5824 (ev_history_get_current_index), (ev_history_set_current_index),
5826 * shell/ev-history.h:
5827 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5828 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5829 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5830 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5833 * shell/ev-window.c: (ev_window_open_bookmark),
5834 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5835 (goto_page_cb), (register_custom_actions):
5836 * shell/ev-window.h:
5838 Initial history implementation. Needs work.
5840 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5842 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5844 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5846 * cut-n-paste/recent-files/egg-recent-item.c:
5847 * cut-n-paste/recent-files/egg-recent-item.h:
5848 * cut-n-paste/recent-files/egg-recent-model.c:
5849 * cut-n-paste/recent-files/egg-recent-util.c:
5850 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5851 * cut-n-paste/recent-files/egg-recent-view.c:
5855 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5857 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5858 (fillGlyph, fillImageMask, drawImage):
5859 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5860 pdf/splash/SplashTypes.h:
5861 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5862 packed mode for Splash.
5864 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5865 RGB8 packed mode, eliminates the pixbuf data creation loop.
5867 * shell/ev-print-job.c (ev_print_job_finalize)
5868 (ev_print_job_set_property, ev_print_job_get_property)
5869 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5870 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5871 (print_closure_finalize, ev_print_job_print): implement
5872 printing (for backends with EvPsExporter)
5874 * shell/ev_print_job.h: update prototypes.
5876 * shell/ev-window.c (ev_window_print): unref print job after
5879 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5880 unless the document implements the EvDocumentFind interface.
5882 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5884 * configure.ac: Added ja to ALL_LINGUAS.
5886 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5888 * pdf/xpdf/pdf-document.cc:
5890 add a FIXME. We should probably not allocate
5891 a bookmark object every time
5893 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5895 * shell/ev-application.c: (ev_application_open),
5896 (ev_application_open_bookmark):
5897 * shell/ev-application.h:
5899 Add a way to open bookmarks
5901 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5902 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5903 (ev_bookmark_set_property), (ev_bookmark_class_init),
5904 (ev_bookmark_new_title), (ev_bookmark_new_link),
5905 (ev_bookmark_new_external):
5907 Support for external uris, better constructors.
5909 * backend/ev-bookmark.h:
5910 * pdf/xpdf/pdf-document.cc:
5911 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5913 Handle external uris
5915 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5917 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5918 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5920 Hook up bookmarks navigation
5922 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5924 * backend/Makefile.am:
5925 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5926 (ev_bookmark_get_title), (ev_bookmark_set_title),
5927 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5928 (ev_bookmark_get_page), (ev_bookmark_set_page),
5929 (ev_bookmark_get_property), (ev_bookmark_set_property),
5930 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5932 * backend/ev-bookmark.h:
5933 * backend/ev-document-bookmarks.c:
5934 (ev_document_bookmarks_get_bookmark):
5935 * backend/ev-document-bookmarks.h:
5936 * pdf/xpdf/pdf-document.cc:
5937 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5939 Add a bookmark object to the backend and use it instead of get_values
5941 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5943 * data/evince-ui.xml:
5945 Cleanup and add select all.
5947 * shell/ev-view.c: (ev_view_select_all),
5948 (ev_view_button_press_event):
5950 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5953 Clear selection on click.
5955 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5957 * shell/ev-sidebar-thumbnails.c
5958 (ev_sidebar_thumbnails_set_document): forgot to unref the
5961 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5963 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5964 at the visible page, not just linearly. This makes it look fast.
5966 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5968 * backend/ev-document-misc.c
5969 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5971 * backend/ev-document-thumbnails.h: New interface to get the size
5974 2005-01-06 Jeremy Katz <katzj@redhat.com>
5976 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5979 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5981 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5982 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5985 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5987 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5989 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5990 fonts. Should fix font problems on systems that have the base
5991 fonts in bitmap format. Reported by James Henstridge
5992 <james@jamesh.id.au>.
5994 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5997 * pdf/xpdf/GfxState.cc:
5999 Fix for CAN-2004-1125
6001 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6003 * shell/ev-view.c: (ev_view_copy):
6005 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6007 Implement Edit->Copy
6009 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6011 * backend/ev-document.c: (ev_document_get_text):
6012 * backend/ev-document.h:
6013 * pdf/xpdf/pdf-document.cc:
6014 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6015 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6016 (ev_view_update_primary_selection), (ev_view_button_press_event),
6017 (ev_view_motion_notify_event), (ev_view_button_release_event):
6019 Beginnings of clipboard support. Incomplete but primary sort
6022 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6024 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6025 (expose_bin_window):
6027 Nicer rubberband drawing, from GtkIconView.
6029 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6031 * backend/ev-document.c: (ev_document_save):
6032 * backend/ev-document.h:
6033 * data/evince-ui.xml:
6034 * pdf/xpdf/pdf-document.cc:
6035 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6037 Implement "Save a copy..." menu item
6039 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6041 * shell/ev-view.c: (ev_view_zoom):
6043 Queue a resize when zoom changes
6045 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6047 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6050 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6053 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6055 * pdf/xpdf/pdf-document.cc
6056 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6058 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6060 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6061 It's slow, but I'll speed it up next!
6063 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6065 * shell/main.c (load_files):
6067 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6068 from the command line and because it seems more appropriate.
6070 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6072 * data/evince-ui.xml:
6073 * shell/ev-window.c: (update_action_sensitivity),
6074 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6076 s/next page/page down
6077 s/previous page/page up
6079 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6081 * data/evince-ui.xml:
6083 Change the layout to match clarkbw design.
6085 * shell/Makefile.am:
6086 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6087 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6088 (ev_navigation_action_finalize),
6089 (ev_navigation_action_set_property),
6090 (ev_navigation_action_get_property),
6091 (ev_navigation_action_class_init):
6092 * shell/ev-navigation-action.h:
6094 Implement clarkbw toolbar navigation controls (incomplete)
6096 * shell/ev-page-action.c: (update_label), (update_spin),
6097 (value_changed_cb), (create_tool_item), (connect_proxy),
6098 (ev_page_action_init), (ev_page_action_finalize),
6099 (ev_page_action_set_property), (ev_page_action_get_property),
6100 (ev_page_action_set_current_page),
6101 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6102 * shell/ev-page-action.h:
6104 Implement a page switcher in the toolbar
6106 * shell/ev-view.c: (ev_view_scroll_view):
6107 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6108 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6109 (register_custom_actions), (ev_window_init):
6111 Change page on PageUp/Down.
6113 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6115 * pdf/xpdf/pdf-document.cc
6116 (pdf_document_thumbnails_get_thumbnail): initial stab at
6117 implementing thumbnail support for pdfs. It only does documents
6118 with precached pdfs now.
6120 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6122 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6123 thumbnail code into a time-based idle as well. Also, turn off the
6124 shadow temporarily as it's really slow.
6126 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6128 * backend/ev-document.c: (ev_document_class_init):
6129 * pdf/xpdf/pdf-document.cc:
6130 * shell/ev-window.c: (ev_window_open):
6132 Fix document title bugs and fallback to
6133 filename when not available.
6135 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6137 * backend/ev-document.c: (ev_document_get_type),
6138 (ev_document_class_init), (ev_document_load),
6139 (ev_document_get_title):
6140 * backend/ev-document.h:
6141 * pdf/xpdf/pdf-document.cc:
6142 * ps/ps-document.c: (ps_document_set_property),
6143 (ps_document_get_property), (ps_document_class_init),
6147 * shell/ev-window.c: (update_window_title), (ev_window_open),
6150 Initial support for document title. Not working yet.
6152 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6154 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6156 Grab focus on the view when clicking it
6158 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6160 * shell/ev-marshal.list:
6161 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6162 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6164 Add key bindings to the view. Now if the focus would work
6167 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6170 * backend/Makefile.am:
6173 * dvi/dvilib/Makefile.am:
6174 * pdf/xpdf/Makefile.am:
6180 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6182 * shell/ev-view.c: (ev_view_realize):
6184 Fix mouse wheel scrolling
6186 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6192 * ps/ps-document.c: (catchPipe), (ps_document_init),
6193 (ps_document_class_init), (ps_document_cleanup),
6194 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6195 (set_up_page), (close_pipe), (is_interpreter_ready),
6196 (interpreter_failed), (output), (input), (start_interpreter),
6197 (stop_interpreter), (file_length), (file_readable),
6198 (check_filecompressed), (check_pdf), (compute_xdpi),
6199 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6200 (ps_document_get_type), (ps_document_emit_error_msg),
6201 (document_load), (ps_document_next_page),
6202 (ps_document_get_current_page), (ps_document_get_page_count),
6203 (ps_document_goto_page), (ps_document_set_page_size),
6204 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6205 (ps_document_load), (ps_document_get_n_pages),
6206 (ps_document_set_page), (ps_document_get_page),
6207 (ps_document_widget_event), (ps_document_set_target),
6208 (ps_document_set_scale), (ps_document_set_page_offset),
6209 (ps_document_get_page_size), (ps_document_render),
6210 (ps_document_document_iface_init):
6213 * shell/ev-window.c: (ev_window_open):
6215 Rename GtkGS to PSDocument
6217 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6219 * ps/gtkgs.c: (gtk_gs_class_init):
6222 Some more leftover...
6224 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6226 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6227 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6228 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6231 Remove unused code and make a lot of stuff private
6233 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6235 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6236 (gtk_gs_defaults_changed):
6242 Cleanup headers dependencies
6244 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6249 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
6251 * ps/gtkgs.c: (file_length), (file_readable),
6252 (check_filecompressed), (check_pdf), (gtk_gs_load),
6253 (gtk_gs_get_postscript):
6257 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6262 * ps/gtkgs.c: (gtk_gs_set_zoom):
6266 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6268 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
6270 Ensure the page is rerendered when changing zoom
6272 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
6274 * backend/ev-document.c: (ev_document_base_init),
6275 (ev_document_changed):
6276 * backend/ev-document.h:
6278 Add a changed event that is emitted when the page content
6279 changes. This is necessary to deal with the fact that
6280 in ps backend rendering happen asycrounously.
6281 This makes the ps backend mostly work.
6283 * pdf/xpdf/pdf-document.cc:
6287 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
6288 (ps_document_set_target):
6292 * shell/ev-view.c: (document_changed_callback),
6293 (ev_view_set_document), (ev_view_set_page):
6295 Redraw on the changed signal
6297 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
6299 * configure.ac: Added pt_BR to ALL_LINGUAS.
6301 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
6303 * backend/ev-document-bookmarks.c:
6304 (ev_document_bookmarks_get_child): *
6305 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6306 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
6307 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
6308 (ev_sidebar_bookmarks_destroy),
6309 (ev_sidebar_bookmarks_class_init),
6310 (ev_sidebar_bookmarks_construct), (stack_data_free),
6311 (do_one_iteration), (populate_bookmarks_idle),
6312 (ev_sidebar_bookmarks_clear_document),
6313 (ev_sidebar_bookmarks_set_document): *
6314 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
6315 (ev_sidebar_add_page),
6316 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
6317 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
6318 it displays both the topics and the page numbers.
6320 2004-12-23 Kristian Høgsberg <krh@redhat.com>
6322 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
6324 * shell/ev-window.c (toggle_entries): Set sidebar default value to
6327 2004-12-23 Adam Weinberger <adamw@gnome.org>
6329 * configure.ac: Added en_CA to ALL_LINGUAS.
6331 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6333 * ChangeLog: replace bottom of this ChangeLog (merged history of
6334 ggv and gpdf; where all paths were wrong and most of the files are
6335 not even in this tree) with ChangeLog (from arch) of the shell
6338 2004-12-23 Havoc Pennington <hp@redhat.com>
6340 * shell/ev-window.c: hook up potentially-questionable "find
6341 results status text" feature - something involving the sidebar or
6342 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
6343 might be better in the end.
6345 * shell/ev-view.c (ev_view_get_find_status_message): new function,
6346 with corresponding signal when it should be updated
6348 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
6350 2004-12-22 Havoc Pennington <hp@redhat.com>
6352 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
6353 find stuff on other pages, sort of (only returns one result on
6354 invisible pages, to show they have results; updates full results
6355 for a page when you view it). Currently repaints the current page
6356 every time a new result is found on any page, which isn't so nice.
6358 2004-12-22 Havoc Pennington <hp@redhat.com>
6360 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
6361 the document doesn't support find (better ideas?)
6362 (find_bar_search_changed_cb): handle missing document or document
6363 that doesn't support find
6365 * pdf/xpdf/pdf-document.cc: port to implement the new
6368 * backend/ev-document-find.c: create a new interface for searching
6370 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
6372 2004-12-23 Martin Kretzschmar <martink@gnome.org>
6374 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
6377 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
6378 EvPrintJob constructor arguments.
6380 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
6381 for documents that can export PostScript (page by page).
6383 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
6385 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
6386 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
6387 (pdf_document_ps_exporter_iface_init:
6388 Implement EvPSExporter.
6390 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
6392 2004-12-22 Anders Carlsson <andersca@gnome.org>
6394 * backend/Makefile.am:
6395 * backend/ev-document-thumbnails.c:
6396 (ev_document_thumbnails_get_type),
6397 (ev_document_thumbnails_get_thumbnail):
6398 * backend/ev-document-thumbnails.h:
6399 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6400 (pixbuf_document_thumbnails_get_thumbnail),
6401 (pixbuf_document_document_thumbnails_iface_init):
6402 * shell/Makefile.am:
6403 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
6404 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
6405 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
6406 * shell/ev-sidebar-thumbnails.h:
6407 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
6408 (ev_sidebar_set_document):
6409 * shell/ev-utils.c: (gaussian), (create_blur_filter),
6410 (create_shadow), (ev_pixbuf_add_shadow):
6412 Add thumbnail support.
6414 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6416 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
6417 (using_postscript_printer): Set up a print dialog for "PostScript
6420 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6423 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6425 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6427 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6428 (ps_document_set_target), (ps_document_get_page_size),
6429 (ps_document_render):
6434 2004-12-22 Christian Rose <menthos@menthos.com>
6436 * configure.ac: Added "sv" to ALL_LINGUAS.
6438 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6440 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6441 document supports bookmarks.
6443 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6445 * ps/ggvutils.c: (ggv_file_readable):
6447 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6448 (gtk_gs_get_postscript):
6452 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6454 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6455 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6456 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6457 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6458 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6459 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6460 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6461 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6462 (gtk_gs_set_antialiasing), (ps_document_load),
6463 (ps_document_render):
6466 Another check point for the ps backend. Now I can get it to show
6469 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6471 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6472 document setting code.
6474 2004-12-22 Anders Carlsson <andersca@gnome.org>
6476 * shell/eggfindbar.c: (entry_activate_callback):
6477 Animate the next button when activate is pressed.
6479 2004-12-22 Anders Carlsson <andersca@gnome.org>
6481 * shell/ev-window.c: (ev_window_cmd_edit_find),
6482 (update_fullscreen_popup), (ev_window_fullscreen),
6483 (ev_window_unfullscreen), (ev_window_state_event_cb),
6484 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6485 Fix bugs in fullscreen code.
6487 2004-12-22 Anders Carlsson <andersca@gnome.org>
6491 * pixbuf/Makefile.am:
6492 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6493 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6494 (pixbuf_document_set_page), (pixbuf_document_get_page),
6495 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6496 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6497 (pixbuf_document_render), (pixbuf_document_begin_find),
6498 (pixbuf_document_end_find), (pixbuf_document_finalize),
6499 (pixbuf_document_class_init),
6500 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6501 * pixbuf/pixbuf-document.h:
6502 * shell/Makefile.am:
6503 * shell/ev-application.c: (ev_application_open):
6504 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6508 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6511 * dvi/dvilib/Makefile.am:
6513 * configure.ac: Auto*ify dvi and dvi/dvilib
6515 * dvi/Makefile: Remove from CVS
6517 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6520 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6522 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6524 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6527 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6528 (gtk_gs_value_adjustment_changed), (compute_size),
6529 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6530 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6531 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6532 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6533 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6534 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6535 (ps_document_load), (ps_document_get_n_pages),
6536 (ps_document_set_page), (ps_document_get_page),
6537 (ps_document_set_target), (ps_document_set_scale),
6538 (ps_document_set_page_offset), (ps_document_get_page_size),
6539 (ps_document_render), (ps_document_begin_find),
6540 (ps_document_end_find), (ps_document_document_iface_init):
6542 * shell/Makefile.am:
6543 * shell/ev-window.c: (ev_window_open):
6545 Some work to integrate gtkgs with EvDocument
6547 2004-12-22 Anders Carlsson <andersca@gnome.org>
6549 * shell/ev-window.c: (update_fullscreen_popup),
6550 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6551 (exit_fullscreen_button_clicked_cb),
6552 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6553 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6554 (ev_window_state_event_cb), (ev_window_init):
6555 Add fullscreen support from Epiphany.
6557 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6559 * data/ev-stock-zoom-fit-width.png: fit-width
6560 stock icon from gpdf.
6562 * shell/ev-stock-icons.[ch]: copied from gpdf.
6564 * shell/main.c: (main): init stock icons.
6566 * shell/ev-window.c: use the fit-width icon.
6568 * data/evince-ui.xml: add zooming toolbar items.
6570 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6573 (ev_view_best_fit), (ev_view_fit_width): because
6574 get_page_size() returns the scaled page size, we
6575 need to calculate the scale factor relative to
6576 the previous scale factor. Should really just
6577 add get_real_page_size().
6579 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6581 * shell/ev-view.[ch]:
6582 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6583 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6586 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6587 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6588 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6591 * pdf/xpdf/pdf-document.cc:
6592 (pdf_document_begin_find),
6593 (pdf_document_end_find): make static.
6595 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6597 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6599 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6600 names to fontconfig patterns.
6601 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6603 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6606 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6622 Import ggv backend. Not hooked up yet.
6624 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6626 * shell/main.c: (load_files), (main): load files
6627 from the command line.
6629 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6631 * configure.ac: don't require bonobo.
6633 * cut-n-paste/recent-files/*: kill bonobo recent
6636 * shell/ev-window.c:
6637 (ev_window_is_empty): upd.
6638 (unable_to_load), (ev_window_open): load backend
6639 based on the mime type.
6641 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6643 * backend/.cvsignore: ignore generated marshalers source.
6645 * shell/main.c (main): this is not epiphany.
6647 2004-12-22 Havoc Pennington <hp@redhat.com>
6649 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6650 (expose_bin_window): draw find highlights
6652 * shell/ev-window.c (find_bar_search_changed_cb): implement
6654 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6655 (pdf_document_end_find): implement this interface
6657 * backend/ev-document.c (ev_document_found): add this to emit
6660 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6662 * data/evince-ui.xml: Add a few more toolbar items.
6664 * shell/ev-window.c: Hook up page navigation toolbar
6667 * shell/ev-view.[ch]: add ev_view_set/get_page and
6668 a page-changed signal.
6670 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6671 Add ev_document_get_page().
6673 * shell/ev-window.c: Sensitize/desensitize navigation
6676 2004-12-21 Havoc Pennington <hp@redhat.com>
6678 * backend/ev-backend-marshal.c,
6679 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6680 marshaler-generator thingy. I'm sure there's a better way to do
6681 this in the modern world.
6683 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6684 end_find methods and "found" signal.
6686 * configure.ac: find glib-genmarshal
6688 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6690 * shell/ev-sidebar.c: Construct an actual sidebar.
6691 * shell/ev-sidebar-bookmarks.[ch]:
6692 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6694 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6696 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6699 * shell/ev-view.c: Track the size from the document.
6701 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6703 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6704 constructor assumes ownership of the string passed in.
6706 * shell/ev-window.c (ev_window_open): Destroy the error
6707 dialog once we've displayed it.
6709 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6711 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6712 a bit, it works! (sort of)
6714 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6715 Move to .cc since we need to use C++ in the implementation.
6717 * shell/dummy.cc: Add a CC file to force evince
6718 to be linked as a C++ program.
6720 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6722 * shell/ev-view.[ch]: Start of content-area widget.
6724 * shell/ev-window.c: Create a EvView, update it
6725 as we change documents.
6727 * shell/Makefile.am shell/ev-marshal.list: Add
6728 generated marshalers.
6730 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6732 * Makefile.am (SUBDIRS): move shell.
6734 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6736 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6737 .a to libtool convenience libraries.
6739 * shell/ev-window.c (ev_window_open): Hard code loading
6742 * backend/ev-document.h: Add a boolean return to load(),
6743 fix GError * to GError **.
6745 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6746 object for a PDF backend EvDocument.
6748 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6750 * dvi/*: New directory with the beginning of a .dvi backend.
6752 2004-12-21 Havoc Pennington <hp@redhat.com>
6754 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6755 previous/next instead of back/forward
6757 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6759 * backend/ev-document.[ch]: Fix a couple of problems so
6762 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6764 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6765 to backend/ directory, rename EvViewer to EvDocument.
6767 2004-12-21 Havoc Pennington <hp@redhat.com>
6769 * shell/ev-window.c: hook up the find bar widget; now we just need
6770 a document to find things in
6772 * shell/eggfindbar.c: a find bar widget
6774 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6776 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6778 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6780 * pdf/**: Import of xpdf code from gpdf.
6782 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6784 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6785 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6786 Fix FreeType includes.
6788 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6789 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6790 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6791 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6792 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6793 Include xpdfconfig.h
6795 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6797 * shell/ev-window.c (ev_window_dispose): dispose can be called
6800 2004-12-21 Havoc Pennington <hp@redhat.com>
6802 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6805 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6806 items; really they should be synced with the strings, etc. from
6807 current gpdf, but just getting the boring typing out of the way
6809 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6812 * shell/ev-application.c: (window_destroy_cb):
6813 * shell/ev-window.c:
6814 * shell/main.c: (main):
6816 Actually show the window...
6818 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6821 * shell/Makefile.am:
6822 * shell/ev-application.c: (ev_application_class_init):
6823 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6827 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6829 Import to gnome cvs.
6831 * Remove copies of gpdf and ggv trees.
6832 * Rip out all the recursive configure code.
6833 * Remove bonobo machinery.
6834 * viewer/*: GInterfaces that backends should/can implement.
6836 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6838 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6841 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6843 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6844 (ev_application_finalize, ev_application_class_init)
6845 (ev_application_init): use GType instance private data for priv.
6847 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6848 (ev_window_finalize, ev_window_class_init)
6849 (ev_window_init): ditto.
6851 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6853 * shell/ev-application.c (ev_application_new_window): make public
6854 (ev_application_show_initial_window): kill.
6856 * shell/ev-application.h: update prototypes.
6858 * shell/main.cc (main): inline ev_application_show_initial_window.
6860 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6862 * shell/ev-application.c (ev_application_new_window): impl.
6863 (ev_application_show_initial_window): use it.
6864 (is_window_empty, ev_application_get_empty_window): returns an
6865 existing empty window or a new one.
6866 (ev_application_open): from ev_window_cmd_file_open.
6868 * shell/ev-application.h: update prototypes
6870 * shell/ev-window.c (ev_window_is_empty): impl.
6871 (ev_window_open): make public.
6872 (ev_window_cmd_file_open): use ev_application_open
6874 * shell/ev-window.h: update prototypes, remove unused.
6876 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6878 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6879 move destroy handler out of here...
6881 * shell/ev-application.c, shell/ev-application.h: ...into this new
6882 class. Also handles initial window creation.
6884 * shell/main.cc (main): use EvApplication to create initial
6887 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6889 * Makefile.am (SUBDIRS): add cut-n-paste
6891 * cut-n-paste/Makefile.am: add
6893 * configure.ac: generate Makefiles in cut-n-paste
6895 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6897 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6898 (ev_window_class_init): install ev_window_dispose.
6900 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6902 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6903 char (gchar looks stupid).
6905 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6907 * po/de.po: updated German translation.
6909 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6911 * configure.ac: add more pkg-config library checks for gnome-vfs,
6914 * gpdf/configure.in: temporarily disable libpaper
6915 checks. Otherwise I'd have to add the checks for the shell, too.
6917 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6919 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6920 and * file filters to the file choose.
6922 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6924 * po/de.po: Updated German translation.
6926 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6928 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6930 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6932 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6934 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6935 (ev_window_init): implement those menuitems.
6937 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6939 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6941 * shell/ev-window.c (ev_window_init): use the toolbar.
6943 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6945 * shell/ev-window.c (ev_window_init): use menu translations
6947 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6949 * configure.ac: add "de" to ALL_LINGUAS.
6951 * po/de.po: add German translation.
6953 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6955 * Makefile.am (SUBDIRS): add po
6957 * configure.ac: check intltool, glib-gettext etc, generate
6960 * po, po/POTFILES.in, po/POTFILES.skip: new.
6962 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6964 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6965 already use (#ifdef ENABLE_NLS)
6967 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6968 pointer indirection thinko.
6970 * shell/main.c: include gi18n.h for bindtextdomain etc.
6972 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6974 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6975 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6976 tooltips for menu items in the statusbar.
6978 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6980 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6981 pkgdatadir drop UIDIR
6983 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6985 * data/evince-ui.xml: Add File->Open menu item
6987 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6988 chooser), hook it up in the ui manager.
6990 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6992 * shell/ev-window.c: fix Help->About tooltip.
6994 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6996 * configure.ac: set CFLAGS for libevprivate.
6998 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6999 definitions, factory etc.
7001 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7003 * shell/Makefile.am: link against libevprivate.a.
7005 * shell/ev-window.c (entries): add stock icon to Help->About.
7007 * shell/main.c (main): init stock icon code.
7009 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7011 * lib/recent-files: egg recent files code
7013 * lib/Makefile.am: add.
7015 * Makefile.am: add lib subdir.
7017 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7018 set CFLAGS for recent-files.
7020 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7022 * configure.ac: disable -ansi and -pedantic gcc flags. They
7023 disable POSIX stuff in stdio.h, but egg-recent uses them.
7025 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7027 * configure.ac: add --disable-deprecated flag (defaults to on in
7030 * shell/Makefile.am (INCLUDES): use it.
7032 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7034 * shell/main.c: add missing #include.
7036 * shell/ev-window.c: fix for pedantic gcc.
7037 (ev_window_cmd_help_about): split license into paragraphs for
7038 translators and pedantic compilers.
7040 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7042 * configure.ac: add more warning flags if compiling with gcc from
7043 cvs (or explicitly requested with --enable-more-warnings).
7045 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7047 * data/evince-ui.xml: add File and File->Close menu.
7049 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7050 (ev_window_destroy): quit after destroy.
7051 (ev_window_class_init): override GtkObject::destroy.
7052 (entries): install close_window callback.
7054 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7056 * Makefile.am (SUBDIRS): add data subdir.
7058 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7059 gtk+ 2.5.0 for GtkAboutDialog.
7061 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7064 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7066 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7068 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7070 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7072 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7074 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7076 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7078 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7080 * shell/*: Added shell directory boilerplate, build it.
7082 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7084 * configure.ac, Makefile.am: Added top-level configure.ac and