1 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5 Add required gettext version
7 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
9 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
10 make F1 bring up non-existent help.
12 * shell/eggfindbar.c: Patch from Christian Persch to sync to
13 epiphany's find bar, #167477
15 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
16 <emil@nishra.com> to add space-bar scrolling,
18 * shell/ev-window.c (static GtkActionEntry entries): add default
19 keybinding for Help (F1)
22 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
23 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
26 2005-04-01 David Malcolm <dmalcolm@redhat.com>
29 * pixbuf/pixbuf-document.c:
31 Got pixbuf backend working again
33 2005-04-01 Steve Murphy <murf@e-tools.com>
35 * configure.in: Added "rw" to ALL_LINGUAS.
37 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
39 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
40 model types, noticed by Martin Kretzschmar.
42 2005-04-01 Kristian Høgsberg <krh@redhat.com>
44 * pdf/ev-poppler.cc: Implement search based on
45 poppler_page_find_text(). Currently a bit crude since we remember
46 all matches from all pages. Also, we grab the big document lock
47 when we search since searching changes the underlying stream and
48 thus conflicts with the rendering thread.
50 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
51 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
52 (ev_view_find_previous): Fix some page indexes to be 0 based,
53 offset rubber band by view offset,
55 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
57 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
59 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
61 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
62 completely because I didn't understand GtkActions. I should
63 read Marco's code more carefully in the future.
65 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
68 2005-03-31 Kristian Høgsberg <krh@redhat.com>
70 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
71 PopplerRectangle change from poppler CVS.
73 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
75 * backend/ev-document.c: (ev_document_get_page_label):
76 * backend/ev-document.h:
77 * backend/ev-page-cache.c: (_ev_page_cache_new),
78 (ev_page_cache_get_page_label):
79 * backend/ev-page-cache.h:
81 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
82 (links_page_num_func):
83 * shell/ev-sidebar-thumbnails.c:
84 (ev_sidebar_thumbnails_set_document):
85 * shell/ev-view.c: (status_message_from_link),
86 (ev_view_motion_notify_event):
87 * shell/ev-window.c: (document_supports_sidebar): Add in page
88 label support. It's not perfect yet, but it's the first 'feature'
90 Also, fix a bogus comment noticed by crispin.
92 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
94 * Makefile.am: Remove pixbuf backend for now
96 * configure.ac: Require poppler-glib instead of just poppler.
98 * backend/ev-document-thumbnails.h: Add a comment
100 * backend/ev-document.h:
101 * backend/ev-document.c: (ev_document_class_init),
102 (ev_document_load), (ev_document_get_link),
103 (ev_document_get_links): Remove 3 methods and add get_links.
106 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
107 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
109 * backend/ev-link.c: (ev_link_set_title),
110 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
111 (ev_link_mapping_find):
112 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
114 * backend/ev-page-cache.c: (ev_page_cache_init),
115 (_ev_page_cache_new), (ev_page_cache_set_current_page),
116 (ev_page_cache_get_size), (ev_page_cache_next_page),
117 (ev_page_cache_prev_page): Fix to be 0 based.
121 * pdf/ev-poppler.cc: New backend.
123 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
124 (ps_document_get_page), (ps_document_document_iface_init):
126 * shell/ev-pixbuf-cache.h:
127 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
128 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
129 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
130 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
131 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
132 Fix up code to grab a page cache per each doc. Also, fix to be 0
135 * shell/ev-sidebar-thumbnails.c:
136 (ev_sidebar_tree_selection_changed), (page_changed_cb),
137 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
139 * shell/ev-view.c: (status_message_from_link),
140 (find_page_at_location), (get_link_at_location),
141 (ev_view_motion_notify_event), (ev_view_button_release_event),
142 (ev_view_init): Use the new link code. Fix to be 0 based.
144 * shell/ev-window.c: (update_action_sensitivity),
145 (document_supports_sidebar): 0 based.
147 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
149 * pdf/pdf-document.cc: Patch from Fernando Herrera
150 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
153 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
155 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
156 1 to the page, as this seems to be 1 based. I thought we has this
159 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
162 * backend/Makefile.am:
163 * backend/ev-document-links.c:
164 (ev_document_links_has_document_links),
165 (ev_document_links_get_links_model):
166 * backend/ev-document-links.h:
167 * backend/ev-document.c: (ev_document_get_page_cache),
168 (ev_document_get_doc_mutex), (ev_document_load),
169 (ev_document_save), (ev_document_get_title),
170 (ev_document_get_n_pages), (ev_document_set_page),
171 (ev_document_get_page), (ev_document_set_target),
172 (ev_document_set_scale), (ev_document_set_page_offset),
173 (ev_document_get_page_size), (ev_document_get_text),
174 (ev_document_get_link), (ev_document_render),
175 (ev_document_render_pixbuf), (ev_document_scale_changed):
176 * backend/ev-document.h:
177 * backend/ev-job-queue.c: (remove_object_from_queue),
178 (notify_finished), (handle_job), (search_for_jobs_unlocked),
179 (no_jobs_available_unlocked), (ev_render_thread),
180 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
181 (ev_job_queue_remove_job):
182 * backend/ev-job-queue.h:
183 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
184 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
185 (ev_job_links_class_init), (ev_job_render_init),
186 (ev_job_render_dispose), (ev_job_render_class_init),
187 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
188 (ev_job_thumbnail_class_init), (ev_job_finished),
189 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
190 (ev_job_render_run), (ev_job_thumbnail_new),
191 (ev_job_thumbnail_run):
195 * backend/ev-page-cache.c: (ev_page_cache_init),
196 (ev_page_cache_class_init), (ev_page_cache_finalize),
197 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
198 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
199 (ev_page_cache_set_link), (ev_page_cache_get_title),
200 (ev_page_cache_get_size), (ev_page_cache_next_page),
201 (ev_page_cache_prev_page):
202 * backend/ev-page-cache.h:
203 * pdf/pdf-document.cc:
206 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
207 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
208 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
209 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
210 (is_interpreter_ready), (output), (catchPipe), (input),
211 (start_interpreter), (check_filecompressed), (compute_dimensions),
212 (ps_document_enable_interpreter), (document_load),
213 (ps_document_next_page), (render_page), (ps_document_set_page),
214 (ps_document_set_scale), (render_pixbuf_idle),
215 (ps_document_render_pixbuf), (ps_document_document_iface_init):
218 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
219 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
220 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
221 (ev_pixbuf_cache_new), (job_finished_cb),
222 (check_job_size_and_unref), (move_one_job),
223 (ev_pixbuf_cache_update_range), (find_job_cache),
224 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
225 (ev_pixbuf_cache_add_jobs_if_needed),
226 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
227 * shell/ev-pixbuf-cache.h:
228 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
229 (idle_print_handler):
230 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
231 (selection_changed_cb), (create_loading_model),
232 (ev_sidebar_links_construct), (links_page_num_func),
233 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
234 (update_page_callback), (job_finished_cb),
235 (ev_sidebar_links_set_document):
236 * shell/ev-sidebar-thumbnails.c:
237 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
238 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
239 (page_changed_cb), (thumbnail_job_completed_callback),
240 (ev_sidebar_thumbnails_set_document):
241 * shell/ev-sidebar-thumbnails.h:
242 * shell/ev-sidebar.c: (ev_sidebar_set_document):
243 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
244 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
245 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
246 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
247 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
248 (ev_view_button_release_event), (ev_view_scroll_view),
249 (ev_view_class_init), (ev_view_init), (update_find_status_message),
250 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
251 (ev_view_new), (job_finished_cb), (page_changed_cb),
252 (ev_view_set_document), (go_to_link), (ev_view_zoom),
253 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
254 (ev_view_find_previous):
256 * shell/ev-window.c: (update_action_sensitivity),
257 (ev_window_open_page), (update_window_title), (update_total_pages),
258 (page_changed_cb), (ev_window_setup_document),
259 (password_dialog_response), (ev_window_cmd_save_as),
260 (ev_window_print), (ev_window_cmd_go_previous_page),
261 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
262 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
263 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
264 * shell/main.c: (main):
266 Merge evince-threads branch
268 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
270 * configure.ac: Added "lt" to ALL_LINGUAS.
272 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
279 2005-03-13 Fernando Herrera <fherrera@onirica.com>
281 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
283 Fix here also the thumbnails 1-basedness :)
285 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
292 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
294 * pdf/pdf-document.cc:
295 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
296 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
298 Fix the mess we did with thumbnails and 1-basedness
300 2005-03-12 Changwoo Ryu <cwryu@debian.org>
302 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
304 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
311 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
314 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
315 (gtk_gs_defaults_get_alpha_parameters),
316 (gtk_gs_defaults_get_ungzip_cmd),
317 (gtk_gs_defaults_get_unbzip2_cmd):
319 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
320 (ps_document_get_orientation), (document_load),
321 (ps_document_goto_page), (ps_document_set_page_size):
324 Some more sanitization of the ps backend. Remove a lot
325 of unused code and do not base our defaults on ggv
328 2005-03-08 Fernando Herrera <fherrera@onirica.com>
330 * thumbnailer/evince-thumbnailer.schemas:
331 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
332 (main): add -s option for thumbnail size.
334 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
338 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
341 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
343 * pdf/pdf-document.cc:
345 Remove 4 pixels of useless border from the
348 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
350 * backend/ev-document-thumbnails.c:
351 (ev_document_thumbnails_get_thumbnail):
352 * backend/ev-document-thumbnails.h:
354 Rework API a bit. Add a border flag and
355 change sizing logic (now the size we specify
356 applies to the bigger dimension).
358 * pdf/pdf-document.cc:
359 * pixbuf/pixbuf-document.c:
360 (pixbuf_document_thumbnails_get_thumbnail):
361 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
362 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
364 Adapt to the new API and do not draw a border for nautilus
367 2005-03-03 Fernando Herrera <fherrera@onirica.com>
369 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
370 take thumbnails from page "0" instead of "1". Added a copyright header.
372 2005-03-03 Jens Granseuer <jensgr@gmx.net>
374 * ps/ps-document.c: (set_up_page), (start_interpreter):
376 Make it C89 compliant
378 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
383 * pdf/pdf-document.cc:
384 * thumbnailer/Makefile.am:
385 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
387 * thumbnailer/evince-thumbnailer.schemas:
388 * thumbnailer/pdf-icon.png:
390 Add a nautilus thumbnailer.
391 Based on patch by Fernando Herrera <fherrera@onirica.com>.
393 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
401 2005-03-01 Kristian Høgsberg <krh@redhat.com>
403 Use poppler instead of including xpdf source code. Poppler is a
404 fork of xpdf to build it as a shared library. See
405 http://freedesktop.org/wiki/Software/poppler.
407 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
410 * pdf/Makefile.am: Build libpdfdocument.a here.
412 * pdf/GDKSplashOutputDev.cc:
413 * pdf/GDKSplashOutputDev.h:
414 * pdf/GnomeVFSStream.cc:
415 * pdf/GnomeVFSStream.h:
418 * test-gdk-output-dev.cc
420 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
423 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
425 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
427 Clear idle stack before unsetting the document
429 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
431 * ps/ps-document.c: (ps_document_widget_event),
432 (ps_document_set_target), (ps_document_finalize),
433 (ps_document_get_page):
435 Disconnect the widget event signal on finalize.
438 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
440 * ps/ps-document.c: (set_up_page):
442 If there is no bpixmap create one, even if size
445 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
447 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
448 (set_up_page), (document_load), (ps_document_set_zoom):
450 Default page is 0. Calculate size even when we have no
453 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
455 * shell/ev-sidebar.c: expand the selection widget to be always as
458 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
460 * shell/ev-sidebar-thumbnails.c:
461 (ev_sidebar_thumbnails_set_document):
463 Clear the list store when setting document
465 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
467 * shell/ev-page-action.c: (update_entry), (sync_entry),
468 (activate_cb), (entry_size_request_cb), (create_tool_item),
471 Use an entry for the page control instead of spinbuttons
473 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
475 * data/evince.schemas.in:
477 Correct confusing string
479 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
481 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
482 for real. Gosh, how long has this been broken.
484 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
485 check for a NULL link. We crash otherwise.
487 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
494 2005-02-25 Sebastien Bacher <seb128@debian.org>
496 * configure.ac: add the french translation.
498 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
502 Remove unused header -> fix distcheck
504 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
506 * shell/ev-window.c: (update_window_title),
507 (ev_window_popup_password_dialog):
509 Unescape filename for display
511 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
513 * pdf/xpdf/pdf-document.cc:
515 In get_page_size deal with rotation. Also
516 cleanup the function a bit.
518 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
520 * pdf/xpdf/pdf-document.cc:
522 Fix crash when opening in new window
524 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
528 Check ghostscript >= 7
530 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
534 Make page width the default sizing mode
536 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
537 Marco Pesenti Gritti <marco@gnome.org>
539 * shell/ev-window.c: Remember the sidebar size
541 * data/evince.schemas.in: Add a new gconf key to store the size of
544 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
546 * data/evince-ui.xml:
547 * shell/ev-window.c: (update_action_sensitivity),
548 (ev_window_cmd_view_reload):
550 Add a "Reload" action and menu entry
552 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
554 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
555 iff the type doesn't support thumbnailing and indexing.
557 2005-02-24 Martin Kretzschmar <martink@gnome.org>
559 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
561 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
563 * pdf/splash/Splash.cc:
565 Port fix for a crasher from kde bug
566 http://bugs.kde.org/show_bug.cgi?id=97131
568 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
570 * pdf/xpdf/pdf-document.cc:
572 Return a link even if it's of an unrecognized
573 type. Otherwise we go in an infinte cycle.
575 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
577 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
578 (size_allocate_cb), (ev_window_set_sizing_mode):
580 Update size when switching mode
582 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
584 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
585 (ev_window_cmd_view_page_width), (update_sizing_buttons),
586 (ev_window_cmd_view_normal_size):
588 Fix size toggle buttons behavior
590 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
592 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
593 (doc_rect_to_view_rect), (ev_view_size_allocate),
594 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
595 (scale_changed_callback):
597 Do not cache offsets in size_allocate.
599 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
601 * shell/ev-view.c: (ev_view_size_allocate):
603 Calculate offsets before calling the parent
604 class (which does a redraw)
606 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
608 * pdf/xpdf/pdf-document.cc:
610 Fix a crasher on exit. Unused code, put a TODO
612 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
614 * backend/ev-document.c: (ev_document_class_init),
615 (ev_document_page_changed), (ev_document_scale_changed):
616 * backend/ev-document.h:
618 Separate page/scale notifications
620 * pdf/xpdf/pdf-document.cc:
622 Emit the new signals.
623 Do not display the pdf page in _render, do it
624 when scale/page are requested.
626 * ps/ps-document.c: (ps_document_set_zoom),
627 (ps_document_widget_event):
630 Emit the new signals.
632 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
633 (ev_view_init), (page_changed_callback), (scale_changed_callback),
634 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
635 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
637 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
638 (ev_window_cmd_view_page_width), (size_allocate_cb),
639 (ev_window_set_sizing_mode):
641 Rework sizing to be pixel based.
642 There are bugs but should be already way better.
644 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
646 * shell/ev-window.c: (ev_window_init):
648 Do not allow to shrink sidebar smaller then
651 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
653 * shell/ev-sidebar.[ch]
656 Improved sidebar widget. Fixes #166683
658 2005-02-23 Tommi Vainikainen <thv@iki.fi>
660 * shell/ev-view.c (update_find_status_message): Give translators
661 more flexibility with ngettext plural handling.
663 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
665 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
666 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
667 page when we get the page size.
669 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
671 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
673 ps pages are 0 based, convert
675 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
677 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
679 Initialize correct parent class. Set GError on document load
681 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
683 * pdf/xpdf/pdf-document.cc:
685 Fixup selection offset calculation
687 * shell/ev-view.c: (view_rect_to_doc_rect),
688 (doc_rect_to_view_rect), (ev_view_size_allocate),
689 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
690 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
692 Store selection as document relative, so that zooming
693 and offset changing doesnt break it.
695 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
697 * shell/ev-view.c: (ev_view_best_fit):
699 Do not try to best fit if the view is not realized
701 2005-02-20 Kostas Papadimas <pkst@gnome.org>
703 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
705 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
707 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
709 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
711 * shell/ev-window.c: Change the fullscreen toolbar to always be in
712 the popup window. That prevents it resizing when in full screen
715 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
716 multiple rerenders. This pretty much sucks.
718 * data/evince-ui.xml: Change the fullscreen toolbar to include the
721 2005-02-18 Tommi Vainikainen <thv@iki.fi>
723 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
725 2005-02-17 Alexander Shopov <ash@contact.bg>
727 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
729 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
731 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
733 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
735 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
736 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
737 (set_document_page), (document_changed_callback),
738 (ev_view_set_document), (ev_view_find_previous),
739 (ev_view_hide_cursor), (ev_view_show_cursor):
741 * shell/ev-window.c: (update_chrome_visibility),
742 (fullscreen_timeout_cb), (fullscreen_set_timeout),
743 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
744 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
745 (ev_window_unfullscreen):
746 * shell/main.c: (main):
748 Automatically hide the fullscreen button.
749 Patch by Kristian Høgsberg <krh@redhat.com>
751 2005-02-16 Vincent Noel <vnoel@cox.net>
753 * shell/main.c (main): Specify an icon for the window. Patch by
754 Jaap A. Haitsma. Fixes #166177.
756 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
758 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
760 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
762 * backend/ev-document-misc.h:
763 * backend/ev-document-misc.c:
764 (ev_document_misc_get_page_border_size),
765 (ev_document_misc_paint_one_page): New function to canonicalize
766 sizing/painting a border.
768 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
771 * pdf/xpdf/pdf-document.cc: use new function
773 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
774 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
775 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
776 shell/ev-window.c: (update_sizing_buttons),
777 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
778 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
779 (ev_window_cmd_view_page_width), (size_allocate_cb),
780 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
781 and "fit width" values act as toggle buttons so they stay
782 toggled. It's not 100% perfect, and it's a little slow, but it's
783 good enough to commit I think.
785 2005-02-15 David Lodge <dave@cirt.net>
787 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
789 2005-02-15 Martin Kretzschmar <martink@gnome.org>
791 * shell/ev-window.c (update_window_title): replace newlines in
792 the title by spaces. Bug #166107.
794 2005-02-14 Martin Kretzschmar <martink@gnome.org>
796 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
797 parameters providing allocation width and height without
798 scrollbars and width of a possible vertical scrollbar. With this
799 additional information the functions can work as
800 intended. Unfortunately they're not idempotent. We should
801 transform these commands to toggles. Fixes Bug #164976
802 Initial patch by Stephane Loeuillet, then heavily modified.
804 * shell/ev-view.h: update prototypes.
806 * shell/ev-window.c (ev_window_cmd_view_best_fit)
807 (ev_window_cmd_view_page_width): provide EvView fit functions with
808 all the information they need. Formulas to calculate this
809 information taken from GtkScrolledWindow.
811 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
813 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
814 created a thumbnail, the list store is updated to know
815 that the thumbnail is set. Fixes bug #166792
817 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
819 * shell/ev-window.c: fixed typo, closes bug 166897
821 * TODO: updated TODO with bug numbers that are relevant
823 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
825 * shell/ev-window.c: Support for DnD of files. Fixes #164813
827 2005-02-09 Vincent Noel <vnoel@cox.net>
829 * shell/ev-window.c: (set_action_properties): Set the "Previous"
830 and "Next" toolbar buttons as important to make them stand out.
832 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
836 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
837 (start_interpreter), (stop_interpreter), (document_load),
838 (ps_document_next_page), (ps_document_goto_page),
839 (ps_document_set_page_size), (ps_document_widget_event),
840 (ps_document_render):
841 * shell/ev-page-view.c: (ev_page_view_dispose):
842 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
844 Fix compilation on non-gcc platforms
846 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
853 * pdf/xpdf/Catalog.cc:
856 Fix the fix for CAN-2004-0888
858 2005-02-09 Luca Ferretti <elle.uca@libero.it>
861 * data/evince-ui.xml:
862 * shell/ev-stock-icons.c: (ev_stock_icons_init):
863 * shell/ev-stock-icons.h:
864 * shell/ev-window.c: (update_action_sensitivity),
865 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
866 (set_action_properties):
868 Improve toolbar layout/icons
870 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
872 * pdf/xpdf/pdf-document.cc:
874 Add warnings about unimplemented/unknown link
877 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
879 * ps/ps-document.c: (set_up_page):
883 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
885 * ps/ps-document.c: (start_interpreter):
889 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
891 * shell/ev-page-view.c: (ev_page_view_dispose):
892 * shell/ev-view.c: (ev_view_finalize):
893 * shell/ev-window.c: (ev_window_setup_document),
894 (ev_window_dispose), (ev_window_init):
896 Solve more refs issues.
898 I commented out the page_view initialization for now:
899 it was never destroyed (because it's never added
900 to a container). Because of that we was leaking
901 gs processes. Couldnt think to a clean fix.
902 We need to figure this out, password view has the
905 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
907 * ps/ps-document.c: (ps_document_finalize),
908 (ps_document_get_n_pages), (ps_document_get_page):
910 Some cleanups, stop the interpreter on finalize
912 * shell/ev-page-view.c: (ev_page_view_dispose),
913 (ev_page_view_class_init):
915 Release our reference on the document
917 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
924 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
925 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
926 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
929 Add debugging helpers
932 * ps/ps-document.c: (set_up_page), (start_interpreter),
933 (stop_interpreter), (document_load), (ps_document_next_page),
934 (ps_document_goto_page), (ps_document_set_page_size),
935 (ps_document_widget_event), (ps_document_render):
937 * shell/ev-view.c: (expose_bin_window):
938 * shell/main.c: (main):
942 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
944 * ps/ps-document.c: (ps_document_widget_event):
946 Initialize message_window, this should make ps
947 rendering really work! (Never noticed because I was
948 testing with a ps that is causing gs to exit every time!)
950 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
952 * data/evince.schemas.in: updated simple error in applyto closing tag
954 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
960 * data/evince-ui.xml:
961 A data/evince.schemas.in:
963 * shell/ev-stock-icons.c: (ev_stock_icons_init):
964 * shell/ev-stock-icons.h:
965 * shell/ev-window.c: (update_chrome_visibility),
966 (update_chrome_flag), (ev_window_cmd_edit_find),
967 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
968 (ev_window_unfullscreen), (ev_window_focus_in_event),
969 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
970 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
971 (ev_window_view_sidebar_cb), (find_bar_close_cb),
972 (ev_window_dispose), (ev_window_class_init),
973 (set_action_properties), (set_chrome_actions), (load_chrome),
976 Implement fullscreen mode changes from bug #164776.
977 Also implement persistent chrome toggles.
979 2005-02-07 Jordi Mallach <jordi@sindominio.net>
981 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
983 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
989 Add another check for find interface
993 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
995 * shell/ev-application.c: (ev_application_open):
996 * shell/ev-window.c: (ev_window_open):
998 Open gzipped ps documents
1000 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1003 * shell/ev-view.c: (set_document_page):
1005 Clamp page number, dont try to move to
1008 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1010 * backend/ev-document-find.c: (ev_document_find_changed):
1011 * backend/ev-document-find.h:
1012 * pdf/xpdf/pdf-document.cc:
1013 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
1014 * shell/ev-window.c: (find_bar_search_changed_cb):
1016 Fix several bugs with find
1018 2005-02-04 Martin Kretzschmar <martink@gnome.org>
1020 * shell/ev-sidebar-thumbnails.c
1021 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
1022 document. Prevents warning from scroll_to_cell.
1024 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
1026 * configure.ac: Add «nb» to ALL_LINGUAS too.
1028 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
1030 * NOTES: New file with some random thoughts.
1034 * backend/ev-document-misc.c:
1035 (ev_document_misc_get_page_border_size): New function to
1036 canonicalize shadow drawing sizes. Possibly goofy.
1038 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
1039 (ev_view_best_fit), (ev_view_fit_width):
1040 * pdf/xpdf/pdf-document.cc:
1041 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
1042 * ps/ps-document.c: (ps_document_get_page_size):
1043 * backend/ev-document-misc.h:
1044 * backend/ev-document.c: (ev_document_get_page_size):
1045 * backend/ev-document.h: get_page_size now takes a page number
1046 parameter. Made all the backends/frontends honor it.
1048 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
1049 see. Doesn't work yet.
1051 * shell/Makefile.am:
1052 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
1053 Doesn't do anything yet.
1055 * shell/ev-sidebar-thumbnails.c:
1056 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
1059 * shell/ev-window.c: (update_action_sensitivity),
1060 (ev_window_setup_document), (ev_window_set_page_mode),
1061 (ev_window_page_mode_cb), (ev_window_init): Clean up the
1062 view-swapping code a bit so we can have multiple views on a
1063 document. Add the multi-page view, though it can't be turned on
1066 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
1068 * shell/ev-application.c: (ev_application_open):
1069 * shell/ev-view.c: (expose_bin_window):
1070 * shell/ev-window.c: (ev_window_open):
1072 Support eps and check document supports find
1073 before drawing highlightings in expose.
1075 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
1077 * pixbuf/pixbuf-document.c:
1078 (pixbuf_document_thumbnails_get_dimensions),
1079 (pixbuf_document_document_thumbnails_iface_init):
1081 implement get_dimensions
1083 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
1090 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1092 * shell/ev-view.c: (set_document_page):
1094 Scroll at the top of the page when changing page
1096 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1098 * shell/ev-view.c: (ev_view_motion_notify_event):
1100 Do not redraw unnecessarily
1102 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1104 * pdf/xpdf/pdf-document.cc:
1105 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
1106 (expose_bin_window), (find_changed_cb):
1108 Yay! find works now... Now to find bugs...
1110 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1112 * backend/ev-document-find.c: (ev_document_find_base_init),
1113 (ev_document_find_changed):
1114 * backend/ev-document-find.h:
1115 * pdf/xpdf/pdf-document.cc:
1116 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
1117 (expose_bin_window), (ev_view_init), (set_document_page),
1118 (ensure_rectangle_is_visible), (jump_to_find_result),
1119 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
1120 (ev_view_find_next), (ev_view_find_previous):
1122 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
1124 More work on find implementation, mostly there now
1126 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
1128 * backend/ev-backend-marshalers.list:
1129 * backend/ev-document-find.c: (ev_document_find_base_init),
1130 (ev_document_find_cancel), (ev_document_find_page_has_results),
1131 (ev_document_find_get_n_results), (ev_document_find_get_result),
1132 (ev_document_find_get_progress), (ev_document_find_changed):
1133 * backend/ev-document-find.h:
1135 Enanche the find interface to be really able to do
1138 * pdf/xpdf/pdf-document.cc:
1142 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
1143 (expose_bin_window), (ev_view_init),
1144 (ev_view_get_find_status_message), (find_changed_cb),
1145 (ev_view_set_document), (set_document_page):
1147 Adapt to the new interface. A few things are regressed sorry,
1148 I will finish it soon.
1150 2005-01-28 Martin Kretzschmar <martink@gnome.org>
1152 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
1153 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
1154 ev_sidebar_thumbnails_parent_class variable, don't define another
1155 parent_class variable.
1157 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
1158 (ev_page_action_class_init): ditto.
1160 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
1161 (pixbuf_document_class_init): ditto.
1163 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
1166 * .cvsignore: ignore various valgrind output files.
1168 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
1170 * data/evince-ui.xml:
1171 * shell/Makefile.am:
1172 * shell/ev-history.c:
1173 * shell/ev-history.h:
1174 * shell/ev-navigation-action.c:
1175 * shell/ev-navigation-action.h:
1176 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
1177 (ev_view_set_page), (ev_view_fit_width):
1179 * shell/ev-window.c: (update_action_sensitivity),
1180 (ev_window_setup_document), (register_custom_actions):
1182 Kill session history
1184 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
1186 * shell/ev-window.c: (update_action_sensitivity):
1188 Fix inverted up/down buttons
1190 2005-01-27 Martin Kretzschmar <martink@gnome.org>
1192 * shell/ev-sidebar-thumbnails.c
1193 (ev_sidebar_thumbnails_select_page): make sure the selected
1194 thumbnail stays visible.
1196 2005-01-26 Martin Kretzschmar <martink@gnome.org>
1198 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
1199 scrolled window for Federico.
1201 2005-01-26 Ole Laursen <olau@hardworking.dk>
1203 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
1205 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
1208 * pdf/splash/SplashFTFontEngine.cc:
1210 Fix CID fonts with freetype 2.1.9
1212 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
1214 * TODO: added item for desktop icon thumbnailer
1216 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
1218 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
1219 unloaded docs when the title is accessed.
1221 * shell/ev-password-view.[hc]: New widget for displaying password
1224 * shell/ev-window.[ch]: Refactor password handling code to handle
1227 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
1235 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
1237 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
1238 ignore page offset here, to make search results independent of it,
1240 * shell/ev-view.c (expose_bin_window): but take offsets into
1241 account here. Bug #164932
1243 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
1244 scale at the right time. Bug #164996
1246 2005-01-22 Martin Kretzschmar <martink@gnome.org>
1248 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
1249 fix the problem. Now I just removed the Adobe font names and hope
1250 that the URW fonts are always in outline format. Bug #164934
1252 * shell/ev-window.c (update_window_title): empty titles are
1253 useless, use filename in that case too.
1255 * NEWS: Add some content.
1257 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
1259 * TODO: added one more TODO item and a TODONE section :)
1261 2005-01-21 Martin Kretzschmar <martink@gnome.org>
1263 * ps/ps-document.h: add page_[xy]_offset fields.
1265 * ps/ps-document.c (ps_document_set_page_offset)
1266 (ps_document_render): Keep offset in consideration in a few
1267 places. Bug #164752 "postscript documents are not centered in
1270 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
1271 s/gpdf/evince/. Spotted by Stephane Loeuillet.
1273 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
1274 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
1275 stub out missing methods for complete EvDocument implementation.
1276 Fixes segfaults with Save A Copy and Copy actions.
1278 * ps/ps-document.c (ps_document_save, ps_document_get_text)
1279 (ps_document_document_iface_init): ditto.
1281 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1285 * data/evince.desktop.in:
1289 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1291 * shell/ev-view.c: (ev_view_button_press_event),
1292 (ev_view_motion_notify_event):
1294 Make selection work in any direction
1296 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1299 * shell/ev-window.c: (set_short_labels), (ev_window_init):
1301 Use shorter labels for some of the toolbars items
1303 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1305 * pdf/xpdf/pdf-document.cc:
1307 Check the links info is initialized before
1308 using it. Should fix a crash on startup.
1310 2005-01-21 Martin Kretzschmar <martink@gnome.org>
1312 * pixbuf/pixbuf-document.c
1313 (pixbuf_document_thumbnails_get_dimensions): force floating point
1314 division to calculate page_ratio. Fixes crash with landscape
1317 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
1319 * shell/ev-view.c (ev_view_realize): make the bg color darker.
1321 2005-01-20 Martin Kretzschmar <martink@gnome.org>
1323 * shell/ev-view.c (set_document_page): unset has_selection when
1325 (set_document_page): handle paper size changes when the page
1326 changes (test with Free Culture, page 2).
1328 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1330 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
1331 (expose_bin_window), (ev_view_class_init), (ev_view_init):
1333 Use normal style color for the widget background and
1334 draw a black box around the page.
1336 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1338 * pdf/xpdf/pdf-document.cc:
1340 Keep offset in consideration in a few places
1342 * shell/ev-view.c: (expose_bin_window):
1344 Set the offsets so that the document is ever centered
1346 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
1348 * TODO: Added TODO items and finished off the first todo item
1350 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
1351 reflect current authors
1353 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1355 * pdf/xpdf/pdf-document.cc:
1356 * shell/ev-view.c: (ev_view_set_cursor),
1357 (ev_view_motion_notify_event), (document_changed_callback),
1358 (set_document_page):
1360 Show a wait cursor while the page is rendering
1362 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1364 * shell/ev-sidebar-thumbnails.c:
1365 (ev_sidebar_tree_selection_changed),
1366 (ev_sidebar_thumbnails_select_page):
1367 * shell/ev-sidebar-thumbnails.h:
1368 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
1369 (ev_view_can_go_forward):
1370 * shell/ev-window.c: (ev_window_open_page),
1371 (ev_window_setup_document), (update_current_page),
1372 (view_page_changed_cb), (ev_window_init):
1373 * shell/ev-window.h:
1375 Ensure thumbnails selection, toolbar page control and
1376 current page are in sync.
1378 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
1384 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
1386 * backend/Makefile.am:
1387 * backend/ev-document-links.h:
1388 * backend/ev-document-security.c: (ev_document_security_get_type),
1389 (ev_document_security_has_document_security),
1390 (ev_document_security_set_password):
1391 * backend/ev-document-security.h:
1392 * backend/ev-document.c: (ev_document_error_quark):
1393 * backend/ev-document.h:
1395 * data/evince-password.glade:
1396 * pdf/xpdf/pdf-document.cc:
1397 * shell/Makefile.am:
1398 * shell/ev-password.c: (ev_password_set_bad_password_label),
1399 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
1400 (ev_password_dialog_get_password),
1401 (ev_password_dialog_set_bad_pass):
1402 * shell/ev-password.h:
1403 * shell/ev-window.c: (ev_window_get_attribute),
1404 (ev_window_set_property), (update_action_sensitivity),
1405 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
1406 (ev_window_setup_document), (ev_window_get_password),
1407 (ev_window_open), (ev_window_cmd_save_as),
1408 (using_postscript_printer), (ev_window_print),
1409 (find_not_supported_dialog), (ev_window_cmd_edit_find),
1410 (update_fullscreen_popup), (ev_window_fullscreen),
1411 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1412 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
1413 (menu_item_select_cb), (find_bar_search_changed_cb),
1414 (ev_window_dispose), (ev_window_init):
1416 Add initial support for password-supported dialogs. This could be
1417 a lot cooler, but it'll do for now.
1419 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
1421 * pdf/xpdf/pdf-document.cc:
1422 * shell/ev-view.c: (status_message_from_link),
1423 (ev_view_set_status), (ev_view_set_cursor),
1424 (ev_view_motion_notify_event), (ev_view_init):
1425 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
1427 Fix bugs in the links implementation and change cursor
1428 when hovering a link.
1430 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
1432 * viewer/.cvsignore: added cvsignore file for viewer directory
1434 * TODO: created TODO document
1436 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
1439 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
1440 new functions to help with implementation of sensitivity code
1441 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
1442 of all actions that might require it. Fixes a crash when you
1443 click on the Zoom actions in a window lacking a document.
1445 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
1447 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
1450 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
1452 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
1453 (pixbuf_document_document_iface_init):
1454 * ps/ps-document.c: (ps_document_get_link),
1455 (ps_document_document_iface_init):
1456 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
1457 (status_message_from_link), (ev_view_set_status),
1458 (ev_view_set_find_status), (ev_view_motion_notify_event),
1459 (ev_view_button_release_event), (ev_view_set_property),
1460 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
1461 (ev_view_get_find_status_message), (update_find_results),
1462 (ev_view_get_status), (ev_view_get_find_status):
1464 * shell/ev-window.c: (view_status_changed_cb),
1465 (view_find_status_changed_cb), (ev_window_init):
1467 View status message support, use it to show the links.
1470 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
1472 * backend/ev-document.c: (ev_document_get_link):
1473 * backend/ev-document.h:
1474 * pdf/xpdf/pdf-document.cc:
1475 * shell/ev-application.c: (ev_application_open):
1476 * shell/ev-application.h:
1477 * shell/ev-sidebar-links.c: (selection_changed_cb):
1478 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
1479 (ev_view_go_to_link):
1481 Add support for document links
1483 2005-01-13 Anders Carlsson <andersca@gnome.org>
1485 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
1487 Set the spin button limits correctly.
1489 * shell/ev-sidebar-thumbnails.c:
1490 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
1491 Support changing pages by clicking on the thumbnails.
1493 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
1495 * pixbuf/pixbuf-document.c:
1496 (pixbuf_document_thumbnails_get_dimensions),
1497 (pixbuf_document_document_thumbnails_iface_init):
1499 implement get_dimensions
1501 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
1503 * ps/ps-document.c: (ps_document_goto_page):
1505 Fix page switching on multipage documents
1507 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
1509 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
1511 check for NULL before assigning to width and height parameters
1513 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
1515 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
1516 (pixbuf_document_set_property), (pixbuf_document_get_property):
1518 implement get/set properties
1520 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
1522 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
1524 return NULL instead of "Unknown", letting the title get set to
1525 the filename when the pdf has no title.
1527 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
1529 * ps/ps-document.c: (ps_document_get_page_count),
1530 (ps_document_goto_page):
1532 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
1534 * shell/ev-history.c: (ev_history_get_property),
1535 (ev_history_set_property), (ev_history_class_init),
1536 (ev_history_add_page), (ev_history_set_current_index):
1537 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
1538 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
1539 (ev_navigation_action_finalize):
1540 * shell/ev-navigation-action.h:
1541 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
1542 (ev_view_go_forward), (ev_view_get_find_status_message),
1543 (history_index_changed_cb), (ev_view_set_history):
1545 * shell/ev-window.c: (update_total_pages), (ev_window_open),
1546 (update_current_page), (register_custom_actions):
1548 Implement history dropdowns
1550 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
1552 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
1553 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
1554 (ev_view_go_forward):
1555 * shell/ev-window.c: (register_custom_actions):
1557 Fix several history bugs
1559 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
1561 * configure.ac: Add «nb» to ALL_LINGUAS.
1563 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
1565 * backend/Makefile.am:
1566 * backend/ev-bookmark.c:
1567 * backend/ev-bookmark.h:
1568 * backend/ev-document-bookmarks.c:
1569 * backend/ev-document-bookmarks.h:
1570 * backend/ev-document-links.c: (ev_document_links_get_type),
1571 (ev_document_links_has_document_links),
1572 (ev_document_links_begin_read), (ev_document_links_get_link),
1573 (ev_document_links_get_child), (ev_document_links_next),
1574 (ev_document_links_free_iter):
1575 * backend/ev-document-links.h:
1576 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
1577 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
1578 (ev_link_get_link_type), (ev_link_set_link_type),
1579 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
1580 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
1581 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
1582 (ev_link_new_external):
1583 * backend/ev-link.h:
1584 * pdf/xpdf/pdf-document.cc:
1585 * shell/Makefile.am:
1586 * shell/ev-application.c: (ev_application_open_link):
1587 * shell/ev-application.h:
1588 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
1589 (ev_history_get_link_nth):
1590 * shell/ev-history.h:
1591 * shell/ev-sidebar-bookmarks.c:
1592 * shell/ev-sidebar-bookmarks.h:
1593 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
1594 (ev_sidebar_links_class_init), (selection_changed_cb),
1595 (ev_sidebar_links_construct), (ev_sidebar_links_init),
1596 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
1597 (do_one_iteration), (populate_links_idle),
1598 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
1599 * shell/ev-sidebar-links.h:
1600 * shell/ev-sidebar.c: (ev_sidebar_set_document):
1601 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
1604 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
1605 * shell/ev-window.h:
1607 Rename bookmark to link, and use "Index" for the sidebar panel.
1609 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
1611 * shell/Makefile.am:
1612 * shell/ev-application.c: (ev_application_open_bookmark):
1613 * shell/ev-application.h:
1614 * shell/ev-history.c: (ev_history_init), (free_links_list),
1615 (ev_history_finalize), (ev_history_class_init),
1616 (ev_history_add_link), (ev_history_add_page),
1617 (ev_history_get_link_nth), (ev_history_get_n_links),
1618 (ev_history_get_current_index), (ev_history_set_current_index),
1620 * shell/ev-history.h:
1621 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
1622 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
1623 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
1624 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
1627 * shell/ev-window.c: (ev_window_open_bookmark),
1628 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
1629 (goto_page_cb), (register_custom_actions):
1630 * shell/ev-window.h:
1632 Initial history implementation. Needs work.
1634 2005-01-09 Martin Kretzschmar <martink@gnome.org>
1636 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
1638 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
1640 * cut-n-paste/recent-files/egg-recent-item.c:
1641 * cut-n-paste/recent-files/egg-recent-item.h:
1642 * cut-n-paste/recent-files/egg-recent-model.c:
1643 * cut-n-paste/recent-files/egg-recent-util.c:
1644 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1645 * cut-n-paste/recent-files/egg-recent-view.c:
1649 2005-01-08 Martin Kretzschmar <martink@gnome.org>
1651 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
1652 (fillGlyph, fillImageMask, drawImage):
1653 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
1654 pdf/splash/SplashTypes.h:
1655 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
1656 packed mode for Splash.
1658 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
1659 RGB8 packed mode, eliminates the pixbuf data creation loop.
1661 * shell/ev-print-job.c (ev_print_job_finalize)
1662 (ev_print_job_set_property, ev_print_job_get_property)
1663 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
1664 (ev_print_job_use_print_dialog_settings, idle_print_handler)
1665 (print_closure_finalize, ev_print_job_print): implement
1666 printing (for backends with EvPsExporter)
1668 * shell/ev_print_job.h: update prototypes.
1670 * shell/ev-window.c (ev_window_print): unref print job after
1673 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
1674 unless the document implements the EvDocumentFind interface.
1676 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
1678 * configure.ac: Added ja to ALL_LINGUAS.
1680 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1682 * pdf/xpdf/pdf-document.cc:
1684 add a FIXME. We should probably not allocate
1685 a bookmark object every time
1687 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1689 * shell/ev-application.c: (ev_application_open),
1690 (ev_application_open_bookmark):
1691 * shell/ev-application.h:
1693 Add a way to open bookmarks
1695 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
1696 (ev_bookmark_set_uri), (ev_bookmark_get_property),
1697 (ev_bookmark_set_property), (ev_bookmark_class_init),
1698 (ev_bookmark_new_title), (ev_bookmark_new_link),
1699 (ev_bookmark_new_external):
1701 Support for external uris, better constructors.
1703 * backend/ev-bookmark.h:
1704 * pdf/xpdf/pdf-document.cc:
1705 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
1707 Handle external uris
1709 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1711 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
1712 (ev_sidebar_bookmarks_construct), (do_one_iteration):
1714 Hook up bookmarks navigation
1716 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1718 * backend/Makefile.am:
1719 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
1720 (ev_bookmark_get_title), (ev_bookmark_set_title),
1721 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
1722 (ev_bookmark_get_page), (ev_bookmark_set_page),
1723 (ev_bookmark_get_property), (ev_bookmark_set_property),
1724 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
1726 * backend/ev-bookmark.h:
1727 * backend/ev-document-bookmarks.c:
1728 (ev_document_bookmarks_get_bookmark):
1729 * backend/ev-document-bookmarks.h:
1730 * pdf/xpdf/pdf-document.cc:
1731 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
1733 Add a bookmark object to the backend and use it instead of get_values
1735 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1737 * data/evince-ui.xml:
1739 Cleanup and add select all.
1741 * shell/ev-view.c: (ev_view_select_all),
1742 (ev_view_button_press_event):
1744 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
1747 Clear selection on click.
1749 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
1751 * shell/ev-sidebar-thumbnails.c
1752 (ev_sidebar_thumbnails_set_document): forgot to unref the
1755 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
1757 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
1758 at the visible page, not just linearly. This makes it look fast.
1760 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
1762 * backend/ev-document-misc.c
1763 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
1765 * backend/ev-document-thumbnails.h: New interface to get the size
1768 2005-01-06 Jeremy Katz <katzj@redhat.com>
1770 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
1773 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
1775 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
1776 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
1779 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
1781 2005-01-05 Martin Kretzschmar <martink@gnome.org>
1783 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
1784 fonts. Should fix font problems on systems that have the base
1785 fonts in bitmap format. Reported by James Henstridge
1786 <james@jamesh.id.au>.
1788 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1791 * pdf/xpdf/GfxState.cc:
1793 Fix for CAN-2004-1125
1795 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1797 * shell/ev-view.c: (ev_view_copy):
1799 * shell/ev-window.c: (ev_window_cmd_edit_copy):
1801 Implement Edit->Copy
1803 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1805 * backend/ev-document.c: (ev_document_get_text):
1806 * backend/ev-document.h:
1807 * pdf/xpdf/pdf-document.cc:
1808 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
1809 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1810 (ev_view_update_primary_selection), (ev_view_button_press_event),
1811 (ev_view_motion_notify_event), (ev_view_button_release_event):
1813 Beginnings of clipboard support. Incomplete but primary sort
1816 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1818 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
1819 (expose_bin_window):
1821 Nicer rubberband drawing, from GtkIconView.
1823 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1825 * backend/ev-document.c: (ev_document_save):
1826 * backend/ev-document.h:
1827 * data/evince-ui.xml:
1828 * pdf/xpdf/pdf-document.cc:
1829 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
1831 Implement "Save a copy..." menu item
1833 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1835 * shell/ev-view.c: (ev_view_zoom):
1837 Queue a resize when zoom changes
1839 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
1841 * backend/ev-document-misc.[ch]: New misc file to do simple drop
1844 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
1847 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1849 * pdf/xpdf/pdf-document.cc
1850 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
1852 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
1854 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
1855 It's slow, but I'll speed it up next!
1857 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
1859 * shell/main.c (load_files):
1861 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
1862 from the command line and because it seems more appropriate.
1864 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
1866 * data/evince-ui.xml:
1867 * shell/ev-window.c: (update_action_sensitivity),
1868 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
1870 s/next page/page down
1871 s/previous page/page up
1873 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
1875 * data/evince-ui.xml:
1877 Change the layout to match clarkbw design.
1879 * shell/Makefile.am:
1880 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
1881 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
1882 (ev_navigation_action_finalize),
1883 (ev_navigation_action_set_property),
1884 (ev_navigation_action_get_property),
1885 (ev_navigation_action_class_init):
1886 * shell/ev-navigation-action.h:
1888 Implement clarkbw toolbar navigation controls (incomplete)
1890 * shell/ev-page-action.c: (update_label), (update_spin),
1891 (value_changed_cb), (create_tool_item), (connect_proxy),
1892 (ev_page_action_init), (ev_page_action_finalize),
1893 (ev_page_action_set_property), (ev_page_action_get_property),
1894 (ev_page_action_set_current_page),
1895 (ev_page_action_set_total_pages), (ev_page_action_class_init):
1896 * shell/ev-page-action.h:
1898 Implement a page switcher in the toolbar
1900 * shell/ev-view.c: (ev_view_scroll_view):
1901 * shell/ev-window.c: (update_total_pages), (ev_window_open),
1902 (update_current_page), (view_page_changed_cb), (goto_page_cb),
1903 (register_custom_actions), (ev_window_init):
1905 Change page on PageUp/Down.
1907 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
1909 * pdf/xpdf/pdf-document.cc
1910 (pdf_document_thumbnails_get_thumbnail): initial stab at
1911 implementing thumbnail support for pdfs. It only does documents
1912 with precached pdfs now.
1914 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
1916 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
1917 thumbnail code into a time-based idle as well. Also, turn off the
1918 shadow temporarily as it's really slow.
1920 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
1922 * backend/ev-document.c: (ev_document_class_init):
1923 * pdf/xpdf/pdf-document.cc:
1924 * shell/ev-window.c: (ev_window_open):
1926 Fix document title bugs and fallback to
1927 filename when not available.
1929 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
1931 * backend/ev-document.c: (ev_document_get_type),
1932 (ev_document_class_init), (ev_document_load),
1933 (ev_document_get_title):
1934 * backend/ev-document.h:
1935 * pdf/xpdf/pdf-document.cc:
1936 * ps/ps-document.c: (ps_document_set_property),
1937 (ps_document_get_property), (ps_document_class_init),
1941 * shell/ev-window.c: (update_window_title), (ev_window_open),
1944 Initial support for document title. Not working yet.
1946 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
1948 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
1950 Grab focus on the view when clicking it
1952 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
1954 * shell/ev-marshal.list:
1955 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
1956 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
1958 Add key bindings to the view. Now if the focus would work
1961 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
1964 * backend/Makefile.am:
1967 * dvi/dvilib/Makefile.am:
1968 * pdf/xpdf/Makefile.am:
1974 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1976 * shell/ev-view.c: (ev_view_realize):
1978 Fix mouse wheel scrolling
1980 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
1986 * ps/ps-document.c: (catchPipe), (ps_document_init),
1987 (ps_document_class_init), (ps_document_cleanup),
1988 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
1989 (set_up_page), (close_pipe), (is_interpreter_ready),
1990 (interpreter_failed), (output), (input), (start_interpreter),
1991 (stop_interpreter), (file_length), (file_readable),
1992 (check_filecompressed), (check_pdf), (compute_xdpi),
1993 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
1994 (ps_document_get_type), (ps_document_emit_error_msg),
1995 (document_load), (ps_document_next_page),
1996 (ps_document_get_current_page), (ps_document_get_page_count),
1997 (ps_document_goto_page), (ps_document_set_page_size),
1998 (ps_document_zoom_to_fit), (ps_document_set_zoom),
1999 (ps_document_load), (ps_document_get_n_pages),
2000 (ps_document_set_page), (ps_document_get_page),
2001 (ps_document_widget_event), (ps_document_set_target),
2002 (ps_document_set_scale), (ps_document_set_page_offset),
2003 (ps_document_get_page_size), (ps_document_render),
2004 (ps_document_document_iface_init):
2007 * shell/ev-window.c: (ev_window_open):
2009 Rename GtkGS to PSDocument
2011 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2013 * ps/gtkgs.c: (gtk_gs_class_init):
2016 Some more leftover...
2018 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2020 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
2021 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
2022 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
2025 Remove unused code and make a lot of stuff private
2027 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2029 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
2030 (gtk_gs_defaults_changed):
2036 Cleanup headers dependencies
2038 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2043 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
2045 * ps/gtkgs.c: (file_length), (file_readable),
2046 (check_filecompressed), (check_pdf), (gtk_gs_load),
2047 (gtk_gs_get_postscript):
2051 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2056 * ps/gtkgs.c: (gtk_gs_set_zoom):
2060 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2062 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
2064 Ensure the page is rerendered when changing zoom
2066 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2068 * backend/ev-document.c: (ev_document_base_init),
2069 (ev_document_changed):
2070 * backend/ev-document.h:
2072 Add a changed event that is emitted when the page content
2073 changes. This is necessary to deal with the fact that
2074 in ps backend rendering happen asycrounously.
2075 This makes the ps backend mostly work.
2077 * pdf/xpdf/pdf-document.cc:
2081 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
2082 (ps_document_set_target):
2086 * shell/ev-view.c: (document_changed_callback),
2087 (ev_view_set_document), (ev_view_set_page):
2089 Redraw on the changed signal
2091 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
2093 * configure.ac: Added pt_BR to ALL_LINGUAS.
2095 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
2097 * backend/ev-document-bookmarks.c:
2098 (ev_document_bookmarks_get_child): *
2099 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
2100 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
2101 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
2102 (ev_sidebar_bookmarks_destroy),
2103 (ev_sidebar_bookmarks_class_init),
2104 (ev_sidebar_bookmarks_construct), (stack_data_free),
2105 (do_one_iteration), (populate_bookmarks_idle),
2106 (ev_sidebar_bookmarks_clear_document),
2107 (ev_sidebar_bookmarks_set_document): *
2108 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
2109 (ev_sidebar_add_page),
2110 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
2111 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
2112 it displays both the topics and the page numbers.
2114 2004-12-23 Kristian Høgsberg <krh@redhat.com>
2116 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
2118 * shell/ev-window.c (toggle_entries): Set sidebar default value to
2121 2004-12-23 Adam Weinberger <adamw@gnome.org>
2123 * configure.ac: Added en_CA to ALL_LINGUAS.
2125 2004-12-23 Martin Kretzschmar <martink@gnome.org>
2127 * ChangeLog: replace bottom of this ChangeLog (merged history of
2128 ggv and gpdf; where all paths were wrong and most of the files are
2129 not even in this tree) with ChangeLog (from arch) of the shell
2132 2004-12-23 Havoc Pennington <hp@redhat.com>
2134 * shell/ev-window.c: hook up potentially-questionable "find
2135 results status text" feature - something involving the sidebar or
2136 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
2137 might be better in the end.
2139 * shell/ev-view.c (ev_view_get_find_status_message): new function,
2140 with corresponding signal when it should be updated
2142 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
2144 2004-12-22 Havoc Pennington <hp@redhat.com>
2146 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
2147 find stuff on other pages, sort of (only returns one result on
2148 invisible pages, to show they have results; updates full results
2149 for a page when you view it). Currently repaints the current page
2150 every time a new result is found on any page, which isn't so nice.
2152 2004-12-22 Havoc Pennington <hp@redhat.com>
2154 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
2155 the document doesn't support find (better ideas?)
2156 (find_bar_search_changed_cb): handle missing document or document
2157 that doesn't support find
2159 * pdf/xpdf/pdf-document.cc: port to implement the new
2162 * backend/ev-document-find.c: create a new interface for searching
2164 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
2166 2004-12-23 Martin Kretzschmar <martink@gnome.org>
2168 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
2171 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
2172 EvPrintJob constructor arguments.
2174 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
2175 for documents that can export PostScript (page by page).
2177 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
2179 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
2180 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
2181 (pdf_document_ps_exporter_iface_init:
2182 Implement EvPSExporter.
2184 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
2186 2004-12-22 Anders Carlsson <andersca@gnome.org>
2188 * backend/Makefile.am:
2189 * backend/ev-document-thumbnails.c:
2190 (ev_document_thumbnails_get_type),
2191 (ev_document_thumbnails_get_thumbnail):
2192 * backend/ev-document-thumbnails.h:
2193 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
2194 (pixbuf_document_thumbnails_get_thumbnail),
2195 (pixbuf_document_document_thumbnails_iface_init):
2196 * shell/Makefile.am:
2197 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
2198 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
2199 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
2200 * shell/ev-sidebar-thumbnails.h:
2201 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2202 (ev_sidebar_set_document):
2203 * shell/ev-utils.c: (gaussian), (create_blur_filter),
2204 (create_shadow), (ev_pixbuf_add_shadow):
2206 Add thumbnail support.
2208 2004-12-22 Martin Kretzschmar <martink@gnome.org>
2210 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
2211 (using_postscript_printer): Set up a print dialog for "PostScript
2214 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
2217 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
2219 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2221 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
2222 (ps_document_set_target), (ps_document_get_page_size),
2223 (ps_document_render):
2228 2004-12-22 Christian Rose <menthos@menthos.com>
2230 * configure.ac: Added "sv" to ALL_LINGUAS.
2232 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
2234 * backend/ev-document-bookmarks.[ch]: new interface to indicate
2235 document supports bookmarks.
2237 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2239 * ps/ggvutils.c: (ggv_file_readable):
2241 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
2242 (gtk_gs_get_postscript):
2246 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2248 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
2249 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
2250 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
2251 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
2252 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
2253 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
2254 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
2255 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
2256 (gtk_gs_set_antialiasing), (ps_document_load),
2257 (ps_document_render):
2260 Another check point for the ps backend. Now I can get it to show
2263 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
2265 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
2266 document setting code.
2268 2004-12-22 Anders Carlsson <andersca@gnome.org>
2270 * shell/eggfindbar.c: (entry_activate_callback):
2271 Animate the next button when activate is pressed.
2273 2004-12-22 Anders Carlsson <andersca@gnome.org>
2275 * shell/ev-window.c: (ev_window_cmd_edit_find),
2276 (update_fullscreen_popup), (ev_window_fullscreen),
2277 (ev_window_unfullscreen), (ev_window_state_event_cb),
2278 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
2279 Fix bugs in fullscreen code.
2281 2004-12-22 Anders Carlsson <andersca@gnome.org>
2285 * pixbuf/Makefile.am:
2286 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
2287 (pixbuf_document_load), (pixbuf_document_get_n_pages),
2288 (pixbuf_document_set_page), (pixbuf_document_get_page),
2289 (pixbuf_document_set_target), (pixbuf_document_set_scale),
2290 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
2291 (pixbuf_document_render), (pixbuf_document_begin_find),
2292 (pixbuf_document_end_find), (pixbuf_document_finalize),
2293 (pixbuf_document_class_init),
2294 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2295 * pixbuf/pixbuf-document.h:
2296 * shell/Makefile.am:
2297 * shell/ev-application.c: (ev_application_open):
2298 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
2302 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
2305 * dvi/dvilib/Makefile.am:
2307 * configure.ac: Auto*ify dvi and dvi/dvilib
2309 * dvi/Makefile: Remove from CVS
2311 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
2314 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
2316 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
2318 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2321 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
2322 (gtk_gs_value_adjustment_changed), (compute_size),
2323 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
2324 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
2325 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
2326 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
2327 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
2328 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
2329 (ps_document_load), (ps_document_get_n_pages),
2330 (ps_document_set_page), (ps_document_get_page),
2331 (ps_document_set_target), (ps_document_set_scale),
2332 (ps_document_set_page_offset), (ps_document_get_page_size),
2333 (ps_document_render), (ps_document_begin_find),
2334 (ps_document_end_find), (ps_document_document_iface_init):
2336 * shell/Makefile.am:
2337 * shell/ev-window.c: (ev_window_open):
2339 Some work to integrate gtkgs with EvDocument
2341 2004-12-22 Anders Carlsson <andersca@gnome.org>
2343 * shell/ev-window.c: (update_fullscreen_popup),
2344 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
2345 (exit_fullscreen_button_clicked_cb),
2346 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
2347 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
2348 (ev_window_state_event_cb), (ev_window_init):
2349 Add fullscreen support from Epiphany.
2351 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2353 * data/ev-stock-zoom-fit-width.png: fit-width
2354 stock icon from gpdf.
2356 * shell/ev-stock-icons.[ch]: copied from gpdf.
2358 * shell/main.c: (main): init stock icons.
2360 * shell/ev-window.c: use the fit-width icon.
2362 * data/evince-ui.xml: add zooming toolbar items.
2364 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2367 (ev_view_best_fit), (ev_view_fit_width): because
2368 get_page_size() returns the scaled page size, we
2369 need to calculate the scale factor relative to
2370 the previous scale factor. Should really just
2371 add get_real_page_size().
2373 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2375 * shell/ev-view.[ch]:
2376 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
2377 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
2380 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2381 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
2382 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
2385 * pdf/xpdf/pdf-document.cc:
2386 (pdf_document_begin_find),
2387 (pdf_document_end_find): make static.
2389 2004-12-22 Martin Kretzschmar <martink@gnome.org>
2391 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
2393 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
2394 names to fontconfig patterns.
2395 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
2397 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
2400 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2416 Import ggv backend. Not hooked up yet.
2418 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2420 * shell/main.c: (load_files), (main): load files
2421 from the command line.
2423 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2425 * configure.ac: don't require bonobo.
2427 * cut-n-paste/recent-files/*: kill bonobo recent
2430 * shell/ev-window.c:
2431 (ev_window_is_empty): upd.
2432 (unable_to_load), (ev_window_open): load backend
2433 based on the mime type.
2435 2004-12-22 Martin Kretzschmar <martink@gnome.org>
2437 * backend/.cvsignore: ignore generated marshalers source.
2439 * shell/main.c (main): this is not epiphany.
2441 2004-12-22 Havoc Pennington <hp@redhat.com>
2443 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
2444 (expose_bin_window): draw find highlights
2446 * shell/ev-window.c (find_bar_search_changed_cb): implement
2448 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
2449 (pdf_document_end_find): implement this interface
2451 * backend/ev-document.c (ev_document_found): add this to emit
2454 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
2456 * data/evince-ui.xml: Add a few more toolbar items.
2458 * shell/ev-window.c: Hook up page navigation toolbar
2461 * shell/ev-view.[ch]: add ev_view_set/get_page and
2462 a page-changed signal.
2464 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
2465 Add ev_document_get_page().
2467 * shell/ev-window.c: Sensitize/desensitize navigation
2470 2004-12-21 Havoc Pennington <hp@redhat.com>
2472 * backend/ev-backend-marshal.c,
2473 backend/ev-backend-marshalers.list, backend/Makefile.am: add
2474 marshaler-generator thingy. I'm sure there's a better way to do
2475 this in the modern world.
2477 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
2478 end_find methods and "found" signal.
2480 * configure.ac: find glib-genmarshal
2482 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
2484 * shell/ev-sidebar.c: Construct an actual sidebar.
2485 * shell/ev-sidebar-bookmarks.[ch]:
2486 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
2488 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
2490 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
2493 * shell/ev-view.c: Track the size from the document.
2495 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
2497 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
2498 constructor assumes ownership of the string passed in.
2500 * shell/ev-window.c (ev_window_open): Destroy the error
2501 dialog once we've displayed it.
2503 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
2505 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
2506 a bit, it works! (sort of)
2508 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
2509 Move to .cc since we need to use C++ in the implementation.
2511 * shell/dummy.cc: Add a CC file to force evince
2512 to be linked as a C++ program.
2514 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
2516 * shell/ev-view.[ch]: Start of content-area widget.
2518 * shell/ev-window.c: Create a EvView, update it
2519 as we change documents.
2521 * shell/Makefile.am shell/ev-marshal.list: Add
2522 generated marshalers.
2524 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
2526 * Makefile.am (SUBDIRS): move shell.
2528 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
2530 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
2531 .a to libtool convenience libraries.
2533 * shell/ev-window.c (ev_window_open): Hard code loading
2536 * backend/ev-document.h: Add a boolean return to load(),
2537 fix GError * to GError **.
2539 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
2540 object for a PDF backend EvDocument.
2542 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
2544 * dvi/*: New directory with the beginning of a .dvi backend.
2546 2004-12-21 Havoc Pennington <hp@redhat.com>
2548 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
2549 previous/next instead of back/forward
2551 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
2553 * backend/ev-document.[ch]: Fix a couple of problems so
2556 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
2558 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
2559 to backend/ directory, rename EvViewer to EvDocument.
2561 2004-12-21 Havoc Pennington <hp@redhat.com>
2563 * shell/ev-window.c: hook up the find bar widget; now we just need
2564 a document to find things in
2566 * shell/eggfindbar.c: a find bar widget
2568 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
2570 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
2572 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
2574 * pdf/**: Import of xpdf code from gpdf.
2576 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
2578 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
2579 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
2580 Fix FreeType includes.
2582 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
2583 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
2584 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
2585 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
2586 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
2587 Include xpdfconfig.h
2589 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
2591 * shell/ev-window.c (ev_window_dispose): dispose can be called
2594 2004-12-21 Havoc Pennington <hp@redhat.com>
2596 * shell/ev-window.c (ev_window_init): set title to Document Viewer
2599 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
2600 items; really they should be synced with the strings, etc. from
2601 current gpdf, but just getting the boring typing out of the way
2603 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
2606 * shell/ev-application.c: (window_destroy_cb):
2607 * shell/ev-window.c:
2608 * shell/main.c: (main):
2610 Actually show the window...
2612 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
2615 * shell/Makefile.am:
2616 * shell/ev-application.c: (ev_application_class_init):
2617 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
2621 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
2623 Import to gnome cvs.
2625 * Remove copies of gpdf and ggv trees.
2626 * Rip out all the recursive configure code.
2627 * Remove bonobo machinery.
2628 * viewer/*: GInterfaces that backends should/can implement.
2630 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
2632 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
2635 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
2637 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
2638 (ev_application_finalize, ev_application_class_init)
2639 (ev_application_init): use GType instance private data for priv.
2641 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
2642 (ev_window_finalize, ev_window_class_init)
2643 (ev_window_init): ditto.
2645 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
2647 * shell/ev-application.c (ev_application_new_window): make public
2648 (ev_application_show_initial_window): kill.
2650 * shell/ev-application.h: update prototypes.
2652 * shell/main.cc (main): inline ev_application_show_initial_window.
2654 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
2656 * shell/ev-application.c (ev_application_new_window): impl.
2657 (ev_application_show_initial_window): use it.
2658 (is_window_empty, ev_application_get_empty_window): returns an
2659 existing empty window or a new one.
2660 (ev_application_open): from ev_window_cmd_file_open.
2662 * shell/ev-application.h: update prototypes
2664 * shell/ev-window.c (ev_window_is_empty): impl.
2665 (ev_window_open): make public.
2666 (ev_window_cmd_file_open): use ev_application_open
2668 * shell/ev-window.h: update prototypes, remove unused.
2670 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
2672 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
2673 move destroy handler out of here...
2675 * shell/ev-application.c, shell/ev-application.h: ...into this new
2676 class. Also handles initial window creation.
2678 * shell/main.cc (main): use EvApplication to create initial
2681 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
2683 * Makefile.am (SUBDIRS): add cut-n-paste
2685 * cut-n-paste/Makefile.am: add
2687 * configure.ac: generate Makefiles in cut-n-paste
2689 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
2691 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
2692 (ev_window_class_init): install ev_window_dispose.
2694 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2696 * shell/ev-window.h, shell/ev-window.c: replace gchar with
2697 char (gchar looks stupid).
2699 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2701 * po/de.po: updated German translation.
2703 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2705 * configure.ac: add more pkg-config library checks for gnome-vfs,
2708 * gpdf/configure.in: temporarily disable libpaper
2709 checks. Otherwise I'd have to add the checks for the shell, too.
2711 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2713 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
2714 and * file filters to the file choose.
2716 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2718 * po/de.po: Updated German translation.
2720 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2722 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
2724 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2726 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
2728 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
2729 (ev_window_init): implement those menuitems.
2731 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2733 * data/evince-ui.xml: add a toolbar (with FileOpen action)
2735 * shell/ev-window.c (ev_window_init): use the toolbar.
2737 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2739 * shell/ev-window.c (ev_window_init): use menu translations
2741 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2743 * configure.ac: add "de" to ALL_LINGUAS.
2745 * po/de.po: add German translation.
2747 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2749 * Makefile.am (SUBDIRS): add po
2751 * configure.ac: check intltool, glib-gettext etc, generate
2754 * po, po/POTFILES.in, po/POTFILES.skip: new.
2756 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2758 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
2759 already use (#ifdef ENABLE_NLS)
2761 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
2762 pointer indirection thinko.
2764 * shell/main.c: include gi18n.h for bindtextdomain etc.
2766 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2768 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
2769 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
2770 tooltips for menu items in the statusbar.
2772 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2774 * configure.ac, data/Makefile.am, shell/Makefile.am: use
2775 pkgdatadir drop UIDIR
2777 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2779 * data/evince-ui.xml: Add File->Open menu item
2781 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
2782 chooser), hook it up in the ui manager.
2784 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2786 * shell/ev-window.c: fix Help->About tooltip.
2788 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2790 * configure.ac: set CFLAGS for libevprivate.
2792 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
2793 definitions, factory etc.
2795 * lib/Makefile.am: build libevprivate.a (only stock icon code).
2797 * shell/Makefile.am: link against libevprivate.a.
2799 * shell/ev-window.c (entries): add stock icon to Help->About.
2801 * shell/main.c (main): init stock icon code.
2803 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2805 * lib/recent-files: egg recent files code
2807 * lib/Makefile.am: add.
2809 * Makefile.am: add lib subdir.
2811 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
2812 set CFLAGS for recent-files.
2814 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2816 * configure.ac: disable -ansi and -pedantic gcc flags. They
2817 disable POSIX stuff in stdio.h, but egg-recent uses them.
2819 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2821 * configure.ac: add --disable-deprecated flag (defaults to on in
2824 * shell/Makefile.am (INCLUDES): use it.
2826 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2828 * shell/main.c: add missing #include.
2830 * shell/ev-window.c: fix for pedantic gcc.
2831 (ev_window_cmd_help_about): split license into paragraphs for
2832 translators and pedantic compilers.
2834 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2836 * configure.ac: add more warning flags if compiling with gcc from
2837 cvs (or explicitly requested with --enable-more-warnings).
2839 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2841 * data/evince-ui.xml: add File and File->Close menu.
2843 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
2844 (ev_window_destroy): quit after destroy.
2845 (ev_window_class_init): override GtkObject::destroy.
2846 (entries): install close_window callback.
2848 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2850 * Makefile.am (SUBDIRS): add data subdir.
2852 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
2853 gtk+ 2.5.0 for GtkAboutDialog.
2855 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
2858 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
2860 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
2862 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
2864 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2866 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
2868 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
2870 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
2872 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
2874 * shell/*: Added shell directory boilerplate, build it.
2876 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
2878 * configure.ac, Makefile.am: Added top-level configure.ac and