1 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
3 * shell/ev-properties.c (set_property): escape the text correctly.
4 Handles non-UTF-8 properties and escaped properties. Also, sets
5 the text to "<i>None</i>" if the property isn't set.
7 * data/evince-properties.glade: Change the label to be ellipsized,
8 and give it a minimum size.
10 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
12 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
13 * shell/ev-sidebar-links.c: (create_loading_model):
14 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
15 * shell/ev-view.c: (ev_view_set_document):
16 * shell/ev-window.c: (ev_window_dispose):
18 Various small fixes, mostly memory leaks. Thanks to valgrind.
20 2005-06-19 Martin Kretzschmar <martink@gnome.org>
22 * ps/ps-document.c: remove the locale.h include again ;-). And
23 kill the (bogus) setlocale/savelocale business.
25 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
29 Include locale.h to fix build
33 Remove unnecessary includes
35 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
37 * dvi/dvi-document.c: (dvi_document_load):
38 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
41 Check for incorrect dvi files. Fix parsing dvi on AMD64
42 platform. Thanks to tester@tester.ca (Olivier Crete).
44 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
46 * shell/ev-page-action.c: (match_selected_cb),
47 (display_completion_text), (match_completion), (update_model):
48 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
50 * shell/ev-sidebar.c: (ev_sidebar_destroy),
51 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
52 (ev_sidebar_set_document):
53 * shell/ev-window.c: (ev_window_xfer_job_cb),
54 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
56 Fixed lot's of memory leaks, for example, memory leak on reload,
57 described in bug 307793.
59 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
62 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
63 (update_visible_range), (adjustment_changed_cb),
64 (ev_sidebar_thumbnails_fill_model),
65 (ev_sidebar_thumbnails_refresh),
66 (ev_sidebar_tree_selection_changed),
67 (ev_sidebar_icon_selection_changed),
68 (ev_sidebar_thumbnails_use_icon_view),
69 (ev_sidebar_thumbnails_set_document):
70 * shell/ev-sidebar-thumbnails.h:
71 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
72 (ev_window_cmd_edit_rotate_right), (ev_window_init):
74 Refresh thumbnails when changing orientation. Not fully
75 working yet becuase of a sidebar bug.
77 Set page orientation to poppler page everywhere. This sucks
78 really need to fix poppler.
80 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
82 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
83 (egg_recent_view_gtk_new_menu_item),
84 (egg_recent_view_gtk_set_property),
85 (egg_recent_view_gtk_get_property),
86 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
87 (egg_recent_view_gtk_set_tooltip_func),
88 (egg_recent_view_gtk_set_label_width),
89 (egg_recent_view_gtk_get_label_width):
90 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
92 Sync with libegg (ellipsize labels)
94 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
97 * shell/ev-window.c: (ev_window_cmd_go_forward),
98 (ev_window_cmd_go_backward):
100 Shift + PageUp moves 10 Pages. Fix for 306125
102 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
106 Add a flag to check if orientation has been overriden
108 2005-06-17 Martin Kretzschmar <martink@gnome.org>
110 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
113 * ps/ps.h: add creator field to document.
115 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
118 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
120 * data/evince-properties.glade:
121 * shell/ev-properties.c: (ev_properties_set_document):
125 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
127 * shell/ev-properties.c: (ev_properties_set_document):
129 Remove unnecessary translations
131 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
133 * cut-n-paste/toolbar-editor/Makefile.am:
137 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
140 * cut-n-paste/recent-files/egg-recent-model.c:
141 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
142 (egg_recent_model_unlock_file):
143 * cut-n-paste/recent-files/egg-recent-util.c:
144 (egg_recent_util_get_unique_id):
145 * cut-n-paste/recent-files/update-from-egg.sh:
146 * cut-n-paste/toolbar-editor/Makefile.am:
147 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
148 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
149 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
150 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
151 (egg_toolbars_model_get_type):
152 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
154 Better makefile for toolbar editor and update everything
157 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
159 * shell/ev-window.c: (update_document_mode):
161 Prefer presentation mode when the document
164 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
166 * data/evince-ui.xml:
169 Add control-equal for zooming
171 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
173 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
175 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
177 * backend/ev-document.c: (ev_document_get_orientation):
178 * backend/ev-document.h:
180 * ps/ps-document.c: (ps_document_get_orientation),
181 (ps_document_set_orientation), (ps_document_document_iface_init):
183 Add a get_orientation api. Improve set_orientation.
185 * data/evince-ui.xml:
186 * shell/ev-view.c: (ev_view_set_orientation),
187 (ev_view_rotate_right), (ev_view_rotate_left):
189 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
190 (ev_window_cmd_edit_rotate_right):
192 Better ui for changing document orientation
194 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
196 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
197 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
198 * shell/ev-sidebar-links.h:
199 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
200 (ev_sidebar_page_iface_init):
201 * shell/ev-sidebar-page.h:
202 * shell/ev-sidebar-thumbnails.c:
203 (ev_sidebar_thumbnails_get_property),
204 (ev_sidebar_thumbnails_class_init),
205 (ev_sidebar_thumbnails_set_document):
206 * shell/ev-sidebar-thumbnails.h:
207 * shell/ev-view.c: (ev_view_motion_notify_event):
208 * shell/ev-window.c: (update_chrome_visibility),
209 (ev_window_cmd_focus_page_selector),
210 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
211 (sidebar_page_main_widget_update_cb), (ev_window_init):
213 Autoraise toolbar on GoToPage binding and fix bindings in
214 EvSidebarThumbnails page.
216 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
218 * shell/ev-properties.c: (update_progress_label):
220 Hide the progress label when finished; bug #307697.
222 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
226 Enable is_open for links, you will need poppler cvs
228 * shell/ev-properties.c: (job_fonts_finished_cb):
230 Get a lock on the document when filling the tree view
232 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
234 * backend/ev-document-links.h:
236 * shell/ev-sidebar-links.c: (create_loading_model),
237 (expand_open_links), (job_finished_callback):
239 Expand links when specified by the document.
240 Depend on a poppler api (defined out for now)
242 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
244 * shell/ev-properties.c: (ev_properties_dispose),
245 (ev_properties_class_init), (dialog_destroy_cb),
246 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
247 (ev_properties_set_document), (ev_properties_new),
248 (ev_properties_show):
249 * shell/ev-properties.h:
251 Make it an object, cleanup the code, api to show it as transient
252 and to set the document.
254 * shell/ev-window.c: (ev_window_setup_document),
255 (ev_window_cmd_file_properties):
257 Adapt to EvProperties changes, do not show multiple
258 times, update it when document changes.
260 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
263 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
264 (ps_document_set_orientation), (ps_document_document_iface_init):
267 Implement orientation here too
269 * shell/ev-properties.c: (ev_properties_new):
270 * data/evince-properties.glade:
272 Hide the fonts page for backends that doesnt
275 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
277 * backend/ev-document.c: (ev_document_set_orientation):
278 * backend/ev-document.h:
281 Add orientation api. Currently poppler api is not optimal,
282 we need to set orientation every time we _get a page.
283 I will try to fix that at some point.
285 * data/evince-ui.xml:
286 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
287 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
289 Add orientation menu items
291 * shell/ev-page-cache.c: (ev_page_cache_clear):
292 * shell/ev-page-cache.h:
294 Add api to clear the cache
296 * shell/ev-view.c: (setup_caches), (clear_caches),
297 (ev_view_set_document), (ev_view_zoom_out),
298 (ev_view_set_orientation):
301 Implement orientation changing
303 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
305 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
306 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
307 * backend/ev-document-fonts.h:
309 Separate scan and fill so that we can incrementally fill from
310 the main thread. Add a progress api.
312 * data/evince-properties.glade:
314 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
316 * shell/ev-properties.c: (update_progress_label),
317 (job_fonts_finished_cb), (setup_fonts_view):
319 Incrementally feel the list and show the progress
320 percentage in a label like acrobat does.
322 You are going to need poppler cvs
324 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
326 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
327 * backend/ev-document-fonts.h:
330 Make fonts model fill incrementally.
332 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
333 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
334 (ev_job_queue_remove_job):
335 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
336 (ev_job_fonts_new), (ev_job_fonts_run):
339 New job for fonts scanning
341 * shell/ev-properties.c: (job_fonts_finished_cb),
342 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
343 * shell/ev-properties.h:
344 * shell/ev-window.c: (ev_window_cmd_file_properties):
346 Incrementally feel the treeview using the new job. Show Loading...
347 message until scanning is completed.
349 Hopefully I didnt break the build without the poppler patch.
351 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
353 * shell/ev-application.c: (ev_application_open):
354 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
355 (ev_document_type_get_type), (ev_document_type_lookup):
356 * shell/ev-document-types.h:
357 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
358 * shell/ev-job-xfer.h:
359 * shell/ev-window.c: (ev_window_clear_local_uri),
360 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
361 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
362 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
364 Transfer remote documents to tmp directory to display them later.
366 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
368 * backend/ev-document-info.h:
369 * shell/ev-properties.c: (ev_properties_new):
371 s/GTime*/GTime. Not sure why we was using a pointer
374 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
376 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
377 situations. That situation is that you're using GTK+-HEAD with
378 the patch at #306726 is applied, and you have a document with <
379 1500 pages in it. It's not quite as uniformly nice as the
380 TreeView, but should be better in the long run.
382 I'm pretty sure I guarded against breaking compilation with
383 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
386 * shell/ev-window.c (ev_window_init): We don't have our tree/list
387 widget yet, so I commented that code out
388 enable_view_actions_for_widget() for now. Need to figure this
391 * shell/ev-page-action.c (match_selected_cb): emit the right
392 signals. Our cool C-l completion now works.
394 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
396 * backend/Makefile.am:
397 * backend/ev-document-fonts.c:
398 * backend/ev-document-links.c:
399 * backend/ev-document.c: (ev_document_load):
400 * backend/ev-document.h:
401 * backend/ev-job-queue.c:
402 * backend/ev-job-queue.h:
405 * backend/ev-page-cache.c:
406 * backend/ev-page-cache.h:
408 EvPageCache and EvJobs are moved to shell.
410 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
412 * lib/ev-file-helpers.h:
414 New helper to work with temporary files
417 * shell/ev-application.c: (ev_application_open):
418 * shell/ev-application.h:
419 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
420 (remove_job_from_async_queue), (add_job_to_async_queue),
421 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
422 (handle_job), (search_for_jobs_unlocked),
423 (no_jobs_available_unlocked), (ev_render_thread),
424 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
425 (ev_job_queue_add_job), (move_job_async), (move_job),
426 (ev_job_queue_update_job), (ev_job_queue_remove_job):
427 * shell/ev-job-queue.h:
428 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
429 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
430 * shell/ev-job-xfer.h:
431 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
432 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
433 (ev_job_links_class_init), (ev_job_render_init),
434 (ev_job_render_dispose), (ev_job_render_class_init),
435 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
436 (ev_job_thumbnail_class_init), (ev_job_load_init),
437 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
438 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
439 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
440 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
442 * shell/ev-page-action.c: (ev_page_action_set_document):
443 * shell/ev-page-cache.c: (ev_page_cache_init),
444 (ev_page_cache_class_init), (ev_page_cache_finalize),
445 (ev_page_cache_new), (ev_page_cache_get_n_pages),
446 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
447 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
448 (ev_page_cache_get_title), (ev_page_cache_get_size),
449 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
450 (ev_page_cache_get_height_to_page),
451 (ev_page_cache_get_max_label_chars),
452 (ev_page_cache_get_page_label),
453 (ev_page_cache_has_nonnumeric_page_labels),
454 (ev_page_cache_get_info), (ev_page_cache_next_page),
455 (ev_page_cache_prev_page), (ev_page_cache_get):
456 * shell/ev-page-cache.h:
457 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
458 (ev_pixbuf_cache_clear_job_sizes),
459 (ev_pixbuf_cache_add_jobs_if_needed),
460 (ev_pixbuf_cache_set_page_range):
461 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
462 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
463 * shell/ev-sidebar-thumbnails.c:
464 (ev_sidebar_tree_selection_changed),
465 (ev_sidebar_thumbnails_set_document):
466 * shell/ev-statusbar.c: (ev_statusbar_destroy),
467 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
468 (ev_statusbar_get_context_id), (ev_statusbar_push),
469 (ev_statusbar_pop), (ev_statusbar_set_maximized),
470 (ev_statusbar_pulse), (ev_statusbar_show_progress),
471 (ev_statusbar_set_progress):
472 * shell/ev-statusbar.h:
473 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
474 (ev_view_find_previous):
475 * shell/ev-window.c: (ev_window_is_empty),
476 (ev_window_setup_document), (password_dialog_response),
477 (ev_window_clear_jobs), (ev_window_load_job_cb),
478 (ev_window_xfer_job_cb), (ev_window_open_uri),
479 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
480 (ev_window_print), (ev_window_print_range),
481 (ev_window_state_event), (ev_window_cmd_view_reload),
482 (menu_item_select_cb), (menu_item_deselect_cb),
483 (view_status_changed_cb), (ev_window_dispose),
484 (drag_data_received_cb), (ev_window_init):
486 * shell/main.c: (load_files):
488 New statusbar to show progress on idle. Two new jobs -
489 xfer job and load job to load document in background. And update
490 of page_cache clients to new location of code.
492 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
494 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
495 selection in open dialog. It also remembers the last visited directory
496 in the current session.
498 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
500 * shell/ev-properties.c: (ev_properties_new):
501 * shell/ev-properties.h:
502 * shell/ev-window.c: (ev_window_cmd_file_properties):
504 Get document info from page cache instead of document itself.
505 This should fix crash related to race conditions described in
508 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
510 * ps/ps-document.c: (ps_document_init),
511 (send_ps), (get_page_box), (output), (catchPipe), (input),
512 (stop_interpreter), (file_length), (file_readable),
513 (check_filecompressedb), (ps_document_enable_interpreter),
514 (document_load), (ps_async_renderer_render_pixbuf):
517 Big cleanup of the ps code
519 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
521 * backend/Makefile.am:
522 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
523 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
524 * backend/ev-async-renderer.h:
526 Add an async renderer interface (method + callback) which
527 is useful for backends like ps.
529 * backend/ev-job-queue.c: (remove_job_from_async_queue),
530 (add_job_to_async_queue), (job_finished_cb), (handle_job),
531 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
532 (ev_job_queue_add_job), (move_job_async), (move_job),
533 (ev_job_queue_update_job), (ev_job_queue_remove_job):
535 Add queues for async renderer, these are executed on the
538 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
542 If the backend support async renderer interface use it.
544 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
545 (setup_pixmap), (ps_document_get_type),
546 (ps_async_renderer_render_pixbuf),
547 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
549 Implement async renderer interface.
551 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
553 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
555 Cleanup links job on exit.
557 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
559 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
560 (drag_data_get_cb), (drag_data_received_cb):
561 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
562 (drag_data_get_cb), (parse_item_list),
563 (egg_toolbar_editor_load_actions):
564 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
565 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
566 (parse_item_list), (parse_toolbars):
567 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
568 (dvi_pixbuf_put_pixel):
572 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
574 * ps/ps-document.c: (start_interpreter):
576 Fix warning when loading ps
578 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
580 * ps/ps-document.c: (output):
582 Fix crash when priting gs error messages.
584 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
586 * backend/ev-page-cache.c: (_ev_page_cache_new):
587 * backend/ev-page-cache.h:
589 Use a const to return title so that we dont double
590 free it. Small cleanup and fix a leak.
592 * shell/ev-window.c: (update_window_title):
594 strdup value from get_title.
596 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
598 * shell/ev-sidebar-links.c: (job_finished_callback),
599 (ev_sidebar_links_set_document):
601 Cleanup the old job when changing document
603 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
605 * shell/ev-stock-icons.c:
606 * shell/ev-stock-icons.h:
609 Add stock icons for actions that can appear in toolbar. Fix for
612 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
614 * backend/ev-page-cache.c: (ev_page_cache_finalize),
615 (_ev_page_cache_new), (ev_page_cache_get_max_width),
616 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
617 * backend/ev-page-cache.h:
618 * shell/ev-view.c: (scroll_to_current_page),
619 (view_update_range_and_current_page), (get_page_y_offset),
620 (get_page_extents), (ev_view_size_request_continuous_dual_page),
621 (ev_view_size_request_continuous),
622 (ev_view_zoom_for_size_continuous_and_dual_page),
623 (ev_view_zoom_for_size_continuous):
625 More compact EvView layout in document with pages of different size.
627 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
629 * shell/ev-window.c (ev_window_cmd_file_properties): fix
632 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
634 * shell/ev-view.c: (view_set_adjustment_values):
635 * shell/ev-window.c: (ev_window_cmd_file_properties):
637 A bit different fix for rounding problem but it has no
638 problems on startup. Make properties window transient to parent.
640 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
644 More commenting of font stuff.
646 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
650 Comment out some more fonts stuff. Should really
651 work without the poppler patch now.
653 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
659 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
661 * data/evince-properties.glade:
663 * shell/ev-properties.c: (setup_fonts_view):
665 Set the column title. Show the dialog only
666 once everything is setup.
667 Getting font info can be very slow... will
668 prolly need to make this threaded too.
670 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
672 * backend/Makefile.am:
673 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
674 (ev_document_fonts_get_fonts_model):
675 * backend/ev-document-fonts.h:
676 * data/evince-properties.glade:
678 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
679 * shell/ev-properties.h:
680 * shell/ev-window.c: (ev_window_cmd_file_properties):
682 Implement fonts list. Defined out for now, since it depends
683 on a not yet committed poppler patch.
685 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
687 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
690 * shell/ev-window.c: Make sure we add the timeout when we get a
693 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
694 adjustment->value before calculating the zoom factor to average
695 out all of our rounding errors. The page no longer 'drifts' when
698 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
700 * data/evince-properties.glade:
701 * shell/ev-properties.c: (ev_properties_format_date),
704 Labels don't expand when the dialogue is resized.
705 strftime result needs to be converted to UTF-8. Thanks
706 to Christian Persch <chpe@gnome.org>.
708 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
710 * data/evince-properties.glade:
714 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
716 * backend/ev-document-info.h:
717 * backend/ev-document.c: (ev_document_info_free):
718 * data/evince-properties.glade:
720 * ps/ps-document.c: (ps_document_get_info):
721 * shell/ev-properties.c: (ev_properties_format_date),
722 (set_property), (ev_properties_new):
723 * shell/ev-properties.h:
724 * shell/ev-window.c: (ev_window_cmd_file_properties):
726 Rework properties code to take only EvPropertyInfo
727 in the constructor so that it can be useful for
730 Deal with backends that doesnt support some properties.
731 Make set property code generic.
733 2005-06-04 Christian Persch <chpe@gnome.org>
735 * data/evince-properties.glade:
737 fix spacings, make resizeable, and make data labels
738 selectable + ellipsised
740 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
742 * backend/ev-document-info.h:
744 * data/evince-ui.xml:
747 * shell/ev-window.c: (update_action_sensitivity),
748 (ev_window_cmd_file_properties):
750 Initial go at file properties. Patch by
751 Emil Soleyman-Zomalan <emil@soleyman.com>.
752 Needs love see #169583
754 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
756 * ps/ps-document.c: (output):
759 Try to render even if psscan fails.
761 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
763 * ps/ps.c: (psscan), (pscopydoc):
765 Port buffered reading code from gv
767 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
769 * ps/ps-document.c: (interpreter_message), (output):
771 Do not fail on interpreter messages
773 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
775 * backend/ev-document-misc.c:
776 (ev_document_misc_get_thumbnail_frame):
778 Pages can be 0 x 0, dont assert on this case
780 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
782 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
783 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
785 Correctly manage our reference on document. Finally the reload
788 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
790 * ps/ps-document.c: (ps_document_dispose):
792 Forgot to chain it to the parent. Thanks chpe.
794 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
796 * ps/ps-document.c: (ps_document_dispose),
797 (ps_document_class_init), (stop_interpreter), (document_load):
799 Cleanup dispose a bit. Dont leak the whole pixmap.
801 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
805 Release the poppler document on dispose
807 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
809 * shell/ev-view.c: (ev_view_set_document):
811 Release ref on the pixbuf cache when changing
814 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
816 * ps/ps-document.c: (ps_document_get_info):
820 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
822 * backend/ev-page-cache.c: (ev_page_cache_init),
823 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
824 * backend/ev-page-cache.h:
825 * shell/ev-page-action.c: (page_changed_cb):
827 Set page action entry width depending on labels width. Fix
830 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
832 * backend/ev-link.c: (ev_link_class_init):
834 Allow -1 as page value (error)
836 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
838 * shell/ev-sidebar-thumbnails.c:
839 (ev_sidebar_thumbnails_set_document):
840 * shell/ev-view.c: (scroll_to_current_page),
841 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
842 (page_changed_cb), (on_adjustment_value_changed),
843 (ev_view_set_document):
845 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
848 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
851 * djvu/djvu-document.c: (djvu_document_get_page_size):
853 Require djvulibre CVS. Now djvu loading is much faster. Fix for
856 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
858 * shell/ev-view.c (draw_one_page): modify the expose handling to
861 * shell/ev-window.c (update_action_sensitivity): Respect
862 permissions field. Kowtow to the man.
864 * pdf/ev-poppler.cc: Get the permissions field.
866 * tiff/*c: Make a tiny bit more robust.
868 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
870 * djvu/djvu-document.c:
872 Pop messages from djvu context message queue.
874 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
876 * configure.ac, Makefile.am, shell/Makefile.am:
877 * tiff/Makefile.am, shell/ev-document-types.c:
879 Cleanup tiff configure checks. Fix for bug 305218.
881 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
883 * configure.ac: Added "uk" to ALL_LINGUAS.
885 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
887 * cut-n-paste/zoom-control/ephy-zoom.c:
888 (ephy_zoom_get_changed_zoom_level):
889 * cut-n-paste/zoom-control/ephy-zoom.h:
890 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
891 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
892 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
893 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
894 (zoom_control_changed_cb), (ev_window_init):
896 Fix minor points related to moving best fit up. Introduce
897 "zoom" property and make zoom control change it's value on
898 notify::zoom signals. Fix for 305080.
900 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
902 * data/evince-ui.xml:
903 * shell/ev-window.c: (set_view_actions_sensitivity):
905 Use + and - as accels for zoom in and zoom out. Fix for 305001.
907 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
911 Depends on poppler 0.3.2
913 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
915 * cut-n-paste/recent-files/egg-recent-item.c:
916 (egg_recent_item_get_short_name):
917 * cut-n-paste/toolbar-editor/Makefile.am:
918 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
919 (new_pixbuf_from_widget):
920 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
921 * cut-n-paste/toolbar-editor/egg-marshal.c:
922 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
923 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
927 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
929 * tiff/tiff-document.c: Rough TIFF backend.
931 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
935 * cut-n-paste/toolbar-editor/Makefile.am:
939 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
941 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
942 (ev_view_find_next), (ev_view_find_previous):
944 Remove the locks around get_n_results
946 2005-05-21 Juerg Billeter <j@bitron.ch>
948 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
950 Pass correct number of pages to poppler.
952 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
956 * data/evince.desktop.in:
957 * data/evince.desktop.in.in:
960 Add conditionally dvi and djvu to desktop types. Fix for 304658.
962 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
964 * shell/ev-view.c: (view_update_adjustments),
965 (view_set_adjustment_values): cast adjustmen->value to (int)
966 before using it. Otherwise, we get off by a pixel in some
969 (draw_one_page): Draw the border on expose.
971 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
973 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
974 adjustment when the mode changes, #304923
976 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
978 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
979 flickering on resize but still use gdk_window_scroll on
982 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
984 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
987 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
989 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
990 second page on page_changed if possible, #304669
992 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
994 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
995 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
997 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1000 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1001 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1002 (ev_view_zoom_for_size_presentation),
1003 (ev_view_zoom_for_size_continuous_and_dual_page),
1004 (ev_view_zoom_for_size_continuous),
1005 (ev_view_zoom_for_size_dual_page),
1006 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1008 * shell/ev-window.c: (update_view_size),
1009 (ev_window_sizing_mode_changed_cb):
1011 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1012 the scrollbars. It's not 100% right, but it's much closer. Kills
1013 an infinite loop, #304769
1016 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1018 * data/evince-ui.xml:
1019 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1020 * shell/ev-window.c: (set_view_actions_sensitivity):
1022 Make PgUp/Down behave like Space
1024 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1026 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1027 * backend/ev-ps-exporter.h:
1028 * pdf/ev-poppler.cc:
1029 * ps/ps-document.c: (ps_document_ps_export_begin):
1030 * shell/ev-print-job.c: (idle_print_handler):
1032 Adapt to new poppler api
1034 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1036 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1037 (ephy_zoom_control_init):
1039 Translate zoom levels
1041 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1043 * cut-n-paste/zoom-control/ephy-zoom.c:
1044 (ephy_zoom_get_zoom_level_index):
1046 Fix current zoom -> zoom control match
1048 2005-05-18 James Bowes <bowes@cs.dal.ca>
1050 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1051 rather than the scrolled_window that it's in. Fixes bug #304655.
1053 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1055 * shell/ev-view.c: (view_update_adjustments),
1056 (view_set_adjustment_values), (view_update_range_and_current_page),
1057 (view_scroll_to_page), (set_scroll_adjustment),
1058 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1059 (ev_view_scroll), (ev_view_scroll_view),
1060 (ensure_rectangle_is_visible), (find_page_at_location),
1061 (get_link_at_location), (go_to_link), (status_message_from_link),
1062 (ev_view_size_request_continuous_dual_page),
1063 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1064 (ev_view_unrealize), (ev_view_expose_event),
1065 (ev_view_button_press_event), (ev_view_motion_notify_event),
1066 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1067 (draw_rubberband), (highlight_find_results), (draw_one_page),
1068 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1069 (ev_view_init), (find_changed_cb), (page_changed_cb),
1070 (on_adjustment_value_changed), (ev_view_new),
1071 (ev_view_set_document), (ev_view_set_zoom),
1072 (ev_view_set_continuous), (ev_view_set_dual_page),
1073 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1074 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1075 (ev_view_zoom_for_size_presentation),
1076 (ev_view_zoom_for_size_continuous_dual_page),
1077 (ev_view_zoom_for_size_continuous),
1078 (ev_view_zoom_for_size_dual_page),
1079 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1080 (ev_view_get_status), (ev_view_set_status),
1081 (update_find_status_message), (ev_view_get_find_status),
1082 (ev_view_set_find_status), (jump_to_find_result),
1083 (jump_to_find_page), (compute_selections), (clear_selection),
1084 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1085 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
1086 (ev_view_update_primary_selection),
1087 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
1089 * shell/ev-window.c: (ev_window_open_page_label),
1090 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
1092 * shell/ev-window.h:
1093 * shell/main.c: (load_files):
1095 Massive code clean up from Nickolay Shmyrev. Keep page offset
1096 when resizing. Remove the bin_window(). Also, patch from James
1097 Bowes to fix command line page, #300641
1099 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
1101 * data/evince-ui.xml:
1104 * shell/ev-window.c: (update_action_sensitivity):
1106 Get rid of View->Normal Size, it's just confusing
1108 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
1110 * backend/ev-document-info.h:
1111 * backend/ev-document.c: (ev_document_info_free): Free the
1114 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1115 (clear_range), (add_range), (update_visible_range),
1116 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
1117 (ev_sidebar_thumbnails_set_document):
1118 * shell/ev-window.c: (ev_window_setup_document): Only render the
1119 visible thumbnails. It takes an instant to render, but it uses
1122 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1124 * shell/ev-sidebar-links.c: (popup_menu_cb):
1128 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1131 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1132 (button_press_cb), (ev_sidebar_links_construct):
1134 Show the popup menu also on keybindings
1136 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1138 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1139 * shell/ev-window.h:
1141 Expose api to print a range (with dialog). Make private _print use
1144 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1145 (ev_sidebar_links_construct):
1147 Show a print context menu on linkx, it prints the selected
1150 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1152 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1155 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1161 * shell/ev-window.c: (build_comments_string),
1162 (ev_window_cmd_help_about):
1164 Show poppler version/backend and authors
1166 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1168 * cut-n-paste/zoom-control/ephy-zoom.c:
1169 (ephy_zoom_get_zoom_level_index):
1170 * cut-n-paste/zoom-control/ephy-zoom.h:
1172 Move the best fit items at the top of the list
1174 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1176 * shell/ev-marshal.list:
1177 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1178 (activate_cb), (match_selected_cb), (activate_link_cb),
1179 (connect_proxy), (ev_page_action_class_init):
1180 * shell/ev-page-action.h:
1182 Use signals to notify action activation. Hopefully
1183 I did not break completion since I cant test...
1185 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1186 (register_custom_actions):
1188 Connect to page selector actions and also grab focus on
1189 the view when activated.
1191 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1193 * pdf/ev-poppler.cc:
1194 * backend/ev-page-cache.c: make page size calculation consistent
1195 and set it to (int)( width * scale + 0.5). This makes the weird
1196 line going through the middle of the page go away.
1198 * shell/ev-view.c: move painting the background page after
1199 checking the expose area covers us.
1201 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1203 * data/evince-password.glade:
1205 Mark labels as not translatable. Fix for bug 302842.
1207 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1209 * configure.ac: Added "es" to ALL_LINGUAS.
1211 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1213 * data/evince-toolbar.xml:
1214 * shell/ev-window.c: (update_action_sensitivity),
1215 (ev_window_setup_document), (ev_window_set_page_mode),
1218 Remove some leftover code from jrb first continous
1219 attempt. Use the new actions, we still need good icons
1222 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1224 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1226 Update label when connecting proxy. Fix a warning with NULL
1229 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1231 * data/evince-ui.xml:
1232 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1233 * shell/ev-page-action.h:
1234 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1236 Add mnemonic for edit toolbar.
1237 ctrl+l focus the page entry.
1239 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1242 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1244 * shell/main.c: (main):
1246 Put the toolbar xml in evince own dot dir
1248 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1250 * shell/ev-window.c: (ev_window_init):
1252 Make the toolbar not removable
1254 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1256 * data/evince-ui.xml:
1257 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1258 * shell/ev-sidebar-links.h:
1259 * shell/ev-sidebar-thumbnails.c:
1260 (ev_sidebar_thumbnails_get_treeview):
1261 * shell/ev-sidebar-thumbnails.h:
1262 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1263 (ev_view_class_init):
1265 * shell/ev-window.c: (update_action_sensitivity),
1266 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1267 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1268 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1271 This is evil... Make space/backspace global accelerators but
1272 enable them only for some widgets (sidebars and view).
1273 I dont like it, but I dont know a better way... :/
1275 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1277 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1278 (ev_page_action_widget_finalize),
1279 (ev_page_action_widget_class_init), (update_page_cache):
1281 Keep a weak reference on proxy->page_cache so that we
1282 dont try to disconnect the signal if the object is already
1283 gone. Maybe there is a better way to cleanup reference handling
1284 in page action though...
1286 2005-05-10 Juerg Billeter <j@bitron.ch>
1288 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1289 * backend/ev-ps-exporter.h:
1290 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1291 * ps/ps-document.c: (ps_document_ps_export_begin):
1293 Change api to pass print range to ps_exporter_begin. The pdf backend
1294 requires this information.
1296 * shell/ev-print-job.c: (idle_print_handler):
1300 2005-05-10 Juerg Billeter <j@bitron.ch>
1302 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1303 (idle_print_handler)
1304 * shell/ev-window.c: (ev_window_print):
1306 Support printing page range, based on patch by Amaury Jacquot
1308 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1310 * data/evince-toolbar.xml:
1312 Add zoom control to available items
1314 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1316 * shell/ev-window.c: (update_action_sensitivity):
1318 Set slash action insensitive when appropriate
1320 2005-05-10 Christian Persch <chpe@gnome.org>
1322 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1324 Fix warning on the overflow menu
1326 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1328 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1330 Check for uri correctness/existence
1332 2005-05-09 Juerg Billeter <j@bitron.ch>
1334 * shell/ev-window.c: (using_postscript_printer):
1336 LPD printers use postscript, too
1338 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1340 * shell/ev-window.c: (register_custom_actions):
1342 The zoom one is actually sort of useful,
1345 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1347 * shell/ev-window.c: (register_custom_actions):
1349 Hide page/zoom controls from overflow, they
1352 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1354 * cut-n-paste/update-from-egg.sh:
1356 Share it between all cut-n-paste subdirs
1358 * cut-n-paste/recent-files/Makefile.am:
1360 Fix to use "global" update-from-egg.sh
1362 * cut-n-paste/recent-files/egg-recent-model.c:
1363 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1364 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1365 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1366 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1370 * cut-n-paste/toolbar-editor/Makefile.am:
1372 Fix to use "global" update-from-egg.sh
1374 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1378 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1381 * cut-n-paste/Makefile.am:
1382 * cut-n-paste/recent-files/Makefile.am:
1383 * cut-n-paste/toolbar-editor/.cvsignore:
1384 * cut-n-paste/toolbar-editor/Makefile.am:
1385 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1386 (egg_editable_toolbar_get_type), (get_toolbar_position),
1387 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1388 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1389 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1390 (set_item_drag_source), (create_item_from_action), (create_item),
1391 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1392 (popup_toolbar_context_menu_cb), (free_dragged_item),
1393 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1394 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1395 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1396 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1397 (item_added_cb), (item_removed_cb),
1398 (egg_editable_toolbar_construct),
1399 (egg_editable_toolbar_disconnect_model),
1400 (egg_editable_toolbar_deconstruct),
1401 (egg_editable_toolbar_set_model),
1402 (egg_editable_toolbar_set_ui_manager),
1403 (egg_editable_toolbar_set_property),
1404 (egg_editable_toolbar_get_property),
1405 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1406 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1407 (egg_editable_toolbar_new_with_model),
1408 (egg_editable_toolbar_get_edit_mode),
1409 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1410 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1411 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1412 (new_pixbuf_from_widget), (new_separator_pixbuf),
1413 (update_separator_image), (style_set_cb),
1414 (_egg_editable_toolbar_new_separator_image),
1415 (egg_editable_toolbar_get_model):
1416 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1417 * cut-n-paste/toolbar-editor/egg-marshal.c:
1418 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1419 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1420 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1421 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1422 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1423 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1424 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1425 (editor_drag_data_delete_cb), (drag_data_get_cb),
1426 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1427 (editor_create_item), (update_editor_sheet), (setup_editor),
1428 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1429 (parse_item_list), (model_has_action), (update_actions_list),
1430 (egg_toolbar_editor_load_actions):
1431 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
1432 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1433 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
1434 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
1435 (toolbars_item_new), (free_toolbar_node), (free_item_node),
1436 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
1437 (egg_toolbars_model_add_separator), (impl_add_item),
1438 (parse_item_list), (egg_toolbars_model_add_toolbar),
1439 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
1440 (impl_get_item_data), (impl_get_item_type),
1441 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
1442 (egg_toolbars_model_init), (free_toolbar),
1443 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
1444 (egg_toolbars_model_remove_toolbar),
1445 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
1446 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
1447 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
1448 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
1449 (egg_toolbars_model_get_item_data),
1450 (egg_toolbars_model_get_item_type):
1451 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1452 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1454 * data/evince-toolbar.xml:
1455 * data/evince-ui.xml:
1456 * data/hand-open.png:
1458 * shell/Makefile.am:
1459 * shell/ev-window.c: (update_chrome_visibility),
1460 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
1461 (ev_window_dispose), (ev_window_init):
1463 Implement epiphany like toolbar editor. Based on patch by
1464 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1466 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1468 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
1470 Use set_cursor instead of set_selection, so that
1471 the keyboard focus moves too.
1473 2005-05-09 Aleksey Kliger <akliger@gmail.com>
1475 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
1477 Fix infinite loop when loading Type1 fonts
1479 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1481 * data/evince-ui.xml:
1482 * shell/ev-window.c:
1486 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
1490 Make --disable really disable
1492 2005-05-07 Juerg Billeter <j@bitron.ch>
1494 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
1496 Compare page labels even without has_labels set, fixes setting page
1499 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1501 * shell/ev-view.c: (ev_view_create_invisible_cursor),
1502 (ev_view_set_cursor), (ev_view_button_press_event),
1503 (ev_view_motion_notify_event), (ev_view_button_release_event),
1506 Implement middle button scrolling. Based on a patch
1507 by Tommi Komulainen <tommi.komulainen@iki.fi>.
1509 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
1511 * shell/ev-document-types.c: (get_slow_mime_type),
1512 (get_document_type_from_mime), (ev_document_type_lookup):
1513 * shell/ev-document-types.h:
1515 Change api to lookup from uri. Do fast lookup first, if the
1516 type is unknown try with data sniffing.
1518 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
1519 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1523 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1525 * thumbnailer/Makefile.am:
1529 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1536 * data/evince-ui.xml:
1538 Hide presentation mode for now
1540 * shell/ev-view.c: (highlight_find_results):
1542 Show current find selection only on current page
1544 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1546 * shell/ev-view.c: (ev_view_select_all):
1548 Compute size of the actual page, not of
1551 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1553 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
1554 (view_rect_to_doc_rect), (compute_selections),
1555 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
1556 (ev_view_copy), (ev_view_primary_get_cb),
1557 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
1558 (ev_view_button_press_event), (ev_view_motion_notify_event),
1559 (ev_view_button_release_event), (page_changed_cb):
1563 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1565 * shell/ev-view.c: (compute_border), (get_page_extents),
1566 (doc_rect_to_view_rect), (highlight_find_results),
1567 (ev_view_bin_expose), (ev_view_select_all),
1568 (ev_view_motion_notify_event), (update_find_status_message),
1569 (jump_to_find_result), (jump_to_find_page):
1571 First go at fixing search, still buggy
1573 2005-05-04 Kristian Høgsberg <krh@redhat.com>
1575 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
1576 dropdown box and button at the top of the sidebar.
1578 2005-05-02 James Bowes <bowes@cs.dal.ca>
1580 * configure.ac: Output zoom-control Makefile.
1581 * cut-n-paste/Makefile.am: build zoom-control subdir.
1582 * cut-n-paste/zoom-control/ephy-zoom-action.c:
1583 * cut-n-paste/zoom-control/ephy-zoom-action.h:
1584 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1585 * cut-n-paste/zoom-control/ephy-zoom-control.h:
1586 * cut-n-paste/zoom-control/ephy-zoom.c:
1587 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
1588 from epiphany, and modified to add a separator into the menu.
1589 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
1590 * data/evince-ui.xml: Replace old zoom toolbar actions with new
1591 zoom-control action.
1592 * shell/Makefile.am: Include zoom-control flags.
1593 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
1594 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
1595 (ev_view_zoom_for_size_presentation),
1596 (ev_view_zoom_for_size_continuous_and_dual_page),
1597 (ev_view_zoom_for_size_continuous),
1598 (ev_view_zoom_for_size_dual_page),
1599 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
1600 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
1601 ev_view_get_zoom and ev_view_get_sizing_mode.
1603 * shell/ev-window.c: (update_action_sensitivity),
1604 (update_sizing_buttons), (zoom_control_changed_cb),
1605 (register_custom_actions): Initialize and use the zoom-control
1608 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
1610 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
1611 preview cache back to 1. Don't know when it got set to 0.
1613 * shell/ev-view.c: (compute_border), (ev_view_realize),
1614 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
1615 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
1616 (ev_view_get_fullscreen), (ev_view_set_presentation),
1617 (ev_view_get_presentation), (ev_view_set_sizing_mode),
1618 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
1620 * shell/ev-window.c:
1621 (update_chrome_visibility),
1622 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1623 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1624 (update_document_mode), (ev_window_update_fullscreen_action),
1625 (ev_window_fullscreen), (ev_window_unfullscreen),
1626 (ev_window_cmd_view_fullscreen),
1627 (ev_window_update_presentation_action),
1628 (ev_window_run_presentation), (ev_window_stop_presentation),
1629 (ev_window_cmd_view_presentation), (ev_window_state_event),
1630 (ev_window_focus_in_event), (ev_window_focus_out_event),
1631 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
1632 * data/evince-ui.xml: Initial presentation mode. We should
1633 probably hide this until it's done, as it's quite rough. Also,
1634 change full-screen to fullscreen and add two getters to EvView.
1636 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1638 * shell/ev-page-action.c: (update_page_cache),
1639 (ev_page_action_dispose):
1640 * shell/ev-window.c: (destroy_fullscreen_popup),
1641 (ev_window_create_fullscreen_popup):
1643 Use connect_object rather than explicitly
1644 disconnect on dispose.
1646 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1648 * shell/ev-page-action.c: (update_page_cache),
1649 (ev_page_action_dispose):
1651 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1653 * backend/ev-page-cache.c: (_ev_page_cache_new),
1654 (ev_page_cache_set_page_label),
1655 (ev_page_cache_has_nonnumeric_page_labels):
1656 * backend/ev-page-cache.h:
1657 * shell/ev-page-action.c: (update_pages_label):
1659 If all page labels are numeric, fallback to default
1660 way to display number of pages. See bug 173185.
1662 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1664 * shell/ev-page-action.c: (ev_page_action_dispose):
1665 * shell/ev-view.c: (view_update_range_and_current_page):
1666 * shell/ev-window.c: (ev_window_dispose):
1668 Set page on scroll in continuous mode. Fixes bug 301986.
1669 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
1671 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
1675 Require poppler 0.3.0
1677 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1679 * shell/Makefile.am, configure.ac: Fix build problems
1680 with t1lib. Bug 301996.
1682 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1684 * shell/ev-view.c: (ev_view_scroll_event):
1686 Scroll up increase zoom
1688 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1690 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
1691 (ev_view_set_sizing_mode),
1692 (ev_view_zoom_for_size_continuous_and_dual_page),
1693 (ev_view_zoom_for_size_continuous):
1694 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
1695 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
1696 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
1699 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
1700 Fix for 165473 and 165472.
1702 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1705 * thumbnailer/Makefile.am:
1706 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
1707 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
1708 * thumbnailer/evince-thumbnailer.schemas.in:
1710 Make thumbnailer schemas translatable. Fix for bug 301773
1712 * thumbnailer/evince-thumbnailer-djvu.schemas:
1713 * thumbnailer/evince-thumbnailer-dvi.schemas:
1714 * thumbnailer/evince-thumbnailer.schemas:
1718 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
1720 * shell/ev-view.c (ev_view_init): forgot to set this.
1722 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
1724 * shell/ev-view.c: (find_page_at_location),
1725 (get_link_at_location),
1726 (ev_view_set_show_border), (ev_view_set_spacing),
1727 (ev_view_zoom_for_size_continuous_and_dual_page),
1728 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
1729 Also, add a quick fix measuring of widths. Also, removed
1730 ev_view_set_spacing and ev_view_set_show_border.
1732 * shell/ev-window.c: (ev_window_unfullscreen),
1733 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
1735 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1737 * shell/ev-view.c: (view_update_range_and_current_page),
1740 Fix crash on exit and scrolling to page in continuous view.
1742 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
1745 * backend/ev-page-cache.c: (_ev_page_cache_new),
1746 (ev_page_cache_get_max_width_size),
1747 (ev_page_cache_get_max_height_size):
1748 * backend/ev-page-cache.h:
1749 * data/evince-ui.xml:
1750 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
1751 * shell/ev-view.c: (view_update_adjustments),
1752 (view_update_range_and_current_page), (get_bounding_box_size),
1753 (ev_view_size_request_continuous_and_dual_page),
1754 (ev_view_size_request_continuous),
1755 (ev_view_size_request_dual_page),
1756 (ev_view_size_request_single_page), (ev_view_size_request),
1757 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
1758 (ev_view_bin_expose), (ev_view_expose_event),
1759 (ev_view_set_property), (ev_view_get_property),
1760 (ev_view_class_init), (ev_view_init), (ev_view_new),
1761 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
1762 (ev_view_set_dual_page), (ev_view_set_full_screen),
1763 (ev_view_set_presentation), (ev_view_set_sizing_mode),
1764 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
1765 (ev_view_zoom_out), (zoom_for_size_fit_width),
1766 (zoom_for_size_best_fit),
1767 (ev_view_zoom_for_size_continuous_and_dual_page),
1768 (ev_view_zoom_for_size_continuous),
1769 (ev_view_zoom_for_size_dual_page),
1770 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1771 (ev_view_show_cursor), (ev_sizing_mode_get_type):
1773 * shell/ev-window.c: (update_action_sensitivity),
1774 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1775 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1776 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
1777 (ev_window_cmd_view_zoom_out), (update_view_size),
1778 (ev_window_set_sizing_mode), (ev_window_init):
1780 Add Continuous and Dual page modes.
1782 2005-04-23 James Bowes <bowes@cs.dal.ca>
1784 * dvi/dvi-document.c: (dvi_document_load),
1785 (dvi_document_thumbnails_get_thumbnail),
1786 (dvi_document_init_params): Fix up some mixups between
1787 width and height to correct thumbnail rendering.
1789 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1791 * dvi/mdvi-lib/private.h:
1792 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
1794 Suppess output for kpathsea during font generation. Thanks to
1797 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
1804 * Makefile.am: fix distcheck.
1806 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1808 * shell/ev-sidebar-links.c: (selection_changed_callback),
1809 (update_page_callback), (row_activated_callback),
1810 (job_finished_callback), (ev_sidebar_links_set_document):
1812 Fix for bug #169901. Double click on links expands tree.
1814 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
1816 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
1817 hard-coded style. Fix for bug 170111
1819 2005-04-22 Kristian Høgsberg <krh@redhat.com>
1821 * shell/ev-view.c (highlight_find_results): Remove unnecessary
1824 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1826 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
1828 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1830 * pdf/ev-poppler.cc:
1831 * shell/ev-view.c: (highlight_find_results):
1833 Fix find on single page documents
1835 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1837 * data/evince.schemas.in: fix for bug 301390
1839 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1841 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
1842 (ev_view_zoom_out), (ev_view_zoom_normal):
1844 * shell/ev-window.c: (update_action_sensitivity),
1845 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1846 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
1847 (ev_window_cmd_view_normal_size):
1849 Fix normal size zoom. Make zoom in/zoom out unsensitive when
1850 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
1853 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1857 Depend on 2.57, 2.59 doesnt seem to be necessary
1859 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1861 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
1864 Put back total number of pages as (1 of 1234)
1866 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
1868 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
1871 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
1872 function. This helps debugging.
1874 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1876 * djvu/djvu-document.c: (djvu_document_class_init),
1877 (djvu_document_get_info), (djvu_document_document_iface_init):
1878 * dvi/dvi-document.c: (dvi_document_class_init),
1879 (dvi_document_get_info), (dvi_document_document_iface_init):
1881 Dummy implementation of get_info method for dvi and djvu. Fix
1882 crashes with those backends
1884 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
1886 * data/evince.desktop.in:
1888 Add application/x-gzpostscript
1890 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
1892 * data/evince.schemas.in: Added real long descriptions,
1895 * README: Added actual text, closes bug 171869
1897 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1899 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1903 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1905 * backend/ev-document-info.h:
1907 s/GDate */GDate so we can just use g_free
1909 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1911 * shell/ev-window.c: (update_document_mode),
1912 (ev_window_setup_document):
1914 Show the window in fullscreen when specified by
1917 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1919 * backend/ev-document.c: (ev_document_class_init),
1920 (ev_document_get_info), (ev_document_render_pixbuf):
1921 * backend/ev-document.h:
1922 * backend/ev-page-cache.c: (_ev_page_cache_new):
1923 * pdf/ev-poppler.cc:
1924 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
1925 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
1926 * ps/ps-document.c: (ps_document_class_init), (document_load),
1927 (ps_document_get_info), (ps_document_document_iface_init):
1929 Remove get_title from the interface, we can just use document info
1931 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1933 * backend/Makefile.am:
1934 * backend/ev-document.c: (ev_document_render_get_info):
1935 * backend/ev-document.h:
1936 * pdf/ev-poppler.cc:
1938 Initial support for document info. Based on jrb patch.
1940 2005-04-19 Paolo Borelli <pborelli@katamail.com>
1942 * shell/ev-window.c: (ev_window_state_event),
1943 (ev_window_class_init), (ev_window_init):
1945 Doesn't show resize grip when maximized. See bug #301053
1947 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1951 ev-sidebar-thumbnails now has translatable labels
1953 * shell/Makefile.am:
1954 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
1955 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
1956 (ev_sidebar_links_page_iface_init):
1957 * shell/ev-sidebar-links.h:
1958 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1959 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
1960 (ev_sidebar_page_get_label):
1961 * shell/ev-sidebar-page.h:
1962 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
1963 (ev_sidebar_thumbnails_set_document),
1964 (ev_sidebar_thumbnails_support_document),
1965 (ev_sidebar_thumbnails_get_label),
1966 (ev_sidebar_thumbnails_page_iface_init):
1967 * shell/ev-sidebar-thumbnails.h:
1968 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1969 (ev_sidebar_set_document):
1970 * shell/ev-sidebar.h:
1971 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
1973 Small rework of sidebar code. Now sidebar pages should implement
1974 EvSidebarPage interface. That makes page management in EvSidebar
1975 easier. See bug #164811 for details
1977 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1979 * shell/ev-application.c: (ev_application_open):
1980 * shell/ev-document-types.c:
1982 Fix build error and small problem with application exit
1984 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1986 * thumbnailer/Makefile.am:
1987 * thumbnailer/evince-thumbnailer-djvu.schemas:
1988 * thumbnailer/evince-thumbnailer-dvi.schemas:
1990 Conditionally install schemas for djvu/dvi thumbnailer
1992 2005-04-18 David Malcolm <dmalcolm@redhat.com>
1994 * shell/ev-document-types.h:
1995 * shell/ev-document-types.c:
1996 New files, handling the mapping from mimetypes to backends
1998 * shell/ev-window.c:
1999 * thumbnailer/evince-thumbnailer.c:
2000 Use the ev-document-types code
2002 * shell/Makefile.am:
2003 Added new convenience library libevbackendfactory_la, containing
2004 the new mimetype->backend logic; moved the backends into it.
2006 * thumbnailer/Makefile.am:
2007 Make the thumbnailer link with the libevbackend.la convenience
2008 library, rather than having a duplicate of the backend logic here.
2010 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2012 * shell/ev-stock-icons.c: constify some vars.
2013 * shell/ev-window.c: ditto.
2015 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2017 * ps/ps-document.c (get_page_orientation):
2019 Respect document orientation
2021 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2025 * shell/Makefile.am:
2027 Move library dependencies to components.
2029 * shell/ev-window.c: (update_window_title),
2030 (start_loading_document):
2032 Fix display of uris with spaces. Bug 168358.
2034 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2036 * shell/ev-sidebar-links.c: (selection_changed_cb):
2037 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2038 (ev_view_button_release_event), (ev_view_set_document):
2040 * shell/ev-window.c: (find_bar_search_changed_cb):
2041 * shell/ev-window.h: Minor cleanups removing some dead code.
2043 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2045 * backend/ev-page-cache.c: (_ev_page_cache_new):
2047 Set current page to 0 if document has pages.
2049 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2051 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2053 Initialize GError to NULL, fix a crash when loading fails.
2055 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2057 * shell/ev-window.c: (update_view_size):
2059 Calculate shadow size only when there is actually
2062 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2064 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2067 Allow setting view spacing, default to 0
2069 * shell/ev-window.c: (ev_window_unfullscreen),
2070 (ev_window_cmd_view_fullscreen), (ev_window_init):
2072 Remove spacing in fullscreen mode
2074 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2076 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2077 (ev_view_size_request), (expose_bin_window),
2078 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2080 * shell/ev-window.c: (ev_window_unfullscreen),
2081 (ev_window_cmd_view_fullscreen):
2083 Do not draw the border in fulscreen
2085 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2087 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
2088 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
2089 (find_page_at_location), (page_changed_cb):
2091 Rework border calculation, so that I can more easily disable it.
2092 Code somewhat cleaner too.
2094 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2096 * backend/ev-page-cache.c: (ev_page_cache_init),
2097 (_ev_page_cache_new):
2099 Remove some assertions, documents can have 0 pages.
2100 Make initial current page -1.
2102 * shell/ev-page-action.c: (page_changed_cb):
2104 Show "" if current page is -1
2106 * shell/ev-window.c: (update_action_sensitivity),
2107 (ev_window_setup_document):
2109 When document has 0 pages do not set the view
2110 and make nearly everything insensitive.
2112 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2114 * shell/ev-page-view.c:
2115 * shell/ev-page-view.h:
2117 Remove unused files.
2119 * shell/ev-sidebar-thumbnails.c:
2120 (ev_sidebar_thumbnails_set_document):
2121 * shell/ev-sidebar.c: (ev_sidebar_set_document),
2122 (ev_sidebar_supports_document):
2123 * shell/ev-sidebar.h:
2124 * shell/ev-window.c: (ev_window_setup_document):
2126 Doesn't show thumbnails if document has 1 page. Make
2127 sidebar menu entries sensitive only if if they have
2128 sense. Fix bug 164811.
2130 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2132 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2133 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2134 (ev_view_zoom_out), (ev_view_set_size):
2136 Rework sizing to deal with documents with not uniform page
2139 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2141 * backend/ev-page-cache.c: (_ev_page_cache_new):
2143 Fix several page size caching bugs
2145 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2147 * shell/ev-window.c: (set_action_properties):
2149 Make all toolbar items translatable
2151 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2153 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2154 (save_page_list), (ps_document_save),
2155 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2156 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2157 (ps_document_ps_exporter_iface_init):
2160 Based on a patch by J�rg Billeter <j@bitron.ch>
2162 Implement print and save a copy for the ps backend.
2164 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2166 * backend/ev-document.h:
2167 * djvu/djvu-document.c: (djvu_document_can_get_text),
2168 (djvu_document_document_iface_init):
2169 * dvi/dvi-document.c: (dvi_document_can_get_text),
2170 (dvi_document_document_iface_init):
2171 * pdf/ev-poppler.cc:
2172 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2173 (pixbuf_document_document_iface_init):
2174 * ps/ps-document.c: (ps_document_can_get_text),
2175 (ps_document_document_iface_init):
2176 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2177 * shell/ev-window.c: (update_action_sensitivity):
2179 Fix the crash when trying to copy in backends that doesnt
2180 support it. We can implement a better solution once we
2181 do real text selection.
2183 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2185 * data/evince-ui.xml:
2186 * shell/ev-window.c: (ev_window_cmd_escape):
2188 Work around the Escape conflict (find bar and unfullscreen)
2190 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2192 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2194 Fix for #300233. Next page correctly handles document end.
2196 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2197 (ev_sidebar_thumbnails_class_init),
2198 (ev_sidebar_thumbnails_set_document),
2199 (ev_sidebar_thumbnails_clear_job),
2200 (ev_sidebar_thumbnails_clear_model):
2202 Cleanup thumbnail jobs on document changes.
2204 * shell/ev-view.c: (add_scroll_binding_keypad),
2205 (add_scroll_binding_shifted), (ev_view_class_init):
2207 Shift + Space scrolls up. Fix for #173184
2209 * shell/ev-window.c: (ev_window_open_page),
2210 (ev_window_cmd_view_reload):
2212 Fix reload (Bug #300094)
2214 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2217 * dvi/mdvi-lib/assoc.c:
2218 * dvi/mdvi-lib/assoc.h: Removed garbage files
2220 * dvi/mdvi-lib/bitmap.c:
2221 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2222 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2223 * dvi/mdvi-lib/color.h: Antialias of rules
2225 * dvi/mdvi-lib/common.h:
2226 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2227 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2228 * dvi/mdvi-lib/files.c:
2229 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2230 * dvi/mdvi-lib/mdvi.h:
2231 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2232 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2233 * dvi/mdvi-lib/util.c: Fix compile warnings
2235 * dvi/dvi-document.c:
2236 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2237 (dvi_document_thumbnails_get_thumbnail),
2238 (dvi_document_document_thumbnails_iface_init):
2239 * dvi/mdvi-lib/Makefile.am:
2240 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2241 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2243 Dvi backend now renders thumbnails
2245 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2247 * shell/main.c: (main):
2249 Save accelerators on exit. Fixes bug #172095.
2251 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2253 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2254 update priority" comment.
2256 * backend/ev-job-queue.c: Give a way to change priority.
2258 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2260 * shell/ev-page-action.c: Fix logic.
2262 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2264 * shell/ev-view.c: (ev_view_can_find_next):
2265 * shell/ev-window.c: (ev_window_setup_document):
2267 Check that the document supports find
2269 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2271 * data/evince-ui.xml:
2272 * shell/ev-view.c: (ev_view_can_find_next):
2274 * shell/ev-window.c: (update_action_sensitivity),
2275 (find_changed_cb), (ev_window_setup_document),
2276 (ev_window_cmd_edit_find_next):
2280 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2282 * pdf/ev-poppler.cc:
2283 * shell/ev-print-job.c: (idle_print_handler):
2285 Make printing work again
2287 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2289 * shell/ev-page-action.h:
2290 * shell/ev-page-action.c: (ev_page_action_widget_init),
2291 (ev_page_action_widget_class_init), (page_changed_cb),
2292 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2293 (get_filter_model_from_model), (match_selected_cb),
2294 (display_completion_text), (match_completion), (update_model),
2295 (connect_proxy), (ev_page_action_set_property),
2296 (ev_page_action_get_property), (ev_page_action_set_document),
2297 (ev_page_action_set_model), (ev_page_action_class_init): Big
2298 reworking to make completions work iff we have >= GTK-2.7.0
2300 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2301 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2302 (job_finished_cb): We now have a 'model' property that is set when
2303 the links are loaded. This can be caught with "notify::model"
2305 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2306 listen for the model to be set, and propagate it to the action.
2308 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2310 * cut-n-paste/recent-files/egg-recent-item.c:
2311 (egg_recent_item_set_uri), (make_valid_utf8),
2312 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2313 * cut-n-paste/recent-files/egg-recent-item.h:
2315 Update egg-recent from libegg. This should fix long
2316 startup problem. For details see
2317 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2319 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2321 * cut-n-paste/recent-files/Makefile.am:
2322 * data/evince-ui.xml, shell/Makefile.am:
2323 * shell/ev-application.c, shell/ev-application.h:
2324 * shell/ev-window.c: Recent files support.
2326 * configure.ac: Added "ru" to ALL_LINGUAS.
2328 * dvju: new backend to support DJVU files.
2329 * dvi: new backend to support DVI.
2331 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2332 * ev-application.c: Support for new backends.
2334 * help, ev-window.c, main.c shell/Makefile.am:
2335 Evince user documentation.
2337 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2340 * shell/ev-window.c:
2341 * thumbnailer/evince-thumbnailer.c:
2343 s/pdf-document/ev-poppler
2345 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2352 * ps/ps-document.c: (setup_pixmap):
2356 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2358 * backend/ev-page-cache.c (ev_page_cache_next_page):
2359 * shell/ev-window.c (ev_window_cmd_go_next_page)
2360 (ev_window_cmd_go_first_page): Fix of by one errors.
2362 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2364 * ps/ps-document.c: (get_page_box):
2366 Fix page size calculation
2368 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2370 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2371 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2372 (get_page_orientation), (setup_page), (document_load),
2373 (ps_document_get_page_size), (render_pixbuf_idle):
2376 More refactoring to adapt to EvDocument changes
2378 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2380 * ps/ps-document.c: (start_interpreter):
2382 Actually add alpha args
2384 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2386 * pdf/ev-poppler.cc:
2388 Make clipboard work again
2390 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2392 Make searching work again.
2394 * backend/ev-document.c:
2395 * backend/ev-document.h:
2396 * backend/ev-document-find.c:
2397 * backend/ev-document-find.h: Change EvDocumentIface so we no
2398 longer store the current page or zoom level in the document. The
2399 consequence is that all calls that operate on the current page now
2400 instead take the page number as an extra argument, and all
2401 coordinates are now doubles in document coordinate system.
2403 * pdf/ev-poppler.cc:
2404 * pixbuf/pixbuf-document.c:
2405 * ps/ps-document.c: Update backends accordingly.
2407 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2411 Add required gettext version
2413 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2415 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2416 make F1 bring up non-existent help.
2418 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2419 epiphany's find bar, #167477
2421 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2422 <emil@nishra.com> to add space-bar scrolling,
2424 * shell/ev-window.c (static GtkActionEntry entries): add default
2425 keybinding for Help (F1)
2428 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2429 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
2432 2005-04-01 David Malcolm <dmalcolm@redhat.com>
2435 * pixbuf/pixbuf-document.c:
2437 Got pixbuf backend working again
2439 2005-04-01 Steve Murphy <murf@e-tools.com>
2441 * configure.in: Added "rw" to ALL_LINGUAS.
2443 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
2445 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
2446 model types, noticed by Martin Kretzschmar.
2448 2005-04-01 Kristian Høgsberg <krh@redhat.com>
2450 * pdf/ev-poppler.cc: Implement search based on
2451 poppler_page_find_text(). Currently a bit crude since we remember
2452 all matches from all pages. Also, we grab the big document lock
2453 when we search since searching changes the underlying stream and
2454 thus conflicts with the rendering thread.
2456 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2457 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
2458 (ev_view_find_previous): Fix some page indexes to be 0 based,
2459 offset rubber band by view offset,
2461 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
2463 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
2465 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
2467 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
2468 completely because I didn't understand GtkActions. I should
2469 read Marco's code more carefully in the future.
2471 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
2474 2005-03-31 Kristian Høgsberg <krh@redhat.com>
2476 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
2477 PopplerRectangle change from poppler CVS.
2479 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
2481 * backend/ev-document.c: (ev_document_get_page_label):
2482 * backend/ev-document.h:
2483 * backend/ev-page-cache.c: (_ev_page_cache_new),
2484 (ev_page_cache_get_page_label):
2485 * backend/ev-page-cache.h:
2486 * pdf/ev-poppler.cc:
2487 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
2488 (links_page_num_func):
2489 * shell/ev-sidebar-thumbnails.c:
2490 (ev_sidebar_thumbnails_set_document):
2491 * shell/ev-view.c: (status_message_from_link),
2492 (ev_view_motion_notify_event):
2493 * shell/ev-window.c: (document_supports_sidebar): Add in page
2494 label support. It's not perfect yet, but it's the first 'feature'
2496 Also, fix a bogus comment noticed by crispin.
2498 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
2500 * Makefile.am: Remove pixbuf backend for now
2502 * configure.ac: Require poppler-glib instead of just poppler.
2504 * backend/ev-document-thumbnails.h: Add a comment
2506 * backend/ev-document.h:
2507 * backend/ev-document.c: (ev_document_class_init),
2508 (ev_document_load), (ev_document_get_link),
2509 (ev_document_get_links): Remove 3 methods and add get_links.
2512 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2513 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
2515 * backend/ev-link.c: (ev_link_set_title),
2516 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
2517 (ev_link_mapping_find):
2518 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
2520 * backend/ev-page-cache.c: (ev_page_cache_init),
2521 (_ev_page_cache_new), (ev_page_cache_set_current_page),
2522 (ev_page_cache_get_size), (ev_page_cache_next_page),
2523 (ev_page_cache_prev_page): Fix to be 0 based.
2527 * pdf/ev-poppler.cc: New backend.
2529 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
2530 (ps_document_get_page), (ps_document_document_iface_init):
2532 * shell/ev-pixbuf-cache.h:
2533 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2534 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
2535 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
2536 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
2537 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
2538 Fix up code to grab a page cache per each doc. Also, fix to be 0
2541 * shell/ev-sidebar-thumbnails.c:
2542 (ev_sidebar_tree_selection_changed), (page_changed_cb),
2543 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
2545 * shell/ev-view.c: (status_message_from_link),
2546 (find_page_at_location), (get_link_at_location),
2547 (ev_view_motion_notify_event), (ev_view_button_release_event),
2548 (ev_view_init): Use the new link code. Fix to be 0 based.
2550 * shell/ev-window.c: (update_action_sensitivity),
2551 (document_supports_sidebar): 0 based.
2553 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
2555 * pdf/pdf-document.cc: Patch from Fernando Herrera
2556 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
2559 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
2561 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
2562 1 to the page, as this seems to be 1 based. I thought we has this
2565 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
2568 * backend/Makefile.am:
2569 * backend/ev-document-links.c:
2570 (ev_document_links_has_document_links),
2571 (ev_document_links_get_links_model):
2572 * backend/ev-document-links.h:
2573 * backend/ev-document.c: (ev_document_get_page_cache),
2574 (ev_document_get_doc_mutex), (ev_document_load),
2575 (ev_document_save), (ev_document_get_title),
2576 (ev_document_get_n_pages), (ev_document_set_page),
2577 (ev_document_get_page), (ev_document_set_target),
2578 (ev_document_set_scale), (ev_document_set_page_offset),
2579 (ev_document_get_page_size), (ev_document_get_text),
2580 (ev_document_get_link), (ev_document_render),
2581 (ev_document_render_pixbuf), (ev_document_scale_changed):
2582 * backend/ev-document.h:
2583 * backend/ev-job-queue.c: (remove_object_from_queue),
2584 (notify_finished), (handle_job), (search_for_jobs_unlocked),
2585 (no_jobs_available_unlocked), (ev_render_thread),
2586 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
2587 (ev_job_queue_remove_job):
2588 * backend/ev-job-queue.h:
2589 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2590 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2591 (ev_job_links_class_init), (ev_job_render_init),
2592 (ev_job_render_dispose), (ev_job_render_class_init),
2593 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2594 (ev_job_thumbnail_class_init), (ev_job_finished),
2595 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2596 (ev_job_render_run), (ev_job_thumbnail_new),
2597 (ev_job_thumbnail_run):
2598 * backend/ev-jobs.h:
2599 * backend/ev-link.c:
2600 * backend/ev-link.h:
2601 * backend/ev-page-cache.c: (ev_page_cache_init),
2602 (ev_page_cache_class_init), (ev_page_cache_finalize),
2603 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
2604 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2605 (ev_page_cache_set_link), (ev_page_cache_get_title),
2606 (ev_page_cache_get_size), (ev_page_cache_next_page),
2607 (ev_page_cache_prev_page):
2608 * backend/ev-page-cache.h:
2609 * pdf/pdf-document.cc:
2612 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2613 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
2614 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
2615 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
2616 (is_interpreter_ready), (output), (catchPipe), (input),
2617 (start_interpreter), (check_filecompressed), (compute_dimensions),
2618 (ps_document_enable_interpreter), (document_load),
2619 (ps_document_next_page), (render_page), (ps_document_set_page),
2620 (ps_document_set_scale), (render_pixbuf_idle),
2621 (ps_document_render_pixbuf), (ps_document_document_iface_init):
2623 * shell/Makefile.am:
2624 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2625 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
2626 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
2627 (ev_pixbuf_cache_new), (job_finished_cb),
2628 (check_job_size_and_unref), (move_one_job),
2629 (ev_pixbuf_cache_update_range), (find_job_cache),
2630 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
2631 (ev_pixbuf_cache_add_jobs_if_needed),
2632 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
2633 * shell/ev-pixbuf-cache.h:
2634 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2635 (idle_print_handler):
2636 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2637 (selection_changed_cb), (create_loading_model),
2638 (ev_sidebar_links_construct), (links_page_num_func),
2639 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
2640 (update_page_callback), (job_finished_cb),
2641 (ev_sidebar_links_set_document):
2642 * shell/ev-sidebar-thumbnails.c:
2643 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
2644 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
2645 (page_changed_cb), (thumbnail_job_completed_callback),
2646 (ev_sidebar_thumbnails_set_document):
2647 * shell/ev-sidebar-thumbnails.h:
2648 * shell/ev-sidebar.c: (ev_sidebar_set_document):
2649 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
2650 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
2651 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
2652 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
2653 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
2654 (ev_view_button_release_event), (ev_view_scroll_view),
2655 (ev_view_class_init), (ev_view_init), (update_find_status_message),
2656 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
2657 (ev_view_new), (job_finished_cb), (page_changed_cb),
2658 (ev_view_set_document), (go_to_link), (ev_view_zoom),
2659 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
2660 (ev_view_find_previous):
2662 * shell/ev-window.c: (update_action_sensitivity),
2663 (ev_window_open_page), (update_window_title), (update_total_pages),
2664 (page_changed_cb), (ev_window_setup_document),
2665 (password_dialog_response), (ev_window_cmd_save_as),
2666 (ev_window_print), (ev_window_cmd_go_previous_page),
2667 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
2668 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
2669 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
2670 * shell/main.c: (main):
2672 Merge evince-threads branch
2674 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
2676 * configure.ac: Added "lt" to ALL_LINGUAS.
2678 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
2685 2005-03-13 Fernando Herrera <fherrera@onirica.com>
2687 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2689 Fix here also the thumbnails 1-basedness :)
2691 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2698 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2700 * pdf/pdf-document.cc:
2701 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
2702 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
2704 Fix the mess we did with thumbnails and 1-basedness
2706 2005-03-12 Changwoo Ryu <cwryu@debian.org>
2708 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
2710 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
2717 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
2720 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
2721 (gtk_gs_defaults_get_alpha_parameters),
2722 (gtk_gs_defaults_get_ungzip_cmd),
2723 (gtk_gs_defaults_get_unbzip2_cmd):
2725 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2726 (ps_document_get_orientation), (document_load),
2727 (ps_document_goto_page), (ps_document_set_page_size):
2730 Some more sanitization of the ps backend. Remove a lot
2731 of unused code and do not base our defaults on ggv
2734 2005-03-08 Fernando Herrera <fherrera@onirica.com>
2736 * thumbnailer/evince-thumbnailer.schemas:
2737 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2738 (main): add -s option for thumbnail size.
2740 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
2744 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
2747 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2749 * pdf/pdf-document.cc:
2751 Remove 4 pixels of useless border from the
2754 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2756 * backend/ev-document-thumbnails.c:
2757 (ev_document_thumbnails_get_thumbnail):
2758 * backend/ev-document-thumbnails.h:
2760 Rework API a bit. Add a border flag and
2761 change sizing logic (now the size we specify
2762 applies to the bigger dimension).
2764 * pdf/pdf-document.cc:
2765 * pixbuf/pixbuf-document.c:
2766 (pixbuf_document_thumbnails_get_thumbnail):
2767 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
2768 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2770 Adapt to the new API and do not draw a border for nautilus
2773 2005-03-03 Fernando Herrera <fherrera@onirica.com>
2775 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2776 take thumbnails from page "0" instead of "1". Added a copyright header.
2778 2005-03-03 Jens Granseuer <jensgr@gmx.net>
2780 * ps/ps-document.c: (set_up_page), (start_interpreter):
2782 Make it C89 compliant
2784 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
2789 * pdf/pdf-document.cc:
2790 * thumbnailer/Makefile.am:
2791 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2793 * thumbnailer/evince-thumbnailer.schemas:
2794 * thumbnailer/pdf-icon.png:
2796 Add a nautilus thumbnailer.
2797 Based on patch by Fernando Herrera <fherrera@onirica.com>.
2799 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
2807 2005-03-01 Kristian Høgsberg <krh@redhat.com>
2809 Use poppler instead of including xpdf source code. Poppler is a
2810 fork of xpdf to build it as a shared library. See
2811 http://freedesktop.org/wiki/Software/poppler.
2813 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
2816 * pdf/Makefile.am: Build libpdfdocument.a here.
2818 * pdf/GDKSplashOutputDev.cc:
2819 * pdf/GDKSplashOutputDev.h:
2820 * pdf/GnomeVFSStream.cc:
2821 * pdf/GnomeVFSStream.h:
2824 * test-gdk-output-dev.cc
2826 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
2829 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2831 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
2833 Clear idle stack before unsetting the document
2835 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2837 * ps/ps-document.c: (ps_document_widget_event),
2838 (ps_document_set_target), (ps_document_finalize),
2839 (ps_document_get_page):
2841 Disconnect the widget event signal on finalize.
2844 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2846 * ps/ps-document.c: (set_up_page):
2848 If there is no bpixmap create one, even if size
2851 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2853 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
2854 (set_up_page), (document_load), (ps_document_set_zoom):
2856 Default page is 0. Calculate size even when we have no
2859 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
2861 * shell/ev-sidebar.c: expand the selection widget to be always as
2864 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2866 * shell/ev-sidebar-thumbnails.c:
2867 (ev_sidebar_thumbnails_set_document):
2869 Clear the list store when setting document
2871 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2873 * shell/ev-page-action.c: (update_entry), (sync_entry),
2874 (activate_cb), (entry_size_request_cb), (create_tool_item),
2877 Use an entry for the page control instead of spinbuttons
2879 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2881 * data/evince.schemas.in:
2883 Correct confusing string
2885 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
2887 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
2888 for real. Gosh, how long has this been broken.
2890 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
2891 check for a NULL link. We crash otherwise.
2893 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
2900 2005-02-25 Sebastien Bacher <seb128@debian.org>
2902 * configure.ac: add the french translation.
2904 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2906 * shell/ev-window.c:
2908 Remove unused header -> fix distcheck
2910 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2912 * shell/ev-window.c: (update_window_title),
2913 (ev_window_popup_password_dialog):
2915 Unescape filename for display
2917 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2919 * pdf/xpdf/pdf-document.cc:
2921 In get_page_size deal with rotation. Also
2922 cleanup the function a bit.
2924 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2926 * pdf/xpdf/pdf-document.cc:
2928 Fix crash when opening in new window
2930 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2934 Check ghostscript >= 7
2936 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
2938 * shell/ev-window.c:
2940 Make page width the default sizing mode
2942 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
2943 Marco Pesenti Gritti <marco@gnome.org>
2945 * shell/ev-window.c: Remember the sidebar size
2947 * data/evince.schemas.in: Add a new gconf key to store the size of
2950 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
2952 * data/evince-ui.xml:
2953 * shell/ev-window.c: (update_action_sensitivity),
2954 (ev_window_cmd_view_reload):
2956 Add a "Reload" action and menu entry
2958 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
2960 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
2961 iff the type doesn't support thumbnailing and indexing.
2963 2005-02-24 Martin Kretzschmar <martink@gnome.org>
2965 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
2967 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2969 * pdf/splash/Splash.cc:
2971 Port fix for a crasher from kde bug
2972 http://bugs.kde.org/show_bug.cgi?id=97131
2974 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2976 * pdf/xpdf/pdf-document.cc:
2978 Return a link even if it's of an unrecognized
2979 type. Otherwise we go in an infinte cycle.
2981 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2983 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
2984 (size_allocate_cb), (ev_window_set_sizing_mode):
2986 Update size when switching mode
2988 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2990 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2991 (ev_window_cmd_view_page_width), (update_sizing_buttons),
2992 (ev_window_cmd_view_normal_size):
2994 Fix size toggle buttons behavior
2996 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2998 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
2999 (doc_rect_to_view_rect), (ev_view_size_allocate),
3000 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3001 (scale_changed_callback):
3003 Do not cache offsets in size_allocate.
3005 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3007 * shell/ev-view.c: (ev_view_size_allocate):
3009 Calculate offsets before calling the parent
3010 class (which does a redraw)
3012 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3014 * pdf/xpdf/pdf-document.cc:
3016 Fix a crasher on exit. Unused code, put a TODO
3018 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3020 * backend/ev-document.c: (ev_document_class_init),
3021 (ev_document_page_changed), (ev_document_scale_changed):
3022 * backend/ev-document.h:
3024 Separate page/scale notifications
3026 * pdf/xpdf/pdf-document.cc:
3028 Emit the new signals.
3029 Do not display the pdf page in _render, do it
3030 when scale/page are requested.
3032 * ps/ps-document.c: (ps_document_set_zoom),
3033 (ps_document_widget_event):
3036 Emit the new signals.
3038 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3039 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3040 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3041 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3043 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3044 (ev_window_cmd_view_page_width), (size_allocate_cb),
3045 (ev_window_set_sizing_mode):
3047 Rework sizing to be pixel based.
3048 There are bugs but should be already way better.
3050 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3052 * shell/ev-window.c: (ev_window_init):
3054 Do not allow to shrink sidebar smaller then
3057 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3059 * shell/ev-sidebar.[ch]
3060 * shell/ev-window.c:
3062 Improved sidebar widget. Fixes #166683
3064 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3066 * shell/ev-view.c (update_find_status_message): Give translators
3067 more flexibility with ngettext plural handling.
3069 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3071 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3072 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3073 page when we get the page size.
3075 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3077 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3079 ps pages are 0 based, convert
3081 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3083 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3085 Initialize correct parent class. Set GError on document load
3087 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3089 * pdf/xpdf/pdf-document.cc:
3091 Fixup selection offset calculation
3093 * shell/ev-view.c: (view_rect_to_doc_rect),
3094 (doc_rect_to_view_rect), (ev_view_size_allocate),
3095 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
3096 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
3098 Store selection as document relative, so that zooming
3099 and offset changing doesnt break it.
3101 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3103 * shell/ev-view.c: (ev_view_best_fit):
3105 Do not try to best fit if the view is not realized
3107 2005-02-20 Kostas Papadimas <pkst@gnome.org>
3109 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
3111 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
3113 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
3115 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
3117 * shell/ev-window.c: Change the fullscreen toolbar to always be in
3118 the popup window. That prevents it resizing when in full screen
3121 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
3122 multiple rerenders. This pretty much sucks.
3124 * data/evince-ui.xml: Change the fullscreen toolbar to include the
3125 rest of the toolbar.
3127 2005-02-18 Tommi Vainikainen <thv@iki.fi>
3129 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3131 2005-02-17 Alexander Shopov <ash@contact.bg>
3133 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3135 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3137 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3139 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3141 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3142 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3143 (set_document_page), (document_changed_callback),
3144 (ev_view_set_document), (ev_view_find_previous),
3145 (ev_view_hide_cursor), (ev_view_show_cursor):
3147 * shell/ev-window.c: (update_chrome_visibility),
3148 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3149 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3150 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3151 (ev_window_unfullscreen):
3152 * shell/main.c: (main):
3154 Automatically hide the fullscreen button.
3155 Patch by Kristian Høgsberg <krh@redhat.com>
3157 2005-02-16 Vincent Noel <vnoel@cox.net>
3159 * shell/main.c (main): Specify an icon for the window. Patch by
3160 Jaap A. Haitsma. Fixes #166177.
3162 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3164 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3166 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3168 * backend/ev-document-misc.h:
3169 * backend/ev-document-misc.c:
3170 (ev_document_misc_get_page_border_size),
3171 (ev_document_misc_paint_one_page): New function to canonicalize
3172 sizing/painting a border.
3174 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3177 * pdf/xpdf/pdf-document.cc: use new function
3179 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3180 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3181 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3182 shell/ev-window.c: (update_sizing_buttons),
3183 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3184 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3185 (ev_window_cmd_view_page_width), (size_allocate_cb),
3186 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3187 and "fit width" values act as toggle buttons so they stay
3188 toggled. It's not 100% perfect, and it's a little slow, but it's
3189 good enough to commit I think.
3191 2005-02-15 David Lodge <dave@cirt.net>
3193 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3195 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3197 * shell/ev-window.c (update_window_title): replace newlines in
3198 the title by spaces. Bug #166107.
3200 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3202 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3203 parameters providing allocation width and height without
3204 scrollbars and width of a possible vertical scrollbar. With this
3205 additional information the functions can work as
3206 intended. Unfortunately they're not idempotent. We should
3207 transform these commands to toggles. Fixes Bug #164976
3208 Initial patch by Stephane Loeuillet, then heavily modified.
3210 * shell/ev-view.h: update prototypes.
3212 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3213 (ev_window_cmd_view_page_width): provide EvView fit functions with
3214 all the information they need. Formulas to calculate this
3215 information taken from GtkScrolledWindow.
3217 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3219 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3220 created a thumbnail, the list store is updated to know
3221 that the thumbnail is set. Fixes bug #166792
3223 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3225 * shell/ev-window.c: fixed typo, closes bug 166897
3227 * TODO: updated TODO with bug numbers that are relevant
3229 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3231 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3233 2005-02-09 Vincent Noel <vnoel@cox.net>
3235 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3236 and "Next" toolbar buttons as important to make them stand out.
3238 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3242 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3243 (start_interpreter), (stop_interpreter), (document_load),
3244 (ps_document_next_page), (ps_document_goto_page),
3245 (ps_document_set_page_size), (ps_document_widget_event),
3246 (ps_document_render):
3247 * shell/ev-page-view.c: (ev_page_view_dispose):
3248 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3250 Fix compilation on non-gcc platforms
3252 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3259 * pdf/xpdf/Catalog.cc:
3262 Fix the fix for CAN-2004-0888
3264 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3267 * data/evince-ui.xml:
3268 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3269 * shell/ev-stock-icons.h:
3270 * shell/ev-window.c: (update_action_sensitivity),
3271 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3272 (set_action_properties):
3274 Improve toolbar layout/icons
3276 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3278 * pdf/xpdf/pdf-document.cc:
3280 Add warnings about unimplemented/unknown link
3283 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3285 * ps/ps-document.c: (set_up_page):
3289 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3291 * ps/ps-document.c: (start_interpreter):
3295 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3297 * shell/ev-page-view.c: (ev_page_view_dispose):
3298 * shell/ev-view.c: (ev_view_finalize):
3299 * shell/ev-window.c: (ev_window_setup_document),
3300 (ev_window_dispose), (ev_window_init):
3302 Solve more refs issues.
3304 I commented out the page_view initialization for now:
3305 it was never destroyed (because it's never added
3306 to a container). Because of that we was leaking
3307 gs processes. Couldnt think to a clean fix.
3308 We need to figure this out, password view has the
3309 same issue probably.
3311 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3313 * ps/ps-document.c: (ps_document_finalize),
3314 (ps_document_get_n_pages), (ps_document_get_page):
3316 Some cleanups, stop the interpreter on finalize
3318 * shell/ev-page-view.c: (ev_page_view_dispose),
3319 (ev_page_view_class_init):
3321 Release our reference on the document
3323 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3327 * doc/debugging.txt:
3330 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3331 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3332 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3335 Add debugging helpers
3338 * ps/ps-document.c: (set_up_page), (start_interpreter),
3339 (stop_interpreter), (document_load), (ps_document_next_page),
3340 (ps_document_goto_page), (ps_document_set_page_size),
3341 (ps_document_widget_event), (ps_document_render):
3342 * shell/Makefile.am:
3343 * shell/ev-view.c: (expose_bin_window):
3344 * shell/main.c: (main):
3348 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3350 * ps/ps-document.c: (ps_document_widget_event):
3352 Initialize message_window, this should make ps
3353 rendering really work! (Never noticed because I was
3354 testing with a ps that is causing gs to exit every time!)
3356 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3358 * data/evince.schemas.in: updated simple error in applyto closing tag
3360 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3366 * data/evince-ui.xml:
3367 A data/evince.schemas.in:
3369 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3370 * shell/ev-stock-icons.h:
3371 * shell/ev-window.c: (update_chrome_visibility),
3372 (update_chrome_flag), (ev_window_cmd_edit_find),
3373 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3374 (ev_window_unfullscreen), (ev_window_focus_in_event),
3375 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3376 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3377 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3378 (ev_window_dispose), (ev_window_class_init),
3379 (set_action_properties), (set_chrome_actions), (load_chrome),
3382 Implement fullscreen mode changes from bug #164776.
3383 Also implement persistent chrome toggles.
3385 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3387 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3389 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3395 Add another check for find interface
3399 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3401 * shell/ev-application.c: (ev_application_open):
3402 * shell/ev-window.c: (ev_window_open):
3404 Open gzipped ps documents
3406 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3409 * shell/ev-view.c: (set_document_page):
3411 Clamp page number, dont try to move to
3414 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3416 * backend/ev-document-find.c: (ev_document_find_changed):
3417 * backend/ev-document-find.h:
3418 * pdf/xpdf/pdf-document.cc:
3419 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3420 * shell/ev-window.c: (find_bar_search_changed_cb):
3422 Fix several bugs with find
3424 2005-02-04 Martin Kretzschmar <martink@gnome.org>
3426 * shell/ev-sidebar-thumbnails.c
3427 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3428 document. Prevents warning from scroll_to_cell.
3430 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
3432 * configure.ac: Add «nb» to ALL_LINGUAS too.
3434 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
3436 * NOTES: New file with some random thoughts.
3440 * backend/ev-document-misc.c:
3441 (ev_document_misc_get_page_border_size): New function to
3442 canonicalize shadow drawing sizes. Possibly goofy.
3444 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
3445 (ev_view_best_fit), (ev_view_fit_width):
3446 * pdf/xpdf/pdf-document.cc:
3447 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3448 * ps/ps-document.c: (ps_document_get_page_size):
3449 * backend/ev-document-misc.h:
3450 * backend/ev-document.c: (ev_document_get_page_size):
3451 * backend/ev-document.h: get_page_size now takes a page number
3452 parameter. Made all the backends/frontends honor it.
3454 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
3455 see. Doesn't work yet.
3457 * shell/Makefile.am:
3458 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
3459 Doesn't do anything yet.
3461 * shell/ev-sidebar-thumbnails.c:
3462 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
3465 * shell/ev-window.c: (update_action_sensitivity),
3466 (ev_window_setup_document), (ev_window_set_page_mode),
3467 (ev_window_page_mode_cb), (ev_window_init): Clean up the
3468 view-swapping code a bit so we can have multiple views on a
3469 document. Add the multi-page view, though it can't be turned on
3472 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3474 * shell/ev-application.c: (ev_application_open):
3475 * shell/ev-view.c: (expose_bin_window):
3476 * shell/ev-window.c: (ev_window_open):
3478 Support eps and check document supports find
3479 before drawing highlightings in expose.
3481 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3483 * pixbuf/pixbuf-document.c:
3484 (pixbuf_document_thumbnails_get_dimensions),
3485 (pixbuf_document_document_thumbnails_iface_init):
3487 implement get_dimensions
3489 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3496 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3498 * shell/ev-view.c: (set_document_page):
3500 Scroll at the top of the page when changing page
3502 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3504 * shell/ev-view.c: (ev_view_motion_notify_event):
3506 Do not redraw unnecessarily
3508 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3510 * pdf/xpdf/pdf-document.cc:
3511 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3512 (expose_bin_window), (find_changed_cb):
3514 Yay! find works now... Now to find bugs...
3516 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3518 * backend/ev-document-find.c: (ev_document_find_base_init),
3519 (ev_document_find_changed):
3520 * backend/ev-document-find.h:
3521 * pdf/xpdf/pdf-document.cc:
3522 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3523 (expose_bin_window), (ev_view_init), (set_document_page),
3524 (ensure_rectangle_is_visible), (jump_to_find_result),
3525 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
3526 (ev_view_find_next), (ev_view_find_previous):
3528 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
3530 More work on find implementation, mostly there now
3532 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
3534 * backend/ev-backend-marshalers.list:
3535 * backend/ev-document-find.c: (ev_document_find_base_init),
3536 (ev_document_find_cancel), (ev_document_find_page_has_results),
3537 (ev_document_find_get_n_results), (ev_document_find_get_result),
3538 (ev_document_find_get_progress), (ev_document_find_changed):
3539 * backend/ev-document-find.h:
3541 Enanche the find interface to be really able to do
3544 * pdf/xpdf/pdf-document.cc:
3548 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
3549 (expose_bin_window), (ev_view_init),
3550 (ev_view_get_find_status_message), (find_changed_cb),
3551 (ev_view_set_document), (set_document_page):
3553 Adapt to the new interface. A few things are regressed sorry,
3554 I will finish it soon.
3556 2005-01-28 Martin Kretzschmar <martink@gnome.org>
3558 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
3559 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
3560 ev_sidebar_thumbnails_parent_class variable, don't define another
3561 parent_class variable.
3563 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
3564 (ev_page_action_class_init): ditto.
3566 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
3567 (pixbuf_document_class_init): ditto.
3569 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
3572 * .cvsignore: ignore various valgrind output files.
3574 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3576 * data/evince-ui.xml:
3577 * shell/Makefile.am:
3578 * shell/ev-history.c:
3579 * shell/ev-history.h:
3580 * shell/ev-navigation-action.c:
3581 * shell/ev-navigation-action.h:
3582 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
3583 (ev_view_set_page), (ev_view_fit_width):
3585 * shell/ev-window.c: (update_action_sensitivity),
3586 (ev_window_setup_document), (register_custom_actions):
3588 Kill session history
3590 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3592 * shell/ev-window.c: (update_action_sensitivity):
3594 Fix inverted up/down buttons
3596 2005-01-27 Martin Kretzschmar <martink@gnome.org>
3598 * shell/ev-sidebar-thumbnails.c
3599 (ev_sidebar_thumbnails_select_page): make sure the selected
3600 thumbnail stays visible.
3602 2005-01-26 Martin Kretzschmar <martink@gnome.org>
3604 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
3605 scrolled window for Federico.
3607 2005-01-26 Ole Laursen <olau@hardworking.dk>
3609 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
3611 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
3614 * pdf/splash/SplashFTFontEngine.cc:
3616 Fix CID fonts with freetype 2.1.9
3618 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
3620 * TODO: added item for desktop icon thumbnailer
3622 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
3624 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
3625 unloaded docs when the title is accessed.
3627 * shell/ev-password-view.[hc]: New widget for displaying password
3630 * shell/ev-window.[ch]: Refactor password handling code to handle
3633 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
3641 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
3643 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
3644 ignore page offset here, to make search results independent of it,
3646 * shell/ev-view.c (expose_bin_window): but take offsets into
3647 account here. Bug #164932
3649 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
3650 scale at the right time. Bug #164996
3652 2005-01-22 Martin Kretzschmar <martink@gnome.org>
3654 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
3655 fix the problem. Now I just removed the Adobe font names and hope
3656 that the URW fonts are always in outline format. Bug #164934
3658 * shell/ev-window.c (update_window_title): empty titles are
3659 useless, use filename in that case too.
3661 * NEWS: Add some content.
3663 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
3665 * TODO: added one more TODO item and a TODONE section :)
3667 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3669 * ps/ps-document.h: add page_[xy]_offset fields.
3671 * ps/ps-document.c (ps_document_set_page_offset)
3672 (ps_document_render): Keep offset in consideration in a few
3673 places. Bug #164752 "postscript documents are not centered in
3676 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
3677 s/gpdf/evince/. Spotted by Stephane Loeuillet.
3679 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
3680 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
3681 stub out missing methods for complete EvDocument implementation.
3682 Fixes segfaults with Save A Copy and Copy actions.
3684 * ps/ps-document.c (ps_document_save, ps_document_get_text)
3685 (ps_document_document_iface_init): ditto.
3687 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3691 * data/evince.desktop.in:
3695 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3697 * shell/ev-view.c: (ev_view_button_press_event),
3698 (ev_view_motion_notify_event):
3700 Make selection work in any direction
3702 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3705 * shell/ev-window.c: (set_short_labels), (ev_window_init):
3707 Use shorter labels for some of the toolbars items
3709 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3711 * pdf/xpdf/pdf-document.cc:
3713 Check the links info is initialized before
3714 using it. Should fix a crash on startup.
3716 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3718 * pixbuf/pixbuf-document.c
3719 (pixbuf_document_thumbnails_get_dimensions): force floating point
3720 division to calculate page_ratio. Fixes crash with landscape
3723 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
3725 * shell/ev-view.c (ev_view_realize): make the bg color darker.
3727 2005-01-20 Martin Kretzschmar <martink@gnome.org>
3729 * shell/ev-view.c (set_document_page): unset has_selection when
3731 (set_document_page): handle paper size changes when the page
3732 changes (test with Free Culture, page 2).
3734 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3736 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
3737 (expose_bin_window), (ev_view_class_init), (ev_view_init):
3739 Use normal style color for the widget background and
3740 draw a black box around the page.
3742 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3744 * pdf/xpdf/pdf-document.cc:
3746 Keep offset in consideration in a few places
3748 * shell/ev-view.c: (expose_bin_window):
3750 Set the offsets so that the document is ever centered
3752 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
3754 * TODO: Added TODO items and finished off the first todo item
3756 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
3757 reflect current authors
3759 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3761 * pdf/xpdf/pdf-document.cc:
3762 * shell/ev-view.c: (ev_view_set_cursor),
3763 (ev_view_motion_notify_event), (document_changed_callback),
3764 (set_document_page):
3766 Show a wait cursor while the page is rendering
3768 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3770 * shell/ev-sidebar-thumbnails.c:
3771 (ev_sidebar_tree_selection_changed),
3772 (ev_sidebar_thumbnails_select_page):
3773 * shell/ev-sidebar-thumbnails.h:
3774 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
3775 (ev_view_can_go_forward):
3776 * shell/ev-window.c: (ev_window_open_page),
3777 (ev_window_setup_document), (update_current_page),
3778 (view_page_changed_cb), (ev_window_init):
3779 * shell/ev-window.h:
3781 Ensure thumbnails selection, toolbar page control and
3782 current page are in sync.
3784 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
3790 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
3792 * backend/Makefile.am:
3793 * backend/ev-document-links.h:
3794 * backend/ev-document-security.c: (ev_document_security_get_type),
3795 (ev_document_security_has_document_security),
3796 (ev_document_security_set_password):
3797 * backend/ev-document-security.h:
3798 * backend/ev-document.c: (ev_document_error_quark):
3799 * backend/ev-document.h:
3801 * data/evince-password.glade:
3802 * pdf/xpdf/pdf-document.cc:
3803 * shell/Makefile.am:
3804 * shell/ev-password.c: (ev_password_set_bad_password_label),
3805 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
3806 (ev_password_dialog_get_password),
3807 (ev_password_dialog_set_bad_pass):
3808 * shell/ev-password.h:
3809 * shell/ev-window.c: (ev_window_get_attribute),
3810 (ev_window_set_property), (update_action_sensitivity),
3811 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
3812 (ev_window_setup_document), (ev_window_get_password),
3813 (ev_window_open), (ev_window_cmd_save_as),
3814 (using_postscript_printer), (ev_window_print),
3815 (find_not_supported_dialog), (ev_window_cmd_edit_find),
3816 (update_fullscreen_popup), (ev_window_fullscreen),
3817 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
3818 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
3819 (menu_item_select_cb), (find_bar_search_changed_cb),
3820 (ev_window_dispose), (ev_window_init):
3822 Add initial support for password-supported dialogs. This could be
3823 a lot cooler, but it'll do for now.
3825 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
3827 * pdf/xpdf/pdf-document.cc:
3828 * shell/ev-view.c: (status_message_from_link),
3829 (ev_view_set_status), (ev_view_set_cursor),
3830 (ev_view_motion_notify_event), (ev_view_init):
3831 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
3833 Fix bugs in the links implementation and change cursor
3834 when hovering a link.
3836 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
3838 * viewer/.cvsignore: added cvsignore file for viewer directory
3840 * TODO: created TODO document
3842 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
3845 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
3846 new functions to help with implementation of sensitivity code
3847 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3848 of all actions that might require it. Fixes a crash when you
3849 click on the Zoom actions in a window lacking a document.
3851 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
3853 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3856 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3858 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
3859 (pixbuf_document_document_iface_init):
3860 * ps/ps-document.c: (ps_document_get_link),
3861 (ps_document_document_iface_init):
3862 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
3863 (status_message_from_link), (ev_view_set_status),
3864 (ev_view_set_find_status), (ev_view_motion_notify_event),
3865 (ev_view_button_release_event), (ev_view_set_property),
3866 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
3867 (ev_view_get_find_status_message), (update_find_results),
3868 (ev_view_get_status), (ev_view_get_find_status):
3870 * shell/ev-window.c: (view_status_changed_cb),
3871 (view_find_status_changed_cb), (ev_window_init):
3873 View status message support, use it to show the links.
3876 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3878 * backend/ev-document.c: (ev_document_get_link):
3879 * backend/ev-document.h:
3880 * pdf/xpdf/pdf-document.cc:
3881 * shell/ev-application.c: (ev_application_open):
3882 * shell/ev-application.h:
3883 * shell/ev-sidebar-links.c: (selection_changed_cb):
3884 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
3885 (ev_view_go_to_link):
3887 Add support for document links
3889 2005-01-13 Anders Carlsson <andersca@gnome.org>
3891 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
3893 Set the spin button limits correctly.
3895 * shell/ev-sidebar-thumbnails.c:
3896 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
3897 Support changing pages by clicking on the thumbnails.
3899 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3901 * pixbuf/pixbuf-document.c:
3902 (pixbuf_document_thumbnails_get_dimensions),
3903 (pixbuf_document_document_thumbnails_iface_init):
3905 implement get_dimensions
3907 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3909 * ps/ps-document.c: (ps_document_goto_page):
3911 Fix page switching on multipage documents
3913 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
3915 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3917 check for NULL before assigning to width and height parameters
3919 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3921 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3922 (pixbuf_document_set_property), (pixbuf_document_get_property):
3924 implement get/set properties
3926 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3928 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
3930 return NULL instead of "Unknown", letting the title get set to
3931 the filename when the pdf has no title.
3933 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3935 * ps/ps-document.c: (ps_document_get_page_count),
3936 (ps_document_goto_page):
3938 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3940 * shell/ev-history.c: (ev_history_get_property),
3941 (ev_history_set_property), (ev_history_class_init),
3942 (ev_history_add_page), (ev_history_set_current_index):
3943 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
3944 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
3945 (ev_navigation_action_finalize):
3946 * shell/ev-navigation-action.h:
3947 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3948 (ev_view_go_forward), (ev_view_get_find_status_message),
3949 (history_index_changed_cb), (ev_view_set_history):
3951 * shell/ev-window.c: (update_total_pages), (ev_window_open),
3952 (update_current_page), (register_custom_actions):
3954 Implement history dropdowns
3956 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3958 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
3959 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3960 (ev_view_go_forward):
3961 * shell/ev-window.c: (register_custom_actions):
3963 Fix several history bugs
3965 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
3967 * configure.ac: Add «nb» to ALL_LINGUAS.
3969 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
3971 * backend/Makefile.am:
3972 * backend/ev-bookmark.c:
3973 * backend/ev-bookmark.h:
3974 * backend/ev-document-bookmarks.c:
3975 * backend/ev-document-bookmarks.h:
3976 * backend/ev-document-links.c: (ev_document_links_get_type),
3977 (ev_document_links_has_document_links),
3978 (ev_document_links_begin_read), (ev_document_links_get_link),
3979 (ev_document_links_get_child), (ev_document_links_next),
3980 (ev_document_links_free_iter):
3981 * backend/ev-document-links.h:
3982 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
3983 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
3984 (ev_link_get_link_type), (ev_link_set_link_type),
3985 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
3986 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
3987 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
3988 (ev_link_new_external):
3989 * backend/ev-link.h:
3990 * pdf/xpdf/pdf-document.cc:
3991 * shell/Makefile.am:
3992 * shell/ev-application.c: (ev_application_open_link):
3993 * shell/ev-application.h:
3994 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
3995 (ev_history_get_link_nth):
3996 * shell/ev-history.h:
3997 * shell/ev-sidebar-bookmarks.c:
3998 * shell/ev-sidebar-bookmarks.h:
3999 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4000 (ev_sidebar_links_class_init), (selection_changed_cb),
4001 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4002 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4003 (do_one_iteration), (populate_links_idle),
4004 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4005 * shell/ev-sidebar-links.h:
4006 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4007 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4010 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4011 * shell/ev-window.h:
4013 Rename bookmark to link, and use "Index" for the sidebar panel.
4015 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4017 * shell/Makefile.am:
4018 * shell/ev-application.c: (ev_application_open_bookmark):
4019 * shell/ev-application.h:
4020 * shell/ev-history.c: (ev_history_init), (free_links_list),
4021 (ev_history_finalize), (ev_history_class_init),
4022 (ev_history_add_link), (ev_history_add_page),
4023 (ev_history_get_link_nth), (ev_history_get_n_links),
4024 (ev_history_get_current_index), (ev_history_set_current_index),
4026 * shell/ev-history.h:
4027 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4028 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4029 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4030 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4033 * shell/ev-window.c: (ev_window_open_bookmark),
4034 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4035 (goto_page_cb), (register_custom_actions):
4036 * shell/ev-window.h:
4038 Initial history implementation. Needs work.
4040 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4042 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4044 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4046 * cut-n-paste/recent-files/egg-recent-item.c:
4047 * cut-n-paste/recent-files/egg-recent-item.h:
4048 * cut-n-paste/recent-files/egg-recent-model.c:
4049 * cut-n-paste/recent-files/egg-recent-util.c:
4050 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4051 * cut-n-paste/recent-files/egg-recent-view.c:
4055 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4057 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4058 (fillGlyph, fillImageMask, drawImage):
4059 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4060 pdf/splash/SplashTypes.h:
4061 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4062 packed mode for Splash.
4064 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4065 RGB8 packed mode, eliminates the pixbuf data creation loop.
4067 * shell/ev-print-job.c (ev_print_job_finalize)
4068 (ev_print_job_set_property, ev_print_job_get_property)
4069 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4070 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4071 (print_closure_finalize, ev_print_job_print): implement
4072 printing (for backends with EvPsExporter)
4074 * shell/ev_print_job.h: update prototypes.
4076 * shell/ev-window.c (ev_window_print): unref print job after
4079 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4080 unless the document implements the EvDocumentFind interface.
4082 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4084 * configure.ac: Added ja to ALL_LINGUAS.
4086 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4088 * pdf/xpdf/pdf-document.cc:
4090 add a FIXME. We should probably not allocate
4091 a bookmark object every time
4093 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4095 * shell/ev-application.c: (ev_application_open),
4096 (ev_application_open_bookmark):
4097 * shell/ev-application.h:
4099 Add a way to open bookmarks
4101 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
4102 (ev_bookmark_set_uri), (ev_bookmark_get_property),
4103 (ev_bookmark_set_property), (ev_bookmark_class_init),
4104 (ev_bookmark_new_title), (ev_bookmark_new_link),
4105 (ev_bookmark_new_external):
4107 Support for external uris, better constructors.
4109 * backend/ev-bookmark.h:
4110 * pdf/xpdf/pdf-document.cc:
4111 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4113 Handle external uris
4115 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4117 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
4118 (ev_sidebar_bookmarks_construct), (do_one_iteration):
4120 Hook up bookmarks navigation
4122 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4124 * backend/Makefile.am:
4125 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
4126 (ev_bookmark_get_title), (ev_bookmark_set_title),
4127 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
4128 (ev_bookmark_get_page), (ev_bookmark_set_page),
4129 (ev_bookmark_get_property), (ev_bookmark_set_property),
4130 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4132 * backend/ev-bookmark.h:
4133 * backend/ev-document-bookmarks.c:
4134 (ev_document_bookmarks_get_bookmark):
4135 * backend/ev-document-bookmarks.h:
4136 * pdf/xpdf/pdf-document.cc:
4137 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4139 Add a bookmark object to the backend and use it instead of get_values
4141 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4143 * data/evince-ui.xml:
4145 Cleanup and add select all.
4147 * shell/ev-view.c: (ev_view_select_all),
4148 (ev_view_button_press_event):
4150 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4153 Clear selection on click.
4155 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4157 * shell/ev-sidebar-thumbnails.c
4158 (ev_sidebar_thumbnails_set_document): forgot to unref the
4161 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4163 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4164 at the visible page, not just linearly. This makes it look fast.
4166 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4168 * backend/ev-document-misc.c
4169 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4171 * backend/ev-document-thumbnails.h: New interface to get the size
4174 2005-01-06 Jeremy Katz <katzj@redhat.com>
4176 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4179 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4181 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4182 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4185 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4187 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4189 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4190 fonts. Should fix font problems on systems that have the base
4191 fonts in bitmap format. Reported by James Henstridge
4192 <james@jamesh.id.au>.
4194 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4197 * pdf/xpdf/GfxState.cc:
4199 Fix for CAN-2004-1125
4201 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4203 * shell/ev-view.c: (ev_view_copy):
4205 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4207 Implement Edit->Copy
4209 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4211 * backend/ev-document.c: (ev_document_get_text):
4212 * backend/ev-document.h:
4213 * pdf/xpdf/pdf-document.cc:
4214 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4215 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4216 (ev_view_update_primary_selection), (ev_view_button_press_event),
4217 (ev_view_motion_notify_event), (ev_view_button_release_event):
4219 Beginnings of clipboard support. Incomplete but primary sort
4222 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4224 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4225 (expose_bin_window):
4227 Nicer rubberband drawing, from GtkIconView.
4229 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4231 * backend/ev-document.c: (ev_document_save):
4232 * backend/ev-document.h:
4233 * data/evince-ui.xml:
4234 * pdf/xpdf/pdf-document.cc:
4235 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4237 Implement "Save a copy..." menu item
4239 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4241 * shell/ev-view.c: (ev_view_zoom):
4243 Queue a resize when zoom changes
4245 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4247 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4250 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4253 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4255 * pdf/xpdf/pdf-document.cc
4256 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4258 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4260 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4261 It's slow, but I'll speed it up next!
4263 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4265 * shell/main.c (load_files):
4267 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4268 from the command line and because it seems more appropriate.
4270 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4272 * data/evince-ui.xml:
4273 * shell/ev-window.c: (update_action_sensitivity),
4274 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4276 s/next page/page down
4277 s/previous page/page up
4279 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4281 * data/evince-ui.xml:
4283 Change the layout to match clarkbw design.
4285 * shell/Makefile.am:
4286 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4287 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4288 (ev_navigation_action_finalize),
4289 (ev_navigation_action_set_property),
4290 (ev_navigation_action_get_property),
4291 (ev_navigation_action_class_init):
4292 * shell/ev-navigation-action.h:
4294 Implement clarkbw toolbar navigation controls (incomplete)
4296 * shell/ev-page-action.c: (update_label), (update_spin),
4297 (value_changed_cb), (create_tool_item), (connect_proxy),
4298 (ev_page_action_init), (ev_page_action_finalize),
4299 (ev_page_action_set_property), (ev_page_action_get_property),
4300 (ev_page_action_set_current_page),
4301 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4302 * shell/ev-page-action.h:
4304 Implement a page switcher in the toolbar
4306 * shell/ev-view.c: (ev_view_scroll_view):
4307 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4308 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4309 (register_custom_actions), (ev_window_init):
4311 Change page on PageUp/Down.
4313 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4315 * pdf/xpdf/pdf-document.cc
4316 (pdf_document_thumbnails_get_thumbnail): initial stab at
4317 implementing thumbnail support for pdfs. It only does documents
4318 with precached pdfs now.
4320 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4322 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4323 thumbnail code into a time-based idle as well. Also, turn off the
4324 shadow temporarily as it's really slow.
4326 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4328 * backend/ev-document.c: (ev_document_class_init):
4329 * pdf/xpdf/pdf-document.cc:
4330 * shell/ev-window.c: (ev_window_open):
4332 Fix document title bugs and fallback to
4333 filename when not available.
4335 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4337 * backend/ev-document.c: (ev_document_get_type),
4338 (ev_document_class_init), (ev_document_load),
4339 (ev_document_get_title):
4340 * backend/ev-document.h:
4341 * pdf/xpdf/pdf-document.cc:
4342 * ps/ps-document.c: (ps_document_set_property),
4343 (ps_document_get_property), (ps_document_class_init),
4347 * shell/ev-window.c: (update_window_title), (ev_window_open),
4350 Initial support for document title. Not working yet.
4352 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4354 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4356 Grab focus on the view when clicking it
4358 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4360 * shell/ev-marshal.list:
4361 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4362 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4364 Add key bindings to the view. Now if the focus would work
4367 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4370 * backend/Makefile.am:
4373 * dvi/dvilib/Makefile.am:
4374 * pdf/xpdf/Makefile.am:
4380 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4382 * shell/ev-view.c: (ev_view_realize):
4384 Fix mouse wheel scrolling
4386 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4392 * ps/ps-document.c: (catchPipe), (ps_document_init),
4393 (ps_document_class_init), (ps_document_cleanup),
4394 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4395 (set_up_page), (close_pipe), (is_interpreter_ready),
4396 (interpreter_failed), (output), (input), (start_interpreter),
4397 (stop_interpreter), (file_length), (file_readable),
4398 (check_filecompressed), (check_pdf), (compute_xdpi),
4399 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4400 (ps_document_get_type), (ps_document_emit_error_msg),
4401 (document_load), (ps_document_next_page),
4402 (ps_document_get_current_page), (ps_document_get_page_count),
4403 (ps_document_goto_page), (ps_document_set_page_size),
4404 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4405 (ps_document_load), (ps_document_get_n_pages),
4406 (ps_document_set_page), (ps_document_get_page),
4407 (ps_document_widget_event), (ps_document_set_target),
4408 (ps_document_set_scale), (ps_document_set_page_offset),
4409 (ps_document_get_page_size), (ps_document_render),
4410 (ps_document_document_iface_init):
4413 * shell/ev-window.c: (ev_window_open):
4415 Rename GtkGS to PSDocument
4417 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4419 * ps/gtkgs.c: (gtk_gs_class_init):
4422 Some more leftover...
4424 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4426 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4427 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4428 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
4431 Remove unused code and make a lot of stuff private
4433 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4435 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
4436 (gtk_gs_defaults_changed):
4442 Cleanup headers dependencies
4444 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4449 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
4451 * ps/gtkgs.c: (file_length), (file_readable),
4452 (check_filecompressed), (check_pdf), (gtk_gs_load),
4453 (gtk_gs_get_postscript):
4457 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4462 * ps/gtkgs.c: (gtk_gs_set_zoom):
4466 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4468 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
4470 Ensure the page is rerendered when changing zoom
4472 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4474 * backend/ev-document.c: (ev_document_base_init),
4475 (ev_document_changed):
4476 * backend/ev-document.h:
4478 Add a changed event that is emitted when the page content
4479 changes. This is necessary to deal with the fact that
4480 in ps backend rendering happen asycrounously.
4481 This makes the ps backend mostly work.
4483 * pdf/xpdf/pdf-document.cc:
4487 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
4488 (ps_document_set_target):
4492 * shell/ev-view.c: (document_changed_callback),
4493 (ev_view_set_document), (ev_view_set_page):
4495 Redraw on the changed signal
4497 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
4499 * configure.ac: Added pt_BR to ALL_LINGUAS.
4501 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
4503 * backend/ev-document-bookmarks.c:
4504 (ev_document_bookmarks_get_child): *
4505 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
4506 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
4507 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
4508 (ev_sidebar_bookmarks_destroy),
4509 (ev_sidebar_bookmarks_class_init),
4510 (ev_sidebar_bookmarks_construct), (stack_data_free),
4511 (do_one_iteration), (populate_bookmarks_idle),
4512 (ev_sidebar_bookmarks_clear_document),
4513 (ev_sidebar_bookmarks_set_document): *
4514 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
4515 (ev_sidebar_add_page),
4516 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
4517 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
4518 it displays both the topics and the page numbers.
4520 2004-12-23 Kristian Høgsberg <krh@redhat.com>
4522 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
4524 * shell/ev-window.c (toggle_entries): Set sidebar default value to
4527 2004-12-23 Adam Weinberger <adamw@gnome.org>
4529 * configure.ac: Added en_CA to ALL_LINGUAS.
4531 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4533 * ChangeLog: replace bottom of this ChangeLog (merged history of
4534 ggv and gpdf; where all paths were wrong and most of the files are
4535 not even in this tree) with ChangeLog (from arch) of the shell
4538 2004-12-23 Havoc Pennington <hp@redhat.com>
4540 * shell/ev-window.c: hook up potentially-questionable "find
4541 results status text" feature - something involving the sidebar or
4542 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
4543 might be better in the end.
4545 * shell/ev-view.c (ev_view_get_find_status_message): new function,
4546 with corresponding signal when it should be updated
4548 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
4550 2004-12-22 Havoc Pennington <hp@redhat.com>
4552 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
4553 find stuff on other pages, sort of (only returns one result on
4554 invisible pages, to show they have results; updates full results
4555 for a page when you view it). Currently repaints the current page
4556 every time a new result is found on any page, which isn't so nice.
4558 2004-12-22 Havoc Pennington <hp@redhat.com>
4560 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
4561 the document doesn't support find (better ideas?)
4562 (find_bar_search_changed_cb): handle missing document or document
4563 that doesn't support find
4565 * pdf/xpdf/pdf-document.cc: port to implement the new
4568 * backend/ev-document-find.c: create a new interface for searching
4570 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
4572 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4574 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
4577 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
4578 EvPrintJob constructor arguments.
4580 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
4581 for documents that can export PostScript (page by page).
4583 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
4585 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
4586 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
4587 (pdf_document_ps_exporter_iface_init:
4588 Implement EvPSExporter.
4590 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
4592 2004-12-22 Anders Carlsson <andersca@gnome.org>
4594 * backend/Makefile.am:
4595 * backend/ev-document-thumbnails.c:
4596 (ev_document_thumbnails_get_type),
4597 (ev_document_thumbnails_get_thumbnail):
4598 * backend/ev-document-thumbnails.h:
4599 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4600 (pixbuf_document_thumbnails_get_thumbnail),
4601 (pixbuf_document_document_thumbnails_iface_init):
4602 * shell/Makefile.am:
4603 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
4604 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
4605 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
4606 * shell/ev-sidebar-thumbnails.h:
4607 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4608 (ev_sidebar_set_document):
4609 * shell/ev-utils.c: (gaussian), (create_blur_filter),
4610 (create_shadow), (ev_pixbuf_add_shadow):
4612 Add thumbnail support.
4614 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4616 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
4617 (using_postscript_printer): Set up a print dialog for "PostScript
4620 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
4623 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
4625 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4627 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
4628 (ps_document_set_target), (ps_document_get_page_size),
4629 (ps_document_render):
4634 2004-12-22 Christian Rose <menthos@menthos.com>
4636 * configure.ac: Added "sv" to ALL_LINGUAS.
4638 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
4640 * backend/ev-document-bookmarks.[ch]: new interface to indicate
4641 document supports bookmarks.
4643 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4645 * ps/ggvutils.c: (ggv_file_readable):
4647 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
4648 (gtk_gs_get_postscript):
4652 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4654 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
4655 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
4656 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
4657 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
4658 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
4659 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
4660 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4661 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4662 (gtk_gs_set_antialiasing), (ps_document_load),
4663 (ps_document_render):
4666 Another check point for the ps backend. Now I can get it to show
4669 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
4671 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
4672 document setting code.
4674 2004-12-22 Anders Carlsson <andersca@gnome.org>
4676 * shell/eggfindbar.c: (entry_activate_callback):
4677 Animate the next button when activate is pressed.
4679 2004-12-22 Anders Carlsson <andersca@gnome.org>
4681 * shell/ev-window.c: (ev_window_cmd_edit_find),
4682 (update_fullscreen_popup), (ev_window_fullscreen),
4683 (ev_window_unfullscreen), (ev_window_state_event_cb),
4684 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
4685 Fix bugs in fullscreen code.
4687 2004-12-22 Anders Carlsson <andersca@gnome.org>
4691 * pixbuf/Makefile.am:
4692 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4693 (pixbuf_document_load), (pixbuf_document_get_n_pages),
4694 (pixbuf_document_set_page), (pixbuf_document_get_page),
4695 (pixbuf_document_set_target), (pixbuf_document_set_scale),
4696 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
4697 (pixbuf_document_render), (pixbuf_document_begin_find),
4698 (pixbuf_document_end_find), (pixbuf_document_finalize),
4699 (pixbuf_document_class_init),
4700 (pixbuf_document_document_iface_init), (pixbuf_document_init):
4701 * pixbuf/pixbuf-document.h:
4702 * shell/Makefile.am:
4703 * shell/ev-application.c: (ev_application_open):
4704 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
4708 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
4711 * dvi/dvilib/Makefile.am:
4713 * configure.ac: Auto*ify dvi and dvi/dvilib
4715 * dvi/Makefile: Remove from CVS
4717 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
4720 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
4722 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
4724 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4727 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
4728 (gtk_gs_value_adjustment_changed), (compute_size),
4729 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
4730 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
4731 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4732 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4733 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
4734 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
4735 (ps_document_load), (ps_document_get_n_pages),
4736 (ps_document_set_page), (ps_document_get_page),
4737 (ps_document_set_target), (ps_document_set_scale),
4738 (ps_document_set_page_offset), (ps_document_get_page_size),
4739 (ps_document_render), (ps_document_begin_find),
4740 (ps_document_end_find), (ps_document_document_iface_init):
4742 * shell/Makefile.am:
4743 * shell/ev-window.c: (ev_window_open):
4745 Some work to integrate gtkgs with EvDocument
4747 2004-12-22 Anders Carlsson <andersca@gnome.org>
4749 * shell/ev-window.c: (update_fullscreen_popup),
4750 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
4751 (exit_fullscreen_button_clicked_cb),
4752 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
4753 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4754 (ev_window_state_event_cb), (ev_window_init):
4755 Add fullscreen support from Epiphany.
4757 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4759 * data/ev-stock-zoom-fit-width.png: fit-width
4760 stock icon from gpdf.
4762 * shell/ev-stock-icons.[ch]: copied from gpdf.
4764 * shell/main.c: (main): init stock icons.
4766 * shell/ev-window.c: use the fit-width icon.
4768 * data/evince-ui.xml: add zooming toolbar items.
4770 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4773 (ev_view_best_fit), (ev_view_fit_width): because
4774 get_page_size() returns the scaled page size, we
4775 need to calculate the scale factor relative to
4776 the previous scale factor. Should really just
4777 add get_real_page_size().
4779 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4781 * shell/ev-view.[ch]:
4782 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
4783 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
4786 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
4787 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
4788 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
4791 * pdf/xpdf/pdf-document.cc:
4792 (pdf_document_begin_find),
4793 (pdf_document_end_find): make static.
4795 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4797 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
4799 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
4800 names to fontconfig patterns.
4801 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
4803 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
4806 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4822 Import ggv backend. Not hooked up yet.
4824 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4826 * shell/main.c: (load_files), (main): load files
4827 from the command line.
4829 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4831 * configure.ac: don't require bonobo.
4833 * cut-n-paste/recent-files/*: kill bonobo recent
4836 * shell/ev-window.c:
4837 (ev_window_is_empty): upd.
4838 (unable_to_load), (ev_window_open): load backend
4839 based on the mime type.
4841 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4843 * backend/.cvsignore: ignore generated marshalers source.
4845 * shell/main.c (main): this is not epiphany.
4847 2004-12-22 Havoc Pennington <hp@redhat.com>
4849 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
4850 (expose_bin_window): draw find highlights
4852 * shell/ev-window.c (find_bar_search_changed_cb): implement
4854 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
4855 (pdf_document_end_find): implement this interface
4857 * backend/ev-document.c (ev_document_found): add this to emit
4860 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
4862 * data/evince-ui.xml: Add a few more toolbar items.
4864 * shell/ev-window.c: Hook up page navigation toolbar
4867 * shell/ev-view.[ch]: add ev_view_set/get_page and
4868 a page-changed signal.
4870 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
4871 Add ev_document_get_page().
4873 * shell/ev-window.c: Sensitize/desensitize navigation
4876 2004-12-21 Havoc Pennington <hp@redhat.com>
4878 * backend/ev-backend-marshal.c,
4879 backend/ev-backend-marshalers.list, backend/Makefile.am: add
4880 marshaler-generator thingy. I'm sure there's a better way to do
4881 this in the modern world.
4883 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
4884 end_find methods and "found" signal.
4886 * configure.ac: find glib-genmarshal
4888 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
4890 * shell/ev-sidebar.c: Construct an actual sidebar.
4891 * shell/ev-sidebar-bookmarks.[ch]:
4892 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
4894 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
4896 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
4899 * shell/ev-view.c: Track the size from the document.
4901 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
4903 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
4904 constructor assumes ownership of the string passed in.
4906 * shell/ev-window.c (ev_window_open): Destroy the error
4907 dialog once we've displayed it.
4909 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
4911 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
4912 a bit, it works! (sort of)
4914 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
4915 Move to .cc since we need to use C++ in the implementation.
4917 * shell/dummy.cc: Add a CC file to force evince
4918 to be linked as a C++ program.
4920 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
4922 * shell/ev-view.[ch]: Start of content-area widget.
4924 * shell/ev-window.c: Create a EvView, update it
4925 as we change documents.
4927 * shell/Makefile.am shell/ev-marshal.list: Add
4928 generated marshalers.
4930 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
4932 * Makefile.am (SUBDIRS): move shell.
4934 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
4936 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
4937 .a to libtool convenience libraries.
4939 * shell/ev-window.c (ev_window_open): Hard code loading
4942 * backend/ev-document.h: Add a boolean return to load(),
4943 fix GError * to GError **.
4945 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
4946 object for a PDF backend EvDocument.
4948 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
4950 * dvi/*: New directory with the beginning of a .dvi backend.
4952 2004-12-21 Havoc Pennington <hp@redhat.com>
4954 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
4955 previous/next instead of back/forward
4957 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
4959 * backend/ev-document.[ch]: Fix a couple of problems so
4962 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
4964 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
4965 to backend/ directory, rename EvViewer to EvDocument.
4967 2004-12-21 Havoc Pennington <hp@redhat.com>
4969 * shell/ev-window.c: hook up the find bar widget; now we just need
4970 a document to find things in
4972 * shell/eggfindbar.c: a find bar widget
4974 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
4976 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
4978 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
4980 * pdf/**: Import of xpdf code from gpdf.
4982 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
4984 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
4985 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
4986 Fix FreeType includes.
4988 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
4989 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
4990 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
4991 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
4992 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
4993 Include xpdfconfig.h
4995 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
4997 * shell/ev-window.c (ev_window_dispose): dispose can be called
5000 2004-12-21 Havoc Pennington <hp@redhat.com>
5002 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5005 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5006 items; really they should be synced with the strings, etc. from
5007 current gpdf, but just getting the boring typing out of the way
5009 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5012 * shell/ev-application.c: (window_destroy_cb):
5013 * shell/ev-window.c:
5014 * shell/main.c: (main):
5016 Actually show the window...
5018 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5021 * shell/Makefile.am:
5022 * shell/ev-application.c: (ev_application_class_init):
5023 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5027 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5029 Import to gnome cvs.
5031 * Remove copies of gpdf and ggv trees.
5032 * Rip out all the recursive configure code.
5033 * Remove bonobo machinery.
5034 * viewer/*: GInterfaces that backends should/can implement.
5036 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5038 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5041 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5043 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5044 (ev_application_finalize, ev_application_class_init)
5045 (ev_application_init): use GType instance private data for priv.
5047 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5048 (ev_window_finalize, ev_window_class_init)
5049 (ev_window_init): ditto.
5051 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5053 * shell/ev-application.c (ev_application_new_window): make public
5054 (ev_application_show_initial_window): kill.
5056 * shell/ev-application.h: update prototypes.
5058 * shell/main.cc (main): inline ev_application_show_initial_window.
5060 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5062 * shell/ev-application.c (ev_application_new_window): impl.
5063 (ev_application_show_initial_window): use it.
5064 (is_window_empty, ev_application_get_empty_window): returns an
5065 existing empty window or a new one.
5066 (ev_application_open): from ev_window_cmd_file_open.
5068 * shell/ev-application.h: update prototypes
5070 * shell/ev-window.c (ev_window_is_empty): impl.
5071 (ev_window_open): make public.
5072 (ev_window_cmd_file_open): use ev_application_open
5074 * shell/ev-window.h: update prototypes, remove unused.
5076 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5078 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5079 move destroy handler out of here...
5081 * shell/ev-application.c, shell/ev-application.h: ...into this new
5082 class. Also handles initial window creation.
5084 * shell/main.cc (main): use EvApplication to create initial
5087 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5089 * Makefile.am (SUBDIRS): add cut-n-paste
5091 * cut-n-paste/Makefile.am: add
5093 * configure.ac: generate Makefiles in cut-n-paste
5095 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5097 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
5098 (ev_window_class_init): install ev_window_dispose.
5100 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5102 * shell/ev-window.h, shell/ev-window.c: replace gchar with
5103 char (gchar looks stupid).
5105 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5107 * po/de.po: updated German translation.
5109 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5111 * configure.ac: add more pkg-config library checks for gnome-vfs,
5114 * gpdf/configure.in: temporarily disable libpaper
5115 checks. Otherwise I'd have to add the checks for the shell, too.
5117 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5119 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
5120 and * file filters to the file choose.
5122 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5124 * po/de.po: Updated German translation.
5126 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5128 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5130 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5132 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5134 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5135 (ev_window_init): implement those menuitems.
5137 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5139 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5141 * shell/ev-window.c (ev_window_init): use the toolbar.
5143 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5145 * shell/ev-window.c (ev_window_init): use menu translations
5147 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5149 * configure.ac: add "de" to ALL_LINGUAS.
5151 * po/de.po: add German translation.
5153 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5155 * Makefile.am (SUBDIRS): add po
5157 * configure.ac: check intltool, glib-gettext etc, generate
5160 * po, po/POTFILES.in, po/POTFILES.skip: new.
5162 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5164 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5165 already use (#ifdef ENABLE_NLS)
5167 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5168 pointer indirection thinko.
5170 * shell/main.c: include gi18n.h for bindtextdomain etc.
5172 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5174 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5175 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5176 tooltips for menu items in the statusbar.
5178 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5180 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5181 pkgdatadir drop UIDIR
5183 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5185 * data/evince-ui.xml: Add File->Open menu item
5187 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5188 chooser), hook it up in the ui manager.
5190 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5192 * shell/ev-window.c: fix Help->About tooltip.
5194 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5196 * configure.ac: set CFLAGS for libevprivate.
5198 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5199 definitions, factory etc.
5201 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5203 * shell/Makefile.am: link against libevprivate.a.
5205 * shell/ev-window.c (entries): add stock icon to Help->About.
5207 * shell/main.c (main): init stock icon code.
5209 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5211 * lib/recent-files: egg recent files code
5213 * lib/Makefile.am: add.
5215 * Makefile.am: add lib subdir.
5217 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5218 set CFLAGS for recent-files.
5220 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5222 * configure.ac: disable -ansi and -pedantic gcc flags. They
5223 disable POSIX stuff in stdio.h, but egg-recent uses them.
5225 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5227 * configure.ac: add --disable-deprecated flag (defaults to on in
5230 * shell/Makefile.am (INCLUDES): use it.
5232 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5234 * shell/main.c: add missing #include.
5236 * shell/ev-window.c: fix for pedantic gcc.
5237 (ev_window_cmd_help_about): split license into paragraphs for
5238 translators and pedantic compilers.
5240 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5242 * configure.ac: add more warning flags if compiling with gcc from
5243 cvs (or explicitly requested with --enable-more-warnings).
5245 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5247 * data/evince-ui.xml: add File and File->Close menu.
5249 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5250 (ev_window_destroy): quit after destroy.
5251 (ev_window_class_init): override GtkObject::destroy.
5252 (entries): install close_window callback.
5254 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5256 * Makefile.am (SUBDIRS): add data subdir.
5258 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5259 gtk+ 2.5.0 for GtkAboutDialog.
5261 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5264 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5266 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5268 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5270 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5272 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5274 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5276 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5278 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5280 * shell/*: Added shell directory boilerplate, build it.
5282 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5284 * configure.ac, Makefile.am: Added top-level configure.ac and