1 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3 * backend/ev-document-info.h:
5 s/GDate */GDate so we can just use g_free
7 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
9 * shell/ev-window.c: (update_document_mode),
10 (ev_window_setup_document):
12 Show the window in fullscreen when specified by
15 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
17 * backend/ev-document.c: (ev_document_class_init),
18 (ev_document_get_info), (ev_document_render_pixbuf):
19 * backend/ev-document.h:
20 * backend/ev-page-cache.c: (_ev_page_cache_new):
22 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
23 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
24 * ps/ps-document.c: (ps_document_class_init), (document_load),
25 (ps_document_get_info), (ps_document_document_iface_init):
27 Remove get_title from the interface, we can just use document info
29 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
31 * backend/Makefile.am:
32 * backend/ev-document.c: (ev_document_render_get_info):
33 * backend/ev-document.h:
36 Initial support for document info. Based on jrb patch.
38 2005-04-19 Paolo Borelli <pborelli@katamail.com>
40 * shell/ev-window.c: (ev_window_state_event),
41 (ev_window_class_init), (ev_window_init):
43 Doesn't show resize grip when maximized. See bug #301053
45 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
49 ev-sidebar-thumbnails now has translatable labels
52 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
53 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
54 (ev_sidebar_links_page_iface_init):
55 * shell/ev-sidebar-links.h:
56 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
57 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
58 (ev_sidebar_page_get_label):
59 * shell/ev-sidebar-page.h:
60 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
61 (ev_sidebar_thumbnails_set_document),
62 (ev_sidebar_thumbnails_support_document),
63 (ev_sidebar_thumbnails_get_label),
64 (ev_sidebar_thumbnails_page_iface_init):
65 * shell/ev-sidebar-thumbnails.h:
66 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
67 (ev_sidebar_set_document):
69 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
71 Small rework of sidebar code. Now sidebar pages should implement
72 EvSidebarPage interface. That makes page management in EvSidebar
73 easier. See bug #164811 for details
75 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
77 * shell/ev-application.c: (ev_application_open):
78 * shell/ev-document-types.c:
80 Fix build error and small problem with application exit
82 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
84 * thumbnailer/Makefile.am:
85 * thumbnailer/evince-thumbnailer-djvu.schemas:
86 * thumbnailer/evince-thumbnailer-dvi.schemas:
88 Conditionally install schemas for djvu/dvi thumbnailer
90 2005-04-18 David Malcolm <dmalcolm@redhat.com>
92 * shell/ev-document-types.h:
93 * shell/ev-document-types.c:
94 New files, handling the mapping from mimetypes to backends
97 * thumbnailer/evince-thumbnailer.c:
98 Use the ev-document-types code
101 Added new convenience library libevbackendfactory_la, containing
102 the new mimetype->backend logic; moved the backends into it.
104 * thumbnailer/Makefile.am:
105 Make the thumbnailer link with the libevbackend.la convenience
106 library, rather than having a duplicate of the backend logic here.
108 2005-04-18 Paolo Borelli <pborelli@katamail.com>
110 * shell/ev-stock-icons.c: constify some vars.
111 * shell/ev-window.c: ditto.
113 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
115 * ps/ps-document.c (get_page_orientation):
117 Respect document orientation
119 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
125 Move library dependencies to components.
127 * shell/ev-window.c: (update_window_title),
128 (start_loading_document):
130 Fix display of uris with spaces. Bug 168358.
132 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
134 * shell/ev-sidebar-links.c: (selection_changed_cb):
135 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
136 (ev_view_button_release_event), (ev_view_set_document):
138 * shell/ev-window.c: (find_bar_search_changed_cb):
139 * shell/ev-window.h: Minor cleanups removing some dead code.
141 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
143 * backend/ev-page-cache.c: (_ev_page_cache_new):
145 Set current page to 0 if document has pages.
147 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
149 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
151 Initialize GError to NULL, fix a crash when loading fails.
153 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
155 * shell/ev-window.c: (update_view_size):
157 Calculate shadow size only when there is actually
160 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
162 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
165 Allow setting view spacing, default to 0
167 * shell/ev-window.c: (ev_window_unfullscreen),
168 (ev_window_cmd_view_fullscreen), (ev_window_init):
170 Remove spacing in fullscreen mode
172 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
174 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
175 (ev_view_size_request), (expose_bin_window),
176 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
178 * shell/ev-window.c: (ev_window_unfullscreen),
179 (ev_window_cmd_view_fullscreen):
181 Do not draw the border in fulscreen
183 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
185 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
186 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
187 (find_page_at_location), (page_changed_cb):
189 Rework border calculation, so that I can more easily disable it.
190 Code somewhat cleaner too.
192 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
194 * backend/ev-page-cache.c: (ev_page_cache_init),
195 (_ev_page_cache_new):
197 Remove some assertions, documents can have 0 pages.
198 Make initial current page -1.
200 * shell/ev-page-action.c: (page_changed_cb):
202 Show "" if current page is -1
204 * shell/ev-window.c: (update_action_sensitivity),
205 (ev_window_setup_document):
207 When document has 0 pages do not set the view
208 and make nearly everything insensitive.
210 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
212 * shell/ev-page-view.c:
213 * shell/ev-page-view.h:
217 * shell/ev-sidebar-thumbnails.c:
218 (ev_sidebar_thumbnails_set_document):
219 * shell/ev-sidebar.c: (ev_sidebar_set_document),
220 (ev_sidebar_supports_document):
221 * shell/ev-sidebar.h:
222 * shell/ev-window.c: (ev_window_setup_document):
224 Doesn't show thumbnails if document has 1 page. Make
225 sidebar menu entries sensitive only if if they have
226 sense. Fix bug 164811.
228 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
230 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
231 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
232 (ev_view_zoom_out), (ev_view_set_size):
234 Rework sizing to deal with documents with not uniform page
237 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
239 * backend/ev-page-cache.c: (_ev_page_cache_new):
241 Fix several page size caching bugs
243 2005-04-15 Luca Ferretti <elle.uca@libero.it>
245 * shell/ev-window.c: (set_action_properties):
247 Make all toolbar items translatable
249 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
251 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
252 (save_page_list), (ps_document_save),
253 (ps_document_document_iface_init), (ps_document_ps_export_begin),
254 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
255 (ps_document_ps_exporter_iface_init):
258 Based on a patch by J�rg Billeter <j@bitron.ch>
260 Implement print and save a copy for the ps backend.
262 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
264 * backend/ev-document.h:
265 * djvu/djvu-document.c: (djvu_document_can_get_text),
266 (djvu_document_document_iface_init):
267 * dvi/dvi-document.c: (dvi_document_can_get_text),
268 (dvi_document_document_iface_init):
270 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
271 (pixbuf_document_document_iface_init):
272 * ps/ps-document.c: (ps_document_can_get_text),
273 (ps_document_document_iface_init):
274 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
275 * shell/ev-window.c: (update_action_sensitivity):
277 Fix the crash when trying to copy in backends that doesnt
278 support it. We can implement a better solution once we
279 do real text selection.
281 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
283 * data/evince-ui.xml:
284 * shell/ev-window.c: (ev_window_cmd_escape):
286 Work around the Escape conflict (find bar and unfullscreen)
288 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
290 * backend/ev-page-cache.c: (ev_page_cache_next_page):
292 Fix for #300233. Next page correctly handles document end.
294 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
295 (ev_sidebar_thumbnails_class_init),
296 (ev_sidebar_thumbnails_set_document),
297 (ev_sidebar_thumbnails_clear_job),
298 (ev_sidebar_thumbnails_clear_model):
300 Cleanup thumbnail jobs on document changes.
302 * shell/ev-view.c: (add_scroll_binding_keypad),
303 (add_scroll_binding_shifted), (ev_view_class_init):
305 Shift + Space scrolls up. Fix for #173184
307 * shell/ev-window.c: (ev_window_open_page),
308 (ev_window_cmd_view_reload):
310 Fix reload (Bug #300094)
312 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
315 * dvi/mdvi-lib/assoc.c:
316 * dvi/mdvi-lib/assoc.h: Removed garbage files
318 * dvi/mdvi-lib/bitmap.c:
319 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
320 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
321 * dvi/mdvi-lib/color.h: Antialias of rules
323 * dvi/mdvi-lib/common.h:
324 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
325 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
326 * dvi/mdvi-lib/files.c:
327 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
328 * dvi/mdvi-lib/mdvi.h:
329 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
330 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
331 * dvi/mdvi-lib/util.c: Fix compile warnings
333 * dvi/dvi-document.c:
334 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
335 (dvi_document_thumbnails_get_thumbnail),
336 (dvi_document_document_thumbnails_iface_init):
337 * dvi/mdvi-lib/Makefile.am:
338 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
339 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
341 Dvi backend now renders thumbnails
343 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
345 * shell/main.c: (main):
347 Save accelerators on exit. Fixes bug #172095.
349 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
351 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
352 update priority" comment.
354 * backend/ev-job-queue.c: Give a way to change priority.
356 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
358 * shell/ev-page-action.c: Fix logic.
360 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
362 * shell/ev-view.c: (ev_view_can_find_next):
363 * shell/ev-window.c: (ev_window_setup_document):
365 Check that the document supports find
367 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
369 * data/evince-ui.xml:
370 * shell/ev-view.c: (ev_view_can_find_next):
372 * shell/ev-window.c: (update_action_sensitivity),
373 (find_changed_cb), (ev_window_setup_document),
374 (ev_window_cmd_edit_find_next):
378 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
381 * shell/ev-print-job.c: (idle_print_handler):
383 Make printing work again
385 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
387 * shell/ev-page-action.h:
388 * shell/ev-page-action.c: (ev_page_action_widget_init),
389 (ev_page_action_widget_class_init), (page_changed_cb),
390 (create_tool_item), (update_page_cache), (build_new_tree_cb),
391 (get_filter_model_from_model), (match_selected_cb),
392 (display_completion_text), (match_completion), (update_model),
393 (connect_proxy), (ev_page_action_set_property),
394 (ev_page_action_get_property), (ev_page_action_set_document),
395 (ev_page_action_set_model), (ev_page_action_class_init): Big
396 reworking to make completions work iff we have >= GTK-2.7.0
398 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
399 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
400 (job_finished_cb): We now have a 'model' property that is set when
401 the links are loaded. This can be caught with "notify::model"
403 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
404 listen for the model to be set, and propagate it to the action.
406 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
408 * cut-n-paste/recent-files/egg-recent-item.c:
409 (egg_recent_item_set_uri), (make_valid_utf8),
410 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
411 * cut-n-paste/recent-files/egg-recent-item.h:
413 Update egg-recent from libegg. This should fix long
414 startup problem. For details see
415 http://bugzilla.gnome.org/show_bug.cgi?id=160531
417 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
419 * cut-n-paste/recent-files/Makefile.am:
420 * data/evince-ui.xml, shell/Makefile.am:
421 * shell/ev-application.c, shell/ev-application.h:
422 * shell/ev-window.c: Recent files support.
424 * configure.ac: Added "ru" to ALL_LINGUAS.
426 * dvju: new backend to support DJVU files.
427 * dvi: new backend to support DVI.
429 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
430 * ev-application.c: Support for new backends.
432 * help, ev-window.c, main.c shell/Makefile.am:
433 Evince user documentation.
435 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
439 * thumbnailer/evince-thumbnailer.c:
441 s/pdf-document/ev-poppler
443 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
450 * ps/ps-document.c: (setup_pixmap):
454 2005-04-05 Kristian Høgsberg <krh@redhat.com>
456 * backend/ev-page-cache.c (ev_page_cache_next_page):
457 * shell/ev-window.c (ev_window_cmd_go_next_page)
458 (ev_window_cmd_go_first_page): Fix of by one errors.
460 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
462 * ps/ps-document.c: (get_page_box):
464 Fix page size calculation
466 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
468 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
469 (ps_document_cleanup), (setup_pixmap), (get_page_box),
470 (get_page_orientation), (setup_page), (document_load),
471 (ps_document_get_page_size), (render_pixbuf_idle):
474 More refactoring to adapt to EvDocument changes
476 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
478 * ps/ps-document.c: (start_interpreter):
480 Actually add alpha args
482 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
486 Make clipboard work again
488 2005-04-04 Kristian Høgsberg <krh@redhat.com>
490 Make searching work again.
492 * backend/ev-document.c:
493 * backend/ev-document.h:
494 * backend/ev-document-find.c:
495 * backend/ev-document-find.h: Change EvDocumentIface so we no
496 longer store the current page or zoom level in the document. The
497 consequence is that all calls that operate on the current page now
498 instead take the page number as an extra argument, and all
499 coordinates are now doubles in document coordinate system.
502 * pixbuf/pixbuf-document.c:
503 * ps/ps-document.c: Update backends accordingly.
505 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
509 Add required gettext version
511 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
513 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
514 make F1 bring up non-existent help.
516 * shell/eggfindbar.c: Patch from Christian Persch to sync to
517 epiphany's find bar, #167477
519 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
520 <emil@nishra.com> to add space-bar scrolling,
522 * shell/ev-window.c (static GtkActionEntry entries): add default
523 keybinding for Help (F1)
526 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
527 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
530 2005-04-01 David Malcolm <dmalcolm@redhat.com>
533 * pixbuf/pixbuf-document.c:
535 Got pixbuf backend working again
537 2005-04-01 Steve Murphy <murf@e-tools.com>
539 * configure.in: Added "rw" to ALL_LINGUAS.
541 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
543 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
544 model types, noticed by Martin Kretzschmar.
546 2005-04-01 Kristian Høgsberg <krh@redhat.com>
548 * pdf/ev-poppler.cc: Implement search based on
549 poppler_page_find_text(). Currently a bit crude since we remember
550 all matches from all pages. Also, we grab the big document lock
551 when we search since searching changes the underlying stream and
552 thus conflicts with the rendering thread.
554 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
555 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
556 (ev_view_find_previous): Fix some page indexes to be 0 based,
557 offset rubber band by view offset,
559 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
561 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
563 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
565 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
566 completely because I didn't understand GtkActions. I should
567 read Marco's code more carefully in the future.
569 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
572 2005-03-31 Kristian Høgsberg <krh@redhat.com>
574 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
575 PopplerRectangle change from poppler CVS.
577 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
579 * backend/ev-document.c: (ev_document_get_page_label):
580 * backend/ev-document.h:
581 * backend/ev-page-cache.c: (_ev_page_cache_new),
582 (ev_page_cache_get_page_label):
583 * backend/ev-page-cache.h:
585 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
586 (links_page_num_func):
587 * shell/ev-sidebar-thumbnails.c:
588 (ev_sidebar_thumbnails_set_document):
589 * shell/ev-view.c: (status_message_from_link),
590 (ev_view_motion_notify_event):
591 * shell/ev-window.c: (document_supports_sidebar): Add in page
592 label support. It's not perfect yet, but it's the first 'feature'
594 Also, fix a bogus comment noticed by crispin.
596 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
598 * Makefile.am: Remove pixbuf backend for now
600 * configure.ac: Require poppler-glib instead of just poppler.
602 * backend/ev-document-thumbnails.h: Add a comment
604 * backend/ev-document.h:
605 * backend/ev-document.c: (ev_document_class_init),
606 (ev_document_load), (ev_document_get_link),
607 (ev_document_get_links): Remove 3 methods and add get_links.
610 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
611 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
613 * backend/ev-link.c: (ev_link_set_title),
614 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
615 (ev_link_mapping_find):
616 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
618 * backend/ev-page-cache.c: (ev_page_cache_init),
619 (_ev_page_cache_new), (ev_page_cache_set_current_page),
620 (ev_page_cache_get_size), (ev_page_cache_next_page),
621 (ev_page_cache_prev_page): Fix to be 0 based.
625 * pdf/ev-poppler.cc: New backend.
627 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
628 (ps_document_get_page), (ps_document_document_iface_init):
630 * shell/ev-pixbuf-cache.h:
631 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
632 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
633 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
634 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
635 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
636 Fix up code to grab a page cache per each doc. Also, fix to be 0
639 * shell/ev-sidebar-thumbnails.c:
640 (ev_sidebar_tree_selection_changed), (page_changed_cb),
641 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
643 * shell/ev-view.c: (status_message_from_link),
644 (find_page_at_location), (get_link_at_location),
645 (ev_view_motion_notify_event), (ev_view_button_release_event),
646 (ev_view_init): Use the new link code. Fix to be 0 based.
648 * shell/ev-window.c: (update_action_sensitivity),
649 (document_supports_sidebar): 0 based.
651 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
653 * pdf/pdf-document.cc: Patch from Fernando Herrera
654 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
657 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
659 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
660 1 to the page, as this seems to be 1 based. I thought we has this
663 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
666 * backend/Makefile.am:
667 * backend/ev-document-links.c:
668 (ev_document_links_has_document_links),
669 (ev_document_links_get_links_model):
670 * backend/ev-document-links.h:
671 * backend/ev-document.c: (ev_document_get_page_cache),
672 (ev_document_get_doc_mutex), (ev_document_load),
673 (ev_document_save), (ev_document_get_title),
674 (ev_document_get_n_pages), (ev_document_set_page),
675 (ev_document_get_page), (ev_document_set_target),
676 (ev_document_set_scale), (ev_document_set_page_offset),
677 (ev_document_get_page_size), (ev_document_get_text),
678 (ev_document_get_link), (ev_document_render),
679 (ev_document_render_pixbuf), (ev_document_scale_changed):
680 * backend/ev-document.h:
681 * backend/ev-job-queue.c: (remove_object_from_queue),
682 (notify_finished), (handle_job), (search_for_jobs_unlocked),
683 (no_jobs_available_unlocked), (ev_render_thread),
684 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
685 (ev_job_queue_remove_job):
686 * backend/ev-job-queue.h:
687 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
688 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
689 (ev_job_links_class_init), (ev_job_render_init),
690 (ev_job_render_dispose), (ev_job_render_class_init),
691 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
692 (ev_job_thumbnail_class_init), (ev_job_finished),
693 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
694 (ev_job_render_run), (ev_job_thumbnail_new),
695 (ev_job_thumbnail_run):
699 * backend/ev-page-cache.c: (ev_page_cache_init),
700 (ev_page_cache_class_init), (ev_page_cache_finalize),
701 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
702 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
703 (ev_page_cache_set_link), (ev_page_cache_get_title),
704 (ev_page_cache_get_size), (ev_page_cache_next_page),
705 (ev_page_cache_prev_page):
706 * backend/ev-page-cache.h:
707 * pdf/pdf-document.cc:
710 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
711 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
712 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
713 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
714 (is_interpreter_ready), (output), (catchPipe), (input),
715 (start_interpreter), (check_filecompressed), (compute_dimensions),
716 (ps_document_enable_interpreter), (document_load),
717 (ps_document_next_page), (render_page), (ps_document_set_page),
718 (ps_document_set_scale), (render_pixbuf_idle),
719 (ps_document_render_pixbuf), (ps_document_document_iface_init):
722 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
723 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
724 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
725 (ev_pixbuf_cache_new), (job_finished_cb),
726 (check_job_size_and_unref), (move_one_job),
727 (ev_pixbuf_cache_update_range), (find_job_cache),
728 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
729 (ev_pixbuf_cache_add_jobs_if_needed),
730 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
731 * shell/ev-pixbuf-cache.h:
732 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
733 (idle_print_handler):
734 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
735 (selection_changed_cb), (create_loading_model),
736 (ev_sidebar_links_construct), (links_page_num_func),
737 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
738 (update_page_callback), (job_finished_cb),
739 (ev_sidebar_links_set_document):
740 * shell/ev-sidebar-thumbnails.c:
741 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
742 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
743 (page_changed_cb), (thumbnail_job_completed_callback),
744 (ev_sidebar_thumbnails_set_document):
745 * shell/ev-sidebar-thumbnails.h:
746 * shell/ev-sidebar.c: (ev_sidebar_set_document):
747 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
748 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
749 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
750 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
751 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
752 (ev_view_button_release_event), (ev_view_scroll_view),
753 (ev_view_class_init), (ev_view_init), (update_find_status_message),
754 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
755 (ev_view_new), (job_finished_cb), (page_changed_cb),
756 (ev_view_set_document), (go_to_link), (ev_view_zoom),
757 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
758 (ev_view_find_previous):
760 * shell/ev-window.c: (update_action_sensitivity),
761 (ev_window_open_page), (update_window_title), (update_total_pages),
762 (page_changed_cb), (ev_window_setup_document),
763 (password_dialog_response), (ev_window_cmd_save_as),
764 (ev_window_print), (ev_window_cmd_go_previous_page),
765 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
766 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
767 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
768 * shell/main.c: (main):
770 Merge evince-threads branch
772 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
774 * configure.ac: Added "lt" to ALL_LINGUAS.
776 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
783 2005-03-13 Fernando Herrera <fherrera@onirica.com>
785 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
787 Fix here also the thumbnails 1-basedness :)
789 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
796 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
798 * pdf/pdf-document.cc:
799 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
800 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
802 Fix the mess we did with thumbnails and 1-basedness
804 2005-03-12 Changwoo Ryu <cwryu@debian.org>
806 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
808 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
815 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
818 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
819 (gtk_gs_defaults_get_alpha_parameters),
820 (gtk_gs_defaults_get_ungzip_cmd),
821 (gtk_gs_defaults_get_unbzip2_cmd):
823 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
824 (ps_document_get_orientation), (document_load),
825 (ps_document_goto_page), (ps_document_set_page_size):
828 Some more sanitization of the ps backend. Remove a lot
829 of unused code and do not base our defaults on ggv
832 2005-03-08 Fernando Herrera <fherrera@onirica.com>
834 * thumbnailer/evince-thumbnailer.schemas:
835 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
836 (main): add -s option for thumbnail size.
838 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
842 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
845 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
847 * pdf/pdf-document.cc:
849 Remove 4 pixels of useless border from the
852 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
854 * backend/ev-document-thumbnails.c:
855 (ev_document_thumbnails_get_thumbnail):
856 * backend/ev-document-thumbnails.h:
858 Rework API a bit. Add a border flag and
859 change sizing logic (now the size we specify
860 applies to the bigger dimension).
862 * pdf/pdf-document.cc:
863 * pixbuf/pixbuf-document.c:
864 (pixbuf_document_thumbnails_get_thumbnail):
865 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
866 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
868 Adapt to the new API and do not draw a border for nautilus
871 2005-03-03 Fernando Herrera <fherrera@onirica.com>
873 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
874 take thumbnails from page "0" instead of "1". Added a copyright header.
876 2005-03-03 Jens Granseuer <jensgr@gmx.net>
878 * ps/ps-document.c: (set_up_page), (start_interpreter):
880 Make it C89 compliant
882 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
887 * pdf/pdf-document.cc:
888 * thumbnailer/Makefile.am:
889 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
891 * thumbnailer/evince-thumbnailer.schemas:
892 * thumbnailer/pdf-icon.png:
894 Add a nautilus thumbnailer.
895 Based on patch by Fernando Herrera <fherrera@onirica.com>.
897 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
905 2005-03-01 Kristian Høgsberg <krh@redhat.com>
907 Use poppler instead of including xpdf source code. Poppler is a
908 fork of xpdf to build it as a shared library. See
909 http://freedesktop.org/wiki/Software/poppler.
911 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
914 * pdf/Makefile.am: Build libpdfdocument.a here.
916 * pdf/GDKSplashOutputDev.cc:
917 * pdf/GDKSplashOutputDev.h:
918 * pdf/GnomeVFSStream.cc:
919 * pdf/GnomeVFSStream.h:
922 * test-gdk-output-dev.cc
924 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
927 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
929 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
931 Clear idle stack before unsetting the document
933 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
935 * ps/ps-document.c: (ps_document_widget_event),
936 (ps_document_set_target), (ps_document_finalize),
937 (ps_document_get_page):
939 Disconnect the widget event signal on finalize.
942 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
944 * ps/ps-document.c: (set_up_page):
946 If there is no bpixmap create one, even if size
949 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
951 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
952 (set_up_page), (document_load), (ps_document_set_zoom):
954 Default page is 0. Calculate size even when we have no
957 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
959 * shell/ev-sidebar.c: expand the selection widget to be always as
962 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
964 * shell/ev-sidebar-thumbnails.c:
965 (ev_sidebar_thumbnails_set_document):
967 Clear the list store when setting document
969 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
971 * shell/ev-page-action.c: (update_entry), (sync_entry),
972 (activate_cb), (entry_size_request_cb), (create_tool_item),
975 Use an entry for the page control instead of spinbuttons
977 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
979 * data/evince.schemas.in:
981 Correct confusing string
983 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
985 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
986 for real. Gosh, how long has this been broken.
988 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
989 check for a NULL link. We crash otherwise.
991 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
998 2005-02-25 Sebastien Bacher <seb128@debian.org>
1000 * configure.ac: add the french translation.
1002 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1004 * shell/ev-window.c:
1006 Remove unused header -> fix distcheck
1008 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1010 * shell/ev-window.c: (update_window_title),
1011 (ev_window_popup_password_dialog):
1013 Unescape filename for display
1015 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1017 * pdf/xpdf/pdf-document.cc:
1019 In get_page_size deal with rotation. Also
1020 cleanup the function a bit.
1022 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1024 * pdf/xpdf/pdf-document.cc:
1026 Fix crash when opening in new window
1028 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1032 Check ghostscript >= 7
1034 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
1036 * shell/ev-window.c:
1038 Make page width the default sizing mode
1040 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
1041 Marco Pesenti Gritti <marco@gnome.org>
1043 * shell/ev-window.c: Remember the sidebar size
1045 * data/evince.schemas.in: Add a new gconf key to store the size of
1048 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
1050 * data/evince-ui.xml:
1051 * shell/ev-window.c: (update_action_sensitivity),
1052 (ev_window_cmd_view_reload):
1054 Add a "Reload" action and menu entry
1056 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
1058 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
1059 iff the type doesn't support thumbnailing and indexing.
1061 2005-02-24 Martin Kretzschmar <martink@gnome.org>
1063 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
1065 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1067 * pdf/splash/Splash.cc:
1069 Port fix for a crasher from kde bug
1070 http://bugs.kde.org/show_bug.cgi?id=97131
1072 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1074 * pdf/xpdf/pdf-document.cc:
1076 Return a link even if it's of an unrecognized
1077 type. Otherwise we go in an infinte cycle.
1079 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1081 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
1082 (size_allocate_cb), (ev_window_set_sizing_mode):
1084 Update size when switching mode
1086 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1088 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
1089 (ev_window_cmd_view_page_width), (update_sizing_buttons),
1090 (ev_window_cmd_view_normal_size):
1092 Fix size toggle buttons behavior
1094 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1096 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
1097 (doc_rect_to_view_rect), (ev_view_size_allocate),
1098 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
1099 (scale_changed_callback):
1101 Do not cache offsets in size_allocate.
1103 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1105 * shell/ev-view.c: (ev_view_size_allocate):
1107 Calculate offsets before calling the parent
1108 class (which does a redraw)
1110 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1112 * pdf/xpdf/pdf-document.cc:
1114 Fix a crasher on exit. Unused code, put a TODO
1116 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
1118 * backend/ev-document.c: (ev_document_class_init),
1119 (ev_document_page_changed), (ev_document_scale_changed):
1120 * backend/ev-document.h:
1122 Separate page/scale notifications
1124 * pdf/xpdf/pdf-document.cc:
1126 Emit the new signals.
1127 Do not display the pdf page in _render, do it
1128 when scale/page are requested.
1130 * ps/ps-document.c: (ps_document_set_zoom),
1131 (ps_document_widget_event):
1134 Emit the new signals.
1136 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
1137 (ev_view_init), (page_changed_callback), (scale_changed_callback),
1138 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
1139 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
1141 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
1142 (ev_window_cmd_view_page_width), (size_allocate_cb),
1143 (ev_window_set_sizing_mode):
1145 Rework sizing to be pixel based.
1146 There are bugs but should be already way better.
1148 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
1150 * shell/ev-window.c: (ev_window_init):
1152 Do not allow to shrink sidebar smaller then
1155 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
1157 * shell/ev-sidebar.[ch]
1158 * shell/ev-window.c:
1160 Improved sidebar widget. Fixes #166683
1162 2005-02-23 Tommi Vainikainen <thv@iki.fi>
1164 * shell/ev-view.c (update_find_status_message): Give translators
1165 more flexibility with ngettext plural handling.
1167 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
1169 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
1170 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
1171 page when we get the page size.
1173 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
1175 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
1177 ps pages are 0 based, convert
1179 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
1181 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
1183 Initialize correct parent class. Set GError on document load
1185 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
1187 * pdf/xpdf/pdf-document.cc:
1189 Fixup selection offset calculation
1191 * shell/ev-view.c: (view_rect_to_doc_rect),
1192 (doc_rect_to_view_rect), (ev_view_size_allocate),
1193 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
1194 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
1196 Store selection as document relative, so that zooming
1197 and offset changing doesnt break it.
1199 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
1201 * shell/ev-view.c: (ev_view_best_fit):
1203 Do not try to best fit if the view is not realized
1205 2005-02-20 Kostas Papadimas <pkst@gnome.org>
1207 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
1209 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
1211 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
1213 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
1215 * shell/ev-window.c: Change the fullscreen toolbar to always be in
1216 the popup window. That prevents it resizing when in full screen
1219 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
1220 multiple rerenders. This pretty much sucks.
1222 * data/evince-ui.xml: Change the fullscreen toolbar to include the
1223 rest of the toolbar.
1225 2005-02-18 Tommi Vainikainen <thv@iki.fi>
1227 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
1229 2005-02-17 Alexander Shopov <ash@contact.bg>
1231 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1233 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
1235 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
1237 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
1239 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
1240 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
1241 (set_document_page), (document_changed_callback),
1242 (ev_view_set_document), (ev_view_find_previous),
1243 (ev_view_hide_cursor), (ev_view_show_cursor):
1245 * shell/ev-window.c: (update_chrome_visibility),
1246 (fullscreen_timeout_cb), (fullscreen_set_timeout),
1247 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
1248 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
1249 (ev_window_unfullscreen):
1250 * shell/main.c: (main):
1252 Automatically hide the fullscreen button.
1253 Patch by Kristian Høgsberg <krh@redhat.com>
1255 2005-02-16 Vincent Noel <vnoel@cox.net>
1257 * shell/main.c (main): Specify an icon for the window. Patch by
1258 Jaap A. Haitsma. Fixes #166177.
1260 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
1262 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
1264 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
1266 * backend/ev-document-misc.h:
1267 * backend/ev-document-misc.c:
1268 (ev_document_misc_get_page_border_size),
1269 (ev_document_misc_paint_one_page): New function to canonicalize
1270 sizing/painting a border.
1272 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
1275 * pdf/xpdf/pdf-document.cc: use new function
1277 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
1278 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
1279 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
1280 shell/ev-window.c: (update_sizing_buttons),
1281 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
1282 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
1283 (ev_window_cmd_view_page_width), (size_allocate_cb),
1284 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
1285 and "fit width" values act as toggle buttons so they stay
1286 toggled. It's not 100% perfect, and it's a little slow, but it's
1287 good enough to commit I think.
1289 2005-02-15 David Lodge <dave@cirt.net>
1291 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
1293 2005-02-15 Martin Kretzschmar <martink@gnome.org>
1295 * shell/ev-window.c (update_window_title): replace newlines in
1296 the title by spaces. Bug #166107.
1298 2005-02-14 Martin Kretzschmar <martink@gnome.org>
1300 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
1301 parameters providing allocation width and height without
1302 scrollbars and width of a possible vertical scrollbar. With this
1303 additional information the functions can work as
1304 intended. Unfortunately they're not idempotent. We should
1305 transform these commands to toggles. Fixes Bug #164976
1306 Initial patch by Stephane Loeuillet, then heavily modified.
1308 * shell/ev-view.h: update prototypes.
1310 * shell/ev-window.c (ev_window_cmd_view_best_fit)
1311 (ev_window_cmd_view_page_width): provide EvView fit functions with
1312 all the information they need. Formulas to calculate this
1313 information taken from GtkScrolledWindow.
1315 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
1317 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
1318 created a thumbnail, the list store is updated to know
1319 that the thumbnail is set. Fixes bug #166792
1321 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
1323 * shell/ev-window.c: fixed typo, closes bug 166897
1325 * TODO: updated TODO with bug numbers that are relevant
1327 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
1329 * shell/ev-window.c: Support for DnD of files. Fixes #164813
1331 2005-02-09 Vincent Noel <vnoel@cox.net>
1333 * shell/ev-window.c: (set_action_properties): Set the "Previous"
1334 and "Next" toolbar buttons as important to make them stand out.
1336 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
1340 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
1341 (start_interpreter), (stop_interpreter), (document_load),
1342 (ps_document_next_page), (ps_document_goto_page),
1343 (ps_document_set_page_size), (ps_document_widget_event),
1344 (ps_document_render):
1345 * shell/ev-page-view.c: (ev_page_view_dispose):
1346 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
1348 Fix compilation on non-gcc platforms
1350 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
1357 * pdf/xpdf/Catalog.cc:
1360 Fix the fix for CAN-2004-0888
1362 2005-02-09 Luca Ferretti <elle.uca@libero.it>
1365 * data/evince-ui.xml:
1366 * shell/ev-stock-icons.c: (ev_stock_icons_init):
1367 * shell/ev-stock-icons.h:
1368 * shell/ev-window.c: (update_action_sensitivity),
1369 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
1370 (set_action_properties):
1372 Improve toolbar layout/icons
1374 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
1376 * pdf/xpdf/pdf-document.cc:
1378 Add warnings about unimplemented/unknown link
1381 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1383 * ps/ps-document.c: (set_up_page):
1387 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1389 * ps/ps-document.c: (start_interpreter):
1393 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1395 * shell/ev-page-view.c: (ev_page_view_dispose):
1396 * shell/ev-view.c: (ev_view_finalize):
1397 * shell/ev-window.c: (ev_window_setup_document),
1398 (ev_window_dispose), (ev_window_init):
1400 Solve more refs issues.
1402 I commented out the page_view initialization for now:
1403 it was never destroyed (because it's never added
1404 to a container). Because of that we was leaking
1405 gs processes. Couldnt think to a clean fix.
1406 We need to figure this out, password view has the
1407 same issue probably.
1409 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1411 * ps/ps-document.c: (ps_document_finalize),
1412 (ps_document_get_n_pages), (ps_document_get_page):
1414 Some cleanups, stop the interpreter on finalize
1416 * shell/ev-page-view.c: (ev_page_view_dispose),
1417 (ev_page_view_class_init):
1419 Release our reference on the document
1421 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1425 * doc/debugging.txt:
1428 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
1429 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
1430 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
1433 Add debugging helpers
1436 * ps/ps-document.c: (set_up_page), (start_interpreter),
1437 (stop_interpreter), (document_load), (ps_document_next_page),
1438 (ps_document_goto_page), (ps_document_set_page_size),
1439 (ps_document_widget_event), (ps_document_render):
1440 * shell/Makefile.am:
1441 * shell/ev-view.c: (expose_bin_window):
1442 * shell/main.c: (main):
1446 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1448 * ps/ps-document.c: (ps_document_widget_event):
1450 Initialize message_window, this should make ps
1451 rendering really work! (Never noticed because I was
1452 testing with a ps that is causing gs to exit every time!)
1454 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
1456 * data/evince.schemas.in: updated simple error in applyto closing tag
1458 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
1464 * data/evince-ui.xml:
1465 A data/evince.schemas.in:
1467 * shell/ev-stock-icons.c: (ev_stock_icons_init):
1468 * shell/ev-stock-icons.h:
1469 * shell/ev-window.c: (update_chrome_visibility),
1470 (update_chrome_flag), (ev_window_cmd_edit_find),
1471 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
1472 (ev_window_unfullscreen), (ev_window_focus_in_event),
1473 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
1474 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
1475 (ev_window_view_sidebar_cb), (find_bar_close_cb),
1476 (ev_window_dispose), (ev_window_class_init),
1477 (set_action_properties), (set_chrome_actions), (load_chrome),
1480 Implement fullscreen mode changes from bug #164776.
1481 Also implement persistent chrome toggles.
1483 2005-02-07 Jordi Mallach <jordi@sindominio.net>
1485 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
1487 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1493 Add another check for find interface
1497 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1499 * shell/ev-application.c: (ev_application_open):
1500 * shell/ev-window.c: (ev_window_open):
1502 Open gzipped ps documents
1504 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1507 * shell/ev-view.c: (set_document_page):
1509 Clamp page number, dont try to move to
1512 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1514 * backend/ev-document-find.c: (ev_document_find_changed):
1515 * backend/ev-document-find.h:
1516 * pdf/xpdf/pdf-document.cc:
1517 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
1518 * shell/ev-window.c: (find_bar_search_changed_cb):
1520 Fix several bugs with find
1522 2005-02-04 Martin Kretzschmar <martink@gnome.org>
1524 * shell/ev-sidebar-thumbnails.c
1525 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
1526 document. Prevents warning from scroll_to_cell.
1528 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
1530 * configure.ac: Add «nb» to ALL_LINGUAS too.
1532 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
1534 * NOTES: New file with some random thoughts.
1538 * backend/ev-document-misc.c:
1539 (ev_document_misc_get_page_border_size): New function to
1540 canonicalize shadow drawing sizes. Possibly goofy.
1542 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
1543 (ev_view_best_fit), (ev_view_fit_width):
1544 * pdf/xpdf/pdf-document.cc:
1545 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
1546 * ps/ps-document.c: (ps_document_get_page_size):
1547 * backend/ev-document-misc.h:
1548 * backend/ev-document.c: (ev_document_get_page_size):
1549 * backend/ev-document.h: get_page_size now takes a page number
1550 parameter. Made all the backends/frontends honor it.
1552 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
1553 see. Doesn't work yet.
1555 * shell/Makefile.am:
1556 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
1557 Doesn't do anything yet.
1559 * shell/ev-sidebar-thumbnails.c:
1560 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
1563 * shell/ev-window.c: (update_action_sensitivity),
1564 (ev_window_setup_document), (ev_window_set_page_mode),
1565 (ev_window_page_mode_cb), (ev_window_init): Clean up the
1566 view-swapping code a bit so we can have multiple views on a
1567 document. Add the multi-page view, though it can't be turned on
1570 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
1572 * shell/ev-application.c: (ev_application_open):
1573 * shell/ev-view.c: (expose_bin_window):
1574 * shell/ev-window.c: (ev_window_open):
1576 Support eps and check document supports find
1577 before drawing highlightings in expose.
1579 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
1581 * pixbuf/pixbuf-document.c:
1582 (pixbuf_document_thumbnails_get_dimensions),
1583 (pixbuf_document_document_thumbnails_iface_init):
1585 implement get_dimensions
1587 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
1594 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1596 * shell/ev-view.c: (set_document_page):
1598 Scroll at the top of the page when changing page
1600 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1602 * shell/ev-view.c: (ev_view_motion_notify_event):
1604 Do not redraw unnecessarily
1606 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1608 * pdf/xpdf/pdf-document.cc:
1609 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
1610 (expose_bin_window), (find_changed_cb):
1612 Yay! find works now... Now to find bugs...
1614 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1616 * backend/ev-document-find.c: (ev_document_find_base_init),
1617 (ev_document_find_changed):
1618 * backend/ev-document-find.h:
1619 * pdf/xpdf/pdf-document.cc:
1620 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
1621 (expose_bin_window), (ev_view_init), (set_document_page),
1622 (ensure_rectangle_is_visible), (jump_to_find_result),
1623 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
1624 (ev_view_find_next), (ev_view_find_previous):
1626 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
1628 More work on find implementation, mostly there now
1630 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
1632 * backend/ev-backend-marshalers.list:
1633 * backend/ev-document-find.c: (ev_document_find_base_init),
1634 (ev_document_find_cancel), (ev_document_find_page_has_results),
1635 (ev_document_find_get_n_results), (ev_document_find_get_result),
1636 (ev_document_find_get_progress), (ev_document_find_changed):
1637 * backend/ev-document-find.h:
1639 Enanche the find interface to be really able to do
1642 * pdf/xpdf/pdf-document.cc:
1646 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
1647 (expose_bin_window), (ev_view_init),
1648 (ev_view_get_find_status_message), (find_changed_cb),
1649 (ev_view_set_document), (set_document_page):
1651 Adapt to the new interface. A few things are regressed sorry,
1652 I will finish it soon.
1654 2005-01-28 Martin Kretzschmar <martink@gnome.org>
1656 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
1657 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
1658 ev_sidebar_thumbnails_parent_class variable, don't define another
1659 parent_class variable.
1661 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
1662 (ev_page_action_class_init): ditto.
1664 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
1665 (pixbuf_document_class_init): ditto.
1667 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
1670 * .cvsignore: ignore various valgrind output files.
1672 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
1674 * data/evince-ui.xml:
1675 * shell/Makefile.am:
1676 * shell/ev-history.c:
1677 * shell/ev-history.h:
1678 * shell/ev-navigation-action.c:
1679 * shell/ev-navigation-action.h:
1680 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
1681 (ev_view_set_page), (ev_view_fit_width):
1683 * shell/ev-window.c: (update_action_sensitivity),
1684 (ev_window_setup_document), (register_custom_actions):
1686 Kill session history
1688 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
1690 * shell/ev-window.c: (update_action_sensitivity):
1692 Fix inverted up/down buttons
1694 2005-01-27 Martin Kretzschmar <martink@gnome.org>
1696 * shell/ev-sidebar-thumbnails.c
1697 (ev_sidebar_thumbnails_select_page): make sure the selected
1698 thumbnail stays visible.
1700 2005-01-26 Martin Kretzschmar <martink@gnome.org>
1702 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
1703 scrolled window for Federico.
1705 2005-01-26 Ole Laursen <olau@hardworking.dk>
1707 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
1709 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
1712 * pdf/splash/SplashFTFontEngine.cc:
1714 Fix CID fonts with freetype 2.1.9
1716 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
1718 * TODO: added item for desktop icon thumbnailer
1720 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
1722 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
1723 unloaded docs when the title is accessed.
1725 * shell/ev-password-view.[hc]: New widget for displaying password
1728 * shell/ev-window.[ch]: Refactor password handling code to handle
1731 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
1739 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
1741 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
1742 ignore page offset here, to make search results independent of it,
1744 * shell/ev-view.c (expose_bin_window): but take offsets into
1745 account here. Bug #164932
1747 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
1748 scale at the right time. Bug #164996
1750 2005-01-22 Martin Kretzschmar <martink@gnome.org>
1752 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
1753 fix the problem. Now I just removed the Adobe font names and hope
1754 that the URW fonts are always in outline format. Bug #164934
1756 * shell/ev-window.c (update_window_title): empty titles are
1757 useless, use filename in that case too.
1759 * NEWS: Add some content.
1761 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
1763 * TODO: added one more TODO item and a TODONE section :)
1765 2005-01-21 Martin Kretzschmar <martink@gnome.org>
1767 * ps/ps-document.h: add page_[xy]_offset fields.
1769 * ps/ps-document.c (ps_document_set_page_offset)
1770 (ps_document_render): Keep offset in consideration in a few
1771 places. Bug #164752 "postscript documents are not centered in
1774 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
1775 s/gpdf/evince/. Spotted by Stephane Loeuillet.
1777 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
1778 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
1779 stub out missing methods for complete EvDocument implementation.
1780 Fixes segfaults with Save A Copy and Copy actions.
1782 * ps/ps-document.c (ps_document_save, ps_document_get_text)
1783 (ps_document_document_iface_init): ditto.
1785 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1789 * data/evince.desktop.in:
1793 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1795 * shell/ev-view.c: (ev_view_button_press_event),
1796 (ev_view_motion_notify_event):
1798 Make selection work in any direction
1800 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1803 * shell/ev-window.c: (set_short_labels), (ev_window_init):
1805 Use shorter labels for some of the toolbars items
1807 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1809 * pdf/xpdf/pdf-document.cc:
1811 Check the links info is initialized before
1812 using it. Should fix a crash on startup.
1814 2005-01-21 Martin Kretzschmar <martink@gnome.org>
1816 * pixbuf/pixbuf-document.c
1817 (pixbuf_document_thumbnails_get_dimensions): force floating point
1818 division to calculate page_ratio. Fixes crash with landscape
1821 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
1823 * shell/ev-view.c (ev_view_realize): make the bg color darker.
1825 2005-01-20 Martin Kretzschmar <martink@gnome.org>
1827 * shell/ev-view.c (set_document_page): unset has_selection when
1829 (set_document_page): handle paper size changes when the page
1830 changes (test with Free Culture, page 2).
1832 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1834 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
1835 (expose_bin_window), (ev_view_class_init), (ev_view_init):
1837 Use normal style color for the widget background and
1838 draw a black box around the page.
1840 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1842 * pdf/xpdf/pdf-document.cc:
1844 Keep offset in consideration in a few places
1846 * shell/ev-view.c: (expose_bin_window):
1848 Set the offsets so that the document is ever centered
1850 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
1852 * TODO: Added TODO items and finished off the first todo item
1854 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
1855 reflect current authors
1857 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1859 * pdf/xpdf/pdf-document.cc:
1860 * shell/ev-view.c: (ev_view_set_cursor),
1861 (ev_view_motion_notify_event), (document_changed_callback),
1862 (set_document_page):
1864 Show a wait cursor while the page is rendering
1866 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1868 * shell/ev-sidebar-thumbnails.c:
1869 (ev_sidebar_tree_selection_changed),
1870 (ev_sidebar_thumbnails_select_page):
1871 * shell/ev-sidebar-thumbnails.h:
1872 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
1873 (ev_view_can_go_forward):
1874 * shell/ev-window.c: (ev_window_open_page),
1875 (ev_window_setup_document), (update_current_page),
1876 (view_page_changed_cb), (ev_window_init):
1877 * shell/ev-window.h:
1879 Ensure thumbnails selection, toolbar page control and
1880 current page are in sync.
1882 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
1888 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
1890 * backend/Makefile.am:
1891 * backend/ev-document-links.h:
1892 * backend/ev-document-security.c: (ev_document_security_get_type),
1893 (ev_document_security_has_document_security),
1894 (ev_document_security_set_password):
1895 * backend/ev-document-security.h:
1896 * backend/ev-document.c: (ev_document_error_quark):
1897 * backend/ev-document.h:
1899 * data/evince-password.glade:
1900 * pdf/xpdf/pdf-document.cc:
1901 * shell/Makefile.am:
1902 * shell/ev-password.c: (ev_password_set_bad_password_label),
1903 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
1904 (ev_password_dialog_get_password),
1905 (ev_password_dialog_set_bad_pass):
1906 * shell/ev-password.h:
1907 * shell/ev-window.c: (ev_window_get_attribute),
1908 (ev_window_set_property), (update_action_sensitivity),
1909 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
1910 (ev_window_setup_document), (ev_window_get_password),
1911 (ev_window_open), (ev_window_cmd_save_as),
1912 (using_postscript_printer), (ev_window_print),
1913 (find_not_supported_dialog), (ev_window_cmd_edit_find),
1914 (update_fullscreen_popup), (ev_window_fullscreen),
1915 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1916 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
1917 (menu_item_select_cb), (find_bar_search_changed_cb),
1918 (ev_window_dispose), (ev_window_init):
1920 Add initial support for password-supported dialogs. This could be
1921 a lot cooler, but it'll do for now.
1923 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
1925 * pdf/xpdf/pdf-document.cc:
1926 * shell/ev-view.c: (status_message_from_link),
1927 (ev_view_set_status), (ev_view_set_cursor),
1928 (ev_view_motion_notify_event), (ev_view_init):
1929 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
1931 Fix bugs in the links implementation and change cursor
1932 when hovering a link.
1934 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
1936 * viewer/.cvsignore: added cvsignore file for viewer directory
1938 * TODO: created TODO document
1940 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
1943 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
1944 new functions to help with implementation of sensitivity code
1945 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
1946 of all actions that might require it. Fixes a crash when you
1947 click on the Zoom actions in a window lacking a document.
1949 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
1951 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
1954 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
1956 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
1957 (pixbuf_document_document_iface_init):
1958 * ps/ps-document.c: (ps_document_get_link),
1959 (ps_document_document_iface_init):
1960 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
1961 (status_message_from_link), (ev_view_set_status),
1962 (ev_view_set_find_status), (ev_view_motion_notify_event),
1963 (ev_view_button_release_event), (ev_view_set_property),
1964 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
1965 (ev_view_get_find_status_message), (update_find_results),
1966 (ev_view_get_status), (ev_view_get_find_status):
1968 * shell/ev-window.c: (view_status_changed_cb),
1969 (view_find_status_changed_cb), (ev_window_init):
1971 View status message support, use it to show the links.
1974 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
1976 * backend/ev-document.c: (ev_document_get_link):
1977 * backend/ev-document.h:
1978 * pdf/xpdf/pdf-document.cc:
1979 * shell/ev-application.c: (ev_application_open):
1980 * shell/ev-application.h:
1981 * shell/ev-sidebar-links.c: (selection_changed_cb):
1982 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
1983 (ev_view_go_to_link):
1985 Add support for document links
1987 2005-01-13 Anders Carlsson <andersca@gnome.org>
1989 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
1991 Set the spin button limits correctly.
1993 * shell/ev-sidebar-thumbnails.c:
1994 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
1995 Support changing pages by clicking on the thumbnails.
1997 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
1999 * pixbuf/pixbuf-document.c:
2000 (pixbuf_document_thumbnails_get_dimensions),
2001 (pixbuf_document_document_thumbnails_iface_init):
2003 implement get_dimensions
2005 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
2007 * ps/ps-document.c: (ps_document_goto_page):
2009 Fix page switching on multipage documents
2011 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
2013 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
2015 check for NULL before assigning to width and height parameters
2017 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
2019 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2020 (pixbuf_document_set_property), (pixbuf_document_get_property):
2022 implement get/set properties
2024 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
2026 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
2028 return NULL instead of "Unknown", letting the title get set to
2029 the filename when the pdf has no title.
2031 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
2033 * ps/ps-document.c: (ps_document_get_page_count),
2034 (ps_document_goto_page):
2036 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
2038 * shell/ev-history.c: (ev_history_get_property),
2039 (ev_history_set_property), (ev_history_class_init),
2040 (ev_history_add_page), (ev_history_set_current_index):
2041 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
2042 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
2043 (ev_navigation_action_finalize):
2044 * shell/ev-navigation-action.h:
2045 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
2046 (ev_view_go_forward), (ev_view_get_find_status_message),
2047 (history_index_changed_cb), (ev_view_set_history):
2049 * shell/ev-window.c: (update_total_pages), (ev_window_open),
2050 (update_current_page), (register_custom_actions):
2052 Implement history dropdowns
2054 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
2056 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
2057 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
2058 (ev_view_go_forward):
2059 * shell/ev-window.c: (register_custom_actions):
2061 Fix several history bugs
2063 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
2065 * configure.ac: Add «nb» to ALL_LINGUAS.
2067 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
2069 * backend/Makefile.am:
2070 * backend/ev-bookmark.c:
2071 * backend/ev-bookmark.h:
2072 * backend/ev-document-bookmarks.c:
2073 * backend/ev-document-bookmarks.h:
2074 * backend/ev-document-links.c: (ev_document_links_get_type),
2075 (ev_document_links_has_document_links),
2076 (ev_document_links_begin_read), (ev_document_links_get_link),
2077 (ev_document_links_get_child), (ev_document_links_next),
2078 (ev_document_links_free_iter):
2079 * backend/ev-document-links.h:
2080 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
2081 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
2082 (ev_link_get_link_type), (ev_link_set_link_type),
2083 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
2084 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
2085 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
2086 (ev_link_new_external):
2087 * backend/ev-link.h:
2088 * pdf/xpdf/pdf-document.cc:
2089 * shell/Makefile.am:
2090 * shell/ev-application.c: (ev_application_open_link):
2091 * shell/ev-application.h:
2092 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
2093 (ev_history_get_link_nth):
2094 * shell/ev-history.h:
2095 * shell/ev-sidebar-bookmarks.c:
2096 * shell/ev-sidebar-bookmarks.h:
2097 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2098 (ev_sidebar_links_class_init), (selection_changed_cb),
2099 (ev_sidebar_links_construct), (ev_sidebar_links_init),
2100 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
2101 (do_one_iteration), (populate_links_idle),
2102 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
2103 * shell/ev-sidebar-links.h:
2104 * shell/ev-sidebar.c: (ev_sidebar_set_document):
2105 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
2108 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
2109 * shell/ev-window.h:
2111 Rename bookmark to link, and use "Index" for the sidebar panel.
2113 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
2115 * shell/Makefile.am:
2116 * shell/ev-application.c: (ev_application_open_bookmark):
2117 * shell/ev-application.h:
2118 * shell/ev-history.c: (ev_history_init), (free_links_list),
2119 (ev_history_finalize), (ev_history_class_init),
2120 (ev_history_add_link), (ev_history_add_page),
2121 (ev_history_get_link_nth), (ev_history_get_n_links),
2122 (ev_history_get_current_index), (ev_history_set_current_index),
2124 * shell/ev-history.h:
2125 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
2126 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
2127 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
2128 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
2131 * shell/ev-window.c: (ev_window_open_bookmark),
2132 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
2133 (goto_page_cb), (register_custom_actions):
2134 * shell/ev-window.h:
2136 Initial history implementation. Needs work.
2138 2005-01-09 Martin Kretzschmar <martink@gnome.org>
2140 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
2142 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
2144 * cut-n-paste/recent-files/egg-recent-item.c:
2145 * cut-n-paste/recent-files/egg-recent-item.h:
2146 * cut-n-paste/recent-files/egg-recent-model.c:
2147 * cut-n-paste/recent-files/egg-recent-util.c:
2148 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2149 * cut-n-paste/recent-files/egg-recent-view.c:
2153 2005-01-08 Martin Kretzschmar <martink@gnome.org>
2155 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
2156 (fillGlyph, fillImageMask, drawImage):
2157 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
2158 pdf/splash/SplashTypes.h:
2159 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
2160 packed mode for Splash.
2162 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
2163 RGB8 packed mode, eliminates the pixbuf data creation loop.
2165 * shell/ev-print-job.c (ev_print_job_finalize)
2166 (ev_print_job_set_property, ev_print_job_get_property)
2167 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
2168 (ev_print_job_use_print_dialog_settings, idle_print_handler)
2169 (print_closure_finalize, ev_print_job_print): implement
2170 printing (for backends with EvPsExporter)
2172 * shell/ev_print_job.h: update prototypes.
2174 * shell/ev-window.c (ev_window_print): unref print job after
2177 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
2178 unless the document implements the EvDocumentFind interface.
2180 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
2182 * configure.ac: Added ja to ALL_LINGUAS.
2184 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
2186 * pdf/xpdf/pdf-document.cc:
2188 add a FIXME. We should probably not allocate
2189 a bookmark object every time
2191 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
2193 * shell/ev-application.c: (ev_application_open),
2194 (ev_application_open_bookmark):
2195 * shell/ev-application.h:
2197 Add a way to open bookmarks
2199 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
2200 (ev_bookmark_set_uri), (ev_bookmark_get_property),
2201 (ev_bookmark_set_property), (ev_bookmark_class_init),
2202 (ev_bookmark_new_title), (ev_bookmark_new_link),
2203 (ev_bookmark_new_external):
2205 Support for external uris, better constructors.
2207 * backend/ev-bookmark.h:
2208 * pdf/xpdf/pdf-document.cc:
2209 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
2211 Handle external uris
2213 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
2215 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
2216 (ev_sidebar_bookmarks_construct), (do_one_iteration):
2218 Hook up bookmarks navigation
2220 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
2222 * backend/Makefile.am:
2223 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
2224 (ev_bookmark_get_title), (ev_bookmark_set_title),
2225 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
2226 (ev_bookmark_get_page), (ev_bookmark_set_page),
2227 (ev_bookmark_get_property), (ev_bookmark_set_property),
2228 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
2230 * backend/ev-bookmark.h:
2231 * backend/ev-document-bookmarks.c:
2232 (ev_document_bookmarks_get_bookmark):
2233 * backend/ev-document-bookmarks.h:
2234 * pdf/xpdf/pdf-document.cc:
2235 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
2237 Add a bookmark object to the backend and use it instead of get_values
2239 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
2241 * data/evince-ui.xml:
2243 Cleanup and add select all.
2245 * shell/ev-view.c: (ev_view_select_all),
2246 (ev_view_button_press_event):
2248 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
2251 Clear selection on click.
2253 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
2255 * shell/ev-sidebar-thumbnails.c
2256 (ev_sidebar_thumbnails_set_document): forgot to unref the
2259 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
2261 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
2262 at the visible page, not just linearly. This makes it look fast.
2264 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
2266 * backend/ev-document-misc.c
2267 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
2269 * backend/ev-document-thumbnails.h: New interface to get the size
2272 2005-01-06 Jeremy Katz <katzj@redhat.com>
2274 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
2277 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
2279 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
2280 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
2283 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
2285 2005-01-05 Martin Kretzschmar <martink@gnome.org>
2287 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
2288 fonts. Should fix font problems on systems that have the base
2289 fonts in bitmap format. Reported by James Henstridge
2290 <james@jamesh.id.au>.
2292 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2295 * pdf/xpdf/GfxState.cc:
2297 Fix for CAN-2004-1125
2299 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2301 * shell/ev-view.c: (ev_view_copy):
2303 * shell/ev-window.c: (ev_window_cmd_edit_copy):
2305 Implement Edit->Copy
2307 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2309 * backend/ev-document.c: (ev_document_get_text):
2310 * backend/ev-document.h:
2311 * pdf/xpdf/pdf-document.cc:
2312 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
2313 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2314 (ev_view_update_primary_selection), (ev_view_button_press_event),
2315 (ev_view_motion_notify_event), (ev_view_button_release_event):
2317 Beginnings of clipboard support. Incomplete but primary sort
2320 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2322 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
2323 (expose_bin_window):
2325 Nicer rubberband drawing, from GtkIconView.
2327 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2329 * backend/ev-document.c: (ev_document_save):
2330 * backend/ev-document.h:
2331 * data/evince-ui.xml:
2332 * pdf/xpdf/pdf-document.cc:
2333 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
2335 Implement "Save a copy..." menu item
2337 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
2339 * shell/ev-view.c: (ev_view_zoom):
2341 Queue a resize when zoom changes
2343 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
2345 * backend/ev-document-misc.[ch]: New misc file to do simple drop
2348 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
2351 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
2353 * pdf/xpdf/pdf-document.cc
2354 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
2356 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
2358 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
2359 It's slow, but I'll speed it up next!
2361 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
2363 * shell/main.c (load_files):
2365 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
2366 from the command line and because it seems more appropriate.
2368 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
2370 * data/evince-ui.xml:
2371 * shell/ev-window.c: (update_action_sensitivity),
2372 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
2374 s/next page/page down
2375 s/previous page/page up
2377 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
2379 * data/evince-ui.xml:
2381 Change the layout to match clarkbw design.
2383 * shell/Makefile.am:
2384 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
2385 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
2386 (ev_navigation_action_finalize),
2387 (ev_navigation_action_set_property),
2388 (ev_navigation_action_get_property),
2389 (ev_navigation_action_class_init):
2390 * shell/ev-navigation-action.h:
2392 Implement clarkbw toolbar navigation controls (incomplete)
2394 * shell/ev-page-action.c: (update_label), (update_spin),
2395 (value_changed_cb), (create_tool_item), (connect_proxy),
2396 (ev_page_action_init), (ev_page_action_finalize),
2397 (ev_page_action_set_property), (ev_page_action_get_property),
2398 (ev_page_action_set_current_page),
2399 (ev_page_action_set_total_pages), (ev_page_action_class_init):
2400 * shell/ev-page-action.h:
2402 Implement a page switcher in the toolbar
2404 * shell/ev-view.c: (ev_view_scroll_view):
2405 * shell/ev-window.c: (update_total_pages), (ev_window_open),
2406 (update_current_page), (view_page_changed_cb), (goto_page_cb),
2407 (register_custom_actions), (ev_window_init):
2409 Change page on PageUp/Down.
2411 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
2413 * pdf/xpdf/pdf-document.cc
2414 (pdf_document_thumbnails_get_thumbnail): initial stab at
2415 implementing thumbnail support for pdfs. It only does documents
2416 with precached pdfs now.
2418 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
2420 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
2421 thumbnail code into a time-based idle as well. Also, turn off the
2422 shadow temporarily as it's really slow.
2424 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
2426 * backend/ev-document.c: (ev_document_class_init):
2427 * pdf/xpdf/pdf-document.cc:
2428 * shell/ev-window.c: (ev_window_open):
2430 Fix document title bugs and fallback to
2431 filename when not available.
2433 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
2435 * backend/ev-document.c: (ev_document_get_type),
2436 (ev_document_class_init), (ev_document_load),
2437 (ev_document_get_title):
2438 * backend/ev-document.h:
2439 * pdf/xpdf/pdf-document.cc:
2440 * ps/ps-document.c: (ps_document_set_property),
2441 (ps_document_get_property), (ps_document_class_init),
2445 * shell/ev-window.c: (update_window_title), (ev_window_open),
2448 Initial support for document title. Not working yet.
2450 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
2452 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
2454 Grab focus on the view when clicking it
2456 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
2458 * shell/ev-marshal.list:
2459 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
2460 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
2462 Add key bindings to the view. Now if the focus would work
2465 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
2468 * backend/Makefile.am:
2471 * dvi/dvilib/Makefile.am:
2472 * pdf/xpdf/Makefile.am:
2478 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2480 * shell/ev-view.c: (ev_view_realize):
2482 Fix mouse wheel scrolling
2484 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2490 * ps/ps-document.c: (catchPipe), (ps_document_init),
2491 (ps_document_class_init), (ps_document_cleanup),
2492 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
2493 (set_up_page), (close_pipe), (is_interpreter_ready),
2494 (interpreter_failed), (output), (input), (start_interpreter),
2495 (stop_interpreter), (file_length), (file_readable),
2496 (check_filecompressed), (check_pdf), (compute_xdpi),
2497 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
2498 (ps_document_get_type), (ps_document_emit_error_msg),
2499 (document_load), (ps_document_next_page),
2500 (ps_document_get_current_page), (ps_document_get_page_count),
2501 (ps_document_goto_page), (ps_document_set_page_size),
2502 (ps_document_zoom_to_fit), (ps_document_set_zoom),
2503 (ps_document_load), (ps_document_get_n_pages),
2504 (ps_document_set_page), (ps_document_get_page),
2505 (ps_document_widget_event), (ps_document_set_target),
2506 (ps_document_set_scale), (ps_document_set_page_offset),
2507 (ps_document_get_page_size), (ps_document_render),
2508 (ps_document_document_iface_init):
2511 * shell/ev-window.c: (ev_window_open):
2513 Rename GtkGS to PSDocument
2515 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2517 * ps/gtkgs.c: (gtk_gs_class_init):
2520 Some more leftover...
2522 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2524 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
2525 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
2526 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
2529 Remove unused code and make a lot of stuff private
2531 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2533 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
2534 (gtk_gs_defaults_changed):
2540 Cleanup headers dependencies
2542 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2547 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
2549 * ps/gtkgs.c: (file_length), (file_readable),
2550 (check_filecompressed), (check_pdf), (gtk_gs_load),
2551 (gtk_gs_get_postscript):
2555 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2560 * ps/gtkgs.c: (gtk_gs_set_zoom):
2564 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2566 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
2568 Ensure the page is rerendered when changing zoom
2570 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2572 * backend/ev-document.c: (ev_document_base_init),
2573 (ev_document_changed):
2574 * backend/ev-document.h:
2576 Add a changed event that is emitted when the page content
2577 changes. This is necessary to deal with the fact that
2578 in ps backend rendering happen asycrounously.
2579 This makes the ps backend mostly work.
2581 * pdf/xpdf/pdf-document.cc:
2585 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
2586 (ps_document_set_target):
2590 * shell/ev-view.c: (document_changed_callback),
2591 (ev_view_set_document), (ev_view_set_page):
2593 Redraw on the changed signal
2595 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
2597 * configure.ac: Added pt_BR to ALL_LINGUAS.
2599 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
2601 * backend/ev-document-bookmarks.c:
2602 (ev_document_bookmarks_get_child): *
2603 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
2604 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
2605 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
2606 (ev_sidebar_bookmarks_destroy),
2607 (ev_sidebar_bookmarks_class_init),
2608 (ev_sidebar_bookmarks_construct), (stack_data_free),
2609 (do_one_iteration), (populate_bookmarks_idle),
2610 (ev_sidebar_bookmarks_clear_document),
2611 (ev_sidebar_bookmarks_set_document): *
2612 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
2613 (ev_sidebar_add_page),
2614 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
2615 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
2616 it displays both the topics and the page numbers.
2618 2004-12-23 Kristian Høgsberg <krh@redhat.com>
2620 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
2622 * shell/ev-window.c (toggle_entries): Set sidebar default value to
2625 2004-12-23 Adam Weinberger <adamw@gnome.org>
2627 * configure.ac: Added en_CA to ALL_LINGUAS.
2629 2004-12-23 Martin Kretzschmar <martink@gnome.org>
2631 * ChangeLog: replace bottom of this ChangeLog (merged history of
2632 ggv and gpdf; where all paths were wrong and most of the files are
2633 not even in this tree) with ChangeLog (from arch) of the shell
2636 2004-12-23 Havoc Pennington <hp@redhat.com>
2638 * shell/ev-window.c: hook up potentially-questionable "find
2639 results status text" feature - something involving the sidebar or
2640 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
2641 might be better in the end.
2643 * shell/ev-view.c (ev_view_get_find_status_message): new function,
2644 with corresponding signal when it should be updated
2646 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
2648 2004-12-22 Havoc Pennington <hp@redhat.com>
2650 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
2651 find stuff on other pages, sort of (only returns one result on
2652 invisible pages, to show they have results; updates full results
2653 for a page when you view it). Currently repaints the current page
2654 every time a new result is found on any page, which isn't so nice.
2656 2004-12-22 Havoc Pennington <hp@redhat.com>
2658 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
2659 the document doesn't support find (better ideas?)
2660 (find_bar_search_changed_cb): handle missing document or document
2661 that doesn't support find
2663 * pdf/xpdf/pdf-document.cc: port to implement the new
2666 * backend/ev-document-find.c: create a new interface for searching
2668 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
2670 2004-12-23 Martin Kretzschmar <martink@gnome.org>
2672 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
2675 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
2676 EvPrintJob constructor arguments.
2678 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
2679 for documents that can export PostScript (page by page).
2681 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
2683 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
2684 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
2685 (pdf_document_ps_exporter_iface_init:
2686 Implement EvPSExporter.
2688 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
2690 2004-12-22 Anders Carlsson <andersca@gnome.org>
2692 * backend/Makefile.am:
2693 * backend/ev-document-thumbnails.c:
2694 (ev_document_thumbnails_get_type),
2695 (ev_document_thumbnails_get_thumbnail):
2696 * backend/ev-document-thumbnails.h:
2697 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
2698 (pixbuf_document_thumbnails_get_thumbnail),
2699 (pixbuf_document_document_thumbnails_iface_init):
2700 * shell/Makefile.am:
2701 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
2702 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
2703 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
2704 * shell/ev-sidebar-thumbnails.h:
2705 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2706 (ev_sidebar_set_document):
2707 * shell/ev-utils.c: (gaussian), (create_blur_filter),
2708 (create_shadow), (ev_pixbuf_add_shadow):
2710 Add thumbnail support.
2712 2004-12-22 Martin Kretzschmar <martink@gnome.org>
2714 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
2715 (using_postscript_printer): Set up a print dialog for "PostScript
2718 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
2721 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
2723 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2725 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
2726 (ps_document_set_target), (ps_document_get_page_size),
2727 (ps_document_render):
2732 2004-12-22 Christian Rose <menthos@menthos.com>
2734 * configure.ac: Added "sv" to ALL_LINGUAS.
2736 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
2738 * backend/ev-document-bookmarks.[ch]: new interface to indicate
2739 document supports bookmarks.
2741 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2743 * ps/ggvutils.c: (ggv_file_readable):
2745 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
2746 (gtk_gs_get_postscript):
2750 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2752 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
2753 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
2754 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
2755 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
2756 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
2757 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
2758 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
2759 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
2760 (gtk_gs_set_antialiasing), (ps_document_load),
2761 (ps_document_render):
2764 Another check point for the ps backend. Now I can get it to show
2767 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
2769 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
2770 document setting code.
2772 2004-12-22 Anders Carlsson <andersca@gnome.org>
2774 * shell/eggfindbar.c: (entry_activate_callback):
2775 Animate the next button when activate is pressed.
2777 2004-12-22 Anders Carlsson <andersca@gnome.org>
2779 * shell/ev-window.c: (ev_window_cmd_edit_find),
2780 (update_fullscreen_popup), (ev_window_fullscreen),
2781 (ev_window_unfullscreen), (ev_window_state_event_cb),
2782 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
2783 Fix bugs in fullscreen code.
2785 2004-12-22 Anders Carlsson <andersca@gnome.org>
2789 * pixbuf/Makefile.am:
2790 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
2791 (pixbuf_document_load), (pixbuf_document_get_n_pages),
2792 (pixbuf_document_set_page), (pixbuf_document_get_page),
2793 (pixbuf_document_set_target), (pixbuf_document_set_scale),
2794 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
2795 (pixbuf_document_render), (pixbuf_document_begin_find),
2796 (pixbuf_document_end_find), (pixbuf_document_finalize),
2797 (pixbuf_document_class_init),
2798 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2799 * pixbuf/pixbuf-document.h:
2800 * shell/Makefile.am:
2801 * shell/ev-application.c: (ev_application_open):
2802 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
2806 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
2809 * dvi/dvilib/Makefile.am:
2811 * configure.ac: Auto*ify dvi and dvi/dvilib
2813 * dvi/Makefile: Remove from CVS
2815 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
2818 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
2820 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
2822 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2825 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
2826 (gtk_gs_value_adjustment_changed), (compute_size),
2827 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
2828 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
2829 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
2830 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
2831 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
2832 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
2833 (ps_document_load), (ps_document_get_n_pages),
2834 (ps_document_set_page), (ps_document_get_page),
2835 (ps_document_set_target), (ps_document_set_scale),
2836 (ps_document_set_page_offset), (ps_document_get_page_size),
2837 (ps_document_render), (ps_document_begin_find),
2838 (ps_document_end_find), (ps_document_document_iface_init):
2840 * shell/Makefile.am:
2841 * shell/ev-window.c: (ev_window_open):
2843 Some work to integrate gtkgs with EvDocument
2845 2004-12-22 Anders Carlsson <andersca@gnome.org>
2847 * shell/ev-window.c: (update_fullscreen_popup),
2848 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
2849 (exit_fullscreen_button_clicked_cb),
2850 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
2851 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
2852 (ev_window_state_event_cb), (ev_window_init):
2853 Add fullscreen support from Epiphany.
2855 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2857 * data/ev-stock-zoom-fit-width.png: fit-width
2858 stock icon from gpdf.
2860 * shell/ev-stock-icons.[ch]: copied from gpdf.
2862 * shell/main.c: (main): init stock icons.
2864 * shell/ev-window.c: use the fit-width icon.
2866 * data/evince-ui.xml: add zooming toolbar items.
2868 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2871 (ev_view_best_fit), (ev_view_fit_width): because
2872 get_page_size() returns the scaled page size, we
2873 need to calculate the scale factor relative to
2874 the previous scale factor. Should really just
2875 add get_real_page_size().
2877 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2879 * shell/ev-view.[ch]:
2880 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
2881 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
2884 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2885 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
2886 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
2889 * pdf/xpdf/pdf-document.cc:
2890 (pdf_document_begin_find),
2891 (pdf_document_end_find): make static.
2893 2004-12-22 Martin Kretzschmar <martink@gnome.org>
2895 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
2897 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
2898 names to fontconfig patterns.
2899 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
2901 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
2904 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2920 Import ggv backend. Not hooked up yet.
2922 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2924 * shell/main.c: (load_files), (main): load files
2925 from the command line.
2927 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2929 * configure.ac: don't require bonobo.
2931 * cut-n-paste/recent-files/*: kill bonobo recent
2934 * shell/ev-window.c:
2935 (ev_window_is_empty): upd.
2936 (unable_to_load), (ev_window_open): load backend
2937 based on the mime type.
2939 2004-12-22 Martin Kretzschmar <martink@gnome.org>
2941 * backend/.cvsignore: ignore generated marshalers source.
2943 * shell/main.c (main): this is not epiphany.
2945 2004-12-22 Havoc Pennington <hp@redhat.com>
2947 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
2948 (expose_bin_window): draw find highlights
2950 * shell/ev-window.c (find_bar_search_changed_cb): implement
2952 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
2953 (pdf_document_end_find): implement this interface
2955 * backend/ev-document.c (ev_document_found): add this to emit
2958 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
2960 * data/evince-ui.xml: Add a few more toolbar items.
2962 * shell/ev-window.c: Hook up page navigation toolbar
2965 * shell/ev-view.[ch]: add ev_view_set/get_page and
2966 a page-changed signal.
2968 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
2969 Add ev_document_get_page().
2971 * shell/ev-window.c: Sensitize/desensitize navigation
2974 2004-12-21 Havoc Pennington <hp@redhat.com>
2976 * backend/ev-backend-marshal.c,
2977 backend/ev-backend-marshalers.list, backend/Makefile.am: add
2978 marshaler-generator thingy. I'm sure there's a better way to do
2979 this in the modern world.
2981 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
2982 end_find methods and "found" signal.
2984 * configure.ac: find glib-genmarshal
2986 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
2988 * shell/ev-sidebar.c: Construct an actual sidebar.
2989 * shell/ev-sidebar-bookmarks.[ch]:
2990 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
2992 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
2994 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
2997 * shell/ev-view.c: Track the size from the document.
2999 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
3001 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
3002 constructor assumes ownership of the string passed in.
3004 * shell/ev-window.c (ev_window_open): Destroy the error
3005 dialog once we've displayed it.
3007 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
3009 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
3010 a bit, it works! (sort of)
3012 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
3013 Move to .cc since we need to use C++ in the implementation.
3015 * shell/dummy.cc: Add a CC file to force evince
3016 to be linked as a C++ program.
3018 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
3020 * shell/ev-view.[ch]: Start of content-area widget.
3022 * shell/ev-window.c: Create a EvView, update it
3023 as we change documents.
3025 * shell/Makefile.am shell/ev-marshal.list: Add
3026 generated marshalers.
3028 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
3030 * Makefile.am (SUBDIRS): move shell.
3032 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
3034 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
3035 .a to libtool convenience libraries.
3037 * shell/ev-window.c (ev_window_open): Hard code loading
3040 * backend/ev-document.h: Add a boolean return to load(),
3041 fix GError * to GError **.
3043 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
3044 object for a PDF backend EvDocument.
3046 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
3048 * dvi/*: New directory with the beginning of a .dvi backend.
3050 2004-12-21 Havoc Pennington <hp@redhat.com>
3052 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
3053 previous/next instead of back/forward
3055 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
3057 * backend/ev-document.[ch]: Fix a couple of problems so
3060 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
3062 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
3063 to backend/ directory, rename EvViewer to EvDocument.
3065 2004-12-21 Havoc Pennington <hp@redhat.com>
3067 * shell/ev-window.c: hook up the find bar widget; now we just need
3068 a document to find things in
3070 * shell/eggfindbar.c: a find bar widget
3072 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
3074 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
3076 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
3078 * pdf/**: Import of xpdf code from gpdf.
3080 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
3082 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
3083 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
3084 Fix FreeType includes.
3086 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
3087 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
3088 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
3089 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
3090 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
3091 Include xpdfconfig.h
3093 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
3095 * shell/ev-window.c (ev_window_dispose): dispose can be called
3098 2004-12-21 Havoc Pennington <hp@redhat.com>
3100 * shell/ev-window.c (ev_window_init): set title to Document Viewer
3103 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
3104 items; really they should be synced with the strings, etc. from
3105 current gpdf, but just getting the boring typing out of the way
3107 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
3110 * shell/ev-application.c: (window_destroy_cb):
3111 * shell/ev-window.c:
3112 * shell/main.c: (main):
3114 Actually show the window...
3116 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
3119 * shell/Makefile.am:
3120 * shell/ev-application.c: (ev_application_class_init):
3121 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
3125 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
3127 Import to gnome cvs.
3129 * Remove copies of gpdf and ggv trees.
3130 * Rip out all the recursive configure code.
3131 * Remove bonobo machinery.
3132 * viewer/*: GInterfaces that backends should/can implement.
3134 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
3136 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
3139 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
3141 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
3142 (ev_application_finalize, ev_application_class_init)
3143 (ev_application_init): use GType instance private data for priv.
3145 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
3146 (ev_window_finalize, ev_window_class_init)
3147 (ev_window_init): ditto.
3149 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3151 * shell/ev-application.c (ev_application_new_window): make public
3152 (ev_application_show_initial_window): kill.
3154 * shell/ev-application.h: update prototypes.
3156 * shell/main.cc (main): inline ev_application_show_initial_window.
3158 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3160 * shell/ev-application.c (ev_application_new_window): impl.
3161 (ev_application_show_initial_window): use it.
3162 (is_window_empty, ev_application_get_empty_window): returns an
3163 existing empty window or a new one.
3164 (ev_application_open): from ev_window_cmd_file_open.
3166 * shell/ev-application.h: update prototypes
3168 * shell/ev-window.c (ev_window_is_empty): impl.
3169 (ev_window_open): make public.
3170 (ev_window_cmd_file_open): use ev_application_open
3172 * shell/ev-window.h: update prototypes, remove unused.
3174 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
3176 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
3177 move destroy handler out of here...
3179 * shell/ev-application.c, shell/ev-application.h: ...into this new
3180 class. Also handles initial window creation.
3182 * shell/main.cc (main): use EvApplication to create initial
3185 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
3187 * Makefile.am (SUBDIRS): add cut-n-paste
3189 * cut-n-paste/Makefile.am: add
3191 * configure.ac: generate Makefiles in cut-n-paste
3193 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
3195 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
3196 (ev_window_class_init): install ev_window_dispose.
3198 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3200 * shell/ev-window.h, shell/ev-window.c: replace gchar with
3201 char (gchar looks stupid).
3203 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3205 * po/de.po: updated German translation.
3207 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3209 * configure.ac: add more pkg-config library checks for gnome-vfs,
3212 * gpdf/configure.in: temporarily disable libpaper
3213 checks. Otherwise I'd have to add the checks for the shell, too.
3215 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3217 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
3218 and * file filters to the file choose.
3220 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3222 * po/de.po: Updated German translation.
3224 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3226 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
3228 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3230 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
3232 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
3233 (ev_window_init): implement those menuitems.
3235 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3237 * data/evince-ui.xml: add a toolbar (with FileOpen action)
3239 * shell/ev-window.c (ev_window_init): use the toolbar.
3241 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3243 * shell/ev-window.c (ev_window_init): use menu translations
3245 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3247 * configure.ac: add "de" to ALL_LINGUAS.
3249 * po/de.po: add German translation.
3251 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3253 * Makefile.am (SUBDIRS): add po
3255 * configure.ac: check intltool, glib-gettext etc, generate
3258 * po, po/POTFILES.in, po/POTFILES.skip: new.
3260 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
3262 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
3263 already use (#ifdef ENABLE_NLS)
3265 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
3266 pointer indirection thinko.
3268 * shell/main.c: include gi18n.h for bindtextdomain etc.
3270 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3272 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
3273 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
3274 tooltips for menu items in the statusbar.
3276 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3278 * configure.ac, data/Makefile.am, shell/Makefile.am: use
3279 pkgdatadir drop UIDIR
3281 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3283 * data/evince-ui.xml: Add File->Open menu item
3285 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
3286 chooser), hook it up in the ui manager.
3288 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3290 * shell/ev-window.c: fix Help->About tooltip.
3292 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3294 * configure.ac: set CFLAGS for libevprivate.
3296 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
3297 definitions, factory etc.
3299 * lib/Makefile.am: build libevprivate.a (only stock icon code).
3301 * shell/Makefile.am: link against libevprivate.a.
3303 * shell/ev-window.c (entries): add stock icon to Help->About.
3305 * shell/main.c (main): init stock icon code.
3307 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3309 * lib/recent-files: egg recent files code
3311 * lib/Makefile.am: add.
3313 * Makefile.am: add lib subdir.
3315 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
3316 set CFLAGS for recent-files.
3318 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3320 * configure.ac: disable -ansi and -pedantic gcc flags. They
3321 disable POSIX stuff in stdio.h, but egg-recent uses them.
3323 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3325 * configure.ac: add --disable-deprecated flag (defaults to on in
3328 * shell/Makefile.am (INCLUDES): use it.
3330 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3332 * shell/main.c: add missing #include.
3334 * shell/ev-window.c: fix for pedantic gcc.
3335 (ev_window_cmd_help_about): split license into paragraphs for
3336 translators and pedantic compilers.
3338 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3340 * configure.ac: add more warning flags if compiling with gcc from
3341 cvs (or explicitly requested with --enable-more-warnings).
3343 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3345 * data/evince-ui.xml: add File and File->Close menu.
3347 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
3348 (ev_window_destroy): quit after destroy.
3349 (ev_window_class_init): override GtkObject::destroy.
3350 (entries): install close_window callback.
3352 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3354 * Makefile.am (SUBDIRS): add data subdir.
3356 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
3357 gtk+ 2.5.0 for GtkAboutDialog.
3359 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
3362 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
3364 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
3366 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
3368 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3370 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
3372 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
3374 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
3376 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
3378 * shell/*: Added shell directory boilerplate, build it.
3380 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
3382 * configure.ac, Makefile.am: Added top-level configure.ac and