1 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
3 * backend/ev-backend-marshalers.list:
4 * backend/ev-document-find.c: (ev_document_find_base_init),
5 (ev_document_find_cancel), (ev_document_find_page_has_results),
6 (ev_document_find_get_n_results), (ev_document_find_get_result),
7 (ev_document_find_get_progress), (ev_document_find_changed):
8 * backend/ev-document-find.h:
10 Enanche the find interface to be really able to do
13 * pdf/xpdf/pdf-document.cc:
17 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
18 (expose_bin_window), (ev_view_init),
19 (ev_view_get_find_status_message), (find_changed_cb),
20 (ev_view_set_document), (set_document_page):
22 Adapt to the new interface. A few things are regressed sorry,
23 I will finish it soon.
25 2005-01-28 Martin Kretzschmar <martink@gnome.org>
27 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
28 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
29 ev_sidebar_thumbnails_parent_class variable, don't define another
30 parent_class variable.
32 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
33 (ev_page_action_class_init): ditto.
35 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
36 (pixbuf_document_class_init): ditto.
38 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
41 * .cvsignore: ignore various valgrind output files.
43 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
49 * shell/ev-navigation-action.c:
50 * shell/ev-navigation-action.h:
51 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
52 (ev_view_set_page), (ev_view_fit_width):
54 * shell/ev-window.c: (update_action_sensitivity),
55 (ev_window_setup_document), (register_custom_actions):
59 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
61 * shell/ev-window.c: (update_action_sensitivity):
63 Fix inverted up/down buttons
65 2005-01-27 Martin Kretzschmar <martink@gnome.org>
67 * shell/ev-sidebar-thumbnails.c
68 (ev_sidebar_thumbnails_select_page): make sure the selected
69 thumbnail stays visible.
71 2005-01-26 Martin Kretzschmar <martink@gnome.org>
73 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
74 scrolled window for Federico.
76 2005-01-26 Ole Laursen <olau@hardworking.dk>
78 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
80 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
83 * pdf/splash/SplashFTFontEngine.cc:
85 Fix CID fonts with freetype 2.1.9
87 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
89 * TODO: added item for desktop icon thumbnailer
91 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
93 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
94 unloaded docs when the title is accessed.
96 * shell/ev-password-view.[hc]: New widget for displaying password
99 * shell/ev-window.[ch]: Refactor password handling code to handle
102 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
110 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
112 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
113 ignore page offset here, to make search results independent of it,
115 * shell/ev-view.c (expose_bin_window): but take offsets into
116 account here. Bug #164932
118 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
119 scale at the right time. Bug #164996
121 2005-01-22 Martin Kretzschmar <martink@gnome.org>
123 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
124 fix the problem. Now I just removed the Adobe font names and hope
125 that the URW fonts are always in outline format. Bug #164934
127 * shell/ev-window.c (update_window_title): empty titles are
128 useless, use filename in that case too.
130 * NEWS: Add some content.
132 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
134 * TODO: added one more TODO item and a TODONE section :)
136 2005-01-21 Martin Kretzschmar <martink@gnome.org>
138 * ps/ps-document.h: add page_[xy]_offset fields.
140 * ps/ps-document.c (ps_document_set_page_offset)
141 (ps_document_render): Keep offset in consideration in a few
142 places. Bug #164752 "postscript documents are not centered in
145 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
146 s/gpdf/evince/. Spotted by Stephane Loeuillet.
148 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
149 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
150 stub out missing methods for complete EvDocument implementation.
151 Fixes segfaults with Save A Copy and Copy actions.
153 * ps/ps-document.c (ps_document_save, ps_document_get_text)
154 (ps_document_document_iface_init): ditto.
156 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
160 * data/evince.desktop.in:
164 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
166 * shell/ev-view.c: (ev_view_button_press_event),
167 (ev_view_motion_notify_event):
169 Make selection work in any direction
171 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
174 * shell/ev-window.c: (set_short_labels), (ev_window_init):
176 Use shorter labels for some of the toolbars items
178 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
180 * pdf/xpdf/pdf-document.cc:
182 Check the links info is initialized before
183 using it. Should fix a crash on startup.
185 2005-01-21 Martin Kretzschmar <martink@gnome.org>
187 * pixbuf/pixbuf-document.c
188 (pixbuf_document_thumbnails_get_dimensions): force floating point
189 division to calculate page_ratio. Fixes crash with landscape
192 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
194 * shell/ev-view.c (ev_view_realize): make the bg color darker.
196 2005-01-20 Martin Kretzschmar <martink@gnome.org>
198 * shell/ev-view.c (set_document_page): unset has_selection when
200 (set_document_page): handle paper size changes when the page
201 changes (test with Free Culture, page 2).
203 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
205 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
206 (expose_bin_window), (ev_view_class_init), (ev_view_init):
208 Use normal style color for the widget background and
209 draw a black box around the page.
211 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
213 * pdf/xpdf/pdf-document.cc:
215 Keep offset in consideration in a few places
217 * shell/ev-view.c: (expose_bin_window):
219 Set the offsets so that the document is ever centered
221 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
223 * TODO: Added TODO items and finished off the first todo item
225 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
226 reflect current authors
228 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
230 * pdf/xpdf/pdf-document.cc:
231 * shell/ev-view.c: (ev_view_set_cursor),
232 (ev_view_motion_notify_event), (document_changed_callback),
235 Show a wait cursor while the page is rendering
237 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
239 * shell/ev-sidebar-thumbnails.c:
240 (ev_sidebar_tree_selection_changed),
241 (ev_sidebar_thumbnails_select_page):
242 * shell/ev-sidebar-thumbnails.h:
243 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
244 (ev_view_can_go_forward):
245 * shell/ev-window.c: (ev_window_open_page),
246 (ev_window_setup_document), (update_current_page),
247 (view_page_changed_cb), (ev_window_init):
250 Ensure thumbnails selection, toolbar page control and
251 current page are in sync.
253 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
259 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
261 * backend/Makefile.am:
262 * backend/ev-document-links.h:
263 * backend/ev-document-security.c: (ev_document_security_get_type),
264 (ev_document_security_has_document_security),
265 (ev_document_security_set_password):
266 * backend/ev-document-security.h:
267 * backend/ev-document.c: (ev_document_error_quark):
268 * backend/ev-document.h:
270 * data/evince-password.glade:
271 * pdf/xpdf/pdf-document.cc:
273 * shell/ev-password.c: (ev_password_set_bad_password_label),
274 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
275 (ev_password_dialog_get_password),
276 (ev_password_dialog_set_bad_pass):
277 * shell/ev-password.h:
278 * shell/ev-window.c: (ev_window_get_attribute),
279 (ev_window_set_property), (update_action_sensitivity),
280 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
281 (ev_window_setup_document), (ev_window_get_password),
282 (ev_window_open), (ev_window_cmd_save_as),
283 (using_postscript_printer), (ev_window_print),
284 (find_not_supported_dialog), (ev_window_cmd_edit_find),
285 (update_fullscreen_popup), (ev_window_fullscreen),
286 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
287 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
288 (menu_item_select_cb), (find_bar_search_changed_cb),
289 (ev_window_dispose), (ev_window_init):
291 Add initial support for password-supported dialogs. This could be
292 a lot cooler, but it'll do for now.
294 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
296 * pdf/xpdf/pdf-document.cc:
297 * shell/ev-view.c: (status_message_from_link),
298 (ev_view_set_status), (ev_view_set_cursor),
299 (ev_view_motion_notify_event), (ev_view_init):
300 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
302 Fix bugs in the links implementation and change cursor
303 when hovering a link.
305 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
307 * viewer/.cvsignore: added cvsignore file for viewer directory
309 * TODO: created TODO document
311 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
314 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
315 new functions to help with implementation of sensitivity code
316 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
317 of all actions that might require it. Fixes a crash when you
318 click on the Zoom actions in a window lacking a document.
320 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
322 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
325 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
327 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
328 (pixbuf_document_document_iface_init):
329 * ps/ps-document.c: (ps_document_get_link),
330 (ps_document_document_iface_init):
331 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
332 (status_message_from_link), (ev_view_set_status),
333 (ev_view_set_find_status), (ev_view_motion_notify_event),
334 (ev_view_button_release_event), (ev_view_set_property),
335 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
336 (ev_view_get_find_status_message), (update_find_results),
337 (ev_view_get_status), (ev_view_get_find_status):
339 * shell/ev-window.c: (view_status_changed_cb),
340 (view_find_status_changed_cb), (ev_window_init):
342 View status message support, use it to show the links.
345 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
347 * backend/ev-document.c: (ev_document_get_link):
348 * backend/ev-document.h:
349 * pdf/xpdf/pdf-document.cc:
350 * shell/ev-application.c: (ev_application_open):
351 * shell/ev-application.h:
352 * shell/ev-sidebar-links.c: (selection_changed_cb):
353 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
354 (ev_view_go_to_link):
356 Add support for document links
358 2005-01-13 Anders Carlsson <andersca@gnome.org>
360 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
362 Set the spin button limits correctly.
364 * shell/ev-sidebar-thumbnails.c:
365 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
366 Support changing pages by clicking on the thumbnails.
368 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
370 * pixbuf/pixbuf-document.c:
371 (pixbuf_document_thumbnails_get_dimensions),
372 (pixbuf_document_document_thumbnails_iface_init):
374 implement get_dimensions
376 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
378 * ps/ps-document.c: (ps_document_goto_page):
380 Fix page switching on multipage documents
382 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
384 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
386 check for NULL before assigning to width and height parameters
388 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
390 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
391 (pixbuf_document_set_property), (pixbuf_document_get_property):
393 implement get/set properties
395 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
397 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
399 return NULL instead of "Unknown", letting the title get set to
400 the filename when the pdf has no title.
402 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
404 * ps/ps-document.c: (ps_document_get_page_count),
405 (ps_document_goto_page):
407 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
409 * shell/ev-history.c: (ev_history_get_property),
410 (ev_history_set_property), (ev_history_class_init),
411 (ev_history_add_page), (ev_history_set_current_index):
412 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
413 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
414 (ev_navigation_action_finalize):
415 * shell/ev-navigation-action.h:
416 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
417 (ev_view_go_forward), (ev_view_get_find_status_message),
418 (history_index_changed_cb), (ev_view_set_history):
420 * shell/ev-window.c: (update_total_pages), (ev_window_open),
421 (update_current_page), (register_custom_actions):
423 Implement history dropdowns
425 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
427 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
428 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
429 (ev_view_go_forward):
430 * shell/ev-window.c: (register_custom_actions):
432 Fix several history bugs
434 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
436 * configure.ac: Add «nb» to ALL_LINGUAS.
438 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
440 * backend/Makefile.am:
441 * backend/ev-bookmark.c:
442 * backend/ev-bookmark.h:
443 * backend/ev-document-bookmarks.c:
444 * backend/ev-document-bookmarks.h:
445 * backend/ev-document-links.c: (ev_document_links_get_type),
446 (ev_document_links_has_document_links),
447 (ev_document_links_begin_read), (ev_document_links_get_link),
448 (ev_document_links_get_child), (ev_document_links_next),
449 (ev_document_links_free_iter):
450 * backend/ev-document-links.h:
451 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
452 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
453 (ev_link_get_link_type), (ev_link_set_link_type),
454 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
455 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
456 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
457 (ev_link_new_external):
459 * pdf/xpdf/pdf-document.cc:
461 * shell/ev-application.c: (ev_application_open_link):
462 * shell/ev-application.h:
463 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
464 (ev_history_get_link_nth):
465 * shell/ev-history.h:
466 * shell/ev-sidebar-bookmarks.c:
467 * shell/ev-sidebar-bookmarks.h:
468 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
469 (ev_sidebar_links_class_init), (selection_changed_cb),
470 (ev_sidebar_links_construct), (ev_sidebar_links_init),
471 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
472 (do_one_iteration), (populate_links_idle),
473 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
474 * shell/ev-sidebar-links.h:
475 * shell/ev-sidebar.c: (ev_sidebar_set_document):
476 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
479 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
482 Rename bookmark to link, and use "Index" for the sidebar panel.
484 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
487 * shell/ev-application.c: (ev_application_open_bookmark):
488 * shell/ev-application.h:
489 * shell/ev-history.c: (ev_history_init), (free_links_list),
490 (ev_history_finalize), (ev_history_class_init),
491 (ev_history_add_link), (ev_history_add_page),
492 (ev_history_get_link_nth), (ev_history_get_n_links),
493 (ev_history_get_current_index), (ev_history_set_current_index),
495 * shell/ev-history.h:
496 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
497 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
498 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
499 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
502 * shell/ev-window.c: (ev_window_open_bookmark),
503 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
504 (goto_page_cb), (register_custom_actions):
507 Initial history implementation. Needs work.
509 2005-01-09 Martin Kretzschmar <martink@gnome.org>
511 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
513 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
515 * cut-n-paste/recent-files/egg-recent-item.c:
516 * cut-n-paste/recent-files/egg-recent-item.h:
517 * cut-n-paste/recent-files/egg-recent-model.c:
518 * cut-n-paste/recent-files/egg-recent-util.c:
519 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
520 * cut-n-paste/recent-files/egg-recent-view.c:
524 2005-01-08 Martin Kretzschmar <martink@gnome.org>
526 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
527 (fillGlyph, fillImageMask, drawImage):
528 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
529 pdf/splash/SplashTypes.h:
530 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
531 packed mode for Splash.
533 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
534 RGB8 packed mode, eliminates the pixbuf data creation loop.
536 * shell/ev-print-job.c (ev_print_job_finalize)
537 (ev_print_job_set_property, ev_print_job_get_property)
538 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
539 (ev_print_job_use_print_dialog_settings, idle_print_handler)
540 (print_closure_finalize, ev_print_job_print): implement
541 printing (for backends with EvPsExporter)
543 * shell/ev_print_job.h: update prototypes.
545 * shell/ev-window.c (ev_window_print): unref print job after
548 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
549 unless the document implements the EvDocumentFind interface.
551 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
553 * configure.ac: Added ja to ALL_LINGUAS.
555 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
557 * pdf/xpdf/pdf-document.cc:
559 add a FIXME. We should probably not allocate
560 a bookmark object every time
562 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
564 * shell/ev-application.c: (ev_application_open),
565 (ev_application_open_bookmark):
566 * shell/ev-application.h:
568 Add a way to open bookmarks
570 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
571 (ev_bookmark_set_uri), (ev_bookmark_get_property),
572 (ev_bookmark_set_property), (ev_bookmark_class_init),
573 (ev_bookmark_new_title), (ev_bookmark_new_link),
574 (ev_bookmark_new_external):
576 Support for external uris, better constructors.
578 * backend/ev-bookmark.h:
579 * pdf/xpdf/pdf-document.cc:
580 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
584 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
586 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
587 (ev_sidebar_bookmarks_construct), (do_one_iteration):
589 Hook up bookmarks navigation
591 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
593 * backend/Makefile.am:
594 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
595 (ev_bookmark_get_title), (ev_bookmark_set_title),
596 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
597 (ev_bookmark_get_page), (ev_bookmark_set_page),
598 (ev_bookmark_get_property), (ev_bookmark_set_property),
599 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
601 * backend/ev-bookmark.h:
602 * backend/ev-document-bookmarks.c:
603 (ev_document_bookmarks_get_bookmark):
604 * backend/ev-document-bookmarks.h:
605 * pdf/xpdf/pdf-document.cc:
606 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
608 Add a bookmark object to the backend and use it instead of get_values
610 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
612 * data/evince-ui.xml:
614 Cleanup and add select all.
616 * shell/ev-view.c: (ev_view_select_all),
617 (ev_view_button_press_event):
619 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
622 Clear selection on click.
624 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
626 * shell/ev-sidebar-thumbnails.c
627 (ev_sidebar_thumbnails_set_document): forgot to unref the
630 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
632 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
633 at the visible page, not just linearly. This makes it look fast.
635 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
637 * backend/ev-document-misc.c
638 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
640 * backend/ev-document-thumbnails.h: New interface to get the size
643 2005-01-06 Jeremy Katz <katzj@redhat.com>
645 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
648 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
650 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
651 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
654 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
656 2005-01-05 Martin Kretzschmar <martink@gnome.org>
658 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
659 fonts. Should fix font problems on systems that have the base
660 fonts in bitmap format. Reported by James Henstridge
661 <james@jamesh.id.au>.
663 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
666 * pdf/xpdf/GfxState.cc:
668 Fix for CAN-2004-1125
670 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
672 * shell/ev-view.c: (ev_view_copy):
674 * shell/ev-window.c: (ev_window_cmd_edit_copy):
678 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
680 * backend/ev-document.c: (ev_document_get_text):
681 * backend/ev-document.h:
682 * pdf/xpdf/pdf-document.cc:
683 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
684 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
685 (ev_view_update_primary_selection), (ev_view_button_press_event),
686 (ev_view_motion_notify_event), (ev_view_button_release_event):
688 Beginnings of clipboard support. Incomplete but primary sort
691 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
693 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
696 Nicer rubberband drawing, from GtkIconView.
698 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
700 * backend/ev-document.c: (ev_document_save):
701 * backend/ev-document.h:
702 * data/evince-ui.xml:
703 * pdf/xpdf/pdf-document.cc:
704 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
706 Implement "Save a copy..." menu item
708 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
710 * shell/ev-view.c: (ev_view_zoom):
712 Queue a resize when zoom changes
714 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
716 * backend/ev-document-misc.[ch]: New misc file to do simple drop
719 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
722 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
724 * pdf/xpdf/pdf-document.cc
725 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
727 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
729 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
730 It's slow, but I'll speed it up next!
732 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
734 * shell/main.c (load_files):
736 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
737 from the command line and because it seems more appropriate.
739 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
741 * data/evince-ui.xml:
742 * shell/ev-window.c: (update_action_sensitivity),
743 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
745 s/next page/page down
746 s/previous page/page up
748 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
750 * data/evince-ui.xml:
752 Change the layout to match clarkbw design.
755 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
756 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
757 (ev_navigation_action_finalize),
758 (ev_navigation_action_set_property),
759 (ev_navigation_action_get_property),
760 (ev_navigation_action_class_init):
761 * shell/ev-navigation-action.h:
763 Implement clarkbw toolbar navigation controls (incomplete)
765 * shell/ev-page-action.c: (update_label), (update_spin),
766 (value_changed_cb), (create_tool_item), (connect_proxy),
767 (ev_page_action_init), (ev_page_action_finalize),
768 (ev_page_action_set_property), (ev_page_action_get_property),
769 (ev_page_action_set_current_page),
770 (ev_page_action_set_total_pages), (ev_page_action_class_init):
771 * shell/ev-page-action.h:
773 Implement a page switcher in the toolbar
775 * shell/ev-view.c: (ev_view_scroll_view):
776 * shell/ev-window.c: (update_total_pages), (ev_window_open),
777 (update_current_page), (view_page_changed_cb), (goto_page_cb),
778 (register_custom_actions), (ev_window_init):
780 Change page on PageUp/Down.
782 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
784 * pdf/xpdf/pdf-document.cc
785 (pdf_document_thumbnails_get_thumbnail): initial stab at
786 implementing thumbnail support for pdfs. It only does documents
787 with precached pdfs now.
789 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
791 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
792 thumbnail code into a time-based idle as well. Also, turn off the
793 shadow temporarily as it's really slow.
795 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
797 * backend/ev-document.c: (ev_document_class_init):
798 * pdf/xpdf/pdf-document.cc:
799 * shell/ev-window.c: (ev_window_open):
801 Fix document title bugs and fallback to
802 filename when not available.
804 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
806 * backend/ev-document.c: (ev_document_get_type),
807 (ev_document_class_init), (ev_document_load),
808 (ev_document_get_title):
809 * backend/ev-document.h:
810 * pdf/xpdf/pdf-document.cc:
811 * ps/ps-document.c: (ps_document_set_property),
812 (ps_document_get_property), (ps_document_class_init),
816 * shell/ev-window.c: (update_window_title), (ev_window_open),
819 Initial support for document title. Not working yet.
821 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
823 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
825 Grab focus on the view when clicking it
827 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
829 * shell/ev-marshal.list:
830 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
831 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
833 Add key bindings to the view. Now if the focus would work
836 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
839 * backend/Makefile.am:
842 * dvi/dvilib/Makefile.am:
843 * pdf/xpdf/Makefile.am:
849 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
851 * shell/ev-view.c: (ev_view_realize):
853 Fix mouse wheel scrolling
855 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
861 * ps/ps-document.c: (catchPipe), (ps_document_init),
862 (ps_document_class_init), (ps_document_cleanup),
863 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
864 (set_up_page), (close_pipe), (is_interpreter_ready),
865 (interpreter_failed), (output), (input), (start_interpreter),
866 (stop_interpreter), (file_length), (file_readable),
867 (check_filecompressed), (check_pdf), (compute_xdpi),
868 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
869 (ps_document_get_type), (ps_document_emit_error_msg),
870 (document_load), (ps_document_next_page),
871 (ps_document_get_current_page), (ps_document_get_page_count),
872 (ps_document_goto_page), (ps_document_set_page_size),
873 (ps_document_zoom_to_fit), (ps_document_set_zoom),
874 (ps_document_load), (ps_document_get_n_pages),
875 (ps_document_set_page), (ps_document_get_page),
876 (ps_document_widget_event), (ps_document_set_target),
877 (ps_document_set_scale), (ps_document_set_page_offset),
878 (ps_document_get_page_size), (ps_document_render),
879 (ps_document_document_iface_init):
882 * shell/ev-window.c: (ev_window_open):
884 Rename GtkGS to PSDocument
886 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
888 * ps/gtkgs.c: (gtk_gs_class_init):
891 Some more leftover...
893 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
895 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
896 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
897 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
900 Remove unused code and make a lot of stuff private
902 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
904 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
905 (gtk_gs_defaults_changed):
911 Cleanup headers dependencies
913 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
918 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
920 * ps/gtkgs.c: (file_length), (file_readable),
921 (check_filecompressed), (check_pdf), (gtk_gs_load),
922 (gtk_gs_get_postscript):
926 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
931 * ps/gtkgs.c: (gtk_gs_set_zoom):
935 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
937 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
939 Ensure the page is rerendered when changing zoom
941 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
943 * backend/ev-document.c: (ev_document_base_init),
944 (ev_document_changed):
945 * backend/ev-document.h:
947 Add a changed event that is emitted when the page content
948 changes. This is necessary to deal with the fact that
949 in ps backend rendering happen asycrounously.
950 This makes the ps backend mostly work.
952 * pdf/xpdf/pdf-document.cc:
956 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
957 (ps_document_set_target):
961 * shell/ev-view.c: (document_changed_callback),
962 (ev_view_set_document), (ev_view_set_page):
964 Redraw on the changed signal
966 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
968 * configure.ac: Added pt_BR to ALL_LINGUAS.
970 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
972 * backend/ev-document-bookmarks.c:
973 (ev_document_bookmarks_get_child): *
974 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
975 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
976 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
977 (ev_sidebar_bookmarks_destroy),
978 (ev_sidebar_bookmarks_class_init),
979 (ev_sidebar_bookmarks_construct), (stack_data_free),
980 (do_one_iteration), (populate_bookmarks_idle),
981 (ev_sidebar_bookmarks_clear_document),
982 (ev_sidebar_bookmarks_set_document): *
983 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
984 (ev_sidebar_add_page),
985 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
986 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
987 it displays both the topics and the page numbers.
989 2004-12-23 Kristian Høgsberg <krh@redhat.com>
991 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
993 * shell/ev-window.c (toggle_entries): Set sidebar default value to
996 2004-12-23 Adam Weinberger <adamw@gnome.org>
998 * configure.ac: Added en_CA to ALL_LINGUAS.
1000 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1002 * ChangeLog: replace bottom of this ChangeLog (merged history of
1003 ggv and gpdf; where all paths were wrong and most of the files are
1004 not even in this tree) with ChangeLog (from arch) of the shell
1007 2004-12-23 Havoc Pennington <hp@redhat.com>
1009 * shell/ev-window.c: hook up potentially-questionable "find
1010 results status text" feature - something involving the sidebar or
1011 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
1012 might be better in the end.
1014 * shell/ev-view.c (ev_view_get_find_status_message): new function,
1015 with corresponding signal when it should be updated
1017 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
1019 2004-12-22 Havoc Pennington <hp@redhat.com>
1021 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
1022 find stuff on other pages, sort of (only returns one result on
1023 invisible pages, to show they have results; updates full results
1024 for a page when you view it). Currently repaints the current page
1025 every time a new result is found on any page, which isn't so nice.
1027 2004-12-22 Havoc Pennington <hp@redhat.com>
1029 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
1030 the document doesn't support find (better ideas?)
1031 (find_bar_search_changed_cb): handle missing document or document
1032 that doesn't support find
1034 * pdf/xpdf/pdf-document.cc: port to implement the new
1037 * backend/ev-document-find.c: create a new interface for searching
1039 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
1041 2004-12-23 Martin Kretzschmar <martink@gnome.org>
1043 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
1046 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
1047 EvPrintJob constructor arguments.
1049 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
1050 for documents that can export PostScript (page by page).
1052 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
1054 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
1055 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
1056 (pdf_document_ps_exporter_iface_init:
1057 Implement EvPSExporter.
1059 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
1061 2004-12-22 Anders Carlsson <andersca@gnome.org>
1063 * backend/Makefile.am:
1064 * backend/ev-document-thumbnails.c:
1065 (ev_document_thumbnails_get_type),
1066 (ev_document_thumbnails_get_thumbnail):
1067 * backend/ev-document-thumbnails.h:
1068 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1069 (pixbuf_document_thumbnails_get_thumbnail),
1070 (pixbuf_document_document_thumbnails_iface_init):
1071 * shell/Makefile.am:
1072 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1073 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1074 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1075 * shell/ev-sidebar-thumbnails.h:
1076 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1077 (ev_sidebar_set_document):
1078 * shell/ev-utils.c: (gaussian), (create_blur_filter),
1079 (create_shadow), (ev_pixbuf_add_shadow):
1081 Add thumbnail support.
1083 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1085 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1086 (using_postscript_printer): Set up a print dialog for "PostScript
1089 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1092 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1094 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1096 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1097 (ps_document_set_target), (ps_document_get_page_size),
1098 (ps_document_render):
1103 2004-12-22 Christian Rose <menthos@menthos.com>
1105 * configure.ac: Added "sv" to ALL_LINGUAS.
1107 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1109 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1110 document supports bookmarks.
1112 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1114 * ps/ggvutils.c: (ggv_file_readable):
1116 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1117 (gtk_gs_get_postscript):
1121 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1123 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1124 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1125 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1126 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1127 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1128 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1129 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1130 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1131 (gtk_gs_set_antialiasing), (ps_document_load),
1132 (ps_document_render):
1135 Another check point for the ps backend. Now I can get it to show
1138 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1140 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1141 document setting code.
1143 2004-12-22 Anders Carlsson <andersca@gnome.org>
1145 * shell/eggfindbar.c: (entry_activate_callback):
1146 Animate the next button when activate is pressed.
1148 2004-12-22 Anders Carlsson <andersca@gnome.org>
1150 * shell/ev-window.c: (ev_window_cmd_edit_find),
1151 (update_fullscreen_popup), (ev_window_fullscreen),
1152 (ev_window_unfullscreen), (ev_window_state_event_cb),
1153 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1154 Fix bugs in fullscreen code.
1156 2004-12-22 Anders Carlsson <andersca@gnome.org>
1160 * pixbuf/Makefile.am:
1161 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1162 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1163 (pixbuf_document_set_page), (pixbuf_document_get_page),
1164 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1165 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1166 (pixbuf_document_render), (pixbuf_document_begin_find),
1167 (pixbuf_document_end_find), (pixbuf_document_finalize),
1168 (pixbuf_document_class_init),
1169 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1170 * pixbuf/pixbuf-document.h:
1171 * shell/Makefile.am:
1172 * shell/ev-application.c: (ev_application_open):
1173 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1177 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1180 * dvi/dvilib/Makefile.am:
1182 * configure.ac: Auto*ify dvi and dvi/dvilib
1184 * dvi/Makefile: Remove from CVS
1186 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1189 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1191 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1193 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1196 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1197 (gtk_gs_value_adjustment_changed), (compute_size),
1198 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1199 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1200 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1201 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1202 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1203 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1204 (ps_document_load), (ps_document_get_n_pages),
1205 (ps_document_set_page), (ps_document_get_page),
1206 (ps_document_set_target), (ps_document_set_scale),
1207 (ps_document_set_page_offset), (ps_document_get_page_size),
1208 (ps_document_render), (ps_document_begin_find),
1209 (ps_document_end_find), (ps_document_document_iface_init):
1211 * shell/Makefile.am:
1212 * shell/ev-window.c: (ev_window_open):
1214 Some work to integrate gtkgs with EvDocument
1216 2004-12-22 Anders Carlsson <andersca@gnome.org>
1218 * shell/ev-window.c: (update_fullscreen_popup),
1219 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1220 (exit_fullscreen_button_clicked_cb),
1221 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1222 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1223 (ev_window_state_event_cb), (ev_window_init):
1224 Add fullscreen support from Epiphany.
1226 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1228 * data/ev-stock-zoom-fit-width.png: fit-width
1229 stock icon from gpdf.
1231 * shell/ev-stock-icons.[ch]: copied from gpdf.
1233 * shell/main.c: (main): init stock icons.
1235 * shell/ev-window.c: use the fit-width icon.
1237 * data/evince-ui.xml: add zooming toolbar items.
1239 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1242 (ev_view_best_fit), (ev_view_fit_width): because
1243 get_page_size() returns the scaled page size, we
1244 need to calculate the scale factor relative to
1245 the previous scale factor. Should really just
1246 add get_real_page_size().
1248 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1250 * shell/ev-view.[ch]:
1251 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1252 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1255 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1256 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1257 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1260 * pdf/xpdf/pdf-document.cc:
1261 (pdf_document_begin_find),
1262 (pdf_document_end_find): make static.
1264 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1266 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1268 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1269 names to fontconfig patterns.
1270 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1272 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1275 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1291 Import ggv backend. Not hooked up yet.
1293 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1295 * shell/main.c: (load_files), (main): load files
1296 from the command line.
1298 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1300 * configure.ac: don't require bonobo.
1302 * cut-n-paste/recent-files/*: kill bonobo recent
1305 * shell/ev-window.c:
1306 (ev_window_is_empty): upd.
1307 (unable_to_load), (ev_window_open): load backend
1308 based on the mime type.
1310 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1312 * backend/.cvsignore: ignore generated marshalers source.
1314 * shell/main.c (main): this is not epiphany.
1316 2004-12-22 Havoc Pennington <hp@redhat.com>
1318 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1319 (expose_bin_window): draw find highlights
1321 * shell/ev-window.c (find_bar_search_changed_cb): implement
1323 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1324 (pdf_document_end_find): implement this interface
1326 * backend/ev-document.c (ev_document_found): add this to emit
1329 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1331 * data/evince-ui.xml: Add a few more toolbar items.
1333 * shell/ev-window.c: Hook up page navigation toolbar
1336 * shell/ev-view.[ch]: add ev_view_set/get_page and
1337 a page-changed signal.
1339 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1340 Add ev_document_get_page().
1342 * shell/ev-window.c: Sensitize/desensitize navigation
1345 2004-12-21 Havoc Pennington <hp@redhat.com>
1347 * backend/ev-backend-marshal.c,
1348 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1349 marshaler-generator thingy. I'm sure there's a better way to do
1350 this in the modern world.
1352 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1353 end_find methods and "found" signal.
1355 * configure.ac: find glib-genmarshal
1357 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1359 * shell/ev-sidebar.c: Construct an actual sidebar.
1360 * shell/ev-sidebar-bookmarks.[ch]:
1361 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1363 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1365 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1368 * shell/ev-view.c: Track the size from the document.
1370 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1372 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1373 constructor assumes ownership of the string passed in.
1375 * shell/ev-window.c (ev_window_open): Destroy the error
1376 dialog once we've displayed it.
1378 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1380 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1381 a bit, it works! (sort of)
1383 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1384 Move to .cc since we need to use C++ in the implementation.
1386 * shell/dummy.cc: Add a CC file to force evince
1387 to be linked as a C++ program.
1389 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1391 * shell/ev-view.[ch]: Start of content-area widget.
1393 * shell/ev-window.c: Create a EvView, update it
1394 as we change documents.
1396 * shell/Makefile.am shell/ev-marshal.list: Add
1397 generated marshalers.
1399 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1401 * Makefile.am (SUBDIRS): move shell.
1403 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1405 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1406 .a to libtool convenience libraries.
1408 * shell/ev-window.c (ev_window_open): Hard code loading
1411 * backend/ev-document.h: Add a boolean return to load(),
1412 fix GError * to GError **.
1414 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1415 object for a PDF backend EvDocument.
1417 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1419 * dvi/*: New directory with the beginning of a .dvi backend.
1421 2004-12-21 Havoc Pennington <hp@redhat.com>
1423 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1424 previous/next instead of back/forward
1426 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1428 * backend/ev-document.[ch]: Fix a couple of problems so
1431 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1433 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1434 to backend/ directory, rename EvViewer to EvDocument.
1436 2004-12-21 Havoc Pennington <hp@redhat.com>
1438 * shell/ev-window.c: hook up the find bar widget; now we just need
1439 a document to find things in
1441 * shell/eggfindbar.c: a find bar widget
1443 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1445 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1447 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1449 * pdf/**: Import of xpdf code from gpdf.
1451 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1453 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1454 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1455 Fix FreeType includes.
1457 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1458 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1459 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1460 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1461 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1462 Include xpdfconfig.h
1464 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1466 * shell/ev-window.c (ev_window_dispose): dispose can be called
1469 2004-12-21 Havoc Pennington <hp@redhat.com>
1471 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1474 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1475 items; really they should be synced with the strings, etc. from
1476 current gpdf, but just getting the boring typing out of the way
1478 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1481 * shell/ev-application.c: (window_destroy_cb):
1482 * shell/ev-window.c:
1483 * shell/main.c: (main):
1485 Actually show the window...
1487 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1490 * shell/Makefile.am:
1491 * shell/ev-application.c: (ev_application_class_init):
1492 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1496 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1498 Import to gnome cvs.
1500 * Remove copies of gpdf and ggv trees.
1501 * Rip out all the recursive configure code.
1502 * Remove bonobo machinery.
1503 * viewer/*: GInterfaces that backends should/can implement.
1505 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1507 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1510 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1512 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1513 (ev_application_finalize, ev_application_class_init)
1514 (ev_application_init): use GType instance private data for priv.
1516 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1517 (ev_window_finalize, ev_window_class_init)
1518 (ev_window_init): ditto.
1520 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1522 * shell/ev-application.c (ev_application_new_window): make public
1523 (ev_application_show_initial_window): kill.
1525 * shell/ev-application.h: update prototypes.
1527 * shell/main.cc (main): inline ev_application_show_initial_window.
1529 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1531 * shell/ev-application.c (ev_application_new_window): impl.
1532 (ev_application_show_initial_window): use it.
1533 (is_window_empty, ev_application_get_empty_window): returns an
1534 existing empty window or a new one.
1535 (ev_application_open): from ev_window_cmd_file_open.
1537 * shell/ev-application.h: update prototypes
1539 * shell/ev-window.c (ev_window_is_empty): impl.
1540 (ev_window_open): make public.
1541 (ev_window_cmd_file_open): use ev_application_open
1543 * shell/ev-window.h: update prototypes, remove unused.
1545 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1547 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1548 move destroy handler out of here...
1550 * shell/ev-application.c, shell/ev-application.h: ...into this new
1551 class. Also handles initial window creation.
1553 * shell/main.cc (main): use EvApplication to create initial
1556 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1558 * Makefile.am (SUBDIRS): add cut-n-paste
1560 * cut-n-paste/Makefile.am: add
1562 * configure.ac: generate Makefiles in cut-n-paste
1564 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1566 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1567 (ev_window_class_init): install ev_window_dispose.
1569 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1571 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1572 char (gchar looks stupid).
1574 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1576 * po/de.po: updated German translation.
1578 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1580 * configure.ac: add more pkg-config library checks for gnome-vfs,
1583 * gpdf/configure.in: temporarily disable libpaper
1584 checks. Otherwise I'd have to add the checks for the shell, too.
1586 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1588 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1589 and * file filters to the file choose.
1591 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1593 * po/de.po: Updated German translation.
1595 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1597 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1599 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1601 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1603 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1604 (ev_window_init): implement those menuitems.
1606 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1608 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1610 * shell/ev-window.c (ev_window_init): use the toolbar.
1612 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1614 * shell/ev-window.c (ev_window_init): use menu translations
1616 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1618 * configure.ac: add "de" to ALL_LINGUAS.
1620 * po/de.po: add German translation.
1622 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1624 * Makefile.am (SUBDIRS): add po
1626 * configure.ac: check intltool, glib-gettext etc, generate
1629 * po, po/POTFILES.in, po/POTFILES.skip: new.
1631 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1633 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1634 already use (#ifdef ENABLE_NLS)
1636 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1637 pointer indirection thinko.
1639 * shell/main.c: include gi18n.h for bindtextdomain etc.
1641 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1643 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1644 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1645 tooltips for menu items in the statusbar.
1647 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1649 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1650 pkgdatadir drop UIDIR
1652 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1654 * data/evince-ui.xml: Add File->Open menu item
1656 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1657 chooser), hook it up in the ui manager.
1659 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1661 * shell/ev-window.c: fix Help->About tooltip.
1663 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1665 * configure.ac: set CFLAGS for libevprivate.
1667 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1668 definitions, factory etc.
1670 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1672 * shell/Makefile.am: link against libevprivate.a.
1674 * shell/ev-window.c (entries): add stock icon to Help->About.
1676 * shell/main.c (main): init stock icon code.
1678 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1680 * lib/recent-files: egg recent files code
1682 * lib/Makefile.am: add.
1684 * Makefile.am: add lib subdir.
1686 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1687 set CFLAGS for recent-files.
1689 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1691 * configure.ac: disable -ansi and -pedantic gcc flags. They
1692 disable POSIX stuff in stdio.h, but egg-recent uses them.
1694 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1696 * configure.ac: add --disable-deprecated flag (defaults to on in
1699 * shell/Makefile.am (INCLUDES): use it.
1701 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1703 * shell/main.c: add missing #include.
1705 * shell/ev-window.c: fix for pedantic gcc.
1706 (ev_window_cmd_help_about): split license into paragraphs for
1707 translators and pedantic compilers.
1709 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1711 * configure.ac: add more warning flags if compiling with gcc from
1712 cvs (or explicitly requested with --enable-more-warnings).
1714 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1716 * data/evince-ui.xml: add File and File->Close menu.
1718 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1719 (ev_window_destroy): quit after destroy.
1720 (ev_window_class_init): override GtkObject::destroy.
1721 (entries): install close_window callback.
1723 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1725 * Makefile.am (SUBDIRS): add data subdir.
1727 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1728 gtk+ 2.5.0 for GtkAboutDialog.
1730 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1733 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1735 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1737 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1739 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1741 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1743 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1745 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1747 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1749 * shell/*: Added shell directory boilerplate, build it.
1751 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1753 * configure.ac, Makefile.am: Added top-level configure.ac and