1 2005-01-26 Martin Kretzschmar <martink@gnome.org>
3 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4 scrolled window for Federico.
6 2005-01-26 Ole Laursen <olau@hardworking.dk>
8 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
10 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
13 * pdf/splash/SplashFTFontEngine.cc:
15 Fix CID fonts with freetype 2.1.9
17 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
19 * TODO: added item for desktop icon thumbnailer
21 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
23 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
24 unloaded docs when the title is accessed.
26 * shell/ev-password-view.[hc]: New widget for displaying password
29 * shell/ev-window.[ch]: Refactor password handling code to handle
32 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
40 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
42 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
43 ignore page offset here, to make search results independent of it,
45 * shell/ev-view.c (expose_bin_window): but take offsets into
46 account here. Bug #164932
48 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
49 scale at the right time. Bug #164996
51 2005-01-22 Martin Kretzschmar <martink@gnome.org>
53 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
54 fix the problem. Now I just removed the Adobe font names and hope
55 that the URW fonts are always in outline format. Bug #164934
57 * shell/ev-window.c (update_window_title): empty titles are
58 useless, use filename in that case too.
60 * NEWS: Add some content.
62 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
64 * TODO: added one more TODO item and a TODONE section :)
66 2005-01-21 Martin Kretzschmar <martink@gnome.org>
68 * ps/ps-document.h: add page_[xy]_offset fields.
70 * ps/ps-document.c (ps_document_set_page_offset)
71 (ps_document_render): Keep offset in consideration in a few
72 places. Bug #164752 "postscript documents are not centered in
75 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
76 s/gpdf/evince/. Spotted by Stephane Loeuillet.
78 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
79 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
80 stub out missing methods for complete EvDocument implementation.
81 Fixes segfaults with Save A Copy and Copy actions.
83 * ps/ps-document.c (ps_document_save, ps_document_get_text)
84 (ps_document_document_iface_init): ditto.
86 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
90 * data/evince.desktop.in:
94 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
96 * shell/ev-view.c: (ev_view_button_press_event),
97 (ev_view_motion_notify_event):
99 Make selection work in any direction
101 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
104 * shell/ev-window.c: (set_short_labels), (ev_window_init):
106 Use shorter labels for some of the toolbars items
108 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
110 * pdf/xpdf/pdf-document.cc:
112 Check the links info is initialized before
113 using it. Should fix a crash on startup.
115 2005-01-21 Martin Kretzschmar <martink@gnome.org>
117 * pixbuf/pixbuf-document.c
118 (pixbuf_document_thumbnails_get_dimensions): force floating point
119 division to calculate page_ratio. Fixes crash with landscape
122 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
124 * shell/ev-view.c (ev_view_realize): make the bg color darker.
126 2005-01-20 Martin Kretzschmar <martink@gnome.org>
128 * shell/ev-view.c (set_document_page): unset has_selection when
130 (set_document_page): handle paper size changes when the page
131 changes (test with Free Culture, page 2).
133 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
135 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
136 (expose_bin_window), (ev_view_class_init), (ev_view_init):
138 Use normal style color for the widget background and
139 draw a black box around the page.
141 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
143 * pdf/xpdf/pdf-document.cc:
145 Keep offset in consideration in a few places
147 * shell/ev-view.c: (expose_bin_window):
149 Set the offsets so that the document is ever centered
151 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
153 * TODO: Added TODO items and finished off the first todo item
155 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
156 reflect current authors
158 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
160 * pdf/xpdf/pdf-document.cc:
161 * shell/ev-view.c: (ev_view_set_cursor),
162 (ev_view_motion_notify_event), (document_changed_callback),
165 Show a wait cursor while the page is rendering
167 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
169 * shell/ev-sidebar-thumbnails.c:
170 (ev_sidebar_tree_selection_changed),
171 (ev_sidebar_thumbnails_select_page):
172 * shell/ev-sidebar-thumbnails.h:
173 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
174 (ev_view_can_go_forward):
175 * shell/ev-window.c: (ev_window_open_page),
176 (ev_window_setup_document), (update_current_page),
177 (view_page_changed_cb), (ev_window_init):
180 Ensure thumbnails selection, toolbar page control and
181 current page are in sync.
183 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
189 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
191 * backend/Makefile.am:
192 * backend/ev-document-links.h:
193 * backend/ev-document-security.c: (ev_document_security_get_type),
194 (ev_document_security_has_document_security),
195 (ev_document_security_set_password):
196 * backend/ev-document-security.h:
197 * backend/ev-document.c: (ev_document_error_quark):
198 * backend/ev-document.h:
200 * data/evince-password.glade:
201 * pdf/xpdf/pdf-document.cc:
203 * shell/ev-password.c: (ev_password_set_bad_password_label),
204 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
205 (ev_password_dialog_get_password),
206 (ev_password_dialog_set_bad_pass):
207 * shell/ev-password.h:
208 * shell/ev-window.c: (ev_window_get_attribute),
209 (ev_window_set_property), (update_action_sensitivity),
210 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
211 (ev_window_setup_document), (ev_window_get_password),
212 (ev_window_open), (ev_window_cmd_save_as),
213 (using_postscript_printer), (ev_window_print),
214 (find_not_supported_dialog), (ev_window_cmd_edit_find),
215 (update_fullscreen_popup), (ev_window_fullscreen),
216 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
217 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
218 (menu_item_select_cb), (find_bar_search_changed_cb),
219 (ev_window_dispose), (ev_window_init):
221 Add initial support for password-supported dialogs. This could be
222 a lot cooler, but it'll do for now.
224 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
226 * pdf/xpdf/pdf-document.cc:
227 * shell/ev-view.c: (status_message_from_link),
228 (ev_view_set_status), (ev_view_set_cursor),
229 (ev_view_motion_notify_event), (ev_view_init):
230 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
232 Fix bugs in the links implementation and change cursor
233 when hovering a link.
235 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
237 * viewer/.cvsignore: added cvsignore file for viewer directory
239 * TODO: created TODO document
241 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
244 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
245 new functions to help with implementation of sensitivity code
246 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
247 of all actions that might require it. Fixes a crash when you
248 click on the Zoom actions in a window lacking a document.
250 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
252 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
255 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
257 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
258 (pixbuf_document_document_iface_init):
259 * ps/ps-document.c: (ps_document_get_link),
260 (ps_document_document_iface_init):
261 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
262 (status_message_from_link), (ev_view_set_status),
263 (ev_view_set_find_status), (ev_view_motion_notify_event),
264 (ev_view_button_release_event), (ev_view_set_property),
265 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
266 (ev_view_get_find_status_message), (update_find_results),
267 (ev_view_get_status), (ev_view_get_find_status):
269 * shell/ev-window.c: (view_status_changed_cb),
270 (view_find_status_changed_cb), (ev_window_init):
272 View status message support, use it to show the links.
275 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
277 * backend/ev-document.c: (ev_document_get_link):
278 * backend/ev-document.h:
279 * pdf/xpdf/pdf-document.cc:
280 * shell/ev-application.c: (ev_application_open):
281 * shell/ev-application.h:
282 * shell/ev-sidebar-links.c: (selection_changed_cb):
283 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
284 (ev_view_go_to_link):
286 Add support for document links
288 2005-01-13 Anders Carlsson <andersca@gnome.org>
290 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
292 Set the spin button limits correctly.
294 * shell/ev-sidebar-thumbnails.c:
295 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
296 Support changing pages by clicking on the thumbnails.
298 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
300 * pixbuf/pixbuf-document.c:
301 (pixbuf_document_thumbnails_get_dimensions),
302 (pixbuf_document_document_thumbnails_iface_init):
304 implement get_dimensions
306 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
308 * ps/ps-document.c: (ps_document_goto_page):
310 Fix page switching on multipage documents
312 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
314 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
316 check for NULL before assigning to width and height parameters
318 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
320 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
321 (pixbuf_document_set_property), (pixbuf_document_get_property):
323 implement get/set properties
325 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
327 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
329 return NULL instead of "Unknown", letting the title get set to
330 the filename when the pdf has no title.
332 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
334 * ps/ps-document.c: (ps_document_get_page_count),
335 (ps_document_goto_page):
337 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
339 * shell/ev-history.c: (ev_history_get_property),
340 (ev_history_set_property), (ev_history_class_init),
341 (ev_history_add_page), (ev_history_set_current_index):
342 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
343 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
344 (ev_navigation_action_finalize):
345 * shell/ev-navigation-action.h:
346 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
347 (ev_view_go_forward), (ev_view_get_find_status_message),
348 (history_index_changed_cb), (ev_view_set_history):
350 * shell/ev-window.c: (update_total_pages), (ev_window_open),
351 (update_current_page), (register_custom_actions):
353 Implement history dropdowns
355 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
357 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
358 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
359 (ev_view_go_forward):
360 * shell/ev-window.c: (register_custom_actions):
362 Fix several history bugs
364 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
366 * configure.ac: Add «nb» to ALL_LINGUAS.
368 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
370 * backend/Makefile.am:
371 * backend/ev-bookmark.c:
372 * backend/ev-bookmark.h:
373 * backend/ev-document-bookmarks.c:
374 * backend/ev-document-bookmarks.h:
375 * backend/ev-document-links.c: (ev_document_links_get_type),
376 (ev_document_links_has_document_links),
377 (ev_document_links_begin_read), (ev_document_links_get_link),
378 (ev_document_links_get_child), (ev_document_links_next),
379 (ev_document_links_free_iter):
380 * backend/ev-document-links.h:
381 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
382 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
383 (ev_link_get_link_type), (ev_link_set_link_type),
384 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
385 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
386 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
387 (ev_link_new_external):
389 * pdf/xpdf/pdf-document.cc:
391 * shell/ev-application.c: (ev_application_open_link):
392 * shell/ev-application.h:
393 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
394 (ev_history_get_link_nth):
395 * shell/ev-history.h:
396 * shell/ev-sidebar-bookmarks.c:
397 * shell/ev-sidebar-bookmarks.h:
398 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
399 (ev_sidebar_links_class_init), (selection_changed_cb),
400 (ev_sidebar_links_construct), (ev_sidebar_links_init),
401 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
402 (do_one_iteration), (populate_links_idle),
403 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
404 * shell/ev-sidebar-links.h:
405 * shell/ev-sidebar.c: (ev_sidebar_set_document):
406 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
409 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
412 Rename bookmark to link, and use "Index" for the sidebar panel.
414 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
417 * shell/ev-application.c: (ev_application_open_bookmark):
418 * shell/ev-application.h:
419 * shell/ev-history.c: (ev_history_init), (free_links_list),
420 (ev_history_finalize), (ev_history_class_init),
421 (ev_history_add_link), (ev_history_add_page),
422 (ev_history_get_link_nth), (ev_history_get_n_links),
423 (ev_history_get_current_index), (ev_history_set_current_index),
425 * shell/ev-history.h:
426 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
427 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
428 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
429 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
432 * shell/ev-window.c: (ev_window_open_bookmark),
433 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
434 (goto_page_cb), (register_custom_actions):
437 Initial history implementation. Needs work.
439 2005-01-09 Martin Kretzschmar <martink@gnome.org>
441 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
443 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
445 * cut-n-paste/recent-files/egg-recent-item.c:
446 * cut-n-paste/recent-files/egg-recent-item.h:
447 * cut-n-paste/recent-files/egg-recent-model.c:
448 * cut-n-paste/recent-files/egg-recent-util.c:
449 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
450 * cut-n-paste/recent-files/egg-recent-view.c:
454 2005-01-08 Martin Kretzschmar <martink@gnome.org>
456 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
457 (fillGlyph, fillImageMask, drawImage):
458 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
459 pdf/splash/SplashTypes.h:
460 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
461 packed mode for Splash.
463 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
464 RGB8 packed mode, eliminates the pixbuf data creation loop.
466 * shell/ev-print-job.c (ev_print_job_finalize)
467 (ev_print_job_set_property, ev_print_job_get_property)
468 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
469 (ev_print_job_use_print_dialog_settings, idle_print_handler)
470 (print_closure_finalize, ev_print_job_print): implement
471 printing (for backends with EvPsExporter)
473 * shell/ev_print_job.h: update prototypes.
475 * shell/ev-window.c (ev_window_print): unref print job after
478 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
479 unless the document implements the EvDocumentFind interface.
481 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
483 * configure.ac: Added ja to ALL_LINGUAS.
485 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
487 * pdf/xpdf/pdf-document.cc:
489 add a FIXME. We should probably not allocate
490 a bookmark object every time
492 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
494 * shell/ev-application.c: (ev_application_open),
495 (ev_application_open_bookmark):
496 * shell/ev-application.h:
498 Add a way to open bookmarks
500 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
501 (ev_bookmark_set_uri), (ev_bookmark_get_property),
502 (ev_bookmark_set_property), (ev_bookmark_class_init),
503 (ev_bookmark_new_title), (ev_bookmark_new_link),
504 (ev_bookmark_new_external):
506 Support for external uris, better constructors.
508 * backend/ev-bookmark.h:
509 * pdf/xpdf/pdf-document.cc:
510 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
514 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
516 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
517 (ev_sidebar_bookmarks_construct), (do_one_iteration):
519 Hook up bookmarks navigation
521 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
523 * backend/Makefile.am:
524 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
525 (ev_bookmark_get_title), (ev_bookmark_set_title),
526 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
527 (ev_bookmark_get_page), (ev_bookmark_set_page),
528 (ev_bookmark_get_property), (ev_bookmark_set_property),
529 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
531 * backend/ev-bookmark.h:
532 * backend/ev-document-bookmarks.c:
533 (ev_document_bookmarks_get_bookmark):
534 * backend/ev-document-bookmarks.h:
535 * pdf/xpdf/pdf-document.cc:
536 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
538 Add a bookmark object to the backend and use it instead of get_values
540 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
542 * data/evince-ui.xml:
544 Cleanup and add select all.
546 * shell/ev-view.c: (ev_view_select_all),
547 (ev_view_button_press_event):
549 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
552 Clear selection on click.
554 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
556 * shell/ev-sidebar-thumbnails.c
557 (ev_sidebar_thumbnails_set_document): forgot to unref the
560 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
562 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
563 at the visible page, not just linearly. This makes it look fast.
565 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
567 * backend/ev-document-misc.c
568 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
570 * backend/ev-document-thumbnails.h: New interface to get the size
573 2005-01-06 Jeremy Katz <katzj@redhat.com>
575 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
578 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
580 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
581 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
584 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
586 2005-01-05 Martin Kretzschmar <martink@gnome.org>
588 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
589 fonts. Should fix font problems on systems that have the base
590 fonts in bitmap format. Reported by James Henstridge
591 <james@jamesh.id.au>.
593 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
596 * pdf/xpdf/GfxState.cc:
598 Fix for CAN-2004-1125
600 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
602 * shell/ev-view.c: (ev_view_copy):
604 * shell/ev-window.c: (ev_window_cmd_edit_copy):
608 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
610 * backend/ev-document.c: (ev_document_get_text):
611 * backend/ev-document.h:
612 * pdf/xpdf/pdf-document.cc:
613 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
614 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
615 (ev_view_update_primary_selection), (ev_view_button_press_event),
616 (ev_view_motion_notify_event), (ev_view_button_release_event):
618 Beginnings of clipboard support. Incomplete but primary sort
621 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
623 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
626 Nicer rubberband drawing, from GtkIconView.
628 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
630 * backend/ev-document.c: (ev_document_save):
631 * backend/ev-document.h:
632 * data/evince-ui.xml:
633 * pdf/xpdf/pdf-document.cc:
634 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
636 Implement "Save a copy..." menu item
638 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
640 * shell/ev-view.c: (ev_view_zoom):
642 Queue a resize when zoom changes
644 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
646 * backend/ev-document-misc.[ch]: New misc file to do simple drop
649 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
652 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
654 * pdf/xpdf/pdf-document.cc
655 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
657 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
659 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
660 It's slow, but I'll speed it up next!
662 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
664 * shell/main.c (load_files):
666 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
667 from the command line and because it seems more appropriate.
669 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
671 * data/evince-ui.xml:
672 * shell/ev-window.c: (update_action_sensitivity),
673 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
675 s/next page/page down
676 s/previous page/page up
678 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
680 * data/evince-ui.xml:
682 Change the layout to match clarkbw design.
685 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
686 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
687 (ev_navigation_action_finalize),
688 (ev_navigation_action_set_property),
689 (ev_navigation_action_get_property),
690 (ev_navigation_action_class_init):
691 * shell/ev-navigation-action.h:
693 Implement clarkbw toolbar navigation controls (incomplete)
695 * shell/ev-page-action.c: (update_label), (update_spin),
696 (value_changed_cb), (create_tool_item), (connect_proxy),
697 (ev_page_action_init), (ev_page_action_finalize),
698 (ev_page_action_set_property), (ev_page_action_get_property),
699 (ev_page_action_set_current_page),
700 (ev_page_action_set_total_pages), (ev_page_action_class_init):
701 * shell/ev-page-action.h:
703 Implement a page switcher in the toolbar
705 * shell/ev-view.c: (ev_view_scroll_view):
706 * shell/ev-window.c: (update_total_pages), (ev_window_open),
707 (update_current_page), (view_page_changed_cb), (goto_page_cb),
708 (register_custom_actions), (ev_window_init):
710 Change page on PageUp/Down.
712 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
714 * pdf/xpdf/pdf-document.cc
715 (pdf_document_thumbnails_get_thumbnail): initial stab at
716 implementing thumbnail support for pdfs. It only does documents
717 with precached pdfs now.
719 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
721 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
722 thumbnail code into a time-based idle as well. Also, turn off the
723 shadow temporarily as it's really slow.
725 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
727 * backend/ev-document.c: (ev_document_class_init):
728 * pdf/xpdf/pdf-document.cc:
729 * shell/ev-window.c: (ev_window_open):
731 Fix document title bugs and fallback to
732 filename when not available.
734 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
736 * backend/ev-document.c: (ev_document_get_type),
737 (ev_document_class_init), (ev_document_load),
738 (ev_document_get_title):
739 * backend/ev-document.h:
740 * pdf/xpdf/pdf-document.cc:
741 * ps/ps-document.c: (ps_document_set_property),
742 (ps_document_get_property), (ps_document_class_init),
746 * shell/ev-window.c: (update_window_title), (ev_window_open),
749 Initial support for document title. Not working yet.
751 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
753 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
755 Grab focus on the view when clicking it
757 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
759 * shell/ev-marshal.list:
760 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
761 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
763 Add key bindings to the view. Now if the focus would work
766 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
769 * backend/Makefile.am:
772 * dvi/dvilib/Makefile.am:
773 * pdf/xpdf/Makefile.am:
779 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
781 * shell/ev-view.c: (ev_view_realize):
783 Fix mouse wheel scrolling
785 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
791 * ps/ps-document.c: (catchPipe), (ps_document_init),
792 (ps_document_class_init), (ps_document_cleanup),
793 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
794 (set_up_page), (close_pipe), (is_interpreter_ready),
795 (interpreter_failed), (output), (input), (start_interpreter),
796 (stop_interpreter), (file_length), (file_readable),
797 (check_filecompressed), (check_pdf), (compute_xdpi),
798 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
799 (ps_document_get_type), (ps_document_emit_error_msg),
800 (document_load), (ps_document_next_page),
801 (ps_document_get_current_page), (ps_document_get_page_count),
802 (ps_document_goto_page), (ps_document_set_page_size),
803 (ps_document_zoom_to_fit), (ps_document_set_zoom),
804 (ps_document_load), (ps_document_get_n_pages),
805 (ps_document_set_page), (ps_document_get_page),
806 (ps_document_widget_event), (ps_document_set_target),
807 (ps_document_set_scale), (ps_document_set_page_offset),
808 (ps_document_get_page_size), (ps_document_render),
809 (ps_document_document_iface_init):
812 * shell/ev-window.c: (ev_window_open):
814 Rename GtkGS to PSDocument
816 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
818 * ps/gtkgs.c: (gtk_gs_class_init):
821 Some more leftover...
823 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
825 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
826 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
827 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
830 Remove unused code and make a lot of stuff private
832 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
834 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
835 (gtk_gs_defaults_changed):
841 Cleanup headers dependencies
843 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
848 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
850 * ps/gtkgs.c: (file_length), (file_readable),
851 (check_filecompressed), (check_pdf), (gtk_gs_load),
852 (gtk_gs_get_postscript):
856 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
861 * ps/gtkgs.c: (gtk_gs_set_zoom):
865 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
867 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
869 Ensure the page is rerendered when changing zoom
871 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
873 * backend/ev-document.c: (ev_document_base_init),
874 (ev_document_changed):
875 * backend/ev-document.h:
877 Add a changed event that is emitted when the page content
878 changes. This is necessary to deal with the fact that
879 in ps backend rendering happen asycrounously.
880 This makes the ps backend mostly work.
882 * pdf/xpdf/pdf-document.cc:
886 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
887 (ps_document_set_target):
891 * shell/ev-view.c: (document_changed_callback),
892 (ev_view_set_document), (ev_view_set_page):
894 Redraw on the changed signal
896 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
898 * configure.ac: Added pt_BR to ALL_LINGUAS.
900 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
902 * backend/ev-document-bookmarks.c:
903 (ev_document_bookmarks_get_child): *
904 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
905 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
906 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
907 (ev_sidebar_bookmarks_destroy),
908 (ev_sidebar_bookmarks_class_init),
909 (ev_sidebar_bookmarks_construct), (stack_data_free),
910 (do_one_iteration), (populate_bookmarks_idle),
911 (ev_sidebar_bookmarks_clear_document),
912 (ev_sidebar_bookmarks_set_document): *
913 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
914 (ev_sidebar_add_page),
915 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
916 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
917 it displays both the topics and the page numbers.
919 2004-12-23 Kristian Høgsberg <krh@redhat.com>
921 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
923 * shell/ev-window.c (toggle_entries): Set sidebar default value to
926 2004-12-23 Adam Weinberger <adamw@gnome.org>
928 * configure.ac: Added en_CA to ALL_LINGUAS.
930 2004-12-23 Martin Kretzschmar <martink@gnome.org>
932 * ChangeLog: replace bottom of this ChangeLog (merged history of
933 ggv and gpdf; where all paths were wrong and most of the files are
934 not even in this tree) with ChangeLog (from arch) of the shell
937 2004-12-23 Havoc Pennington <hp@redhat.com>
939 * shell/ev-window.c: hook up potentially-questionable "find
940 results status text" feature - something involving the sidebar or
941 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
942 might be better in the end.
944 * shell/ev-view.c (ev_view_get_find_status_message): new function,
945 with corresponding signal when it should be updated
947 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
949 2004-12-22 Havoc Pennington <hp@redhat.com>
951 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
952 find stuff on other pages, sort of (only returns one result on
953 invisible pages, to show they have results; updates full results
954 for a page when you view it). Currently repaints the current page
955 every time a new result is found on any page, which isn't so nice.
957 2004-12-22 Havoc Pennington <hp@redhat.com>
959 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
960 the document doesn't support find (better ideas?)
961 (find_bar_search_changed_cb): handle missing document or document
962 that doesn't support find
964 * pdf/xpdf/pdf-document.cc: port to implement the new
967 * backend/ev-document-find.c: create a new interface for searching
969 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
971 2004-12-23 Martin Kretzschmar <martink@gnome.org>
973 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
976 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
977 EvPrintJob constructor arguments.
979 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
980 for documents that can export PostScript (page by page).
982 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
984 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
985 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
986 (pdf_document_ps_exporter_iface_init:
987 Implement EvPSExporter.
989 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
991 2004-12-22 Anders Carlsson <andersca@gnome.org>
993 * backend/Makefile.am:
994 * backend/ev-document-thumbnails.c:
995 (ev_document_thumbnails_get_type),
996 (ev_document_thumbnails_get_thumbnail):
997 * backend/ev-document-thumbnails.h:
998 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
999 (pixbuf_document_thumbnails_get_thumbnail),
1000 (pixbuf_document_document_thumbnails_iface_init):
1001 * shell/Makefile.am:
1002 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1003 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1004 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1005 * shell/ev-sidebar-thumbnails.h:
1006 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1007 (ev_sidebar_set_document):
1008 * shell/ev-utils.c: (gaussian), (create_blur_filter),
1009 (create_shadow), (ev_pixbuf_add_shadow):
1011 Add thumbnail support.
1013 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1015 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1016 (using_postscript_printer): Set up a print dialog for "PostScript
1019 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1022 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1024 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1026 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1027 (ps_document_set_target), (ps_document_get_page_size),
1028 (ps_document_render):
1033 2004-12-22 Christian Rose <menthos@menthos.com>
1035 * configure.ac: Added "sv" to ALL_LINGUAS.
1037 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1039 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1040 document supports bookmarks.
1042 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1044 * ps/ggvutils.c: (ggv_file_readable):
1046 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1047 (gtk_gs_get_postscript):
1051 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1053 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1054 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1055 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1056 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1057 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1058 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1059 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1060 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1061 (gtk_gs_set_antialiasing), (ps_document_load),
1062 (ps_document_render):
1065 Another check point for the ps backend. Now I can get it to show
1068 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1070 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1071 document setting code.
1073 2004-12-22 Anders Carlsson <andersca@gnome.org>
1075 * shell/eggfindbar.c: (entry_activate_callback):
1076 Animate the next button when activate is pressed.
1078 2004-12-22 Anders Carlsson <andersca@gnome.org>
1080 * shell/ev-window.c: (ev_window_cmd_edit_find),
1081 (update_fullscreen_popup), (ev_window_fullscreen),
1082 (ev_window_unfullscreen), (ev_window_state_event_cb),
1083 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1084 Fix bugs in fullscreen code.
1086 2004-12-22 Anders Carlsson <andersca@gnome.org>
1090 * pixbuf/Makefile.am:
1091 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1092 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1093 (pixbuf_document_set_page), (pixbuf_document_get_page),
1094 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1095 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1096 (pixbuf_document_render), (pixbuf_document_begin_find),
1097 (pixbuf_document_end_find), (pixbuf_document_finalize),
1098 (pixbuf_document_class_init),
1099 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1100 * pixbuf/pixbuf-document.h:
1101 * shell/Makefile.am:
1102 * shell/ev-application.c: (ev_application_open):
1103 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1107 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1110 * dvi/dvilib/Makefile.am:
1112 * configure.ac: Auto*ify dvi and dvi/dvilib
1114 * dvi/Makefile: Remove from CVS
1116 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1119 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1121 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1123 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1126 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1127 (gtk_gs_value_adjustment_changed), (compute_size),
1128 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1129 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1130 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1131 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1132 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1133 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1134 (ps_document_load), (ps_document_get_n_pages),
1135 (ps_document_set_page), (ps_document_get_page),
1136 (ps_document_set_target), (ps_document_set_scale),
1137 (ps_document_set_page_offset), (ps_document_get_page_size),
1138 (ps_document_render), (ps_document_begin_find),
1139 (ps_document_end_find), (ps_document_document_iface_init):
1141 * shell/Makefile.am:
1142 * shell/ev-window.c: (ev_window_open):
1144 Some work to integrate gtkgs with EvDocument
1146 2004-12-22 Anders Carlsson <andersca@gnome.org>
1148 * shell/ev-window.c: (update_fullscreen_popup),
1149 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1150 (exit_fullscreen_button_clicked_cb),
1151 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1152 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1153 (ev_window_state_event_cb), (ev_window_init):
1154 Add fullscreen support from Epiphany.
1156 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1158 * data/ev-stock-zoom-fit-width.png: fit-width
1159 stock icon from gpdf.
1161 * shell/ev-stock-icons.[ch]: copied from gpdf.
1163 * shell/main.c: (main): init stock icons.
1165 * shell/ev-window.c: use the fit-width icon.
1167 * data/evince-ui.xml: add zooming toolbar items.
1169 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1172 (ev_view_best_fit), (ev_view_fit_width): because
1173 get_page_size() returns the scaled page size, we
1174 need to calculate the scale factor relative to
1175 the previous scale factor. Should really just
1176 add get_real_page_size().
1178 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1180 * shell/ev-view.[ch]:
1181 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1182 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1185 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1186 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1187 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1190 * pdf/xpdf/pdf-document.cc:
1191 (pdf_document_begin_find),
1192 (pdf_document_end_find): make static.
1194 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1196 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1198 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1199 names to fontconfig patterns.
1200 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1202 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1205 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1221 Import ggv backend. Not hooked up yet.
1223 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1225 * shell/main.c: (load_files), (main): load files
1226 from the command line.
1228 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1230 * configure.ac: don't require bonobo.
1232 * cut-n-paste/recent-files/*: kill bonobo recent
1235 * shell/ev-window.c:
1236 (ev_window_is_empty): upd.
1237 (unable_to_load), (ev_window_open): load backend
1238 based on the mime type.
1240 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1242 * backend/.cvsignore: ignore generated marshalers source.
1244 * shell/main.c (main): this is not epiphany.
1246 2004-12-22 Havoc Pennington <hp@redhat.com>
1248 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1249 (expose_bin_window): draw find highlights
1251 * shell/ev-window.c (find_bar_search_changed_cb): implement
1253 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1254 (pdf_document_end_find): implement this interface
1256 * backend/ev-document.c (ev_document_found): add this to emit
1259 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1261 * data/evince-ui.xml: Add a few more toolbar items.
1263 * shell/ev-window.c: Hook up page navigation toolbar
1266 * shell/ev-view.[ch]: add ev_view_set/get_page and
1267 a page-changed signal.
1269 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1270 Add ev_document_get_page().
1272 * shell/ev-window.c: Sensitize/desensitize navigation
1275 2004-12-21 Havoc Pennington <hp@redhat.com>
1277 * backend/ev-backend-marshal.c,
1278 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1279 marshaler-generator thingy. I'm sure there's a better way to do
1280 this in the modern world.
1282 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1283 end_find methods and "found" signal.
1285 * configure.ac: find glib-genmarshal
1287 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1289 * shell/ev-sidebar.c: Construct an actual sidebar.
1290 * shell/ev-sidebar-bookmarks.[ch]:
1291 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1293 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1295 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1298 * shell/ev-view.c: Track the size from the document.
1300 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1302 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1303 constructor assumes ownership of the string passed in.
1305 * shell/ev-window.c (ev_window_open): Destroy the error
1306 dialog once we've displayed it.
1308 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1310 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1311 a bit, it works! (sort of)
1313 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1314 Move to .cc since we need to use C++ in the implementation.
1316 * shell/dummy.cc: Add a CC file to force evince
1317 to be linked as a C++ program.
1319 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1321 * shell/ev-view.[ch]: Start of content-area widget.
1323 * shell/ev-window.c: Create a EvView, update it
1324 as we change documents.
1326 * shell/Makefile.am shell/ev-marshal.list: Add
1327 generated marshalers.
1329 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1331 * Makefile.am (SUBDIRS): move shell.
1333 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1335 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1336 .a to libtool convenience libraries.
1338 * shell/ev-window.c (ev_window_open): Hard code loading
1341 * backend/ev-document.h: Add a boolean return to load(),
1342 fix GError * to GError **.
1344 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1345 object for a PDF backend EvDocument.
1347 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1349 * dvi/*: New directory with the beginning of a .dvi backend.
1351 2004-12-21 Havoc Pennington <hp@redhat.com>
1353 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1354 previous/next instead of back/forward
1356 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1358 * backend/ev-document.[ch]: Fix a couple of problems so
1361 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1363 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1364 to backend/ directory, rename EvViewer to EvDocument.
1366 2004-12-21 Havoc Pennington <hp@redhat.com>
1368 * shell/ev-window.c: hook up the find bar widget; now we just need
1369 a document to find things in
1371 * shell/eggfindbar.c: a find bar widget
1373 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1375 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1377 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1379 * pdf/**: Import of xpdf code from gpdf.
1381 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1383 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1384 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1385 Fix FreeType includes.
1387 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1388 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1389 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1390 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1391 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1392 Include xpdfconfig.h
1394 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1396 * shell/ev-window.c (ev_window_dispose): dispose can be called
1399 2004-12-21 Havoc Pennington <hp@redhat.com>
1401 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1404 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1405 items; really they should be synced with the strings, etc. from
1406 current gpdf, but just getting the boring typing out of the way
1408 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1411 * shell/ev-application.c: (window_destroy_cb):
1412 * shell/ev-window.c:
1413 * shell/main.c: (main):
1415 Actually show the window...
1417 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1420 * shell/Makefile.am:
1421 * shell/ev-application.c: (ev_application_class_init):
1422 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1426 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1428 Import to gnome cvs.
1430 * Remove copies of gpdf and ggv trees.
1431 * Rip out all the recursive configure code.
1432 * Remove bonobo machinery.
1433 * viewer/*: GInterfaces that backends should/can implement.
1435 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1437 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1440 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1442 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1443 (ev_application_finalize, ev_application_class_init)
1444 (ev_application_init): use GType instance private data for priv.
1446 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1447 (ev_window_finalize, ev_window_class_init)
1448 (ev_window_init): ditto.
1450 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1452 * shell/ev-application.c (ev_application_new_window): make public
1453 (ev_application_show_initial_window): kill.
1455 * shell/ev-application.h: update prototypes.
1457 * shell/main.cc (main): inline ev_application_show_initial_window.
1459 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1461 * shell/ev-application.c (ev_application_new_window): impl.
1462 (ev_application_show_initial_window): use it.
1463 (is_window_empty, ev_application_get_empty_window): returns an
1464 existing empty window or a new one.
1465 (ev_application_open): from ev_window_cmd_file_open.
1467 * shell/ev-application.h: update prototypes
1469 * shell/ev-window.c (ev_window_is_empty): impl.
1470 (ev_window_open): make public.
1471 (ev_window_cmd_file_open): use ev_application_open
1473 * shell/ev-window.h: update prototypes, remove unused.
1475 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1477 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1478 move destroy handler out of here...
1480 * shell/ev-application.c, shell/ev-application.h: ...into this new
1481 class. Also handles initial window creation.
1483 * shell/main.cc (main): use EvApplication to create initial
1486 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1488 * Makefile.am (SUBDIRS): add cut-n-paste
1490 * cut-n-paste/Makefile.am: add
1492 * configure.ac: generate Makefiles in cut-n-paste
1494 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1496 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1497 (ev_window_class_init): install ev_window_dispose.
1499 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1501 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1502 char (gchar looks stupid).
1504 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1506 * po/de.po: updated German translation.
1508 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1510 * configure.ac: add more pkg-config library checks for gnome-vfs,
1513 * gpdf/configure.in: temporarily disable libpaper
1514 checks. Otherwise I'd have to add the checks for the shell, too.
1516 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1518 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1519 and * file filters to the file choose.
1521 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1523 * po/de.po: Updated German translation.
1525 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1527 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1529 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1531 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1533 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1534 (ev_window_init): implement those menuitems.
1536 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1538 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1540 * shell/ev-window.c (ev_window_init): use the toolbar.
1542 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1544 * shell/ev-window.c (ev_window_init): use menu translations
1546 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1548 * configure.ac: add "de" to ALL_LINGUAS.
1550 * po/de.po: add German translation.
1552 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1554 * Makefile.am (SUBDIRS): add po
1556 * configure.ac: check intltool, glib-gettext etc, generate
1559 * po, po/POTFILES.in, po/POTFILES.skip: new.
1561 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1563 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1564 already use (#ifdef ENABLE_NLS)
1566 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1567 pointer indirection thinko.
1569 * shell/main.c: include gi18n.h for bindtextdomain etc.
1571 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1573 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1574 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1575 tooltips for menu items in the statusbar.
1577 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1579 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1580 pkgdatadir drop UIDIR
1582 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1584 * data/evince-ui.xml: Add File->Open menu item
1586 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1587 chooser), hook it up in the ui manager.
1589 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1591 * shell/ev-window.c: fix Help->About tooltip.
1593 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1595 * configure.ac: set CFLAGS for libevprivate.
1597 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1598 definitions, factory etc.
1600 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1602 * shell/Makefile.am: link against libevprivate.a.
1604 * shell/ev-window.c (entries): add stock icon to Help->About.
1606 * shell/main.c (main): init stock icon code.
1608 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1610 * lib/recent-files: egg recent files code
1612 * lib/Makefile.am: add.
1614 * Makefile.am: add lib subdir.
1616 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1617 set CFLAGS for recent-files.
1619 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1621 * configure.ac: disable -ansi and -pedantic gcc flags. They
1622 disable POSIX stuff in stdio.h, but egg-recent uses them.
1624 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1626 * configure.ac: add --disable-deprecated flag (defaults to on in
1629 * shell/Makefile.am (INCLUDES): use it.
1631 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1633 * shell/main.c: add missing #include.
1635 * shell/ev-window.c: fix for pedantic gcc.
1636 (ev_window_cmd_help_about): split license into paragraphs for
1637 translators and pedantic compilers.
1639 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1641 * configure.ac: add more warning flags if compiling with gcc from
1642 cvs (or explicitly requested with --enable-more-warnings).
1644 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1646 * data/evince-ui.xml: add File and File->Close menu.
1648 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1649 (ev_window_destroy): quit after destroy.
1650 (ev_window_class_init): override GtkObject::destroy.
1651 (entries): install close_window callback.
1653 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1655 * Makefile.am (SUBDIRS): add data subdir.
1657 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1658 gtk+ 2.5.0 for GtkAboutDialog.
1660 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1663 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1665 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1667 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1669 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1671 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1673 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1675 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1677 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1679 * shell/*: Added shell directory boilerplate, build it.
1681 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1683 * configure.ac, Makefile.am: Added top-level configure.ac and