1 2005-05-07 Juerg Billeter <j@bitron.ch>
3 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
5 Compare page labels even without has_labels set, fixes setting page
8 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
10 * shell/ev-view.c: (ev_view_create_invisible_cursor),
11 (ev_view_set_cursor), (ev_view_button_press_event),
12 (ev_view_motion_notify_event), (ev_view_button_release_event),
15 Implement middle button scrolling. Based on a patch
16 by Tommi Komulainen <tommi.komulainen@iki.fi>.
18 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
20 * shell/ev-document-types.c: (get_slow_mime_type),
21 (get_document_type_from_mime), (ev_document_type_lookup):
22 * shell/ev-document-types.h:
24 Change api to lookup from uri. Do fast lookup first, if the
25 type is unknown try with data sniffing.
27 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
28 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
32 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
34 * thumbnailer/Makefile.am:
38 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
47 Hide presentation mode for now
49 * shell/ev-view.c: (highlight_find_results):
51 Show current find selection only on current page
53 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
55 * shell/ev-view.c: (ev_view_select_all):
57 Compute size of the actual page, not of
60 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
62 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
63 (view_rect_to_doc_rect), (compute_selections),
64 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
65 (ev_view_copy), (ev_view_primary_get_cb),
66 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
67 (ev_view_button_press_event), (ev_view_motion_notify_event),
68 (ev_view_button_release_event), (page_changed_cb):
72 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
74 * shell/ev-view.c: (compute_border), (get_page_extents),
75 (doc_rect_to_view_rect), (highlight_find_results),
76 (ev_view_bin_expose), (ev_view_select_all),
77 (ev_view_motion_notify_event), (update_find_status_message),
78 (jump_to_find_result), (jump_to_find_page):
80 First go at fixing search, still buggy
82 2005-05-04 Kristian Høgsberg <krh@redhat.com>
84 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
85 dropdown box and button at the top of the sidebar.
87 2005-05-02 James Bowes <bowes@cs.dal.ca>
89 * configure.ac: Output zoom-control Makefile.
90 * cut-n-paste/Makefile.am: build zoom-control subdir.
91 * cut-n-paste/zoom-control/ephy-zoom-action.c:
92 * cut-n-paste/zoom-control/ephy-zoom-action.h:
93 * cut-n-paste/zoom-control/ephy-zoom-control.c:
94 * cut-n-paste/zoom-control/ephy-zoom-control.h:
95 * cut-n-paste/zoom-control/ephy-zoom.c:
96 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
97 from epiphany, and modified to add a separator into the menu.
98 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
99 * data/evince-ui.xml: Replace old zoom toolbar actions with new
101 * shell/Makefile.am: Include zoom-control flags.
102 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
103 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
104 (ev_view_zoom_for_size_presentation),
105 (ev_view_zoom_for_size_continuous_and_dual_page),
106 (ev_view_zoom_for_size_continuous),
107 (ev_view_zoom_for_size_dual_page),
108 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
109 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
110 ev_view_get_zoom and ev_view_get_sizing_mode.
112 * shell/ev-window.c: (update_action_sensitivity),
113 (update_sizing_buttons), (zoom_control_changed_cb),
114 (register_custom_actions): Initialize and use the zoom-control
117 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
119 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
120 preview cache back to 1. Don't know when it got set to 0.
122 * shell/ev-view.c: (compute_border), (ev_view_realize),
123 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
124 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
125 (ev_view_get_fullscreen), (ev_view_set_presentation),
126 (ev_view_get_presentation), (ev_view_set_sizing_mode),
127 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
130 (update_chrome_visibility),
131 (ev_window_cmd_continuous), (ev_window_cmd_dual),
132 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
133 (update_document_mode), (ev_window_update_fullscreen_action),
134 (ev_window_fullscreen), (ev_window_unfullscreen),
135 (ev_window_cmd_view_fullscreen),
136 (ev_window_update_presentation_action),
137 (ev_window_run_presentation), (ev_window_stop_presentation),
138 (ev_window_cmd_view_presentation), (ev_window_state_event),
139 (ev_window_focus_in_event), (ev_window_focus_out_event),
140 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
141 * data/evince-ui.xml: Initial presentation mode. We should
142 probably hide this until it's done, as it's quite rough. Also,
143 change full-screen to fullscreen and add two getters to EvView.
145 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
147 * shell/ev-page-action.c: (update_page_cache),
148 (ev_page_action_dispose):
149 * shell/ev-window.c: (destroy_fullscreen_popup),
150 (ev_window_create_fullscreen_popup):
152 Use connect_object rather than explicitly
153 disconnect on dispose.
155 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
157 * shell/ev-page-action.c: (update_page_cache),
158 (ev_page_action_dispose):
160 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
162 * backend/ev-page-cache.c: (_ev_page_cache_new),
163 (ev_page_cache_set_page_label),
164 (ev_page_cache_has_nonnumeric_page_labels):
165 * backend/ev-page-cache.h:
166 * shell/ev-page-action.c: (update_pages_label):
168 If all page labels are numeric, fallback to default
169 way to display number of pages. See bug 173185.
171 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
173 * shell/ev-page-action.c: (ev_page_action_dispose):
174 * shell/ev-view.c: (view_update_range_and_current_page):
175 * shell/ev-window.c: (ev_window_dispose):
177 Set page on scroll in continuous mode. Fixes bug 301986.
178 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
180 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
184 Require poppler 0.3.0
186 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
188 * shell/Makefile.am, configure.ac: Fix build problems
189 with t1lib. Bug 301996.
191 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
193 * shell/ev-view.c: (ev_view_scroll_event):
195 Scroll up increase zoom
197 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
199 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
200 (ev_view_set_sizing_mode),
201 (ev_view_zoom_for_size_continuous_and_dual_page),
202 (ev_view_zoom_for_size_continuous):
203 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
204 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
205 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
208 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
209 Fix for 165473 and 165472.
211 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
214 * thumbnailer/Makefile.am:
215 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
216 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
217 * thumbnailer/evince-thumbnailer.schemas.in:
219 Make thumbnailer schemas translatable. Fix for bug 301773
221 * thumbnailer/evince-thumbnailer-djvu.schemas:
222 * thumbnailer/evince-thumbnailer-dvi.schemas:
223 * thumbnailer/evince-thumbnailer.schemas:
227 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
229 * shell/ev-view.c (ev_view_init): forgot to set this.
231 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
233 * shell/ev-view.c: (find_page_at_location),
234 (get_link_at_location),
235 (ev_view_set_show_border), (ev_view_set_spacing),
236 (ev_view_zoom_for_size_continuous_and_dual_page),
237 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
238 Also, add a quick fix measuring of widths. Also, removed
239 ev_view_set_spacing and ev_view_set_show_border.
241 * shell/ev-window.c: (ev_window_unfullscreen),
242 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
244 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
246 * shell/ev-view.c: (view_update_range_and_current_page),
249 Fix crash on exit and scrolling to page in continuous view.
251 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
254 * backend/ev-page-cache.c: (_ev_page_cache_new),
255 (ev_page_cache_get_max_width_size),
256 (ev_page_cache_get_max_height_size):
257 * backend/ev-page-cache.h:
258 * data/evince-ui.xml:
259 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
260 * shell/ev-view.c: (view_update_adjustments),
261 (view_update_range_and_current_page), (get_bounding_box_size),
262 (ev_view_size_request_continuous_and_dual_page),
263 (ev_view_size_request_continuous),
264 (ev_view_size_request_dual_page),
265 (ev_view_size_request_single_page), (ev_view_size_request),
266 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
267 (ev_view_bin_expose), (ev_view_expose_event),
268 (ev_view_set_property), (ev_view_get_property),
269 (ev_view_class_init), (ev_view_init), (ev_view_new),
270 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
271 (ev_view_set_dual_page), (ev_view_set_full_screen),
272 (ev_view_set_presentation), (ev_view_set_sizing_mode),
273 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
274 (ev_view_zoom_out), (zoom_for_size_fit_width),
275 (zoom_for_size_best_fit),
276 (ev_view_zoom_for_size_continuous_and_dual_page),
277 (ev_view_zoom_for_size_continuous),
278 (ev_view_zoom_for_size_dual_page),
279 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
280 (ev_view_show_cursor), (ev_sizing_mode_get_type):
282 * shell/ev-window.c: (update_action_sensitivity),
283 (ev_window_cmd_continuous), (ev_window_cmd_dual),
284 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
285 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
286 (ev_window_cmd_view_zoom_out), (update_view_size),
287 (ev_window_set_sizing_mode), (ev_window_init):
289 Add Continuous and Dual page modes.
291 2005-04-23 James Bowes <bowes@cs.dal.ca>
293 * dvi/dvi-document.c: (dvi_document_load),
294 (dvi_document_thumbnails_get_thumbnail),
295 (dvi_document_init_params): Fix up some mixups between
296 width and height to correct thumbnail rendering.
298 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
300 * dvi/mdvi-lib/private.h:
301 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
303 Suppess output for kpathsea during font generation. Thanks to
306 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
313 * Makefile.am: fix distcheck.
315 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
317 * shell/ev-sidebar-links.c: (selection_changed_callback),
318 (update_page_callback), (row_activated_callback),
319 (job_finished_callback), (ev_sidebar_links_set_document):
321 Fix for bug #169901. Double click on links expands tree.
323 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
325 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
326 hard-coded style. Fix for bug 170111
328 2005-04-22 Kristian Høgsberg <krh@redhat.com>
330 * shell/ev-view.c (highlight_find_results): Remove unnecessary
333 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
335 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
337 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
340 * shell/ev-view.c: (highlight_find_results):
342 Fix find on single page documents
344 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
346 * data/evince.schemas.in: fix for bug 301390
348 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
350 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
351 (ev_view_zoom_out), (ev_view_zoom_normal):
353 * shell/ev-window.c: (update_action_sensitivity),
354 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
355 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
356 (ev_window_cmd_view_normal_size):
358 Fix normal size zoom. Make zoom in/zoom out unsensitive when
359 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
362 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
366 Depend on 2.57, 2.59 doesnt seem to be necessary
368 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
370 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
373 Put back total number of pages as (1 of 1234)
375 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
377 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
380 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
381 function. This helps debugging.
383 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
385 * djvu/djvu-document.c: (djvu_document_class_init),
386 (djvu_document_get_info), (djvu_document_document_iface_init):
387 * dvi/dvi-document.c: (dvi_document_class_init),
388 (dvi_document_get_info), (dvi_document_document_iface_init):
390 Dummy implementation of get_info method for dvi and djvu. Fix
391 crashes with those backends
393 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
395 * data/evince.desktop.in:
397 Add application/x-gzpostscript
399 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
401 * data/evince.schemas.in: Added real long descriptions,
404 * README: Added actual text, closes bug 171869
406 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
408 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
412 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
414 * backend/ev-document-info.h:
416 s/GDate */GDate so we can just use g_free
418 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
420 * shell/ev-window.c: (update_document_mode),
421 (ev_window_setup_document):
423 Show the window in fullscreen when specified by
426 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
428 * backend/ev-document.c: (ev_document_class_init),
429 (ev_document_get_info), (ev_document_render_pixbuf):
430 * backend/ev-document.h:
431 * backend/ev-page-cache.c: (_ev_page_cache_new):
433 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
434 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
435 * ps/ps-document.c: (ps_document_class_init), (document_load),
436 (ps_document_get_info), (ps_document_document_iface_init):
438 Remove get_title from the interface, we can just use document info
440 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
442 * backend/Makefile.am:
443 * backend/ev-document.c: (ev_document_render_get_info):
444 * backend/ev-document.h:
447 Initial support for document info. Based on jrb patch.
449 2005-04-19 Paolo Borelli <pborelli@katamail.com>
451 * shell/ev-window.c: (ev_window_state_event),
452 (ev_window_class_init), (ev_window_init):
454 Doesn't show resize grip when maximized. See bug #301053
456 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
460 ev-sidebar-thumbnails now has translatable labels
463 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
464 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
465 (ev_sidebar_links_page_iface_init):
466 * shell/ev-sidebar-links.h:
467 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
468 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
469 (ev_sidebar_page_get_label):
470 * shell/ev-sidebar-page.h:
471 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
472 (ev_sidebar_thumbnails_set_document),
473 (ev_sidebar_thumbnails_support_document),
474 (ev_sidebar_thumbnails_get_label),
475 (ev_sidebar_thumbnails_page_iface_init):
476 * shell/ev-sidebar-thumbnails.h:
477 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
478 (ev_sidebar_set_document):
479 * shell/ev-sidebar.h:
480 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
482 Small rework of sidebar code. Now sidebar pages should implement
483 EvSidebarPage interface. That makes page management in EvSidebar
484 easier. See bug #164811 for details
486 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
488 * shell/ev-application.c: (ev_application_open):
489 * shell/ev-document-types.c:
491 Fix build error and small problem with application exit
493 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
495 * thumbnailer/Makefile.am:
496 * thumbnailer/evince-thumbnailer-djvu.schemas:
497 * thumbnailer/evince-thumbnailer-dvi.schemas:
499 Conditionally install schemas for djvu/dvi thumbnailer
501 2005-04-18 David Malcolm <dmalcolm@redhat.com>
503 * shell/ev-document-types.h:
504 * shell/ev-document-types.c:
505 New files, handling the mapping from mimetypes to backends
508 * thumbnailer/evince-thumbnailer.c:
509 Use the ev-document-types code
512 Added new convenience library libevbackendfactory_la, containing
513 the new mimetype->backend logic; moved the backends into it.
515 * thumbnailer/Makefile.am:
516 Make the thumbnailer link with the libevbackend.la convenience
517 library, rather than having a duplicate of the backend logic here.
519 2005-04-18 Paolo Borelli <pborelli@katamail.com>
521 * shell/ev-stock-icons.c: constify some vars.
522 * shell/ev-window.c: ditto.
524 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
526 * ps/ps-document.c (get_page_orientation):
528 Respect document orientation
530 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
536 Move library dependencies to components.
538 * shell/ev-window.c: (update_window_title),
539 (start_loading_document):
541 Fix display of uris with spaces. Bug 168358.
543 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
545 * shell/ev-sidebar-links.c: (selection_changed_cb):
546 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
547 (ev_view_button_release_event), (ev_view_set_document):
549 * shell/ev-window.c: (find_bar_search_changed_cb):
550 * shell/ev-window.h: Minor cleanups removing some dead code.
552 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
554 * backend/ev-page-cache.c: (_ev_page_cache_new):
556 Set current page to 0 if document has pages.
558 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
560 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
562 Initialize GError to NULL, fix a crash when loading fails.
564 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
566 * shell/ev-window.c: (update_view_size):
568 Calculate shadow size only when there is actually
571 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
573 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
576 Allow setting view spacing, default to 0
578 * shell/ev-window.c: (ev_window_unfullscreen),
579 (ev_window_cmd_view_fullscreen), (ev_window_init):
581 Remove spacing in fullscreen mode
583 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
585 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
586 (ev_view_size_request), (expose_bin_window),
587 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
589 * shell/ev-window.c: (ev_window_unfullscreen),
590 (ev_window_cmd_view_fullscreen):
592 Do not draw the border in fulscreen
594 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
596 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
597 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
598 (find_page_at_location), (page_changed_cb):
600 Rework border calculation, so that I can more easily disable it.
601 Code somewhat cleaner too.
603 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
605 * backend/ev-page-cache.c: (ev_page_cache_init),
606 (_ev_page_cache_new):
608 Remove some assertions, documents can have 0 pages.
609 Make initial current page -1.
611 * shell/ev-page-action.c: (page_changed_cb):
613 Show "" if current page is -1
615 * shell/ev-window.c: (update_action_sensitivity),
616 (ev_window_setup_document):
618 When document has 0 pages do not set the view
619 and make nearly everything insensitive.
621 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
623 * shell/ev-page-view.c:
624 * shell/ev-page-view.h:
628 * shell/ev-sidebar-thumbnails.c:
629 (ev_sidebar_thumbnails_set_document):
630 * shell/ev-sidebar.c: (ev_sidebar_set_document),
631 (ev_sidebar_supports_document):
632 * shell/ev-sidebar.h:
633 * shell/ev-window.c: (ev_window_setup_document):
635 Doesn't show thumbnails if document has 1 page. Make
636 sidebar menu entries sensitive only if if they have
637 sense. Fix bug 164811.
639 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
641 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
642 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
643 (ev_view_zoom_out), (ev_view_set_size):
645 Rework sizing to deal with documents with not uniform page
648 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
650 * backend/ev-page-cache.c: (_ev_page_cache_new):
652 Fix several page size caching bugs
654 2005-04-15 Luca Ferretti <elle.uca@libero.it>
656 * shell/ev-window.c: (set_action_properties):
658 Make all toolbar items translatable
660 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
662 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
663 (save_page_list), (ps_document_save),
664 (ps_document_document_iface_init), (ps_document_ps_export_begin),
665 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
666 (ps_document_ps_exporter_iface_init):
669 Based on a patch by J�rg Billeter <j@bitron.ch>
671 Implement print and save a copy for the ps backend.
673 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
675 * backend/ev-document.h:
676 * djvu/djvu-document.c: (djvu_document_can_get_text),
677 (djvu_document_document_iface_init):
678 * dvi/dvi-document.c: (dvi_document_can_get_text),
679 (dvi_document_document_iface_init):
681 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
682 (pixbuf_document_document_iface_init):
683 * ps/ps-document.c: (ps_document_can_get_text),
684 (ps_document_document_iface_init):
685 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
686 * shell/ev-window.c: (update_action_sensitivity):
688 Fix the crash when trying to copy in backends that doesnt
689 support it. We can implement a better solution once we
690 do real text selection.
692 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
694 * data/evince-ui.xml:
695 * shell/ev-window.c: (ev_window_cmd_escape):
697 Work around the Escape conflict (find bar and unfullscreen)
699 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
701 * backend/ev-page-cache.c: (ev_page_cache_next_page):
703 Fix for #300233. Next page correctly handles document end.
705 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
706 (ev_sidebar_thumbnails_class_init),
707 (ev_sidebar_thumbnails_set_document),
708 (ev_sidebar_thumbnails_clear_job),
709 (ev_sidebar_thumbnails_clear_model):
711 Cleanup thumbnail jobs on document changes.
713 * shell/ev-view.c: (add_scroll_binding_keypad),
714 (add_scroll_binding_shifted), (ev_view_class_init):
716 Shift + Space scrolls up. Fix for #173184
718 * shell/ev-window.c: (ev_window_open_page),
719 (ev_window_cmd_view_reload):
721 Fix reload (Bug #300094)
723 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
726 * dvi/mdvi-lib/assoc.c:
727 * dvi/mdvi-lib/assoc.h: Removed garbage files
729 * dvi/mdvi-lib/bitmap.c:
730 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
731 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
732 * dvi/mdvi-lib/color.h: Antialias of rules
734 * dvi/mdvi-lib/common.h:
735 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
736 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
737 * dvi/mdvi-lib/files.c:
738 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
739 * dvi/mdvi-lib/mdvi.h:
740 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
741 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
742 * dvi/mdvi-lib/util.c: Fix compile warnings
744 * dvi/dvi-document.c:
745 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
746 (dvi_document_thumbnails_get_thumbnail),
747 (dvi_document_document_thumbnails_iface_init):
748 * dvi/mdvi-lib/Makefile.am:
749 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
750 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
752 Dvi backend now renders thumbnails
754 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
756 * shell/main.c: (main):
758 Save accelerators on exit. Fixes bug #172095.
760 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
762 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
763 update priority" comment.
765 * backend/ev-job-queue.c: Give a way to change priority.
767 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
769 * shell/ev-page-action.c: Fix logic.
771 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
773 * shell/ev-view.c: (ev_view_can_find_next):
774 * shell/ev-window.c: (ev_window_setup_document):
776 Check that the document supports find
778 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
780 * data/evince-ui.xml:
781 * shell/ev-view.c: (ev_view_can_find_next):
783 * shell/ev-window.c: (update_action_sensitivity),
784 (find_changed_cb), (ev_window_setup_document),
785 (ev_window_cmd_edit_find_next):
789 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
792 * shell/ev-print-job.c: (idle_print_handler):
794 Make printing work again
796 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
798 * shell/ev-page-action.h:
799 * shell/ev-page-action.c: (ev_page_action_widget_init),
800 (ev_page_action_widget_class_init), (page_changed_cb),
801 (create_tool_item), (update_page_cache), (build_new_tree_cb),
802 (get_filter_model_from_model), (match_selected_cb),
803 (display_completion_text), (match_completion), (update_model),
804 (connect_proxy), (ev_page_action_set_property),
805 (ev_page_action_get_property), (ev_page_action_set_document),
806 (ev_page_action_set_model), (ev_page_action_class_init): Big
807 reworking to make completions work iff we have >= GTK-2.7.0
809 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
810 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
811 (job_finished_cb): We now have a 'model' property that is set when
812 the links are loaded. This can be caught with "notify::model"
814 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
815 listen for the model to be set, and propagate it to the action.
817 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
819 * cut-n-paste/recent-files/egg-recent-item.c:
820 (egg_recent_item_set_uri), (make_valid_utf8),
821 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
822 * cut-n-paste/recent-files/egg-recent-item.h:
824 Update egg-recent from libegg. This should fix long
825 startup problem. For details see
826 http://bugzilla.gnome.org/show_bug.cgi?id=160531
828 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
830 * cut-n-paste/recent-files/Makefile.am:
831 * data/evince-ui.xml, shell/Makefile.am:
832 * shell/ev-application.c, shell/ev-application.h:
833 * shell/ev-window.c: Recent files support.
835 * configure.ac: Added "ru" to ALL_LINGUAS.
837 * dvju: new backend to support DJVU files.
838 * dvi: new backend to support DVI.
840 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
841 * ev-application.c: Support for new backends.
843 * help, ev-window.c, main.c shell/Makefile.am:
844 Evince user documentation.
846 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
850 * thumbnailer/evince-thumbnailer.c:
852 s/pdf-document/ev-poppler
854 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
861 * ps/ps-document.c: (setup_pixmap):
865 2005-04-05 Kristian Høgsberg <krh@redhat.com>
867 * backend/ev-page-cache.c (ev_page_cache_next_page):
868 * shell/ev-window.c (ev_window_cmd_go_next_page)
869 (ev_window_cmd_go_first_page): Fix of by one errors.
871 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
873 * ps/ps-document.c: (get_page_box):
875 Fix page size calculation
877 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
879 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
880 (ps_document_cleanup), (setup_pixmap), (get_page_box),
881 (get_page_orientation), (setup_page), (document_load),
882 (ps_document_get_page_size), (render_pixbuf_idle):
885 More refactoring to adapt to EvDocument changes
887 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
889 * ps/ps-document.c: (start_interpreter):
891 Actually add alpha args
893 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
897 Make clipboard work again
899 2005-04-04 Kristian Høgsberg <krh@redhat.com>
901 Make searching work again.
903 * backend/ev-document.c:
904 * backend/ev-document.h:
905 * backend/ev-document-find.c:
906 * backend/ev-document-find.h: Change EvDocumentIface so we no
907 longer store the current page or zoom level in the document. The
908 consequence is that all calls that operate on the current page now
909 instead take the page number as an extra argument, and all
910 coordinates are now doubles in document coordinate system.
913 * pixbuf/pixbuf-document.c:
914 * ps/ps-document.c: Update backends accordingly.
916 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
920 Add required gettext version
922 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
924 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
925 make F1 bring up non-existent help.
927 * shell/eggfindbar.c: Patch from Christian Persch to sync to
928 epiphany's find bar, #167477
930 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
931 <emil@nishra.com> to add space-bar scrolling,
933 * shell/ev-window.c (static GtkActionEntry entries): add default
934 keybinding for Help (F1)
937 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
938 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
941 2005-04-01 David Malcolm <dmalcolm@redhat.com>
944 * pixbuf/pixbuf-document.c:
946 Got pixbuf backend working again
948 2005-04-01 Steve Murphy <murf@e-tools.com>
950 * configure.in: Added "rw" to ALL_LINGUAS.
952 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
954 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
955 model types, noticed by Martin Kretzschmar.
957 2005-04-01 Kristian Høgsberg <krh@redhat.com>
959 * pdf/ev-poppler.cc: Implement search based on
960 poppler_page_find_text(). Currently a bit crude since we remember
961 all matches from all pages. Also, we grab the big document lock
962 when we search since searching changes the underlying stream and
963 thus conflicts with the rendering thread.
965 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
966 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
967 (ev_view_find_previous): Fix some page indexes to be 0 based,
968 offset rubber band by view offset,
970 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
972 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
974 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
976 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
977 completely because I didn't understand GtkActions. I should
978 read Marco's code more carefully in the future.
980 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
983 2005-03-31 Kristian Høgsberg <krh@redhat.com>
985 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
986 PopplerRectangle change from poppler CVS.
988 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
990 * backend/ev-document.c: (ev_document_get_page_label):
991 * backend/ev-document.h:
992 * backend/ev-page-cache.c: (_ev_page_cache_new),
993 (ev_page_cache_get_page_label):
994 * backend/ev-page-cache.h:
996 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
997 (links_page_num_func):
998 * shell/ev-sidebar-thumbnails.c:
999 (ev_sidebar_thumbnails_set_document):
1000 * shell/ev-view.c: (status_message_from_link),
1001 (ev_view_motion_notify_event):
1002 * shell/ev-window.c: (document_supports_sidebar): Add in page
1003 label support. It's not perfect yet, but it's the first 'feature'
1005 Also, fix a bogus comment noticed by crispin.
1007 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
1009 * Makefile.am: Remove pixbuf backend for now
1011 * configure.ac: Require poppler-glib instead of just poppler.
1013 * backend/ev-document-thumbnails.h: Add a comment
1015 * backend/ev-document.h:
1016 * backend/ev-document.c: (ev_document_class_init),
1017 (ev_document_load), (ev_document_get_link),
1018 (ev_document_get_links): Remove 3 methods and add get_links.
1021 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1022 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
1024 * backend/ev-link.c: (ev_link_set_title),
1025 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
1026 (ev_link_mapping_find):
1027 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
1029 * backend/ev-page-cache.c: (ev_page_cache_init),
1030 (_ev_page_cache_new), (ev_page_cache_set_current_page),
1031 (ev_page_cache_get_size), (ev_page_cache_next_page),
1032 (ev_page_cache_prev_page): Fix to be 0 based.
1036 * pdf/ev-poppler.cc: New backend.
1038 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
1039 (ps_document_get_page), (ps_document_document_iface_init):
1041 * shell/ev-pixbuf-cache.h:
1042 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
1043 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
1044 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
1045 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
1046 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
1047 Fix up code to grab a page cache per each doc. Also, fix to be 0
1050 * shell/ev-sidebar-thumbnails.c:
1051 (ev_sidebar_tree_selection_changed), (page_changed_cb),
1052 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
1054 * shell/ev-view.c: (status_message_from_link),
1055 (find_page_at_location), (get_link_at_location),
1056 (ev_view_motion_notify_event), (ev_view_button_release_event),
1057 (ev_view_init): Use the new link code. Fix to be 0 based.
1059 * shell/ev-window.c: (update_action_sensitivity),
1060 (document_supports_sidebar): 0 based.
1062 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
1064 * pdf/pdf-document.cc: Patch from Fernando Herrera
1065 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
1068 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
1070 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
1071 1 to the page, as this seems to be 1 based. I thought we has this
1074 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
1077 * backend/Makefile.am:
1078 * backend/ev-document-links.c:
1079 (ev_document_links_has_document_links),
1080 (ev_document_links_get_links_model):
1081 * backend/ev-document-links.h:
1082 * backend/ev-document.c: (ev_document_get_page_cache),
1083 (ev_document_get_doc_mutex), (ev_document_load),
1084 (ev_document_save), (ev_document_get_title),
1085 (ev_document_get_n_pages), (ev_document_set_page),
1086 (ev_document_get_page), (ev_document_set_target),
1087 (ev_document_set_scale), (ev_document_set_page_offset),
1088 (ev_document_get_page_size), (ev_document_get_text),
1089 (ev_document_get_link), (ev_document_render),
1090 (ev_document_render_pixbuf), (ev_document_scale_changed):
1091 * backend/ev-document.h:
1092 * backend/ev-job-queue.c: (remove_object_from_queue),
1093 (notify_finished), (handle_job), (search_for_jobs_unlocked),
1094 (no_jobs_available_unlocked), (ev_render_thread),
1095 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
1096 (ev_job_queue_remove_job):
1097 * backend/ev-job-queue.h:
1098 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1099 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1100 (ev_job_links_class_init), (ev_job_render_init),
1101 (ev_job_render_dispose), (ev_job_render_class_init),
1102 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1103 (ev_job_thumbnail_class_init), (ev_job_finished),
1104 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1105 (ev_job_render_run), (ev_job_thumbnail_new),
1106 (ev_job_thumbnail_run):
1107 * backend/ev-jobs.h:
1108 * backend/ev-link.c:
1109 * backend/ev-link.h:
1110 * backend/ev-page-cache.c: (ev_page_cache_init),
1111 (ev_page_cache_class_init), (ev_page_cache_finalize),
1112 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
1113 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1114 (ev_page_cache_set_link), (ev_page_cache_get_title),
1115 (ev_page_cache_get_size), (ev_page_cache_next_page),
1116 (ev_page_cache_prev_page):
1117 * backend/ev-page-cache.h:
1118 * pdf/pdf-document.cc:
1121 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
1122 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
1123 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
1124 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
1125 (is_interpreter_ready), (output), (catchPipe), (input),
1126 (start_interpreter), (check_filecompressed), (compute_dimensions),
1127 (ps_document_enable_interpreter), (document_load),
1128 (ps_document_next_page), (render_page), (ps_document_set_page),
1129 (ps_document_set_scale), (render_pixbuf_idle),
1130 (ps_document_render_pixbuf), (ps_document_document_iface_init):
1132 * shell/Makefile.am:
1133 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
1134 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
1135 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
1136 (ev_pixbuf_cache_new), (job_finished_cb),
1137 (check_job_size_and_unref), (move_one_job),
1138 (ev_pixbuf_cache_update_range), (find_job_cache),
1139 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
1140 (ev_pixbuf_cache_add_jobs_if_needed),
1141 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
1142 * shell/ev-pixbuf-cache.h:
1143 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1144 (idle_print_handler):
1145 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
1146 (selection_changed_cb), (create_loading_model),
1147 (ev_sidebar_links_construct), (links_page_num_func),
1148 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
1149 (update_page_callback), (job_finished_cb),
1150 (ev_sidebar_links_set_document):
1151 * shell/ev-sidebar-thumbnails.c:
1152 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
1153 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
1154 (page_changed_cb), (thumbnail_job_completed_callback),
1155 (ev_sidebar_thumbnails_set_document):
1156 * shell/ev-sidebar-thumbnails.h:
1157 * shell/ev-sidebar.c: (ev_sidebar_set_document):
1158 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
1159 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
1160 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
1161 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
1162 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
1163 (ev_view_button_release_event), (ev_view_scroll_view),
1164 (ev_view_class_init), (ev_view_init), (update_find_status_message),
1165 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
1166 (ev_view_new), (job_finished_cb), (page_changed_cb),
1167 (ev_view_set_document), (go_to_link), (ev_view_zoom),
1168 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
1169 (ev_view_find_previous):
1171 * shell/ev-window.c: (update_action_sensitivity),
1172 (ev_window_open_page), (update_window_title), (update_total_pages),
1173 (page_changed_cb), (ev_window_setup_document),
1174 (password_dialog_response), (ev_window_cmd_save_as),
1175 (ev_window_print), (ev_window_cmd_go_previous_page),
1176 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
1177 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
1178 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
1179 * shell/main.c: (main):
1181 Merge evince-threads branch
1183 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
1185 * configure.ac: Added "lt" to ALL_LINGUAS.
1187 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
1194 2005-03-13 Fernando Herrera <fherrera@onirica.com>
1196 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1198 Fix here also the thumbnails 1-basedness :)
1200 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
1207 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
1209 * pdf/pdf-document.cc:
1210 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
1211 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
1213 Fix the mess we did with thumbnails and 1-basedness
1215 2005-03-12 Changwoo Ryu <cwryu@debian.org>
1217 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
1219 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
1226 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
1229 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
1230 (gtk_gs_defaults_get_alpha_parameters),
1231 (gtk_gs_defaults_get_ungzip_cmd),
1232 (gtk_gs_defaults_get_unbzip2_cmd):
1234 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
1235 (ps_document_get_orientation), (document_load),
1236 (ps_document_goto_page), (ps_document_set_page_size):
1239 Some more sanitization of the ps backend. Remove a lot
1240 of unused code and do not base our defaults on ggv
1243 2005-03-08 Fernando Herrera <fherrera@onirica.com>
1245 * thumbnailer/evince-thumbnailer.schemas:
1246 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
1247 (main): add -s option for thumbnail size.
1249 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
1253 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
1256 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
1258 * pdf/pdf-document.cc:
1260 Remove 4 pixels of useless border from the
1263 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
1265 * backend/ev-document-thumbnails.c:
1266 (ev_document_thumbnails_get_thumbnail):
1267 * backend/ev-document-thumbnails.h:
1269 Rework API a bit. Add a border flag and
1270 change sizing logic (now the size we specify
1271 applies to the bigger dimension).
1273 * pdf/pdf-document.cc:
1274 * pixbuf/pixbuf-document.c:
1275 (pixbuf_document_thumbnails_get_thumbnail):
1276 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
1277 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1279 Adapt to the new API and do not draw a border for nautilus
1282 2005-03-03 Fernando Herrera <fherrera@onirica.com>
1284 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1285 take thumbnails from page "0" instead of "1". Added a copyright header.
1287 2005-03-03 Jens Granseuer <jensgr@gmx.net>
1289 * ps/ps-document.c: (set_up_page), (start_interpreter):
1291 Make it C89 compliant
1293 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
1298 * pdf/pdf-document.cc:
1299 * thumbnailer/Makefile.am:
1300 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
1302 * thumbnailer/evince-thumbnailer.schemas:
1303 * thumbnailer/pdf-icon.png:
1305 Add a nautilus thumbnailer.
1306 Based on patch by Fernando Herrera <fherrera@onirica.com>.
1308 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
1316 2005-03-01 Kristian Høgsberg <krh@redhat.com>
1318 Use poppler instead of including xpdf source code. Poppler is a
1319 fork of xpdf to build it as a shared library. See
1320 http://freedesktop.org/wiki/Software/poppler.
1322 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
1325 * pdf/Makefile.am: Build libpdfdocument.a here.
1327 * pdf/GDKSplashOutputDev.cc:
1328 * pdf/GDKSplashOutputDev.h:
1329 * pdf/GnomeVFSStream.cc:
1330 * pdf/GnomeVFSStream.h:
1333 * test-gdk-output-dev.cc
1335 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
1338 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1340 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
1342 Clear idle stack before unsetting the document
1344 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1346 * ps/ps-document.c: (ps_document_widget_event),
1347 (ps_document_set_target), (ps_document_finalize),
1348 (ps_document_get_page):
1350 Disconnect the widget event signal on finalize.
1353 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1355 * ps/ps-document.c: (set_up_page):
1357 If there is no bpixmap create one, even if size
1360 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1362 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
1363 (set_up_page), (document_load), (ps_document_set_zoom):
1365 Default page is 0. Calculate size even when we have no
1368 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
1370 * shell/ev-sidebar.c: expand the selection widget to be always as
1373 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1375 * shell/ev-sidebar-thumbnails.c:
1376 (ev_sidebar_thumbnails_set_document):
1378 Clear the list store when setting document
1380 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1382 * shell/ev-page-action.c: (update_entry), (sync_entry),
1383 (activate_cb), (entry_size_request_cb), (create_tool_item),
1386 Use an entry for the page control instead of spinbuttons
1388 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1390 * data/evince.schemas.in:
1392 Correct confusing string
1394 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
1396 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
1397 for real. Gosh, how long has this been broken.
1399 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
1400 check for a NULL link. We crash otherwise.
1402 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
1409 2005-02-25 Sebastien Bacher <seb128@debian.org>
1411 * configure.ac: add the french translation.
1413 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1415 * shell/ev-window.c:
1417 Remove unused header -> fix distcheck
1419 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1421 * shell/ev-window.c: (update_window_title),
1422 (ev_window_popup_password_dialog):
1424 Unescape filename for display
1426 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1428 * pdf/xpdf/pdf-document.cc:
1430 In get_page_size deal with rotation. Also
1431 cleanup the function a bit.
1433 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1435 * pdf/xpdf/pdf-document.cc:
1437 Fix crash when opening in new window
1439 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1443 Check ghostscript >= 7
1445 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
1447 * shell/ev-window.c:
1449 Make page width the default sizing mode
1451 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
1452 Marco Pesenti Gritti <marco@gnome.org>
1454 * shell/ev-window.c: Remember the sidebar size
1456 * data/evince.schemas.in: Add a new gconf key to store the size of
1459 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
1461 * data/evince-ui.xml:
1462 * shell/ev-window.c: (update_action_sensitivity),
1463 (ev_window_cmd_view_reload):
1465 Add a "Reload" action and menu entry
1467 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
1469 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
1470 iff the type doesn't support thumbnailing and indexing.
1472 2005-02-24 Martin Kretzschmar <martink@gnome.org>
1474 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
1476 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1478 * pdf/splash/Splash.cc:
1480 Port fix for a crasher from kde bug
1481 http://bugs.kde.org/show_bug.cgi?id=97131
1483 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1485 * pdf/xpdf/pdf-document.cc:
1487 Return a link even if it's of an unrecognized
1488 type. Otherwise we go in an infinte cycle.
1490 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1492 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
1493 (size_allocate_cb), (ev_window_set_sizing_mode):
1495 Update size when switching mode
1497 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1499 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
1500 (ev_window_cmd_view_page_width), (update_sizing_buttons),
1501 (ev_window_cmd_view_normal_size):
1503 Fix size toggle buttons behavior
1505 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1507 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
1508 (doc_rect_to_view_rect), (ev_view_size_allocate),
1509 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
1510 (scale_changed_callback):
1512 Do not cache offsets in size_allocate.
1514 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1516 * shell/ev-view.c: (ev_view_size_allocate):
1518 Calculate offsets before calling the parent
1519 class (which does a redraw)
1521 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1523 * pdf/xpdf/pdf-document.cc:
1525 Fix a crasher on exit. Unused code, put a TODO
1527 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1529 * backend/ev-document.c: (ev_document_class_init),
1530 (ev_document_page_changed), (ev_document_scale_changed):
1531 * backend/ev-document.h:
1533 Separate page/scale notifications
1535 * pdf/xpdf/pdf-document.cc:
1537 Emit the new signals.
1538 Do not display the pdf page in _render, do it
1539 when scale/page are requested.
1541 * ps/ps-document.c: (ps_document_set_zoom),
1542 (ps_document_widget_event):
1545 Emit the new signals.
1547 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
1548 (ev_view_init), (page_changed_callback), (scale_changed_callback),
1549 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
1550 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
1552 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
1553 (ev_window_cmd_view_page_width), (size_allocate_cb),
1554 (ev_window_set_sizing_mode):
1556 Rework sizing to be pixel based.
1557 There are bugs but should be already way better.
1559 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
1561 * shell/ev-window.c: (ev_window_init):
1563 Do not allow to shrink sidebar smaller then
1566 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
1568 * shell/ev-sidebar.[ch]
1569 * shell/ev-window.c:
1571 Improved sidebar widget. Fixes #166683
1573 2005-02-23 Tommi Vainikainen <thv@iki.fi>
1575 * shell/ev-view.c (update_find_status_message): Give translators
1576 more flexibility with ngettext plural handling.
1578 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
1580 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
1581 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
1582 page when we get the page size.
1584 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
1586 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
1588 ps pages are 0 based, convert
1590 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
1592 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
1594 Initialize correct parent class. Set GError on document load
1596 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
1598 * pdf/xpdf/pdf-document.cc:
1600 Fixup selection offset calculation
1602 * shell/ev-view.c: (view_rect_to_doc_rect),
1603 (doc_rect_to_view_rect), (ev_view_size_allocate),
1604 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
1605 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
1607 Store selection as document relative, so that zooming
1608 and offset changing doesnt break it.
1610 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
1612 * shell/ev-view.c: (ev_view_best_fit):
1614 Do not try to best fit if the view is not realized
1616 2005-02-20 Kostas Papadimas <pkst@gnome.org>
1618 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
1620 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
1622 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
1624 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
1626 * shell/ev-window.c: Change the fullscreen toolbar to always be in
1627 the popup window. That prevents it resizing when in full screen
1630 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
1631 multiple rerenders. This pretty much sucks.
1633 * data/evince-ui.xml: Change the fullscreen toolbar to include the
1634 rest of the toolbar.
1636 2005-02-18 Tommi Vainikainen <thv@iki.fi>
1638 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
1640 2005-02-17 Alexander Shopov <ash@contact.bg>
1642 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1644 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
1646 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
1648 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
1650 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
1651 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
1652 (set_document_page), (document_changed_callback),
1653 (ev_view_set_document), (ev_view_find_previous),
1654 (ev_view_hide_cursor), (ev_view_show_cursor):
1656 * shell/ev-window.c: (update_chrome_visibility),
1657 (fullscreen_timeout_cb), (fullscreen_set_timeout),
1658 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
1659 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
1660 (ev_window_unfullscreen):
1661 * shell/main.c: (main):
1663 Automatically hide the fullscreen button.
1664 Patch by Kristian Høgsberg <krh@redhat.com>
1666 2005-02-16 Vincent Noel <vnoel@cox.net>
1668 * shell/main.c (main): Specify an icon for the window. Patch by
1669 Jaap A. Haitsma. Fixes #166177.
1671 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
1673 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
1675 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
1677 * backend/ev-document-misc.h:
1678 * backend/ev-document-misc.c:
1679 (ev_document_misc_get_page_border_size),
1680 (ev_document_misc_paint_one_page): New function to canonicalize
1681 sizing/painting a border.
1683 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
1686 * pdf/xpdf/pdf-document.cc: use new function
1688 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
1689 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
1690 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
1691 shell/ev-window.c: (update_sizing_buttons),
1692 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
1693 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
1694 (ev_window_cmd_view_page_width), (size_allocate_cb),
1695 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
1696 and "fit width" values act as toggle buttons so they stay
1697 toggled. It's not 100% perfect, and it's a little slow, but it's
1698 good enough to commit I think.
1700 2005-02-15 David Lodge <dave@cirt.net>
1702 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
1704 2005-02-15 Martin Kretzschmar <martink@gnome.org>
1706 * shell/ev-window.c (update_window_title): replace newlines in
1707 the title by spaces. Bug #166107.
1709 2005-02-14 Martin Kretzschmar <martink@gnome.org>
1711 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
1712 parameters providing allocation width and height without
1713 scrollbars and width of a possible vertical scrollbar. With this
1714 additional information the functions can work as
1715 intended. Unfortunately they're not idempotent. We should
1716 transform these commands to toggles. Fixes Bug #164976
1717 Initial patch by Stephane Loeuillet, then heavily modified.
1719 * shell/ev-view.h: update prototypes.
1721 * shell/ev-window.c (ev_window_cmd_view_best_fit)
1722 (ev_window_cmd_view_page_width): provide EvView fit functions with
1723 all the information they need. Formulas to calculate this
1724 information taken from GtkScrolledWindow.
1726 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
1728 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
1729 created a thumbnail, the list store is updated to know
1730 that the thumbnail is set. Fixes bug #166792
1732 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
1734 * shell/ev-window.c: fixed typo, closes bug 166897
1736 * TODO: updated TODO with bug numbers that are relevant
1738 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
1740 * shell/ev-window.c: Support for DnD of files. Fixes #164813
1742 2005-02-09 Vincent Noel <vnoel@cox.net>
1744 * shell/ev-window.c: (set_action_properties): Set the "Previous"
1745 and "Next" toolbar buttons as important to make them stand out.
1747 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
1751 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
1752 (start_interpreter), (stop_interpreter), (document_load),
1753 (ps_document_next_page), (ps_document_goto_page),
1754 (ps_document_set_page_size), (ps_document_widget_event),
1755 (ps_document_render):
1756 * shell/ev-page-view.c: (ev_page_view_dispose):
1757 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
1759 Fix compilation on non-gcc platforms
1761 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
1768 * pdf/xpdf/Catalog.cc:
1771 Fix the fix for CAN-2004-0888
1773 2005-02-09 Luca Ferretti <elle.uca@libero.it>
1776 * data/evince-ui.xml:
1777 * shell/ev-stock-icons.c: (ev_stock_icons_init):
1778 * shell/ev-stock-icons.h:
1779 * shell/ev-window.c: (update_action_sensitivity),
1780 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
1781 (set_action_properties):
1783 Improve toolbar layout/icons
1785 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
1787 * pdf/xpdf/pdf-document.cc:
1789 Add warnings about unimplemented/unknown link
1792 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1794 * ps/ps-document.c: (set_up_page):
1798 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1800 * ps/ps-document.c: (start_interpreter):
1804 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1806 * shell/ev-page-view.c: (ev_page_view_dispose):
1807 * shell/ev-view.c: (ev_view_finalize):
1808 * shell/ev-window.c: (ev_window_setup_document),
1809 (ev_window_dispose), (ev_window_init):
1811 Solve more refs issues.
1813 I commented out the page_view initialization for now:
1814 it was never destroyed (because it's never added
1815 to a container). Because of that we was leaking
1816 gs processes. Couldnt think to a clean fix.
1817 We need to figure this out, password view has the
1818 same issue probably.
1820 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1822 * ps/ps-document.c: (ps_document_finalize),
1823 (ps_document_get_n_pages), (ps_document_get_page):
1825 Some cleanups, stop the interpreter on finalize
1827 * shell/ev-page-view.c: (ev_page_view_dispose),
1828 (ev_page_view_class_init):
1830 Release our reference on the document
1832 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1836 * doc/debugging.txt:
1839 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
1840 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
1841 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
1844 Add debugging helpers
1847 * ps/ps-document.c: (set_up_page), (start_interpreter),
1848 (stop_interpreter), (document_load), (ps_document_next_page),
1849 (ps_document_goto_page), (ps_document_set_page_size),
1850 (ps_document_widget_event), (ps_document_render):
1851 * shell/Makefile.am:
1852 * shell/ev-view.c: (expose_bin_window):
1853 * shell/main.c: (main):
1857 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1859 * ps/ps-document.c: (ps_document_widget_event):
1861 Initialize message_window, this should make ps
1862 rendering really work! (Never noticed because I was
1863 testing with a ps that is causing gs to exit every time!)
1865 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
1867 * data/evince.schemas.in: updated simple error in applyto closing tag
1869 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
1875 * data/evince-ui.xml:
1876 A data/evince.schemas.in:
1878 * shell/ev-stock-icons.c: (ev_stock_icons_init):
1879 * shell/ev-stock-icons.h:
1880 * shell/ev-window.c: (update_chrome_visibility),
1881 (update_chrome_flag), (ev_window_cmd_edit_find),
1882 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
1883 (ev_window_unfullscreen), (ev_window_focus_in_event),
1884 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
1885 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
1886 (ev_window_view_sidebar_cb), (find_bar_close_cb),
1887 (ev_window_dispose), (ev_window_class_init),
1888 (set_action_properties), (set_chrome_actions), (load_chrome),
1891 Implement fullscreen mode changes from bug #164776.
1892 Also implement persistent chrome toggles.
1894 2005-02-07 Jordi Mallach <jordi@sindominio.net>
1896 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
1898 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1904 Add another check for find interface
1908 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1910 * shell/ev-application.c: (ev_application_open):
1911 * shell/ev-window.c: (ev_window_open):
1913 Open gzipped ps documents
1915 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1918 * shell/ev-view.c: (set_document_page):
1920 Clamp page number, dont try to move to
1923 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1925 * backend/ev-document-find.c: (ev_document_find_changed):
1926 * backend/ev-document-find.h:
1927 * pdf/xpdf/pdf-document.cc:
1928 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
1929 * shell/ev-window.c: (find_bar_search_changed_cb):
1931 Fix several bugs with find
1933 2005-02-04 Martin Kretzschmar <martink@gnome.org>
1935 * shell/ev-sidebar-thumbnails.c
1936 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
1937 document. Prevents warning from scroll_to_cell.
1939 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
1941 * configure.ac: Add «nb» to ALL_LINGUAS too.
1943 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
1945 * NOTES: New file with some random thoughts.
1949 * backend/ev-document-misc.c:
1950 (ev_document_misc_get_page_border_size): New function to
1951 canonicalize shadow drawing sizes. Possibly goofy.
1953 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
1954 (ev_view_best_fit), (ev_view_fit_width):
1955 * pdf/xpdf/pdf-document.cc:
1956 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
1957 * ps/ps-document.c: (ps_document_get_page_size):
1958 * backend/ev-document-misc.h:
1959 * backend/ev-document.c: (ev_document_get_page_size):
1960 * backend/ev-document.h: get_page_size now takes a page number
1961 parameter. Made all the backends/frontends honor it.
1963 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
1964 see. Doesn't work yet.
1966 * shell/Makefile.am:
1967 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
1968 Doesn't do anything yet.
1970 * shell/ev-sidebar-thumbnails.c:
1971 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
1974 * shell/ev-window.c: (update_action_sensitivity),
1975 (ev_window_setup_document), (ev_window_set_page_mode),
1976 (ev_window_page_mode_cb), (ev_window_init): Clean up the
1977 view-swapping code a bit so we can have multiple views on a
1978 document. Add the multi-page view, though it can't be turned on
1981 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
1983 * shell/ev-application.c: (ev_application_open):
1984 * shell/ev-view.c: (expose_bin_window):
1985 * shell/ev-window.c: (ev_window_open):
1987 Support eps and check document supports find
1988 before drawing highlightings in expose.
1990 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
1992 * pixbuf/pixbuf-document.c:
1993 (pixbuf_document_thumbnails_get_dimensions),
1994 (pixbuf_document_document_thumbnails_iface_init):
1996 implement get_dimensions
1998 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
2005 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2007 * shell/ev-view.c: (set_document_page):
2009 Scroll at the top of the page when changing page
2011 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2013 * shell/ev-view.c: (ev_view_motion_notify_event):
2015 Do not redraw unnecessarily
2017 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2019 * pdf/xpdf/pdf-document.cc:
2020 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2021 (expose_bin_window), (find_changed_cb):
2023 Yay! find works now... Now to find bugs...
2025 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2027 * backend/ev-document-find.c: (ev_document_find_base_init),
2028 (ev_document_find_changed):
2029 * backend/ev-document-find.h:
2030 * pdf/xpdf/pdf-document.cc:
2031 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2032 (expose_bin_window), (ev_view_init), (set_document_page),
2033 (ensure_rectangle_is_visible), (jump_to_find_result),
2034 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
2035 (ev_view_find_next), (ev_view_find_previous):
2037 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
2039 More work on find implementation, mostly there now
2041 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
2043 * backend/ev-backend-marshalers.list:
2044 * backend/ev-document-find.c: (ev_document_find_base_init),
2045 (ev_document_find_cancel), (ev_document_find_page_has_results),
2046 (ev_document_find_get_n_results), (ev_document_find_get_result),
2047 (ev_document_find_get_progress), (ev_document_find_changed):
2048 * backend/ev-document-find.h:
2050 Enanche the find interface to be really able to do
2053 * pdf/xpdf/pdf-document.cc:
2057 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
2058 (expose_bin_window), (ev_view_init),
2059 (ev_view_get_find_status_message), (find_changed_cb),
2060 (ev_view_set_document), (set_document_page):
2062 Adapt to the new interface. A few things are regressed sorry,
2063 I will finish it soon.
2065 2005-01-28 Martin Kretzschmar <martink@gnome.org>
2067 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
2068 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
2069 ev_sidebar_thumbnails_parent_class variable, don't define another
2070 parent_class variable.
2072 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
2073 (ev_page_action_class_init): ditto.
2075 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
2076 (pixbuf_document_class_init): ditto.
2078 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
2081 * .cvsignore: ignore various valgrind output files.
2083 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
2085 * data/evince-ui.xml:
2086 * shell/Makefile.am:
2087 * shell/ev-history.c:
2088 * shell/ev-history.h:
2089 * shell/ev-navigation-action.c:
2090 * shell/ev-navigation-action.h:
2091 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
2092 (ev_view_set_page), (ev_view_fit_width):
2094 * shell/ev-window.c: (update_action_sensitivity),
2095 (ev_window_setup_document), (register_custom_actions):
2097 Kill session history
2099 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
2101 * shell/ev-window.c: (update_action_sensitivity):
2103 Fix inverted up/down buttons
2105 2005-01-27 Martin Kretzschmar <martink@gnome.org>
2107 * shell/ev-sidebar-thumbnails.c
2108 (ev_sidebar_thumbnails_select_page): make sure the selected
2109 thumbnail stays visible.
2111 2005-01-26 Martin Kretzschmar <martink@gnome.org>
2113 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
2114 scrolled window for Federico.
2116 2005-01-26 Ole Laursen <olau@hardworking.dk>
2118 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
2120 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
2123 * pdf/splash/SplashFTFontEngine.cc:
2125 Fix CID fonts with freetype 2.1.9
2127 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
2129 * TODO: added item for desktop icon thumbnailer
2131 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
2133 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
2134 unloaded docs when the title is accessed.
2136 * shell/ev-password-view.[hc]: New widget for displaying password
2139 * shell/ev-window.[ch]: Refactor password handling code to handle
2142 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
2150 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
2152 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
2153 ignore page offset here, to make search results independent of it,
2155 * shell/ev-view.c (expose_bin_window): but take offsets into
2156 account here. Bug #164932
2158 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
2159 scale at the right time. Bug #164996
2161 2005-01-22 Martin Kretzschmar <martink@gnome.org>
2163 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
2164 fix the problem. Now I just removed the Adobe font names and hope
2165 that the URW fonts are always in outline format. Bug #164934
2167 * shell/ev-window.c (update_window_title): empty titles are
2168 useless, use filename in that case too.
2170 * NEWS: Add some content.
2172 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
2174 * TODO: added one more TODO item and a TODONE section :)
2176 2005-01-21 Martin Kretzschmar <martink@gnome.org>
2178 * ps/ps-document.h: add page_[xy]_offset fields.
2180 * ps/ps-document.c (ps_document_set_page_offset)
2181 (ps_document_render): Keep offset in consideration in a few
2182 places. Bug #164752 "postscript documents are not centered in
2185 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
2186 s/gpdf/evince/. Spotted by Stephane Loeuillet.
2188 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
2189 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
2190 stub out missing methods for complete EvDocument implementation.
2191 Fixes segfaults with Save A Copy and Copy actions.
2193 * ps/ps-document.c (ps_document_save, ps_document_get_text)
2194 (ps_document_document_iface_init): ditto.
2196 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2200 * data/evince.desktop.in:
2204 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2206 * shell/ev-view.c: (ev_view_button_press_event),
2207 (ev_view_motion_notify_event):
2209 Make selection work in any direction
2211 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2214 * shell/ev-window.c: (set_short_labels), (ev_window_init):
2216 Use shorter labels for some of the toolbars items
2218 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2220 * pdf/xpdf/pdf-document.cc:
2222 Check the links info is initialized before
2223 using it. Should fix a crash on startup.
2225 2005-01-21 Martin Kretzschmar <martink@gnome.org>
2227 * pixbuf/pixbuf-document.c
2228 (pixbuf_document_thumbnails_get_dimensions): force floating point
2229 division to calculate page_ratio. Fixes crash with landscape
2232 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
2234 * shell/ev-view.c (ev_view_realize): make the bg color darker.
2236 2005-01-20 Martin Kretzschmar <martink@gnome.org>
2238 * shell/ev-view.c (set_document_page): unset has_selection when
2240 (set_document_page): handle paper size changes when the page
2241 changes (test with Free Culture, page 2).
2243 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2245 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
2246 (expose_bin_window), (ev_view_class_init), (ev_view_init):
2248 Use normal style color for the widget background and
2249 draw a black box around the page.
2251 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2253 * pdf/xpdf/pdf-document.cc:
2255 Keep offset in consideration in a few places
2257 * shell/ev-view.c: (expose_bin_window):
2259 Set the offsets so that the document is ever centered
2261 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
2263 * TODO: Added TODO items and finished off the first todo item
2265 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
2266 reflect current authors
2268 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2270 * pdf/xpdf/pdf-document.cc:
2271 * shell/ev-view.c: (ev_view_set_cursor),
2272 (ev_view_motion_notify_event), (document_changed_callback),
2273 (set_document_page):
2275 Show a wait cursor while the page is rendering
2277 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2279 * shell/ev-sidebar-thumbnails.c:
2280 (ev_sidebar_tree_selection_changed),
2281 (ev_sidebar_thumbnails_select_page):
2282 * shell/ev-sidebar-thumbnails.h:
2283 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
2284 (ev_view_can_go_forward):
2285 * shell/ev-window.c: (ev_window_open_page),
2286 (ev_window_setup_document), (update_current_page),
2287 (view_page_changed_cb), (ev_window_init):
2288 * shell/ev-window.h:
2290 Ensure thumbnails selection, toolbar page control and
2291 current page are in sync.
2293 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
2299 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
2301 * backend/Makefile.am:
2302 * backend/ev-document-links.h:
2303 * backend/ev-document-security.c: (ev_document_security_get_type),
2304 (ev_document_security_has_document_security),
2305 (ev_document_security_set_password):
2306 * backend/ev-document-security.h:
2307 * backend/ev-document.c: (ev_document_error_quark):
2308 * backend/ev-document.h:
2310 * data/evince-password.glade:
2311 * pdf/xpdf/pdf-document.cc:
2312 * shell/Makefile.am:
2313 * shell/ev-password.c: (ev_password_set_bad_password_label),
2314 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
2315 (ev_password_dialog_get_password),
2316 (ev_password_dialog_set_bad_pass):
2317 * shell/ev-password.h:
2318 * shell/ev-window.c: (ev_window_get_attribute),
2319 (ev_window_set_property), (update_action_sensitivity),
2320 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
2321 (ev_window_setup_document), (ev_window_get_password),
2322 (ev_window_open), (ev_window_cmd_save_as),
2323 (using_postscript_printer), (ev_window_print),
2324 (find_not_supported_dialog), (ev_window_cmd_edit_find),
2325 (update_fullscreen_popup), (ev_window_fullscreen),
2326 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
2327 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
2328 (menu_item_select_cb), (find_bar_search_changed_cb),
2329 (ev_window_dispose), (ev_window_init):
2331 Add initial support for password-supported dialogs. This could be
2332 a lot cooler, but it'll do for now.
2334 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
2336 * pdf/xpdf/pdf-document.cc:
2337 * shell/ev-view.c: (status_message_from_link),
2338 (ev_view_set_status), (ev_view_set_cursor),
2339 (ev_view_motion_notify_event), (ev_view_init):
2340 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
2342 Fix bugs in the links implementation and change cursor
2343 when hovering a link.
2345 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
2347 * viewer/.cvsignore: added cvsignore file for viewer directory
2349 * TODO: created TODO document
2351 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
2354 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
2355 new functions to help with implementation of sensitivity code
2356 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
2357 of all actions that might require it. Fixes a crash when you
2358 click on the Zoom actions in a window lacking a document.
2360 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
2362 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
2365 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
2367 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
2368 (pixbuf_document_document_iface_init):
2369 * ps/ps-document.c: (ps_document_get_link),
2370 (ps_document_document_iface_init):
2371 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
2372 (status_message_from_link), (ev_view_set_status),
2373 (ev_view_set_find_status), (ev_view_motion_notify_event),
2374 (ev_view_button_release_event), (ev_view_set_property),
2375 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
2376 (ev_view_get_find_status_message), (update_find_results),
2377 (ev_view_get_status), (ev_view_get_find_status):
2379 * shell/ev-window.c: (view_status_changed_cb),
2380 (view_find_status_changed_cb), (ev_window_init):
2382 View status message support, use it to show the links.
2385 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
2387 * backend/ev-document.c: (ev_document_get_link):
2388 * backend/ev-document.h:
2389 * pdf/xpdf/pdf-document.cc:
2390 * shell/ev-application.c: (ev_application_open):
2391 * shell/ev-application.h:
2392 * shell/ev-sidebar-links.c: (selection_changed_cb):
2393 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
2394 (ev_view_go_to_link):
2396 Add support for document links
2398 2005-01-13 Anders Carlsson <andersca@gnome.org>
2400 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
2402 Set the spin button limits correctly.
2404 * shell/ev-sidebar-thumbnails.c:
2405 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
2406 Support changing pages by clicking on the thumbnails.
2408 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
2410 * pixbuf/pixbuf-document.c:
2411 (pixbuf_document_thumbnails_get_dimensions),
2412 (pixbuf_document_document_thumbnails_iface_init):
2414 implement get_dimensions
2416 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
2418 * ps/ps-document.c: (ps_document_goto_page):
2420 Fix page switching on multipage documents
2422 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
2424 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
2426 check for NULL before assigning to width and height parameters
2428 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
2430 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2431 (pixbuf_document_set_property), (pixbuf_document_get_property):
2433 implement get/set properties
2435 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
2437 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
2439 return NULL instead of "Unknown", letting the title get set to
2440 the filename when the pdf has no title.
2442 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
2444 * ps/ps-document.c: (ps_document_get_page_count),
2445 (ps_document_goto_page):
2447 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
2449 * shell/ev-history.c: (ev_history_get_property),
2450 (ev_history_set_property), (ev_history_class_init),
2451 (ev_history_add_page), (ev_history_set_current_index):
2452 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
2453 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
2454 (ev_navigation_action_finalize):
2455 * shell/ev-navigation-action.h:
2456 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
2457 (ev_view_go_forward), (ev_view_get_find_status_message),
2458 (history_index_changed_cb), (ev_view_set_history):
2460 * shell/ev-window.c: (update_total_pages), (ev_window_open),
2461 (update_current_page), (register_custom_actions):
2463 Implement history dropdowns
2465 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
2467 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
2468 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
2469 (ev_view_go_forward):
2470 * shell/ev-window.c: (register_custom_actions):
2472 Fix several history bugs
2474 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
2476 * configure.ac: Add «nb» to ALL_LINGUAS.
2478 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
2480 * backend/Makefile.am:
2481 * backend/ev-bookmark.c:
2482 * backend/ev-bookmark.h:
2483 * backend/ev-document-bookmarks.c:
2484 * backend/ev-document-bookmarks.h:
2485 * backend/ev-document-links.c: (ev_document_links_get_type),
2486 (ev_document_links_has_document_links),
2487 (ev_document_links_begin_read), (ev_document_links_get_link),
2488 (ev_document_links_get_child), (ev_document_links_next),
2489 (ev_document_links_free_iter):
2490 * backend/ev-document-links.h:
2491 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
2492 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
2493 (ev_link_get_link_type), (ev_link_set_link_type),
2494 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
2495 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
2496 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
2497 (ev_link_new_external):
2498 * backend/ev-link.h:
2499 * pdf/xpdf/pdf-document.cc:
2500 * shell/Makefile.am:
2501 * shell/ev-application.c: (ev_application_open_link):
2502 * shell/ev-application.h:
2503 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
2504 (ev_history_get_link_nth):
2505 * shell/ev-history.h:
2506 * shell/ev-sidebar-bookmarks.c:
2507 * shell/ev-sidebar-bookmarks.h:
2508 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2509 (ev_sidebar_links_class_init), (selection_changed_cb),
2510 (ev_sidebar_links_construct), (ev_sidebar_links_init),
2511 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
2512 (do_one_iteration), (populate_links_idle),
2513 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
2514 * shell/ev-sidebar-links.h:
2515 * shell/ev-sidebar.c: (ev_sidebar_set_document):
2516 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
2519 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
2520 * shell/ev-window.h:
2522 Rename bookmark to link, and use "Index" for the sidebar panel.
2524 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
2526 * shell/Makefile.am:
2527 * shell/ev-application.c: (ev_application_open_bookmark):
2528 * shell/ev-application.h:
2529 * shell/ev-history.c: (ev_history_init), (free_links_list),
2530 (ev_history_finalize), (ev_history_class_init),
2531 (ev_history_add_link), (ev_history_add_page),
2532 (ev_history_get_link_nth), (ev_history_get_n_links),
2533 (ev_history_get_current_index), (ev_history_set_current_index),
2535 * shell/ev-history.h:
2536 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
2537 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
2538 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
2539 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
2542 * shell/ev-window.c: (ev_window_open_bookmark),
2543 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
2544 (goto_page_cb), (register_custom_actions):
2545 * shell/ev-window.h:
2547 Initial history implementation. Needs work.
2549 2005-01-09 Martin Kretzschmar <martink@gnome.org>
2551 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
2553 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
2555 * cut-n-paste/recent-files/egg-recent-item.c:
2556 * cut-n-paste/recent-files/egg-recent-item.h:
2557 * cut-n-paste/recent-files/egg-recent-model.c:
2558 * cut-n-paste/recent-files/egg-recent-util.c:
2559 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2560 * cut-n-paste/recent-files/egg-recent-view.c:
2564 2005-01-08 Martin Kretzschmar <martink@gnome.org>
2566 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
2567 (fillGlyph, fillImageMask, drawImage):
2568 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
2569 pdf/splash/SplashTypes.h:
2570 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
2571 packed mode for Splash.
2573 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
2574 RGB8 packed mode, eliminates the pixbuf data creation loop.
2576 * shell/ev-print-job.c (ev_print_job_finalize)
2577 (ev_print_job_set_property, ev_print_job_get_property)
2578 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
2579 (ev_print_job_use_print_dialog_settings, idle_print_handler)
2580 (print_closure_finalize, ev_print_job_print): implement
2581 printing (for backends with EvPsExporter)
2583 * shell/ev_print_job.h: update prototypes.
2585 * shell/ev-window.c (ev_window_print): unref print job after
2588 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
2589 unless the document implements the EvDocumentFind interface.
2591 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
2593 * configure.ac: Added ja to ALL_LINGUAS.
2595 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
2597 * pdf/xpdf/pdf-document.cc:
2599 add a FIXME. We should probably not allocate
2600 a bookmark object every time
2602 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
2604 * shell/ev-application.c: (ev_application_open),
2605 (ev_application_open_bookmark):
2606 * shell/ev-application.h:
2608 Add a way to open bookmarks
2610 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
2611 (ev_bookmark_set_uri), (ev_bookmark_get_property),
2612 (ev_bookmark_set_property), (ev_bookmark_class_init),
2613 (ev_bookmark_new_title), (ev_bookmark_new_link),
2614 (ev_bookmark_new_external):
2616 Support for external uris, better constructors.
2618 * backend/ev-bookmark.h:
2619 * pdf/xpdf/pdf-document.cc:
2620 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
2622 Handle external uris
2624 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
2626 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
2627 (ev_sidebar_bookmarks_construct), (do_one_iteration):
2629 Hook up bookmarks navigation
2631 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
2633 * backend/Makefile.am:
2634 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
2635 (ev_bookmark_get_title), (ev_bookmark_set_title),
2636 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
2637 (ev_bookmark_get_page), (ev_bookmark_set_page),
2638 (ev_bookmark_get_property), (ev_bookmark_set_property),
2639 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
2641 * backend/ev-bookmark.h:
2642 * backend/ev-document-bookmarks.c:
2643 (ev_document_bookmarks_get_bookmark):
2644 * backend/ev-document-bookmarks.h:
2645 * pdf/xpdf/pdf-document.cc:
2646 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
2648 Add a bookmark object to the backend and use it instead of get_values
2650 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
2652 * data/evince-ui.xml:
2654 Cleanup and add select all.
2656 * shell/ev-view.c: (ev_view_select_all),
2657 (ev_view_button_press_event):
2659 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
2662 Clear selection on click.
2664 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
2666 * shell/ev-sidebar-thumbnails.c
2667 (ev_sidebar_thumbnails_set_document): forgot to unref the
2670 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
2672 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
2673 at the visible page, not just linearly. This makes it look fast.
2675 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
2677 * backend/ev-document-misc.c
2678 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
2680 * backend/ev-document-thumbnails.h: New interface to get the size
2683 2005-01-06 Jeremy Katz <katzj@redhat.com>
2685 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
2688 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
2690 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
2691 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
2694 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
2696 2005-01-05 Martin Kretzschmar <martink@gnome.org>
2698 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
2699 fonts. Should fix font problems on systems that have the base
2700 fonts in bitmap format. Reported by James Henstridge
2701 <james@jamesh.id.au>.
2703 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2706 * pdf/xpdf/GfxState.cc:
2708 Fix for CAN-2004-1125
2710 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2712 * shell/ev-view.c: (ev_view_copy):
2714 * shell/ev-window.c: (ev_window_cmd_edit_copy):
2716 Implement Edit->Copy
2718 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2720 * backend/ev-document.c: (ev_document_get_text):
2721 * backend/ev-document.h:
2722 * pdf/xpdf/pdf-document.cc:
2723 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
2724 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2725 (ev_view_update_primary_selection), (ev_view_button_press_event),
2726 (ev_view_motion_notify_event), (ev_view_button_release_event):
2728 Beginnings of clipboard support. Incomplete but primary sort
2731 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2733 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
2734 (expose_bin_window):
2736 Nicer rubberband drawing, from GtkIconView.
2738 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2740 * backend/ev-document.c: (ev_document_save):
2741 * backend/ev-document.h:
2742 * data/evince-ui.xml:
2743 * pdf/xpdf/pdf-document.cc:
2744 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
2746 Implement "Save a copy..." menu item
2748 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2750 * shell/ev-view.c: (ev_view_zoom):
2752 Queue a resize when zoom changes
2754 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
2756 * backend/ev-document-misc.[ch]: New misc file to do simple drop
2759 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
2762 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
2764 * pdf/xpdf/pdf-document.cc
2765 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
2767 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
2769 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
2770 It's slow, but I'll speed it up next!
2772 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
2774 * shell/main.c (load_files):
2776 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
2777 from the command line and because it seems more appropriate.
2779 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
2781 * data/evince-ui.xml:
2782 * shell/ev-window.c: (update_action_sensitivity),
2783 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
2785 s/next page/page down
2786 s/previous page/page up
2788 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
2790 * data/evince-ui.xml:
2792 Change the layout to match clarkbw design.
2794 * shell/Makefile.am:
2795 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
2796 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
2797 (ev_navigation_action_finalize),
2798 (ev_navigation_action_set_property),
2799 (ev_navigation_action_get_property),
2800 (ev_navigation_action_class_init):
2801 * shell/ev-navigation-action.h:
2803 Implement clarkbw toolbar navigation controls (incomplete)
2805 * shell/ev-page-action.c: (update_label), (update_spin),
2806 (value_changed_cb), (create_tool_item), (connect_proxy),
2807 (ev_page_action_init), (ev_page_action_finalize),
2808 (ev_page_action_set_property), (ev_page_action_get_property),
2809 (ev_page_action_set_current_page),
2810 (ev_page_action_set_total_pages), (ev_page_action_class_init):
2811 * shell/ev-page-action.h:
2813 Implement a page switcher in the toolbar
2815 * shell/ev-view.c: (ev_view_scroll_view):
2816 * shell/ev-window.c: (update_total_pages), (ev_window_open),
2817 (update_current_page), (view_page_changed_cb), (goto_page_cb),
2818 (register_custom_actions), (ev_window_init):
2820 Change page on PageUp/Down.
2822 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
2824 * pdf/xpdf/pdf-document.cc
2825 (pdf_document_thumbnails_get_thumbnail): initial stab at
2826 implementing thumbnail support for pdfs. It only does documents
2827 with precached pdfs now.
2829 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
2831 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
2832 thumbnail code into a time-based idle as well. Also, turn off the
2833 shadow temporarily as it's really slow.
2835 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
2837 * backend/ev-document.c: (ev_document_class_init):
2838 * pdf/xpdf/pdf-document.cc:
2839 * shell/ev-window.c: (ev_window_open):
2841 Fix document title bugs and fallback to
2842 filename when not available.
2844 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
2846 * backend/ev-document.c: (ev_document_get_type),
2847 (ev_document_class_init), (ev_document_load),
2848 (ev_document_get_title):
2849 * backend/ev-document.h:
2850 * pdf/xpdf/pdf-document.cc:
2851 * ps/ps-document.c: (ps_document_set_property),
2852 (ps_document_get_property), (ps_document_class_init),
2856 * shell/ev-window.c: (update_window_title), (ev_window_open),
2859 Initial support for document title. Not working yet.
2861 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
2863 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
2865 Grab focus on the view when clicking it
2867 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
2869 * shell/ev-marshal.list:
2870 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
2871 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
2873 Add key bindings to the view. Now if the focus would work
2876 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
2879 * backend/Makefile.am:
2882 * dvi/dvilib/Makefile.am:
2883 * pdf/xpdf/Makefile.am:
2889 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2891 * shell/ev-view.c: (ev_view_realize):
2893 Fix mouse wheel scrolling
2895 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2901 * ps/ps-document.c: (catchPipe), (ps_document_init),
2902 (ps_document_class_init), (ps_document_cleanup),
2903 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
2904 (set_up_page), (close_pipe), (is_interpreter_ready),
2905 (interpreter_failed), (output), (input), (start_interpreter),
2906 (stop_interpreter), (file_length), (file_readable),
2907 (check_filecompressed), (check_pdf), (compute_xdpi),
2908 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
2909 (ps_document_get_type), (ps_document_emit_error_msg),
2910 (document_load), (ps_document_next_page),
2911 (ps_document_get_current_page), (ps_document_get_page_count),
2912 (ps_document_goto_page), (ps_document_set_page_size),
2913 (ps_document_zoom_to_fit), (ps_document_set_zoom),
2914 (ps_document_load), (ps_document_get_n_pages),
2915 (ps_document_set_page), (ps_document_get_page),
2916 (ps_document_widget_event), (ps_document_set_target),
2917 (ps_document_set_scale), (ps_document_set_page_offset),
2918 (ps_document_get_page_size), (ps_document_render),
2919 (ps_document_document_iface_init):
2922 * shell/ev-window.c: (ev_window_open):
2924 Rename GtkGS to PSDocument
2926 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2928 * ps/gtkgs.c: (gtk_gs_class_init):
2931 Some more leftover...
2933 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2935 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
2936 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
2937 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
2940 Remove unused code and make a lot of stuff private
2942 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2944 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
2945 (gtk_gs_defaults_changed):
2951 Cleanup headers dependencies
2953 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2958 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
2960 * ps/gtkgs.c: (file_length), (file_readable),
2961 (check_filecompressed), (check_pdf), (gtk_gs_load),
2962 (gtk_gs_get_postscript):
2966 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2971 * ps/gtkgs.c: (gtk_gs_set_zoom):
2975 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2977 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
2979 Ensure the page is rerendered when changing zoom
2981 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2983 * backend/ev-document.c: (ev_document_base_init),
2984 (ev_document_changed):
2985 * backend/ev-document.h:
2987 Add a changed event that is emitted when the page content
2988 changes. This is necessary to deal with the fact that
2989 in ps backend rendering happen asycrounously.
2990 This makes the ps backend mostly work.
2992 * pdf/xpdf/pdf-document.cc:
2996 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
2997 (ps_document_set_target):
3001 * shell/ev-view.c: (document_changed_callback),
3002 (ev_view_set_document), (ev_view_set_page):
3004 Redraw on the changed signal
3006 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
3008 * configure.ac: Added pt_BR to ALL_LINGUAS.
3010 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
3012 * backend/ev-document-bookmarks.c:
3013 (ev_document_bookmarks_get_child): *
3014 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
3015 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
3016 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
3017 (ev_sidebar_bookmarks_destroy),
3018 (ev_sidebar_bookmarks_class_init),
3019 (ev_sidebar_bookmarks_construct), (stack_data_free),
3020 (do_one_iteration), (populate_bookmarks_idle),
3021 (ev_sidebar_bookmarks_clear_document),
3022 (ev_sidebar_bookmarks_set_document): *
3023 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
3024 (ev_sidebar_add_page),
3025 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
3026 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
3027 it displays both the topics and the page numbers.
3029 2004-12-23 Kristian Høgsberg <krh@redhat.com>
3031 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
3033 * shell/ev-window.c (toggle_entries): Set sidebar default value to
3036 2004-12-23 Adam Weinberger <adamw@gnome.org>
3038 * configure.ac: Added en_CA to ALL_LINGUAS.
3040 2004-12-23 Martin Kretzschmar <martink@gnome.org>
3042 * ChangeLog: replace bottom of this ChangeLog (merged history of
3043 ggv and gpdf; where all paths were wrong and most of the files are
3044 not even in this tree) with ChangeLog (from arch) of the shell
3047 2004-12-23 Havoc Pennington <hp@redhat.com>
3049 * shell/ev-window.c: hook up potentially-questionable "find
3050 results status text" feature - something involving the sidebar or
3051 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
3052 might be better in the end.
3054 * shell/ev-view.c (ev_view_get_find_status_message): new function,
3055 with corresponding signal when it should be updated
3057 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
3059 2004-12-22 Havoc Pennington <hp@redhat.com>
3061 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
3062 find stuff on other pages, sort of (only returns one result on
3063 invisible pages, to show they have results; updates full results
3064 for a page when you view it). Currently repaints the current page
3065 every time a new result is found on any page, which isn't so nice.
3067 2004-12-22 Havoc Pennington <hp@redhat.com>
3069 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
3070 the document doesn't support find (better ideas?)
3071 (find_bar_search_changed_cb): handle missing document or document
3072 that doesn't support find
3074 * pdf/xpdf/pdf-document.cc: port to implement the new
3077 * backend/ev-document-find.c: create a new interface for searching
3079 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
3081 2004-12-23 Martin Kretzschmar <martink@gnome.org>
3083 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
3086 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
3087 EvPrintJob constructor arguments.
3089 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
3090 for documents that can export PostScript (page by page).
3092 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
3094 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
3095 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
3096 (pdf_document_ps_exporter_iface_init:
3097 Implement EvPSExporter.
3099 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
3101 2004-12-22 Anders Carlsson <andersca@gnome.org>
3103 * backend/Makefile.am:
3104 * backend/ev-document-thumbnails.c:
3105 (ev_document_thumbnails_get_type),
3106 (ev_document_thumbnails_get_thumbnail):
3107 * backend/ev-document-thumbnails.h:
3108 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
3109 (pixbuf_document_thumbnails_get_thumbnail),
3110 (pixbuf_document_document_thumbnails_iface_init):
3111 * shell/Makefile.am:
3112 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
3113 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
3114 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
3115 * shell/ev-sidebar-thumbnails.h:
3116 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3117 (ev_sidebar_set_document):
3118 * shell/ev-utils.c: (gaussian), (create_blur_filter),
3119 (create_shadow), (ev_pixbuf_add_shadow):
3121 Add thumbnail support.
3123 2004-12-22 Martin Kretzschmar <martink@gnome.org>
3125 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
3126 (using_postscript_printer): Set up a print dialog for "PostScript
3129 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
3132 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
3134 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3136 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
3137 (ps_document_set_target), (ps_document_get_page_size),
3138 (ps_document_render):
3143 2004-12-22 Christian Rose <menthos@menthos.com>
3145 * configure.ac: Added "sv" to ALL_LINGUAS.
3147 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
3149 * backend/ev-document-bookmarks.[ch]: new interface to indicate
3150 document supports bookmarks.
3152 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3154 * ps/ggvutils.c: (ggv_file_readable):
3156 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
3157 (gtk_gs_get_postscript):
3161 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3163 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
3164 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
3165 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
3166 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
3167 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
3168 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
3169 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
3170 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
3171 (gtk_gs_set_antialiasing), (ps_document_load),
3172 (ps_document_render):
3175 Another check point for the ps backend. Now I can get it to show
3178 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
3180 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
3181 document setting code.
3183 2004-12-22 Anders Carlsson <andersca@gnome.org>
3185 * shell/eggfindbar.c: (entry_activate_callback):
3186 Animate the next button when activate is pressed.
3188 2004-12-22 Anders Carlsson <andersca@gnome.org>
3190 * shell/ev-window.c: (ev_window_cmd_edit_find),
3191 (update_fullscreen_popup), (ev_window_fullscreen),
3192 (ev_window_unfullscreen), (ev_window_state_event_cb),
3193 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
3194 Fix bugs in fullscreen code.
3196 2004-12-22 Anders Carlsson <andersca@gnome.org>
3200 * pixbuf/Makefile.am:
3201 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
3202 (pixbuf_document_load), (pixbuf_document_get_n_pages),
3203 (pixbuf_document_set_page), (pixbuf_document_get_page),
3204 (pixbuf_document_set_target), (pixbuf_document_set_scale),
3205 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
3206 (pixbuf_document_render), (pixbuf_document_begin_find),
3207 (pixbuf_document_end_find), (pixbuf_document_finalize),
3208 (pixbuf_document_class_init),
3209 (pixbuf_document_document_iface_init), (pixbuf_document_init):
3210 * pixbuf/pixbuf-document.h:
3211 * shell/Makefile.am:
3212 * shell/ev-application.c: (ev_application_open):
3213 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
3217 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
3220 * dvi/dvilib/Makefile.am:
3222 * configure.ac: Auto*ify dvi and dvi/dvilib
3224 * dvi/Makefile: Remove from CVS
3226 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
3229 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
3231 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
3233 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3236 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
3237 (gtk_gs_value_adjustment_changed), (compute_size),
3238 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
3239 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
3240 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
3241 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
3242 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
3243 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
3244 (ps_document_load), (ps_document_get_n_pages),
3245 (ps_document_set_page), (ps_document_get_page),
3246 (ps_document_set_target), (ps_document_set_scale),
3247 (ps_document_set_page_offset), (ps_document_get_page_size),
3248 (ps_document_render), (ps_document_begin_find),
3249 (ps_document_end_find), (ps_document_document_iface_init):
3251 * shell/Makefile.am:
3252 * shell/ev-window.c: (ev_window_open):
3254 Some work to integrate gtkgs with EvDocument
3256 2004-12-22 Anders Carlsson <andersca@gnome.org>
3258 * shell/ev-window.c: (update_fullscreen_popup),
3259 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
3260 (exit_fullscreen_button_clicked_cb),
3261 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
3262 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
3263 (ev_window_state_event_cb), (ev_window_init):
3264 Add fullscreen support from Epiphany.
3266 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3268 * data/ev-stock-zoom-fit-width.png: fit-width
3269 stock icon from gpdf.
3271 * shell/ev-stock-icons.[ch]: copied from gpdf.
3273 * shell/main.c: (main): init stock icons.
3275 * shell/ev-window.c: use the fit-width icon.
3277 * data/evince-ui.xml: add zooming toolbar items.
3279 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3282 (ev_view_best_fit), (ev_view_fit_width): because
3283 get_page_size() returns the scaled page size, we
3284 need to calculate the scale factor relative to
3285 the previous scale factor. Should really just
3286 add get_real_page_size().
3288 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3290 * shell/ev-view.[ch]:
3291 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
3292 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
3295 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3296 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
3297 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
3300 * pdf/xpdf/pdf-document.cc:
3301 (pdf_document_begin_find),
3302 (pdf_document_end_find): make static.
3304 2004-12-22 Martin Kretzschmar <martink@gnome.org>
3306 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
3308 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
3309 names to fontconfig patterns.
3310 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
3312 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
3315 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3331 Import ggv backend. Not hooked up yet.
3333 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3335 * shell/main.c: (load_files), (main): load files
3336 from the command line.
3338 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3340 * configure.ac: don't require bonobo.
3342 * cut-n-paste/recent-files/*: kill bonobo recent
3345 * shell/ev-window.c:
3346 (ev_window_is_empty): upd.
3347 (unable_to_load), (ev_window_open): load backend
3348 based on the mime type.
3350 2004-12-22 Martin Kretzschmar <martink@gnome.org>
3352 * backend/.cvsignore: ignore generated marshalers source.
3354 * shell/main.c (main): this is not epiphany.
3356 2004-12-22 Havoc Pennington <hp@redhat.com>
3358 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
3359 (expose_bin_window): draw find highlights
3361 * shell/ev-window.c (find_bar_search_changed_cb): implement
3363 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
3364 (pdf_document_end_find): implement this interface
3366 * backend/ev-document.c (ev_document_found): add this to emit
3369 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
3371 * data/evince-ui.xml: Add a few more toolbar items.
3373 * shell/ev-window.c: Hook up page navigation toolbar
3376 * shell/ev-view.[ch]: add ev_view_set/get_page and
3377 a page-changed signal.
3379 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
3380 Add ev_document_get_page().
3382 * shell/ev-window.c: Sensitize/desensitize navigation
3385 2004-12-21 Havoc Pennington <hp@redhat.com>
3387 * backend/ev-backend-marshal.c,
3388 backend/ev-backend-marshalers.list, backend/Makefile.am: add
3389 marshaler-generator thingy. I'm sure there's a better way to do
3390 this in the modern world.
3392 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
3393 end_find methods and "found" signal.
3395 * configure.ac: find glib-genmarshal
3397 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
3399 * shell/ev-sidebar.c: Construct an actual sidebar.
3400 * shell/ev-sidebar-bookmarks.[ch]:
3401 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
3403 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
3405 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
3408 * shell/ev-view.c: Track the size from the document.
3410 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
3412 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
3413 constructor assumes ownership of the string passed in.
3415 * shell/ev-window.c (ev_window_open): Destroy the error
3416 dialog once we've displayed it.
3418 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
3420 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
3421 a bit, it works! (sort of)
3423 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
3424 Move to .cc since we need to use C++ in the implementation.
3426 * shell/dummy.cc: Add a CC file to force evince
3427 to be linked as a C++ program.
3429 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
3431 * shell/ev-view.[ch]: Start of content-area widget.
3433 * shell/ev-window.c: Create a EvView, update it
3434 as we change documents.
3436 * shell/Makefile.am shell/ev-marshal.list: Add
3437 generated marshalers.
3439 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
3441 * Makefile.am (SUBDIRS): move shell.
3443 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
3445 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
3446 .a to libtool convenience libraries.
3448 * shell/ev-window.c (ev_window_open): Hard code loading
3451 * backend/ev-document.h: Add a boolean return to load(),
3452 fix GError * to GError **.
3454 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
3455 object for a PDF backend EvDocument.
3457 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
3459 * dvi/*: New directory with the beginning of a .dvi backend.
3461 2004-12-21 Havoc Pennington <hp@redhat.com>
3463 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
3464 previous/next instead of back/forward
3466 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
3468 * backend/ev-document.[ch]: Fix a couple of problems so
3471 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
3473 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
3474 to backend/ directory, rename EvViewer to EvDocument.
3476 2004-12-21 Havoc Pennington <hp@redhat.com>
3478 * shell/ev-window.c: hook up the find bar widget; now we just need
3479 a document to find things in
3481 * shell/eggfindbar.c: a find bar widget
3483 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
3485 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
3487 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
3489 * pdf/**: Import of xpdf code from gpdf.
3491 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
3493 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
3494 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
3495 Fix FreeType includes.
3497 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
3498 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
3499 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
3500 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
3501 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
3502 Include xpdfconfig.h
3504 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
3506 * shell/ev-window.c (ev_window_dispose): dispose can be called
3509 2004-12-21 Havoc Pennington <hp@redhat.com>
3511 * shell/ev-window.c (ev_window_init): set title to Document Viewer
3514 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
3515 items; really they should be synced with the strings, etc. from
3516 current gpdf, but just getting the boring typing out of the way
3518 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
3521 * shell/ev-application.c: (window_destroy_cb):
3522 * shell/ev-window.c:
3523 * shell/main.c: (main):
3525 Actually show the window...
3527 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
3530 * shell/Makefile.am:
3531 * shell/ev-application.c: (ev_application_class_init):
3532 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
3536 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
3538 Import to gnome cvs.
3540 * Remove copies of gpdf and ggv trees.
3541 * Rip out all the recursive configure code.
3542 * Remove bonobo machinery.
3543 * viewer/*: GInterfaces that backends should/can implement.
3545 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
3547 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
3550 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
3552 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
3553 (ev_application_finalize, ev_application_class_init)
3554 (ev_application_init): use GType instance private data for priv.
3556 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
3557 (ev_window_finalize, ev_window_class_init)
3558 (ev_window_init): ditto.
3560 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3562 * shell/ev-application.c (ev_application_new_window): make public
3563 (ev_application_show_initial_window): kill.
3565 * shell/ev-application.h: update prototypes.
3567 * shell/main.cc (main): inline ev_application_show_initial_window.
3569 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3571 * shell/ev-application.c (ev_application_new_window): impl.
3572 (ev_application_show_initial_window): use it.
3573 (is_window_empty, ev_application_get_empty_window): returns an
3574 existing empty window or a new one.
3575 (ev_application_open): from ev_window_cmd_file_open.
3577 * shell/ev-application.h: update prototypes
3579 * shell/ev-window.c (ev_window_is_empty): impl.
3580 (ev_window_open): make public.
3581 (ev_window_cmd_file_open): use ev_application_open
3583 * shell/ev-window.h: update prototypes, remove unused.
3585 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
3587 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
3588 move destroy handler out of here...
3590 * shell/ev-application.c, shell/ev-application.h: ...into this new
3591 class. Also handles initial window creation.
3593 * shell/main.cc (main): use EvApplication to create initial
3596 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
3598 * Makefile.am (SUBDIRS): add cut-n-paste
3600 * cut-n-paste/Makefile.am: add
3602 * configure.ac: generate Makefiles in cut-n-paste
3604 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
3606 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
3607 (ev_window_class_init): install ev_window_dispose.
3609 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3611 * shell/ev-window.h, shell/ev-window.c: replace gchar with
3612 char (gchar looks stupid).
3614 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3616 * po/de.po: updated German translation.
3618 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3620 * configure.ac: add more pkg-config library checks for gnome-vfs,
3623 * gpdf/configure.in: temporarily disable libpaper
3624 checks. Otherwise I'd have to add the checks for the shell, too.
3626 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3628 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
3629 and * file filters to the file choose.
3631 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3633 * po/de.po: Updated German translation.
3635 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3637 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
3639 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3641 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
3643 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
3644 (ev_window_init): implement those menuitems.
3646 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3648 * data/evince-ui.xml: add a toolbar (with FileOpen action)
3650 * shell/ev-window.c (ev_window_init): use the toolbar.
3652 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3654 * shell/ev-window.c (ev_window_init): use menu translations
3656 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3658 * configure.ac: add "de" to ALL_LINGUAS.
3660 * po/de.po: add German translation.
3662 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3664 * Makefile.am (SUBDIRS): add po
3666 * configure.ac: check intltool, glib-gettext etc, generate
3669 * po, po/POTFILES.in, po/POTFILES.skip: new.
3671 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3673 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
3674 already use (#ifdef ENABLE_NLS)
3676 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
3677 pointer indirection thinko.
3679 * shell/main.c: include gi18n.h for bindtextdomain etc.
3681 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3683 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
3684 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
3685 tooltips for menu items in the statusbar.
3687 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3689 * configure.ac, data/Makefile.am, shell/Makefile.am: use
3690 pkgdatadir drop UIDIR
3692 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3694 * data/evince-ui.xml: Add File->Open menu item
3696 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
3697 chooser), hook it up in the ui manager.
3699 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3701 * shell/ev-window.c: fix Help->About tooltip.
3703 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3705 * configure.ac: set CFLAGS for libevprivate.
3707 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
3708 definitions, factory etc.
3710 * lib/Makefile.am: build libevprivate.a (only stock icon code).
3712 * shell/Makefile.am: link against libevprivate.a.
3714 * shell/ev-window.c (entries): add stock icon to Help->About.
3716 * shell/main.c (main): init stock icon code.
3718 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3720 * lib/recent-files: egg recent files code
3722 * lib/Makefile.am: add.
3724 * Makefile.am: add lib subdir.
3726 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
3727 set CFLAGS for recent-files.
3729 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3731 * configure.ac: disable -ansi and -pedantic gcc flags. They
3732 disable POSIX stuff in stdio.h, but egg-recent uses them.
3734 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3736 * configure.ac: add --disable-deprecated flag (defaults to on in
3739 * shell/Makefile.am (INCLUDES): use it.
3741 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3743 * shell/main.c: add missing #include.
3745 * shell/ev-window.c: fix for pedantic gcc.
3746 (ev_window_cmd_help_about): split license into paragraphs for
3747 translators and pedantic compilers.
3749 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3751 * configure.ac: add more warning flags if compiling with gcc from
3752 cvs (or explicitly requested with --enable-more-warnings).
3754 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3756 * data/evince-ui.xml: add File and File->Close menu.
3758 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
3759 (ev_window_destroy): quit after destroy.
3760 (ev_window_class_init): override GtkObject::destroy.
3761 (entries): install close_window callback.
3763 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3765 * Makefile.am (SUBDIRS): add data subdir.
3767 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
3768 gtk+ 2.5.0 for GtkAboutDialog.
3770 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
3773 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
3775 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
3777 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
3779 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3781 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
3783 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
3785 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
3787 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
3789 * shell/*: Added shell directory boilerplate, build it.
3791 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
3793 * configure.ac, Makefile.am: Added top-level configure.ac and