1 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3 * ps/ps-document.c: (set_up_page), (start_interpreter):
7 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
12 * pdf/pdf-document.cc:
13 * thumbnailer/Makefile.am:
14 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
16 * thumbnailer/evince-thumbnailer.schemas:
17 * thumbnailer/pdf-icon.png:
19 Add a nautilus thumbnailer.
20 Based on patch by Fernando Herrera <fherrera@onirica.com>.
22 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
30 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
32 reviewed by: <delete if not using a buddy>
56 2005-03-01 Kristian Høgsberg <krh@redhat.com>
58 Use poppler instead of including xpdf source code. Poppler is a
59 fork of xpdf to build it as a shared library. See
60 http://freedesktop.org/wiki/Software/poppler.
62 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
65 * pdf/Makefile.am: Build libpdfdocument.a here.
67 * pdf/GDKSplashOutputDev.cc:
68 * pdf/GDKSplashOutputDev.h:
69 * pdf/GnomeVFSStream.cc:
70 * pdf/GnomeVFSStream.h:
73 * test-gdk-output-dev.cc
75 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
78 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
80 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
82 Clear idle stack before unsetting the document
84 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
86 * ps/ps-document.c: (ps_document_widget_event),
87 (ps_document_set_target), (ps_document_finalize),
88 (ps_document_get_page):
90 Disconnect the widget event signal on finalize.
93 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
95 * ps/ps-document.c: (set_up_page):
97 If there is no bpixmap create one, even if size
100 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
102 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
103 (set_up_page), (document_load), (ps_document_set_zoom):
105 Default page is 0. Calculate size even when we have no
108 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
110 * shell/ev-sidebar.c: expand the selection widget to be always as
113 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
115 * shell/ev-sidebar-thumbnails.c:
116 (ev_sidebar_thumbnails_set_document):
118 Clear the list store when setting document
120 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
122 * shell/ev-page-action.c: (update_entry), (sync_entry),
123 (activate_cb), (entry_size_request_cb), (create_tool_item),
126 Use an entry for the page control instead of spinbuttons
128 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
130 * data/evince.schemas.in:
132 Correct confusing string
134 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
136 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
137 for real. Gosh, how long has this been broken.
139 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
140 check for a NULL link. We crash otherwise.
142 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
149 2005-02-25 Sebastien Bacher <seb128@debian.org>
151 * configure.ac: add the french translation.
153 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
157 Remove unused header -> fix distcheck
159 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
161 * shell/ev-window.c: (update_window_title),
162 (ev_window_popup_password_dialog):
164 Unescape filename for display
166 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
168 * pdf/xpdf/pdf-document.cc:
170 In get_page_size deal with rotation. Also
171 cleanup the function a bit.
173 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
175 * pdf/xpdf/pdf-document.cc:
177 Fix crash when opening in new window
179 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
183 Check ghostscript >= 7
185 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
189 Make page width the default sizing mode
191 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
192 Marco Pesenti Gritti <marco@gnome.org>
194 * shell/ev-window.c: Remember the sidebar size
196 * data/evince.schemas.in: Add a new gconf key to store the size of
199 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
201 * data/evince-ui.xml:
202 * shell/ev-window.c: (update_action_sensitivity),
203 (ev_window_cmd_view_reload):
205 Add a "Reload" action and menu entry
207 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
209 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
210 iff the type doesn't support thumbnailing and indexing.
212 2005-02-24 Martin Kretzschmar <martink@gnome.org>
214 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
216 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
218 * pdf/splash/Splash.cc:
220 Port fix for a crasher from kde bug
221 http://bugs.kde.org/show_bug.cgi?id=97131
223 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
225 * pdf/xpdf/pdf-document.cc:
227 Return a link even if it's of an unrecognized
228 type. Otherwise we go in an infinte cycle.
230 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
232 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
233 (size_allocate_cb), (ev_window_set_sizing_mode):
235 Update size when switching mode
237 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
239 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
240 (ev_window_cmd_view_page_width), (update_sizing_buttons),
241 (ev_window_cmd_view_normal_size):
243 Fix size toggle buttons behavior
245 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
247 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
248 (doc_rect_to_view_rect), (ev_view_size_allocate),
249 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
250 (scale_changed_callback):
252 Do not cache offsets in size_allocate.
254 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
256 * shell/ev-view.c: (ev_view_size_allocate):
258 Calculate offsets before calling the parent
259 class (which does a redraw)
261 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
263 * pdf/xpdf/pdf-document.cc:
265 Fix a crasher on exit. Unused code, put a TODO
267 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
269 * backend/ev-document.c: (ev_document_class_init),
270 (ev_document_page_changed), (ev_document_scale_changed):
271 * backend/ev-document.h:
273 Separate page/scale notifications
275 * pdf/xpdf/pdf-document.cc:
277 Emit the new signals.
278 Do not display the pdf page in _render, do it
279 when scale/page are requested.
281 * ps/ps-document.c: (ps_document_set_zoom),
282 (ps_document_widget_event):
285 Emit the new signals.
287 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
288 (ev_view_init), (page_changed_callback), (scale_changed_callback),
289 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
290 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
292 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
293 (ev_window_cmd_view_page_width), (size_allocate_cb),
294 (ev_window_set_sizing_mode):
296 Rework sizing to be pixel based.
297 There are bugs but should be already way better.
299 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
301 * shell/ev-window.c: (ev_window_init):
303 Do not allow to shrink sidebar smaller then
306 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
308 * shell/ev-sidebar.[ch]
311 Improved sidebar widget. Fixes #166683
313 2005-02-23 Tommi Vainikainen <thv@iki.fi>
315 * shell/ev-view.c (update_find_status_message): Give translators
316 more flexibility with ngettext plural handling.
318 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
320 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
321 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
322 page when we get the page size.
324 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
326 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
328 ps pages are 0 based, convert
330 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
332 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
334 Initialize correct parent class. Set GError on document load
336 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
338 * pdf/xpdf/pdf-document.cc:
340 Fixup selection offset calculation
342 * shell/ev-view.c: (view_rect_to_doc_rect),
343 (doc_rect_to_view_rect), (ev_view_size_allocate),
344 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
345 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
347 Store selection as document relative, so that zooming
348 and offset changing doesnt break it.
350 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
352 * shell/ev-view.c: (ev_view_best_fit):
354 Do not try to best fit if the view is not realized
356 2005-02-20 Kostas Papadimas <pkst@gnome.org>
358 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
360 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
362 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
364 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
366 * shell/ev-window.c: Change the fullscreen toolbar to always be in
367 the popup window. That prevents it resizing when in full screen
370 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
371 multiple rerenders. This pretty much sucks.
373 * data/evince-ui.xml: Change the fullscreen toolbar to include the
376 2005-02-18 Tommi Vainikainen <thv@iki.fi>
378 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
380 2005-02-17 Alexander Shopov <ash@contact.bg>
382 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
384 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
386 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
388 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
390 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
391 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
392 (set_document_page), (document_changed_callback),
393 (ev_view_set_document), (ev_view_find_previous),
394 (ev_view_hide_cursor), (ev_view_show_cursor):
396 * shell/ev-window.c: (update_chrome_visibility),
397 (fullscreen_timeout_cb), (fullscreen_set_timeout),
398 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
399 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
400 (ev_window_unfullscreen):
401 * shell/main.c: (main):
403 Automatically hide the fullscreen button.
404 Patch by Kristian Høgsberg <krh@redhat.com>
406 2005-02-16 Vincent Noel <vnoel@cox.net>
408 * shell/main.c (main): Specify an icon for the window. Patch by
409 Jaap A. Haitsma. Fixes #166177.
411 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
413 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
415 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
417 * backend/ev-document-misc.h:
418 * backend/ev-document-misc.c:
419 (ev_document_misc_get_page_border_size),
420 (ev_document_misc_paint_one_page): New function to canonicalize
421 sizing/painting a border.
423 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
426 * pdf/xpdf/pdf-document.cc: use new function
428 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
429 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
430 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
431 shell/ev-window.c: (update_sizing_buttons),
432 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
433 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
434 (ev_window_cmd_view_page_width), (size_allocate_cb),
435 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
436 and "fit width" values act as toggle buttons so they stay
437 toggled. It's not 100% perfect, and it's a little slow, but it's
438 good enough to commit I think.
440 2005-02-15 David Lodge <dave@cirt.net>
442 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
444 2005-02-15 Martin Kretzschmar <martink@gnome.org>
446 * shell/ev-window.c (update_window_title): replace newlines in
447 the title by spaces. Bug #166107.
449 2005-02-14 Martin Kretzschmar <martink@gnome.org>
451 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
452 parameters providing allocation width and height without
453 scrollbars and width of a possible vertical scrollbar. With this
454 additional information the functions can work as
455 intended. Unfortunately they're not idempotent. We should
456 transform these commands to toggles. Fixes Bug #164976
457 Initial patch by Stephane Loeuillet, then heavily modified.
459 * shell/ev-view.h: update prototypes.
461 * shell/ev-window.c (ev_window_cmd_view_best_fit)
462 (ev_window_cmd_view_page_width): provide EvView fit functions with
463 all the information they need. Formulas to calculate this
464 information taken from GtkScrolledWindow.
466 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
468 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
469 created a thumbnail, the list store is updated to know
470 that the thumbnail is set. Fixes bug #166792
472 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
474 * shell/ev-window.c: fixed typo, closes bug 166897
476 * TODO: updated TODO with bug numbers that are relevant
478 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
480 * shell/ev-window.c: Support for DnD of files. Fixes #164813
482 2005-02-09 Vincent Noel <vnoel@cox.net>
484 * shell/ev-window.c: (set_action_properties): Set the "Previous"
485 and "Next" toolbar buttons as important to make them stand out.
487 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
491 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
492 (start_interpreter), (stop_interpreter), (document_load),
493 (ps_document_next_page), (ps_document_goto_page),
494 (ps_document_set_page_size), (ps_document_widget_event),
495 (ps_document_render):
496 * shell/ev-page-view.c: (ev_page_view_dispose):
497 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
499 Fix compilation on non-gcc platforms
501 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
508 * pdf/xpdf/Catalog.cc:
511 Fix the fix for CAN-2004-0888
513 2005-02-09 Luca Ferretti <elle.uca@libero.it>
516 * data/evince-ui.xml:
517 * shell/ev-stock-icons.c: (ev_stock_icons_init):
518 * shell/ev-stock-icons.h:
519 * shell/ev-window.c: (update_action_sensitivity),
520 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
521 (set_action_properties):
523 Improve toolbar layout/icons
525 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
527 * pdf/xpdf/pdf-document.cc:
529 Add warnings about unimplemented/unknown link
532 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
534 * ps/ps-document.c: (set_up_page):
538 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
540 * ps/ps-document.c: (start_interpreter):
544 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
546 * shell/ev-page-view.c: (ev_page_view_dispose):
547 * shell/ev-view.c: (ev_view_finalize):
548 * shell/ev-window.c: (ev_window_setup_document),
549 (ev_window_dispose), (ev_window_init):
551 Solve more refs issues.
553 I commented out the page_view initialization for now:
554 it was never destroyed (because it's never added
555 to a container). Because of that we was leaking
556 gs processes. Couldnt think to a clean fix.
557 We need to figure this out, password view has the
560 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
562 * ps/ps-document.c: (ps_document_finalize),
563 (ps_document_get_n_pages), (ps_document_get_page):
565 Some cleanups, stop the interpreter on finalize
567 * shell/ev-page-view.c: (ev_page_view_dispose),
568 (ev_page_view_class_init):
570 Release our reference on the document
572 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
579 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
580 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
581 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
584 Add debugging helpers
587 * ps/ps-document.c: (set_up_page), (start_interpreter),
588 (stop_interpreter), (document_load), (ps_document_next_page),
589 (ps_document_goto_page), (ps_document_set_page_size),
590 (ps_document_widget_event), (ps_document_render):
592 * shell/ev-view.c: (expose_bin_window):
593 * shell/main.c: (main):
597 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
599 * ps/ps-document.c: (ps_document_widget_event):
601 Initialize message_window, this should make ps
602 rendering really work! (Never noticed because I was
603 testing with a ps that is causing gs to exit every time!)
605 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
607 * data/evince.schemas.in: updated simple error in applyto closing tag
609 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
615 * data/evince-ui.xml:
616 A data/evince.schemas.in:
618 * shell/ev-stock-icons.c: (ev_stock_icons_init):
619 * shell/ev-stock-icons.h:
620 * shell/ev-window.c: (update_chrome_visibility),
621 (update_chrome_flag), (ev_window_cmd_edit_find),
622 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
623 (ev_window_unfullscreen), (ev_window_focus_in_event),
624 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
625 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
626 (ev_window_view_sidebar_cb), (find_bar_close_cb),
627 (ev_window_dispose), (ev_window_class_init),
628 (set_action_properties), (set_chrome_actions), (load_chrome),
631 Implement fullscreen mode changes from bug #164776.
632 Also implement persistent chrome toggles.
634 2005-02-07 Jordi Mallach <jordi@sindominio.net>
636 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
638 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
644 Add another check for find interface
648 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
650 * shell/ev-application.c: (ev_application_open):
651 * shell/ev-window.c: (ev_window_open):
653 Open gzipped ps documents
655 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
658 * shell/ev-view.c: (set_document_page):
660 Clamp page number, dont try to move to
663 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
665 * backend/ev-document-find.c: (ev_document_find_changed):
666 * backend/ev-document-find.h:
667 * pdf/xpdf/pdf-document.cc:
668 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
669 * shell/ev-window.c: (find_bar_search_changed_cb):
671 Fix several bugs with find
673 2005-02-04 Martin Kretzschmar <martink@gnome.org>
675 * shell/ev-sidebar-thumbnails.c
676 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
677 document. Prevents warning from scroll_to_cell.
679 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
681 * configure.ac: Add «nb» to ALL_LINGUAS too.
683 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
685 * NOTES: New file with some random thoughts.
689 * backend/ev-document-misc.c:
690 (ev_document_misc_get_page_border_size): New function to
691 canonicalize shadow drawing sizes. Possibly goofy.
693 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
694 (ev_view_best_fit), (ev_view_fit_width):
695 * pdf/xpdf/pdf-document.cc:
696 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
697 * ps/ps-document.c: (ps_document_get_page_size):
698 * backend/ev-document-misc.h:
699 * backend/ev-document.c: (ev_document_get_page_size):
700 * backend/ev-document.h: get_page_size now takes a page number
701 parameter. Made all the backends/frontends honor it.
703 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
704 see. Doesn't work yet.
707 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
708 Doesn't do anything yet.
710 * shell/ev-sidebar-thumbnails.c:
711 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
714 * shell/ev-window.c: (update_action_sensitivity),
715 (ev_window_setup_document), (ev_window_set_page_mode),
716 (ev_window_page_mode_cb), (ev_window_init): Clean up the
717 view-swapping code a bit so we can have multiple views on a
718 document. Add the multi-page view, though it can't be turned on
721 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
723 * shell/ev-application.c: (ev_application_open):
724 * shell/ev-view.c: (expose_bin_window):
725 * shell/ev-window.c: (ev_window_open):
727 Support eps and check document supports find
728 before drawing highlightings in expose.
730 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
732 * pixbuf/pixbuf-document.c:
733 (pixbuf_document_thumbnails_get_dimensions),
734 (pixbuf_document_document_thumbnails_iface_init):
736 implement get_dimensions
738 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
745 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
747 * shell/ev-view.c: (set_document_page):
749 Scroll at the top of the page when changing page
751 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
753 * shell/ev-view.c: (ev_view_motion_notify_event):
755 Do not redraw unnecessarily
757 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
759 * pdf/xpdf/pdf-document.cc:
760 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
761 (expose_bin_window), (find_changed_cb):
763 Yay! find works now... Now to find bugs...
765 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
767 * backend/ev-document-find.c: (ev_document_find_base_init),
768 (ev_document_find_changed):
769 * backend/ev-document-find.h:
770 * pdf/xpdf/pdf-document.cc:
771 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
772 (expose_bin_window), (ev_view_init), (set_document_page),
773 (ensure_rectangle_is_visible), (jump_to_find_result),
774 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
775 (ev_view_find_next), (ev_view_find_previous):
777 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
779 More work on find implementation, mostly there now
781 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
783 * backend/ev-backend-marshalers.list:
784 * backend/ev-document-find.c: (ev_document_find_base_init),
785 (ev_document_find_cancel), (ev_document_find_page_has_results),
786 (ev_document_find_get_n_results), (ev_document_find_get_result),
787 (ev_document_find_get_progress), (ev_document_find_changed):
788 * backend/ev-document-find.h:
790 Enanche the find interface to be really able to do
793 * pdf/xpdf/pdf-document.cc:
797 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
798 (expose_bin_window), (ev_view_init),
799 (ev_view_get_find_status_message), (find_changed_cb),
800 (ev_view_set_document), (set_document_page):
802 Adapt to the new interface. A few things are regressed sorry,
803 I will finish it soon.
805 2005-01-28 Martin Kretzschmar <martink@gnome.org>
807 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
808 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
809 ev_sidebar_thumbnails_parent_class variable, don't define another
810 parent_class variable.
812 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
813 (ev_page_action_class_init): ditto.
815 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
816 (pixbuf_document_class_init): ditto.
818 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
821 * .cvsignore: ignore various valgrind output files.
823 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
825 * data/evince-ui.xml:
827 * shell/ev-history.c:
828 * shell/ev-history.h:
829 * shell/ev-navigation-action.c:
830 * shell/ev-navigation-action.h:
831 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
832 (ev_view_set_page), (ev_view_fit_width):
834 * shell/ev-window.c: (update_action_sensitivity),
835 (ev_window_setup_document), (register_custom_actions):
839 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
841 * shell/ev-window.c: (update_action_sensitivity):
843 Fix inverted up/down buttons
845 2005-01-27 Martin Kretzschmar <martink@gnome.org>
847 * shell/ev-sidebar-thumbnails.c
848 (ev_sidebar_thumbnails_select_page): make sure the selected
849 thumbnail stays visible.
851 2005-01-26 Martin Kretzschmar <martink@gnome.org>
853 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
854 scrolled window for Federico.
856 2005-01-26 Ole Laursen <olau@hardworking.dk>
858 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
860 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
863 * pdf/splash/SplashFTFontEngine.cc:
865 Fix CID fonts with freetype 2.1.9
867 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
869 * TODO: added item for desktop icon thumbnailer
871 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
873 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
874 unloaded docs when the title is accessed.
876 * shell/ev-password-view.[hc]: New widget for displaying password
879 * shell/ev-window.[ch]: Refactor password handling code to handle
882 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
890 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
892 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
893 ignore page offset here, to make search results independent of it,
895 * shell/ev-view.c (expose_bin_window): but take offsets into
896 account here. Bug #164932
898 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
899 scale at the right time. Bug #164996
901 2005-01-22 Martin Kretzschmar <martink@gnome.org>
903 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
904 fix the problem. Now I just removed the Adobe font names and hope
905 that the URW fonts are always in outline format. Bug #164934
907 * shell/ev-window.c (update_window_title): empty titles are
908 useless, use filename in that case too.
910 * NEWS: Add some content.
912 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
914 * TODO: added one more TODO item and a TODONE section :)
916 2005-01-21 Martin Kretzschmar <martink@gnome.org>
918 * ps/ps-document.h: add page_[xy]_offset fields.
920 * ps/ps-document.c (ps_document_set_page_offset)
921 (ps_document_render): Keep offset in consideration in a few
922 places. Bug #164752 "postscript documents are not centered in
925 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
926 s/gpdf/evince/. Spotted by Stephane Loeuillet.
928 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
929 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
930 stub out missing methods for complete EvDocument implementation.
931 Fixes segfaults with Save A Copy and Copy actions.
933 * ps/ps-document.c (ps_document_save, ps_document_get_text)
934 (ps_document_document_iface_init): ditto.
936 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
940 * data/evince.desktop.in:
944 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
946 * shell/ev-view.c: (ev_view_button_press_event),
947 (ev_view_motion_notify_event):
949 Make selection work in any direction
951 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
954 * shell/ev-window.c: (set_short_labels), (ev_window_init):
956 Use shorter labels for some of the toolbars items
958 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
960 * pdf/xpdf/pdf-document.cc:
962 Check the links info is initialized before
963 using it. Should fix a crash on startup.
965 2005-01-21 Martin Kretzschmar <martink@gnome.org>
967 * pixbuf/pixbuf-document.c
968 (pixbuf_document_thumbnails_get_dimensions): force floating point
969 division to calculate page_ratio. Fixes crash with landscape
972 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
974 * shell/ev-view.c (ev_view_realize): make the bg color darker.
976 2005-01-20 Martin Kretzschmar <martink@gnome.org>
978 * shell/ev-view.c (set_document_page): unset has_selection when
980 (set_document_page): handle paper size changes when the page
981 changes (test with Free Culture, page 2).
983 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
985 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
986 (expose_bin_window), (ev_view_class_init), (ev_view_init):
988 Use normal style color for the widget background and
989 draw a black box around the page.
991 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
993 * pdf/xpdf/pdf-document.cc:
995 Keep offset in consideration in a few places
997 * shell/ev-view.c: (expose_bin_window):
999 Set the offsets so that the document is ever centered
1001 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
1003 * TODO: Added TODO items and finished off the first todo item
1005 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
1006 reflect current authors
1008 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1010 * pdf/xpdf/pdf-document.cc:
1011 * shell/ev-view.c: (ev_view_set_cursor),
1012 (ev_view_motion_notify_event), (document_changed_callback),
1013 (set_document_page):
1015 Show a wait cursor while the page is rendering
1017 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1019 * shell/ev-sidebar-thumbnails.c:
1020 (ev_sidebar_tree_selection_changed),
1021 (ev_sidebar_thumbnails_select_page):
1022 * shell/ev-sidebar-thumbnails.h:
1023 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
1024 (ev_view_can_go_forward):
1025 * shell/ev-window.c: (ev_window_open_page),
1026 (ev_window_setup_document), (update_current_page),
1027 (view_page_changed_cb), (ev_window_init):
1028 * shell/ev-window.h:
1030 Ensure thumbnails selection, toolbar page control and
1031 current page are in sync.
1033 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
1039 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
1041 * backend/Makefile.am:
1042 * backend/ev-document-links.h:
1043 * backend/ev-document-security.c: (ev_document_security_get_type),
1044 (ev_document_security_has_document_security),
1045 (ev_document_security_set_password):
1046 * backend/ev-document-security.h:
1047 * backend/ev-document.c: (ev_document_error_quark):
1048 * backend/ev-document.h:
1050 * data/evince-password.glade:
1051 * pdf/xpdf/pdf-document.cc:
1052 * shell/Makefile.am:
1053 * shell/ev-password.c: (ev_password_set_bad_password_label),
1054 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
1055 (ev_password_dialog_get_password),
1056 (ev_password_dialog_set_bad_pass):
1057 * shell/ev-password.h:
1058 * shell/ev-window.c: (ev_window_get_attribute),
1059 (ev_window_set_property), (update_action_sensitivity),
1060 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
1061 (ev_window_setup_document), (ev_window_get_password),
1062 (ev_window_open), (ev_window_cmd_save_as),
1063 (using_postscript_printer), (ev_window_print),
1064 (find_not_supported_dialog), (ev_window_cmd_edit_find),
1065 (update_fullscreen_popup), (ev_window_fullscreen),
1066 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1067 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
1068 (menu_item_select_cb), (find_bar_search_changed_cb),
1069 (ev_window_dispose), (ev_window_init):
1071 Add initial support for password-supported dialogs. This could be
1072 a lot cooler, but it'll do for now.
1074 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
1076 * pdf/xpdf/pdf-document.cc:
1077 * shell/ev-view.c: (status_message_from_link),
1078 (ev_view_set_status), (ev_view_set_cursor),
1079 (ev_view_motion_notify_event), (ev_view_init):
1080 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
1082 Fix bugs in the links implementation and change cursor
1083 when hovering a link.
1085 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
1087 * viewer/.cvsignore: added cvsignore file for viewer directory
1089 * TODO: created TODO document
1091 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
1094 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
1095 new functions to help with implementation of sensitivity code
1096 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
1097 of all actions that might require it. Fixes a crash when you
1098 click on the Zoom actions in a window lacking a document.
1100 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
1102 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
1105 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
1107 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
1108 (pixbuf_document_document_iface_init):
1109 * ps/ps-document.c: (ps_document_get_link),
1110 (ps_document_document_iface_init):
1111 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
1112 (status_message_from_link), (ev_view_set_status),
1113 (ev_view_set_find_status), (ev_view_motion_notify_event),
1114 (ev_view_button_release_event), (ev_view_set_property),
1115 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
1116 (ev_view_get_find_status_message), (update_find_results),
1117 (ev_view_get_status), (ev_view_get_find_status):
1119 * shell/ev-window.c: (view_status_changed_cb),
1120 (view_find_status_changed_cb), (ev_window_init):
1122 View status message support, use it to show the links.
1125 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
1127 * backend/ev-document.c: (ev_document_get_link):
1128 * backend/ev-document.h:
1129 * pdf/xpdf/pdf-document.cc:
1130 * shell/ev-application.c: (ev_application_open):
1131 * shell/ev-application.h:
1132 * shell/ev-sidebar-links.c: (selection_changed_cb):
1133 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
1134 (ev_view_go_to_link):
1136 Add support for document links
1138 2005-01-13 Anders Carlsson <andersca@gnome.org>
1140 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
1142 Set the spin button limits correctly.
1144 * shell/ev-sidebar-thumbnails.c:
1145 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
1146 Support changing pages by clicking on the thumbnails.
1148 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
1150 * pixbuf/pixbuf-document.c:
1151 (pixbuf_document_thumbnails_get_dimensions),
1152 (pixbuf_document_document_thumbnails_iface_init):
1154 implement get_dimensions
1156 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
1158 * ps/ps-document.c: (ps_document_goto_page):
1160 Fix page switching on multipage documents
1162 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
1164 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
1166 check for NULL before assigning to width and height parameters
1168 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
1170 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
1171 (pixbuf_document_set_property), (pixbuf_document_get_property):
1173 implement get/set properties
1175 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
1177 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
1179 return NULL instead of "Unknown", letting the title get set to
1180 the filename when the pdf has no title.
1182 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
1184 * ps/ps-document.c: (ps_document_get_page_count),
1185 (ps_document_goto_page):
1187 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
1189 * shell/ev-history.c: (ev_history_get_property),
1190 (ev_history_set_property), (ev_history_class_init),
1191 (ev_history_add_page), (ev_history_set_current_index):
1192 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
1193 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
1194 (ev_navigation_action_finalize):
1195 * shell/ev-navigation-action.h:
1196 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
1197 (ev_view_go_forward), (ev_view_get_find_status_message),
1198 (history_index_changed_cb), (ev_view_set_history):
1200 * shell/ev-window.c: (update_total_pages), (ev_window_open),
1201 (update_current_page), (register_custom_actions):
1203 Implement history dropdowns
1205 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
1207 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
1208 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
1209 (ev_view_go_forward):
1210 * shell/ev-window.c: (register_custom_actions):
1212 Fix several history bugs
1214 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
1216 * configure.ac: Add «nb» to ALL_LINGUAS.
1218 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
1220 * backend/Makefile.am:
1221 * backend/ev-bookmark.c:
1222 * backend/ev-bookmark.h:
1223 * backend/ev-document-bookmarks.c:
1224 * backend/ev-document-bookmarks.h:
1225 * backend/ev-document-links.c: (ev_document_links_get_type),
1226 (ev_document_links_has_document_links),
1227 (ev_document_links_begin_read), (ev_document_links_get_link),
1228 (ev_document_links_get_child), (ev_document_links_next),
1229 (ev_document_links_free_iter):
1230 * backend/ev-document-links.h:
1231 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
1232 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
1233 (ev_link_get_link_type), (ev_link_set_link_type),
1234 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
1235 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
1236 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
1237 (ev_link_new_external):
1238 * backend/ev-link.h:
1239 * pdf/xpdf/pdf-document.cc:
1240 * shell/Makefile.am:
1241 * shell/ev-application.c: (ev_application_open_link):
1242 * shell/ev-application.h:
1243 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
1244 (ev_history_get_link_nth):
1245 * shell/ev-history.h:
1246 * shell/ev-sidebar-bookmarks.c:
1247 * shell/ev-sidebar-bookmarks.h:
1248 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
1249 (ev_sidebar_links_class_init), (selection_changed_cb),
1250 (ev_sidebar_links_construct), (ev_sidebar_links_init),
1251 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
1252 (do_one_iteration), (populate_links_idle),
1253 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
1254 * shell/ev-sidebar-links.h:
1255 * shell/ev-sidebar.c: (ev_sidebar_set_document):
1256 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
1259 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
1260 * shell/ev-window.h:
1262 Rename bookmark to link, and use "Index" for the sidebar panel.
1264 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
1266 * shell/Makefile.am:
1267 * shell/ev-application.c: (ev_application_open_bookmark):
1268 * shell/ev-application.h:
1269 * shell/ev-history.c: (ev_history_init), (free_links_list),
1270 (ev_history_finalize), (ev_history_class_init),
1271 (ev_history_add_link), (ev_history_add_page),
1272 (ev_history_get_link_nth), (ev_history_get_n_links),
1273 (ev_history_get_current_index), (ev_history_set_current_index),
1275 * shell/ev-history.h:
1276 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
1277 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
1278 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
1279 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
1282 * shell/ev-window.c: (ev_window_open_bookmark),
1283 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
1284 (goto_page_cb), (register_custom_actions):
1285 * shell/ev-window.h:
1287 Initial history implementation. Needs work.
1289 2005-01-09 Martin Kretzschmar <martink@gnome.org>
1291 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
1293 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
1295 * cut-n-paste/recent-files/egg-recent-item.c:
1296 * cut-n-paste/recent-files/egg-recent-item.h:
1297 * cut-n-paste/recent-files/egg-recent-model.c:
1298 * cut-n-paste/recent-files/egg-recent-util.c:
1299 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1300 * cut-n-paste/recent-files/egg-recent-view.c:
1304 2005-01-08 Martin Kretzschmar <martink@gnome.org>
1306 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
1307 (fillGlyph, fillImageMask, drawImage):
1308 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
1309 pdf/splash/SplashTypes.h:
1310 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
1311 packed mode for Splash.
1313 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
1314 RGB8 packed mode, eliminates the pixbuf data creation loop.
1316 * shell/ev-print-job.c (ev_print_job_finalize)
1317 (ev_print_job_set_property, ev_print_job_get_property)
1318 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
1319 (ev_print_job_use_print_dialog_settings, idle_print_handler)
1320 (print_closure_finalize, ev_print_job_print): implement
1321 printing (for backends with EvPsExporter)
1323 * shell/ev_print_job.h: update prototypes.
1325 * shell/ev-window.c (ev_window_print): unref print job after
1328 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
1329 unless the document implements the EvDocumentFind interface.
1331 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
1333 * configure.ac: Added ja to ALL_LINGUAS.
1335 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1337 * pdf/xpdf/pdf-document.cc:
1339 add a FIXME. We should probably not allocate
1340 a bookmark object every time
1342 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1344 * shell/ev-application.c: (ev_application_open),
1345 (ev_application_open_bookmark):
1346 * shell/ev-application.h:
1348 Add a way to open bookmarks
1350 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
1351 (ev_bookmark_set_uri), (ev_bookmark_get_property),
1352 (ev_bookmark_set_property), (ev_bookmark_class_init),
1353 (ev_bookmark_new_title), (ev_bookmark_new_link),
1354 (ev_bookmark_new_external):
1356 Support for external uris, better constructors.
1358 * backend/ev-bookmark.h:
1359 * pdf/xpdf/pdf-document.cc:
1360 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
1362 Handle external uris
1364 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1366 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
1367 (ev_sidebar_bookmarks_construct), (do_one_iteration):
1369 Hook up bookmarks navigation
1371 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1373 * backend/Makefile.am:
1374 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
1375 (ev_bookmark_get_title), (ev_bookmark_set_title),
1376 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
1377 (ev_bookmark_get_page), (ev_bookmark_set_page),
1378 (ev_bookmark_get_property), (ev_bookmark_set_property),
1379 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
1381 * backend/ev-bookmark.h:
1382 * backend/ev-document-bookmarks.c:
1383 (ev_document_bookmarks_get_bookmark):
1384 * backend/ev-document-bookmarks.h:
1385 * pdf/xpdf/pdf-document.cc:
1386 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
1388 Add a bookmark object to the backend and use it instead of get_values
1390 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1392 * data/evince-ui.xml:
1394 Cleanup and add select all.
1396 * shell/ev-view.c: (ev_view_select_all),
1397 (ev_view_button_press_event):
1399 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
1402 Clear selection on click.
1404 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
1406 * shell/ev-sidebar-thumbnails.c
1407 (ev_sidebar_thumbnails_set_document): forgot to unref the
1410 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
1412 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
1413 at the visible page, not just linearly. This makes it look fast.
1415 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
1417 * backend/ev-document-misc.c
1418 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
1420 * backend/ev-document-thumbnails.h: New interface to get the size
1423 2005-01-06 Jeremy Katz <katzj@redhat.com>
1425 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
1428 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
1430 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
1431 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
1434 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
1436 2005-01-05 Martin Kretzschmar <martink@gnome.org>
1438 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
1439 fonts. Should fix font problems on systems that have the base
1440 fonts in bitmap format. Reported by James Henstridge
1441 <james@jamesh.id.au>.
1443 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1446 * pdf/xpdf/GfxState.cc:
1448 Fix for CAN-2004-1125
1450 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1452 * shell/ev-view.c: (ev_view_copy):
1454 * shell/ev-window.c: (ev_window_cmd_edit_copy):
1456 Implement Edit->Copy
1458 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1460 * backend/ev-document.c: (ev_document_get_text):
1461 * backend/ev-document.h:
1462 * pdf/xpdf/pdf-document.cc:
1463 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
1464 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1465 (ev_view_update_primary_selection), (ev_view_button_press_event),
1466 (ev_view_motion_notify_event), (ev_view_button_release_event):
1468 Beginnings of clipboard support. Incomplete but primary sort
1471 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1473 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
1474 (expose_bin_window):
1476 Nicer rubberband drawing, from GtkIconView.
1478 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1480 * backend/ev-document.c: (ev_document_save):
1481 * backend/ev-document.h:
1482 * data/evince-ui.xml:
1483 * pdf/xpdf/pdf-document.cc:
1484 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
1486 Implement "Save a copy..." menu item
1488 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1490 * shell/ev-view.c: (ev_view_zoom):
1492 Queue a resize when zoom changes
1494 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
1496 * backend/ev-document-misc.[ch]: New misc file to do simple drop
1499 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
1502 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1504 * pdf/xpdf/pdf-document.cc
1505 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
1507 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
1509 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
1510 It's slow, but I'll speed it up next!
1512 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
1514 * shell/main.c (load_files):
1516 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
1517 from the command line and because it seems more appropriate.
1519 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
1521 * data/evince-ui.xml:
1522 * shell/ev-window.c: (update_action_sensitivity),
1523 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
1525 s/next page/page down
1526 s/previous page/page up
1528 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
1530 * data/evince-ui.xml:
1532 Change the layout to match clarkbw design.
1534 * shell/Makefile.am:
1535 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
1536 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
1537 (ev_navigation_action_finalize),
1538 (ev_navigation_action_set_property),
1539 (ev_navigation_action_get_property),
1540 (ev_navigation_action_class_init):
1541 * shell/ev-navigation-action.h:
1543 Implement clarkbw toolbar navigation controls (incomplete)
1545 * shell/ev-page-action.c: (update_label), (update_spin),
1546 (value_changed_cb), (create_tool_item), (connect_proxy),
1547 (ev_page_action_init), (ev_page_action_finalize),
1548 (ev_page_action_set_property), (ev_page_action_get_property),
1549 (ev_page_action_set_current_page),
1550 (ev_page_action_set_total_pages), (ev_page_action_class_init):
1551 * shell/ev-page-action.h:
1553 Implement a page switcher in the toolbar
1555 * shell/ev-view.c: (ev_view_scroll_view):
1556 * shell/ev-window.c: (update_total_pages), (ev_window_open),
1557 (update_current_page), (view_page_changed_cb), (goto_page_cb),
1558 (register_custom_actions), (ev_window_init):
1560 Change page on PageUp/Down.
1562 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
1564 * pdf/xpdf/pdf-document.cc
1565 (pdf_document_thumbnails_get_thumbnail): initial stab at
1566 implementing thumbnail support for pdfs. It only does documents
1567 with precached pdfs now.
1569 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
1571 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
1572 thumbnail code into a time-based idle as well. Also, turn off the
1573 shadow temporarily as it's really slow.
1575 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
1577 * backend/ev-document.c: (ev_document_class_init):
1578 * pdf/xpdf/pdf-document.cc:
1579 * shell/ev-window.c: (ev_window_open):
1581 Fix document title bugs and fallback to
1582 filename when not available.
1584 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
1586 * backend/ev-document.c: (ev_document_get_type),
1587 (ev_document_class_init), (ev_document_load),
1588 (ev_document_get_title):
1589 * backend/ev-document.h:
1590 * pdf/xpdf/pdf-document.cc:
1591 * ps/ps-document.c: (ps_document_set_property),
1592 (ps_document_get_property), (ps_document_class_init),
1596 * shell/ev-window.c: (update_window_title), (ev_window_open),
1599 Initial support for document title. Not working yet.
1601 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
1603 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
1605 Grab focus on the view when clicking it
1607 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
1609 * shell/ev-marshal.list:
1610 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
1611 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
1613 Add key bindings to the view. Now if the focus would work
1616 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
1619 * backend/Makefile.am:
1622 * dvi/dvilib/Makefile.am:
1623 * pdf/xpdf/Makefile.am:
1629 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1631 * shell/ev-view.c: (ev_view_realize):
1633 Fix mouse wheel scrolling
1635 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1641 * ps/ps-document.c: (catchPipe), (ps_document_init),
1642 (ps_document_class_init), (ps_document_cleanup),
1643 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
1644 (set_up_page), (close_pipe), (is_interpreter_ready),
1645 (interpreter_failed), (output), (input), (start_interpreter),
1646 (stop_interpreter), (file_length), (file_readable),
1647 (check_filecompressed), (check_pdf), (compute_xdpi),
1648 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
1649 (ps_document_get_type), (ps_document_emit_error_msg),
1650 (document_load), (ps_document_next_page),
1651 (ps_document_get_current_page), (ps_document_get_page_count),
1652 (ps_document_goto_page), (ps_document_set_page_size),
1653 (ps_document_zoom_to_fit), (ps_document_set_zoom),
1654 (ps_document_load), (ps_document_get_n_pages),
1655 (ps_document_set_page), (ps_document_get_page),
1656 (ps_document_widget_event), (ps_document_set_target),
1657 (ps_document_set_scale), (ps_document_set_page_offset),
1658 (ps_document_get_page_size), (ps_document_render),
1659 (ps_document_document_iface_init):
1662 * shell/ev-window.c: (ev_window_open):
1664 Rename GtkGS to PSDocument
1666 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1668 * ps/gtkgs.c: (gtk_gs_class_init):
1671 Some more leftover...
1673 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1675 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
1676 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
1677 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
1680 Remove unused code and make a lot of stuff private
1682 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1684 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
1685 (gtk_gs_defaults_changed):
1691 Cleanup headers dependencies
1693 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1698 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
1700 * ps/gtkgs.c: (file_length), (file_readable),
1701 (check_filecompressed), (check_pdf), (gtk_gs_load),
1702 (gtk_gs_get_postscript):
1706 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1711 * ps/gtkgs.c: (gtk_gs_set_zoom):
1715 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1717 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
1719 Ensure the page is rerendered when changing zoom
1721 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
1723 * backend/ev-document.c: (ev_document_base_init),
1724 (ev_document_changed):
1725 * backend/ev-document.h:
1727 Add a changed event that is emitted when the page content
1728 changes. This is necessary to deal with the fact that
1729 in ps backend rendering happen asycrounously.
1730 This makes the ps backend mostly work.
1732 * pdf/xpdf/pdf-document.cc:
1736 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
1737 (ps_document_set_target):
1741 * shell/ev-view.c: (document_changed_callback),
1742 (ev_view_set_document), (ev_view_set_page):
1744 Redraw on the changed signal
1746 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
1748 * configure.ac: Added pt_BR to ALL_LINGUAS.
1750 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
1752 * backend/ev-document-bookmarks.c:
1753 (ev_document_bookmarks_get_child): *
1754 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
1755 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
1756 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
1757 (ev_sidebar_bookmarks_destroy),
1758 (ev_sidebar_bookmarks_class_init),
1759 (ev_sidebar_bookmarks_construct), (stack_data_free),
1760 (do_one_iteration), (populate_bookmarks_idle),
1761 (ev_sidebar_bookmarks_clear_document),
1762 (ev_sidebar_bookmarks_set_document): *
1763 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
1764 (ev_sidebar_add_page),
1765 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
1766 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
1767 it displays both the topics and the page numbers.
1769 2004-12-23 Kristian Høgsberg <krh@redhat.com>
1771 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
1773 * shell/ev-window.c (toggle_entries): Set sidebar default value to
1776 2004-12-23 Adam Weinberger <adamw@gnome.org>
1778 * configure.ac: Added en_CA to ALL_LINGUAS.
1780 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1782 * ChangeLog: replace bottom of this ChangeLog (merged history of
1783 ggv and gpdf; where all paths were wrong and most of the files are
1784 not even in this tree) with ChangeLog (from arch) of the shell
1787 2004-12-23 Havoc Pennington <hp@redhat.com>
1789 * shell/ev-window.c: hook up potentially-questionable "find
1790 results status text" feature - something involving the sidebar or
1791 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
1792 might be better in the end.
1794 * shell/ev-view.c (ev_view_get_find_status_message): new function,
1795 with corresponding signal when it should be updated
1797 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
1799 2004-12-22 Havoc Pennington <hp@redhat.com>
1801 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
1802 find stuff on other pages, sort of (only returns one result on
1803 invisible pages, to show they have results; updates full results
1804 for a page when you view it). Currently repaints the current page
1805 every time a new result is found on any page, which isn't so nice.
1807 2004-12-22 Havoc Pennington <hp@redhat.com>
1809 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
1810 the document doesn't support find (better ideas?)
1811 (find_bar_search_changed_cb): handle missing document or document
1812 that doesn't support find
1814 * pdf/xpdf/pdf-document.cc: port to implement the new
1817 * backend/ev-document-find.c: create a new interface for searching
1819 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
1821 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1823 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
1826 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
1827 EvPrintJob constructor arguments.
1829 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
1830 for documents that can export PostScript (page by page).
1832 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
1834 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
1835 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
1836 (pdf_document_ps_exporter_iface_init:
1837 Implement EvPSExporter.
1839 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
1841 2004-12-22 Anders Carlsson <andersca@gnome.org>
1843 * backend/Makefile.am:
1844 * backend/ev-document-thumbnails.c:
1845 (ev_document_thumbnails_get_type),
1846 (ev_document_thumbnails_get_thumbnail):
1847 * backend/ev-document-thumbnails.h:
1848 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1849 (pixbuf_document_thumbnails_get_thumbnail),
1850 (pixbuf_document_document_thumbnails_iface_init):
1851 * shell/Makefile.am:
1852 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1853 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1854 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1855 * shell/ev-sidebar-thumbnails.h:
1856 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1857 (ev_sidebar_set_document):
1858 * shell/ev-utils.c: (gaussian), (create_blur_filter),
1859 (create_shadow), (ev_pixbuf_add_shadow):
1861 Add thumbnail support.
1863 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1865 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1866 (using_postscript_printer): Set up a print dialog for "PostScript
1869 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1872 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1874 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1876 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1877 (ps_document_set_target), (ps_document_get_page_size),
1878 (ps_document_render):
1883 2004-12-22 Christian Rose <menthos@menthos.com>
1885 * configure.ac: Added "sv" to ALL_LINGUAS.
1887 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1889 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1890 document supports bookmarks.
1892 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1894 * ps/ggvutils.c: (ggv_file_readable):
1896 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1897 (gtk_gs_get_postscript):
1901 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1903 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1904 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1905 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1906 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1907 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1908 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1909 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1910 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1911 (gtk_gs_set_antialiasing), (ps_document_load),
1912 (ps_document_render):
1915 Another check point for the ps backend. Now I can get it to show
1918 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1920 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1921 document setting code.
1923 2004-12-22 Anders Carlsson <andersca@gnome.org>
1925 * shell/eggfindbar.c: (entry_activate_callback):
1926 Animate the next button when activate is pressed.
1928 2004-12-22 Anders Carlsson <andersca@gnome.org>
1930 * shell/ev-window.c: (ev_window_cmd_edit_find),
1931 (update_fullscreen_popup), (ev_window_fullscreen),
1932 (ev_window_unfullscreen), (ev_window_state_event_cb),
1933 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1934 Fix bugs in fullscreen code.
1936 2004-12-22 Anders Carlsson <andersca@gnome.org>
1940 * pixbuf/Makefile.am:
1941 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1942 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1943 (pixbuf_document_set_page), (pixbuf_document_get_page),
1944 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1945 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1946 (pixbuf_document_render), (pixbuf_document_begin_find),
1947 (pixbuf_document_end_find), (pixbuf_document_finalize),
1948 (pixbuf_document_class_init),
1949 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1950 * pixbuf/pixbuf-document.h:
1951 * shell/Makefile.am:
1952 * shell/ev-application.c: (ev_application_open):
1953 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1957 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1960 * dvi/dvilib/Makefile.am:
1962 * configure.ac: Auto*ify dvi and dvi/dvilib
1964 * dvi/Makefile: Remove from CVS
1966 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1969 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1971 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1973 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1976 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1977 (gtk_gs_value_adjustment_changed), (compute_size),
1978 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1979 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1980 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1981 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1982 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1983 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1984 (ps_document_load), (ps_document_get_n_pages),
1985 (ps_document_set_page), (ps_document_get_page),
1986 (ps_document_set_target), (ps_document_set_scale),
1987 (ps_document_set_page_offset), (ps_document_get_page_size),
1988 (ps_document_render), (ps_document_begin_find),
1989 (ps_document_end_find), (ps_document_document_iface_init):
1991 * shell/Makefile.am:
1992 * shell/ev-window.c: (ev_window_open):
1994 Some work to integrate gtkgs with EvDocument
1996 2004-12-22 Anders Carlsson <andersca@gnome.org>
1998 * shell/ev-window.c: (update_fullscreen_popup),
1999 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
2000 (exit_fullscreen_button_clicked_cb),
2001 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
2002 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
2003 (ev_window_state_event_cb), (ev_window_init):
2004 Add fullscreen support from Epiphany.
2006 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2008 * data/ev-stock-zoom-fit-width.png: fit-width
2009 stock icon from gpdf.
2011 * shell/ev-stock-icons.[ch]: copied from gpdf.
2013 * shell/main.c: (main): init stock icons.
2015 * shell/ev-window.c: use the fit-width icon.
2017 * data/evince-ui.xml: add zooming toolbar items.
2019 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2022 (ev_view_best_fit), (ev_view_fit_width): because
2023 get_page_size() returns the scaled page size, we
2024 need to calculate the scale factor relative to
2025 the previous scale factor. Should really just
2026 add get_real_page_size().
2028 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2030 * shell/ev-view.[ch]:
2031 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
2032 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
2035 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2036 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
2037 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
2040 * pdf/xpdf/pdf-document.cc:
2041 (pdf_document_begin_find),
2042 (pdf_document_end_find): make static.
2044 2004-12-22 Martin Kretzschmar <martink@gnome.org>
2046 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
2048 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
2049 names to fontconfig patterns.
2050 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
2052 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
2055 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2071 Import ggv backend. Not hooked up yet.
2073 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2075 * shell/main.c: (load_files), (main): load files
2076 from the command line.
2078 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2080 * configure.ac: don't require bonobo.
2082 * cut-n-paste/recent-files/*: kill bonobo recent
2085 * shell/ev-window.c:
2086 (ev_window_is_empty): upd.
2087 (unable_to_load), (ev_window_open): load backend
2088 based on the mime type.
2090 2004-12-22 Martin Kretzschmar <martink@gnome.org>
2092 * backend/.cvsignore: ignore generated marshalers source.
2094 * shell/main.c (main): this is not epiphany.
2096 2004-12-22 Havoc Pennington <hp@redhat.com>
2098 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
2099 (expose_bin_window): draw find highlights
2101 * shell/ev-window.c (find_bar_search_changed_cb): implement
2103 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
2104 (pdf_document_end_find): implement this interface
2106 * backend/ev-document.c (ev_document_found): add this to emit
2109 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
2111 * data/evince-ui.xml: Add a few more toolbar items.
2113 * shell/ev-window.c: Hook up page navigation toolbar
2116 * shell/ev-view.[ch]: add ev_view_set/get_page and
2117 a page-changed signal.
2119 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
2120 Add ev_document_get_page().
2122 * shell/ev-window.c: Sensitize/desensitize navigation
2125 2004-12-21 Havoc Pennington <hp@redhat.com>
2127 * backend/ev-backend-marshal.c,
2128 backend/ev-backend-marshalers.list, backend/Makefile.am: add
2129 marshaler-generator thingy. I'm sure there's a better way to do
2130 this in the modern world.
2132 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
2133 end_find methods and "found" signal.
2135 * configure.ac: find glib-genmarshal
2137 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
2139 * shell/ev-sidebar.c: Construct an actual sidebar.
2140 * shell/ev-sidebar-bookmarks.[ch]:
2141 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
2143 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
2145 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
2148 * shell/ev-view.c: Track the size from the document.
2150 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
2152 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
2153 constructor assumes ownership of the string passed in.
2155 * shell/ev-window.c (ev_window_open): Destroy the error
2156 dialog once we've displayed it.
2158 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
2160 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
2161 a bit, it works! (sort of)
2163 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
2164 Move to .cc since we need to use C++ in the implementation.
2166 * shell/dummy.cc: Add a CC file to force evince
2167 to be linked as a C++ program.
2169 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
2171 * shell/ev-view.[ch]: Start of content-area widget.
2173 * shell/ev-window.c: Create a EvView, update it
2174 as we change documents.
2176 * shell/Makefile.am shell/ev-marshal.list: Add
2177 generated marshalers.
2179 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
2181 * Makefile.am (SUBDIRS): move shell.
2183 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
2185 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
2186 .a to libtool convenience libraries.
2188 * shell/ev-window.c (ev_window_open): Hard code loading
2191 * backend/ev-document.h: Add a boolean return to load(),
2192 fix GError * to GError **.
2194 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
2195 object for a PDF backend EvDocument.
2197 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
2199 * dvi/*: New directory with the beginning of a .dvi backend.
2201 2004-12-21 Havoc Pennington <hp@redhat.com>
2203 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
2204 previous/next instead of back/forward
2206 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
2208 * backend/ev-document.[ch]: Fix a couple of problems so
2211 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
2213 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
2214 to backend/ directory, rename EvViewer to EvDocument.
2216 2004-12-21 Havoc Pennington <hp@redhat.com>
2218 * shell/ev-window.c: hook up the find bar widget; now we just need
2219 a document to find things in
2221 * shell/eggfindbar.c: a find bar widget
2223 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
2225 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
2227 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
2229 * pdf/**: Import of xpdf code from gpdf.
2231 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
2233 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
2234 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
2235 Fix FreeType includes.
2237 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
2238 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
2239 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
2240 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
2241 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
2242 Include xpdfconfig.h
2244 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
2246 * shell/ev-window.c (ev_window_dispose): dispose can be called
2249 2004-12-21 Havoc Pennington <hp@redhat.com>
2251 * shell/ev-window.c (ev_window_init): set title to Document Viewer
2254 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
2255 items; really they should be synced with the strings, etc. from
2256 current gpdf, but just getting the boring typing out of the way
2258 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
2261 * shell/ev-application.c: (window_destroy_cb):
2262 * shell/ev-window.c:
2263 * shell/main.c: (main):
2265 Actually show the window...
2267 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
2270 * shell/Makefile.am:
2271 * shell/ev-application.c: (ev_application_class_init):
2272 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
2276 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
2278 Import to gnome cvs.
2280 * Remove copies of gpdf and ggv trees.
2281 * Rip out all the recursive configure code.
2282 * Remove bonobo machinery.
2283 * viewer/*: GInterfaces that backends should/can implement.
2285 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
2287 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
2290 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
2292 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
2293 (ev_application_finalize, ev_application_class_init)
2294 (ev_application_init): use GType instance private data for priv.
2296 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
2297 (ev_window_finalize, ev_window_class_init)
2298 (ev_window_init): ditto.
2300 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
2302 * shell/ev-application.c (ev_application_new_window): make public
2303 (ev_application_show_initial_window): kill.
2305 * shell/ev-application.h: update prototypes.
2307 * shell/main.cc (main): inline ev_application_show_initial_window.
2309 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
2311 * shell/ev-application.c (ev_application_new_window): impl.
2312 (ev_application_show_initial_window): use it.
2313 (is_window_empty, ev_application_get_empty_window): returns an
2314 existing empty window or a new one.
2315 (ev_application_open): from ev_window_cmd_file_open.
2317 * shell/ev-application.h: update prototypes
2319 * shell/ev-window.c (ev_window_is_empty): impl.
2320 (ev_window_open): make public.
2321 (ev_window_cmd_file_open): use ev_application_open
2323 * shell/ev-window.h: update prototypes, remove unused.
2325 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
2327 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
2328 move destroy handler out of here...
2330 * shell/ev-application.c, shell/ev-application.h: ...into this new
2331 class. Also handles initial window creation.
2333 * shell/main.cc (main): use EvApplication to create initial
2336 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
2338 * Makefile.am (SUBDIRS): add cut-n-paste
2340 * cut-n-paste/Makefile.am: add
2342 * configure.ac: generate Makefiles in cut-n-paste
2344 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
2346 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
2347 (ev_window_class_init): install ev_window_dispose.
2349 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2351 * shell/ev-window.h, shell/ev-window.c: replace gchar with
2352 char (gchar looks stupid).
2354 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2356 * po/de.po: updated German translation.
2358 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2360 * configure.ac: add more pkg-config library checks for gnome-vfs,
2363 * gpdf/configure.in: temporarily disable libpaper
2364 checks. Otherwise I'd have to add the checks for the shell, too.
2366 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2368 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
2369 and * file filters to the file choose.
2371 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2373 * po/de.po: Updated German translation.
2375 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2377 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
2379 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2381 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
2383 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
2384 (ev_window_init): implement those menuitems.
2386 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2388 * data/evince-ui.xml: add a toolbar (with FileOpen action)
2390 * shell/ev-window.c (ev_window_init): use the toolbar.
2392 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2394 * shell/ev-window.c (ev_window_init): use menu translations
2396 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2398 * configure.ac: add "de" to ALL_LINGUAS.
2400 * po/de.po: add German translation.
2402 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2404 * Makefile.am (SUBDIRS): add po
2406 * configure.ac: check intltool, glib-gettext etc, generate
2409 * po, po/POTFILES.in, po/POTFILES.skip: new.
2411 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2413 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
2414 already use (#ifdef ENABLE_NLS)
2416 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
2417 pointer indirection thinko.
2419 * shell/main.c: include gi18n.h for bindtextdomain etc.
2421 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2423 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
2424 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
2425 tooltips for menu items in the statusbar.
2427 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2429 * configure.ac, data/Makefile.am, shell/Makefile.am: use
2430 pkgdatadir drop UIDIR
2432 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2434 * data/evince-ui.xml: Add File->Open menu item
2436 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
2437 chooser), hook it up in the ui manager.
2439 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2441 * shell/ev-window.c: fix Help->About tooltip.
2443 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2445 * configure.ac: set CFLAGS for libevprivate.
2447 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
2448 definitions, factory etc.
2450 * lib/Makefile.am: build libevprivate.a (only stock icon code).
2452 * shell/Makefile.am: link against libevprivate.a.
2454 * shell/ev-window.c (entries): add stock icon to Help->About.
2456 * shell/main.c (main): init stock icon code.
2458 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2460 * lib/recent-files: egg recent files code
2462 * lib/Makefile.am: add.
2464 * Makefile.am: add lib subdir.
2466 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
2467 set CFLAGS for recent-files.
2469 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2471 * configure.ac: disable -ansi and -pedantic gcc flags. They
2472 disable POSIX stuff in stdio.h, but egg-recent uses them.
2474 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2476 * configure.ac: add --disable-deprecated flag (defaults to on in
2479 * shell/Makefile.am (INCLUDES): use it.
2481 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2483 * shell/main.c: add missing #include.
2485 * shell/ev-window.c: fix for pedantic gcc.
2486 (ev_window_cmd_help_about): split license into paragraphs for
2487 translators and pedantic compilers.
2489 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2491 * configure.ac: add more warning flags if compiling with gcc from
2492 cvs (or explicitly requested with --enable-more-warnings).
2494 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2496 * data/evince-ui.xml: add File and File->Close menu.
2498 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
2499 (ev_window_destroy): quit after destroy.
2500 (ev_window_class_init): override GtkObject::destroy.
2501 (entries): install close_window callback.
2503 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2505 * Makefile.am (SUBDIRS): add data subdir.
2507 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
2508 gtk+ 2.5.0 for GtkAboutDialog.
2510 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
2513 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
2515 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
2517 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
2519 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2521 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
2523 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
2525 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
2527 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
2529 * shell/*: Added shell directory boilerplate, build it.
2531 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
2533 * configure.ac, Makefile.am: Added top-level configure.ac and