1 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3 * shell/ev-view.c: (ev_view_button_press_event),
4 (ev_view_motion_notify_event):
6 Make selection work in any direction
8 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
11 * shell/ev-window.c: (set_short_labels), (ev_window_init):
13 Use shorter labels for some of the toolbars items
15 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
17 * pdf/xpdf/pdf-document.cc:
19 Check the links info is initialized before
20 using it. Should fix a crash on startup.
22 2005-01-21 Martin Kretzschmar <martink@gnome.org>
24 * pixbuf/pixbuf-document.c
25 (pixbuf_document_thumbnails_get_dimensions): force floating point
26 division to calculate page_ratio. Fixes crash with landscape
29 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
31 * shell/ev-view.c (ev_view_realize): make the bg color darker.
33 2005-01-20 Martin Kretzschmar <martink@gnome.org>
35 * shell/ev-view.c (set_document_page): unset has_selection when
37 (set_document_page): handle paper size changes when the page
38 changes (test with Free Culture, page 2).
40 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
42 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
43 (expose_bin_window), (ev_view_class_init), (ev_view_init):
45 Use normal style color for the widget background and
46 draw a black box around the page.
48 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
50 * pdf/xpdf/pdf-document.cc:
52 Keep offset in consideration in a few places
54 * shell/ev-view.c: (expose_bin_window):
56 Set the offsets so that the document is ever centered
58 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
60 * TODO: Added TODO items and finished off the first todo item
62 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
63 reflect current authors
65 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
67 * pdf/xpdf/pdf-document.cc:
68 * shell/ev-view.c: (ev_view_set_cursor),
69 (ev_view_motion_notify_event), (document_changed_callback),
72 Show a wait cursor while the page is rendering
74 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
76 * shell/ev-sidebar-thumbnails.c:
77 (ev_sidebar_tree_selection_changed),
78 (ev_sidebar_thumbnails_select_page):
79 * shell/ev-sidebar-thumbnails.h:
80 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
81 (ev_view_can_go_forward):
82 * shell/ev-window.c: (ev_window_open_page),
83 (ev_window_setup_document), (update_current_page),
84 (view_page_changed_cb), (ev_window_init):
87 Ensure thumbnails selection, toolbar page control and
88 current page are in sync.
90 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
96 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
98 * backend/Makefile.am:
99 * backend/ev-document-links.h:
100 * backend/ev-document-security.c: (ev_document_security_get_type),
101 (ev_document_security_has_document_security),
102 (ev_document_security_set_password):
103 * backend/ev-document-security.h:
104 * backend/ev-document.c: (ev_document_error_quark):
105 * backend/ev-document.h:
107 * data/evince-password.glade:
108 * pdf/xpdf/pdf-document.cc:
110 * shell/ev-password.c: (ev_password_set_bad_password_label),
111 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
112 (ev_password_dialog_get_password),
113 (ev_password_dialog_set_bad_pass):
114 * shell/ev-password.h:
115 * shell/ev-window.c: (ev_window_get_attribute),
116 (ev_window_set_property), (update_action_sensitivity),
117 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
118 (ev_window_setup_document), (ev_window_get_password),
119 (ev_window_open), (ev_window_cmd_save_as),
120 (using_postscript_printer), (ev_window_print),
121 (find_not_supported_dialog), (ev_window_cmd_edit_find),
122 (update_fullscreen_popup), (ev_window_fullscreen),
123 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
124 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
125 (menu_item_select_cb), (find_bar_search_changed_cb),
126 (ev_window_dispose), (ev_window_init):
128 Add initial support for password-supported dialogs. This could be
129 a lot cooler, but it'll do for now.
131 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
133 * pdf/xpdf/pdf-document.cc:
134 * shell/ev-view.c: (status_message_from_link),
135 (ev_view_set_status), (ev_view_set_cursor),
136 (ev_view_motion_notify_event), (ev_view_init):
137 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
139 Fix bugs in the links implementation and change cursor
140 when hovering a link.
142 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
144 * viewer/.cvsignore: added cvsignore file for viewer directory
146 * TODO: created TODO document
148 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
151 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
152 new functions to help with implementation of sensitivity code
153 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
154 of all actions that might require it. Fixes a crash when you
155 click on the Zoom actions in a window lacking a document.
157 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
159 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
162 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
164 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
165 (pixbuf_document_document_iface_init):
166 * ps/ps-document.c: (ps_document_get_link),
167 (ps_document_document_iface_init):
168 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
169 (status_message_from_link), (ev_view_set_status),
170 (ev_view_set_find_status), (ev_view_motion_notify_event),
171 (ev_view_button_release_event), (ev_view_set_property),
172 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
173 (ev_view_get_find_status_message), (update_find_results),
174 (ev_view_get_status), (ev_view_get_find_status):
176 * shell/ev-window.c: (view_status_changed_cb),
177 (view_find_status_changed_cb), (ev_window_init):
179 View status message support, use it to show the links.
182 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
184 * backend/ev-document.c: (ev_document_get_link):
185 * backend/ev-document.h:
186 * pdf/xpdf/pdf-document.cc:
187 * shell/ev-application.c: (ev_application_open):
188 * shell/ev-application.h:
189 * shell/ev-sidebar-links.c: (selection_changed_cb):
190 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
191 (ev_view_go_to_link):
193 Add support for document links
195 2005-01-13 Anders Carlsson <andersca@gnome.org>
197 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
199 Set the spin button limits correctly.
201 * shell/ev-sidebar-thumbnails.c:
202 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
203 Support changing pages by clicking on the thumbnails.
205 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
207 * pixbuf/pixbuf-document.c:
208 (pixbuf_document_thumbnails_get_dimensions),
209 (pixbuf_document_document_thumbnails_iface_init):
211 implement get_dimensions
213 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
215 * ps/ps-document.c: (ps_document_goto_page):
217 Fix page switching on multipage documents
219 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
221 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
223 check for NULL before assigning to width and height parameters
225 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
227 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
228 (pixbuf_document_set_property), (pixbuf_document_get_property):
230 implement get/set properties
232 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
234 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
236 return NULL instead of "Unknown", letting the title get set to
237 the filename when the pdf has no title.
239 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
241 * ps/ps-document.c: (ps_document_get_page_count),
242 (ps_document_goto_page):
244 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
246 * shell/ev-history.c: (ev_history_get_property),
247 (ev_history_set_property), (ev_history_class_init),
248 (ev_history_add_page), (ev_history_set_current_index):
249 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
250 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
251 (ev_navigation_action_finalize):
252 * shell/ev-navigation-action.h:
253 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
254 (ev_view_go_forward), (ev_view_get_find_status_message),
255 (history_index_changed_cb), (ev_view_set_history):
257 * shell/ev-window.c: (update_total_pages), (ev_window_open),
258 (update_current_page), (register_custom_actions):
260 Implement history dropdowns
262 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
264 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
265 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
266 (ev_view_go_forward):
267 * shell/ev-window.c: (register_custom_actions):
269 Fix several history bugs
271 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
273 * configure.ac: Add «nb» to ALL_LINGUAS.
275 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
277 * backend/Makefile.am:
278 * backend/ev-bookmark.c:
279 * backend/ev-bookmark.h:
280 * backend/ev-document-bookmarks.c:
281 * backend/ev-document-bookmarks.h:
282 * backend/ev-document-links.c: (ev_document_links_get_type),
283 (ev_document_links_has_document_links),
284 (ev_document_links_begin_read), (ev_document_links_get_link),
285 (ev_document_links_get_child), (ev_document_links_next),
286 (ev_document_links_free_iter):
287 * backend/ev-document-links.h:
288 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
289 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
290 (ev_link_get_link_type), (ev_link_set_link_type),
291 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
292 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
293 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
294 (ev_link_new_external):
296 * pdf/xpdf/pdf-document.cc:
298 * shell/ev-application.c: (ev_application_open_link):
299 * shell/ev-application.h:
300 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
301 (ev_history_get_link_nth):
302 * shell/ev-history.h:
303 * shell/ev-sidebar-bookmarks.c:
304 * shell/ev-sidebar-bookmarks.h:
305 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
306 (ev_sidebar_links_class_init), (selection_changed_cb),
307 (ev_sidebar_links_construct), (ev_sidebar_links_init),
308 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
309 (do_one_iteration), (populate_links_idle),
310 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
311 * shell/ev-sidebar-links.h:
312 * shell/ev-sidebar.c: (ev_sidebar_set_document):
313 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
316 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
319 Rename bookmark to link, and use "Index" for the sidebar panel.
321 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
324 * shell/ev-application.c: (ev_application_open_bookmark):
325 * shell/ev-application.h:
326 * shell/ev-history.c: (ev_history_init), (free_links_list),
327 (ev_history_finalize), (ev_history_class_init),
328 (ev_history_add_link), (ev_history_add_page),
329 (ev_history_get_link_nth), (ev_history_get_n_links),
330 (ev_history_get_current_index), (ev_history_set_current_index),
332 * shell/ev-history.h:
333 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
334 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
335 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
336 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
339 * shell/ev-window.c: (ev_window_open_bookmark),
340 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
341 (goto_page_cb), (register_custom_actions):
344 Initial history implementation. Needs work.
346 2005-01-09 Martin Kretzschmar <martink@gnome.org>
348 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
350 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
352 * cut-n-paste/recent-files/egg-recent-item.c:
353 * cut-n-paste/recent-files/egg-recent-item.h:
354 * cut-n-paste/recent-files/egg-recent-model.c:
355 * cut-n-paste/recent-files/egg-recent-util.c:
356 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
357 * cut-n-paste/recent-files/egg-recent-view.c:
361 2005-01-08 Martin Kretzschmar <martink@gnome.org>
363 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
364 (fillGlyph, fillImageMask, drawImage):
365 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
366 pdf/splash/SplashTypes.h:
367 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
368 packed mode for Splash.
370 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
371 RGB8 packed mode, eliminates the pixbuf data creation loop.
373 * shell/ev-print-job.c (ev_print_job_finalize)
374 (ev_print_job_set_property, ev_print_job_get_property)
375 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
376 (ev_print_job_use_print_dialog_settings, idle_print_handler)
377 (print_closure_finalize, ev_print_job_print): implement
378 printing (for backends with EvPsExporter)
380 * shell/ev_print_job.h: update prototypes.
382 * shell/ev-window.c (ev_window_print): unref print job after
385 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
386 unless the document implements the EvDocumentFind interface.
388 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
390 * configure.ac: Added ja to ALL_LINGUAS.
392 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
394 * pdf/xpdf/pdf-document.cc:
396 add a FIXME. We should probably not allocate
397 a bookmark object every time
399 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
401 * shell/ev-application.c: (ev_application_open),
402 (ev_application_open_bookmark):
403 * shell/ev-application.h:
405 Add a way to open bookmarks
407 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
408 (ev_bookmark_set_uri), (ev_bookmark_get_property),
409 (ev_bookmark_set_property), (ev_bookmark_class_init),
410 (ev_bookmark_new_title), (ev_bookmark_new_link),
411 (ev_bookmark_new_external):
413 Support for external uris, better constructors.
415 * backend/ev-bookmark.h:
416 * pdf/xpdf/pdf-document.cc:
417 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
421 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
423 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
424 (ev_sidebar_bookmarks_construct), (do_one_iteration):
426 Hook up bookmarks navigation
428 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
430 * backend/Makefile.am:
431 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
432 (ev_bookmark_get_title), (ev_bookmark_set_title),
433 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
434 (ev_bookmark_get_page), (ev_bookmark_set_page),
435 (ev_bookmark_get_property), (ev_bookmark_set_property),
436 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
438 * backend/ev-bookmark.h:
439 * backend/ev-document-bookmarks.c:
440 (ev_document_bookmarks_get_bookmark):
441 * backend/ev-document-bookmarks.h:
442 * pdf/xpdf/pdf-document.cc:
443 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
445 Add a bookmark object to the backend and use it instead of get_values
447 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
449 * data/evince-ui.xml:
451 Cleanup and add select all.
453 * shell/ev-view.c: (ev_view_select_all),
454 (ev_view_button_press_event):
456 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
459 Clear selection on click.
461 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
463 * shell/ev-sidebar-thumbnails.c
464 (ev_sidebar_thumbnails_set_document): forgot to unref the
467 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
469 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
470 at the visible page, not just linearly. This makes it look fast.
472 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
474 * backend/ev-document-misc.c
475 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
477 * backend/ev-document-thumbnails.h: New interface to get the size
480 2005-01-06 Jeremy Katz <katzj@redhat.com>
482 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
485 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
487 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
488 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
491 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
493 2005-01-05 Martin Kretzschmar <martink@gnome.org>
495 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
496 fonts. Should fix font problems on systems that have the base
497 fonts in bitmap format. Reported by James Henstridge
498 <james@jamesh.id.au>.
500 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
503 * pdf/xpdf/GfxState.cc:
505 Fix for CAN-2004-1125
507 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
509 * shell/ev-view.c: (ev_view_copy):
511 * shell/ev-window.c: (ev_window_cmd_edit_copy):
515 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
517 * backend/ev-document.c: (ev_document_get_text):
518 * backend/ev-document.h:
519 * pdf/xpdf/pdf-document.cc:
520 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
521 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
522 (ev_view_update_primary_selection), (ev_view_button_press_event),
523 (ev_view_motion_notify_event), (ev_view_button_release_event):
525 Beginnings of clipboard support. Incomplete but primary sort
528 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
530 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
533 Nicer rubberband drawing, from GtkIconView.
535 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
537 * backend/ev-document.c: (ev_document_save):
538 * backend/ev-document.h:
539 * data/evince-ui.xml:
540 * pdf/xpdf/pdf-document.cc:
541 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
543 Implement "Save a copy..." menu item
545 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
547 * shell/ev-view.c: (ev_view_zoom):
549 Queue a resize when zoom changes
551 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
553 * backend/ev-document-misc.[ch]: New misc file to do simple drop
556 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
559 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
561 * pdf/xpdf/pdf-document.cc
562 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
564 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
566 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
567 It's slow, but I'll speed it up next!
569 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
571 * shell/main.c (load_files):
573 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
574 from the command line and because it seems more appropriate.
576 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
578 * data/evince-ui.xml:
579 * shell/ev-window.c: (update_action_sensitivity),
580 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
582 s/next page/page down
583 s/previous page/page up
585 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
587 * data/evince-ui.xml:
589 Change the layout to match clarkbw design.
592 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
593 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
594 (ev_navigation_action_finalize),
595 (ev_navigation_action_set_property),
596 (ev_navigation_action_get_property),
597 (ev_navigation_action_class_init):
598 * shell/ev-navigation-action.h:
600 Implement clarkbw toolbar navigation controls (incomplete)
602 * shell/ev-page-action.c: (update_label), (update_spin),
603 (value_changed_cb), (create_tool_item), (connect_proxy),
604 (ev_page_action_init), (ev_page_action_finalize),
605 (ev_page_action_set_property), (ev_page_action_get_property),
606 (ev_page_action_set_current_page),
607 (ev_page_action_set_total_pages), (ev_page_action_class_init):
608 * shell/ev-page-action.h:
610 Implement a page switcher in the toolbar
612 * shell/ev-view.c: (ev_view_scroll_view):
613 * shell/ev-window.c: (update_total_pages), (ev_window_open),
614 (update_current_page), (view_page_changed_cb), (goto_page_cb),
615 (register_custom_actions), (ev_window_init):
617 Change page on PageUp/Down.
619 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
621 * pdf/xpdf/pdf-document.cc
622 (pdf_document_thumbnails_get_thumbnail): initial stab at
623 implementing thumbnail support for pdfs. It only does documents
624 with precached pdfs now.
626 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
628 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
629 thumbnail code into a time-based idle as well. Also, turn off the
630 shadow temporarily as it's really slow.
632 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
634 * backend/ev-document.c: (ev_document_class_init):
635 * pdf/xpdf/pdf-document.cc:
636 * shell/ev-window.c: (ev_window_open):
638 Fix document title bugs and fallback to
639 filename when not available.
641 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
643 * backend/ev-document.c: (ev_document_get_type),
644 (ev_document_class_init), (ev_document_load),
645 (ev_document_get_title):
646 * backend/ev-document.h:
647 * pdf/xpdf/pdf-document.cc:
648 * ps/ps-document.c: (ps_document_set_property),
649 (ps_document_get_property), (ps_document_class_init),
653 * shell/ev-window.c: (update_window_title), (ev_window_open),
656 Initial support for document title. Not working yet.
658 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
660 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
662 Grab focus on the view when clicking it
664 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
666 * shell/ev-marshal.list:
667 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
668 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
670 Add key bindings to the view. Now if the focus would work
673 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
676 * backend/Makefile.am:
679 * dvi/dvilib/Makefile.am:
680 * pdf/xpdf/Makefile.am:
686 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
688 * shell/ev-view.c: (ev_view_realize):
690 Fix mouse wheel scrolling
692 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
698 * ps/ps-document.c: (catchPipe), (ps_document_init),
699 (ps_document_class_init), (ps_document_cleanup),
700 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
701 (set_up_page), (close_pipe), (is_interpreter_ready),
702 (interpreter_failed), (output), (input), (start_interpreter),
703 (stop_interpreter), (file_length), (file_readable),
704 (check_filecompressed), (check_pdf), (compute_xdpi),
705 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
706 (ps_document_get_type), (ps_document_emit_error_msg),
707 (document_load), (ps_document_next_page),
708 (ps_document_get_current_page), (ps_document_get_page_count),
709 (ps_document_goto_page), (ps_document_set_page_size),
710 (ps_document_zoom_to_fit), (ps_document_set_zoom),
711 (ps_document_load), (ps_document_get_n_pages),
712 (ps_document_set_page), (ps_document_get_page),
713 (ps_document_widget_event), (ps_document_set_target),
714 (ps_document_set_scale), (ps_document_set_page_offset),
715 (ps_document_get_page_size), (ps_document_render),
716 (ps_document_document_iface_init):
719 * shell/ev-window.c: (ev_window_open):
721 Rename GtkGS to PSDocument
723 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
725 * ps/gtkgs.c: (gtk_gs_class_init):
728 Some more leftover...
730 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
732 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
733 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
734 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
737 Remove unused code and make a lot of stuff private
739 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
741 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
742 (gtk_gs_defaults_changed):
748 Cleanup headers dependencies
750 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
755 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
757 * ps/gtkgs.c: (file_length), (file_readable),
758 (check_filecompressed), (check_pdf), (gtk_gs_load),
759 (gtk_gs_get_postscript):
763 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
768 * ps/gtkgs.c: (gtk_gs_set_zoom):
772 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
774 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
776 Ensure the page is rerendered when changing zoom
778 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
780 * backend/ev-document.c: (ev_document_base_init),
781 (ev_document_changed):
782 * backend/ev-document.h:
784 Add a changed event that is emitted when the page content
785 changes. This is necessary to deal with the fact that
786 in ps backend rendering happen asycrounously.
787 This makes the ps backend mostly work.
789 * pdf/xpdf/pdf-document.cc:
793 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
794 (ps_document_set_target):
798 * shell/ev-view.c: (document_changed_callback),
799 (ev_view_set_document), (ev_view_set_page):
801 Redraw on the changed signal
803 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
805 * configure.ac: Added pt_BR to ALL_LINGUAS.
807 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
809 * backend/ev-document-bookmarks.c:
810 (ev_document_bookmarks_get_child): *
811 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
812 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
813 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
814 (ev_sidebar_bookmarks_destroy),
815 (ev_sidebar_bookmarks_class_init),
816 (ev_sidebar_bookmarks_construct), (stack_data_free),
817 (do_one_iteration), (populate_bookmarks_idle),
818 (ev_sidebar_bookmarks_clear_document),
819 (ev_sidebar_bookmarks_set_document): *
820 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
821 (ev_sidebar_add_page),
822 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
823 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
824 it displays both the topics and the page numbers.
826 2004-12-23 Kristian Høgsberg <krh@redhat.com>
828 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
830 * shell/ev-window.c (toggle_entries): Set sidebar default value to
833 2004-12-23 Adam Weinberger <adamw@gnome.org>
835 * configure.ac: Added en_CA to ALL_LINGUAS.
837 2004-12-23 Martin Kretzschmar <martink@gnome.org>
839 * ChangeLog: replace bottom of this ChangeLog (merged history of
840 ggv and gpdf; where all paths were wrong and most of the files are
841 not even in this tree) with ChangeLog (from arch) of the shell
844 2004-12-23 Havoc Pennington <hp@redhat.com>
846 * shell/ev-window.c: hook up potentially-questionable "find
847 results status text" feature - something involving the sidebar or
848 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
849 might be better in the end.
851 * shell/ev-view.c (ev_view_get_find_status_message): new function,
852 with corresponding signal when it should be updated
854 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
856 2004-12-22 Havoc Pennington <hp@redhat.com>
858 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
859 find stuff on other pages, sort of (only returns one result on
860 invisible pages, to show they have results; updates full results
861 for a page when you view it). Currently repaints the current page
862 every time a new result is found on any page, which isn't so nice.
864 2004-12-22 Havoc Pennington <hp@redhat.com>
866 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
867 the document doesn't support find (better ideas?)
868 (find_bar_search_changed_cb): handle missing document or document
869 that doesn't support find
871 * pdf/xpdf/pdf-document.cc: port to implement the new
874 * backend/ev-document-find.c: create a new interface for searching
876 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
878 2004-12-23 Martin Kretzschmar <martink@gnome.org>
880 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
883 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
884 EvPrintJob constructor arguments.
886 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
887 for documents that can export PostScript (page by page).
889 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
891 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
892 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
893 (pdf_document_ps_exporter_iface_init:
894 Implement EvPSExporter.
896 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
898 2004-12-22 Anders Carlsson <andersca@gnome.org>
900 * backend/Makefile.am:
901 * backend/ev-document-thumbnails.c:
902 (ev_document_thumbnails_get_type),
903 (ev_document_thumbnails_get_thumbnail):
904 * backend/ev-document-thumbnails.h:
905 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
906 (pixbuf_document_thumbnails_get_thumbnail),
907 (pixbuf_document_document_thumbnails_iface_init):
909 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
910 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
911 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
912 * shell/ev-sidebar-thumbnails.h:
913 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
914 (ev_sidebar_set_document):
915 * shell/ev-utils.c: (gaussian), (create_blur_filter),
916 (create_shadow), (ev_pixbuf_add_shadow):
918 Add thumbnail support.
920 2004-12-22 Martin Kretzschmar <martink@gnome.org>
922 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
923 (using_postscript_printer): Set up a print dialog for "PostScript
926 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
929 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
931 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
933 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
934 (ps_document_set_target), (ps_document_get_page_size),
935 (ps_document_render):
940 2004-12-22 Christian Rose <menthos@menthos.com>
942 * configure.ac: Added "sv" to ALL_LINGUAS.
944 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
946 * backend/ev-document-bookmarks.[ch]: new interface to indicate
947 document supports bookmarks.
949 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
951 * ps/ggvutils.c: (ggv_file_readable):
953 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
954 (gtk_gs_get_postscript):
958 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
960 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
961 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
962 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
963 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
964 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
965 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
966 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
967 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
968 (gtk_gs_set_antialiasing), (ps_document_load),
969 (ps_document_render):
972 Another check point for the ps backend. Now I can get it to show
975 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
977 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
978 document setting code.
980 2004-12-22 Anders Carlsson <andersca@gnome.org>
982 * shell/eggfindbar.c: (entry_activate_callback):
983 Animate the next button when activate is pressed.
985 2004-12-22 Anders Carlsson <andersca@gnome.org>
987 * shell/ev-window.c: (ev_window_cmd_edit_find),
988 (update_fullscreen_popup), (ev_window_fullscreen),
989 (ev_window_unfullscreen), (ev_window_state_event_cb),
990 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
991 Fix bugs in fullscreen code.
993 2004-12-22 Anders Carlsson <andersca@gnome.org>
997 * pixbuf/Makefile.am:
998 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
999 (pixbuf_document_load), (pixbuf_document_get_n_pages),
1000 (pixbuf_document_set_page), (pixbuf_document_get_page),
1001 (pixbuf_document_set_target), (pixbuf_document_set_scale),
1002 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1003 (pixbuf_document_render), (pixbuf_document_begin_find),
1004 (pixbuf_document_end_find), (pixbuf_document_finalize),
1005 (pixbuf_document_class_init),
1006 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1007 * pixbuf/pixbuf-document.h:
1008 * shell/Makefile.am:
1009 * shell/ev-application.c: (ev_application_open):
1010 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1014 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
1017 * dvi/dvilib/Makefile.am:
1019 * configure.ac: Auto*ify dvi and dvi/dvilib
1021 * dvi/Makefile: Remove from CVS
1023 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1026 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1028 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1030 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1033 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1034 (gtk_gs_value_adjustment_changed), (compute_size),
1035 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1036 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1037 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1038 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1039 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1040 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1041 (ps_document_load), (ps_document_get_n_pages),
1042 (ps_document_set_page), (ps_document_get_page),
1043 (ps_document_set_target), (ps_document_set_scale),
1044 (ps_document_set_page_offset), (ps_document_get_page_size),
1045 (ps_document_render), (ps_document_begin_find),
1046 (ps_document_end_find), (ps_document_document_iface_init):
1048 * shell/Makefile.am:
1049 * shell/ev-window.c: (ev_window_open):
1051 Some work to integrate gtkgs with EvDocument
1053 2004-12-22 Anders Carlsson <andersca@gnome.org>
1055 * shell/ev-window.c: (update_fullscreen_popup),
1056 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1057 (exit_fullscreen_button_clicked_cb),
1058 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1059 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1060 (ev_window_state_event_cb), (ev_window_init):
1061 Add fullscreen support from Epiphany.
1063 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1065 * data/ev-stock-zoom-fit-width.png: fit-width
1066 stock icon from gpdf.
1068 * shell/ev-stock-icons.[ch]: copied from gpdf.
1070 * shell/main.c: (main): init stock icons.
1072 * shell/ev-window.c: use the fit-width icon.
1074 * data/evince-ui.xml: add zooming toolbar items.
1076 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1079 (ev_view_best_fit), (ev_view_fit_width): because
1080 get_page_size() returns the scaled page size, we
1081 need to calculate the scale factor relative to
1082 the previous scale factor. Should really just
1083 add get_real_page_size().
1085 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1087 * shell/ev-view.[ch]:
1088 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1089 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1092 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1093 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1094 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1097 * pdf/xpdf/pdf-document.cc:
1098 (pdf_document_begin_find),
1099 (pdf_document_end_find): make static.
1101 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1103 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1105 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1106 names to fontconfig patterns.
1107 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1109 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1112 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1128 Import ggv backend. Not hooked up yet.
1130 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1132 * shell/main.c: (load_files), (main): load files
1133 from the command line.
1135 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1137 * configure.ac: don't require bonobo.
1139 * cut-n-paste/recent-files/*: kill bonobo recent
1142 * shell/ev-window.c:
1143 (ev_window_is_empty): upd.
1144 (unable_to_load), (ev_window_open): load backend
1145 based on the mime type.
1147 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1149 * backend/.cvsignore: ignore generated marshalers source.
1151 * shell/main.c (main): this is not epiphany.
1153 2004-12-22 Havoc Pennington <hp@redhat.com>
1155 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1156 (expose_bin_window): draw find highlights
1158 * shell/ev-window.c (find_bar_search_changed_cb): implement
1160 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1161 (pdf_document_end_find): implement this interface
1163 * backend/ev-document.c (ev_document_found): add this to emit
1166 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1168 * data/evince-ui.xml: Add a few more toolbar items.
1170 * shell/ev-window.c: Hook up page navigation toolbar
1173 * shell/ev-view.[ch]: add ev_view_set/get_page and
1174 a page-changed signal.
1176 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1177 Add ev_document_get_page().
1179 * shell/ev-window.c: Sensitize/desensitize navigation
1182 2004-12-21 Havoc Pennington <hp@redhat.com>
1184 * backend/ev-backend-marshal.c,
1185 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1186 marshaler-generator thingy. I'm sure there's a better way to do
1187 this in the modern world.
1189 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1190 end_find methods and "found" signal.
1192 * configure.ac: find glib-genmarshal
1194 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1196 * shell/ev-sidebar.c: Construct an actual sidebar.
1197 * shell/ev-sidebar-bookmarks.[ch]:
1198 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1200 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1202 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1205 * shell/ev-view.c: Track the size from the document.
1207 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1209 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1210 constructor assumes ownership of the string passed in.
1212 * shell/ev-window.c (ev_window_open): Destroy the error
1213 dialog once we've displayed it.
1215 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1217 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1218 a bit, it works! (sort of)
1220 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1221 Move to .cc since we need to use C++ in the implementation.
1223 * shell/dummy.cc: Add a CC file to force evince
1224 to be linked as a C++ program.
1226 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1228 * shell/ev-view.[ch]: Start of content-area widget.
1230 * shell/ev-window.c: Create a EvView, update it
1231 as we change documents.
1233 * shell/Makefile.am shell/ev-marshal.list: Add
1234 generated marshalers.
1236 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1238 * Makefile.am (SUBDIRS): move shell.
1240 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1242 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1243 .a to libtool convenience libraries.
1245 * shell/ev-window.c (ev_window_open): Hard code loading
1248 * backend/ev-document.h: Add a boolean return to load(),
1249 fix GError * to GError **.
1251 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1252 object for a PDF backend EvDocument.
1254 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1256 * dvi/*: New directory with the beginning of a .dvi backend.
1258 2004-12-21 Havoc Pennington <hp@redhat.com>
1260 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1261 previous/next instead of back/forward
1263 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1265 * backend/ev-document.[ch]: Fix a couple of problems so
1268 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1270 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1271 to backend/ directory, rename EvViewer to EvDocument.
1273 2004-12-21 Havoc Pennington <hp@redhat.com>
1275 * shell/ev-window.c: hook up the find bar widget; now we just need
1276 a document to find things in
1278 * shell/eggfindbar.c: a find bar widget
1280 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1282 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1284 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1286 * pdf/**: Import of xpdf code from gpdf.
1288 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1290 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1291 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1292 Fix FreeType includes.
1294 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1295 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1296 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1297 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1298 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1299 Include xpdfconfig.h
1301 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1303 * shell/ev-window.c (ev_window_dispose): dispose can be called
1306 2004-12-21 Havoc Pennington <hp@redhat.com>
1308 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1311 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1312 items; really they should be synced with the strings, etc. from
1313 current gpdf, but just getting the boring typing out of the way
1315 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1318 * shell/ev-application.c: (window_destroy_cb):
1319 * shell/ev-window.c:
1320 * shell/main.c: (main):
1322 Actually show the window...
1324 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1327 * shell/Makefile.am:
1328 * shell/ev-application.c: (ev_application_class_init):
1329 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1333 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1335 Import to gnome cvs.
1337 * Remove copies of gpdf and ggv trees.
1338 * Rip out all the recursive configure code.
1339 * Remove bonobo machinery.
1340 * viewer/*: GInterfaces that backends should/can implement.
1342 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1344 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1347 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1349 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1350 (ev_application_finalize, ev_application_class_init)
1351 (ev_application_init): use GType instance private data for priv.
1353 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1354 (ev_window_finalize, ev_window_class_init)
1355 (ev_window_init): ditto.
1357 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1359 * shell/ev-application.c (ev_application_new_window): make public
1360 (ev_application_show_initial_window): kill.
1362 * shell/ev-application.h: update prototypes.
1364 * shell/main.cc (main): inline ev_application_show_initial_window.
1366 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1368 * shell/ev-application.c (ev_application_new_window): impl.
1369 (ev_application_show_initial_window): use it.
1370 (is_window_empty, ev_application_get_empty_window): returns an
1371 existing empty window or a new one.
1372 (ev_application_open): from ev_window_cmd_file_open.
1374 * shell/ev-application.h: update prototypes
1376 * shell/ev-window.c (ev_window_is_empty): impl.
1377 (ev_window_open): make public.
1378 (ev_window_cmd_file_open): use ev_application_open
1380 * shell/ev-window.h: update prototypes, remove unused.
1382 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1384 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1385 move destroy handler out of here...
1387 * shell/ev-application.c, shell/ev-application.h: ...into this new
1388 class. Also handles initial window creation.
1390 * shell/main.cc (main): use EvApplication to create initial
1393 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1395 * Makefile.am (SUBDIRS): add cut-n-paste
1397 * cut-n-paste/Makefile.am: add
1399 * configure.ac: generate Makefiles in cut-n-paste
1401 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1403 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1404 (ev_window_class_init): install ev_window_dispose.
1406 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1408 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1409 char (gchar looks stupid).
1411 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1413 * po/de.po: updated German translation.
1415 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1417 * configure.ac: add more pkg-config library checks for gnome-vfs,
1420 * gpdf/configure.in: temporarily disable libpaper
1421 checks. Otherwise I'd have to add the checks for the shell, too.
1423 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1425 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1426 and * file filters to the file choose.
1428 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1430 * po/de.po: Updated German translation.
1432 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1434 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1436 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1438 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1440 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1441 (ev_window_init): implement those menuitems.
1443 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1445 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1447 * shell/ev-window.c (ev_window_init): use the toolbar.
1449 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1451 * shell/ev-window.c (ev_window_init): use menu translations
1453 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1455 * configure.ac: add "de" to ALL_LINGUAS.
1457 * po/de.po: add German translation.
1459 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1461 * Makefile.am (SUBDIRS): add po
1463 * configure.ac: check intltool, glib-gettext etc, generate
1466 * po, po/POTFILES.in, po/POTFILES.skip: new.
1468 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1470 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1471 already use (#ifdef ENABLE_NLS)
1473 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1474 pointer indirection thinko.
1476 * shell/main.c: include gi18n.h for bindtextdomain etc.
1478 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1480 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1481 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1482 tooltips for menu items in the statusbar.
1484 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1486 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1487 pkgdatadir drop UIDIR
1489 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1491 * data/evince-ui.xml: Add File->Open menu item
1493 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1494 chooser), hook it up in the ui manager.
1496 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1498 * shell/ev-window.c: fix Help->About tooltip.
1500 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1502 * configure.ac: set CFLAGS for libevprivate.
1504 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1505 definitions, factory etc.
1507 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1509 * shell/Makefile.am: link against libevprivate.a.
1511 * shell/ev-window.c (entries): add stock icon to Help->About.
1513 * shell/main.c (main): init stock icon code.
1515 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1517 * lib/recent-files: egg recent files code
1519 * lib/Makefile.am: add.
1521 * Makefile.am: add lib subdir.
1523 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1524 set CFLAGS for recent-files.
1526 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1528 * configure.ac: disable -ansi and -pedantic gcc flags. They
1529 disable POSIX stuff in stdio.h, but egg-recent uses them.
1531 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1533 * configure.ac: add --disable-deprecated flag (defaults to on in
1536 * shell/Makefile.am (INCLUDES): use it.
1538 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1540 * shell/main.c: add missing #include.
1542 * shell/ev-window.c: fix for pedantic gcc.
1543 (ev_window_cmd_help_about): split license into paragraphs for
1544 translators and pedantic compilers.
1546 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1548 * configure.ac: add more warning flags if compiling with gcc from
1549 cvs (or explicitly requested with --enable-more-warnings).
1551 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1553 * data/evince-ui.xml: add File and File->Close menu.
1555 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1556 (ev_window_destroy): quit after destroy.
1557 (ev_window_class_init): override GtkObject::destroy.
1558 (entries): install close_window callback.
1560 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1562 * Makefile.am (SUBDIRS): add data subdir.
1564 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1565 gtk+ 2.5.0 for GtkAboutDialog.
1567 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1570 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1572 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1574 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1576 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1578 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1580 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1582 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1584 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1586 * shell/*: Added shell directory boilerplate, build it.
1588 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1590 * configure.ac, Makefile.am: Added top-level configure.ac and