1 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
3 * TODO: added item for desktop icon thumbnailer
5 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
7 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
8 unloaded docs when the title is accessed.
10 * shell/ev-password-view.[hc]: New widget for displaying password
13 * shell/ev-window.[ch]: Refactor password handling code to handle
16 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
24 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
26 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
27 ignore page offset here, to make search results independent of it,
29 * shell/ev-view.c (expose_bin_window): but take offsets into
30 account here. Bug #164932
32 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
33 scale at the right time. Bug #164996
35 2005-01-22 Martin Kretzschmar <martink@gnome.org>
37 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
38 fix the problem. Now I just removed the Adobe font names and hope
39 that the URW fonts are always in outline format. Bug #164934
41 * shell/ev-window.c (update_window_title): empty titles are
42 useless, use filename in that case too.
44 * NEWS: Add some content.
46 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
48 * TODO: added one more TODO item and a TODONE section :)
50 2005-01-21 Martin Kretzschmar <martink@gnome.org>
52 * ps/ps-document.h: add page_[xy]_offset fields.
54 * ps/ps-document.c (ps_document_set_page_offset)
55 (ps_document_render): Keep offset in consideration in a few
56 places. Bug #164752 "postscript documents are not centered in
59 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
60 s/gpdf/evince/. Spotted by Stephane Loeuillet.
62 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
63 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
64 stub out missing methods for complete EvDocument implementation.
65 Fixes segfaults with Save A Copy and Copy actions.
67 * ps/ps-document.c (ps_document_save, ps_document_get_text)
68 (ps_document_document_iface_init): ditto.
70 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
74 * data/evince.desktop.in:
78 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
80 * shell/ev-view.c: (ev_view_button_press_event),
81 (ev_view_motion_notify_event):
83 Make selection work in any direction
85 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
88 * shell/ev-window.c: (set_short_labels), (ev_window_init):
90 Use shorter labels for some of the toolbars items
92 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
94 * pdf/xpdf/pdf-document.cc:
96 Check the links info is initialized before
97 using it. Should fix a crash on startup.
99 2005-01-21 Martin Kretzschmar <martink@gnome.org>
101 * pixbuf/pixbuf-document.c
102 (pixbuf_document_thumbnails_get_dimensions): force floating point
103 division to calculate page_ratio. Fixes crash with landscape
106 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
108 * shell/ev-view.c (ev_view_realize): make the bg color darker.
110 2005-01-20 Martin Kretzschmar <martink@gnome.org>
112 * shell/ev-view.c (set_document_page): unset has_selection when
114 (set_document_page): handle paper size changes when the page
115 changes (test with Free Culture, page 2).
117 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
119 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
120 (expose_bin_window), (ev_view_class_init), (ev_view_init):
122 Use normal style color for the widget background and
123 draw a black box around the page.
125 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
127 * pdf/xpdf/pdf-document.cc:
129 Keep offset in consideration in a few places
131 * shell/ev-view.c: (expose_bin_window):
133 Set the offsets so that the document is ever centered
135 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
137 * TODO: Added TODO items and finished off the first todo item
139 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
140 reflect current authors
142 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
144 * pdf/xpdf/pdf-document.cc:
145 * shell/ev-view.c: (ev_view_set_cursor),
146 (ev_view_motion_notify_event), (document_changed_callback),
149 Show a wait cursor while the page is rendering
151 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
153 * shell/ev-sidebar-thumbnails.c:
154 (ev_sidebar_tree_selection_changed),
155 (ev_sidebar_thumbnails_select_page):
156 * shell/ev-sidebar-thumbnails.h:
157 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
158 (ev_view_can_go_forward):
159 * shell/ev-window.c: (ev_window_open_page),
160 (ev_window_setup_document), (update_current_page),
161 (view_page_changed_cb), (ev_window_init):
164 Ensure thumbnails selection, toolbar page control and
165 current page are in sync.
167 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
173 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
175 * backend/Makefile.am:
176 * backend/ev-document-links.h:
177 * backend/ev-document-security.c: (ev_document_security_get_type),
178 (ev_document_security_has_document_security),
179 (ev_document_security_set_password):
180 * backend/ev-document-security.h:
181 * backend/ev-document.c: (ev_document_error_quark):
182 * backend/ev-document.h:
184 * data/evince-password.glade:
185 * pdf/xpdf/pdf-document.cc:
187 * shell/ev-password.c: (ev_password_set_bad_password_label),
188 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
189 (ev_password_dialog_get_password),
190 (ev_password_dialog_set_bad_pass):
191 * shell/ev-password.h:
192 * shell/ev-window.c: (ev_window_get_attribute),
193 (ev_window_set_property), (update_action_sensitivity),
194 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
195 (ev_window_setup_document), (ev_window_get_password),
196 (ev_window_open), (ev_window_cmd_save_as),
197 (using_postscript_printer), (ev_window_print),
198 (find_not_supported_dialog), (ev_window_cmd_edit_find),
199 (update_fullscreen_popup), (ev_window_fullscreen),
200 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
201 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
202 (menu_item_select_cb), (find_bar_search_changed_cb),
203 (ev_window_dispose), (ev_window_init):
205 Add initial support for password-supported dialogs. This could be
206 a lot cooler, but it'll do for now.
208 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
210 * pdf/xpdf/pdf-document.cc:
211 * shell/ev-view.c: (status_message_from_link),
212 (ev_view_set_status), (ev_view_set_cursor),
213 (ev_view_motion_notify_event), (ev_view_init):
214 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
216 Fix bugs in the links implementation and change cursor
217 when hovering a link.
219 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
221 * viewer/.cvsignore: added cvsignore file for viewer directory
223 * TODO: created TODO document
225 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
228 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
229 new functions to help with implementation of sensitivity code
230 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
231 of all actions that might require it. Fixes a crash when you
232 click on the Zoom actions in a window lacking a document.
234 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
236 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
239 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
241 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
242 (pixbuf_document_document_iface_init):
243 * ps/ps-document.c: (ps_document_get_link),
244 (ps_document_document_iface_init):
245 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
246 (status_message_from_link), (ev_view_set_status),
247 (ev_view_set_find_status), (ev_view_motion_notify_event),
248 (ev_view_button_release_event), (ev_view_set_property),
249 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
250 (ev_view_get_find_status_message), (update_find_results),
251 (ev_view_get_status), (ev_view_get_find_status):
253 * shell/ev-window.c: (view_status_changed_cb),
254 (view_find_status_changed_cb), (ev_window_init):
256 View status message support, use it to show the links.
259 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
261 * backend/ev-document.c: (ev_document_get_link):
262 * backend/ev-document.h:
263 * pdf/xpdf/pdf-document.cc:
264 * shell/ev-application.c: (ev_application_open):
265 * shell/ev-application.h:
266 * shell/ev-sidebar-links.c: (selection_changed_cb):
267 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
268 (ev_view_go_to_link):
270 Add support for document links
272 2005-01-13 Anders Carlsson <andersca@gnome.org>
274 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
276 Set the spin button limits correctly.
278 * shell/ev-sidebar-thumbnails.c:
279 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
280 Support changing pages by clicking on the thumbnails.
282 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
284 * pixbuf/pixbuf-document.c:
285 (pixbuf_document_thumbnails_get_dimensions),
286 (pixbuf_document_document_thumbnails_iface_init):
288 implement get_dimensions
290 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
292 * ps/ps-document.c: (ps_document_goto_page):
294 Fix page switching on multipage documents
296 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
298 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
300 check for NULL before assigning to width and height parameters
302 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
304 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
305 (pixbuf_document_set_property), (pixbuf_document_get_property):
307 implement get/set properties
309 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
311 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
313 return NULL instead of "Unknown", letting the title get set to
314 the filename when the pdf has no title.
316 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
318 * ps/ps-document.c: (ps_document_get_page_count),
319 (ps_document_goto_page):
321 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
323 * shell/ev-history.c: (ev_history_get_property),
324 (ev_history_set_property), (ev_history_class_init),
325 (ev_history_add_page), (ev_history_set_current_index):
326 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
327 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
328 (ev_navigation_action_finalize):
329 * shell/ev-navigation-action.h:
330 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
331 (ev_view_go_forward), (ev_view_get_find_status_message),
332 (history_index_changed_cb), (ev_view_set_history):
334 * shell/ev-window.c: (update_total_pages), (ev_window_open),
335 (update_current_page), (register_custom_actions):
337 Implement history dropdowns
339 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
341 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
342 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
343 (ev_view_go_forward):
344 * shell/ev-window.c: (register_custom_actions):
346 Fix several history bugs
348 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
350 * configure.ac: Add «nb» to ALL_LINGUAS.
352 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
354 * backend/Makefile.am:
355 * backend/ev-bookmark.c:
356 * backend/ev-bookmark.h:
357 * backend/ev-document-bookmarks.c:
358 * backend/ev-document-bookmarks.h:
359 * backend/ev-document-links.c: (ev_document_links_get_type),
360 (ev_document_links_has_document_links),
361 (ev_document_links_begin_read), (ev_document_links_get_link),
362 (ev_document_links_get_child), (ev_document_links_next),
363 (ev_document_links_free_iter):
364 * backend/ev-document-links.h:
365 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
366 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
367 (ev_link_get_link_type), (ev_link_set_link_type),
368 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
369 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
370 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
371 (ev_link_new_external):
373 * pdf/xpdf/pdf-document.cc:
375 * shell/ev-application.c: (ev_application_open_link):
376 * shell/ev-application.h:
377 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
378 (ev_history_get_link_nth):
379 * shell/ev-history.h:
380 * shell/ev-sidebar-bookmarks.c:
381 * shell/ev-sidebar-bookmarks.h:
382 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
383 (ev_sidebar_links_class_init), (selection_changed_cb),
384 (ev_sidebar_links_construct), (ev_sidebar_links_init),
385 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
386 (do_one_iteration), (populate_links_idle),
387 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
388 * shell/ev-sidebar-links.h:
389 * shell/ev-sidebar.c: (ev_sidebar_set_document):
390 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
393 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
396 Rename bookmark to link, and use "Index" for the sidebar panel.
398 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
401 * shell/ev-application.c: (ev_application_open_bookmark):
402 * shell/ev-application.h:
403 * shell/ev-history.c: (ev_history_init), (free_links_list),
404 (ev_history_finalize), (ev_history_class_init),
405 (ev_history_add_link), (ev_history_add_page),
406 (ev_history_get_link_nth), (ev_history_get_n_links),
407 (ev_history_get_current_index), (ev_history_set_current_index),
409 * shell/ev-history.h:
410 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
411 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
412 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
413 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
416 * shell/ev-window.c: (ev_window_open_bookmark),
417 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
418 (goto_page_cb), (register_custom_actions):
421 Initial history implementation. Needs work.
423 2005-01-09 Martin Kretzschmar <martink@gnome.org>
425 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
427 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
429 * cut-n-paste/recent-files/egg-recent-item.c:
430 * cut-n-paste/recent-files/egg-recent-item.h:
431 * cut-n-paste/recent-files/egg-recent-model.c:
432 * cut-n-paste/recent-files/egg-recent-util.c:
433 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
434 * cut-n-paste/recent-files/egg-recent-view.c:
438 2005-01-08 Martin Kretzschmar <martink@gnome.org>
440 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
441 (fillGlyph, fillImageMask, drawImage):
442 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
443 pdf/splash/SplashTypes.h:
444 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
445 packed mode for Splash.
447 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
448 RGB8 packed mode, eliminates the pixbuf data creation loop.
450 * shell/ev-print-job.c (ev_print_job_finalize)
451 (ev_print_job_set_property, ev_print_job_get_property)
452 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
453 (ev_print_job_use_print_dialog_settings, idle_print_handler)
454 (print_closure_finalize, ev_print_job_print): implement
455 printing (for backends with EvPsExporter)
457 * shell/ev_print_job.h: update prototypes.
459 * shell/ev-window.c (ev_window_print): unref print job after
462 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
463 unless the document implements the EvDocumentFind interface.
465 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
467 * configure.ac: Added ja to ALL_LINGUAS.
469 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
471 * pdf/xpdf/pdf-document.cc:
473 add a FIXME. We should probably not allocate
474 a bookmark object every time
476 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
478 * shell/ev-application.c: (ev_application_open),
479 (ev_application_open_bookmark):
480 * shell/ev-application.h:
482 Add a way to open bookmarks
484 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
485 (ev_bookmark_set_uri), (ev_bookmark_get_property),
486 (ev_bookmark_set_property), (ev_bookmark_class_init),
487 (ev_bookmark_new_title), (ev_bookmark_new_link),
488 (ev_bookmark_new_external):
490 Support for external uris, better constructors.
492 * backend/ev-bookmark.h:
493 * pdf/xpdf/pdf-document.cc:
494 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
498 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
500 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
501 (ev_sidebar_bookmarks_construct), (do_one_iteration):
503 Hook up bookmarks navigation
505 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
507 * backend/Makefile.am:
508 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
509 (ev_bookmark_get_title), (ev_bookmark_set_title),
510 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
511 (ev_bookmark_get_page), (ev_bookmark_set_page),
512 (ev_bookmark_get_property), (ev_bookmark_set_property),
513 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
515 * backend/ev-bookmark.h:
516 * backend/ev-document-bookmarks.c:
517 (ev_document_bookmarks_get_bookmark):
518 * backend/ev-document-bookmarks.h:
519 * pdf/xpdf/pdf-document.cc:
520 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
522 Add a bookmark object to the backend and use it instead of get_values
524 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
526 * data/evince-ui.xml:
528 Cleanup and add select all.
530 * shell/ev-view.c: (ev_view_select_all),
531 (ev_view_button_press_event):
533 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
536 Clear selection on click.
538 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
540 * shell/ev-sidebar-thumbnails.c
541 (ev_sidebar_thumbnails_set_document): forgot to unref the
544 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
546 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
547 at the visible page, not just linearly. This makes it look fast.
549 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
551 * backend/ev-document-misc.c
552 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
554 * backend/ev-document-thumbnails.h: New interface to get the size
557 2005-01-06 Jeremy Katz <katzj@redhat.com>
559 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
562 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
564 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
565 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
568 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
570 2005-01-05 Martin Kretzschmar <martink@gnome.org>
572 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
573 fonts. Should fix font problems on systems that have the base
574 fonts in bitmap format. Reported by James Henstridge
575 <james@jamesh.id.au>.
577 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
580 * pdf/xpdf/GfxState.cc:
582 Fix for CAN-2004-1125
584 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
586 * shell/ev-view.c: (ev_view_copy):
588 * shell/ev-window.c: (ev_window_cmd_edit_copy):
592 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
594 * backend/ev-document.c: (ev_document_get_text):
595 * backend/ev-document.h:
596 * pdf/xpdf/pdf-document.cc:
597 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
598 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
599 (ev_view_update_primary_selection), (ev_view_button_press_event),
600 (ev_view_motion_notify_event), (ev_view_button_release_event):
602 Beginnings of clipboard support. Incomplete but primary sort
605 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
607 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
610 Nicer rubberband drawing, from GtkIconView.
612 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
614 * backend/ev-document.c: (ev_document_save):
615 * backend/ev-document.h:
616 * data/evince-ui.xml:
617 * pdf/xpdf/pdf-document.cc:
618 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
620 Implement "Save a copy..." menu item
622 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
624 * shell/ev-view.c: (ev_view_zoom):
626 Queue a resize when zoom changes
628 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
630 * backend/ev-document-misc.[ch]: New misc file to do simple drop
633 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
636 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
638 * pdf/xpdf/pdf-document.cc
639 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
641 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
643 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
644 It's slow, but I'll speed it up next!
646 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
648 * shell/main.c (load_files):
650 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
651 from the command line and because it seems more appropriate.
653 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
655 * data/evince-ui.xml:
656 * shell/ev-window.c: (update_action_sensitivity),
657 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
659 s/next page/page down
660 s/previous page/page up
662 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
664 * data/evince-ui.xml:
666 Change the layout to match clarkbw design.
669 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
670 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
671 (ev_navigation_action_finalize),
672 (ev_navigation_action_set_property),
673 (ev_navigation_action_get_property),
674 (ev_navigation_action_class_init):
675 * shell/ev-navigation-action.h:
677 Implement clarkbw toolbar navigation controls (incomplete)
679 * shell/ev-page-action.c: (update_label), (update_spin),
680 (value_changed_cb), (create_tool_item), (connect_proxy),
681 (ev_page_action_init), (ev_page_action_finalize),
682 (ev_page_action_set_property), (ev_page_action_get_property),
683 (ev_page_action_set_current_page),
684 (ev_page_action_set_total_pages), (ev_page_action_class_init):
685 * shell/ev-page-action.h:
687 Implement a page switcher in the toolbar
689 * shell/ev-view.c: (ev_view_scroll_view):
690 * shell/ev-window.c: (update_total_pages), (ev_window_open),
691 (update_current_page), (view_page_changed_cb), (goto_page_cb),
692 (register_custom_actions), (ev_window_init):
694 Change page on PageUp/Down.
696 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
698 * pdf/xpdf/pdf-document.cc
699 (pdf_document_thumbnails_get_thumbnail): initial stab at
700 implementing thumbnail support for pdfs. It only does documents
701 with precached pdfs now.
703 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
705 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
706 thumbnail code into a time-based idle as well. Also, turn off the
707 shadow temporarily as it's really slow.
709 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
711 * backend/ev-document.c: (ev_document_class_init):
712 * pdf/xpdf/pdf-document.cc:
713 * shell/ev-window.c: (ev_window_open):
715 Fix document title bugs and fallback to
716 filename when not available.
718 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
720 * backend/ev-document.c: (ev_document_get_type),
721 (ev_document_class_init), (ev_document_load),
722 (ev_document_get_title):
723 * backend/ev-document.h:
724 * pdf/xpdf/pdf-document.cc:
725 * ps/ps-document.c: (ps_document_set_property),
726 (ps_document_get_property), (ps_document_class_init),
730 * shell/ev-window.c: (update_window_title), (ev_window_open),
733 Initial support for document title. Not working yet.
735 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
737 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
739 Grab focus on the view when clicking it
741 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
743 * shell/ev-marshal.list:
744 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
745 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
747 Add key bindings to the view. Now if the focus would work
750 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
753 * backend/Makefile.am:
756 * dvi/dvilib/Makefile.am:
757 * pdf/xpdf/Makefile.am:
763 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
765 * shell/ev-view.c: (ev_view_realize):
767 Fix mouse wheel scrolling
769 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
775 * ps/ps-document.c: (catchPipe), (ps_document_init),
776 (ps_document_class_init), (ps_document_cleanup),
777 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
778 (set_up_page), (close_pipe), (is_interpreter_ready),
779 (interpreter_failed), (output), (input), (start_interpreter),
780 (stop_interpreter), (file_length), (file_readable),
781 (check_filecompressed), (check_pdf), (compute_xdpi),
782 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
783 (ps_document_get_type), (ps_document_emit_error_msg),
784 (document_load), (ps_document_next_page),
785 (ps_document_get_current_page), (ps_document_get_page_count),
786 (ps_document_goto_page), (ps_document_set_page_size),
787 (ps_document_zoom_to_fit), (ps_document_set_zoom),
788 (ps_document_load), (ps_document_get_n_pages),
789 (ps_document_set_page), (ps_document_get_page),
790 (ps_document_widget_event), (ps_document_set_target),
791 (ps_document_set_scale), (ps_document_set_page_offset),
792 (ps_document_get_page_size), (ps_document_render),
793 (ps_document_document_iface_init):
796 * shell/ev-window.c: (ev_window_open):
798 Rename GtkGS to PSDocument
800 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
802 * ps/gtkgs.c: (gtk_gs_class_init):
805 Some more leftover...
807 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
809 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
810 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
811 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
814 Remove unused code and make a lot of stuff private
816 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
818 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
819 (gtk_gs_defaults_changed):
825 Cleanup headers dependencies
827 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
832 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
834 * ps/gtkgs.c: (file_length), (file_readable),
835 (check_filecompressed), (check_pdf), (gtk_gs_load),
836 (gtk_gs_get_postscript):
840 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
845 * ps/gtkgs.c: (gtk_gs_set_zoom):
849 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
851 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
853 Ensure the page is rerendered when changing zoom
855 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
857 * backend/ev-document.c: (ev_document_base_init),
858 (ev_document_changed):
859 * backend/ev-document.h:
861 Add a changed event that is emitted when the page content
862 changes. This is necessary to deal with the fact that
863 in ps backend rendering happen asycrounously.
864 This makes the ps backend mostly work.
866 * pdf/xpdf/pdf-document.cc:
870 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
871 (ps_document_set_target):
875 * shell/ev-view.c: (document_changed_callback),
876 (ev_view_set_document), (ev_view_set_page):
878 Redraw on the changed signal
880 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
882 * configure.ac: Added pt_BR to ALL_LINGUAS.
884 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
886 * backend/ev-document-bookmarks.c:
887 (ev_document_bookmarks_get_child): *
888 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
889 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
890 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
891 (ev_sidebar_bookmarks_destroy),
892 (ev_sidebar_bookmarks_class_init),
893 (ev_sidebar_bookmarks_construct), (stack_data_free),
894 (do_one_iteration), (populate_bookmarks_idle),
895 (ev_sidebar_bookmarks_clear_document),
896 (ev_sidebar_bookmarks_set_document): *
897 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
898 (ev_sidebar_add_page),
899 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
900 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
901 it displays both the topics and the page numbers.
903 2004-12-23 Kristian Høgsberg <krh@redhat.com>
905 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
907 * shell/ev-window.c (toggle_entries): Set sidebar default value to
910 2004-12-23 Adam Weinberger <adamw@gnome.org>
912 * configure.ac: Added en_CA to ALL_LINGUAS.
914 2004-12-23 Martin Kretzschmar <martink@gnome.org>
916 * ChangeLog: replace bottom of this ChangeLog (merged history of
917 ggv and gpdf; where all paths were wrong and most of the files are
918 not even in this tree) with ChangeLog (from arch) of the shell
921 2004-12-23 Havoc Pennington <hp@redhat.com>
923 * shell/ev-window.c: hook up potentially-questionable "find
924 results status text" feature - something involving the sidebar or
925 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
926 might be better in the end.
928 * shell/ev-view.c (ev_view_get_find_status_message): new function,
929 with corresponding signal when it should be updated
931 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
933 2004-12-22 Havoc Pennington <hp@redhat.com>
935 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
936 find stuff on other pages, sort of (only returns one result on
937 invisible pages, to show they have results; updates full results
938 for a page when you view it). Currently repaints the current page
939 every time a new result is found on any page, which isn't so nice.
941 2004-12-22 Havoc Pennington <hp@redhat.com>
943 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
944 the document doesn't support find (better ideas?)
945 (find_bar_search_changed_cb): handle missing document or document
946 that doesn't support find
948 * pdf/xpdf/pdf-document.cc: port to implement the new
951 * backend/ev-document-find.c: create a new interface for searching
953 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
955 2004-12-23 Martin Kretzschmar <martink@gnome.org>
957 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
960 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
961 EvPrintJob constructor arguments.
963 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
964 for documents that can export PostScript (page by page).
966 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
968 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
969 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
970 (pdf_document_ps_exporter_iface_init:
971 Implement EvPSExporter.
973 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
975 2004-12-22 Anders Carlsson <andersca@gnome.org>
977 * backend/Makefile.am:
978 * backend/ev-document-thumbnails.c:
979 (ev_document_thumbnails_get_type),
980 (ev_document_thumbnails_get_thumbnail):
981 * backend/ev-document-thumbnails.h:
982 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
983 (pixbuf_document_thumbnails_get_thumbnail),
984 (pixbuf_document_document_thumbnails_iface_init):
986 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
987 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
988 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
989 * shell/ev-sidebar-thumbnails.h:
990 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
991 (ev_sidebar_set_document):
992 * shell/ev-utils.c: (gaussian), (create_blur_filter),
993 (create_shadow), (ev_pixbuf_add_shadow):
995 Add thumbnail support.
997 2004-12-22 Martin Kretzschmar <martink@gnome.org>
999 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1000 (using_postscript_printer): Set up a print dialog for "PostScript
1003 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1006 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1008 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1010 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1011 (ps_document_set_target), (ps_document_get_page_size),
1012 (ps_document_render):
1017 2004-12-22 Christian Rose <menthos@menthos.com>
1019 * configure.ac: Added "sv" to ALL_LINGUAS.
1021 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
1023 * backend/ev-document-bookmarks.[ch]: new interface to indicate
1024 document supports bookmarks.
1026 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1028 * ps/ggvutils.c: (ggv_file_readable):
1030 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1031 (gtk_gs_get_postscript):
1035 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1037 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1038 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1039 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1040 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1041 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1042 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1043 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1044 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1045 (gtk_gs_set_antialiasing), (ps_document_load),
1046 (ps_document_render):
1049 Another check point for the ps backend. Now I can get it to show
1052 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
1054 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1055 document setting code.
1057 2004-12-22 Anders Carlsson <andersca@gnome.org>
1059 * shell/eggfindbar.c: (entry_activate_callback):
1060 Animate the next button when activate is pressed.
1062 2004-12-22 Anders Carlsson <andersca@gnome.org>
1064 * shell/ev-window.c: (ev_window_cmd_edit_find),
1065 (update_fullscreen_popup), (ev_window_fullscreen),
1066 (ev_window_unfullscreen), (ev_window_state_event_cb),
1067 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1068 Fix bugs in fullscreen code.
1070 2004-12-22 Anders Carlsson <andersca@gnome.org>
1074 * pixbuf/Makefile.am:
1075 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1076 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1077 (pixbuf_document_set_page), (pixbuf_document_get_page),
1078 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1079 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1080 (pixbuf_document_render), (pixbuf_document_begin_find),
1081 (pixbuf_document_end_find), (pixbuf_document_finalize),
1082 (pixbuf_document_class_init),
1083 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1084 * pixbuf/pixbuf-document.h:
1085 * shell/Makefile.am:
1086 * shell/ev-application.c: (ev_application_open):
1087 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1091 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1094 * dvi/dvilib/Makefile.am:
1096 * configure.ac: Auto*ify dvi and dvi/dvilib
1098 * dvi/Makefile: Remove from CVS
1100 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1103 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1105 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1107 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1110 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1111 (gtk_gs_value_adjustment_changed), (compute_size),
1112 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1113 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1114 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1115 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1116 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1117 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1118 (ps_document_load), (ps_document_get_n_pages),
1119 (ps_document_set_page), (ps_document_get_page),
1120 (ps_document_set_target), (ps_document_set_scale),
1121 (ps_document_set_page_offset), (ps_document_get_page_size),
1122 (ps_document_render), (ps_document_begin_find),
1123 (ps_document_end_find), (ps_document_document_iface_init):
1125 * shell/Makefile.am:
1126 * shell/ev-window.c: (ev_window_open):
1128 Some work to integrate gtkgs with EvDocument
1130 2004-12-22 Anders Carlsson <andersca@gnome.org>
1132 * shell/ev-window.c: (update_fullscreen_popup),
1133 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1134 (exit_fullscreen_button_clicked_cb),
1135 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1136 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1137 (ev_window_state_event_cb), (ev_window_init):
1138 Add fullscreen support from Epiphany.
1140 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1142 * data/ev-stock-zoom-fit-width.png: fit-width
1143 stock icon from gpdf.
1145 * shell/ev-stock-icons.[ch]: copied from gpdf.
1147 * shell/main.c: (main): init stock icons.
1149 * shell/ev-window.c: use the fit-width icon.
1151 * data/evince-ui.xml: add zooming toolbar items.
1153 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1156 (ev_view_best_fit), (ev_view_fit_width): because
1157 get_page_size() returns the scaled page size, we
1158 need to calculate the scale factor relative to
1159 the previous scale factor. Should really just
1160 add get_real_page_size().
1162 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1164 * shell/ev-view.[ch]:
1165 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1166 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1169 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1170 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1171 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1174 * pdf/xpdf/pdf-document.cc:
1175 (pdf_document_begin_find),
1176 (pdf_document_end_find): make static.
1178 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1180 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1182 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1183 names to fontconfig patterns.
1184 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1186 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1189 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1205 Import ggv backend. Not hooked up yet.
1207 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1209 * shell/main.c: (load_files), (main): load files
1210 from the command line.
1212 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1214 * configure.ac: don't require bonobo.
1216 * cut-n-paste/recent-files/*: kill bonobo recent
1219 * shell/ev-window.c:
1220 (ev_window_is_empty): upd.
1221 (unable_to_load), (ev_window_open): load backend
1222 based on the mime type.
1224 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1226 * backend/.cvsignore: ignore generated marshalers source.
1228 * shell/main.c (main): this is not epiphany.
1230 2004-12-22 Havoc Pennington <hp@redhat.com>
1232 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1233 (expose_bin_window): draw find highlights
1235 * shell/ev-window.c (find_bar_search_changed_cb): implement
1237 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1238 (pdf_document_end_find): implement this interface
1240 * backend/ev-document.c (ev_document_found): add this to emit
1243 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1245 * data/evince-ui.xml: Add a few more toolbar items.
1247 * shell/ev-window.c: Hook up page navigation toolbar
1250 * shell/ev-view.[ch]: add ev_view_set/get_page and
1251 a page-changed signal.
1253 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1254 Add ev_document_get_page().
1256 * shell/ev-window.c: Sensitize/desensitize navigation
1259 2004-12-21 Havoc Pennington <hp@redhat.com>
1261 * backend/ev-backend-marshal.c,
1262 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1263 marshaler-generator thingy. I'm sure there's a better way to do
1264 this in the modern world.
1266 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1267 end_find methods and "found" signal.
1269 * configure.ac: find glib-genmarshal
1271 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1273 * shell/ev-sidebar.c: Construct an actual sidebar.
1274 * shell/ev-sidebar-bookmarks.[ch]:
1275 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1277 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1279 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1282 * shell/ev-view.c: Track the size from the document.
1284 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1286 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1287 constructor assumes ownership of the string passed in.
1289 * shell/ev-window.c (ev_window_open): Destroy the error
1290 dialog once we've displayed it.
1292 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1294 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1295 a bit, it works! (sort of)
1297 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1298 Move to .cc since we need to use C++ in the implementation.
1300 * shell/dummy.cc: Add a CC file to force evince
1301 to be linked as a C++ program.
1303 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1305 * shell/ev-view.[ch]: Start of content-area widget.
1307 * shell/ev-window.c: Create a EvView, update it
1308 as we change documents.
1310 * shell/Makefile.am shell/ev-marshal.list: Add
1311 generated marshalers.
1313 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1315 * Makefile.am (SUBDIRS): move shell.
1317 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1319 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1320 .a to libtool convenience libraries.
1322 * shell/ev-window.c (ev_window_open): Hard code loading
1325 * backend/ev-document.h: Add a boolean return to load(),
1326 fix GError * to GError **.
1328 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1329 object for a PDF backend EvDocument.
1331 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1333 * dvi/*: New directory with the beginning of a .dvi backend.
1335 2004-12-21 Havoc Pennington <hp@redhat.com>
1337 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1338 previous/next instead of back/forward
1340 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1342 * backend/ev-document.[ch]: Fix a couple of problems so
1345 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1347 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1348 to backend/ directory, rename EvViewer to EvDocument.
1350 2004-12-21 Havoc Pennington <hp@redhat.com>
1352 * shell/ev-window.c: hook up the find bar widget; now we just need
1353 a document to find things in
1355 * shell/eggfindbar.c: a find bar widget
1357 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1359 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1361 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1363 * pdf/**: Import of xpdf code from gpdf.
1365 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1367 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1368 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1369 Fix FreeType includes.
1371 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1372 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1373 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1374 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1375 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1376 Include xpdfconfig.h
1378 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1380 * shell/ev-window.c (ev_window_dispose): dispose can be called
1383 2004-12-21 Havoc Pennington <hp@redhat.com>
1385 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1388 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1389 items; really they should be synced with the strings, etc. from
1390 current gpdf, but just getting the boring typing out of the way
1392 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1395 * shell/ev-application.c: (window_destroy_cb):
1396 * shell/ev-window.c:
1397 * shell/main.c: (main):
1399 Actually show the window...
1401 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1404 * shell/Makefile.am:
1405 * shell/ev-application.c: (ev_application_class_init):
1406 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1410 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1412 Import to gnome cvs.
1414 * Remove copies of gpdf and ggv trees.
1415 * Rip out all the recursive configure code.
1416 * Remove bonobo machinery.
1417 * viewer/*: GInterfaces that backends should/can implement.
1419 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1421 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1424 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1426 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1427 (ev_application_finalize, ev_application_class_init)
1428 (ev_application_init): use GType instance private data for priv.
1430 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1431 (ev_window_finalize, ev_window_class_init)
1432 (ev_window_init): ditto.
1434 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1436 * shell/ev-application.c (ev_application_new_window): make public
1437 (ev_application_show_initial_window): kill.
1439 * shell/ev-application.h: update prototypes.
1441 * shell/main.cc (main): inline ev_application_show_initial_window.
1443 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1445 * shell/ev-application.c (ev_application_new_window): impl.
1446 (ev_application_show_initial_window): use it.
1447 (is_window_empty, ev_application_get_empty_window): returns an
1448 existing empty window or a new one.
1449 (ev_application_open): from ev_window_cmd_file_open.
1451 * shell/ev-application.h: update prototypes
1453 * shell/ev-window.c (ev_window_is_empty): impl.
1454 (ev_window_open): make public.
1455 (ev_window_cmd_file_open): use ev_application_open
1457 * shell/ev-window.h: update prototypes, remove unused.
1459 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1461 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1462 move destroy handler out of here...
1464 * shell/ev-application.c, shell/ev-application.h: ...into this new
1465 class. Also handles initial window creation.
1467 * shell/main.cc (main): use EvApplication to create initial
1470 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1472 * Makefile.am (SUBDIRS): add cut-n-paste
1474 * cut-n-paste/Makefile.am: add
1476 * configure.ac: generate Makefiles in cut-n-paste
1478 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1480 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1481 (ev_window_class_init): install ev_window_dispose.
1483 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1485 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1486 char (gchar looks stupid).
1488 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1490 * po/de.po: updated German translation.
1492 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1494 * configure.ac: add more pkg-config library checks for gnome-vfs,
1497 * gpdf/configure.in: temporarily disable libpaper
1498 checks. Otherwise I'd have to add the checks for the shell, too.
1500 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1502 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1503 and * file filters to the file choose.
1505 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1507 * po/de.po: Updated German translation.
1509 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1511 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1513 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1515 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1517 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1518 (ev_window_init): implement those menuitems.
1520 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1522 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1524 * shell/ev-window.c (ev_window_init): use the toolbar.
1526 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1528 * shell/ev-window.c (ev_window_init): use menu translations
1530 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1532 * configure.ac: add "de" to ALL_LINGUAS.
1534 * po/de.po: add German translation.
1536 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1538 * Makefile.am (SUBDIRS): add po
1540 * configure.ac: check intltool, glib-gettext etc, generate
1543 * po, po/POTFILES.in, po/POTFILES.skip: new.
1545 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1547 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1548 already use (#ifdef ENABLE_NLS)
1550 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1551 pointer indirection thinko.
1553 * shell/main.c: include gi18n.h for bindtextdomain etc.
1555 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1557 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1558 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1559 tooltips for menu items in the statusbar.
1561 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1563 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1564 pkgdatadir drop UIDIR
1566 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1568 * data/evince-ui.xml: Add File->Open menu item
1570 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1571 chooser), hook it up in the ui manager.
1573 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1575 * shell/ev-window.c: fix Help->About tooltip.
1577 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1579 * configure.ac: set CFLAGS for libevprivate.
1581 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1582 definitions, factory etc.
1584 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1586 * shell/Makefile.am: link against libevprivate.a.
1588 * shell/ev-window.c (entries): add stock icon to Help->About.
1590 * shell/main.c (main): init stock icon code.
1592 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1594 * lib/recent-files: egg recent files code
1596 * lib/Makefile.am: add.
1598 * Makefile.am: add lib subdir.
1600 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1601 set CFLAGS for recent-files.
1603 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1605 * configure.ac: disable -ansi and -pedantic gcc flags. They
1606 disable POSIX stuff in stdio.h, but egg-recent uses them.
1608 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1610 * configure.ac: add --disable-deprecated flag (defaults to on in
1613 * shell/Makefile.am (INCLUDES): use it.
1615 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1617 * shell/main.c: add missing #include.
1619 * shell/ev-window.c: fix for pedantic gcc.
1620 (ev_window_cmd_help_about): split license into paragraphs for
1621 translators and pedantic compilers.
1623 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1625 * configure.ac: add more warning flags if compiling with gcc from
1626 cvs (or explicitly requested with --enable-more-warnings).
1628 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1630 * data/evince-ui.xml: add File and File->Close menu.
1632 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1633 (ev_window_destroy): quit after destroy.
1634 (ev_window_class_init): override GtkObject::destroy.
1635 (entries): install close_window callback.
1637 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1639 * Makefile.am (SUBDIRS): add data subdir.
1641 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1642 gtk+ 2.5.0 for GtkAboutDialog.
1644 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1647 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1649 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1651 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1653 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1655 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1657 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1659 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1661 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1663 * shell/*: Added shell directory boilerplate, build it.
1665 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1667 * configure.ac, Makefile.am: Added top-level configure.ac and