1 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3 * shell/ev-view.c: (ev_view_can_find_next):
4 * shell/ev-window.c: (ev_window_setup_document):
6 Check that the document supports find
8 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
11 * shell/ev-view.c: (ev_view_can_find_next):
13 * shell/ev-window.c: (update_action_sensitivity),
14 (find_changed_cb), (ev_window_setup_document),
15 (ev_window_cmd_edit_find_next):
19 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
22 * shell/ev-print-job.c: (idle_print_handler):
24 Make printing work again
26 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
28 * shell/ev-page-action.h:
29 * shell/ev-page-action.c: (ev_page_action_widget_init),
30 (ev_page_action_widget_class_init), (page_changed_cb),
31 (create_tool_item), (update_page_cache), (build_new_tree_cb),
32 (get_filter_model_from_model), (match_selected_cb),
33 (display_completion_text), (match_completion), (update_model),
34 (connect_proxy), (ev_page_action_set_property),
35 (ev_page_action_get_property), (ev_page_action_set_document),
36 (ev_page_action_set_model), (ev_page_action_class_init): Big
37 reworking to make completions work iff we have >= GTK-2.7.0
39 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
40 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
41 (job_finished_cb): We now have a 'model' property that is set when
42 the links are loaded. This can be caught with "notify::model"
44 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
45 listen for the model to be set, and propagate it to the action.
47 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
49 * cut-n-paste/recent-files/egg-recent-item.c:
50 (egg_recent_item_set_uri), (make_valid_utf8),
51 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
52 * cut-n-paste/recent-files/egg-recent-item.h:
54 Update egg-recent from libegg. This should fix long
55 startup problem. For details see
56 http://bugzilla.gnome.org/show_bug.cgi?id=160531
58 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
60 * cut-n-paste/recent-files/Makefile.am:
61 * data/evince-ui.xml, shell/Makefile.am:
62 * shell/ev-application.c, shell/ev-application.h:
63 * shell/ev-window.c: Recent files support.
65 * configure.ac: Added "ru" to ALL_LINGUAS.
67 * dvju: new backend to support DJVU files.
68 * dvi: new backend to support DVI.
70 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
71 * ev-application.c: Support for new backends.
73 * help, ev-window.c, main.c shell/Makefile.am:
74 Evince user documentation.
76 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
80 * thumbnailer/evince-thumbnailer.c:
82 s/pdf-document/ev-poppler
84 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
91 * ps/ps-document.c: (setup_pixmap):
95 2005-04-05 Kristian Høgsberg <krh@redhat.com>
97 * backend/ev-page-cache.c (ev_page_cache_next_page):
98 * shell/ev-window.c (ev_window_cmd_go_next_page)
99 (ev_window_cmd_go_first_page): Fix of by one errors.
101 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
103 * ps/ps-document.c: (get_page_box):
105 Fix page size calculation
107 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
109 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
110 (ps_document_cleanup), (setup_pixmap), (get_page_box),
111 (get_page_orientation), (setup_page), (document_load),
112 (ps_document_get_page_size), (render_pixbuf_idle):
115 More refactoring to adapt to EvDocument changes
117 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
119 * ps/ps-document.c: (start_interpreter):
121 Actually add alpha args
123 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
127 Make clipboard work again
129 2005-04-04 Kristian Høgsberg <krh@redhat.com>
131 Make searching work again.
133 * backend/ev-document.c:
134 * backend/ev-document.h:
135 * backend/ev-document-find.c:
136 * backend/ev-document-find.h: Change EvDocumentIface so we no
137 longer store the current page or zoom level in the document. The
138 consequence is that all calls that operate on the current page now
139 instead take the page number as an extra argument, and all
140 coordinates are now doubles in document coordinate system.
143 * pixbuf/pixbuf-document.c:
144 * ps/ps-document.c: Update backends accordingly.
146 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
150 Add required gettext version
152 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
154 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
155 make F1 bring up non-existent help.
157 * shell/eggfindbar.c: Patch from Christian Persch to sync to
158 epiphany's find bar, #167477
160 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
161 <emil@nishra.com> to add space-bar scrolling,
163 * shell/ev-window.c (static GtkActionEntry entries): add default
164 keybinding for Help (F1)
167 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
168 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
171 2005-04-01 David Malcolm <dmalcolm@redhat.com>
174 * pixbuf/pixbuf-document.c:
176 Got pixbuf backend working again
178 2005-04-01 Steve Murphy <murf@e-tools.com>
180 * configure.in: Added "rw" to ALL_LINGUAS.
182 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
184 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
185 model types, noticed by Martin Kretzschmar.
187 2005-04-01 Kristian Høgsberg <krh@redhat.com>
189 * pdf/ev-poppler.cc: Implement search based on
190 poppler_page_find_text(). Currently a bit crude since we remember
191 all matches from all pages. Also, we grab the big document lock
192 when we search since searching changes the underlying stream and
193 thus conflicts with the rendering thread.
195 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
196 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
197 (ev_view_find_previous): Fix some page indexes to be 0 based,
198 offset rubber band by view offset,
200 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
202 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
204 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
206 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
207 completely because I didn't understand GtkActions. I should
208 read Marco's code more carefully in the future.
210 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
213 2005-03-31 Kristian Høgsberg <krh@redhat.com>
215 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
216 PopplerRectangle change from poppler CVS.
218 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
220 * backend/ev-document.c: (ev_document_get_page_label):
221 * backend/ev-document.h:
222 * backend/ev-page-cache.c: (_ev_page_cache_new),
223 (ev_page_cache_get_page_label):
224 * backend/ev-page-cache.h:
226 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
227 (links_page_num_func):
228 * shell/ev-sidebar-thumbnails.c:
229 (ev_sidebar_thumbnails_set_document):
230 * shell/ev-view.c: (status_message_from_link),
231 (ev_view_motion_notify_event):
232 * shell/ev-window.c: (document_supports_sidebar): Add in page
233 label support. It's not perfect yet, but it's the first 'feature'
235 Also, fix a bogus comment noticed by crispin.
237 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
239 * Makefile.am: Remove pixbuf backend for now
241 * configure.ac: Require poppler-glib instead of just poppler.
243 * backend/ev-document-thumbnails.h: Add a comment
245 * backend/ev-document.h:
246 * backend/ev-document.c: (ev_document_class_init),
247 (ev_document_load), (ev_document_get_link),
248 (ev_document_get_links): Remove 3 methods and add get_links.
251 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
252 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
254 * backend/ev-link.c: (ev_link_set_title),
255 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
256 (ev_link_mapping_find):
257 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
259 * backend/ev-page-cache.c: (ev_page_cache_init),
260 (_ev_page_cache_new), (ev_page_cache_set_current_page),
261 (ev_page_cache_get_size), (ev_page_cache_next_page),
262 (ev_page_cache_prev_page): Fix to be 0 based.
266 * pdf/ev-poppler.cc: New backend.
268 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
269 (ps_document_get_page), (ps_document_document_iface_init):
271 * shell/ev-pixbuf-cache.h:
272 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
273 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
274 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
275 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
276 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
277 Fix up code to grab a page cache per each doc. Also, fix to be 0
280 * shell/ev-sidebar-thumbnails.c:
281 (ev_sidebar_tree_selection_changed), (page_changed_cb),
282 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
284 * shell/ev-view.c: (status_message_from_link),
285 (find_page_at_location), (get_link_at_location),
286 (ev_view_motion_notify_event), (ev_view_button_release_event),
287 (ev_view_init): Use the new link code. Fix to be 0 based.
289 * shell/ev-window.c: (update_action_sensitivity),
290 (document_supports_sidebar): 0 based.
292 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
294 * pdf/pdf-document.cc: Patch from Fernando Herrera
295 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
298 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
300 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
301 1 to the page, as this seems to be 1 based. I thought we has this
304 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
307 * backend/Makefile.am:
308 * backend/ev-document-links.c:
309 (ev_document_links_has_document_links),
310 (ev_document_links_get_links_model):
311 * backend/ev-document-links.h:
312 * backend/ev-document.c: (ev_document_get_page_cache),
313 (ev_document_get_doc_mutex), (ev_document_load),
314 (ev_document_save), (ev_document_get_title),
315 (ev_document_get_n_pages), (ev_document_set_page),
316 (ev_document_get_page), (ev_document_set_target),
317 (ev_document_set_scale), (ev_document_set_page_offset),
318 (ev_document_get_page_size), (ev_document_get_text),
319 (ev_document_get_link), (ev_document_render),
320 (ev_document_render_pixbuf), (ev_document_scale_changed):
321 * backend/ev-document.h:
322 * backend/ev-job-queue.c: (remove_object_from_queue),
323 (notify_finished), (handle_job), (search_for_jobs_unlocked),
324 (no_jobs_available_unlocked), (ev_render_thread),
325 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
326 (ev_job_queue_remove_job):
327 * backend/ev-job-queue.h:
328 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
329 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
330 (ev_job_links_class_init), (ev_job_render_init),
331 (ev_job_render_dispose), (ev_job_render_class_init),
332 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
333 (ev_job_thumbnail_class_init), (ev_job_finished),
334 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
335 (ev_job_render_run), (ev_job_thumbnail_new),
336 (ev_job_thumbnail_run):
340 * backend/ev-page-cache.c: (ev_page_cache_init),
341 (ev_page_cache_class_init), (ev_page_cache_finalize),
342 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
343 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
344 (ev_page_cache_set_link), (ev_page_cache_get_title),
345 (ev_page_cache_get_size), (ev_page_cache_next_page),
346 (ev_page_cache_prev_page):
347 * backend/ev-page-cache.h:
348 * pdf/pdf-document.cc:
351 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
352 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
353 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
354 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
355 (is_interpreter_ready), (output), (catchPipe), (input),
356 (start_interpreter), (check_filecompressed), (compute_dimensions),
357 (ps_document_enable_interpreter), (document_load),
358 (ps_document_next_page), (render_page), (ps_document_set_page),
359 (ps_document_set_scale), (render_pixbuf_idle),
360 (ps_document_render_pixbuf), (ps_document_document_iface_init):
363 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
364 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
365 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
366 (ev_pixbuf_cache_new), (job_finished_cb),
367 (check_job_size_and_unref), (move_one_job),
368 (ev_pixbuf_cache_update_range), (find_job_cache),
369 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
370 (ev_pixbuf_cache_add_jobs_if_needed),
371 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
372 * shell/ev-pixbuf-cache.h:
373 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
374 (idle_print_handler):
375 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
376 (selection_changed_cb), (create_loading_model),
377 (ev_sidebar_links_construct), (links_page_num_func),
378 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
379 (update_page_callback), (job_finished_cb),
380 (ev_sidebar_links_set_document):
381 * shell/ev-sidebar-thumbnails.c:
382 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
383 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
384 (page_changed_cb), (thumbnail_job_completed_callback),
385 (ev_sidebar_thumbnails_set_document):
386 * shell/ev-sidebar-thumbnails.h:
387 * shell/ev-sidebar.c: (ev_sidebar_set_document):
388 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
389 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
390 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
391 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
392 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
393 (ev_view_button_release_event), (ev_view_scroll_view),
394 (ev_view_class_init), (ev_view_init), (update_find_status_message),
395 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
396 (ev_view_new), (job_finished_cb), (page_changed_cb),
397 (ev_view_set_document), (go_to_link), (ev_view_zoom),
398 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
399 (ev_view_find_previous):
401 * shell/ev-window.c: (update_action_sensitivity),
402 (ev_window_open_page), (update_window_title), (update_total_pages),
403 (page_changed_cb), (ev_window_setup_document),
404 (password_dialog_response), (ev_window_cmd_save_as),
405 (ev_window_print), (ev_window_cmd_go_previous_page),
406 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
407 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
408 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
409 * shell/main.c: (main):
411 Merge evince-threads branch
413 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
415 * configure.ac: Added "lt" to ALL_LINGUAS.
417 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
424 2005-03-13 Fernando Herrera <fherrera@onirica.com>
426 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
428 Fix here also the thumbnails 1-basedness :)
430 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
437 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
439 * pdf/pdf-document.cc:
440 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
441 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
443 Fix the mess we did with thumbnails and 1-basedness
445 2005-03-12 Changwoo Ryu <cwryu@debian.org>
447 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
449 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
456 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
459 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
460 (gtk_gs_defaults_get_alpha_parameters),
461 (gtk_gs_defaults_get_ungzip_cmd),
462 (gtk_gs_defaults_get_unbzip2_cmd):
464 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
465 (ps_document_get_orientation), (document_load),
466 (ps_document_goto_page), (ps_document_set_page_size):
469 Some more sanitization of the ps backend. Remove a lot
470 of unused code and do not base our defaults on ggv
473 2005-03-08 Fernando Herrera <fherrera@onirica.com>
475 * thumbnailer/evince-thumbnailer.schemas:
476 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
477 (main): add -s option for thumbnail size.
479 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
483 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
486 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
488 * pdf/pdf-document.cc:
490 Remove 4 pixels of useless border from the
493 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
495 * backend/ev-document-thumbnails.c:
496 (ev_document_thumbnails_get_thumbnail):
497 * backend/ev-document-thumbnails.h:
499 Rework API a bit. Add a border flag and
500 change sizing logic (now the size we specify
501 applies to the bigger dimension).
503 * pdf/pdf-document.cc:
504 * pixbuf/pixbuf-document.c:
505 (pixbuf_document_thumbnails_get_thumbnail):
506 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
507 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
509 Adapt to the new API and do not draw a border for nautilus
512 2005-03-03 Fernando Herrera <fherrera@onirica.com>
514 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
515 take thumbnails from page "0" instead of "1". Added a copyright header.
517 2005-03-03 Jens Granseuer <jensgr@gmx.net>
519 * ps/ps-document.c: (set_up_page), (start_interpreter):
521 Make it C89 compliant
523 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
528 * pdf/pdf-document.cc:
529 * thumbnailer/Makefile.am:
530 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
532 * thumbnailer/evince-thumbnailer.schemas:
533 * thumbnailer/pdf-icon.png:
535 Add a nautilus thumbnailer.
536 Based on patch by Fernando Herrera <fherrera@onirica.com>.
538 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
546 2005-03-01 Kristian Høgsberg <krh@redhat.com>
548 Use poppler instead of including xpdf source code. Poppler is a
549 fork of xpdf to build it as a shared library. See
550 http://freedesktop.org/wiki/Software/poppler.
552 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
555 * pdf/Makefile.am: Build libpdfdocument.a here.
557 * pdf/GDKSplashOutputDev.cc:
558 * pdf/GDKSplashOutputDev.h:
559 * pdf/GnomeVFSStream.cc:
560 * pdf/GnomeVFSStream.h:
563 * test-gdk-output-dev.cc
565 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
568 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
570 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
572 Clear idle stack before unsetting the document
574 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
576 * ps/ps-document.c: (ps_document_widget_event),
577 (ps_document_set_target), (ps_document_finalize),
578 (ps_document_get_page):
580 Disconnect the widget event signal on finalize.
583 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
585 * ps/ps-document.c: (set_up_page):
587 If there is no bpixmap create one, even if size
590 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
592 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
593 (set_up_page), (document_load), (ps_document_set_zoom):
595 Default page is 0. Calculate size even when we have no
598 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
600 * shell/ev-sidebar.c: expand the selection widget to be always as
603 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
605 * shell/ev-sidebar-thumbnails.c:
606 (ev_sidebar_thumbnails_set_document):
608 Clear the list store when setting document
610 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
612 * shell/ev-page-action.c: (update_entry), (sync_entry),
613 (activate_cb), (entry_size_request_cb), (create_tool_item),
616 Use an entry for the page control instead of spinbuttons
618 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
620 * data/evince.schemas.in:
622 Correct confusing string
624 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
626 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
627 for real. Gosh, how long has this been broken.
629 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
630 check for a NULL link. We crash otherwise.
632 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
639 2005-02-25 Sebastien Bacher <seb128@debian.org>
641 * configure.ac: add the french translation.
643 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
647 Remove unused header -> fix distcheck
649 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
651 * shell/ev-window.c: (update_window_title),
652 (ev_window_popup_password_dialog):
654 Unescape filename for display
656 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
658 * pdf/xpdf/pdf-document.cc:
660 In get_page_size deal with rotation. Also
661 cleanup the function a bit.
663 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
665 * pdf/xpdf/pdf-document.cc:
667 Fix crash when opening in new window
669 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
673 Check ghostscript >= 7
675 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
679 Make page width the default sizing mode
681 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
682 Marco Pesenti Gritti <marco@gnome.org>
684 * shell/ev-window.c: Remember the sidebar size
686 * data/evince.schemas.in: Add a new gconf key to store the size of
689 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
691 * data/evince-ui.xml:
692 * shell/ev-window.c: (update_action_sensitivity),
693 (ev_window_cmd_view_reload):
695 Add a "Reload" action and menu entry
697 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
699 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
700 iff the type doesn't support thumbnailing and indexing.
702 2005-02-24 Martin Kretzschmar <martink@gnome.org>
704 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
706 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
708 * pdf/splash/Splash.cc:
710 Port fix for a crasher from kde bug
711 http://bugs.kde.org/show_bug.cgi?id=97131
713 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
715 * pdf/xpdf/pdf-document.cc:
717 Return a link even if it's of an unrecognized
718 type. Otherwise we go in an infinte cycle.
720 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
722 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
723 (size_allocate_cb), (ev_window_set_sizing_mode):
725 Update size when switching mode
727 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
729 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
730 (ev_window_cmd_view_page_width), (update_sizing_buttons),
731 (ev_window_cmd_view_normal_size):
733 Fix size toggle buttons behavior
735 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
737 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
738 (doc_rect_to_view_rect), (ev_view_size_allocate),
739 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
740 (scale_changed_callback):
742 Do not cache offsets in size_allocate.
744 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
746 * shell/ev-view.c: (ev_view_size_allocate):
748 Calculate offsets before calling the parent
749 class (which does a redraw)
751 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
753 * pdf/xpdf/pdf-document.cc:
755 Fix a crasher on exit. Unused code, put a TODO
757 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
759 * backend/ev-document.c: (ev_document_class_init),
760 (ev_document_page_changed), (ev_document_scale_changed):
761 * backend/ev-document.h:
763 Separate page/scale notifications
765 * pdf/xpdf/pdf-document.cc:
767 Emit the new signals.
768 Do not display the pdf page in _render, do it
769 when scale/page are requested.
771 * ps/ps-document.c: (ps_document_set_zoom),
772 (ps_document_widget_event):
775 Emit the new signals.
777 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
778 (ev_view_init), (page_changed_callback), (scale_changed_callback),
779 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
780 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
782 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
783 (ev_window_cmd_view_page_width), (size_allocate_cb),
784 (ev_window_set_sizing_mode):
786 Rework sizing to be pixel based.
787 There are bugs but should be already way better.
789 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
791 * shell/ev-window.c: (ev_window_init):
793 Do not allow to shrink sidebar smaller then
796 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
798 * shell/ev-sidebar.[ch]
801 Improved sidebar widget. Fixes #166683
803 2005-02-23 Tommi Vainikainen <thv@iki.fi>
805 * shell/ev-view.c (update_find_status_message): Give translators
806 more flexibility with ngettext plural handling.
808 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
810 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
811 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
812 page when we get the page size.
814 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
816 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
818 ps pages are 0 based, convert
820 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
822 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
824 Initialize correct parent class. Set GError on document load
826 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
828 * pdf/xpdf/pdf-document.cc:
830 Fixup selection offset calculation
832 * shell/ev-view.c: (view_rect_to_doc_rect),
833 (doc_rect_to_view_rect), (ev_view_size_allocate),
834 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
835 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
837 Store selection as document relative, so that zooming
838 and offset changing doesnt break it.
840 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
842 * shell/ev-view.c: (ev_view_best_fit):
844 Do not try to best fit if the view is not realized
846 2005-02-20 Kostas Papadimas <pkst@gnome.org>
848 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
850 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
852 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
854 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
856 * shell/ev-window.c: Change the fullscreen toolbar to always be in
857 the popup window. That prevents it resizing when in full screen
860 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
861 multiple rerenders. This pretty much sucks.
863 * data/evince-ui.xml: Change the fullscreen toolbar to include the
866 2005-02-18 Tommi Vainikainen <thv@iki.fi>
868 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
870 2005-02-17 Alexander Shopov <ash@contact.bg>
872 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
874 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
876 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
878 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
880 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
881 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
882 (set_document_page), (document_changed_callback),
883 (ev_view_set_document), (ev_view_find_previous),
884 (ev_view_hide_cursor), (ev_view_show_cursor):
886 * shell/ev-window.c: (update_chrome_visibility),
887 (fullscreen_timeout_cb), (fullscreen_set_timeout),
888 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
889 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
890 (ev_window_unfullscreen):
891 * shell/main.c: (main):
893 Automatically hide the fullscreen button.
894 Patch by Kristian Høgsberg <krh@redhat.com>
896 2005-02-16 Vincent Noel <vnoel@cox.net>
898 * shell/main.c (main): Specify an icon for the window. Patch by
899 Jaap A. Haitsma. Fixes #166177.
901 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
903 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
905 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
907 * backend/ev-document-misc.h:
908 * backend/ev-document-misc.c:
909 (ev_document_misc_get_page_border_size),
910 (ev_document_misc_paint_one_page): New function to canonicalize
911 sizing/painting a border.
913 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
916 * pdf/xpdf/pdf-document.cc: use new function
918 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
919 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
920 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
921 shell/ev-window.c: (update_sizing_buttons),
922 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
923 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
924 (ev_window_cmd_view_page_width), (size_allocate_cb),
925 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
926 and "fit width" values act as toggle buttons so they stay
927 toggled. It's not 100% perfect, and it's a little slow, but it's
928 good enough to commit I think.
930 2005-02-15 David Lodge <dave@cirt.net>
932 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
934 2005-02-15 Martin Kretzschmar <martink@gnome.org>
936 * shell/ev-window.c (update_window_title): replace newlines in
937 the title by spaces. Bug #166107.
939 2005-02-14 Martin Kretzschmar <martink@gnome.org>
941 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
942 parameters providing allocation width and height without
943 scrollbars and width of a possible vertical scrollbar. With this
944 additional information the functions can work as
945 intended. Unfortunately they're not idempotent. We should
946 transform these commands to toggles. Fixes Bug #164976
947 Initial patch by Stephane Loeuillet, then heavily modified.
949 * shell/ev-view.h: update prototypes.
951 * shell/ev-window.c (ev_window_cmd_view_best_fit)
952 (ev_window_cmd_view_page_width): provide EvView fit functions with
953 all the information they need. Formulas to calculate this
954 information taken from GtkScrolledWindow.
956 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
958 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
959 created a thumbnail, the list store is updated to know
960 that the thumbnail is set. Fixes bug #166792
962 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
964 * shell/ev-window.c: fixed typo, closes bug 166897
966 * TODO: updated TODO with bug numbers that are relevant
968 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
970 * shell/ev-window.c: Support for DnD of files. Fixes #164813
972 2005-02-09 Vincent Noel <vnoel@cox.net>
974 * shell/ev-window.c: (set_action_properties): Set the "Previous"
975 and "Next" toolbar buttons as important to make them stand out.
977 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
981 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
982 (start_interpreter), (stop_interpreter), (document_load),
983 (ps_document_next_page), (ps_document_goto_page),
984 (ps_document_set_page_size), (ps_document_widget_event),
985 (ps_document_render):
986 * shell/ev-page-view.c: (ev_page_view_dispose):
987 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
989 Fix compilation on non-gcc platforms
991 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
998 * pdf/xpdf/Catalog.cc:
1001 Fix the fix for CAN-2004-0888
1003 2005-02-09 Luca Ferretti <elle.uca@libero.it>
1006 * data/evince-ui.xml:
1007 * shell/ev-stock-icons.c: (ev_stock_icons_init):
1008 * shell/ev-stock-icons.h:
1009 * shell/ev-window.c: (update_action_sensitivity),
1010 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
1011 (set_action_properties):
1013 Improve toolbar layout/icons
1015 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
1017 * pdf/xpdf/pdf-document.cc:
1019 Add warnings about unimplemented/unknown link
1022 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1024 * ps/ps-document.c: (set_up_page):
1028 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1030 * ps/ps-document.c: (start_interpreter):
1034 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1036 * shell/ev-page-view.c: (ev_page_view_dispose):
1037 * shell/ev-view.c: (ev_view_finalize):
1038 * shell/ev-window.c: (ev_window_setup_document),
1039 (ev_window_dispose), (ev_window_init):
1041 Solve more refs issues.
1043 I commented out the page_view initialization for now:
1044 it was never destroyed (because it's never added
1045 to a container). Because of that we was leaking
1046 gs processes. Couldnt think to a clean fix.
1047 We need to figure this out, password view has the
1048 same issue probably.
1050 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1052 * ps/ps-document.c: (ps_document_finalize),
1053 (ps_document_get_n_pages), (ps_document_get_page):
1055 Some cleanups, stop the interpreter on finalize
1057 * shell/ev-page-view.c: (ev_page_view_dispose),
1058 (ev_page_view_class_init):
1060 Release our reference on the document
1062 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1066 * doc/debugging.txt:
1069 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
1070 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
1071 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
1074 Add debugging helpers
1077 * ps/ps-document.c: (set_up_page), (start_interpreter),
1078 (stop_interpreter), (document_load), (ps_document_next_page),
1079 (ps_document_goto_page), (ps_document_set_page_size),
1080 (ps_document_widget_event), (ps_document_render):
1081 * shell/Makefile.am:
1082 * shell/ev-view.c: (expose_bin_window):
1083 * shell/main.c: (main):
1087 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
1089 * ps/ps-document.c: (ps_document_widget_event):
1091 Initialize message_window, this should make ps
1092 rendering really work! (Never noticed because I was
1093 testing with a ps that is causing gs to exit every time!)
1095 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
1097 * data/evince.schemas.in: updated simple error in applyto closing tag
1099 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
1105 * data/evince-ui.xml:
1106 A data/evince.schemas.in:
1108 * shell/ev-stock-icons.c: (ev_stock_icons_init):
1109 * shell/ev-stock-icons.h:
1110 * shell/ev-window.c: (update_chrome_visibility),
1111 (update_chrome_flag), (ev_window_cmd_edit_find),
1112 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
1113 (ev_window_unfullscreen), (ev_window_focus_in_event),
1114 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
1115 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
1116 (ev_window_view_sidebar_cb), (find_bar_close_cb),
1117 (ev_window_dispose), (ev_window_class_init),
1118 (set_action_properties), (set_chrome_actions), (load_chrome),
1121 Implement fullscreen mode changes from bug #164776.
1122 Also implement persistent chrome toggles.
1124 2005-02-07 Jordi Mallach <jordi@sindominio.net>
1126 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
1128 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1134 Add another check for find interface
1138 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1140 * shell/ev-application.c: (ev_application_open):
1141 * shell/ev-window.c: (ev_window_open):
1143 Open gzipped ps documents
1145 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1148 * shell/ev-view.c: (set_document_page):
1150 Clamp page number, dont try to move to
1153 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
1155 * backend/ev-document-find.c: (ev_document_find_changed):
1156 * backend/ev-document-find.h:
1157 * pdf/xpdf/pdf-document.cc:
1158 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
1159 * shell/ev-window.c: (find_bar_search_changed_cb):
1161 Fix several bugs with find
1163 2005-02-04 Martin Kretzschmar <martink@gnome.org>
1165 * shell/ev-sidebar-thumbnails.c
1166 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
1167 document. Prevents warning from scroll_to_cell.
1169 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
1171 * configure.ac: Add «nb» to ALL_LINGUAS too.
1173 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
1175 * NOTES: New file with some random thoughts.
1179 * backend/ev-document-misc.c:
1180 (ev_document_misc_get_page_border_size): New function to
1181 canonicalize shadow drawing sizes. Possibly goofy.
1183 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
1184 (ev_view_best_fit), (ev_view_fit_width):
1185 * pdf/xpdf/pdf-document.cc:
1186 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
1187 * ps/ps-document.c: (ps_document_get_page_size):
1188 * backend/ev-document-misc.h:
1189 * backend/ev-document.c: (ev_document_get_page_size):
1190 * backend/ev-document.h: get_page_size now takes a page number
1191 parameter. Made all the backends/frontends honor it.
1193 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
1194 see. Doesn't work yet.
1196 * shell/Makefile.am:
1197 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
1198 Doesn't do anything yet.
1200 * shell/ev-sidebar-thumbnails.c:
1201 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
1204 * shell/ev-window.c: (update_action_sensitivity),
1205 (ev_window_setup_document), (ev_window_set_page_mode),
1206 (ev_window_page_mode_cb), (ev_window_init): Clean up the
1207 view-swapping code a bit so we can have multiple views on a
1208 document. Add the multi-page view, though it can't be turned on
1211 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
1213 * shell/ev-application.c: (ev_application_open):
1214 * shell/ev-view.c: (expose_bin_window):
1215 * shell/ev-window.c: (ev_window_open):
1217 Support eps and check document supports find
1218 before drawing highlightings in expose.
1220 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
1222 * pixbuf/pixbuf-document.c:
1223 (pixbuf_document_thumbnails_get_dimensions),
1224 (pixbuf_document_document_thumbnails_iface_init):
1226 implement get_dimensions
1228 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
1235 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1237 * shell/ev-view.c: (set_document_page):
1239 Scroll at the top of the page when changing page
1241 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1243 * shell/ev-view.c: (ev_view_motion_notify_event):
1245 Do not redraw unnecessarily
1247 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1249 * pdf/xpdf/pdf-document.cc:
1250 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
1251 (expose_bin_window), (find_changed_cb):
1253 Yay! find works now... Now to find bugs...
1255 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
1257 * backend/ev-document-find.c: (ev_document_find_base_init),
1258 (ev_document_find_changed):
1259 * backend/ev-document-find.h:
1260 * pdf/xpdf/pdf-document.cc:
1261 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
1262 (expose_bin_window), (ev_view_init), (set_document_page),
1263 (ensure_rectangle_is_visible), (jump_to_find_result),
1264 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
1265 (ev_view_find_next), (ev_view_find_previous):
1267 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
1269 More work on find implementation, mostly there now
1271 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
1273 * backend/ev-backend-marshalers.list:
1274 * backend/ev-document-find.c: (ev_document_find_base_init),
1275 (ev_document_find_cancel), (ev_document_find_page_has_results),
1276 (ev_document_find_get_n_results), (ev_document_find_get_result),
1277 (ev_document_find_get_progress), (ev_document_find_changed):
1278 * backend/ev-document-find.h:
1280 Enanche the find interface to be really able to do
1283 * pdf/xpdf/pdf-document.cc:
1287 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
1288 (expose_bin_window), (ev_view_init),
1289 (ev_view_get_find_status_message), (find_changed_cb),
1290 (ev_view_set_document), (set_document_page):
1292 Adapt to the new interface. A few things are regressed sorry,
1293 I will finish it soon.
1295 2005-01-28 Martin Kretzschmar <martink@gnome.org>
1297 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
1298 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
1299 ev_sidebar_thumbnails_parent_class variable, don't define another
1300 parent_class variable.
1302 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
1303 (ev_page_action_class_init): ditto.
1305 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
1306 (pixbuf_document_class_init): ditto.
1308 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
1311 * .cvsignore: ignore various valgrind output files.
1313 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
1315 * data/evince-ui.xml:
1316 * shell/Makefile.am:
1317 * shell/ev-history.c:
1318 * shell/ev-history.h:
1319 * shell/ev-navigation-action.c:
1320 * shell/ev-navigation-action.h:
1321 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
1322 (ev_view_set_page), (ev_view_fit_width):
1324 * shell/ev-window.c: (update_action_sensitivity),
1325 (ev_window_setup_document), (register_custom_actions):
1327 Kill session history
1329 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
1331 * shell/ev-window.c: (update_action_sensitivity):
1333 Fix inverted up/down buttons
1335 2005-01-27 Martin Kretzschmar <martink@gnome.org>
1337 * shell/ev-sidebar-thumbnails.c
1338 (ev_sidebar_thumbnails_select_page): make sure the selected
1339 thumbnail stays visible.
1341 2005-01-26 Martin Kretzschmar <martink@gnome.org>
1343 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
1344 scrolled window for Federico.
1346 2005-01-26 Ole Laursen <olau@hardworking.dk>
1348 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
1350 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
1353 * pdf/splash/SplashFTFontEngine.cc:
1355 Fix CID fonts with freetype 2.1.9
1357 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
1359 * TODO: added item for desktop icon thumbnailer
1361 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
1363 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
1364 unloaded docs when the title is accessed.
1366 * shell/ev-password-view.[hc]: New widget for displaying password
1369 * shell/ev-window.[ch]: Refactor password handling code to handle
1372 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
1380 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
1382 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
1383 ignore page offset here, to make search results independent of it,
1385 * shell/ev-view.c (expose_bin_window): but take offsets into
1386 account here. Bug #164932
1388 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
1389 scale at the right time. Bug #164996
1391 2005-01-22 Martin Kretzschmar <martink@gnome.org>
1393 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
1394 fix the problem. Now I just removed the Adobe font names and hope
1395 that the URW fonts are always in outline format. Bug #164934
1397 * shell/ev-window.c (update_window_title): empty titles are
1398 useless, use filename in that case too.
1400 * NEWS: Add some content.
1402 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
1404 * TODO: added one more TODO item and a TODONE section :)
1406 2005-01-21 Martin Kretzschmar <martink@gnome.org>
1408 * ps/ps-document.h: add page_[xy]_offset fields.
1410 * ps/ps-document.c (ps_document_set_page_offset)
1411 (ps_document_render): Keep offset in consideration in a few
1412 places. Bug #164752 "postscript documents are not centered in
1415 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
1416 s/gpdf/evince/. Spotted by Stephane Loeuillet.
1418 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
1419 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
1420 stub out missing methods for complete EvDocument implementation.
1421 Fixes segfaults with Save A Copy and Copy actions.
1423 * ps/ps-document.c (ps_document_save, ps_document_get_text)
1424 (ps_document_document_iface_init): ditto.
1426 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1430 * data/evince.desktop.in:
1434 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1436 * shell/ev-view.c: (ev_view_button_press_event),
1437 (ev_view_motion_notify_event):
1439 Make selection work in any direction
1441 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1444 * shell/ev-window.c: (set_short_labels), (ev_window_init):
1446 Use shorter labels for some of the toolbars items
1448 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
1450 * pdf/xpdf/pdf-document.cc:
1452 Check the links info is initialized before
1453 using it. Should fix a crash on startup.
1455 2005-01-21 Martin Kretzschmar <martink@gnome.org>
1457 * pixbuf/pixbuf-document.c
1458 (pixbuf_document_thumbnails_get_dimensions): force floating point
1459 division to calculate page_ratio. Fixes crash with landscape
1462 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
1464 * shell/ev-view.c (ev_view_realize): make the bg color darker.
1466 2005-01-20 Martin Kretzschmar <martink@gnome.org>
1468 * shell/ev-view.c (set_document_page): unset has_selection when
1470 (set_document_page): handle paper size changes when the page
1471 changes (test with Free Culture, page 2).
1473 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1475 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
1476 (expose_bin_window), (ev_view_class_init), (ev_view_init):
1478 Use normal style color for the widget background and
1479 draw a black box around the page.
1481 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1483 * pdf/xpdf/pdf-document.cc:
1485 Keep offset in consideration in a few places
1487 * shell/ev-view.c: (expose_bin_window):
1489 Set the offsets so that the document is ever centered
1491 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
1493 * TODO: Added TODO items and finished off the first todo item
1495 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
1496 reflect current authors
1498 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1500 * pdf/xpdf/pdf-document.cc:
1501 * shell/ev-view.c: (ev_view_set_cursor),
1502 (ev_view_motion_notify_event), (document_changed_callback),
1503 (set_document_page):
1505 Show a wait cursor while the page is rendering
1507 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
1509 * shell/ev-sidebar-thumbnails.c:
1510 (ev_sidebar_tree_selection_changed),
1511 (ev_sidebar_thumbnails_select_page):
1512 * shell/ev-sidebar-thumbnails.h:
1513 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
1514 (ev_view_can_go_forward):
1515 * shell/ev-window.c: (ev_window_open_page),
1516 (ev_window_setup_document), (update_current_page),
1517 (view_page_changed_cb), (ev_window_init):
1518 * shell/ev-window.h:
1520 Ensure thumbnails selection, toolbar page control and
1521 current page are in sync.
1523 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
1529 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
1531 * backend/Makefile.am:
1532 * backend/ev-document-links.h:
1533 * backend/ev-document-security.c: (ev_document_security_get_type),
1534 (ev_document_security_has_document_security),
1535 (ev_document_security_set_password):
1536 * backend/ev-document-security.h:
1537 * backend/ev-document.c: (ev_document_error_quark):
1538 * backend/ev-document.h:
1540 * data/evince-password.glade:
1541 * pdf/xpdf/pdf-document.cc:
1542 * shell/Makefile.am:
1543 * shell/ev-password.c: (ev_password_set_bad_password_label),
1544 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
1545 (ev_password_dialog_get_password),
1546 (ev_password_dialog_set_bad_pass):
1547 * shell/ev-password.h:
1548 * shell/ev-window.c: (ev_window_get_attribute),
1549 (ev_window_set_property), (update_action_sensitivity),
1550 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
1551 (ev_window_setup_document), (ev_window_get_password),
1552 (ev_window_open), (ev_window_cmd_save_as),
1553 (using_postscript_printer), (ev_window_print),
1554 (find_not_supported_dialog), (ev_window_cmd_edit_find),
1555 (update_fullscreen_popup), (ev_window_fullscreen),
1556 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1557 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
1558 (menu_item_select_cb), (find_bar_search_changed_cb),
1559 (ev_window_dispose), (ev_window_init):
1561 Add initial support for password-supported dialogs. This could be
1562 a lot cooler, but it'll do for now.
1564 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
1566 * pdf/xpdf/pdf-document.cc:
1567 * shell/ev-view.c: (status_message_from_link),
1568 (ev_view_set_status), (ev_view_set_cursor),
1569 (ev_view_motion_notify_event), (ev_view_init):
1570 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
1572 Fix bugs in the links implementation and change cursor
1573 when hovering a link.
1575 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
1577 * viewer/.cvsignore: added cvsignore file for viewer directory
1579 * TODO: created TODO document
1581 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
1584 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
1585 new functions to help with implementation of sensitivity code
1586 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
1587 of all actions that might require it. Fixes a crash when you
1588 click on the Zoom actions in a window lacking a document.
1590 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
1592 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
1595 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
1597 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
1598 (pixbuf_document_document_iface_init):
1599 * ps/ps-document.c: (ps_document_get_link),
1600 (ps_document_document_iface_init):
1601 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
1602 (status_message_from_link), (ev_view_set_status),
1603 (ev_view_set_find_status), (ev_view_motion_notify_event),
1604 (ev_view_button_release_event), (ev_view_set_property),
1605 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
1606 (ev_view_get_find_status_message), (update_find_results),
1607 (ev_view_get_status), (ev_view_get_find_status):
1609 * shell/ev-window.c: (view_status_changed_cb),
1610 (view_find_status_changed_cb), (ev_window_init):
1612 View status message support, use it to show the links.
1615 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
1617 * backend/ev-document.c: (ev_document_get_link):
1618 * backend/ev-document.h:
1619 * pdf/xpdf/pdf-document.cc:
1620 * shell/ev-application.c: (ev_application_open):
1621 * shell/ev-application.h:
1622 * shell/ev-sidebar-links.c: (selection_changed_cb):
1623 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
1624 (ev_view_go_to_link):
1626 Add support for document links
1628 2005-01-13 Anders Carlsson <andersca@gnome.org>
1630 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
1632 Set the spin button limits correctly.
1634 * shell/ev-sidebar-thumbnails.c:
1635 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
1636 Support changing pages by clicking on the thumbnails.
1638 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
1640 * pixbuf/pixbuf-document.c:
1641 (pixbuf_document_thumbnails_get_dimensions),
1642 (pixbuf_document_document_thumbnails_iface_init):
1644 implement get_dimensions
1646 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
1648 * ps/ps-document.c: (ps_document_goto_page):
1650 Fix page switching on multipage documents
1652 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
1654 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
1656 check for NULL before assigning to width and height parameters
1658 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
1660 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
1661 (pixbuf_document_set_property), (pixbuf_document_get_property):
1663 implement get/set properties
1665 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
1667 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
1669 return NULL instead of "Unknown", letting the title get set to
1670 the filename when the pdf has no title.
1672 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
1674 * ps/ps-document.c: (ps_document_get_page_count),
1675 (ps_document_goto_page):
1677 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
1679 * shell/ev-history.c: (ev_history_get_property),
1680 (ev_history_set_property), (ev_history_class_init),
1681 (ev_history_add_page), (ev_history_set_current_index):
1682 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
1683 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
1684 (ev_navigation_action_finalize):
1685 * shell/ev-navigation-action.h:
1686 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
1687 (ev_view_go_forward), (ev_view_get_find_status_message),
1688 (history_index_changed_cb), (ev_view_set_history):
1690 * shell/ev-window.c: (update_total_pages), (ev_window_open),
1691 (update_current_page), (register_custom_actions):
1693 Implement history dropdowns
1695 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
1697 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
1698 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
1699 (ev_view_go_forward):
1700 * shell/ev-window.c: (register_custom_actions):
1702 Fix several history bugs
1704 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
1706 * configure.ac: Add «nb» to ALL_LINGUAS.
1708 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
1710 * backend/Makefile.am:
1711 * backend/ev-bookmark.c:
1712 * backend/ev-bookmark.h:
1713 * backend/ev-document-bookmarks.c:
1714 * backend/ev-document-bookmarks.h:
1715 * backend/ev-document-links.c: (ev_document_links_get_type),
1716 (ev_document_links_has_document_links),
1717 (ev_document_links_begin_read), (ev_document_links_get_link),
1718 (ev_document_links_get_child), (ev_document_links_next),
1719 (ev_document_links_free_iter):
1720 * backend/ev-document-links.h:
1721 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
1722 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
1723 (ev_link_get_link_type), (ev_link_set_link_type),
1724 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
1725 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
1726 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
1727 (ev_link_new_external):
1728 * backend/ev-link.h:
1729 * pdf/xpdf/pdf-document.cc:
1730 * shell/Makefile.am:
1731 * shell/ev-application.c: (ev_application_open_link):
1732 * shell/ev-application.h:
1733 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
1734 (ev_history_get_link_nth):
1735 * shell/ev-history.h:
1736 * shell/ev-sidebar-bookmarks.c:
1737 * shell/ev-sidebar-bookmarks.h:
1738 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
1739 (ev_sidebar_links_class_init), (selection_changed_cb),
1740 (ev_sidebar_links_construct), (ev_sidebar_links_init),
1741 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
1742 (do_one_iteration), (populate_links_idle),
1743 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
1744 * shell/ev-sidebar-links.h:
1745 * shell/ev-sidebar.c: (ev_sidebar_set_document):
1746 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
1749 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
1750 * shell/ev-window.h:
1752 Rename bookmark to link, and use "Index" for the sidebar panel.
1754 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
1756 * shell/Makefile.am:
1757 * shell/ev-application.c: (ev_application_open_bookmark):
1758 * shell/ev-application.h:
1759 * shell/ev-history.c: (ev_history_init), (free_links_list),
1760 (ev_history_finalize), (ev_history_class_init),
1761 (ev_history_add_link), (ev_history_add_page),
1762 (ev_history_get_link_nth), (ev_history_get_n_links),
1763 (ev_history_get_current_index), (ev_history_set_current_index),
1765 * shell/ev-history.h:
1766 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
1767 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
1768 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
1769 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
1772 * shell/ev-window.c: (ev_window_open_bookmark),
1773 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
1774 (goto_page_cb), (register_custom_actions):
1775 * shell/ev-window.h:
1777 Initial history implementation. Needs work.
1779 2005-01-09 Martin Kretzschmar <martink@gnome.org>
1781 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
1783 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
1785 * cut-n-paste/recent-files/egg-recent-item.c:
1786 * cut-n-paste/recent-files/egg-recent-item.h:
1787 * cut-n-paste/recent-files/egg-recent-model.c:
1788 * cut-n-paste/recent-files/egg-recent-util.c:
1789 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1790 * cut-n-paste/recent-files/egg-recent-view.c:
1794 2005-01-08 Martin Kretzschmar <martink@gnome.org>
1796 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
1797 (fillGlyph, fillImageMask, drawImage):
1798 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
1799 pdf/splash/SplashTypes.h:
1800 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
1801 packed mode for Splash.
1803 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
1804 RGB8 packed mode, eliminates the pixbuf data creation loop.
1806 * shell/ev-print-job.c (ev_print_job_finalize)
1807 (ev_print_job_set_property, ev_print_job_get_property)
1808 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
1809 (ev_print_job_use_print_dialog_settings, idle_print_handler)
1810 (print_closure_finalize, ev_print_job_print): implement
1811 printing (for backends with EvPsExporter)
1813 * shell/ev_print_job.h: update prototypes.
1815 * shell/ev-window.c (ev_window_print): unref print job after
1818 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
1819 unless the document implements the EvDocumentFind interface.
1821 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
1823 * configure.ac: Added ja to ALL_LINGUAS.
1825 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1827 * pdf/xpdf/pdf-document.cc:
1829 add a FIXME. We should probably not allocate
1830 a bookmark object every time
1832 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1834 * shell/ev-application.c: (ev_application_open),
1835 (ev_application_open_bookmark):
1836 * shell/ev-application.h:
1838 Add a way to open bookmarks
1840 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
1841 (ev_bookmark_set_uri), (ev_bookmark_get_property),
1842 (ev_bookmark_set_property), (ev_bookmark_class_init),
1843 (ev_bookmark_new_title), (ev_bookmark_new_link),
1844 (ev_bookmark_new_external):
1846 Support for external uris, better constructors.
1848 * backend/ev-bookmark.h:
1849 * pdf/xpdf/pdf-document.cc:
1850 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
1852 Handle external uris
1854 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1856 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
1857 (ev_sidebar_bookmarks_construct), (do_one_iteration):
1859 Hook up bookmarks navigation
1861 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1863 * backend/Makefile.am:
1864 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
1865 (ev_bookmark_get_title), (ev_bookmark_set_title),
1866 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
1867 (ev_bookmark_get_page), (ev_bookmark_set_page),
1868 (ev_bookmark_get_property), (ev_bookmark_set_property),
1869 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
1871 * backend/ev-bookmark.h:
1872 * backend/ev-document-bookmarks.c:
1873 (ev_document_bookmarks_get_bookmark):
1874 * backend/ev-document-bookmarks.h:
1875 * pdf/xpdf/pdf-document.cc:
1876 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
1878 Add a bookmark object to the backend and use it instead of get_values
1880 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
1882 * data/evince-ui.xml:
1884 Cleanup and add select all.
1886 * shell/ev-view.c: (ev_view_select_all),
1887 (ev_view_button_press_event):
1889 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
1892 Clear selection on click.
1894 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
1896 * shell/ev-sidebar-thumbnails.c
1897 (ev_sidebar_thumbnails_set_document): forgot to unref the
1900 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
1902 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
1903 at the visible page, not just linearly. This makes it look fast.
1905 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
1907 * backend/ev-document-misc.c
1908 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
1910 * backend/ev-document-thumbnails.h: New interface to get the size
1913 2005-01-06 Jeremy Katz <katzj@redhat.com>
1915 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
1918 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
1920 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
1921 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
1924 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
1926 2005-01-05 Martin Kretzschmar <martink@gnome.org>
1928 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
1929 fonts. Should fix font problems on systems that have the base
1930 fonts in bitmap format. Reported by James Henstridge
1931 <james@jamesh.id.au>.
1933 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1936 * pdf/xpdf/GfxState.cc:
1938 Fix for CAN-2004-1125
1940 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1942 * shell/ev-view.c: (ev_view_copy):
1944 * shell/ev-window.c: (ev_window_cmd_edit_copy):
1946 Implement Edit->Copy
1948 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1950 * backend/ev-document.c: (ev_document_get_text):
1951 * backend/ev-document.h:
1952 * pdf/xpdf/pdf-document.cc:
1953 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
1954 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1955 (ev_view_update_primary_selection), (ev_view_button_press_event),
1956 (ev_view_motion_notify_event), (ev_view_button_release_event):
1958 Beginnings of clipboard support. Incomplete but primary sort
1961 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1963 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
1964 (expose_bin_window):
1966 Nicer rubberband drawing, from GtkIconView.
1968 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1970 * backend/ev-document.c: (ev_document_save):
1971 * backend/ev-document.h:
1972 * data/evince-ui.xml:
1973 * pdf/xpdf/pdf-document.cc:
1974 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
1976 Implement "Save a copy..." menu item
1978 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
1980 * shell/ev-view.c: (ev_view_zoom):
1982 Queue a resize when zoom changes
1984 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
1986 * backend/ev-document-misc.[ch]: New misc file to do simple drop
1989 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
1992 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1994 * pdf/xpdf/pdf-document.cc
1995 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
1997 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
1999 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
2000 It's slow, but I'll speed it up next!
2002 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
2004 * shell/main.c (load_files):
2006 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
2007 from the command line and because it seems more appropriate.
2009 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
2011 * data/evince-ui.xml:
2012 * shell/ev-window.c: (update_action_sensitivity),
2013 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
2015 s/next page/page down
2016 s/previous page/page up
2018 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
2020 * data/evince-ui.xml:
2022 Change the layout to match clarkbw design.
2024 * shell/Makefile.am:
2025 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
2026 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
2027 (ev_navigation_action_finalize),
2028 (ev_navigation_action_set_property),
2029 (ev_navigation_action_get_property),
2030 (ev_navigation_action_class_init):
2031 * shell/ev-navigation-action.h:
2033 Implement clarkbw toolbar navigation controls (incomplete)
2035 * shell/ev-page-action.c: (update_label), (update_spin),
2036 (value_changed_cb), (create_tool_item), (connect_proxy),
2037 (ev_page_action_init), (ev_page_action_finalize),
2038 (ev_page_action_set_property), (ev_page_action_get_property),
2039 (ev_page_action_set_current_page),
2040 (ev_page_action_set_total_pages), (ev_page_action_class_init):
2041 * shell/ev-page-action.h:
2043 Implement a page switcher in the toolbar
2045 * shell/ev-view.c: (ev_view_scroll_view):
2046 * shell/ev-window.c: (update_total_pages), (ev_window_open),
2047 (update_current_page), (view_page_changed_cb), (goto_page_cb),
2048 (register_custom_actions), (ev_window_init):
2050 Change page on PageUp/Down.
2052 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
2054 * pdf/xpdf/pdf-document.cc
2055 (pdf_document_thumbnails_get_thumbnail): initial stab at
2056 implementing thumbnail support for pdfs. It only does documents
2057 with precached pdfs now.
2059 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
2061 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
2062 thumbnail code into a time-based idle as well. Also, turn off the
2063 shadow temporarily as it's really slow.
2065 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
2067 * backend/ev-document.c: (ev_document_class_init):
2068 * pdf/xpdf/pdf-document.cc:
2069 * shell/ev-window.c: (ev_window_open):
2071 Fix document title bugs and fallback to
2072 filename when not available.
2074 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
2076 * backend/ev-document.c: (ev_document_get_type),
2077 (ev_document_class_init), (ev_document_load),
2078 (ev_document_get_title):
2079 * backend/ev-document.h:
2080 * pdf/xpdf/pdf-document.cc:
2081 * ps/ps-document.c: (ps_document_set_property),
2082 (ps_document_get_property), (ps_document_class_init),
2086 * shell/ev-window.c: (update_window_title), (ev_window_open),
2089 Initial support for document title. Not working yet.
2091 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
2093 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
2095 Grab focus on the view when clicking it
2097 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
2099 * shell/ev-marshal.list:
2100 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
2101 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
2103 Add key bindings to the view. Now if the focus would work
2106 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
2109 * backend/Makefile.am:
2112 * dvi/dvilib/Makefile.am:
2113 * pdf/xpdf/Makefile.am:
2119 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2121 * shell/ev-view.c: (ev_view_realize):
2123 Fix mouse wheel scrolling
2125 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2131 * ps/ps-document.c: (catchPipe), (ps_document_init),
2132 (ps_document_class_init), (ps_document_cleanup),
2133 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
2134 (set_up_page), (close_pipe), (is_interpreter_ready),
2135 (interpreter_failed), (output), (input), (start_interpreter),
2136 (stop_interpreter), (file_length), (file_readable),
2137 (check_filecompressed), (check_pdf), (compute_xdpi),
2138 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
2139 (ps_document_get_type), (ps_document_emit_error_msg),
2140 (document_load), (ps_document_next_page),
2141 (ps_document_get_current_page), (ps_document_get_page_count),
2142 (ps_document_goto_page), (ps_document_set_page_size),
2143 (ps_document_zoom_to_fit), (ps_document_set_zoom),
2144 (ps_document_load), (ps_document_get_n_pages),
2145 (ps_document_set_page), (ps_document_get_page),
2146 (ps_document_widget_event), (ps_document_set_target),
2147 (ps_document_set_scale), (ps_document_set_page_offset),
2148 (ps_document_get_page_size), (ps_document_render),
2149 (ps_document_document_iface_init):
2152 * shell/ev-window.c: (ev_window_open):
2154 Rename GtkGS to PSDocument
2156 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2158 * ps/gtkgs.c: (gtk_gs_class_init):
2161 Some more leftover...
2163 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2165 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
2166 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
2167 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
2170 Remove unused code and make a lot of stuff private
2172 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2174 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
2175 (gtk_gs_defaults_changed):
2181 Cleanup headers dependencies
2183 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
2188 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
2190 * ps/gtkgs.c: (file_length), (file_readable),
2191 (check_filecompressed), (check_pdf), (gtk_gs_load),
2192 (gtk_gs_get_postscript):
2196 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2201 * ps/gtkgs.c: (gtk_gs_set_zoom):
2205 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2207 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
2209 Ensure the page is rerendered when changing zoom
2211 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
2213 * backend/ev-document.c: (ev_document_base_init),
2214 (ev_document_changed):
2215 * backend/ev-document.h:
2217 Add a changed event that is emitted when the page content
2218 changes. This is necessary to deal with the fact that
2219 in ps backend rendering happen asycrounously.
2220 This makes the ps backend mostly work.
2222 * pdf/xpdf/pdf-document.cc:
2226 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
2227 (ps_document_set_target):
2231 * shell/ev-view.c: (document_changed_callback),
2232 (ev_view_set_document), (ev_view_set_page):
2234 Redraw on the changed signal
2236 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
2238 * configure.ac: Added pt_BR to ALL_LINGUAS.
2240 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
2242 * backend/ev-document-bookmarks.c:
2243 (ev_document_bookmarks_get_child): *
2244 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
2245 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
2246 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
2247 (ev_sidebar_bookmarks_destroy),
2248 (ev_sidebar_bookmarks_class_init),
2249 (ev_sidebar_bookmarks_construct), (stack_data_free),
2250 (do_one_iteration), (populate_bookmarks_idle),
2251 (ev_sidebar_bookmarks_clear_document),
2252 (ev_sidebar_bookmarks_set_document): *
2253 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
2254 (ev_sidebar_add_page),
2255 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
2256 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
2257 it displays both the topics and the page numbers.
2259 2004-12-23 Kristian Høgsberg <krh@redhat.com>
2261 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
2263 * shell/ev-window.c (toggle_entries): Set sidebar default value to
2266 2004-12-23 Adam Weinberger <adamw@gnome.org>
2268 * configure.ac: Added en_CA to ALL_LINGUAS.
2270 2004-12-23 Martin Kretzschmar <martink@gnome.org>
2272 * ChangeLog: replace bottom of this ChangeLog (merged history of
2273 ggv and gpdf; where all paths were wrong and most of the files are
2274 not even in this tree) with ChangeLog (from arch) of the shell
2277 2004-12-23 Havoc Pennington <hp@redhat.com>
2279 * shell/ev-window.c: hook up potentially-questionable "find
2280 results status text" feature - something involving the sidebar or
2281 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
2282 might be better in the end.
2284 * shell/ev-view.c (ev_view_get_find_status_message): new function,
2285 with corresponding signal when it should be updated
2287 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
2289 2004-12-22 Havoc Pennington <hp@redhat.com>
2291 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
2292 find stuff on other pages, sort of (only returns one result on
2293 invisible pages, to show they have results; updates full results
2294 for a page when you view it). Currently repaints the current page
2295 every time a new result is found on any page, which isn't so nice.
2297 2004-12-22 Havoc Pennington <hp@redhat.com>
2299 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
2300 the document doesn't support find (better ideas?)
2301 (find_bar_search_changed_cb): handle missing document or document
2302 that doesn't support find
2304 * pdf/xpdf/pdf-document.cc: port to implement the new
2307 * backend/ev-document-find.c: create a new interface for searching
2309 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
2311 2004-12-23 Martin Kretzschmar <martink@gnome.org>
2313 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
2316 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
2317 EvPrintJob constructor arguments.
2319 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
2320 for documents that can export PostScript (page by page).
2322 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
2324 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
2325 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
2326 (pdf_document_ps_exporter_iface_init:
2327 Implement EvPSExporter.
2329 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
2331 2004-12-22 Anders Carlsson <andersca@gnome.org>
2333 * backend/Makefile.am:
2334 * backend/ev-document-thumbnails.c:
2335 (ev_document_thumbnails_get_type),
2336 (ev_document_thumbnails_get_thumbnail):
2337 * backend/ev-document-thumbnails.h:
2338 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
2339 (pixbuf_document_thumbnails_get_thumbnail),
2340 (pixbuf_document_document_thumbnails_iface_init):
2341 * shell/Makefile.am:
2342 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
2343 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
2344 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
2345 * shell/ev-sidebar-thumbnails.h:
2346 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2347 (ev_sidebar_set_document):
2348 * shell/ev-utils.c: (gaussian), (create_blur_filter),
2349 (create_shadow), (ev_pixbuf_add_shadow):
2351 Add thumbnail support.
2353 2004-12-22 Martin Kretzschmar <martink@gnome.org>
2355 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
2356 (using_postscript_printer): Set up a print dialog for "PostScript
2359 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
2362 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
2364 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2366 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
2367 (ps_document_set_target), (ps_document_get_page_size),
2368 (ps_document_render):
2373 2004-12-22 Christian Rose <menthos@menthos.com>
2375 * configure.ac: Added "sv" to ALL_LINGUAS.
2377 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
2379 * backend/ev-document-bookmarks.[ch]: new interface to indicate
2380 document supports bookmarks.
2382 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2384 * ps/ggvutils.c: (ggv_file_readable):
2386 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
2387 (gtk_gs_get_postscript):
2391 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2393 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
2394 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
2395 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
2396 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
2397 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
2398 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
2399 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
2400 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
2401 (gtk_gs_set_antialiasing), (ps_document_load),
2402 (ps_document_render):
2405 Another check point for the ps backend. Now I can get it to show
2408 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
2410 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
2411 document setting code.
2413 2004-12-22 Anders Carlsson <andersca@gnome.org>
2415 * shell/eggfindbar.c: (entry_activate_callback):
2416 Animate the next button when activate is pressed.
2418 2004-12-22 Anders Carlsson <andersca@gnome.org>
2420 * shell/ev-window.c: (ev_window_cmd_edit_find),
2421 (update_fullscreen_popup), (ev_window_fullscreen),
2422 (ev_window_unfullscreen), (ev_window_state_event_cb),
2423 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
2424 Fix bugs in fullscreen code.
2426 2004-12-22 Anders Carlsson <andersca@gnome.org>
2430 * pixbuf/Makefile.am:
2431 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
2432 (pixbuf_document_load), (pixbuf_document_get_n_pages),
2433 (pixbuf_document_set_page), (pixbuf_document_get_page),
2434 (pixbuf_document_set_target), (pixbuf_document_set_scale),
2435 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
2436 (pixbuf_document_render), (pixbuf_document_begin_find),
2437 (pixbuf_document_end_find), (pixbuf_document_finalize),
2438 (pixbuf_document_class_init),
2439 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2440 * pixbuf/pixbuf-document.h:
2441 * shell/Makefile.am:
2442 * shell/ev-application.c: (ev_application_open):
2443 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
2447 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
2450 * dvi/dvilib/Makefile.am:
2452 * configure.ac: Auto*ify dvi and dvi/dvilib
2454 * dvi/Makefile: Remove from CVS
2456 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
2459 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
2461 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
2463 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2466 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
2467 (gtk_gs_value_adjustment_changed), (compute_size),
2468 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
2469 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
2470 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
2471 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
2472 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
2473 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
2474 (ps_document_load), (ps_document_get_n_pages),
2475 (ps_document_set_page), (ps_document_get_page),
2476 (ps_document_set_target), (ps_document_set_scale),
2477 (ps_document_set_page_offset), (ps_document_get_page_size),
2478 (ps_document_render), (ps_document_begin_find),
2479 (ps_document_end_find), (ps_document_document_iface_init):
2481 * shell/Makefile.am:
2482 * shell/ev-window.c: (ev_window_open):
2484 Some work to integrate gtkgs with EvDocument
2486 2004-12-22 Anders Carlsson <andersca@gnome.org>
2488 * shell/ev-window.c: (update_fullscreen_popup),
2489 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
2490 (exit_fullscreen_button_clicked_cb),
2491 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
2492 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
2493 (ev_window_state_event_cb), (ev_window_init):
2494 Add fullscreen support from Epiphany.
2496 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2498 * data/ev-stock-zoom-fit-width.png: fit-width
2499 stock icon from gpdf.
2501 * shell/ev-stock-icons.[ch]: copied from gpdf.
2503 * shell/main.c: (main): init stock icons.
2505 * shell/ev-window.c: use the fit-width icon.
2507 * data/evince-ui.xml: add zooming toolbar items.
2509 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2512 (ev_view_best_fit), (ev_view_fit_width): because
2513 get_page_size() returns the scaled page size, we
2514 need to calculate the scale factor relative to
2515 the previous scale factor. Should really just
2516 add get_real_page_size().
2518 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2520 * shell/ev-view.[ch]:
2521 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
2522 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
2525 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2526 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
2527 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
2530 * pdf/xpdf/pdf-document.cc:
2531 (pdf_document_begin_find),
2532 (pdf_document_end_find): make static.
2534 2004-12-22 Martin Kretzschmar <martink@gnome.org>
2536 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
2538 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
2539 names to fontconfig patterns.
2540 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
2542 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
2545 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
2561 Import ggv backend. Not hooked up yet.
2563 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2565 * shell/main.c: (load_files), (main): load files
2566 from the command line.
2568 2004-12-22 Mark McLoughlin <mark@skynet.ie>
2570 * configure.ac: don't require bonobo.
2572 * cut-n-paste/recent-files/*: kill bonobo recent
2575 * shell/ev-window.c:
2576 (ev_window_is_empty): upd.
2577 (unable_to_load), (ev_window_open): load backend
2578 based on the mime type.
2580 2004-12-22 Martin Kretzschmar <martink@gnome.org>
2582 * backend/.cvsignore: ignore generated marshalers source.
2584 * shell/main.c (main): this is not epiphany.
2586 2004-12-22 Havoc Pennington <hp@redhat.com>
2588 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
2589 (expose_bin_window): draw find highlights
2591 * shell/ev-window.c (find_bar_search_changed_cb): implement
2593 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
2594 (pdf_document_end_find): implement this interface
2596 * backend/ev-document.c (ev_document_found): add this to emit
2599 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
2601 * data/evince-ui.xml: Add a few more toolbar items.
2603 * shell/ev-window.c: Hook up page navigation toolbar
2606 * shell/ev-view.[ch]: add ev_view_set/get_page and
2607 a page-changed signal.
2609 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
2610 Add ev_document_get_page().
2612 * shell/ev-window.c: Sensitize/desensitize navigation
2615 2004-12-21 Havoc Pennington <hp@redhat.com>
2617 * backend/ev-backend-marshal.c,
2618 backend/ev-backend-marshalers.list, backend/Makefile.am: add
2619 marshaler-generator thingy. I'm sure there's a better way to do
2620 this in the modern world.
2622 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
2623 end_find methods and "found" signal.
2625 * configure.ac: find glib-genmarshal
2627 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
2629 * shell/ev-sidebar.c: Construct an actual sidebar.
2630 * shell/ev-sidebar-bookmarks.[ch]:
2631 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
2633 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
2635 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
2638 * shell/ev-view.c: Track the size from the document.
2640 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
2642 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
2643 constructor assumes ownership of the string passed in.
2645 * shell/ev-window.c (ev_window_open): Destroy the error
2646 dialog once we've displayed it.
2648 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
2650 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
2651 a bit, it works! (sort of)
2653 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
2654 Move to .cc since we need to use C++ in the implementation.
2656 * shell/dummy.cc: Add a CC file to force evince
2657 to be linked as a C++ program.
2659 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
2661 * shell/ev-view.[ch]: Start of content-area widget.
2663 * shell/ev-window.c: Create a EvView, update it
2664 as we change documents.
2666 * shell/Makefile.am shell/ev-marshal.list: Add
2667 generated marshalers.
2669 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
2671 * Makefile.am (SUBDIRS): move shell.
2673 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
2675 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
2676 .a to libtool convenience libraries.
2678 * shell/ev-window.c (ev_window_open): Hard code loading
2681 * backend/ev-document.h: Add a boolean return to load(),
2682 fix GError * to GError **.
2684 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
2685 object for a PDF backend EvDocument.
2687 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
2689 * dvi/*: New directory with the beginning of a .dvi backend.
2691 2004-12-21 Havoc Pennington <hp@redhat.com>
2693 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
2694 previous/next instead of back/forward
2696 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
2698 * backend/ev-document.[ch]: Fix a couple of problems so
2701 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
2703 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
2704 to backend/ directory, rename EvViewer to EvDocument.
2706 2004-12-21 Havoc Pennington <hp@redhat.com>
2708 * shell/ev-window.c: hook up the find bar widget; now we just need
2709 a document to find things in
2711 * shell/eggfindbar.c: a find bar widget
2713 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
2715 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
2717 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
2719 * pdf/**: Import of xpdf code from gpdf.
2721 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
2723 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
2724 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
2725 Fix FreeType includes.
2727 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
2728 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
2729 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
2730 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
2731 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
2732 Include xpdfconfig.h
2734 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
2736 * shell/ev-window.c (ev_window_dispose): dispose can be called
2739 2004-12-21 Havoc Pennington <hp@redhat.com>
2741 * shell/ev-window.c (ev_window_init): set title to Document Viewer
2744 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
2745 items; really they should be synced with the strings, etc. from
2746 current gpdf, but just getting the boring typing out of the way
2748 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
2751 * shell/ev-application.c: (window_destroy_cb):
2752 * shell/ev-window.c:
2753 * shell/main.c: (main):
2755 Actually show the window...
2757 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
2760 * shell/Makefile.am:
2761 * shell/ev-application.c: (ev_application_class_init):
2762 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
2766 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
2768 Import to gnome cvs.
2770 * Remove copies of gpdf and ggv trees.
2771 * Rip out all the recursive configure code.
2772 * Remove bonobo machinery.
2773 * viewer/*: GInterfaces that backends should/can implement.
2775 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
2777 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
2780 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
2782 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
2783 (ev_application_finalize, ev_application_class_init)
2784 (ev_application_init): use GType instance private data for priv.
2786 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
2787 (ev_window_finalize, ev_window_class_init)
2788 (ev_window_init): ditto.
2790 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
2792 * shell/ev-application.c (ev_application_new_window): make public
2793 (ev_application_show_initial_window): kill.
2795 * shell/ev-application.h: update prototypes.
2797 * shell/main.cc (main): inline ev_application_show_initial_window.
2799 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
2801 * shell/ev-application.c (ev_application_new_window): impl.
2802 (ev_application_show_initial_window): use it.
2803 (is_window_empty, ev_application_get_empty_window): returns an
2804 existing empty window or a new one.
2805 (ev_application_open): from ev_window_cmd_file_open.
2807 * shell/ev-application.h: update prototypes
2809 * shell/ev-window.c (ev_window_is_empty): impl.
2810 (ev_window_open): make public.
2811 (ev_window_cmd_file_open): use ev_application_open
2813 * shell/ev-window.h: update prototypes, remove unused.
2815 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
2817 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
2818 move destroy handler out of here...
2820 * shell/ev-application.c, shell/ev-application.h: ...into this new
2821 class. Also handles initial window creation.
2823 * shell/main.cc (main): use EvApplication to create initial
2826 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
2828 * Makefile.am (SUBDIRS): add cut-n-paste
2830 * cut-n-paste/Makefile.am: add
2832 * configure.ac: generate Makefiles in cut-n-paste
2834 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
2836 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
2837 (ev_window_class_init): install ev_window_dispose.
2839 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2841 * shell/ev-window.h, shell/ev-window.c: replace gchar with
2842 char (gchar looks stupid).
2844 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2846 * po/de.po: updated German translation.
2848 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2850 * configure.ac: add more pkg-config library checks for gnome-vfs,
2853 * gpdf/configure.in: temporarily disable libpaper
2854 checks. Otherwise I'd have to add the checks for the shell, too.
2856 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2858 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
2859 and * file filters to the file choose.
2861 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2863 * po/de.po: Updated German translation.
2865 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2867 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
2869 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2871 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
2873 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
2874 (ev_window_init): implement those menuitems.
2876 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2878 * data/evince-ui.xml: add a toolbar (with FileOpen action)
2880 * shell/ev-window.c (ev_window_init): use the toolbar.
2882 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2884 * shell/ev-window.c (ev_window_init): use menu translations
2886 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2888 * configure.ac: add "de" to ALL_LINGUAS.
2890 * po/de.po: add German translation.
2892 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2894 * Makefile.am (SUBDIRS): add po
2896 * configure.ac: check intltool, glib-gettext etc, generate
2899 * po, po/POTFILES.in, po/POTFILES.skip: new.
2901 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2903 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
2904 already use (#ifdef ENABLE_NLS)
2906 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
2907 pointer indirection thinko.
2909 * shell/main.c: include gi18n.h for bindtextdomain etc.
2911 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2913 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
2914 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
2915 tooltips for menu items in the statusbar.
2917 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2919 * configure.ac, data/Makefile.am, shell/Makefile.am: use
2920 pkgdatadir drop UIDIR
2922 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2924 * data/evince-ui.xml: Add File->Open menu item
2926 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
2927 chooser), hook it up in the ui manager.
2929 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2931 * shell/ev-window.c: fix Help->About tooltip.
2933 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2935 * configure.ac: set CFLAGS for libevprivate.
2937 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
2938 definitions, factory etc.
2940 * lib/Makefile.am: build libevprivate.a (only stock icon code).
2942 * shell/Makefile.am: link against libevprivate.a.
2944 * shell/ev-window.c (entries): add stock icon to Help->About.
2946 * shell/main.c (main): init stock icon code.
2948 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2950 * lib/recent-files: egg recent files code
2952 * lib/Makefile.am: add.
2954 * Makefile.am: add lib subdir.
2956 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
2957 set CFLAGS for recent-files.
2959 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2961 * configure.ac: disable -ansi and -pedantic gcc flags. They
2962 disable POSIX stuff in stdio.h, but egg-recent uses them.
2964 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2966 * configure.ac: add --disable-deprecated flag (defaults to on in
2969 * shell/Makefile.am (INCLUDES): use it.
2971 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2973 * shell/main.c: add missing #include.
2975 * shell/ev-window.c: fix for pedantic gcc.
2976 (ev_window_cmd_help_about): split license into paragraphs for
2977 translators and pedantic compilers.
2979 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2981 * configure.ac: add more warning flags if compiling with gcc from
2982 cvs (or explicitly requested with --enable-more-warnings).
2984 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2986 * data/evince-ui.xml: add File and File->Close menu.
2988 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
2989 (ev_window_destroy): quit after destroy.
2990 (ev_window_class_init): override GtkObject::destroy.
2991 (entries): install close_window callback.
2993 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2995 * Makefile.am (SUBDIRS): add data subdir.
2997 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
2998 gtk+ 2.5.0 for GtkAboutDialog.
3000 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
3003 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
3005 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
3007 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
3009 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3011 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
3013 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
3015 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
3017 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
3019 * shell/*: Added shell directory boilerplate, build it.
3021 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
3023 * configure.ac, Makefile.am: Added top-level configure.ac and