1 2005-01-28 Martin Kretzschmar <martink@gnome.org>
3 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
5 ev_sidebar_thumbnails_parent_class variable, don't define another
8 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
9 (ev_page_action_class_init): ditto.
11 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
12 (pixbuf_document_class_init): ditto.
14 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
17 * .cvsignore: ignore various valgrind output files.
19 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
25 * shell/ev-navigation-action.c:
26 * shell/ev-navigation-action.h:
27 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
28 (ev_view_set_page), (ev_view_fit_width):
30 * shell/ev-window.c: (update_action_sensitivity),
31 (ev_window_setup_document), (register_custom_actions):
35 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
37 * shell/ev-window.c: (update_action_sensitivity):
39 Fix inverted up/down buttons
41 2005-01-27 Martin Kretzschmar <martink@gnome.org>
43 * shell/ev-sidebar-thumbnails.c
44 (ev_sidebar_thumbnails_select_page): make sure the selected
45 thumbnail stays visible.
47 2005-01-26 Martin Kretzschmar <martink@gnome.org>
49 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
50 scrolled window for Federico.
52 2005-01-26 Ole Laursen <olau@hardworking.dk>
54 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
56 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
59 * pdf/splash/SplashFTFontEngine.cc:
61 Fix CID fonts with freetype 2.1.9
63 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
65 * TODO: added item for desktop icon thumbnailer
67 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
69 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
70 unloaded docs when the title is accessed.
72 * shell/ev-password-view.[hc]: New widget for displaying password
75 * shell/ev-window.[ch]: Refactor password handling code to handle
78 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
86 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
88 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
89 ignore page offset here, to make search results independent of it,
91 * shell/ev-view.c (expose_bin_window): but take offsets into
92 account here. Bug #164932
94 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
95 scale at the right time. Bug #164996
97 2005-01-22 Martin Kretzschmar <martink@gnome.org>
99 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
100 fix the problem. Now I just removed the Adobe font names and hope
101 that the URW fonts are always in outline format. Bug #164934
103 * shell/ev-window.c (update_window_title): empty titles are
104 useless, use filename in that case too.
106 * NEWS: Add some content.
108 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
110 * TODO: added one more TODO item and a TODONE section :)
112 2005-01-21 Martin Kretzschmar <martink@gnome.org>
114 * ps/ps-document.h: add page_[xy]_offset fields.
116 * ps/ps-document.c (ps_document_set_page_offset)
117 (ps_document_render): Keep offset in consideration in a few
118 places. Bug #164752 "postscript documents are not centered in
121 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
122 s/gpdf/evince/. Spotted by Stephane Loeuillet.
124 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
125 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
126 stub out missing methods for complete EvDocument implementation.
127 Fixes segfaults with Save A Copy and Copy actions.
129 * ps/ps-document.c (ps_document_save, ps_document_get_text)
130 (ps_document_document_iface_init): ditto.
132 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
136 * data/evince.desktop.in:
140 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
142 * shell/ev-view.c: (ev_view_button_press_event),
143 (ev_view_motion_notify_event):
145 Make selection work in any direction
147 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
150 * shell/ev-window.c: (set_short_labels), (ev_window_init):
152 Use shorter labels for some of the toolbars items
154 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
156 * pdf/xpdf/pdf-document.cc:
158 Check the links info is initialized before
159 using it. Should fix a crash on startup.
161 2005-01-21 Martin Kretzschmar <martink@gnome.org>
163 * pixbuf/pixbuf-document.c
164 (pixbuf_document_thumbnails_get_dimensions): force floating point
165 division to calculate page_ratio. Fixes crash with landscape
168 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
170 * shell/ev-view.c (ev_view_realize): make the bg color darker.
172 2005-01-20 Martin Kretzschmar <martink@gnome.org>
174 * shell/ev-view.c (set_document_page): unset has_selection when
176 (set_document_page): handle paper size changes when the page
177 changes (test with Free Culture, page 2).
179 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
181 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
182 (expose_bin_window), (ev_view_class_init), (ev_view_init):
184 Use normal style color for the widget background and
185 draw a black box around the page.
187 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
189 * pdf/xpdf/pdf-document.cc:
191 Keep offset in consideration in a few places
193 * shell/ev-view.c: (expose_bin_window):
195 Set the offsets so that the document is ever centered
197 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
199 * TODO: Added TODO items and finished off the first todo item
201 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
202 reflect current authors
204 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
206 * pdf/xpdf/pdf-document.cc:
207 * shell/ev-view.c: (ev_view_set_cursor),
208 (ev_view_motion_notify_event), (document_changed_callback),
211 Show a wait cursor while the page is rendering
213 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
215 * shell/ev-sidebar-thumbnails.c:
216 (ev_sidebar_tree_selection_changed),
217 (ev_sidebar_thumbnails_select_page):
218 * shell/ev-sidebar-thumbnails.h:
219 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
220 (ev_view_can_go_forward):
221 * shell/ev-window.c: (ev_window_open_page),
222 (ev_window_setup_document), (update_current_page),
223 (view_page_changed_cb), (ev_window_init):
226 Ensure thumbnails selection, toolbar page control and
227 current page are in sync.
229 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
235 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
237 * backend/Makefile.am:
238 * backend/ev-document-links.h:
239 * backend/ev-document-security.c: (ev_document_security_get_type),
240 (ev_document_security_has_document_security),
241 (ev_document_security_set_password):
242 * backend/ev-document-security.h:
243 * backend/ev-document.c: (ev_document_error_quark):
244 * backend/ev-document.h:
246 * data/evince-password.glade:
247 * pdf/xpdf/pdf-document.cc:
249 * shell/ev-password.c: (ev_password_set_bad_password_label),
250 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
251 (ev_password_dialog_get_password),
252 (ev_password_dialog_set_bad_pass):
253 * shell/ev-password.h:
254 * shell/ev-window.c: (ev_window_get_attribute),
255 (ev_window_set_property), (update_action_sensitivity),
256 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
257 (ev_window_setup_document), (ev_window_get_password),
258 (ev_window_open), (ev_window_cmd_save_as),
259 (using_postscript_printer), (ev_window_print),
260 (find_not_supported_dialog), (ev_window_cmd_edit_find),
261 (update_fullscreen_popup), (ev_window_fullscreen),
262 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
263 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
264 (menu_item_select_cb), (find_bar_search_changed_cb),
265 (ev_window_dispose), (ev_window_init):
267 Add initial support for password-supported dialogs. This could be
268 a lot cooler, but it'll do for now.
270 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
272 * pdf/xpdf/pdf-document.cc:
273 * shell/ev-view.c: (status_message_from_link),
274 (ev_view_set_status), (ev_view_set_cursor),
275 (ev_view_motion_notify_event), (ev_view_init):
276 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
278 Fix bugs in the links implementation and change cursor
279 when hovering a link.
281 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
283 * viewer/.cvsignore: added cvsignore file for viewer directory
285 * TODO: created TODO document
287 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
290 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
291 new functions to help with implementation of sensitivity code
292 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
293 of all actions that might require it. Fixes a crash when you
294 click on the Zoom actions in a window lacking a document.
296 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
298 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
301 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
303 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
304 (pixbuf_document_document_iface_init):
305 * ps/ps-document.c: (ps_document_get_link),
306 (ps_document_document_iface_init):
307 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
308 (status_message_from_link), (ev_view_set_status),
309 (ev_view_set_find_status), (ev_view_motion_notify_event),
310 (ev_view_button_release_event), (ev_view_set_property),
311 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
312 (ev_view_get_find_status_message), (update_find_results),
313 (ev_view_get_status), (ev_view_get_find_status):
315 * shell/ev-window.c: (view_status_changed_cb),
316 (view_find_status_changed_cb), (ev_window_init):
318 View status message support, use it to show the links.
321 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
323 * backend/ev-document.c: (ev_document_get_link):
324 * backend/ev-document.h:
325 * pdf/xpdf/pdf-document.cc:
326 * shell/ev-application.c: (ev_application_open):
327 * shell/ev-application.h:
328 * shell/ev-sidebar-links.c: (selection_changed_cb):
329 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
330 (ev_view_go_to_link):
332 Add support for document links
334 2005-01-13 Anders Carlsson <andersca@gnome.org>
336 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
338 Set the spin button limits correctly.
340 * shell/ev-sidebar-thumbnails.c:
341 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
342 Support changing pages by clicking on the thumbnails.
344 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
346 * pixbuf/pixbuf-document.c:
347 (pixbuf_document_thumbnails_get_dimensions),
348 (pixbuf_document_document_thumbnails_iface_init):
350 implement get_dimensions
352 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
354 * ps/ps-document.c: (ps_document_goto_page):
356 Fix page switching on multipage documents
358 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
360 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
362 check for NULL before assigning to width and height parameters
364 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
366 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
367 (pixbuf_document_set_property), (pixbuf_document_get_property):
369 implement get/set properties
371 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
373 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
375 return NULL instead of "Unknown", letting the title get set to
376 the filename when the pdf has no title.
378 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
380 * ps/ps-document.c: (ps_document_get_page_count),
381 (ps_document_goto_page):
383 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
385 * shell/ev-history.c: (ev_history_get_property),
386 (ev_history_set_property), (ev_history_class_init),
387 (ev_history_add_page), (ev_history_set_current_index):
388 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
389 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
390 (ev_navigation_action_finalize):
391 * shell/ev-navigation-action.h:
392 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
393 (ev_view_go_forward), (ev_view_get_find_status_message),
394 (history_index_changed_cb), (ev_view_set_history):
396 * shell/ev-window.c: (update_total_pages), (ev_window_open),
397 (update_current_page), (register_custom_actions):
399 Implement history dropdowns
401 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
403 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
404 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
405 (ev_view_go_forward):
406 * shell/ev-window.c: (register_custom_actions):
408 Fix several history bugs
410 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
412 * configure.ac: Add «nb» to ALL_LINGUAS.
414 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
416 * backend/Makefile.am:
417 * backend/ev-bookmark.c:
418 * backend/ev-bookmark.h:
419 * backend/ev-document-bookmarks.c:
420 * backend/ev-document-bookmarks.h:
421 * backend/ev-document-links.c: (ev_document_links_get_type),
422 (ev_document_links_has_document_links),
423 (ev_document_links_begin_read), (ev_document_links_get_link),
424 (ev_document_links_get_child), (ev_document_links_next),
425 (ev_document_links_free_iter):
426 * backend/ev-document-links.h:
427 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
428 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
429 (ev_link_get_link_type), (ev_link_set_link_type),
430 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
431 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
432 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
433 (ev_link_new_external):
435 * pdf/xpdf/pdf-document.cc:
437 * shell/ev-application.c: (ev_application_open_link):
438 * shell/ev-application.h:
439 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
440 (ev_history_get_link_nth):
441 * shell/ev-history.h:
442 * shell/ev-sidebar-bookmarks.c:
443 * shell/ev-sidebar-bookmarks.h:
444 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
445 (ev_sidebar_links_class_init), (selection_changed_cb),
446 (ev_sidebar_links_construct), (ev_sidebar_links_init),
447 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
448 (do_one_iteration), (populate_links_idle),
449 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
450 * shell/ev-sidebar-links.h:
451 * shell/ev-sidebar.c: (ev_sidebar_set_document):
452 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
455 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
458 Rename bookmark to link, and use "Index" for the sidebar panel.
460 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
463 * shell/ev-application.c: (ev_application_open_bookmark):
464 * shell/ev-application.h:
465 * shell/ev-history.c: (ev_history_init), (free_links_list),
466 (ev_history_finalize), (ev_history_class_init),
467 (ev_history_add_link), (ev_history_add_page),
468 (ev_history_get_link_nth), (ev_history_get_n_links),
469 (ev_history_get_current_index), (ev_history_set_current_index),
471 * shell/ev-history.h:
472 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
473 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
474 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
475 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
478 * shell/ev-window.c: (ev_window_open_bookmark),
479 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
480 (goto_page_cb), (register_custom_actions):
483 Initial history implementation. Needs work.
485 2005-01-09 Martin Kretzschmar <martink@gnome.org>
487 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
489 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
491 * cut-n-paste/recent-files/egg-recent-item.c:
492 * cut-n-paste/recent-files/egg-recent-item.h:
493 * cut-n-paste/recent-files/egg-recent-model.c:
494 * cut-n-paste/recent-files/egg-recent-util.c:
495 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
496 * cut-n-paste/recent-files/egg-recent-view.c:
500 2005-01-08 Martin Kretzschmar <martink@gnome.org>
502 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
503 (fillGlyph, fillImageMask, drawImage):
504 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
505 pdf/splash/SplashTypes.h:
506 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
507 packed mode for Splash.
509 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
510 RGB8 packed mode, eliminates the pixbuf data creation loop.
512 * shell/ev-print-job.c (ev_print_job_finalize)
513 (ev_print_job_set_property, ev_print_job_get_property)
514 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
515 (ev_print_job_use_print_dialog_settings, idle_print_handler)
516 (print_closure_finalize, ev_print_job_print): implement
517 printing (for backends with EvPsExporter)
519 * shell/ev_print_job.h: update prototypes.
521 * shell/ev-window.c (ev_window_print): unref print job after
524 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
525 unless the document implements the EvDocumentFind interface.
527 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
529 * configure.ac: Added ja to ALL_LINGUAS.
531 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
533 * pdf/xpdf/pdf-document.cc:
535 add a FIXME. We should probably not allocate
536 a bookmark object every time
538 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
540 * shell/ev-application.c: (ev_application_open),
541 (ev_application_open_bookmark):
542 * shell/ev-application.h:
544 Add a way to open bookmarks
546 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
547 (ev_bookmark_set_uri), (ev_bookmark_get_property),
548 (ev_bookmark_set_property), (ev_bookmark_class_init),
549 (ev_bookmark_new_title), (ev_bookmark_new_link),
550 (ev_bookmark_new_external):
552 Support for external uris, better constructors.
554 * backend/ev-bookmark.h:
555 * pdf/xpdf/pdf-document.cc:
556 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
560 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
562 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
563 (ev_sidebar_bookmarks_construct), (do_one_iteration):
565 Hook up bookmarks navigation
567 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
569 * backend/Makefile.am:
570 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
571 (ev_bookmark_get_title), (ev_bookmark_set_title),
572 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
573 (ev_bookmark_get_page), (ev_bookmark_set_page),
574 (ev_bookmark_get_property), (ev_bookmark_set_property),
575 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
577 * backend/ev-bookmark.h:
578 * backend/ev-document-bookmarks.c:
579 (ev_document_bookmarks_get_bookmark):
580 * backend/ev-document-bookmarks.h:
581 * pdf/xpdf/pdf-document.cc:
582 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
584 Add a bookmark object to the backend and use it instead of get_values
586 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
588 * data/evince-ui.xml:
590 Cleanup and add select all.
592 * shell/ev-view.c: (ev_view_select_all),
593 (ev_view_button_press_event):
595 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
598 Clear selection on click.
600 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
602 * shell/ev-sidebar-thumbnails.c
603 (ev_sidebar_thumbnails_set_document): forgot to unref the
606 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
608 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
609 at the visible page, not just linearly. This makes it look fast.
611 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
613 * backend/ev-document-misc.c
614 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
616 * backend/ev-document-thumbnails.h: New interface to get the size
619 2005-01-06 Jeremy Katz <katzj@redhat.com>
621 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
624 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
626 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
627 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
630 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
632 2005-01-05 Martin Kretzschmar <martink@gnome.org>
634 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
635 fonts. Should fix font problems on systems that have the base
636 fonts in bitmap format. Reported by James Henstridge
637 <james@jamesh.id.au>.
639 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
642 * pdf/xpdf/GfxState.cc:
644 Fix for CAN-2004-1125
646 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
648 * shell/ev-view.c: (ev_view_copy):
650 * shell/ev-window.c: (ev_window_cmd_edit_copy):
654 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
656 * backend/ev-document.c: (ev_document_get_text):
657 * backend/ev-document.h:
658 * pdf/xpdf/pdf-document.cc:
659 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
660 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
661 (ev_view_update_primary_selection), (ev_view_button_press_event),
662 (ev_view_motion_notify_event), (ev_view_button_release_event):
664 Beginnings of clipboard support. Incomplete but primary sort
667 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
669 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
672 Nicer rubberband drawing, from GtkIconView.
674 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
676 * backend/ev-document.c: (ev_document_save):
677 * backend/ev-document.h:
678 * data/evince-ui.xml:
679 * pdf/xpdf/pdf-document.cc:
680 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
682 Implement "Save a copy..." menu item
684 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
686 * shell/ev-view.c: (ev_view_zoom):
688 Queue a resize when zoom changes
690 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
692 * backend/ev-document-misc.[ch]: New misc file to do simple drop
695 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
698 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
700 * pdf/xpdf/pdf-document.cc
701 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
703 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
705 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
706 It's slow, but I'll speed it up next!
708 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
710 * shell/main.c (load_files):
712 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
713 from the command line and because it seems more appropriate.
715 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
717 * data/evince-ui.xml:
718 * shell/ev-window.c: (update_action_sensitivity),
719 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
721 s/next page/page down
722 s/previous page/page up
724 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
726 * data/evince-ui.xml:
728 Change the layout to match clarkbw design.
731 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
732 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
733 (ev_navigation_action_finalize),
734 (ev_navigation_action_set_property),
735 (ev_navigation_action_get_property),
736 (ev_navigation_action_class_init):
737 * shell/ev-navigation-action.h:
739 Implement clarkbw toolbar navigation controls (incomplete)
741 * shell/ev-page-action.c: (update_label), (update_spin),
742 (value_changed_cb), (create_tool_item), (connect_proxy),
743 (ev_page_action_init), (ev_page_action_finalize),
744 (ev_page_action_set_property), (ev_page_action_get_property),
745 (ev_page_action_set_current_page),
746 (ev_page_action_set_total_pages), (ev_page_action_class_init):
747 * shell/ev-page-action.h:
749 Implement a page switcher in the toolbar
751 * shell/ev-view.c: (ev_view_scroll_view):
752 * shell/ev-window.c: (update_total_pages), (ev_window_open),
753 (update_current_page), (view_page_changed_cb), (goto_page_cb),
754 (register_custom_actions), (ev_window_init):
756 Change page on PageUp/Down.
758 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
760 * pdf/xpdf/pdf-document.cc
761 (pdf_document_thumbnails_get_thumbnail): initial stab at
762 implementing thumbnail support for pdfs. It only does documents
763 with precached pdfs now.
765 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
767 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
768 thumbnail code into a time-based idle as well. Also, turn off the
769 shadow temporarily as it's really slow.
771 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
773 * backend/ev-document.c: (ev_document_class_init):
774 * pdf/xpdf/pdf-document.cc:
775 * shell/ev-window.c: (ev_window_open):
777 Fix document title bugs and fallback to
778 filename when not available.
780 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
782 * backend/ev-document.c: (ev_document_get_type),
783 (ev_document_class_init), (ev_document_load),
784 (ev_document_get_title):
785 * backend/ev-document.h:
786 * pdf/xpdf/pdf-document.cc:
787 * ps/ps-document.c: (ps_document_set_property),
788 (ps_document_get_property), (ps_document_class_init),
792 * shell/ev-window.c: (update_window_title), (ev_window_open),
795 Initial support for document title. Not working yet.
797 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
799 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
801 Grab focus on the view when clicking it
803 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
805 * shell/ev-marshal.list:
806 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
807 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
809 Add key bindings to the view. Now if the focus would work
812 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
815 * backend/Makefile.am:
818 * dvi/dvilib/Makefile.am:
819 * pdf/xpdf/Makefile.am:
825 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
827 * shell/ev-view.c: (ev_view_realize):
829 Fix mouse wheel scrolling
831 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
837 * ps/ps-document.c: (catchPipe), (ps_document_init),
838 (ps_document_class_init), (ps_document_cleanup),
839 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
840 (set_up_page), (close_pipe), (is_interpreter_ready),
841 (interpreter_failed), (output), (input), (start_interpreter),
842 (stop_interpreter), (file_length), (file_readable),
843 (check_filecompressed), (check_pdf), (compute_xdpi),
844 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
845 (ps_document_get_type), (ps_document_emit_error_msg),
846 (document_load), (ps_document_next_page),
847 (ps_document_get_current_page), (ps_document_get_page_count),
848 (ps_document_goto_page), (ps_document_set_page_size),
849 (ps_document_zoom_to_fit), (ps_document_set_zoom),
850 (ps_document_load), (ps_document_get_n_pages),
851 (ps_document_set_page), (ps_document_get_page),
852 (ps_document_widget_event), (ps_document_set_target),
853 (ps_document_set_scale), (ps_document_set_page_offset),
854 (ps_document_get_page_size), (ps_document_render),
855 (ps_document_document_iface_init):
858 * shell/ev-window.c: (ev_window_open):
860 Rename GtkGS to PSDocument
862 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
864 * ps/gtkgs.c: (gtk_gs_class_init):
867 Some more leftover...
869 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
871 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
872 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
873 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
876 Remove unused code and make a lot of stuff private
878 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
880 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
881 (gtk_gs_defaults_changed):
887 Cleanup headers dependencies
889 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
894 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
896 * ps/gtkgs.c: (file_length), (file_readable),
897 (check_filecompressed), (check_pdf), (gtk_gs_load),
898 (gtk_gs_get_postscript):
902 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
907 * ps/gtkgs.c: (gtk_gs_set_zoom):
911 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
913 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
915 Ensure the page is rerendered when changing zoom
917 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
919 * backend/ev-document.c: (ev_document_base_init),
920 (ev_document_changed):
921 * backend/ev-document.h:
923 Add a changed event that is emitted when the page content
924 changes. This is necessary to deal with the fact that
925 in ps backend rendering happen asycrounously.
926 This makes the ps backend mostly work.
928 * pdf/xpdf/pdf-document.cc:
932 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
933 (ps_document_set_target):
937 * shell/ev-view.c: (document_changed_callback),
938 (ev_view_set_document), (ev_view_set_page):
940 Redraw on the changed signal
942 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
944 * configure.ac: Added pt_BR to ALL_LINGUAS.
946 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
948 * backend/ev-document-bookmarks.c:
949 (ev_document_bookmarks_get_child): *
950 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
951 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
952 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
953 (ev_sidebar_bookmarks_destroy),
954 (ev_sidebar_bookmarks_class_init),
955 (ev_sidebar_bookmarks_construct), (stack_data_free),
956 (do_one_iteration), (populate_bookmarks_idle),
957 (ev_sidebar_bookmarks_clear_document),
958 (ev_sidebar_bookmarks_set_document): *
959 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
960 (ev_sidebar_add_page),
961 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
962 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
963 it displays both the topics and the page numbers.
965 2004-12-23 Kristian Høgsberg <krh@redhat.com>
967 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
969 * shell/ev-window.c (toggle_entries): Set sidebar default value to
972 2004-12-23 Adam Weinberger <adamw@gnome.org>
974 * configure.ac: Added en_CA to ALL_LINGUAS.
976 2004-12-23 Martin Kretzschmar <martink@gnome.org>
978 * ChangeLog: replace bottom of this ChangeLog (merged history of
979 ggv and gpdf; where all paths were wrong and most of the files are
980 not even in this tree) with ChangeLog (from arch) of the shell
983 2004-12-23 Havoc Pennington <hp@redhat.com>
985 * shell/ev-window.c: hook up potentially-questionable "find
986 results status text" feature - something involving the sidebar or
987 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
988 might be better in the end.
990 * shell/ev-view.c (ev_view_get_find_status_message): new function,
991 with corresponding signal when it should be updated
993 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
995 2004-12-22 Havoc Pennington <hp@redhat.com>
997 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
998 find stuff on other pages, sort of (only returns one result on
999 invisible pages, to show they have results; updates full results
1000 for a page when you view it). Currently repaints the current page
1001 every time a new result is found on any page, which isn't so nice.
1003 2004-12-22 Havoc Pennington <hp@redhat.com>
1005 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
1006 the document doesn't support find (better ideas?)
1007 (find_bar_search_changed_cb): handle missing document or document
1008 that doesn't support find
1010 * pdf/xpdf/pdf-document.cc: port to implement the new
1013 * backend/ev-document-find.c: create a new interface for searching
1015 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
1017 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1019 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
1022 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
1023 EvPrintJob constructor arguments.
1025 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
1026 for documents that can export PostScript (page by page).
1028 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
1030 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
1031 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
1032 (pdf_document_ps_exporter_iface_init:
1033 Implement EvPSExporter.
1035 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
1037 2004-12-22 Anders Carlsson <andersca@gnome.org>
1039 * backend/Makefile.am:
1040 * backend/ev-document-thumbnails.c:
1041 (ev_document_thumbnails_get_type),
1042 (ev_document_thumbnails_get_thumbnail):
1043 * backend/ev-document-thumbnails.h:
1044 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1045 (pixbuf_document_thumbnails_get_thumbnail),
1046 (pixbuf_document_document_thumbnails_iface_init):
1047 * shell/Makefile.am:
1048 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1049 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1050 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1051 * shell/ev-sidebar-thumbnails.h:
1052 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1053 (ev_sidebar_set_document):
1054 * shell/ev-utils.c: (gaussian), (create_blur_filter),
1055 (create_shadow), (ev_pixbuf_add_shadow):
1057 Add thumbnail support.
1059 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1061 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1062 (using_postscript_printer): Set up a print dialog for "PostScript
1065 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1068 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1070 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1072 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1073 (ps_document_set_target), (ps_document_get_page_size),
1074 (ps_document_render):
1079 2004-12-22 Christian Rose <menthos@menthos.com>
1081 * configure.ac: Added "sv" to ALL_LINGUAS.
1083 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1085 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1086 document supports bookmarks.
1088 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1090 * ps/ggvutils.c: (ggv_file_readable):
1092 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1093 (gtk_gs_get_postscript):
1097 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1099 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1100 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1101 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1102 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1103 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1104 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1105 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1106 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1107 (gtk_gs_set_antialiasing), (ps_document_load),
1108 (ps_document_render):
1111 Another check point for the ps backend. Now I can get it to show
1114 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1116 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1117 document setting code.
1119 2004-12-22 Anders Carlsson <andersca@gnome.org>
1121 * shell/eggfindbar.c: (entry_activate_callback):
1122 Animate the next button when activate is pressed.
1124 2004-12-22 Anders Carlsson <andersca@gnome.org>
1126 * shell/ev-window.c: (ev_window_cmd_edit_find),
1127 (update_fullscreen_popup), (ev_window_fullscreen),
1128 (ev_window_unfullscreen), (ev_window_state_event_cb),
1129 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1130 Fix bugs in fullscreen code.
1132 2004-12-22 Anders Carlsson <andersca@gnome.org>
1136 * pixbuf/Makefile.am:
1137 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1138 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1139 (pixbuf_document_set_page), (pixbuf_document_get_page),
1140 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1141 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1142 (pixbuf_document_render), (pixbuf_document_begin_find),
1143 (pixbuf_document_end_find), (pixbuf_document_finalize),
1144 (pixbuf_document_class_init),
1145 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1146 * pixbuf/pixbuf-document.h:
1147 * shell/Makefile.am:
1148 * shell/ev-application.c: (ev_application_open):
1149 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1153 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1156 * dvi/dvilib/Makefile.am:
1158 * configure.ac: Auto*ify dvi and dvi/dvilib
1160 * dvi/Makefile: Remove from CVS
1162 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1165 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1167 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1169 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1172 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1173 (gtk_gs_value_adjustment_changed), (compute_size),
1174 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1175 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1176 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1177 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1178 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1179 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1180 (ps_document_load), (ps_document_get_n_pages),
1181 (ps_document_set_page), (ps_document_get_page),
1182 (ps_document_set_target), (ps_document_set_scale),
1183 (ps_document_set_page_offset), (ps_document_get_page_size),
1184 (ps_document_render), (ps_document_begin_find),
1185 (ps_document_end_find), (ps_document_document_iface_init):
1187 * shell/Makefile.am:
1188 * shell/ev-window.c: (ev_window_open):
1190 Some work to integrate gtkgs with EvDocument
1192 2004-12-22 Anders Carlsson <andersca@gnome.org>
1194 * shell/ev-window.c: (update_fullscreen_popup),
1195 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1196 (exit_fullscreen_button_clicked_cb),
1197 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1198 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1199 (ev_window_state_event_cb), (ev_window_init):
1200 Add fullscreen support from Epiphany.
1202 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1204 * data/ev-stock-zoom-fit-width.png: fit-width
1205 stock icon from gpdf.
1207 * shell/ev-stock-icons.[ch]: copied from gpdf.
1209 * shell/main.c: (main): init stock icons.
1211 * shell/ev-window.c: use the fit-width icon.
1213 * data/evince-ui.xml: add zooming toolbar items.
1215 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1218 (ev_view_best_fit), (ev_view_fit_width): because
1219 get_page_size() returns the scaled page size, we
1220 need to calculate the scale factor relative to
1221 the previous scale factor. Should really just
1222 add get_real_page_size().
1224 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1226 * shell/ev-view.[ch]:
1227 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1228 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1231 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1232 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1233 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1236 * pdf/xpdf/pdf-document.cc:
1237 (pdf_document_begin_find),
1238 (pdf_document_end_find): make static.
1240 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1242 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1244 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1245 names to fontconfig patterns.
1246 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1248 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1251 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1267 Import ggv backend. Not hooked up yet.
1269 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1271 * shell/main.c: (load_files), (main): load files
1272 from the command line.
1274 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1276 * configure.ac: don't require bonobo.
1278 * cut-n-paste/recent-files/*: kill bonobo recent
1281 * shell/ev-window.c:
1282 (ev_window_is_empty): upd.
1283 (unable_to_load), (ev_window_open): load backend
1284 based on the mime type.
1286 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1288 * backend/.cvsignore: ignore generated marshalers source.
1290 * shell/main.c (main): this is not epiphany.
1292 2004-12-22 Havoc Pennington <hp@redhat.com>
1294 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1295 (expose_bin_window): draw find highlights
1297 * shell/ev-window.c (find_bar_search_changed_cb): implement
1299 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1300 (pdf_document_end_find): implement this interface
1302 * backend/ev-document.c (ev_document_found): add this to emit
1305 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1307 * data/evince-ui.xml: Add a few more toolbar items.
1309 * shell/ev-window.c: Hook up page navigation toolbar
1312 * shell/ev-view.[ch]: add ev_view_set/get_page and
1313 a page-changed signal.
1315 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1316 Add ev_document_get_page().
1318 * shell/ev-window.c: Sensitize/desensitize navigation
1321 2004-12-21 Havoc Pennington <hp@redhat.com>
1323 * backend/ev-backend-marshal.c,
1324 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1325 marshaler-generator thingy. I'm sure there's a better way to do
1326 this in the modern world.
1328 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1329 end_find methods and "found" signal.
1331 * configure.ac: find glib-genmarshal
1333 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1335 * shell/ev-sidebar.c: Construct an actual sidebar.
1336 * shell/ev-sidebar-bookmarks.[ch]:
1337 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1339 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1341 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1344 * shell/ev-view.c: Track the size from the document.
1346 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1348 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1349 constructor assumes ownership of the string passed in.
1351 * shell/ev-window.c (ev_window_open): Destroy the error
1352 dialog once we've displayed it.
1354 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1356 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1357 a bit, it works! (sort of)
1359 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1360 Move to .cc since we need to use C++ in the implementation.
1362 * shell/dummy.cc: Add a CC file to force evince
1363 to be linked as a C++ program.
1365 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1367 * shell/ev-view.[ch]: Start of content-area widget.
1369 * shell/ev-window.c: Create a EvView, update it
1370 as we change documents.
1372 * shell/Makefile.am shell/ev-marshal.list: Add
1373 generated marshalers.
1375 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1377 * Makefile.am (SUBDIRS): move shell.
1379 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1381 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1382 .a to libtool convenience libraries.
1384 * shell/ev-window.c (ev_window_open): Hard code loading
1387 * backend/ev-document.h: Add a boolean return to load(),
1388 fix GError * to GError **.
1390 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1391 object for a PDF backend EvDocument.
1393 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1395 * dvi/*: New directory with the beginning of a .dvi backend.
1397 2004-12-21 Havoc Pennington <hp@redhat.com>
1399 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1400 previous/next instead of back/forward
1402 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1404 * backend/ev-document.[ch]: Fix a couple of problems so
1407 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1409 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1410 to backend/ directory, rename EvViewer to EvDocument.
1412 2004-12-21 Havoc Pennington <hp@redhat.com>
1414 * shell/ev-window.c: hook up the find bar widget; now we just need
1415 a document to find things in
1417 * shell/eggfindbar.c: a find bar widget
1419 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1421 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1423 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1425 * pdf/**: Import of xpdf code from gpdf.
1427 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1429 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1430 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1431 Fix FreeType includes.
1433 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1434 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1435 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1436 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1437 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1438 Include xpdfconfig.h
1440 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1442 * shell/ev-window.c (ev_window_dispose): dispose can be called
1445 2004-12-21 Havoc Pennington <hp@redhat.com>
1447 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1450 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1451 items; really they should be synced with the strings, etc. from
1452 current gpdf, but just getting the boring typing out of the way
1454 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1457 * shell/ev-application.c: (window_destroy_cb):
1458 * shell/ev-window.c:
1459 * shell/main.c: (main):
1461 Actually show the window...
1463 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1466 * shell/Makefile.am:
1467 * shell/ev-application.c: (ev_application_class_init):
1468 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1472 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1474 Import to gnome cvs.
1476 * Remove copies of gpdf and ggv trees.
1477 * Rip out all the recursive configure code.
1478 * Remove bonobo machinery.
1479 * viewer/*: GInterfaces that backends should/can implement.
1481 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1483 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1486 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1488 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1489 (ev_application_finalize, ev_application_class_init)
1490 (ev_application_init): use GType instance private data for priv.
1492 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1493 (ev_window_finalize, ev_window_class_init)
1494 (ev_window_init): ditto.
1496 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1498 * shell/ev-application.c (ev_application_new_window): make public
1499 (ev_application_show_initial_window): kill.
1501 * shell/ev-application.h: update prototypes.
1503 * shell/main.cc (main): inline ev_application_show_initial_window.
1505 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1507 * shell/ev-application.c (ev_application_new_window): impl.
1508 (ev_application_show_initial_window): use it.
1509 (is_window_empty, ev_application_get_empty_window): returns an
1510 existing empty window or a new one.
1511 (ev_application_open): from ev_window_cmd_file_open.
1513 * shell/ev-application.h: update prototypes
1515 * shell/ev-window.c (ev_window_is_empty): impl.
1516 (ev_window_open): make public.
1517 (ev_window_cmd_file_open): use ev_application_open
1519 * shell/ev-window.h: update prototypes, remove unused.
1521 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1523 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1524 move destroy handler out of here...
1526 * shell/ev-application.c, shell/ev-application.h: ...into this new
1527 class. Also handles initial window creation.
1529 * shell/main.cc (main): use EvApplication to create initial
1532 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1534 * Makefile.am (SUBDIRS): add cut-n-paste
1536 * cut-n-paste/Makefile.am: add
1538 * configure.ac: generate Makefiles in cut-n-paste
1540 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1542 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1543 (ev_window_class_init): install ev_window_dispose.
1545 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1547 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1548 char (gchar looks stupid).
1550 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1552 * po/de.po: updated German translation.
1554 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1556 * configure.ac: add more pkg-config library checks for gnome-vfs,
1559 * gpdf/configure.in: temporarily disable libpaper
1560 checks. Otherwise I'd have to add the checks for the shell, too.
1562 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1564 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1565 and * file filters to the file choose.
1567 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1569 * po/de.po: Updated German translation.
1571 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1573 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1575 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1577 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1579 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1580 (ev_window_init): implement those menuitems.
1582 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1584 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1586 * shell/ev-window.c (ev_window_init): use the toolbar.
1588 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1590 * shell/ev-window.c (ev_window_init): use menu translations
1592 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1594 * configure.ac: add "de" to ALL_LINGUAS.
1596 * po/de.po: add German translation.
1598 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1600 * Makefile.am (SUBDIRS): add po
1602 * configure.ac: check intltool, glib-gettext etc, generate
1605 * po, po/POTFILES.in, po/POTFILES.skip: new.
1607 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1609 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1610 already use (#ifdef ENABLE_NLS)
1612 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1613 pointer indirection thinko.
1615 * shell/main.c: include gi18n.h for bindtextdomain etc.
1617 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1619 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1620 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1621 tooltips for menu items in the statusbar.
1623 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1625 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1626 pkgdatadir drop UIDIR
1628 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1630 * data/evince-ui.xml: Add File->Open menu item
1632 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1633 chooser), hook it up in the ui manager.
1635 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1637 * shell/ev-window.c: fix Help->About tooltip.
1639 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1641 * configure.ac: set CFLAGS for libevprivate.
1643 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1644 definitions, factory etc.
1646 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1648 * shell/Makefile.am: link against libevprivate.a.
1650 * shell/ev-window.c (entries): add stock icon to Help->About.
1652 * shell/main.c (main): init stock icon code.
1654 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1656 * lib/recent-files: egg recent files code
1658 * lib/Makefile.am: add.
1660 * Makefile.am: add lib subdir.
1662 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1663 set CFLAGS for recent-files.
1665 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1667 * configure.ac: disable -ansi and -pedantic gcc flags. They
1668 disable POSIX stuff in stdio.h, but egg-recent uses them.
1670 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1672 * configure.ac: add --disable-deprecated flag (defaults to on in
1675 * shell/Makefile.am (INCLUDES): use it.
1677 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1679 * shell/main.c: add missing #include.
1681 * shell/ev-window.c: fix for pedantic gcc.
1682 (ev_window_cmd_help_about): split license into paragraphs for
1683 translators and pedantic compilers.
1685 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1687 * configure.ac: add more warning flags if compiling with gcc from
1688 cvs (or explicitly requested with --enable-more-warnings).
1690 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1692 * data/evince-ui.xml: add File and File->Close menu.
1694 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1695 (ev_window_destroy): quit after destroy.
1696 (ev_window_class_init): override GtkObject::destroy.
1697 (entries): install close_window callback.
1699 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1701 * Makefile.am (SUBDIRS): add data subdir.
1703 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1704 gtk+ 2.5.0 for GtkAboutDialog.
1706 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1709 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1711 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1713 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1715 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1717 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1719 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1721 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1723 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1725 * shell/*: Added shell directory boilerplate, build it.
1727 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1729 * configure.ac, Makefile.am: Added top-level configure.ac and