1 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
3 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4 (egg_recent_view_gtk_new_menu_item),
5 (egg_recent_view_gtk_set_property),
6 (egg_recent_view_gtk_get_property),
7 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
8 (egg_recent_view_gtk_set_tooltip_func),
9 (egg_recent_view_gtk_set_label_width),
10 (egg_recent_view_gtk_get_label_width):
11 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
13 Sync with libegg (ellipsize labels)
15 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
18 * shell/ev-window.c: (ev_window_cmd_go_forward),
19 (ev_window_cmd_go_backward):
21 Shift + PageUp moves 10 Pages. Fix for 306125
23 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
27 Add a flag to check if orientation has been overriden
29 2005-06-17 Martin Kretzschmar <martink@gnome.org>
31 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
34 * ps/ps.h: add creator field to document.
36 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
39 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
41 * data/evince-properties.glade:
42 * shell/ev-properties.c: (ev_properties_set_document):
46 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
48 * shell/ev-properties.c: (ev_properties_set_document):
50 Remove unnecessary translations
52 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
54 * cut-n-paste/toolbar-editor/Makefile.am:
58 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
61 * cut-n-paste/recent-files/egg-recent-model.c:
62 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
63 (egg_recent_model_unlock_file):
64 * cut-n-paste/recent-files/egg-recent-util.c:
65 (egg_recent_util_get_unique_id):
66 * cut-n-paste/recent-files/update-from-egg.sh:
67 * cut-n-paste/toolbar-editor/Makefile.am:
68 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
69 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
70 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
71 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
72 (egg_toolbars_model_get_type):
73 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
75 Better makefile for toolbar editor and update everything
78 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
80 * shell/ev-window.c: (update_document_mode):
82 Prefer presentation mode when the document
85 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
90 Add control-equal for zooming
92 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
94 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
96 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
98 * backend/ev-document.c: (ev_document_get_orientation):
99 * backend/ev-document.h:
101 * ps/ps-document.c: (ps_document_get_orientation),
102 (ps_document_set_orientation), (ps_document_document_iface_init):
104 Add a get_orientation api. Improve set_orientation.
106 * data/evince-ui.xml:
107 * shell/ev-view.c: (ev_view_set_orientation),
108 (ev_view_rotate_right), (ev_view_rotate_left):
110 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
111 (ev_window_cmd_edit_rotate_right):
113 Better ui for changing document orientation
115 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
117 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
118 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
119 * shell/ev-sidebar-links.h:
120 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
121 (ev_sidebar_page_iface_init):
122 * shell/ev-sidebar-page.h:
123 * shell/ev-sidebar-thumbnails.c:
124 (ev_sidebar_thumbnails_get_property),
125 (ev_sidebar_thumbnails_class_init),
126 (ev_sidebar_thumbnails_set_document):
127 * shell/ev-sidebar-thumbnails.h:
128 * shell/ev-view.c: (ev_view_motion_notify_event):
129 * shell/ev-window.c: (update_chrome_visibility),
130 (ev_window_cmd_focus_page_selector),
131 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
132 (sidebar_page_main_widget_update_cb), (ev_window_init):
134 Autoraise toolbar on GoToPage binding and fix bindings in
135 EvSidebarThumbnails page.
137 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
139 * shell/ev-properties.c: (update_progress_label):
141 Hide the progress label when finished; bug #307697.
143 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
147 Enable is_open for links, you will need poppler cvs
149 * shell/ev-properties.c: (job_fonts_finished_cb):
151 Get a lock on the document when filling the tree view
153 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
155 * backend/ev-document-links.h:
157 * shell/ev-sidebar-links.c: (create_loading_model),
158 (expand_open_links), (job_finished_callback):
160 Expand links when specified by the document.
161 Depend on a poppler api (defined out for now)
163 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
165 * shell/ev-properties.c: (ev_properties_dispose),
166 (ev_properties_class_init), (dialog_destroy_cb),
167 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
168 (ev_properties_set_document), (ev_properties_new),
169 (ev_properties_show):
170 * shell/ev-properties.h:
172 Make it an object, cleanup the code, api to show it as transient
173 and to set the document.
175 * shell/ev-window.c: (ev_window_setup_document),
176 (ev_window_cmd_file_properties):
178 Adapt to EvProperties changes, do not show multiple
179 times, update it when document changes.
181 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
184 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
185 (ps_document_set_orientation), (ps_document_document_iface_init):
188 Implement orientation here too
190 * shell/ev-properties.c: (ev_properties_new):
191 * data/evince-properties.glade:
193 Hide the fonts page for backends that doesnt
196 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
198 * backend/ev-document.c: (ev_document_set_orientation):
199 * backend/ev-document.h:
202 Add orientation api. Currently poppler api is not optimal,
203 we need to set orientation every time we _get a page.
204 I will try to fix that at some point.
206 * data/evince-ui.xml:
207 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
208 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
210 Add orientation menu items
212 * shell/ev-page-cache.c: (ev_page_cache_clear):
213 * shell/ev-page-cache.h:
215 Add api to clear the cache
217 * shell/ev-view.c: (setup_caches), (clear_caches),
218 (ev_view_set_document), (ev_view_zoom_out),
219 (ev_view_set_orientation):
222 Implement orientation changing
224 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
226 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
227 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
228 * backend/ev-document-fonts.h:
230 Separate scan and fill so that we can incrementally fill from
231 the main thread. Add a progress api.
233 * data/evince-properties.glade:
235 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
237 * shell/ev-properties.c: (update_progress_label),
238 (job_fonts_finished_cb), (setup_fonts_view):
240 Incrementally feel the list and show the progress
241 percentage in a label like acrobat does.
243 You are going to need poppler cvs
245 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
247 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
248 * backend/ev-document-fonts.h:
251 Make fonts model fill incrementally.
253 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
254 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
255 (ev_job_queue_remove_job):
256 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
257 (ev_job_fonts_new), (ev_job_fonts_run):
260 New job for fonts scanning
262 * shell/ev-properties.c: (job_fonts_finished_cb),
263 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
264 * shell/ev-properties.h:
265 * shell/ev-window.c: (ev_window_cmd_file_properties):
267 Incrementally feel the treeview using the new job. Show Loading...
268 message until scanning is completed.
270 Hopefully I didnt break the build without the poppler patch.
272 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
274 * shell/ev-application.c: (ev_application_open):
275 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
276 (ev_document_type_get_type), (ev_document_type_lookup):
277 * shell/ev-document-types.h:
278 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
279 * shell/ev-job-xfer.h:
280 * shell/ev-window.c: (ev_window_clear_local_uri),
281 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
282 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
283 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
285 Transfer remote documents to tmp directory to display them later.
287 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
289 * backend/ev-document-info.h:
290 * shell/ev-properties.c: (ev_properties_new):
292 s/GTime*/GTime. Not sure why we was using a pointer
295 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
297 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
298 situations. That situation is that you're using GTK+-HEAD with
299 the patch at #306726 is applied, and you have a document with <
300 1500 pages in it. It's not quite as uniformly nice as the
301 TreeView, but should be better in the long run.
303 I'm pretty sure I guarded against breaking compilation with
304 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
307 * shell/ev-window.c (ev_window_init): We don't have our tree/list
308 widget yet, so I commented that code out
309 enable_view_actions_for_widget() for now. Need to figure this
312 * shell/ev-page-action.c (match_selected_cb): emit the right
313 signals. Our cool C-l completion now works.
315 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
317 * backend/Makefile.am:
318 * backend/ev-document-fonts.c:
319 * backend/ev-document-links.c:
320 * backend/ev-document.c: (ev_document_load):
321 * backend/ev-document.h:
322 * backend/ev-job-queue.c:
323 * backend/ev-job-queue.h:
326 * backend/ev-page-cache.c:
327 * backend/ev-page-cache.h:
329 EvPageCache and EvJobs are moved to shell.
331 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
333 * lib/ev-file-helpers.h:
335 New helper to work with temporary files
338 * shell/ev-application.c: (ev_application_open):
339 * shell/ev-application.h:
340 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
341 (remove_job_from_async_queue), (add_job_to_async_queue),
342 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
343 (handle_job), (search_for_jobs_unlocked),
344 (no_jobs_available_unlocked), (ev_render_thread),
345 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
346 (ev_job_queue_add_job), (move_job_async), (move_job),
347 (ev_job_queue_update_job), (ev_job_queue_remove_job):
348 * shell/ev-job-queue.h:
349 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
350 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
351 * shell/ev-job-xfer.h:
352 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
353 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
354 (ev_job_links_class_init), (ev_job_render_init),
355 (ev_job_render_dispose), (ev_job_render_class_init),
356 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
357 (ev_job_thumbnail_class_init), (ev_job_load_init),
358 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
359 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
360 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
361 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
363 * shell/ev-page-action.c: (ev_page_action_set_document):
364 * shell/ev-page-cache.c: (ev_page_cache_init),
365 (ev_page_cache_class_init), (ev_page_cache_finalize),
366 (ev_page_cache_new), (ev_page_cache_get_n_pages),
367 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
368 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
369 (ev_page_cache_get_title), (ev_page_cache_get_size),
370 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
371 (ev_page_cache_get_height_to_page),
372 (ev_page_cache_get_max_label_chars),
373 (ev_page_cache_get_page_label),
374 (ev_page_cache_has_nonnumeric_page_labels),
375 (ev_page_cache_get_info), (ev_page_cache_next_page),
376 (ev_page_cache_prev_page), (ev_page_cache_get):
377 * shell/ev-page-cache.h:
378 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
379 (ev_pixbuf_cache_clear_job_sizes),
380 (ev_pixbuf_cache_add_jobs_if_needed),
381 (ev_pixbuf_cache_set_page_range):
382 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
383 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
384 * shell/ev-sidebar-thumbnails.c:
385 (ev_sidebar_tree_selection_changed),
386 (ev_sidebar_thumbnails_set_document):
387 * shell/ev-statusbar.c: (ev_statusbar_destroy),
388 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
389 (ev_statusbar_get_context_id), (ev_statusbar_push),
390 (ev_statusbar_pop), (ev_statusbar_set_maximized),
391 (ev_statusbar_pulse), (ev_statusbar_show_progress),
392 (ev_statusbar_set_progress):
393 * shell/ev-statusbar.h:
394 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
395 (ev_view_find_previous):
396 * shell/ev-window.c: (ev_window_is_empty),
397 (ev_window_setup_document), (password_dialog_response),
398 (ev_window_clear_jobs), (ev_window_load_job_cb),
399 (ev_window_xfer_job_cb), (ev_window_open_uri),
400 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
401 (ev_window_print), (ev_window_print_range),
402 (ev_window_state_event), (ev_window_cmd_view_reload),
403 (menu_item_select_cb), (menu_item_deselect_cb),
404 (view_status_changed_cb), (ev_window_dispose),
405 (drag_data_received_cb), (ev_window_init):
407 * shell/main.c: (load_files):
409 New statusbar to show progress on idle. Two new jobs -
410 xfer job and load job to load document in background. And update
411 of page_cache clients to new location of code.
413 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
415 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
416 selection in open dialog. It also remembers the last visited directory
417 in the current session.
419 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
421 * shell/ev-properties.c: (ev_properties_new):
422 * shell/ev-properties.h:
423 * shell/ev-window.c: (ev_window_cmd_file_properties):
425 Get document info from page cache instead of document itself.
426 This should fix crash related to race conditions described in
429 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
431 * ps/ps-document.c: (ps_document_init),
432 (send_ps), (get_page_box), (output), (catchPipe), (input),
433 (stop_interpreter), (file_length), (file_readable),
434 (check_filecompressedb), (ps_document_enable_interpreter),
435 (document_load), (ps_async_renderer_render_pixbuf):
438 Big cleanup of the ps code
440 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
442 * backend/Makefile.am:
443 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
444 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
445 * backend/ev-async-renderer.h:
447 Add an async renderer interface (method + callback) which
448 is useful for backends like ps.
450 * backend/ev-job-queue.c: (remove_job_from_async_queue),
451 (add_job_to_async_queue), (job_finished_cb), (handle_job),
452 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
453 (ev_job_queue_add_job), (move_job_async), (move_job),
454 (ev_job_queue_update_job), (ev_job_queue_remove_job):
456 Add queues for async renderer, these are executed on the
459 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
463 If the backend support async renderer interface use it.
465 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
466 (setup_pixmap), (ps_document_get_type),
467 (ps_async_renderer_render_pixbuf),
468 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
470 Implement async renderer interface.
472 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
474 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
476 Cleanup links job on exit.
478 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
480 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
481 (drag_data_get_cb), (drag_data_received_cb):
482 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
483 (drag_data_get_cb), (parse_item_list),
484 (egg_toolbar_editor_load_actions):
485 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
486 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
487 (parse_item_list), (parse_toolbars):
488 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
489 (dvi_pixbuf_put_pixel):
493 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
495 * ps/ps-document.c: (start_interpreter):
497 Fix warning when loading ps
499 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
501 * ps/ps-document.c: (output):
503 Fix crash when priting gs error messages.
505 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
507 * backend/ev-page-cache.c: (_ev_page_cache_new):
508 * backend/ev-page-cache.h:
510 Use a const to return title so that we dont double
511 free it. Small cleanup and fix a leak.
513 * shell/ev-window.c: (update_window_title):
515 strdup value from get_title.
517 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
519 * shell/ev-sidebar-links.c: (job_finished_callback),
520 (ev_sidebar_links_set_document):
522 Cleanup the old job when changing document
524 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
526 * shell/ev-stock-icons.c:
527 * shell/ev-stock-icons.h:
530 Add stock icons for actions that can appear in toolbar. Fix for
533 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
535 * backend/ev-page-cache.c: (ev_page_cache_finalize),
536 (_ev_page_cache_new), (ev_page_cache_get_max_width),
537 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
538 * backend/ev-page-cache.h:
539 * shell/ev-view.c: (scroll_to_current_page),
540 (view_update_range_and_current_page), (get_page_y_offset),
541 (get_page_extents), (ev_view_size_request_continuous_dual_page),
542 (ev_view_size_request_continuous),
543 (ev_view_zoom_for_size_continuous_and_dual_page),
544 (ev_view_zoom_for_size_continuous):
546 More compact EvView layout in document with pages of different size.
548 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
550 * shell/ev-window.c (ev_window_cmd_file_properties): fix
553 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
555 * shell/ev-view.c: (view_set_adjustment_values):
556 * shell/ev-window.c: (ev_window_cmd_file_properties):
558 A bit different fix for rounding problem but it has no
559 problems on startup. Make properties window transient to parent.
561 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
565 More commenting of font stuff.
567 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
571 Comment out some more fonts stuff. Should really
572 work without the poppler patch now.
574 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
580 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
582 * data/evince-properties.glade:
584 * shell/ev-properties.c: (setup_fonts_view):
586 Set the column title. Show the dialog only
587 once everything is setup.
588 Getting font info can be very slow... will
589 prolly need to make this threaded too.
591 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
593 * backend/Makefile.am:
594 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
595 (ev_document_fonts_get_fonts_model):
596 * backend/ev-document-fonts.h:
597 * data/evince-properties.glade:
599 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
600 * shell/ev-properties.h:
601 * shell/ev-window.c: (ev_window_cmd_file_properties):
603 Implement fonts list. Defined out for now, since it depends
604 on a not yet committed poppler patch.
606 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
608 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
611 * shell/ev-window.c: Make sure we add the timeout when we get a
614 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
615 adjustment->value before calculating the zoom factor to average
616 out all of our rounding errors. The page no longer 'drifts' when
619 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
621 * data/evince-properties.glade:
622 * shell/ev-properties.c: (ev_properties_format_date),
625 Labels don't expand when the dialogue is resized.
626 strftime result needs to be converted to UTF-8. Thanks
627 to Christian Persch <chpe@gnome.org>.
629 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
631 * data/evince-properties.glade:
635 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
637 * backend/ev-document-info.h:
638 * backend/ev-document.c: (ev_document_info_free):
639 * data/evince-properties.glade:
641 * ps/ps-document.c: (ps_document_get_info):
642 * shell/ev-properties.c: (ev_properties_format_date),
643 (set_property), (ev_properties_new):
644 * shell/ev-properties.h:
645 * shell/ev-window.c: (ev_window_cmd_file_properties):
647 Rework properties code to take only EvPropertyInfo
648 in the constructor so that it can be useful for
651 Deal with backends that doesnt support some properties.
652 Make set property code generic.
654 2005-06-04 Christian Persch <chpe@gnome.org>
656 * data/evince-properties.glade:
658 fix spacings, make resizeable, and make data labels
659 selectable + ellipsised
661 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
663 * backend/ev-document-info.h:
665 * data/evince-ui.xml:
668 * shell/ev-window.c: (update_action_sensitivity),
669 (ev_window_cmd_file_properties):
671 Initial go at file properties. Patch by
672 Emil Soleyman-Zomalan <emil@soleyman.com>.
673 Needs love see #169583
675 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
677 * ps/ps-document.c: (output):
680 Try to render even if psscan fails.
682 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
684 * ps/ps.c: (psscan), (pscopydoc):
686 Port buffered reading code from gv
688 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
690 * ps/ps-document.c: (interpreter_message), (output):
692 Do not fail on interpreter messages
694 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
696 * backend/ev-document-misc.c:
697 (ev_document_misc_get_thumbnail_frame):
699 Pages can be 0 x 0, dont assert on this case
701 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
703 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
704 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
706 Correctly manage our reference on document. Finally the reload
709 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
711 * ps/ps-document.c: (ps_document_dispose):
713 Forgot to chain it to the parent. Thanks chpe.
715 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
717 * ps/ps-document.c: (ps_document_dispose),
718 (ps_document_class_init), (stop_interpreter), (document_load):
720 Cleanup dispose a bit. Dont leak the whole pixmap.
722 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
726 Release the poppler document on dispose
728 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
730 * shell/ev-view.c: (ev_view_set_document):
732 Release ref on the pixbuf cache when changing
735 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
737 * ps/ps-document.c: (ps_document_get_info):
741 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
743 * backend/ev-page-cache.c: (ev_page_cache_init),
744 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
745 * backend/ev-page-cache.h:
746 * shell/ev-page-action.c: (page_changed_cb):
748 Set page action entry width depending on labels width. Fix
751 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
753 * backend/ev-link.c: (ev_link_class_init):
755 Allow -1 as page value (error)
757 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
759 * shell/ev-sidebar-thumbnails.c:
760 (ev_sidebar_thumbnails_set_document):
761 * shell/ev-view.c: (scroll_to_current_page),
762 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
763 (page_changed_cb), (on_adjustment_value_changed),
764 (ev_view_set_document):
766 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
769 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
772 * djvu/djvu-document.c: (djvu_document_get_page_size):
774 Require djvulibre CVS. Now djvu loading is much faster. Fix for
777 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
779 * shell/ev-view.c (draw_one_page): modify the expose handling to
782 * shell/ev-window.c (update_action_sensitivity): Respect
783 permissions field. Kowtow to the man.
785 * pdf/ev-poppler.cc: Get the permissions field.
787 * tiff/*c: Make a tiny bit more robust.
789 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
791 * djvu/djvu-document.c:
793 Pop messages from djvu context message queue.
795 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
797 * configure.ac, Makefile.am, shell/Makefile.am:
798 * tiff/Makefile.am, shell/ev-document-types.c:
800 Cleanup tiff configure checks. Fix for bug 305218.
802 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
804 * configure.ac: Added "uk" to ALL_LINGUAS.
806 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
808 * cut-n-paste/zoom-control/ephy-zoom.c:
809 (ephy_zoom_get_changed_zoom_level):
810 * cut-n-paste/zoom-control/ephy-zoom.h:
811 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
812 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
813 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
814 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
815 (zoom_control_changed_cb), (ev_window_init):
817 Fix minor points related to moving best fit up. Introduce
818 "zoom" property and make zoom control change it's value on
819 notify::zoom signals. Fix for 305080.
821 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
823 * data/evince-ui.xml:
824 * shell/ev-window.c: (set_view_actions_sensitivity):
826 Use + and - as accels for zoom in and zoom out. Fix for 305001.
828 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
832 Depends on poppler 0.3.2
834 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
836 * cut-n-paste/recent-files/egg-recent-item.c:
837 (egg_recent_item_get_short_name):
838 * cut-n-paste/toolbar-editor/Makefile.am:
839 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
840 (new_pixbuf_from_widget):
841 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
842 * cut-n-paste/toolbar-editor/egg-marshal.c:
843 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
844 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
848 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
850 * tiff/tiff-document.c: Rough TIFF backend.
852 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
856 * cut-n-paste/toolbar-editor/Makefile.am:
860 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
862 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
863 (ev_view_find_next), (ev_view_find_previous):
865 Remove the locks around get_n_results
867 2005-05-21 Juerg Billeter <j@bitron.ch>
869 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
871 Pass correct number of pages to poppler.
873 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
877 * data/evince.desktop.in:
878 * data/evince.desktop.in.in:
881 Add conditionally dvi and djvu to desktop types. Fix for 304658.
883 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
885 * shell/ev-view.c: (view_update_adjustments),
886 (view_set_adjustment_values): cast adjustmen->value to (int)
887 before using it. Otherwise, we get off by a pixel in some
890 (draw_one_page): Draw the border on expose.
892 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
894 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
895 adjustment when the mode changes, #304923
897 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
899 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
900 flickering on resize but still use gdk_window_scroll on
903 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
905 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
908 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
910 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
911 second page on page_changed if possible, #304669
913 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
915 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
916 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
918 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
921 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
922 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
923 (ev_view_zoom_for_size_presentation),
924 (ev_view_zoom_for_size_continuous_and_dual_page),
925 (ev_view_zoom_for_size_continuous),
926 (ev_view_zoom_for_size_dual_page),
927 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
929 * shell/ev-window.c: (update_view_size),
930 (ev_window_sizing_mode_changed_cb):
932 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
933 the scrollbars. It's not 100% right, but it's much closer. Kills
934 an infinite loop, #304769
937 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
939 * data/evince-ui.xml:
940 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
941 * shell/ev-window.c: (set_view_actions_sensitivity):
943 Make PgUp/Down behave like Space
945 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
947 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
948 * backend/ev-ps-exporter.h:
950 * ps/ps-document.c: (ps_document_ps_export_begin):
951 * shell/ev-print-job.c: (idle_print_handler):
953 Adapt to new poppler api
955 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
957 * cut-n-paste/zoom-control/ephy-zoom-control.c:
958 (ephy_zoom_control_init):
960 Translate zoom levels
962 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
964 * cut-n-paste/zoom-control/ephy-zoom.c:
965 (ephy_zoom_get_zoom_level_index):
967 Fix current zoom -> zoom control match
969 2005-05-18 James Bowes <bowes@cs.dal.ca>
971 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
972 rather than the scrolled_window that it's in. Fixes bug #304655.
974 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
976 * shell/ev-view.c: (view_update_adjustments),
977 (view_set_adjustment_values), (view_update_range_and_current_page),
978 (view_scroll_to_page), (set_scroll_adjustment),
979 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
980 (ev_view_scroll), (ev_view_scroll_view),
981 (ensure_rectangle_is_visible), (find_page_at_location),
982 (get_link_at_location), (go_to_link), (status_message_from_link),
983 (ev_view_size_request_continuous_dual_page),
984 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
985 (ev_view_unrealize), (ev_view_expose_event),
986 (ev_view_button_press_event), (ev_view_motion_notify_event),
987 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
988 (draw_rubberband), (highlight_find_results), (draw_one_page),
989 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
990 (ev_view_init), (find_changed_cb), (page_changed_cb),
991 (on_adjustment_value_changed), (ev_view_new),
992 (ev_view_set_document), (ev_view_set_zoom),
993 (ev_view_set_continuous), (ev_view_set_dual_page),
994 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
995 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
996 (ev_view_zoom_for_size_presentation),
997 (ev_view_zoom_for_size_continuous_dual_page),
998 (ev_view_zoom_for_size_continuous),
999 (ev_view_zoom_for_size_dual_page),
1000 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1001 (ev_view_get_status), (ev_view_set_status),
1002 (update_find_status_message), (ev_view_get_find_status),
1003 (ev_view_set_find_status), (jump_to_find_result),
1004 (jump_to_find_page), (compute_selections), (clear_selection),
1005 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1006 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1007 (ev_view_update_primary_selection),
1008 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1010 * shell/ev-window.c: (ev_window_open_page_label),
1011 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1013 * shell/ev-window.h:
1014 * shell/main.c: (load_files):
1016 Massive code clean up from Nickolay Shmyrev. Keep page offset
1017 when resizing. Remove the bin_window(). Also, patch from James
1018 Bowes to fix command line page, #300641
1020 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1022 * data/evince-ui.xml:
1025 * shell/ev-window.c: (update_action_sensitivity):
1027 Get rid of View->Normal Size, it's just confusing
1029 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1031 * backend/ev-document-info.h:
1032 * backend/ev-document.c: (ev_document_info_free): Free the
1035 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1036 (clear_range), (add_range), (update_visible_range),
1037 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1038 (ev_sidebar_thumbnails_set_document):
1039 * shell/ev-window.c: (ev_window_setup_document): Only render the
1040 visible thumbnails. It takes an instant to render, but it uses
1043 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1045 * shell/ev-sidebar-links.c: (popup_menu_cb):
1049 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1052 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1053 (button_press_cb), (ev_sidebar_links_construct):
1055 Show the popup menu also on keybindings
1057 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1059 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1060 * shell/ev-window.h:
1062 Expose api to print a range (with dialog). Make private _print use
1065 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1066 (ev_sidebar_links_construct):
1068 Show a print context menu on linkx, it prints the selected
1071 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1073 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1076 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1082 * shell/ev-window.c: (build_comments_string),
1083 (ev_window_cmd_help_about):
1085 Show poppler version/backend and authors
1087 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1089 * cut-n-paste/zoom-control/ephy-zoom.c:
1090 (ephy_zoom_get_zoom_level_index):
1091 * cut-n-paste/zoom-control/ephy-zoom.h:
1093 Move the best fit items at the top of the list
1095 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1097 * shell/ev-marshal.list:
1098 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1099 (activate_cb), (match_selected_cb), (activate_link_cb),
1100 (connect_proxy), (ev_page_action_class_init):
1101 * shell/ev-page-action.h:
1103 Use signals to notify action activation. Hopefully
1104 I did not break completion since I cant test...
1106 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1107 (register_custom_actions):
1109 Connect to page selector actions and also grab focus on
1110 the view when activated.
1112 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1114 * pdf/ev-poppler.cc:
1115 * backend/ev-page-cache.c: make page size calculation consistent
1116 and set it to (int)( width * scale + 0.5). This makes the weird
1117 line going through the middle of the page go away.
1119 * shell/ev-view.c: move painting the background page after
1120 checking the expose area covers us.
1122 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1124 * data/evince-password.glade:
1126 Mark labels as not translatable. Fix for bug 302842.
1128 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1130 * configure.ac: Added "es" to ALL_LINGUAS.
1132 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1134 * data/evince-toolbar.xml:
1135 * shell/ev-window.c: (update_action_sensitivity),
1136 (ev_window_setup_document), (ev_window_set_page_mode),
1139 Remove some leftover code from jrb first continous
1140 attempt. Use the new actions, we still need good icons
1143 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1145 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1147 Update label when connecting proxy. Fix a warning with NULL
1150 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1152 * data/evince-ui.xml:
1153 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1154 * shell/ev-page-action.h:
1155 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1157 Add mnemonic for edit toolbar.
1158 ctrl+l focus the page entry.
1160 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1163 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1165 * shell/main.c: (main):
1167 Put the toolbar xml in evince own dot dir
1169 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1171 * shell/ev-window.c: (ev_window_init):
1173 Make the toolbar not removable
1175 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1177 * data/evince-ui.xml:
1178 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1179 * shell/ev-sidebar-links.h:
1180 * shell/ev-sidebar-thumbnails.c:
1181 (ev_sidebar_thumbnails_get_treeview):
1182 * shell/ev-sidebar-thumbnails.h:
1183 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1184 (ev_view_class_init):
1186 * shell/ev-window.c: (update_action_sensitivity),
1187 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1188 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1189 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1192 This is evil... Make space/backspace global accelerators but
1193 enable them only for some widgets (sidebars and view).
1194 I dont like it, but I dont know a better way... :/
1196 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1198 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1199 (ev_page_action_widget_finalize),
1200 (ev_page_action_widget_class_init), (update_page_cache):
1202 Keep a weak reference on proxy->page_cache so that we
1203 dont try to disconnect the signal if the object is already
1204 gone. Maybe there is a better way to cleanup reference handling
1205 in page action though...
1207 2005-05-10 Juerg Billeter <j@bitron.ch>
1209 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1210 * backend/ev-ps-exporter.h:
1211 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1212 * ps/ps-document.c: (ps_document_ps_export_begin):
1214 Change api to pass print range to ps_exporter_begin. The pdf backend
1215 requires this information.
1217 * shell/ev-print-job.c: (idle_print_handler):
1221 2005-05-10 Juerg Billeter <j@bitron.ch>
1223 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1224 (idle_print_handler)
1225 * shell/ev-window.c: (ev_window_print):
1227 Support printing page range, based on patch by Amaury Jacquot
1229 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1231 * data/evince-toolbar.xml:
1233 Add zoom control to available items
1235 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1237 * shell/ev-window.c: (update_action_sensitivity):
1239 Set slash action insensitive when appropriate
1241 2005-05-10 Christian Persch <chpe@gnome.org>
1243 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1245 Fix warning on the overflow menu
1247 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1249 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1251 Check for uri correctness/existence
1253 2005-05-09 Juerg Billeter <j@bitron.ch>
1255 * shell/ev-window.c: (using_postscript_printer):
1257 LPD printers use postscript, too
1259 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1261 * shell/ev-window.c: (register_custom_actions):
1263 The zoom one is actually sort of useful,
1266 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1268 * shell/ev-window.c: (register_custom_actions):
1270 Hide page/zoom controls from overflow, they
1273 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1275 * cut-n-paste/update-from-egg.sh:
1277 Share it between all cut-n-paste subdirs
1279 * cut-n-paste/recent-files/Makefile.am:
1281 Fix to use "global" update-from-egg.sh
1283 * cut-n-paste/recent-files/egg-recent-model.c:
1284 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1285 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1286 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1287 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1291 * cut-n-paste/toolbar-editor/Makefile.am:
1293 Fix to use "global" update-from-egg.sh
1295 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1299 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1302 * cut-n-paste/Makefile.am:
1303 * cut-n-paste/recent-files/Makefile.am:
1304 * cut-n-paste/toolbar-editor/.cvsignore:
1305 * cut-n-paste/toolbar-editor/Makefile.am:
1306 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1307 (egg_editable_toolbar_get_type), (get_toolbar_position),
1308 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1309 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1310 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1311 (set_item_drag_source), (create_item_from_action), (create_item),
1312 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1313 (popup_toolbar_context_menu_cb), (free_dragged_item),
1314 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1315 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1316 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1317 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1318 (item_added_cb), (item_removed_cb),
1319 (egg_editable_toolbar_construct),
1320 (egg_editable_toolbar_disconnect_model),
1321 (egg_editable_toolbar_deconstruct),
1322 (egg_editable_toolbar_set_model),
1323 (egg_editable_toolbar_set_ui_manager),
1324 (egg_editable_toolbar_set_property),
1325 (egg_editable_toolbar_get_property),
1326 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1327 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1328 (egg_editable_toolbar_new_with_model),
1329 (egg_editable_toolbar_get_edit_mode),
1330 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1331 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1332 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1333 (new_pixbuf_from_widget), (new_separator_pixbuf),
1334 (update_separator_image), (style_set_cb),
1335 (_egg_editable_toolbar_new_separator_image),
1336 (egg_editable_toolbar_get_model):
1337 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1338 * cut-n-paste/toolbar-editor/egg-marshal.c:
1339 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1340 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1341 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1342 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1343 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1344 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1345 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1346 (editor_drag_data_delete_cb), (drag_data_get_cb),
1347 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1348 (editor_create_item), (update_editor_sheet), (setup_editor),
1349 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1350 (parse_item_list), (model_has_action), (update_actions_list),
1351 (egg_toolbar_editor_load_actions):
1352 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
1353 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1354 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
1355 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
1356 (toolbars_item_new), (free_toolbar_node), (free_item_node),
1357 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
1358 (egg_toolbars_model_add_separator), (impl_add_item),
1359 (parse_item_list), (egg_toolbars_model_add_toolbar),
1360 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
1361 (impl_get_item_data), (impl_get_item_type),
1362 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
1363 (egg_toolbars_model_init), (free_toolbar),
1364 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
1365 (egg_toolbars_model_remove_toolbar),
1366 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
1367 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
1368 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
1369 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
1370 (egg_toolbars_model_get_item_data),
1371 (egg_toolbars_model_get_item_type):
1372 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1373 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1375 * data/evince-toolbar.xml:
1376 * data/evince-ui.xml:
1377 * data/hand-open.png:
1379 * shell/Makefile.am:
1380 * shell/ev-window.c: (update_chrome_visibility),
1381 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
1382 (ev_window_dispose), (ev_window_init):
1384 Implement epiphany like toolbar editor. Based on patch by
1385 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1387 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1389 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
1391 Use set_cursor instead of set_selection, so that
1392 the keyboard focus moves too.
1394 2005-05-09 Aleksey Kliger <akliger@gmail.com>
1396 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
1398 Fix infinite loop when loading Type1 fonts
1400 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1402 * data/evince-ui.xml:
1403 * shell/ev-window.c:
1407 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
1411 Make --disable really disable
1413 2005-05-07 Juerg Billeter <j@bitron.ch>
1415 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
1417 Compare page labels even without has_labels set, fixes setting page
1420 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1422 * shell/ev-view.c: (ev_view_create_invisible_cursor),
1423 (ev_view_set_cursor), (ev_view_button_press_event),
1424 (ev_view_motion_notify_event), (ev_view_button_release_event),
1427 Implement middle button scrolling. Based on a patch
1428 by Tommi Komulainen <tommi.komulainen@iki.fi>.
1430 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
1432 * shell/ev-document-types.c: (get_slow_mime_type),
1433 (get_document_type_from_mime), (ev_document_type_lookup):
1434 * shell/ev-document-types.h:
1436 Change api to lookup from uri. Do fast lookup first, if the
1437 type is unknown try with data sniffing.
1439 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
1440 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1444 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1446 * thumbnailer/Makefile.am:
1450 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1457 * data/evince-ui.xml:
1459 Hide presentation mode for now
1461 * shell/ev-view.c: (highlight_find_results):
1463 Show current find selection only on current page
1465 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1467 * shell/ev-view.c: (ev_view_select_all):
1469 Compute size of the actual page, not of
1472 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1474 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
1475 (view_rect_to_doc_rect), (compute_selections),
1476 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
1477 (ev_view_copy), (ev_view_primary_get_cb),
1478 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
1479 (ev_view_button_press_event), (ev_view_motion_notify_event),
1480 (ev_view_button_release_event), (page_changed_cb):
1484 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1486 * shell/ev-view.c: (compute_border), (get_page_extents),
1487 (doc_rect_to_view_rect), (highlight_find_results),
1488 (ev_view_bin_expose), (ev_view_select_all),
1489 (ev_view_motion_notify_event), (update_find_status_message),
1490 (jump_to_find_result), (jump_to_find_page):
1492 First go at fixing search, still buggy
1494 2005-05-04 Kristian Høgsberg <krh@redhat.com>
1496 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
1497 dropdown box and button at the top of the sidebar.
1499 2005-05-02 James Bowes <bowes@cs.dal.ca>
1501 * configure.ac: Output zoom-control Makefile.
1502 * cut-n-paste/Makefile.am: build zoom-control subdir.
1503 * cut-n-paste/zoom-control/ephy-zoom-action.c:
1504 * cut-n-paste/zoom-control/ephy-zoom-action.h:
1505 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1506 * cut-n-paste/zoom-control/ephy-zoom-control.h:
1507 * cut-n-paste/zoom-control/ephy-zoom.c:
1508 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
1509 from epiphany, and modified to add a separator into the menu.
1510 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
1511 * data/evince-ui.xml: Replace old zoom toolbar actions with new
1512 zoom-control action.
1513 * shell/Makefile.am: Include zoom-control flags.
1514 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
1515 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
1516 (ev_view_zoom_for_size_presentation),
1517 (ev_view_zoom_for_size_continuous_and_dual_page),
1518 (ev_view_zoom_for_size_continuous),
1519 (ev_view_zoom_for_size_dual_page),
1520 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
1521 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
1522 ev_view_get_zoom and ev_view_get_sizing_mode.
1524 * shell/ev-window.c: (update_action_sensitivity),
1525 (update_sizing_buttons), (zoom_control_changed_cb),
1526 (register_custom_actions): Initialize and use the zoom-control
1529 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
1531 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
1532 preview cache back to 1. Don't know when it got set to 0.
1534 * shell/ev-view.c: (compute_border), (ev_view_realize),
1535 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
1536 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
1537 (ev_view_get_fullscreen), (ev_view_set_presentation),
1538 (ev_view_get_presentation), (ev_view_set_sizing_mode),
1539 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
1541 * shell/ev-window.c:
1542 (update_chrome_visibility),
1543 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1544 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1545 (update_document_mode), (ev_window_update_fullscreen_action),
1546 (ev_window_fullscreen), (ev_window_unfullscreen),
1547 (ev_window_cmd_view_fullscreen),
1548 (ev_window_update_presentation_action),
1549 (ev_window_run_presentation), (ev_window_stop_presentation),
1550 (ev_window_cmd_view_presentation), (ev_window_state_event),
1551 (ev_window_focus_in_event), (ev_window_focus_out_event),
1552 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
1553 * data/evince-ui.xml: Initial presentation mode. We should
1554 probably hide this until it's done, as it's quite rough. Also,
1555 change full-screen to fullscreen and add two getters to EvView.
1557 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1559 * shell/ev-page-action.c: (update_page_cache),
1560 (ev_page_action_dispose):
1561 * shell/ev-window.c: (destroy_fullscreen_popup),
1562 (ev_window_create_fullscreen_popup):
1564 Use connect_object rather than explicitly
1565 disconnect on dispose.
1567 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1569 * shell/ev-page-action.c: (update_page_cache),
1570 (ev_page_action_dispose):
1572 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1574 * backend/ev-page-cache.c: (_ev_page_cache_new),
1575 (ev_page_cache_set_page_label),
1576 (ev_page_cache_has_nonnumeric_page_labels):
1577 * backend/ev-page-cache.h:
1578 * shell/ev-page-action.c: (update_pages_label):
1580 If all page labels are numeric, fallback to default
1581 way to display number of pages. See bug 173185.
1583 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1585 * shell/ev-page-action.c: (ev_page_action_dispose):
1586 * shell/ev-view.c: (view_update_range_and_current_page):
1587 * shell/ev-window.c: (ev_window_dispose):
1589 Set page on scroll in continuous mode. Fixes bug 301986.
1590 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
1592 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
1596 Require poppler 0.3.0
1598 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1600 * shell/Makefile.am, configure.ac: Fix build problems
1601 with t1lib. Bug 301996.
1603 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1605 * shell/ev-view.c: (ev_view_scroll_event):
1607 Scroll up increase zoom
1609 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1611 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
1612 (ev_view_set_sizing_mode),
1613 (ev_view_zoom_for_size_continuous_and_dual_page),
1614 (ev_view_zoom_for_size_continuous):
1615 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
1616 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
1617 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
1620 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
1621 Fix for 165473 and 165472.
1623 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1626 * thumbnailer/Makefile.am:
1627 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
1628 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
1629 * thumbnailer/evince-thumbnailer.schemas.in:
1631 Make thumbnailer schemas translatable. Fix for bug 301773
1633 * thumbnailer/evince-thumbnailer-djvu.schemas:
1634 * thumbnailer/evince-thumbnailer-dvi.schemas:
1635 * thumbnailer/evince-thumbnailer.schemas:
1639 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
1641 * shell/ev-view.c (ev_view_init): forgot to set this.
1643 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
1645 * shell/ev-view.c: (find_page_at_location),
1646 (get_link_at_location),
1647 (ev_view_set_show_border), (ev_view_set_spacing),
1648 (ev_view_zoom_for_size_continuous_and_dual_page),
1649 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
1650 Also, add a quick fix measuring of widths. Also, removed
1651 ev_view_set_spacing and ev_view_set_show_border.
1653 * shell/ev-window.c: (ev_window_unfullscreen),
1654 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
1656 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1658 * shell/ev-view.c: (view_update_range_and_current_page),
1661 Fix crash on exit and scrolling to page in continuous view.
1663 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
1666 * backend/ev-page-cache.c: (_ev_page_cache_new),
1667 (ev_page_cache_get_max_width_size),
1668 (ev_page_cache_get_max_height_size):
1669 * backend/ev-page-cache.h:
1670 * data/evince-ui.xml:
1671 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
1672 * shell/ev-view.c: (view_update_adjustments),
1673 (view_update_range_and_current_page), (get_bounding_box_size),
1674 (ev_view_size_request_continuous_and_dual_page),
1675 (ev_view_size_request_continuous),
1676 (ev_view_size_request_dual_page),
1677 (ev_view_size_request_single_page), (ev_view_size_request),
1678 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
1679 (ev_view_bin_expose), (ev_view_expose_event),
1680 (ev_view_set_property), (ev_view_get_property),
1681 (ev_view_class_init), (ev_view_init), (ev_view_new),
1682 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
1683 (ev_view_set_dual_page), (ev_view_set_full_screen),
1684 (ev_view_set_presentation), (ev_view_set_sizing_mode),
1685 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
1686 (ev_view_zoom_out), (zoom_for_size_fit_width),
1687 (zoom_for_size_best_fit),
1688 (ev_view_zoom_for_size_continuous_and_dual_page),
1689 (ev_view_zoom_for_size_continuous),
1690 (ev_view_zoom_for_size_dual_page),
1691 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1692 (ev_view_show_cursor), (ev_sizing_mode_get_type):
1694 * shell/ev-window.c: (update_action_sensitivity),
1695 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1696 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1697 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
1698 (ev_window_cmd_view_zoom_out), (update_view_size),
1699 (ev_window_set_sizing_mode), (ev_window_init):
1701 Add Continuous and Dual page modes.
1703 2005-04-23 James Bowes <bowes@cs.dal.ca>
1705 * dvi/dvi-document.c: (dvi_document_load),
1706 (dvi_document_thumbnails_get_thumbnail),
1707 (dvi_document_init_params): Fix up some mixups between
1708 width and height to correct thumbnail rendering.
1710 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1712 * dvi/mdvi-lib/private.h:
1713 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
1715 Suppess output for kpathsea during font generation. Thanks to
1718 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
1725 * Makefile.am: fix distcheck.
1727 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1729 * shell/ev-sidebar-links.c: (selection_changed_callback),
1730 (update_page_callback), (row_activated_callback),
1731 (job_finished_callback), (ev_sidebar_links_set_document):
1733 Fix for bug #169901. Double click on links expands tree.
1735 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
1737 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
1738 hard-coded style. Fix for bug 170111
1740 2005-04-22 Kristian Høgsberg <krh@redhat.com>
1742 * shell/ev-view.c (highlight_find_results): Remove unnecessary
1745 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1747 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
1749 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1751 * pdf/ev-poppler.cc:
1752 * shell/ev-view.c: (highlight_find_results):
1754 Fix find on single page documents
1756 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1758 * data/evince.schemas.in: fix for bug 301390
1760 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1762 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
1763 (ev_view_zoom_out), (ev_view_zoom_normal):
1765 * shell/ev-window.c: (update_action_sensitivity),
1766 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1767 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
1768 (ev_window_cmd_view_normal_size):
1770 Fix normal size zoom. Make zoom in/zoom out unsensitive when
1771 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
1774 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1778 Depend on 2.57, 2.59 doesnt seem to be necessary
1780 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1782 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
1785 Put back total number of pages as (1 of 1234)
1787 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
1789 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
1792 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
1793 function. This helps debugging.
1795 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1797 * djvu/djvu-document.c: (djvu_document_class_init),
1798 (djvu_document_get_info), (djvu_document_document_iface_init):
1799 * dvi/dvi-document.c: (dvi_document_class_init),
1800 (dvi_document_get_info), (dvi_document_document_iface_init):
1802 Dummy implementation of get_info method for dvi and djvu. Fix
1803 crashes with those backends
1805 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
1807 * data/evince.desktop.in:
1809 Add application/x-gzpostscript
1811 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
1813 * data/evince.schemas.in: Added real long descriptions,
1816 * README: Added actual text, closes bug 171869
1818 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1820 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1824 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1826 * backend/ev-document-info.h:
1828 s/GDate */GDate so we can just use g_free
1830 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1832 * shell/ev-window.c: (update_document_mode),
1833 (ev_window_setup_document):
1835 Show the window in fullscreen when specified by
1838 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1840 * backend/ev-document.c: (ev_document_class_init),
1841 (ev_document_get_info), (ev_document_render_pixbuf):
1842 * backend/ev-document.h:
1843 * backend/ev-page-cache.c: (_ev_page_cache_new):
1844 * pdf/ev-poppler.cc:
1845 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
1846 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
1847 * ps/ps-document.c: (ps_document_class_init), (document_load),
1848 (ps_document_get_info), (ps_document_document_iface_init):
1850 Remove get_title from the interface, we can just use document info
1852 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1854 * backend/Makefile.am:
1855 * backend/ev-document.c: (ev_document_render_get_info):
1856 * backend/ev-document.h:
1857 * pdf/ev-poppler.cc:
1859 Initial support for document info. Based on jrb patch.
1861 2005-04-19 Paolo Borelli <pborelli@katamail.com>
1863 * shell/ev-window.c: (ev_window_state_event),
1864 (ev_window_class_init), (ev_window_init):
1866 Doesn't show resize grip when maximized. See bug #301053
1868 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1872 ev-sidebar-thumbnails now has translatable labels
1874 * shell/Makefile.am:
1875 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
1876 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
1877 (ev_sidebar_links_page_iface_init):
1878 * shell/ev-sidebar-links.h:
1879 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1880 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
1881 (ev_sidebar_page_get_label):
1882 * shell/ev-sidebar-page.h:
1883 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
1884 (ev_sidebar_thumbnails_set_document),
1885 (ev_sidebar_thumbnails_support_document),
1886 (ev_sidebar_thumbnails_get_label),
1887 (ev_sidebar_thumbnails_page_iface_init):
1888 * shell/ev-sidebar-thumbnails.h:
1889 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1890 (ev_sidebar_set_document):
1891 * shell/ev-sidebar.h:
1892 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
1894 Small rework of sidebar code. Now sidebar pages should implement
1895 EvSidebarPage interface. That makes page management in EvSidebar
1896 easier. See bug #164811 for details
1898 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1900 * shell/ev-application.c: (ev_application_open):
1901 * shell/ev-document-types.c:
1903 Fix build error and small problem with application exit
1905 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1907 * thumbnailer/Makefile.am:
1908 * thumbnailer/evince-thumbnailer-djvu.schemas:
1909 * thumbnailer/evince-thumbnailer-dvi.schemas:
1911 Conditionally install schemas for djvu/dvi thumbnailer
1913 2005-04-18 David Malcolm <dmalcolm@redhat.com>
1915 * shell/ev-document-types.h:
1916 * shell/ev-document-types.c:
1917 New files, handling the mapping from mimetypes to backends
1919 * shell/ev-window.c:
1920 * thumbnailer/evince-thumbnailer.c:
1921 Use the ev-document-types code
1923 * shell/Makefile.am:
1924 Added new convenience library libevbackendfactory_la, containing
1925 the new mimetype->backend logic; moved the backends into it.
1927 * thumbnailer/Makefile.am:
1928 Make the thumbnailer link with the libevbackend.la convenience
1929 library, rather than having a duplicate of the backend logic here.
1931 2005-04-18 Paolo Borelli <pborelli@katamail.com>
1933 * shell/ev-stock-icons.c: constify some vars.
1934 * shell/ev-window.c: ditto.
1936 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
1938 * ps/ps-document.c (get_page_orientation):
1940 Respect document orientation
1942 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1946 * shell/Makefile.am:
1948 Move library dependencies to components.
1950 * shell/ev-window.c: (update_window_title),
1951 (start_loading_document):
1953 Fix display of uris with spaces. Bug 168358.
1955 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
1957 * shell/ev-sidebar-links.c: (selection_changed_cb):
1958 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
1959 (ev_view_button_release_event), (ev_view_set_document):
1961 * shell/ev-window.c: (find_bar_search_changed_cb):
1962 * shell/ev-window.h: Minor cleanups removing some dead code.
1964 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1966 * backend/ev-page-cache.c: (_ev_page_cache_new):
1968 Set current page to 0 if document has pages.
1970 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1972 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1974 Initialize GError to NULL, fix a crash when loading fails.
1976 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1978 * shell/ev-window.c: (update_view_size):
1980 Calculate shadow size only when there is actually
1983 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1985 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
1988 Allow setting view spacing, default to 0
1990 * shell/ev-window.c: (ev_window_unfullscreen),
1991 (ev_window_cmd_view_fullscreen), (ev_window_init):
1993 Remove spacing in fullscreen mode
1995 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1997 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
1998 (ev_view_size_request), (expose_bin_window),
1999 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2001 * shell/ev-window.c: (ev_window_unfullscreen),
2002 (ev_window_cmd_view_fullscreen):
2004 Do not draw the border in fulscreen
2006 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2008 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2009 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2010 (find_page_at_location), (page_changed_cb):
2012 Rework border calculation, so that I can more easily disable it.
2013 Code somewhat cleaner too.
2015 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2017 * backend/ev-page-cache.c: (ev_page_cache_init),
2018 (_ev_page_cache_new):
2020 Remove some assertions, documents can have 0 pages.
2021 Make initial current page -1.
2023 * shell/ev-page-action.c: (page_changed_cb):
2025 Show "" if current page is -1
2027 * shell/ev-window.c: (update_action_sensitivity),
2028 (ev_window_setup_document):
2030 When document has 0 pages do not set the view
2031 and make nearly everything insensitive.
2033 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2035 * shell/ev-page-view.c:
2036 * shell/ev-page-view.h:
2038 Remove unused files.
2040 * shell/ev-sidebar-thumbnails.c:
2041 (ev_sidebar_thumbnails_set_document):
2042 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2043 (ev_sidebar_supports_document):
2044 * shell/ev-sidebar.h:
2045 * shell/ev-window.c: (ev_window_setup_document):
2047 Doesn't show thumbnails if document has 1 page. Make
2048 sidebar menu entries sensitive only if if they have
2049 sense. Fix bug 164811.
2051 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2053 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2054 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2055 (ev_view_zoom_out), (ev_view_set_size):
2057 Rework sizing to deal with documents with not uniform page
2060 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2062 * backend/ev-page-cache.c: (_ev_page_cache_new):
2064 Fix several page size caching bugs
2066 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2068 * shell/ev-window.c: (set_action_properties):
2070 Make all toolbar items translatable
2072 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2074 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2075 (save_page_list), (ps_document_save),
2076 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2077 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2078 (ps_document_ps_exporter_iface_init):
2081 Based on a patch by J�rg Billeter <j@bitron.ch>
2083 Implement print and save a copy for the ps backend.
2085 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2087 * backend/ev-document.h:
2088 * djvu/djvu-document.c: (djvu_document_can_get_text),
2089 (djvu_document_document_iface_init):
2090 * dvi/dvi-document.c: (dvi_document_can_get_text),
2091 (dvi_document_document_iface_init):
2092 * pdf/ev-poppler.cc:
2093 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2094 (pixbuf_document_document_iface_init):
2095 * ps/ps-document.c: (ps_document_can_get_text),
2096 (ps_document_document_iface_init):
2097 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2098 * shell/ev-window.c: (update_action_sensitivity):
2100 Fix the crash when trying to copy in backends that doesnt
2101 support it. We can implement a better solution once we
2102 do real text selection.
2104 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2106 * data/evince-ui.xml:
2107 * shell/ev-window.c: (ev_window_cmd_escape):
2109 Work around the Escape conflict (find bar and unfullscreen)
2111 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2113 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2115 Fix for #300233. Next page correctly handles document end.
2117 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2118 (ev_sidebar_thumbnails_class_init),
2119 (ev_sidebar_thumbnails_set_document),
2120 (ev_sidebar_thumbnails_clear_job),
2121 (ev_sidebar_thumbnails_clear_model):
2123 Cleanup thumbnail jobs on document changes.
2125 * shell/ev-view.c: (add_scroll_binding_keypad),
2126 (add_scroll_binding_shifted), (ev_view_class_init):
2128 Shift + Space scrolls up. Fix for #173184
2130 * shell/ev-window.c: (ev_window_open_page),
2131 (ev_window_cmd_view_reload):
2133 Fix reload (Bug #300094)
2135 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2138 * dvi/mdvi-lib/assoc.c:
2139 * dvi/mdvi-lib/assoc.h: Removed garbage files
2141 * dvi/mdvi-lib/bitmap.c:
2142 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2143 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2144 * dvi/mdvi-lib/color.h: Antialias of rules
2146 * dvi/mdvi-lib/common.h:
2147 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2148 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2149 * dvi/mdvi-lib/files.c:
2150 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2151 * dvi/mdvi-lib/mdvi.h:
2152 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2153 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2154 * dvi/mdvi-lib/util.c: Fix compile warnings
2156 * dvi/dvi-document.c:
2157 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2158 (dvi_document_thumbnails_get_thumbnail),
2159 (dvi_document_document_thumbnails_iface_init):
2160 * dvi/mdvi-lib/Makefile.am:
2161 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2162 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2164 Dvi backend now renders thumbnails
2166 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2168 * shell/main.c: (main):
2170 Save accelerators on exit. Fixes bug #172095.
2172 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2174 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2175 update priority" comment.
2177 * backend/ev-job-queue.c: Give a way to change priority.
2179 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2181 * shell/ev-page-action.c: Fix logic.
2183 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2185 * shell/ev-view.c: (ev_view_can_find_next):
2186 * shell/ev-window.c: (ev_window_setup_document):
2188 Check that the document supports find
2190 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2192 * data/evince-ui.xml:
2193 * shell/ev-view.c: (ev_view_can_find_next):
2195 * shell/ev-window.c: (update_action_sensitivity),
2196 (find_changed_cb), (ev_window_setup_document),
2197 (ev_window_cmd_edit_find_next):
2201 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2203 * pdf/ev-poppler.cc:
2204 * shell/ev-print-job.c: (idle_print_handler):
2206 Make printing work again
2208 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2210 * shell/ev-page-action.h:
2211 * shell/ev-page-action.c: (ev_page_action_widget_init),
2212 (ev_page_action_widget_class_init), (page_changed_cb),
2213 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2214 (get_filter_model_from_model), (match_selected_cb),
2215 (display_completion_text), (match_completion), (update_model),
2216 (connect_proxy), (ev_page_action_set_property),
2217 (ev_page_action_get_property), (ev_page_action_set_document),
2218 (ev_page_action_set_model), (ev_page_action_class_init): Big
2219 reworking to make completions work iff we have >= GTK-2.7.0
2221 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2222 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2223 (job_finished_cb): We now have a 'model' property that is set when
2224 the links are loaded. This can be caught with "notify::model"
2226 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2227 listen for the model to be set, and propagate it to the action.
2229 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2231 * cut-n-paste/recent-files/egg-recent-item.c:
2232 (egg_recent_item_set_uri), (make_valid_utf8),
2233 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2234 * cut-n-paste/recent-files/egg-recent-item.h:
2236 Update egg-recent from libegg. This should fix long
2237 startup problem. For details see
2238 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2240 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2242 * cut-n-paste/recent-files/Makefile.am:
2243 * data/evince-ui.xml, shell/Makefile.am:
2244 * shell/ev-application.c, shell/ev-application.h:
2245 * shell/ev-window.c: Recent files support.
2247 * configure.ac: Added "ru" to ALL_LINGUAS.
2249 * dvju: new backend to support DJVU files.
2250 * dvi: new backend to support DVI.
2252 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2253 * ev-application.c: Support for new backends.
2255 * help, ev-window.c, main.c shell/Makefile.am:
2256 Evince user documentation.
2258 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2261 * shell/ev-window.c:
2262 * thumbnailer/evince-thumbnailer.c:
2264 s/pdf-document/ev-poppler
2266 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2273 * ps/ps-document.c: (setup_pixmap):
2277 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2279 * backend/ev-page-cache.c (ev_page_cache_next_page):
2280 * shell/ev-window.c (ev_window_cmd_go_next_page)
2281 (ev_window_cmd_go_first_page): Fix of by one errors.
2283 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2285 * ps/ps-document.c: (get_page_box):
2287 Fix page size calculation
2289 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2291 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2292 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2293 (get_page_orientation), (setup_page), (document_load),
2294 (ps_document_get_page_size), (render_pixbuf_idle):
2297 More refactoring to adapt to EvDocument changes
2299 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2301 * ps/ps-document.c: (start_interpreter):
2303 Actually add alpha args
2305 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2307 * pdf/ev-poppler.cc:
2309 Make clipboard work again
2311 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2313 Make searching work again.
2315 * backend/ev-document.c:
2316 * backend/ev-document.h:
2317 * backend/ev-document-find.c:
2318 * backend/ev-document-find.h: Change EvDocumentIface so we no
2319 longer store the current page or zoom level in the document. The
2320 consequence is that all calls that operate on the current page now
2321 instead take the page number as an extra argument, and all
2322 coordinates are now doubles in document coordinate system.
2324 * pdf/ev-poppler.cc:
2325 * pixbuf/pixbuf-document.c:
2326 * ps/ps-document.c: Update backends accordingly.
2328 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2332 Add required gettext version
2334 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2336 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2337 make F1 bring up non-existent help.
2339 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2340 epiphany's find bar, #167477
2342 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2343 <emil@nishra.com> to add space-bar scrolling,
2345 * shell/ev-window.c (static GtkActionEntry entries): add default
2346 keybinding for Help (F1)
2349 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2350 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
2353 2005-04-01 David Malcolm <dmalcolm@redhat.com>
2356 * pixbuf/pixbuf-document.c:
2358 Got pixbuf backend working again
2360 2005-04-01 Steve Murphy <murf@e-tools.com>
2362 * configure.in: Added "rw" to ALL_LINGUAS.
2364 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
2366 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
2367 model types, noticed by Martin Kretzschmar.
2369 2005-04-01 Kristian Høgsberg <krh@redhat.com>
2371 * pdf/ev-poppler.cc: Implement search based on
2372 poppler_page_find_text(). Currently a bit crude since we remember
2373 all matches from all pages. Also, we grab the big document lock
2374 when we search since searching changes the underlying stream and
2375 thus conflicts with the rendering thread.
2377 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2378 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
2379 (ev_view_find_previous): Fix some page indexes to be 0 based,
2380 offset rubber band by view offset,
2382 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
2384 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
2386 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
2388 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
2389 completely because I didn't understand GtkActions. I should
2390 read Marco's code more carefully in the future.
2392 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
2395 2005-03-31 Kristian Høgsberg <krh@redhat.com>
2397 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
2398 PopplerRectangle change from poppler CVS.
2400 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
2402 * backend/ev-document.c: (ev_document_get_page_label):
2403 * backend/ev-document.h:
2404 * backend/ev-page-cache.c: (_ev_page_cache_new),
2405 (ev_page_cache_get_page_label):
2406 * backend/ev-page-cache.h:
2407 * pdf/ev-poppler.cc:
2408 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
2409 (links_page_num_func):
2410 * shell/ev-sidebar-thumbnails.c:
2411 (ev_sidebar_thumbnails_set_document):
2412 * shell/ev-view.c: (status_message_from_link),
2413 (ev_view_motion_notify_event):
2414 * shell/ev-window.c: (document_supports_sidebar): Add in page
2415 label support. It's not perfect yet, but it's the first 'feature'
2417 Also, fix a bogus comment noticed by crispin.
2419 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
2421 * Makefile.am: Remove pixbuf backend for now
2423 * configure.ac: Require poppler-glib instead of just poppler.
2425 * backend/ev-document-thumbnails.h: Add a comment
2427 * backend/ev-document.h:
2428 * backend/ev-document.c: (ev_document_class_init),
2429 (ev_document_load), (ev_document_get_link),
2430 (ev_document_get_links): Remove 3 methods and add get_links.
2433 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2434 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
2436 * backend/ev-link.c: (ev_link_set_title),
2437 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
2438 (ev_link_mapping_find):
2439 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
2441 * backend/ev-page-cache.c: (ev_page_cache_init),
2442 (_ev_page_cache_new), (ev_page_cache_set_current_page),
2443 (ev_page_cache_get_size), (ev_page_cache_next_page),
2444 (ev_page_cache_prev_page): Fix to be 0 based.
2448 * pdf/ev-poppler.cc: New backend.
2450 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
2451 (ps_document_get_page), (ps_document_document_iface_init):
2453 * shell/ev-pixbuf-cache.h:
2454 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2455 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
2456 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
2457 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
2458 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
2459 Fix up code to grab a page cache per each doc. Also, fix to be 0
2462 * shell/ev-sidebar-thumbnails.c:
2463 (ev_sidebar_tree_selection_changed), (page_changed_cb),
2464 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
2466 * shell/ev-view.c: (status_message_from_link),
2467 (find_page_at_location), (get_link_at_location),
2468 (ev_view_motion_notify_event), (ev_view_button_release_event),
2469 (ev_view_init): Use the new link code. Fix to be 0 based.
2471 * shell/ev-window.c: (update_action_sensitivity),
2472 (document_supports_sidebar): 0 based.
2474 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
2476 * pdf/pdf-document.cc: Patch from Fernando Herrera
2477 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
2480 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
2482 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
2483 1 to the page, as this seems to be 1 based. I thought we has this
2486 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
2489 * backend/Makefile.am:
2490 * backend/ev-document-links.c:
2491 (ev_document_links_has_document_links),
2492 (ev_document_links_get_links_model):
2493 * backend/ev-document-links.h:
2494 * backend/ev-document.c: (ev_document_get_page_cache),
2495 (ev_document_get_doc_mutex), (ev_document_load),
2496 (ev_document_save), (ev_document_get_title),
2497 (ev_document_get_n_pages), (ev_document_set_page),
2498 (ev_document_get_page), (ev_document_set_target),
2499 (ev_document_set_scale), (ev_document_set_page_offset),
2500 (ev_document_get_page_size), (ev_document_get_text),
2501 (ev_document_get_link), (ev_document_render),
2502 (ev_document_render_pixbuf), (ev_document_scale_changed):
2503 * backend/ev-document.h:
2504 * backend/ev-job-queue.c: (remove_object_from_queue),
2505 (notify_finished), (handle_job), (search_for_jobs_unlocked),
2506 (no_jobs_available_unlocked), (ev_render_thread),
2507 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
2508 (ev_job_queue_remove_job):
2509 * backend/ev-job-queue.h:
2510 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2511 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2512 (ev_job_links_class_init), (ev_job_render_init),
2513 (ev_job_render_dispose), (ev_job_render_class_init),
2514 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2515 (ev_job_thumbnail_class_init), (ev_job_finished),
2516 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2517 (ev_job_render_run), (ev_job_thumbnail_new),
2518 (ev_job_thumbnail_run):
2519 * backend/ev-jobs.h:
2520 * backend/ev-link.c:
2521 * backend/ev-link.h:
2522 * backend/ev-page-cache.c: (ev_page_cache_init),
2523 (ev_page_cache_class_init), (ev_page_cache_finalize),
2524 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
2525 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2526 (ev_page_cache_set_link), (ev_page_cache_get_title),
2527 (ev_page_cache_get_size), (ev_page_cache_next_page),
2528 (ev_page_cache_prev_page):
2529 * backend/ev-page-cache.h:
2530 * pdf/pdf-document.cc:
2533 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2534 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
2535 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
2536 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
2537 (is_interpreter_ready), (output), (catchPipe), (input),
2538 (start_interpreter), (check_filecompressed), (compute_dimensions),
2539 (ps_document_enable_interpreter), (document_load),
2540 (ps_document_next_page), (render_page), (ps_document_set_page),
2541 (ps_document_set_scale), (render_pixbuf_idle),
2542 (ps_document_render_pixbuf), (ps_document_document_iface_init):
2544 * shell/Makefile.am:
2545 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2546 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
2547 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
2548 (ev_pixbuf_cache_new), (job_finished_cb),
2549 (check_job_size_and_unref), (move_one_job),
2550 (ev_pixbuf_cache_update_range), (find_job_cache),
2551 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
2552 (ev_pixbuf_cache_add_jobs_if_needed),
2553 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
2554 * shell/ev-pixbuf-cache.h:
2555 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2556 (idle_print_handler):
2557 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2558 (selection_changed_cb), (create_loading_model),
2559 (ev_sidebar_links_construct), (links_page_num_func),
2560 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
2561 (update_page_callback), (job_finished_cb),
2562 (ev_sidebar_links_set_document):
2563 * shell/ev-sidebar-thumbnails.c:
2564 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
2565 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
2566 (page_changed_cb), (thumbnail_job_completed_callback),
2567 (ev_sidebar_thumbnails_set_document):
2568 * shell/ev-sidebar-thumbnails.h:
2569 * shell/ev-sidebar.c: (ev_sidebar_set_document):
2570 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
2571 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
2572 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
2573 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
2574 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
2575 (ev_view_button_release_event), (ev_view_scroll_view),
2576 (ev_view_class_init), (ev_view_init), (update_find_status_message),
2577 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
2578 (ev_view_new), (job_finished_cb), (page_changed_cb),
2579 (ev_view_set_document), (go_to_link), (ev_view_zoom),
2580 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
2581 (ev_view_find_previous):
2583 * shell/ev-window.c: (update_action_sensitivity),
2584 (ev_window_open_page), (update_window_title), (update_total_pages),
2585 (page_changed_cb), (ev_window_setup_document),
2586 (password_dialog_response), (ev_window_cmd_save_as),
2587 (ev_window_print), (ev_window_cmd_go_previous_page),
2588 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
2589 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
2590 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
2591 * shell/main.c: (main):
2593 Merge evince-threads branch
2595 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
2597 * configure.ac: Added "lt" to ALL_LINGUAS.
2599 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
2606 2005-03-13 Fernando Herrera <fherrera@onirica.com>
2608 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2610 Fix here also the thumbnails 1-basedness :)
2612 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2619 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2621 * pdf/pdf-document.cc:
2622 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
2623 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
2625 Fix the mess we did with thumbnails and 1-basedness
2627 2005-03-12 Changwoo Ryu <cwryu@debian.org>
2629 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
2631 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
2638 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
2641 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
2642 (gtk_gs_defaults_get_alpha_parameters),
2643 (gtk_gs_defaults_get_ungzip_cmd),
2644 (gtk_gs_defaults_get_unbzip2_cmd):
2646 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2647 (ps_document_get_orientation), (document_load),
2648 (ps_document_goto_page), (ps_document_set_page_size):
2651 Some more sanitization of the ps backend. Remove a lot
2652 of unused code and do not base our defaults on ggv
2655 2005-03-08 Fernando Herrera <fherrera@onirica.com>
2657 * thumbnailer/evince-thumbnailer.schemas:
2658 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2659 (main): add -s option for thumbnail size.
2661 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
2665 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
2668 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2670 * pdf/pdf-document.cc:
2672 Remove 4 pixels of useless border from the
2675 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2677 * backend/ev-document-thumbnails.c:
2678 (ev_document_thumbnails_get_thumbnail):
2679 * backend/ev-document-thumbnails.h:
2681 Rework API a bit. Add a border flag and
2682 change sizing logic (now the size we specify
2683 applies to the bigger dimension).
2685 * pdf/pdf-document.cc:
2686 * pixbuf/pixbuf-document.c:
2687 (pixbuf_document_thumbnails_get_thumbnail):
2688 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
2689 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2691 Adapt to the new API and do not draw a border for nautilus
2694 2005-03-03 Fernando Herrera <fherrera@onirica.com>
2696 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2697 take thumbnails from page "0" instead of "1". Added a copyright header.
2699 2005-03-03 Jens Granseuer <jensgr@gmx.net>
2701 * ps/ps-document.c: (set_up_page), (start_interpreter):
2703 Make it C89 compliant
2705 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
2710 * pdf/pdf-document.cc:
2711 * thumbnailer/Makefile.am:
2712 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2714 * thumbnailer/evince-thumbnailer.schemas:
2715 * thumbnailer/pdf-icon.png:
2717 Add a nautilus thumbnailer.
2718 Based on patch by Fernando Herrera <fherrera@onirica.com>.
2720 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
2728 2005-03-01 Kristian Høgsberg <krh@redhat.com>
2730 Use poppler instead of including xpdf source code. Poppler is a
2731 fork of xpdf to build it as a shared library. See
2732 http://freedesktop.org/wiki/Software/poppler.
2734 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
2737 * pdf/Makefile.am: Build libpdfdocument.a here.
2739 * pdf/GDKSplashOutputDev.cc:
2740 * pdf/GDKSplashOutputDev.h:
2741 * pdf/GnomeVFSStream.cc:
2742 * pdf/GnomeVFSStream.h:
2745 * test-gdk-output-dev.cc
2747 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
2750 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2752 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
2754 Clear idle stack before unsetting the document
2756 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2758 * ps/ps-document.c: (ps_document_widget_event),
2759 (ps_document_set_target), (ps_document_finalize),
2760 (ps_document_get_page):
2762 Disconnect the widget event signal on finalize.
2765 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2767 * ps/ps-document.c: (set_up_page):
2769 If there is no bpixmap create one, even if size
2772 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2774 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
2775 (set_up_page), (document_load), (ps_document_set_zoom):
2777 Default page is 0. Calculate size even when we have no
2780 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
2782 * shell/ev-sidebar.c: expand the selection widget to be always as
2785 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2787 * shell/ev-sidebar-thumbnails.c:
2788 (ev_sidebar_thumbnails_set_document):
2790 Clear the list store when setting document
2792 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2794 * shell/ev-page-action.c: (update_entry), (sync_entry),
2795 (activate_cb), (entry_size_request_cb), (create_tool_item),
2798 Use an entry for the page control instead of spinbuttons
2800 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2802 * data/evince.schemas.in:
2804 Correct confusing string
2806 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
2808 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
2809 for real. Gosh, how long has this been broken.
2811 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
2812 check for a NULL link. We crash otherwise.
2814 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
2821 2005-02-25 Sebastien Bacher <seb128@debian.org>
2823 * configure.ac: add the french translation.
2825 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2827 * shell/ev-window.c:
2829 Remove unused header -> fix distcheck
2831 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2833 * shell/ev-window.c: (update_window_title),
2834 (ev_window_popup_password_dialog):
2836 Unescape filename for display
2838 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2840 * pdf/xpdf/pdf-document.cc:
2842 In get_page_size deal with rotation. Also
2843 cleanup the function a bit.
2845 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2847 * pdf/xpdf/pdf-document.cc:
2849 Fix crash when opening in new window
2851 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2855 Check ghostscript >= 7
2857 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
2859 * shell/ev-window.c:
2861 Make page width the default sizing mode
2863 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
2864 Marco Pesenti Gritti <marco@gnome.org>
2866 * shell/ev-window.c: Remember the sidebar size
2868 * data/evince.schemas.in: Add a new gconf key to store the size of
2871 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
2873 * data/evince-ui.xml:
2874 * shell/ev-window.c: (update_action_sensitivity),
2875 (ev_window_cmd_view_reload):
2877 Add a "Reload" action and menu entry
2879 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
2881 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
2882 iff the type doesn't support thumbnailing and indexing.
2884 2005-02-24 Martin Kretzschmar <martink@gnome.org>
2886 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
2888 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2890 * pdf/splash/Splash.cc:
2892 Port fix for a crasher from kde bug
2893 http://bugs.kde.org/show_bug.cgi?id=97131
2895 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2897 * pdf/xpdf/pdf-document.cc:
2899 Return a link even if it's of an unrecognized
2900 type. Otherwise we go in an infinte cycle.
2902 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2904 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
2905 (size_allocate_cb), (ev_window_set_sizing_mode):
2907 Update size when switching mode
2909 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2911 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2912 (ev_window_cmd_view_page_width), (update_sizing_buttons),
2913 (ev_window_cmd_view_normal_size):
2915 Fix size toggle buttons behavior
2917 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2919 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
2920 (doc_rect_to_view_rect), (ev_view_size_allocate),
2921 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
2922 (scale_changed_callback):
2924 Do not cache offsets in size_allocate.
2926 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2928 * shell/ev-view.c: (ev_view_size_allocate):
2930 Calculate offsets before calling the parent
2931 class (which does a redraw)
2933 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2935 * pdf/xpdf/pdf-document.cc:
2937 Fix a crasher on exit. Unused code, put a TODO
2939 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2941 * backend/ev-document.c: (ev_document_class_init),
2942 (ev_document_page_changed), (ev_document_scale_changed):
2943 * backend/ev-document.h:
2945 Separate page/scale notifications
2947 * pdf/xpdf/pdf-document.cc:
2949 Emit the new signals.
2950 Do not display the pdf page in _render, do it
2951 when scale/page are requested.
2953 * ps/ps-document.c: (ps_document_set_zoom),
2954 (ps_document_widget_event):
2957 Emit the new signals.
2959 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
2960 (ev_view_init), (page_changed_callback), (scale_changed_callback),
2961 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
2962 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
2964 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
2965 (ev_window_cmd_view_page_width), (size_allocate_cb),
2966 (ev_window_set_sizing_mode):
2968 Rework sizing to be pixel based.
2969 There are bugs but should be already way better.
2971 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
2973 * shell/ev-window.c: (ev_window_init):
2975 Do not allow to shrink sidebar smaller then
2978 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
2980 * shell/ev-sidebar.[ch]
2981 * shell/ev-window.c:
2983 Improved sidebar widget. Fixes #166683
2985 2005-02-23 Tommi Vainikainen <thv@iki.fi>
2987 * shell/ev-view.c (update_find_status_message): Give translators
2988 more flexibility with ngettext plural handling.
2990 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
2992 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
2993 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
2994 page when we get the page size.
2996 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2998 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3000 ps pages are 0 based, convert
3002 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3004 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3006 Initialize correct parent class. Set GError on document load
3008 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3010 * pdf/xpdf/pdf-document.cc:
3012 Fixup selection offset calculation
3014 * shell/ev-view.c: (view_rect_to_doc_rect),
3015 (doc_rect_to_view_rect), (ev_view_size_allocate),
3016 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3017 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3019 Store selection as document relative, so that zooming
3020 and offset changing doesnt break it.
3022 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3024 * shell/ev-view.c: (ev_view_best_fit):
3026 Do not try to best fit if the view is not realized
3028 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3030 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3032 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3034 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3036 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3038 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3039 the popup window. That prevents it resizing when in full screen
3042 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3043 multiple rerenders. This pretty much sucks.
3045 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3046 rest of the toolbar.
3048 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3050 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3052 2005-02-17 Alexander Shopov <ash@contact.bg>
3054 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3056 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3058 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3060 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3062 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3063 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3064 (set_document_page), (document_changed_callback),
3065 (ev_view_set_document), (ev_view_find_previous),
3066 (ev_view_hide_cursor), (ev_view_show_cursor):
3068 * shell/ev-window.c: (update_chrome_visibility),
3069 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3070 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3071 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3072 (ev_window_unfullscreen):
3073 * shell/main.c: (main):
3075 Automatically hide the fullscreen button.
3076 Patch by Kristian Høgsberg <krh@redhat.com>
3078 2005-02-16 Vincent Noel <vnoel@cox.net>
3080 * shell/main.c (main): Specify an icon for the window. Patch by
3081 Jaap A. Haitsma. Fixes #166177.
3083 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3085 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3087 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3089 * backend/ev-document-misc.h:
3090 * backend/ev-document-misc.c:
3091 (ev_document_misc_get_page_border_size),
3092 (ev_document_misc_paint_one_page): New function to canonicalize
3093 sizing/painting a border.
3095 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3098 * pdf/xpdf/pdf-document.cc: use new function
3100 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3101 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3102 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3103 shell/ev-window.c: (update_sizing_buttons),
3104 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3105 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3106 (ev_window_cmd_view_page_width), (size_allocate_cb),
3107 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3108 and "fit width" values act as toggle buttons so they stay
3109 toggled. It's not 100% perfect, and it's a little slow, but it's
3110 good enough to commit I think.
3112 2005-02-15 David Lodge <dave@cirt.net>
3114 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3116 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3118 * shell/ev-window.c (update_window_title): replace newlines in
3119 the title by spaces. Bug #166107.
3121 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3123 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3124 parameters providing allocation width and height without
3125 scrollbars and width of a possible vertical scrollbar. With this
3126 additional information the functions can work as
3127 intended. Unfortunately they're not idempotent. We should
3128 transform these commands to toggles. Fixes Bug #164976
3129 Initial patch by Stephane Loeuillet, then heavily modified.
3131 * shell/ev-view.h: update prototypes.
3133 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3134 (ev_window_cmd_view_page_width): provide EvView fit functions with
3135 all the information they need. Formulas to calculate this
3136 information taken from GtkScrolledWindow.
3138 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3140 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3141 created a thumbnail, the list store is updated to know
3142 that the thumbnail is set. Fixes bug #166792
3144 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3146 * shell/ev-window.c: fixed typo, closes bug 166897
3148 * TODO: updated TODO with bug numbers that are relevant
3150 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3152 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3154 2005-02-09 Vincent Noel <vnoel@cox.net>
3156 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3157 and "Next" toolbar buttons as important to make them stand out.
3159 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3163 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3164 (start_interpreter), (stop_interpreter), (document_load),
3165 (ps_document_next_page), (ps_document_goto_page),
3166 (ps_document_set_page_size), (ps_document_widget_event),
3167 (ps_document_render):
3168 * shell/ev-page-view.c: (ev_page_view_dispose):
3169 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3171 Fix compilation on non-gcc platforms
3173 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3180 * pdf/xpdf/Catalog.cc:
3183 Fix the fix for CAN-2004-0888
3185 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3188 * data/evince-ui.xml:
3189 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3190 * shell/ev-stock-icons.h:
3191 * shell/ev-window.c: (update_action_sensitivity),
3192 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3193 (set_action_properties):
3195 Improve toolbar layout/icons
3197 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3199 * pdf/xpdf/pdf-document.cc:
3201 Add warnings about unimplemented/unknown link
3204 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3206 * ps/ps-document.c: (set_up_page):
3210 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3212 * ps/ps-document.c: (start_interpreter):
3216 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3218 * shell/ev-page-view.c: (ev_page_view_dispose):
3219 * shell/ev-view.c: (ev_view_finalize):
3220 * shell/ev-window.c: (ev_window_setup_document),
3221 (ev_window_dispose), (ev_window_init):
3223 Solve more refs issues.
3225 I commented out the page_view initialization for now:
3226 it was never destroyed (because it's never added
3227 to a container). Because of that we was leaking
3228 gs processes. Couldnt think to a clean fix.
3229 We need to figure this out, password view has the
3230 same issue probably.
3232 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3234 * ps/ps-document.c: (ps_document_finalize),
3235 (ps_document_get_n_pages), (ps_document_get_page):
3237 Some cleanups, stop the interpreter on finalize
3239 * shell/ev-page-view.c: (ev_page_view_dispose),
3240 (ev_page_view_class_init):
3242 Release our reference on the document
3244 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3248 * doc/debugging.txt:
3251 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3252 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3253 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3256 Add debugging helpers
3259 * ps/ps-document.c: (set_up_page), (start_interpreter),
3260 (stop_interpreter), (document_load), (ps_document_next_page),
3261 (ps_document_goto_page), (ps_document_set_page_size),
3262 (ps_document_widget_event), (ps_document_render):
3263 * shell/Makefile.am:
3264 * shell/ev-view.c: (expose_bin_window):
3265 * shell/main.c: (main):
3269 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3271 * ps/ps-document.c: (ps_document_widget_event):
3273 Initialize message_window, this should make ps
3274 rendering really work! (Never noticed because I was
3275 testing with a ps that is causing gs to exit every time!)
3277 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3279 * data/evince.schemas.in: updated simple error in applyto closing tag
3281 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3287 * data/evince-ui.xml:
3288 A data/evince.schemas.in:
3290 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3291 * shell/ev-stock-icons.h:
3292 * shell/ev-window.c: (update_chrome_visibility),
3293 (update_chrome_flag), (ev_window_cmd_edit_find),
3294 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3295 (ev_window_unfullscreen), (ev_window_focus_in_event),
3296 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3297 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3298 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3299 (ev_window_dispose), (ev_window_class_init),
3300 (set_action_properties), (set_chrome_actions), (load_chrome),
3303 Implement fullscreen mode changes from bug #164776.
3304 Also implement persistent chrome toggles.
3306 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3308 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3310 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3316 Add another check for find interface
3320 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3322 * shell/ev-application.c: (ev_application_open):
3323 * shell/ev-window.c: (ev_window_open):
3325 Open gzipped ps documents
3327 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3330 * shell/ev-view.c: (set_document_page):
3332 Clamp page number, dont try to move to
3335 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3337 * backend/ev-document-find.c: (ev_document_find_changed):
3338 * backend/ev-document-find.h:
3339 * pdf/xpdf/pdf-document.cc:
3340 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3341 * shell/ev-window.c: (find_bar_search_changed_cb):
3343 Fix several bugs with find
3345 2005-02-04 Martin Kretzschmar <martink@gnome.org>
3347 * shell/ev-sidebar-thumbnails.c
3348 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3349 document. Prevents warning from scroll_to_cell.
3351 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
3353 * configure.ac: Add «nb» to ALL_LINGUAS too.
3355 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
3357 * NOTES: New file with some random thoughts.
3361 * backend/ev-document-misc.c:
3362 (ev_document_misc_get_page_border_size): New function to
3363 canonicalize shadow drawing sizes. Possibly goofy.
3365 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
3366 (ev_view_best_fit), (ev_view_fit_width):
3367 * pdf/xpdf/pdf-document.cc:
3368 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3369 * ps/ps-document.c: (ps_document_get_page_size):
3370 * backend/ev-document-misc.h:
3371 * backend/ev-document.c: (ev_document_get_page_size):
3372 * backend/ev-document.h: get_page_size now takes a page number
3373 parameter. Made all the backends/frontends honor it.
3375 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
3376 see. Doesn't work yet.
3378 * shell/Makefile.am:
3379 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
3380 Doesn't do anything yet.
3382 * shell/ev-sidebar-thumbnails.c:
3383 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
3386 * shell/ev-window.c: (update_action_sensitivity),
3387 (ev_window_setup_document), (ev_window_set_page_mode),
3388 (ev_window_page_mode_cb), (ev_window_init): Clean up the
3389 view-swapping code a bit so we can have multiple views on a
3390 document. Add the multi-page view, though it can't be turned on
3393 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3395 * shell/ev-application.c: (ev_application_open):
3396 * shell/ev-view.c: (expose_bin_window):
3397 * shell/ev-window.c: (ev_window_open):
3399 Support eps and check document supports find
3400 before drawing highlightings in expose.
3402 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3404 * pixbuf/pixbuf-document.c:
3405 (pixbuf_document_thumbnails_get_dimensions),
3406 (pixbuf_document_document_thumbnails_iface_init):
3408 implement get_dimensions
3410 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3417 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3419 * shell/ev-view.c: (set_document_page):
3421 Scroll at the top of the page when changing page
3423 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3425 * shell/ev-view.c: (ev_view_motion_notify_event):
3427 Do not redraw unnecessarily
3429 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3431 * pdf/xpdf/pdf-document.cc:
3432 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3433 (expose_bin_window), (find_changed_cb):
3435 Yay! find works now... Now to find bugs...
3437 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3439 * backend/ev-document-find.c: (ev_document_find_base_init),
3440 (ev_document_find_changed):
3441 * backend/ev-document-find.h:
3442 * pdf/xpdf/pdf-document.cc:
3443 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3444 (expose_bin_window), (ev_view_init), (set_document_page),
3445 (ensure_rectangle_is_visible), (jump_to_find_result),
3446 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
3447 (ev_view_find_next), (ev_view_find_previous):
3449 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
3451 More work on find implementation, mostly there now
3453 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
3455 * backend/ev-backend-marshalers.list:
3456 * backend/ev-document-find.c: (ev_document_find_base_init),
3457 (ev_document_find_cancel), (ev_document_find_page_has_results),
3458 (ev_document_find_get_n_results), (ev_document_find_get_result),
3459 (ev_document_find_get_progress), (ev_document_find_changed):
3460 * backend/ev-document-find.h:
3462 Enanche the find interface to be really able to do
3465 * pdf/xpdf/pdf-document.cc:
3469 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
3470 (expose_bin_window), (ev_view_init),
3471 (ev_view_get_find_status_message), (find_changed_cb),
3472 (ev_view_set_document), (set_document_page):
3474 Adapt to the new interface. A few things are regressed sorry,
3475 I will finish it soon.
3477 2005-01-28 Martin Kretzschmar <martink@gnome.org>
3479 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
3480 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
3481 ev_sidebar_thumbnails_parent_class variable, don't define another
3482 parent_class variable.
3484 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
3485 (ev_page_action_class_init): ditto.
3487 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
3488 (pixbuf_document_class_init): ditto.
3490 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
3493 * .cvsignore: ignore various valgrind output files.
3495 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3497 * data/evince-ui.xml:
3498 * shell/Makefile.am:
3499 * shell/ev-history.c:
3500 * shell/ev-history.h:
3501 * shell/ev-navigation-action.c:
3502 * shell/ev-navigation-action.h:
3503 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
3504 (ev_view_set_page), (ev_view_fit_width):
3506 * shell/ev-window.c: (update_action_sensitivity),
3507 (ev_window_setup_document), (register_custom_actions):
3509 Kill session history
3511 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3513 * shell/ev-window.c: (update_action_sensitivity):
3515 Fix inverted up/down buttons
3517 2005-01-27 Martin Kretzschmar <martink@gnome.org>
3519 * shell/ev-sidebar-thumbnails.c
3520 (ev_sidebar_thumbnails_select_page): make sure the selected
3521 thumbnail stays visible.
3523 2005-01-26 Martin Kretzschmar <martink@gnome.org>
3525 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
3526 scrolled window for Federico.
3528 2005-01-26 Ole Laursen <olau@hardworking.dk>
3530 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
3532 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
3535 * pdf/splash/SplashFTFontEngine.cc:
3537 Fix CID fonts with freetype 2.1.9
3539 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
3541 * TODO: added item for desktop icon thumbnailer
3543 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
3545 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
3546 unloaded docs when the title is accessed.
3548 * shell/ev-password-view.[hc]: New widget for displaying password
3551 * shell/ev-window.[ch]: Refactor password handling code to handle
3554 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
3562 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
3564 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
3565 ignore page offset here, to make search results independent of it,
3567 * shell/ev-view.c (expose_bin_window): but take offsets into
3568 account here. Bug #164932
3570 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
3571 scale at the right time. Bug #164996
3573 2005-01-22 Martin Kretzschmar <martink@gnome.org>
3575 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
3576 fix the problem. Now I just removed the Adobe font names and hope
3577 that the URW fonts are always in outline format. Bug #164934
3579 * shell/ev-window.c (update_window_title): empty titles are
3580 useless, use filename in that case too.
3582 * NEWS: Add some content.
3584 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
3586 * TODO: added one more TODO item and a TODONE section :)
3588 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3590 * ps/ps-document.h: add page_[xy]_offset fields.
3592 * ps/ps-document.c (ps_document_set_page_offset)
3593 (ps_document_render): Keep offset in consideration in a few
3594 places. Bug #164752 "postscript documents are not centered in
3597 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
3598 s/gpdf/evince/. Spotted by Stephane Loeuillet.
3600 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
3601 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
3602 stub out missing methods for complete EvDocument implementation.
3603 Fixes segfaults with Save A Copy and Copy actions.
3605 * ps/ps-document.c (ps_document_save, ps_document_get_text)
3606 (ps_document_document_iface_init): ditto.
3608 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3612 * data/evince.desktop.in:
3616 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3618 * shell/ev-view.c: (ev_view_button_press_event),
3619 (ev_view_motion_notify_event):
3621 Make selection work in any direction
3623 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3626 * shell/ev-window.c: (set_short_labels), (ev_window_init):
3628 Use shorter labels for some of the toolbars items
3630 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3632 * pdf/xpdf/pdf-document.cc:
3634 Check the links info is initialized before
3635 using it. Should fix a crash on startup.
3637 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3639 * pixbuf/pixbuf-document.c
3640 (pixbuf_document_thumbnails_get_dimensions): force floating point
3641 division to calculate page_ratio. Fixes crash with landscape
3644 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
3646 * shell/ev-view.c (ev_view_realize): make the bg color darker.
3648 2005-01-20 Martin Kretzschmar <martink@gnome.org>
3650 * shell/ev-view.c (set_document_page): unset has_selection when
3652 (set_document_page): handle paper size changes when the page
3653 changes (test with Free Culture, page 2).
3655 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3657 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
3658 (expose_bin_window), (ev_view_class_init), (ev_view_init):
3660 Use normal style color for the widget background and
3661 draw a black box around the page.
3663 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3665 * pdf/xpdf/pdf-document.cc:
3667 Keep offset in consideration in a few places
3669 * shell/ev-view.c: (expose_bin_window):
3671 Set the offsets so that the document is ever centered
3673 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
3675 * TODO: Added TODO items and finished off the first todo item
3677 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
3678 reflect current authors
3680 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3682 * pdf/xpdf/pdf-document.cc:
3683 * shell/ev-view.c: (ev_view_set_cursor),
3684 (ev_view_motion_notify_event), (document_changed_callback),
3685 (set_document_page):
3687 Show a wait cursor while the page is rendering
3689 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3691 * shell/ev-sidebar-thumbnails.c:
3692 (ev_sidebar_tree_selection_changed),
3693 (ev_sidebar_thumbnails_select_page):
3694 * shell/ev-sidebar-thumbnails.h:
3695 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
3696 (ev_view_can_go_forward):
3697 * shell/ev-window.c: (ev_window_open_page),
3698 (ev_window_setup_document), (update_current_page),
3699 (view_page_changed_cb), (ev_window_init):
3700 * shell/ev-window.h:
3702 Ensure thumbnails selection, toolbar page control and
3703 current page are in sync.
3705 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
3711 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
3713 * backend/Makefile.am:
3714 * backend/ev-document-links.h:
3715 * backend/ev-document-security.c: (ev_document_security_get_type),
3716 (ev_document_security_has_document_security),
3717 (ev_document_security_set_password):
3718 * backend/ev-document-security.h:
3719 * backend/ev-document.c: (ev_document_error_quark):
3720 * backend/ev-document.h:
3722 * data/evince-password.glade:
3723 * pdf/xpdf/pdf-document.cc:
3724 * shell/Makefile.am:
3725 * shell/ev-password.c: (ev_password_set_bad_password_label),
3726 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
3727 (ev_password_dialog_get_password),
3728 (ev_password_dialog_set_bad_pass):
3729 * shell/ev-password.h:
3730 * shell/ev-window.c: (ev_window_get_attribute),
3731 (ev_window_set_property), (update_action_sensitivity),
3732 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
3733 (ev_window_setup_document), (ev_window_get_password),
3734 (ev_window_open), (ev_window_cmd_save_as),
3735 (using_postscript_printer), (ev_window_print),
3736 (find_not_supported_dialog), (ev_window_cmd_edit_find),
3737 (update_fullscreen_popup), (ev_window_fullscreen),
3738 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
3739 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
3740 (menu_item_select_cb), (find_bar_search_changed_cb),
3741 (ev_window_dispose), (ev_window_init):
3743 Add initial support for password-supported dialogs. This could be
3744 a lot cooler, but it'll do for now.
3746 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
3748 * pdf/xpdf/pdf-document.cc:
3749 * shell/ev-view.c: (status_message_from_link),
3750 (ev_view_set_status), (ev_view_set_cursor),
3751 (ev_view_motion_notify_event), (ev_view_init):
3752 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
3754 Fix bugs in the links implementation and change cursor
3755 when hovering a link.
3757 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
3759 * viewer/.cvsignore: added cvsignore file for viewer directory
3761 * TODO: created TODO document
3763 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
3766 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
3767 new functions to help with implementation of sensitivity code
3768 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3769 of all actions that might require it. Fixes a crash when you
3770 click on the Zoom actions in a window lacking a document.
3772 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
3774 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3777 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3779 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
3780 (pixbuf_document_document_iface_init):
3781 * ps/ps-document.c: (ps_document_get_link),
3782 (ps_document_document_iface_init):
3783 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
3784 (status_message_from_link), (ev_view_set_status),
3785 (ev_view_set_find_status), (ev_view_motion_notify_event),
3786 (ev_view_button_release_event), (ev_view_set_property),
3787 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
3788 (ev_view_get_find_status_message), (update_find_results),
3789 (ev_view_get_status), (ev_view_get_find_status):
3791 * shell/ev-window.c: (view_status_changed_cb),
3792 (view_find_status_changed_cb), (ev_window_init):
3794 View status message support, use it to show the links.
3797 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3799 * backend/ev-document.c: (ev_document_get_link):
3800 * backend/ev-document.h:
3801 * pdf/xpdf/pdf-document.cc:
3802 * shell/ev-application.c: (ev_application_open):
3803 * shell/ev-application.h:
3804 * shell/ev-sidebar-links.c: (selection_changed_cb):
3805 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
3806 (ev_view_go_to_link):
3808 Add support for document links
3810 2005-01-13 Anders Carlsson <andersca@gnome.org>
3812 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
3814 Set the spin button limits correctly.
3816 * shell/ev-sidebar-thumbnails.c:
3817 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
3818 Support changing pages by clicking on the thumbnails.
3820 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3822 * pixbuf/pixbuf-document.c:
3823 (pixbuf_document_thumbnails_get_dimensions),
3824 (pixbuf_document_document_thumbnails_iface_init):
3826 implement get_dimensions
3828 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3830 * ps/ps-document.c: (ps_document_goto_page):
3832 Fix page switching on multipage documents
3834 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
3836 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3838 check for NULL before assigning to width and height parameters
3840 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3842 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3843 (pixbuf_document_set_property), (pixbuf_document_get_property):
3845 implement get/set properties
3847 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3849 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
3851 return NULL instead of "Unknown", letting the title get set to
3852 the filename when the pdf has no title.
3854 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3856 * ps/ps-document.c: (ps_document_get_page_count),
3857 (ps_document_goto_page):
3859 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3861 * shell/ev-history.c: (ev_history_get_property),
3862 (ev_history_set_property), (ev_history_class_init),
3863 (ev_history_add_page), (ev_history_set_current_index):
3864 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
3865 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
3866 (ev_navigation_action_finalize):
3867 * shell/ev-navigation-action.h:
3868 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3869 (ev_view_go_forward), (ev_view_get_find_status_message),
3870 (history_index_changed_cb), (ev_view_set_history):
3872 * shell/ev-window.c: (update_total_pages), (ev_window_open),
3873 (update_current_page), (register_custom_actions):
3875 Implement history dropdowns
3877 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3879 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
3880 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3881 (ev_view_go_forward):
3882 * shell/ev-window.c: (register_custom_actions):
3884 Fix several history bugs
3886 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
3888 * configure.ac: Add «nb» to ALL_LINGUAS.
3890 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
3892 * backend/Makefile.am:
3893 * backend/ev-bookmark.c:
3894 * backend/ev-bookmark.h:
3895 * backend/ev-document-bookmarks.c:
3896 * backend/ev-document-bookmarks.h:
3897 * backend/ev-document-links.c: (ev_document_links_get_type),
3898 (ev_document_links_has_document_links),
3899 (ev_document_links_begin_read), (ev_document_links_get_link),
3900 (ev_document_links_get_child), (ev_document_links_next),
3901 (ev_document_links_free_iter):
3902 * backend/ev-document-links.h:
3903 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
3904 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
3905 (ev_link_get_link_type), (ev_link_set_link_type),
3906 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
3907 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
3908 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
3909 (ev_link_new_external):
3910 * backend/ev-link.h:
3911 * pdf/xpdf/pdf-document.cc:
3912 * shell/Makefile.am:
3913 * shell/ev-application.c: (ev_application_open_link):
3914 * shell/ev-application.h:
3915 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
3916 (ev_history_get_link_nth):
3917 * shell/ev-history.h:
3918 * shell/ev-sidebar-bookmarks.c:
3919 * shell/ev-sidebar-bookmarks.h:
3920 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3921 (ev_sidebar_links_class_init), (selection_changed_cb),
3922 (ev_sidebar_links_construct), (ev_sidebar_links_init),
3923 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
3924 (do_one_iteration), (populate_links_idle),
3925 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
3926 * shell/ev-sidebar-links.h:
3927 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3928 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
3931 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
3932 * shell/ev-window.h:
3934 Rename bookmark to link, and use "Index" for the sidebar panel.
3936 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3938 * shell/Makefile.am:
3939 * shell/ev-application.c: (ev_application_open_bookmark):
3940 * shell/ev-application.h:
3941 * shell/ev-history.c: (ev_history_init), (free_links_list),
3942 (ev_history_finalize), (ev_history_class_init),
3943 (ev_history_add_link), (ev_history_add_page),
3944 (ev_history_get_link_nth), (ev_history_get_n_links),
3945 (ev_history_get_current_index), (ev_history_set_current_index),
3947 * shell/ev-history.h:
3948 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3949 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
3950 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
3951 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
3954 * shell/ev-window.c: (ev_window_open_bookmark),
3955 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
3956 (goto_page_cb), (register_custom_actions):
3957 * shell/ev-window.h:
3959 Initial history implementation. Needs work.
3961 2005-01-09 Martin Kretzschmar <martink@gnome.org>
3963 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
3965 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3967 * cut-n-paste/recent-files/egg-recent-item.c:
3968 * cut-n-paste/recent-files/egg-recent-item.h:
3969 * cut-n-paste/recent-files/egg-recent-model.c:
3970 * cut-n-paste/recent-files/egg-recent-util.c:
3971 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3972 * cut-n-paste/recent-files/egg-recent-view.c:
3976 2005-01-08 Martin Kretzschmar <martink@gnome.org>
3978 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
3979 (fillGlyph, fillImageMask, drawImage):
3980 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
3981 pdf/splash/SplashTypes.h:
3982 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
3983 packed mode for Splash.
3985 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
3986 RGB8 packed mode, eliminates the pixbuf data creation loop.
3988 * shell/ev-print-job.c (ev_print_job_finalize)
3989 (ev_print_job_set_property, ev_print_job_get_property)
3990 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
3991 (ev_print_job_use_print_dialog_settings, idle_print_handler)
3992 (print_closure_finalize, ev_print_job_print): implement
3993 printing (for backends with EvPsExporter)
3995 * shell/ev_print_job.h: update prototypes.
3997 * shell/ev-window.c (ev_window_print): unref print job after
4000 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4001 unless the document implements the EvDocumentFind interface.
4003 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4005 * configure.ac: Added ja to ALL_LINGUAS.
4007 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4009 * pdf/xpdf/pdf-document.cc:
4011 add a FIXME. We should probably not allocate
4012 a bookmark object every time
4014 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4016 * shell/ev-application.c: (ev_application_open),
4017 (ev_application_open_bookmark):
4018 * shell/ev-application.h:
4020 Add a way to open bookmarks
4022 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4023 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4024 (ev_bookmark_set_property), (ev_bookmark_class_init),
4025 (ev_bookmark_new_title), (ev_bookmark_new_link),
4026 (ev_bookmark_new_external):
4028 Support for external uris, better constructors.
4030 * backend/ev-bookmark.h:
4031 * pdf/xpdf/pdf-document.cc:
4032 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4034 Handle external uris
4036 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4038 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4039 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4041 Hook up bookmarks navigation
4043 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4045 * backend/Makefile.am:
4046 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4047 (ev_bookmark_get_title), (ev_bookmark_set_title),
4048 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4049 (ev_bookmark_get_page), (ev_bookmark_set_page),
4050 (ev_bookmark_get_property), (ev_bookmark_set_property),
4051 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4053 * backend/ev-bookmark.h:
4054 * backend/ev-document-bookmarks.c:
4055 (ev_document_bookmarks_get_bookmark):
4056 * backend/ev-document-bookmarks.h:
4057 * pdf/xpdf/pdf-document.cc:
4058 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4060 Add a bookmark object to the backend and use it instead of get_values
4062 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4064 * data/evince-ui.xml:
4066 Cleanup and add select all.
4068 * shell/ev-view.c: (ev_view_select_all),
4069 (ev_view_button_press_event):
4071 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4074 Clear selection on click.
4076 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4078 * shell/ev-sidebar-thumbnails.c
4079 (ev_sidebar_thumbnails_set_document): forgot to unref the
4082 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4084 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4085 at the visible page, not just linearly. This makes it look fast.
4087 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4089 * backend/ev-document-misc.c
4090 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4092 * backend/ev-document-thumbnails.h: New interface to get the size
4095 2005-01-06 Jeremy Katz <katzj@redhat.com>
4097 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4100 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4102 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4103 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4106 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4108 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4110 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4111 fonts. Should fix font problems on systems that have the base
4112 fonts in bitmap format. Reported by James Henstridge
4113 <james@jamesh.id.au>.
4115 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4118 * pdf/xpdf/GfxState.cc:
4120 Fix for CAN-2004-1125
4122 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4124 * shell/ev-view.c: (ev_view_copy):
4126 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4128 Implement Edit->Copy
4130 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4132 * backend/ev-document.c: (ev_document_get_text):
4133 * backend/ev-document.h:
4134 * pdf/xpdf/pdf-document.cc:
4135 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4136 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4137 (ev_view_update_primary_selection), (ev_view_button_press_event),
4138 (ev_view_motion_notify_event), (ev_view_button_release_event):
4140 Beginnings of clipboard support. Incomplete but primary sort
4143 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4145 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4146 (expose_bin_window):
4148 Nicer rubberband drawing, from GtkIconView.
4150 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4152 * backend/ev-document.c: (ev_document_save):
4153 * backend/ev-document.h:
4154 * data/evince-ui.xml:
4155 * pdf/xpdf/pdf-document.cc:
4156 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4158 Implement "Save a copy..." menu item
4160 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4162 * shell/ev-view.c: (ev_view_zoom):
4164 Queue a resize when zoom changes
4166 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4168 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4171 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4174 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4176 * pdf/xpdf/pdf-document.cc
4177 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4179 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4181 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4182 It's slow, but I'll speed it up next!
4184 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4186 * shell/main.c (load_files):
4188 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4189 from the command line and because it seems more appropriate.
4191 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4193 * data/evince-ui.xml:
4194 * shell/ev-window.c: (update_action_sensitivity),
4195 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4197 s/next page/page down
4198 s/previous page/page up
4200 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4202 * data/evince-ui.xml:
4204 Change the layout to match clarkbw design.
4206 * shell/Makefile.am:
4207 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4208 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4209 (ev_navigation_action_finalize),
4210 (ev_navigation_action_set_property),
4211 (ev_navigation_action_get_property),
4212 (ev_navigation_action_class_init):
4213 * shell/ev-navigation-action.h:
4215 Implement clarkbw toolbar navigation controls (incomplete)
4217 * shell/ev-page-action.c: (update_label), (update_spin),
4218 (value_changed_cb), (create_tool_item), (connect_proxy),
4219 (ev_page_action_init), (ev_page_action_finalize),
4220 (ev_page_action_set_property), (ev_page_action_get_property),
4221 (ev_page_action_set_current_page),
4222 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4223 * shell/ev-page-action.h:
4225 Implement a page switcher in the toolbar
4227 * shell/ev-view.c: (ev_view_scroll_view):
4228 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4229 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4230 (register_custom_actions), (ev_window_init):
4232 Change page on PageUp/Down.
4234 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4236 * pdf/xpdf/pdf-document.cc
4237 (pdf_document_thumbnails_get_thumbnail): initial stab at
4238 implementing thumbnail support for pdfs. It only does documents
4239 with precached pdfs now.
4241 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4243 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4244 thumbnail code into a time-based idle as well. Also, turn off the
4245 shadow temporarily as it's really slow.
4247 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4249 * backend/ev-document.c: (ev_document_class_init):
4250 * pdf/xpdf/pdf-document.cc:
4251 * shell/ev-window.c: (ev_window_open):
4253 Fix document title bugs and fallback to
4254 filename when not available.
4256 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4258 * backend/ev-document.c: (ev_document_get_type),
4259 (ev_document_class_init), (ev_document_load),
4260 (ev_document_get_title):
4261 * backend/ev-document.h:
4262 * pdf/xpdf/pdf-document.cc:
4263 * ps/ps-document.c: (ps_document_set_property),
4264 (ps_document_get_property), (ps_document_class_init),
4268 * shell/ev-window.c: (update_window_title), (ev_window_open),
4271 Initial support for document title. Not working yet.
4273 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4275 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4277 Grab focus on the view when clicking it
4279 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4281 * shell/ev-marshal.list:
4282 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4283 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4285 Add key bindings to the view. Now if the focus would work
4288 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4291 * backend/Makefile.am:
4294 * dvi/dvilib/Makefile.am:
4295 * pdf/xpdf/Makefile.am:
4301 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4303 * shell/ev-view.c: (ev_view_realize):
4305 Fix mouse wheel scrolling
4307 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4313 * ps/ps-document.c: (catchPipe), (ps_document_init),
4314 (ps_document_class_init), (ps_document_cleanup),
4315 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4316 (set_up_page), (close_pipe), (is_interpreter_ready),
4317 (interpreter_failed), (output), (input), (start_interpreter),
4318 (stop_interpreter), (file_length), (file_readable),
4319 (check_filecompressed), (check_pdf), (compute_xdpi),
4320 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4321 (ps_document_get_type), (ps_document_emit_error_msg),
4322 (document_load), (ps_document_next_page),
4323 (ps_document_get_current_page), (ps_document_get_page_count),
4324 (ps_document_goto_page), (ps_document_set_page_size),
4325 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4326 (ps_document_load), (ps_document_get_n_pages),
4327 (ps_document_set_page), (ps_document_get_page),
4328 (ps_document_widget_event), (ps_document_set_target),
4329 (ps_document_set_scale), (ps_document_set_page_offset),
4330 (ps_document_get_page_size), (ps_document_render),
4331 (ps_document_document_iface_init):
4334 * shell/ev-window.c: (ev_window_open):
4336 Rename GtkGS to PSDocument
4338 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4340 * ps/gtkgs.c: (gtk_gs_class_init):
4343 Some more leftover...
4345 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4347 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4348 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4349 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
4352 Remove unused code and make a lot of stuff private
4354 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4356 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
4357 (gtk_gs_defaults_changed):
4363 Cleanup headers dependencies
4365 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4370 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
4372 * ps/gtkgs.c: (file_length), (file_readable),
4373 (check_filecompressed), (check_pdf), (gtk_gs_load),
4374 (gtk_gs_get_postscript):
4378 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4383 * ps/gtkgs.c: (gtk_gs_set_zoom):
4387 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4389 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
4391 Ensure the page is rerendered when changing zoom
4393 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4395 * backend/ev-document.c: (ev_document_base_init),
4396 (ev_document_changed):
4397 * backend/ev-document.h:
4399 Add a changed event that is emitted when the page content
4400 changes. This is necessary to deal with the fact that
4401 in ps backend rendering happen asycrounously.
4402 This makes the ps backend mostly work.
4404 * pdf/xpdf/pdf-document.cc:
4408 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
4409 (ps_document_set_target):
4413 * shell/ev-view.c: (document_changed_callback),
4414 (ev_view_set_document), (ev_view_set_page):
4416 Redraw on the changed signal
4418 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
4420 * configure.ac: Added pt_BR to ALL_LINGUAS.
4422 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
4424 * backend/ev-document-bookmarks.c:
4425 (ev_document_bookmarks_get_child): *
4426 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
4427 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
4428 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
4429 (ev_sidebar_bookmarks_destroy),
4430 (ev_sidebar_bookmarks_class_init),
4431 (ev_sidebar_bookmarks_construct), (stack_data_free),
4432 (do_one_iteration), (populate_bookmarks_idle),
4433 (ev_sidebar_bookmarks_clear_document),
4434 (ev_sidebar_bookmarks_set_document): *
4435 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
4436 (ev_sidebar_add_page),
4437 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
4438 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
4439 it displays both the topics and the page numbers.
4441 2004-12-23 Kristian Høgsberg <krh@redhat.com>
4443 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
4445 * shell/ev-window.c (toggle_entries): Set sidebar default value to
4448 2004-12-23 Adam Weinberger <adamw@gnome.org>
4450 * configure.ac: Added en_CA to ALL_LINGUAS.
4452 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4454 * ChangeLog: replace bottom of this ChangeLog (merged history of
4455 ggv and gpdf; where all paths were wrong and most of the files are
4456 not even in this tree) with ChangeLog (from arch) of the shell
4459 2004-12-23 Havoc Pennington <hp@redhat.com>
4461 * shell/ev-window.c: hook up potentially-questionable "find
4462 results status text" feature - something involving the sidebar or
4463 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
4464 might be better in the end.
4466 * shell/ev-view.c (ev_view_get_find_status_message): new function,
4467 with corresponding signal when it should be updated
4469 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
4471 2004-12-22 Havoc Pennington <hp@redhat.com>
4473 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
4474 find stuff on other pages, sort of (only returns one result on
4475 invisible pages, to show they have results; updates full results
4476 for a page when you view it). Currently repaints the current page
4477 every time a new result is found on any page, which isn't so nice.
4479 2004-12-22 Havoc Pennington <hp@redhat.com>
4481 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
4482 the document doesn't support find (better ideas?)
4483 (find_bar_search_changed_cb): handle missing document or document
4484 that doesn't support find
4486 * pdf/xpdf/pdf-document.cc: port to implement the new
4489 * backend/ev-document-find.c: create a new interface for searching
4491 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
4493 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4495 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
4498 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
4499 EvPrintJob constructor arguments.
4501 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
4502 for documents that can export PostScript (page by page).
4504 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
4506 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
4507 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
4508 (pdf_document_ps_exporter_iface_init:
4509 Implement EvPSExporter.
4511 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
4513 2004-12-22 Anders Carlsson <andersca@gnome.org>
4515 * backend/Makefile.am:
4516 * backend/ev-document-thumbnails.c:
4517 (ev_document_thumbnails_get_type),
4518 (ev_document_thumbnails_get_thumbnail):
4519 * backend/ev-document-thumbnails.h:
4520 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4521 (pixbuf_document_thumbnails_get_thumbnail),
4522 (pixbuf_document_document_thumbnails_iface_init):
4523 * shell/Makefile.am:
4524 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
4525 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
4526 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
4527 * shell/ev-sidebar-thumbnails.h:
4528 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4529 (ev_sidebar_set_document):
4530 * shell/ev-utils.c: (gaussian), (create_blur_filter),
4531 (create_shadow), (ev_pixbuf_add_shadow):
4533 Add thumbnail support.
4535 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4537 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
4538 (using_postscript_printer): Set up a print dialog for "PostScript
4541 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
4544 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
4546 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4548 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
4549 (ps_document_set_target), (ps_document_get_page_size),
4550 (ps_document_render):
4555 2004-12-22 Christian Rose <menthos@menthos.com>
4557 * configure.ac: Added "sv" to ALL_LINGUAS.
4559 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
4561 * backend/ev-document-bookmarks.[ch]: new interface to indicate
4562 document supports bookmarks.
4564 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4566 * ps/ggvutils.c: (ggv_file_readable):
4568 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
4569 (gtk_gs_get_postscript):
4573 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4575 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
4576 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
4577 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
4578 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
4579 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
4580 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
4581 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4582 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4583 (gtk_gs_set_antialiasing), (ps_document_load),
4584 (ps_document_render):
4587 Another check point for the ps backend. Now I can get it to show
4590 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
4592 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
4593 document setting code.
4595 2004-12-22 Anders Carlsson <andersca@gnome.org>
4597 * shell/eggfindbar.c: (entry_activate_callback):
4598 Animate the next button when activate is pressed.
4600 2004-12-22 Anders Carlsson <andersca@gnome.org>
4602 * shell/ev-window.c: (ev_window_cmd_edit_find),
4603 (update_fullscreen_popup), (ev_window_fullscreen),
4604 (ev_window_unfullscreen), (ev_window_state_event_cb),
4605 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
4606 Fix bugs in fullscreen code.
4608 2004-12-22 Anders Carlsson <andersca@gnome.org>
4612 * pixbuf/Makefile.am:
4613 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4614 (pixbuf_document_load), (pixbuf_document_get_n_pages),
4615 (pixbuf_document_set_page), (pixbuf_document_get_page),
4616 (pixbuf_document_set_target), (pixbuf_document_set_scale),
4617 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
4618 (pixbuf_document_render), (pixbuf_document_begin_find),
4619 (pixbuf_document_end_find), (pixbuf_document_finalize),
4620 (pixbuf_document_class_init),
4621 (pixbuf_document_document_iface_init), (pixbuf_document_init):
4622 * pixbuf/pixbuf-document.h:
4623 * shell/Makefile.am:
4624 * shell/ev-application.c: (ev_application_open):
4625 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
4629 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
4632 * dvi/dvilib/Makefile.am:
4634 * configure.ac: Auto*ify dvi and dvi/dvilib
4636 * dvi/Makefile: Remove from CVS
4638 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
4641 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
4643 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
4645 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4648 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
4649 (gtk_gs_value_adjustment_changed), (compute_size),
4650 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
4651 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
4652 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4653 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4654 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
4655 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
4656 (ps_document_load), (ps_document_get_n_pages),
4657 (ps_document_set_page), (ps_document_get_page),
4658 (ps_document_set_target), (ps_document_set_scale),
4659 (ps_document_set_page_offset), (ps_document_get_page_size),
4660 (ps_document_render), (ps_document_begin_find),
4661 (ps_document_end_find), (ps_document_document_iface_init):
4663 * shell/Makefile.am:
4664 * shell/ev-window.c: (ev_window_open):
4666 Some work to integrate gtkgs with EvDocument
4668 2004-12-22 Anders Carlsson <andersca@gnome.org>
4670 * shell/ev-window.c: (update_fullscreen_popup),
4671 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
4672 (exit_fullscreen_button_clicked_cb),
4673 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
4674 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4675 (ev_window_state_event_cb), (ev_window_init):
4676 Add fullscreen support from Epiphany.
4678 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4680 * data/ev-stock-zoom-fit-width.png: fit-width
4681 stock icon from gpdf.
4683 * shell/ev-stock-icons.[ch]: copied from gpdf.
4685 * shell/main.c: (main): init stock icons.
4687 * shell/ev-window.c: use the fit-width icon.
4689 * data/evince-ui.xml: add zooming toolbar items.
4691 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4694 (ev_view_best_fit), (ev_view_fit_width): because
4695 get_page_size() returns the scaled page size, we
4696 need to calculate the scale factor relative to
4697 the previous scale factor. Should really just
4698 add get_real_page_size().
4700 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4702 * shell/ev-view.[ch]:
4703 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
4704 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
4707 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
4708 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
4709 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
4712 * pdf/xpdf/pdf-document.cc:
4713 (pdf_document_begin_find),
4714 (pdf_document_end_find): make static.
4716 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4718 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
4720 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
4721 names to fontconfig patterns.
4722 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
4724 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
4727 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4743 Import ggv backend. Not hooked up yet.
4745 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4747 * shell/main.c: (load_files), (main): load files
4748 from the command line.
4750 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4752 * configure.ac: don't require bonobo.
4754 * cut-n-paste/recent-files/*: kill bonobo recent
4757 * shell/ev-window.c:
4758 (ev_window_is_empty): upd.
4759 (unable_to_load), (ev_window_open): load backend
4760 based on the mime type.
4762 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4764 * backend/.cvsignore: ignore generated marshalers source.
4766 * shell/main.c (main): this is not epiphany.
4768 2004-12-22 Havoc Pennington <hp@redhat.com>
4770 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
4771 (expose_bin_window): draw find highlights
4773 * shell/ev-window.c (find_bar_search_changed_cb): implement
4775 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
4776 (pdf_document_end_find): implement this interface
4778 * backend/ev-document.c (ev_document_found): add this to emit
4781 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
4783 * data/evince-ui.xml: Add a few more toolbar items.
4785 * shell/ev-window.c: Hook up page navigation toolbar
4788 * shell/ev-view.[ch]: add ev_view_set/get_page and
4789 a page-changed signal.
4791 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
4792 Add ev_document_get_page().
4794 * shell/ev-window.c: Sensitize/desensitize navigation
4797 2004-12-21 Havoc Pennington <hp@redhat.com>
4799 * backend/ev-backend-marshal.c,
4800 backend/ev-backend-marshalers.list, backend/Makefile.am: add
4801 marshaler-generator thingy. I'm sure there's a better way to do
4802 this in the modern world.
4804 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
4805 end_find methods and "found" signal.
4807 * configure.ac: find glib-genmarshal
4809 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
4811 * shell/ev-sidebar.c: Construct an actual sidebar.
4812 * shell/ev-sidebar-bookmarks.[ch]:
4813 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
4815 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
4817 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
4820 * shell/ev-view.c: Track the size from the document.
4822 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
4824 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
4825 constructor assumes ownership of the string passed in.
4827 * shell/ev-window.c (ev_window_open): Destroy the error
4828 dialog once we've displayed it.
4830 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
4832 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
4833 a bit, it works! (sort of)
4835 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
4836 Move to .cc since we need to use C++ in the implementation.
4838 * shell/dummy.cc: Add a CC file to force evince
4839 to be linked as a C++ program.
4841 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
4843 * shell/ev-view.[ch]: Start of content-area widget.
4845 * shell/ev-window.c: Create a EvView, update it
4846 as we change documents.
4848 * shell/Makefile.am shell/ev-marshal.list: Add
4849 generated marshalers.
4851 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
4853 * Makefile.am (SUBDIRS): move shell.
4855 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
4857 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
4858 .a to libtool convenience libraries.
4860 * shell/ev-window.c (ev_window_open): Hard code loading
4863 * backend/ev-document.h: Add a boolean return to load(),
4864 fix GError * to GError **.
4866 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
4867 object for a PDF backend EvDocument.
4869 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
4871 * dvi/*: New directory with the beginning of a .dvi backend.
4873 2004-12-21 Havoc Pennington <hp@redhat.com>
4875 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
4876 previous/next instead of back/forward
4878 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
4880 * backend/ev-document.[ch]: Fix a couple of problems so
4883 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
4885 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
4886 to backend/ directory, rename EvViewer to EvDocument.
4888 2004-12-21 Havoc Pennington <hp@redhat.com>
4890 * shell/ev-window.c: hook up the find bar widget; now we just need
4891 a document to find things in
4893 * shell/eggfindbar.c: a find bar widget
4895 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
4897 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
4899 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
4901 * pdf/**: Import of xpdf code from gpdf.
4903 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
4905 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
4906 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
4907 Fix FreeType includes.
4909 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
4910 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
4911 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
4912 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
4913 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
4914 Include xpdfconfig.h
4916 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
4918 * shell/ev-window.c (ev_window_dispose): dispose can be called
4921 2004-12-21 Havoc Pennington <hp@redhat.com>
4923 * shell/ev-window.c (ev_window_init): set title to Document Viewer
4926 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
4927 items; really they should be synced with the strings, etc. from
4928 current gpdf, but just getting the boring typing out of the way
4930 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4933 * shell/ev-application.c: (window_destroy_cb):
4934 * shell/ev-window.c:
4935 * shell/main.c: (main):
4937 Actually show the window...
4939 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4942 * shell/Makefile.am:
4943 * shell/ev-application.c: (ev_application_class_init):
4944 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
4948 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4950 Import to gnome cvs.
4952 * Remove copies of gpdf and ggv trees.
4953 * Rip out all the recursive configure code.
4954 * Remove bonobo machinery.
4955 * viewer/*: GInterfaces that backends should/can implement.
4957 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4959 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
4962 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
4964 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
4965 (ev_application_finalize, ev_application_class_init)
4966 (ev_application_init): use GType instance private data for priv.
4968 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
4969 (ev_window_finalize, ev_window_class_init)
4970 (ev_window_init): ditto.
4972 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4974 * shell/ev-application.c (ev_application_new_window): make public
4975 (ev_application_show_initial_window): kill.
4977 * shell/ev-application.h: update prototypes.
4979 * shell/main.cc (main): inline ev_application_show_initial_window.
4981 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4983 * shell/ev-application.c (ev_application_new_window): impl.
4984 (ev_application_show_initial_window): use it.
4985 (is_window_empty, ev_application_get_empty_window): returns an
4986 existing empty window or a new one.
4987 (ev_application_open): from ev_window_cmd_file_open.
4989 * shell/ev-application.h: update prototypes
4991 * shell/ev-window.c (ev_window_is_empty): impl.
4992 (ev_window_open): make public.
4993 (ev_window_cmd_file_open): use ev_application_open
4995 * shell/ev-window.h: update prototypes, remove unused.
4997 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4999 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5000 move destroy handler out of here...
5002 * shell/ev-application.c, shell/ev-application.h: ...into this new
5003 class. Also handles initial window creation.
5005 * shell/main.cc (main): use EvApplication to create initial
5008 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5010 * Makefile.am (SUBDIRS): add cut-n-paste
5012 * cut-n-paste/Makefile.am: add
5014 * configure.ac: generate Makefiles in cut-n-paste
5016 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5018 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5019 (ev_window_class_init): install ev_window_dispose.
5021 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5023 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5024 char (gchar looks stupid).
5026 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5028 * po/de.po: updated German translation.
5030 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5032 * configure.ac: add more pkg-config library checks for gnome-vfs,
5035 * gpdf/configure.in: temporarily disable libpaper
5036 checks. Otherwise I'd have to add the checks for the shell, too.
5038 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5040 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5041 and * file filters to the file choose.
5043 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5045 * po/de.po: Updated German translation.
5047 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5049 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5051 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5053 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5055 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5056 (ev_window_init): implement those menuitems.
5058 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5060 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5062 * shell/ev-window.c (ev_window_init): use the toolbar.
5064 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5066 * shell/ev-window.c (ev_window_init): use menu translations
5068 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5070 * configure.ac: add "de" to ALL_LINGUAS.
5072 * po/de.po: add German translation.
5074 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5076 * Makefile.am (SUBDIRS): add po
5078 * configure.ac: check intltool, glib-gettext etc, generate
5081 * po, po/POTFILES.in, po/POTFILES.skip: new.
5083 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5085 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5086 already use (#ifdef ENABLE_NLS)
5088 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5089 pointer indirection thinko.
5091 * shell/main.c: include gi18n.h for bindtextdomain etc.
5093 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5095 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5096 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5097 tooltips for menu items in the statusbar.
5099 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5101 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5102 pkgdatadir drop UIDIR
5104 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5106 * data/evince-ui.xml: Add File->Open menu item
5108 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5109 chooser), hook it up in the ui manager.
5111 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5113 * shell/ev-window.c: fix Help->About tooltip.
5115 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5117 * configure.ac: set CFLAGS for libevprivate.
5119 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5120 definitions, factory etc.
5122 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5124 * shell/Makefile.am: link against libevprivate.a.
5126 * shell/ev-window.c (entries): add stock icon to Help->About.
5128 * shell/main.c (main): init stock icon code.
5130 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5132 * lib/recent-files: egg recent files code
5134 * lib/Makefile.am: add.
5136 * Makefile.am: add lib subdir.
5138 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5139 set CFLAGS for recent-files.
5141 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5143 * configure.ac: disable -ansi and -pedantic gcc flags. They
5144 disable POSIX stuff in stdio.h, but egg-recent uses them.
5146 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5148 * configure.ac: add --disable-deprecated flag (defaults to on in
5151 * shell/Makefile.am (INCLUDES): use it.
5153 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5155 * shell/main.c: add missing #include.
5157 * shell/ev-window.c: fix for pedantic gcc.
5158 (ev_window_cmd_help_about): split license into paragraphs for
5159 translators and pedantic compilers.
5161 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5163 * configure.ac: add more warning flags if compiling with gcc from
5164 cvs (or explicitly requested with --enable-more-warnings).
5166 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5168 * data/evince-ui.xml: add File and File->Close menu.
5170 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5171 (ev_window_destroy): quit after destroy.
5172 (ev_window_class_init): override GtkObject::destroy.
5173 (entries): install close_window callback.
5175 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5177 * Makefile.am (SUBDIRS): add data subdir.
5179 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5180 gtk+ 2.5.0 for GtkAboutDialog.
5182 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5185 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5187 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5189 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5191 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5193 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5195 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5197 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5199 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5201 * shell/*: Added shell directory boilerplate, build it.
5203 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5205 * configure.ac, Makefile.am: Added top-level configure.ac and