1 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3 * cut-n-paste/toolbar-editor/Makefile.am:
7 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
10 * cut-n-paste/recent-files/egg-recent-model.c:
11 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
12 (egg_recent_model_unlock_file):
13 * cut-n-paste/recent-files/egg-recent-util.c:
14 (egg_recent_util_get_unique_id):
15 * cut-n-paste/recent-files/update-from-egg.sh:
16 * cut-n-paste/toolbar-editor/Makefile.am:
17 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
18 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
19 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
20 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
21 (egg_toolbars_model_get_type):
22 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
24 Better makefile for toolbar editor and update everything
27 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
29 * shell/ev-window.c: (update_document_mode):
31 Prefer presentation mode when the document
34 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
39 Add control-equal for zooming
41 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
43 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
45 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
47 * backend/ev-document.c: (ev_document_get_orientation):
48 * backend/ev-document.h:
50 * ps/ps-document.c: (ps_document_get_orientation),
51 (ps_document_set_orientation), (ps_document_document_iface_init):
53 Add a get_orientation api. Improve set_orientation.
56 * shell/ev-view.c: (ev_view_set_orientation),
57 (ev_view_rotate_right), (ev_view_rotate_left):
59 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
60 (ev_window_cmd_edit_rotate_right):
62 Better ui for changing document orientation
64 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
66 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
67 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
68 * shell/ev-sidebar-links.h:
69 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
70 (ev_sidebar_page_iface_init):
71 * shell/ev-sidebar-page.h:
72 * shell/ev-sidebar-thumbnails.c:
73 (ev_sidebar_thumbnails_get_property),
74 (ev_sidebar_thumbnails_class_init),
75 (ev_sidebar_thumbnails_set_document):
76 * shell/ev-sidebar-thumbnails.h:
77 * shell/ev-view.c: (ev_view_motion_notify_event):
78 * shell/ev-window.c: (update_chrome_visibility),
79 (ev_window_cmd_focus_page_selector),
80 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
81 (sidebar_page_main_widget_update_cb), (ev_window_init):
83 Autoraise toolbar on GoToPage binding and fix bindings in
84 EvSidebarThumbnails page.
86 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
88 * shell/ev-properties.c: (update_progress_label):
90 Hide the progress label when finished; bug #307697.
92 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
96 Enable is_open for links, you will need poppler cvs
98 * shell/ev-properties.c: (job_fonts_finished_cb):
100 Get a lock on the document when filling the tree view
102 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
104 * backend/ev-document-links.h:
106 * shell/ev-sidebar-links.c: (create_loading_model),
107 (expand_open_links), (job_finished_callback):
109 Expand links when specified by the document.
110 Depend on a poppler api (defined out for now)
112 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
114 * shell/ev-properties.c: (ev_properties_dispose),
115 (ev_properties_class_init), (dialog_destroy_cb),
116 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
117 (ev_properties_set_document), (ev_properties_new),
118 (ev_properties_show):
119 * shell/ev-properties.h:
121 Make it an object, cleanup the code, api to show it as transient
122 and to set the document.
124 * shell/ev-window.c: (ev_window_setup_document),
125 (ev_window_cmd_file_properties):
127 Adapt to EvProperties changes, do not show multiple
128 times, update it when document changes.
130 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
133 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
134 (ps_document_set_orientation), (ps_document_document_iface_init):
137 Implement orientation here too
139 * shell/ev-properties.c: (ev_properties_new):
140 * data/evince-properties.glade:
142 Hide the fonts page for backends that doesnt
145 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
147 * backend/ev-document.c: (ev_document_set_orientation):
148 * backend/ev-document.h:
151 Add orientation api. Currently poppler api is not optimal,
152 we need to set orientation every time we _get a page.
153 I will try to fix that at some point.
155 * data/evince-ui.xml:
156 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
157 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
159 Add orientation menu items
161 * shell/ev-page-cache.c: (ev_page_cache_clear):
162 * shell/ev-page-cache.h:
164 Add api to clear the cache
166 * shell/ev-view.c: (setup_caches), (clear_caches),
167 (ev_view_set_document), (ev_view_zoom_out),
168 (ev_view_set_orientation):
171 Implement orientation changing
173 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
175 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
176 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
177 * backend/ev-document-fonts.h:
179 Separate scan and fill so that we can incrementally fill from
180 the main thread. Add a progress api.
182 * data/evince-properties.glade:
184 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
186 * shell/ev-properties.c: (update_progress_label),
187 (job_fonts_finished_cb), (setup_fonts_view):
189 Incrementally feel the list and show the progress
190 percentage in a label like acrobat does.
192 You are going to need poppler cvs
194 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
196 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
197 * backend/ev-document-fonts.h:
200 Make fonts model fill incrementally.
202 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
203 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
204 (ev_job_queue_remove_job):
205 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
206 (ev_job_fonts_new), (ev_job_fonts_run):
209 New job for fonts scanning
211 * shell/ev-properties.c: (job_fonts_finished_cb),
212 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
213 * shell/ev-properties.h:
214 * shell/ev-window.c: (ev_window_cmd_file_properties):
216 Incrementally feel the treeview using the new job. Show Loading...
217 message until scanning is completed.
219 Hopefully I didnt break the build without the poppler patch.
221 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
223 * shell/ev-application.c: (ev_application_open):
224 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
225 (ev_document_type_get_type), (ev_document_type_lookup):
226 * shell/ev-document-types.h:
227 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
228 * shell/ev-job-xfer.h:
229 * shell/ev-window.c: (ev_window_clear_local_uri),
230 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
231 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
232 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
234 Transfer remote documents to tmp directory to display them later.
236 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
238 * backend/ev-document-info.h:
239 * shell/ev-properties.c: (ev_properties_new):
241 s/GTime*/GTime. Not sure why we was using a pointer
244 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
246 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
247 situations. That situation is that you're using GTK+-HEAD with
248 the patch at #306726 is applied, and you have a document with <
249 1500 pages in it. It's not quite as uniformly nice as the
250 TreeView, but should be better in the long run.
252 I'm pretty sure I guarded against breaking compilation with
253 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
256 * shell/ev-window.c (ev_window_init): We don't have our tree/list
257 widget yet, so I commented that code out
258 enable_view_actions_for_widget() for now. Need to figure this
261 * shell/ev-page-action.c (match_selected_cb): emit the right
262 signals. Our cool C-l completion now works.
264 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
266 * backend/Makefile.am:
267 * backend/ev-document-fonts.c:
268 * backend/ev-document-links.c:
269 * backend/ev-document.c: (ev_document_load):
270 * backend/ev-document.h:
271 * backend/ev-job-queue.c:
272 * backend/ev-job-queue.h:
275 * backend/ev-page-cache.c:
276 * backend/ev-page-cache.h:
278 EvPageCache and EvJobs are moved to shell.
280 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
282 * lib/ev-file-helpers.h:
284 New helper to work with temporary files
287 * shell/ev-application.c: (ev_application_open):
288 * shell/ev-application.h:
289 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
290 (remove_job_from_async_queue), (add_job_to_async_queue),
291 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
292 (handle_job), (search_for_jobs_unlocked),
293 (no_jobs_available_unlocked), (ev_render_thread),
294 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
295 (ev_job_queue_add_job), (move_job_async), (move_job),
296 (ev_job_queue_update_job), (ev_job_queue_remove_job):
297 * shell/ev-job-queue.h:
298 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
299 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
300 * shell/ev-job-xfer.h:
301 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
302 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
303 (ev_job_links_class_init), (ev_job_render_init),
304 (ev_job_render_dispose), (ev_job_render_class_init),
305 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
306 (ev_job_thumbnail_class_init), (ev_job_load_init),
307 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
308 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
309 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
310 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
312 * shell/ev-page-action.c: (ev_page_action_set_document):
313 * shell/ev-page-cache.c: (ev_page_cache_init),
314 (ev_page_cache_class_init), (ev_page_cache_finalize),
315 (ev_page_cache_new), (ev_page_cache_get_n_pages),
316 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
317 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
318 (ev_page_cache_get_title), (ev_page_cache_get_size),
319 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
320 (ev_page_cache_get_height_to_page),
321 (ev_page_cache_get_max_label_chars),
322 (ev_page_cache_get_page_label),
323 (ev_page_cache_has_nonnumeric_page_labels),
324 (ev_page_cache_get_info), (ev_page_cache_next_page),
325 (ev_page_cache_prev_page), (ev_page_cache_get):
326 * shell/ev-page-cache.h:
327 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
328 (ev_pixbuf_cache_clear_job_sizes),
329 (ev_pixbuf_cache_add_jobs_if_needed),
330 (ev_pixbuf_cache_set_page_range):
331 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
332 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
333 * shell/ev-sidebar-thumbnails.c:
334 (ev_sidebar_tree_selection_changed),
335 (ev_sidebar_thumbnails_set_document):
336 * shell/ev-statusbar.c: (ev_statusbar_destroy),
337 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
338 (ev_statusbar_get_context_id), (ev_statusbar_push),
339 (ev_statusbar_pop), (ev_statusbar_set_maximized),
340 (ev_statusbar_pulse), (ev_statusbar_show_progress),
341 (ev_statusbar_set_progress):
342 * shell/ev-statusbar.h:
343 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
344 (ev_view_find_previous):
345 * shell/ev-window.c: (ev_window_is_empty),
346 (ev_window_setup_document), (password_dialog_response),
347 (ev_window_clear_jobs), (ev_window_load_job_cb),
348 (ev_window_xfer_job_cb), (ev_window_open_uri),
349 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
350 (ev_window_print), (ev_window_print_range),
351 (ev_window_state_event), (ev_window_cmd_view_reload),
352 (menu_item_select_cb), (menu_item_deselect_cb),
353 (view_status_changed_cb), (ev_window_dispose),
354 (drag_data_received_cb), (ev_window_init):
356 * shell/main.c: (load_files):
358 New statusbar to show progress on idle. Two new jobs -
359 xfer job and load job to load document in background. And update
360 of page_cache clients to new location of code.
362 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
364 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
365 selection in open dialog. It also remembers the last visited directory
366 in the current session.
368 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
370 * shell/ev-properties.c: (ev_properties_new):
371 * shell/ev-properties.h:
372 * shell/ev-window.c: (ev_window_cmd_file_properties):
374 Get document info from page cache instead of document itself.
375 This should fix crash related to race conditions described in
378 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
380 * ps/ps-document.c: (ps_document_init),
381 (send_ps), (get_page_box), (output), (catchPipe), (input),
382 (stop_interpreter), (file_length), (file_readable),
383 (check_filecompressedb), (ps_document_enable_interpreter),
384 (document_load), (ps_async_renderer_render_pixbuf):
387 Big cleanup of the ps code
389 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
391 * backend/Makefile.am:
392 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
393 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
394 * backend/ev-async-renderer.h:
396 Add an async renderer interface (method + callback) which
397 is useful for backends like ps.
399 * backend/ev-job-queue.c: (remove_job_from_async_queue),
400 (add_job_to_async_queue), (job_finished_cb), (handle_job),
401 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
402 (ev_job_queue_add_job), (move_job_async), (move_job),
403 (ev_job_queue_update_job), (ev_job_queue_remove_job):
405 Add queues for async renderer, these are executed on the
408 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
412 If the backend support async renderer interface use it.
414 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
415 (setup_pixmap), (ps_document_get_type),
416 (ps_async_renderer_render_pixbuf),
417 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
419 Implement async renderer interface.
421 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
423 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
425 Cleanup links job on exit.
427 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
429 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
430 (drag_data_get_cb), (drag_data_received_cb):
431 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
432 (drag_data_get_cb), (parse_item_list),
433 (egg_toolbar_editor_load_actions):
434 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
435 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
436 (parse_item_list), (parse_toolbars):
437 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
438 (dvi_pixbuf_put_pixel):
442 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
444 * ps/ps-document.c: (start_interpreter):
446 Fix warning when loading ps
448 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
450 * ps/ps-document.c: (output):
452 Fix crash when priting gs error messages.
454 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
456 * backend/ev-page-cache.c: (_ev_page_cache_new):
457 * backend/ev-page-cache.h:
459 Use a const to return title so that we dont double
460 free it. Small cleanup and fix a leak.
462 * shell/ev-window.c: (update_window_title):
464 strdup value from get_title.
466 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
468 * shell/ev-sidebar-links.c: (job_finished_callback),
469 (ev_sidebar_links_set_document):
471 Cleanup the old job when changing document
473 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
475 * shell/ev-stock-icons.c:
476 * shell/ev-stock-icons.h:
479 Add stock icons for actions that can appear in toolbar. Fix for
482 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
484 * backend/ev-page-cache.c: (ev_page_cache_finalize),
485 (_ev_page_cache_new), (ev_page_cache_get_max_width),
486 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
487 * backend/ev-page-cache.h:
488 * shell/ev-view.c: (scroll_to_current_page),
489 (view_update_range_and_current_page), (get_page_y_offset),
490 (get_page_extents), (ev_view_size_request_continuous_dual_page),
491 (ev_view_size_request_continuous),
492 (ev_view_zoom_for_size_continuous_and_dual_page),
493 (ev_view_zoom_for_size_continuous):
495 More compact EvView layout in document with pages of different size.
497 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
499 * shell/ev-window.c (ev_window_cmd_file_properties): fix
502 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
504 * shell/ev-view.c: (view_set_adjustment_values):
505 * shell/ev-window.c: (ev_window_cmd_file_properties):
507 A bit different fix for rounding problem but it has no
508 problems on startup. Make properties window transient to parent.
510 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
514 More commenting of font stuff.
516 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
520 Comment out some more fonts stuff. Should really
521 work without the poppler patch now.
523 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
529 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
531 * data/evince-properties.glade:
533 * shell/ev-properties.c: (setup_fonts_view):
535 Set the column title. Show the dialog only
536 once everything is setup.
537 Getting font info can be very slow... will
538 prolly need to make this threaded too.
540 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
542 * backend/Makefile.am:
543 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
544 (ev_document_fonts_get_fonts_model):
545 * backend/ev-document-fonts.h:
546 * data/evince-properties.glade:
548 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
549 * shell/ev-properties.h:
550 * shell/ev-window.c: (ev_window_cmd_file_properties):
552 Implement fonts list. Defined out for now, since it depends
553 on a not yet committed poppler patch.
555 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
557 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
560 * shell/ev-window.c: Make sure we add the timeout when we get a
563 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
564 adjustment->value before calculating the zoom factor to average
565 out all of our rounding errors. The page no longer 'drifts' when
568 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
570 * data/evince-properties.glade:
571 * shell/ev-properties.c: (ev_properties_format_date),
574 Labels don't expand when the dialogue is resized.
575 strftime result needs to be converted to UTF-8. Thanks
576 to Christian Persch <chpe@gnome.org>.
578 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
580 * data/evince-properties.glade:
584 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
586 * backend/ev-document-info.h:
587 * backend/ev-document.c: (ev_document_info_free):
588 * data/evince-properties.glade:
590 * ps/ps-document.c: (ps_document_get_info):
591 * shell/ev-properties.c: (ev_properties_format_date),
592 (set_property), (ev_properties_new):
593 * shell/ev-properties.h:
594 * shell/ev-window.c: (ev_window_cmd_file_properties):
596 Rework properties code to take only EvPropertyInfo
597 in the constructor so that it can be useful for
600 Deal with backends that doesnt support some properties.
601 Make set property code generic.
603 2005-06-04 Christian Persch <chpe@gnome.org>
605 * data/evince-properties.glade:
607 fix spacings, make resizeable, and make data labels
608 selectable + ellipsised
610 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
612 * backend/ev-document-info.h:
614 * data/evince-ui.xml:
617 * shell/ev-window.c: (update_action_sensitivity),
618 (ev_window_cmd_file_properties):
620 Initial go at file properties. Patch by
621 Emil Soleyman-Zomalan <emil@soleyman.com>.
622 Needs love see #169583
624 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
626 * ps/ps-document.c: (output):
629 Try to render even if psscan fails.
631 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
633 * ps/ps.c: (psscan), (pscopydoc):
635 Port buffered reading code from gv
637 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
639 * ps/ps-document.c: (interpreter_message), (output):
641 Do not fail on interpreter messages
643 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
645 * backend/ev-document-misc.c:
646 (ev_document_misc_get_thumbnail_frame):
648 Pages can be 0 x 0, dont assert on this case
650 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
652 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
653 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
655 Correctly manage our reference on document. Finally the reload
658 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
660 * ps/ps-document.c: (ps_document_dispose):
662 Forgot to chain it to the parent. Thanks chpe.
664 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
666 * ps/ps-document.c: (ps_document_dispose),
667 (ps_document_class_init), (stop_interpreter), (document_load):
669 Cleanup dispose a bit. Dont leak the whole pixmap.
671 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
675 Release the poppler document on dispose
677 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
679 * shell/ev-view.c: (ev_view_set_document):
681 Release ref on the pixbuf cache when changing
684 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
686 * ps/ps-document.c: (ps_document_get_info):
690 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
692 * backend/ev-page-cache.c: (ev_page_cache_init),
693 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
694 * backend/ev-page-cache.h:
695 * shell/ev-page-action.c: (page_changed_cb):
697 Set page action entry width depending on labels width. Fix
700 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
702 * backend/ev-link.c: (ev_link_class_init):
704 Allow -1 as page value (error)
706 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
708 * shell/ev-sidebar-thumbnails.c:
709 (ev_sidebar_thumbnails_set_document):
710 * shell/ev-view.c: (scroll_to_current_page),
711 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
712 (page_changed_cb), (on_adjustment_value_changed),
713 (ev_view_set_document):
715 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
718 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
721 * djvu/djvu-document.c: (djvu_document_get_page_size):
723 Require djvulibre CVS. Now djvu loading is much faster. Fix for
726 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
728 * shell/ev-view.c (draw_one_page): modify the expose handling to
731 * shell/ev-window.c (update_action_sensitivity): Respect
732 permissions field. Kowtow to the man.
734 * pdf/ev-poppler.cc: Get the permissions field.
736 * tiff/*c: Make a tiny bit more robust.
738 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
740 * djvu/djvu-document.c:
742 Pop messages from djvu context message queue.
744 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
746 * configure.ac, Makefile.am, shell/Makefile.am:
747 * tiff/Makefile.am, shell/ev-document-types.c:
749 Cleanup tiff configure checks. Fix for bug 305218.
751 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
753 * configure.ac: Added "uk" to ALL_LINGUAS.
755 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
757 * cut-n-paste/zoom-control/ephy-zoom.c:
758 (ephy_zoom_get_changed_zoom_level):
759 * cut-n-paste/zoom-control/ephy-zoom.h:
760 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
761 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
762 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
763 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
764 (zoom_control_changed_cb), (ev_window_init):
766 Fix minor points related to moving best fit up. Introduce
767 "zoom" property and make zoom control change it's value on
768 notify::zoom signals. Fix for 305080.
770 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
772 * data/evince-ui.xml:
773 * shell/ev-window.c: (set_view_actions_sensitivity):
775 Use + and - as accels for zoom in and zoom out. Fix for 305001.
777 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
781 Depends on poppler 0.3.2
783 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
785 * cut-n-paste/recent-files/egg-recent-item.c:
786 (egg_recent_item_get_short_name):
787 * cut-n-paste/toolbar-editor/Makefile.am:
788 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
789 (new_pixbuf_from_widget):
790 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
791 * cut-n-paste/toolbar-editor/egg-marshal.c:
792 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
793 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
797 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
799 * tiff/tiff-document.c: Rough TIFF backend.
801 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
805 * cut-n-paste/toolbar-editor/Makefile.am:
809 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
811 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
812 (ev_view_find_next), (ev_view_find_previous):
814 Remove the locks around get_n_results
816 2005-05-21 Juerg Billeter <j@bitron.ch>
818 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
820 Pass correct number of pages to poppler.
822 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
826 * data/evince.desktop.in:
827 * data/evince.desktop.in.in:
830 Add conditionally dvi and djvu to desktop types. Fix for 304658.
832 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
834 * shell/ev-view.c: (view_update_adjustments),
835 (view_set_adjustment_values): cast adjustmen->value to (int)
836 before using it. Otherwise, we get off by a pixel in some
839 (draw_one_page): Draw the border on expose.
841 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
843 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
844 adjustment when the mode changes, #304923
846 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
848 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
849 flickering on resize but still use gdk_window_scroll on
852 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
854 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
857 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
859 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
860 second page on page_changed if possible, #304669
862 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
864 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
865 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
867 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
870 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
871 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
872 (ev_view_zoom_for_size_presentation),
873 (ev_view_zoom_for_size_continuous_and_dual_page),
874 (ev_view_zoom_for_size_continuous),
875 (ev_view_zoom_for_size_dual_page),
876 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
878 * shell/ev-window.c: (update_view_size),
879 (ev_window_sizing_mode_changed_cb):
881 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
882 the scrollbars. It's not 100% right, but it's much closer. Kills
883 an infinite loop, #304769
886 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
888 * data/evince-ui.xml:
889 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
890 * shell/ev-window.c: (set_view_actions_sensitivity):
892 Make PgUp/Down behave like Space
894 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
896 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
897 * backend/ev-ps-exporter.h:
899 * ps/ps-document.c: (ps_document_ps_export_begin):
900 * shell/ev-print-job.c: (idle_print_handler):
902 Adapt to new poppler api
904 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
906 * cut-n-paste/zoom-control/ephy-zoom-control.c:
907 (ephy_zoom_control_init):
909 Translate zoom levels
911 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
913 * cut-n-paste/zoom-control/ephy-zoom.c:
914 (ephy_zoom_get_zoom_level_index):
916 Fix current zoom -> zoom control match
918 2005-05-18 James Bowes <bowes@cs.dal.ca>
920 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
921 rather than the scrolled_window that it's in. Fixes bug #304655.
923 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
925 * shell/ev-view.c: (view_update_adjustments),
926 (view_set_adjustment_values), (view_update_range_and_current_page),
927 (view_scroll_to_page), (set_scroll_adjustment),
928 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
929 (ev_view_scroll), (ev_view_scroll_view),
930 (ensure_rectangle_is_visible), (find_page_at_location),
931 (get_link_at_location), (go_to_link), (status_message_from_link),
932 (ev_view_size_request_continuous_dual_page),
933 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
934 (ev_view_unrealize), (ev_view_expose_event),
935 (ev_view_button_press_event), (ev_view_motion_notify_event),
936 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
937 (draw_rubberband), (highlight_find_results), (draw_one_page),
938 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
939 (ev_view_init), (find_changed_cb), (page_changed_cb),
940 (on_adjustment_value_changed), (ev_view_new),
941 (ev_view_set_document), (ev_view_set_zoom),
942 (ev_view_set_continuous), (ev_view_set_dual_page),
943 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
944 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
945 (ev_view_zoom_for_size_presentation),
946 (ev_view_zoom_for_size_continuous_dual_page),
947 (ev_view_zoom_for_size_continuous),
948 (ev_view_zoom_for_size_dual_page),
949 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
950 (ev_view_get_status), (ev_view_set_status),
951 (update_find_status_message), (ev_view_get_find_status),
952 (ev_view_set_find_status), (jump_to_find_result),
953 (jump_to_find_page), (compute_selections), (clear_selection),
954 (ev_view_select_all), (get_selected_text), (ev_view_copy),
955 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
956 (ev_view_update_primary_selection),
957 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
959 * shell/ev-window.c: (ev_window_open_page_label),
960 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
963 * shell/main.c: (load_files):
965 Massive code clean up from Nickolay Shmyrev. Keep page offset
966 when resizing. Remove the bin_window(). Also, patch from James
967 Bowes to fix command line page, #300641
969 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
971 * data/evince-ui.xml:
974 * shell/ev-window.c: (update_action_sensitivity):
976 Get rid of View->Normal Size, it's just confusing
978 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
980 * backend/ev-document-info.h:
981 * backend/ev-document.c: (ev_document_info_free): Free the
984 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
985 (clear_range), (add_range), (update_visible_range),
986 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
987 (ev_sidebar_thumbnails_set_document):
988 * shell/ev-window.c: (ev_window_setup_document): Only render the
989 visible thumbnails. It takes an instant to render, but it uses
992 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
994 * shell/ev-sidebar-links.c: (popup_menu_cb):
998 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1001 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
1002 (button_press_cb), (ev_sidebar_links_construct):
1004 Show the popup menu also on keybindings
1006 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
1008 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
1009 * shell/ev-window.h:
1011 Expose api to print a range (with dialog). Make private _print use
1014 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
1015 (ev_sidebar_links_construct):
1017 Show a print context menu on linkx, it prints the selected
1020 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
1022 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
1025 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
1031 * shell/ev-window.c: (build_comments_string),
1032 (ev_window_cmd_help_about):
1034 Show poppler version/backend and authors
1036 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1038 * cut-n-paste/zoom-control/ephy-zoom.c:
1039 (ephy_zoom_get_zoom_level_index):
1040 * cut-n-paste/zoom-control/ephy-zoom.h:
1042 Move the best fit items at the top of the list
1044 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1046 * shell/ev-marshal.list:
1047 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1048 (activate_cb), (match_selected_cb), (activate_link_cb),
1049 (connect_proxy), (ev_page_action_class_init):
1050 * shell/ev-page-action.h:
1052 Use signals to notify action activation. Hopefully
1053 I did not break completion since I cant test...
1055 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1056 (register_custom_actions):
1058 Connect to page selector actions and also grab focus on
1059 the view when activated.
1061 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1063 * pdf/ev-poppler.cc:
1064 * backend/ev-page-cache.c: make page size calculation consistent
1065 and set it to (int)( width * scale + 0.5). This makes the weird
1066 line going through the middle of the page go away.
1068 * shell/ev-view.c: move painting the background page after
1069 checking the expose area covers us.
1071 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1073 * data/evince-password.glade:
1075 Mark labels as not translatable. Fix for bug 302842.
1077 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1079 * configure.ac: Added "es" to ALL_LINGUAS.
1081 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1083 * data/evince-toolbar.xml:
1084 * shell/ev-window.c: (update_action_sensitivity),
1085 (ev_window_setup_document), (ev_window_set_page_mode),
1088 Remove some leftover code from jrb first continous
1089 attempt. Use the new actions, we still need good icons
1092 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1094 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1096 Update label when connecting proxy. Fix a warning with NULL
1099 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1101 * data/evince-ui.xml:
1102 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1103 * shell/ev-page-action.h:
1104 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1106 Add mnemonic for edit toolbar.
1107 ctrl+l focus the page entry.
1109 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1112 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1114 * shell/main.c: (main):
1116 Put the toolbar xml in evince own dot dir
1118 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1120 * shell/ev-window.c: (ev_window_init):
1122 Make the toolbar not removable
1124 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1126 * data/evince-ui.xml:
1127 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1128 * shell/ev-sidebar-links.h:
1129 * shell/ev-sidebar-thumbnails.c:
1130 (ev_sidebar_thumbnails_get_treeview):
1131 * shell/ev-sidebar-thumbnails.h:
1132 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1133 (ev_view_class_init):
1135 * shell/ev-window.c: (update_action_sensitivity),
1136 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1137 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1138 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1141 This is evil... Make space/backspace global accelerators but
1142 enable them only for some widgets (sidebars and view).
1143 I dont like it, but I dont know a better way... :/
1145 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1147 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1148 (ev_page_action_widget_finalize),
1149 (ev_page_action_widget_class_init), (update_page_cache):
1151 Keep a weak reference on proxy->page_cache so that we
1152 dont try to disconnect the signal if the object is already
1153 gone. Maybe there is a better way to cleanup reference handling
1154 in page action though...
1156 2005-05-10 Juerg Billeter <j@bitron.ch>
1158 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1159 * backend/ev-ps-exporter.h:
1160 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1161 * ps/ps-document.c: (ps_document_ps_export_begin):
1163 Change api to pass print range to ps_exporter_begin. The pdf backend
1164 requires this information.
1166 * shell/ev-print-job.c: (idle_print_handler):
1170 2005-05-10 Juerg Billeter <j@bitron.ch>
1172 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1173 (idle_print_handler)
1174 * shell/ev-window.c: (ev_window_print):
1176 Support printing page range, based on patch by Amaury Jacquot
1178 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1180 * data/evince-toolbar.xml:
1182 Add zoom control to available items
1184 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1186 * shell/ev-window.c: (update_action_sensitivity):
1188 Set slash action insensitive when appropriate
1190 2005-05-10 Christian Persch <chpe@gnome.org>
1192 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1194 Fix warning on the overflow menu
1196 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1198 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1200 Check for uri correctness/existence
1202 2005-05-09 Juerg Billeter <j@bitron.ch>
1204 * shell/ev-window.c: (using_postscript_printer):
1206 LPD printers use postscript, too
1208 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1210 * shell/ev-window.c: (register_custom_actions):
1212 The zoom one is actually sort of useful,
1215 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1217 * shell/ev-window.c: (register_custom_actions):
1219 Hide page/zoom controls from overflow, they
1222 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1224 * cut-n-paste/update-from-egg.sh:
1226 Share it between all cut-n-paste subdirs
1228 * cut-n-paste/recent-files/Makefile.am:
1230 Fix to use "global" update-from-egg.sh
1232 * cut-n-paste/recent-files/egg-recent-model.c:
1233 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1234 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1235 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1236 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1240 * cut-n-paste/toolbar-editor/Makefile.am:
1242 Fix to use "global" update-from-egg.sh
1244 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1248 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1251 * cut-n-paste/Makefile.am:
1252 * cut-n-paste/recent-files/Makefile.am:
1253 * cut-n-paste/toolbar-editor/.cvsignore:
1254 * cut-n-paste/toolbar-editor/Makefile.am:
1255 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1256 (egg_editable_toolbar_get_type), (get_toolbar_position),
1257 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1258 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1259 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1260 (set_item_drag_source), (create_item_from_action), (create_item),
1261 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1262 (popup_toolbar_context_menu_cb), (free_dragged_item),
1263 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1264 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1265 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1266 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1267 (item_added_cb), (item_removed_cb),
1268 (egg_editable_toolbar_construct),
1269 (egg_editable_toolbar_disconnect_model),
1270 (egg_editable_toolbar_deconstruct),
1271 (egg_editable_toolbar_set_model),
1272 (egg_editable_toolbar_set_ui_manager),
1273 (egg_editable_toolbar_set_property),
1274 (egg_editable_toolbar_get_property),
1275 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1276 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1277 (egg_editable_toolbar_new_with_model),
1278 (egg_editable_toolbar_get_edit_mode),
1279 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1280 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1281 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1282 (new_pixbuf_from_widget), (new_separator_pixbuf),
1283 (update_separator_image), (style_set_cb),
1284 (_egg_editable_toolbar_new_separator_image),
1285 (egg_editable_toolbar_get_model):
1286 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1287 * cut-n-paste/toolbar-editor/egg-marshal.c:
1288 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1289 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1290 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1291 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1292 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1293 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1294 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1295 (editor_drag_data_delete_cb), (drag_data_get_cb),
1296 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1297 (editor_create_item), (update_editor_sheet), (setup_editor),
1298 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1299 (parse_item_list), (model_has_action), (update_actions_list),
1300 (egg_toolbar_editor_load_actions):
1301 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
1302 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1303 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
1304 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
1305 (toolbars_item_new), (free_toolbar_node), (free_item_node),
1306 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
1307 (egg_toolbars_model_add_separator), (impl_add_item),
1308 (parse_item_list), (egg_toolbars_model_add_toolbar),
1309 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
1310 (impl_get_item_data), (impl_get_item_type),
1311 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
1312 (egg_toolbars_model_init), (free_toolbar),
1313 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
1314 (egg_toolbars_model_remove_toolbar),
1315 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
1316 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
1317 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
1318 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
1319 (egg_toolbars_model_get_item_data),
1320 (egg_toolbars_model_get_item_type):
1321 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1322 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1324 * data/evince-toolbar.xml:
1325 * data/evince-ui.xml:
1326 * data/hand-open.png:
1328 * shell/Makefile.am:
1329 * shell/ev-window.c: (update_chrome_visibility),
1330 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
1331 (ev_window_dispose), (ev_window_init):
1333 Implement epiphany like toolbar editor. Based on patch by
1334 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1336 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1338 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
1340 Use set_cursor instead of set_selection, so that
1341 the keyboard focus moves too.
1343 2005-05-09 Aleksey Kliger <akliger@gmail.com>
1345 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
1347 Fix infinite loop when loading Type1 fonts
1349 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1351 * data/evince-ui.xml:
1352 * shell/ev-window.c:
1356 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
1360 Make --disable really disable
1362 2005-05-07 Juerg Billeter <j@bitron.ch>
1364 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
1366 Compare page labels even without has_labels set, fixes setting page
1369 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1371 * shell/ev-view.c: (ev_view_create_invisible_cursor),
1372 (ev_view_set_cursor), (ev_view_button_press_event),
1373 (ev_view_motion_notify_event), (ev_view_button_release_event),
1376 Implement middle button scrolling. Based on a patch
1377 by Tommi Komulainen <tommi.komulainen@iki.fi>.
1379 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
1381 * shell/ev-document-types.c: (get_slow_mime_type),
1382 (get_document_type_from_mime), (ev_document_type_lookup):
1383 * shell/ev-document-types.h:
1385 Change api to lookup from uri. Do fast lookup first, if the
1386 type is unknown try with data sniffing.
1388 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
1389 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1393 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1395 * thumbnailer/Makefile.am:
1399 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1406 * data/evince-ui.xml:
1408 Hide presentation mode for now
1410 * shell/ev-view.c: (highlight_find_results):
1412 Show current find selection only on current page
1414 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1416 * shell/ev-view.c: (ev_view_select_all):
1418 Compute size of the actual page, not of
1421 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1423 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
1424 (view_rect_to_doc_rect), (compute_selections),
1425 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
1426 (ev_view_copy), (ev_view_primary_get_cb),
1427 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
1428 (ev_view_button_press_event), (ev_view_motion_notify_event),
1429 (ev_view_button_release_event), (page_changed_cb):
1433 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1435 * shell/ev-view.c: (compute_border), (get_page_extents),
1436 (doc_rect_to_view_rect), (highlight_find_results),
1437 (ev_view_bin_expose), (ev_view_select_all),
1438 (ev_view_motion_notify_event), (update_find_status_message),
1439 (jump_to_find_result), (jump_to_find_page):
1441 First go at fixing search, still buggy
1443 2005-05-04 Kristian Høgsberg <krh@redhat.com>
1445 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
1446 dropdown box and button at the top of the sidebar.
1448 2005-05-02 James Bowes <bowes@cs.dal.ca>
1450 * configure.ac: Output zoom-control Makefile.
1451 * cut-n-paste/Makefile.am: build zoom-control subdir.
1452 * cut-n-paste/zoom-control/ephy-zoom-action.c:
1453 * cut-n-paste/zoom-control/ephy-zoom-action.h:
1454 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1455 * cut-n-paste/zoom-control/ephy-zoom-control.h:
1456 * cut-n-paste/zoom-control/ephy-zoom.c:
1457 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
1458 from epiphany, and modified to add a separator into the menu.
1459 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
1460 * data/evince-ui.xml: Replace old zoom toolbar actions with new
1461 zoom-control action.
1462 * shell/Makefile.am: Include zoom-control flags.
1463 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
1464 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
1465 (ev_view_zoom_for_size_presentation),
1466 (ev_view_zoom_for_size_continuous_and_dual_page),
1467 (ev_view_zoom_for_size_continuous),
1468 (ev_view_zoom_for_size_dual_page),
1469 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
1470 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
1471 ev_view_get_zoom and ev_view_get_sizing_mode.
1473 * shell/ev-window.c: (update_action_sensitivity),
1474 (update_sizing_buttons), (zoom_control_changed_cb),
1475 (register_custom_actions): Initialize and use the zoom-control
1478 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
1480 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
1481 preview cache back to 1. Don't know when it got set to 0.
1483 * shell/ev-view.c: (compute_border), (ev_view_realize),
1484 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
1485 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
1486 (ev_view_get_fullscreen), (ev_view_set_presentation),
1487 (ev_view_get_presentation), (ev_view_set_sizing_mode),
1488 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
1490 * shell/ev-window.c:
1491 (update_chrome_visibility),
1492 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1493 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1494 (update_document_mode), (ev_window_update_fullscreen_action),
1495 (ev_window_fullscreen), (ev_window_unfullscreen),
1496 (ev_window_cmd_view_fullscreen),
1497 (ev_window_update_presentation_action),
1498 (ev_window_run_presentation), (ev_window_stop_presentation),
1499 (ev_window_cmd_view_presentation), (ev_window_state_event),
1500 (ev_window_focus_in_event), (ev_window_focus_out_event),
1501 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
1502 * data/evince-ui.xml: Initial presentation mode. We should
1503 probably hide this until it's done, as it's quite rough. Also,
1504 change full-screen to fullscreen and add two getters to EvView.
1506 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1508 * shell/ev-page-action.c: (update_page_cache),
1509 (ev_page_action_dispose):
1510 * shell/ev-window.c: (destroy_fullscreen_popup),
1511 (ev_window_create_fullscreen_popup):
1513 Use connect_object rather than explicitly
1514 disconnect on dispose.
1516 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1518 * shell/ev-page-action.c: (update_page_cache),
1519 (ev_page_action_dispose):
1521 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1523 * backend/ev-page-cache.c: (_ev_page_cache_new),
1524 (ev_page_cache_set_page_label),
1525 (ev_page_cache_has_nonnumeric_page_labels):
1526 * backend/ev-page-cache.h:
1527 * shell/ev-page-action.c: (update_pages_label):
1529 If all page labels are numeric, fallback to default
1530 way to display number of pages. See bug 173185.
1532 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1534 * shell/ev-page-action.c: (ev_page_action_dispose):
1535 * shell/ev-view.c: (view_update_range_and_current_page):
1536 * shell/ev-window.c: (ev_window_dispose):
1538 Set page on scroll in continuous mode. Fixes bug 301986.
1539 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
1541 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
1545 Require poppler 0.3.0
1547 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1549 * shell/Makefile.am, configure.ac: Fix build problems
1550 with t1lib. Bug 301996.
1552 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1554 * shell/ev-view.c: (ev_view_scroll_event):
1556 Scroll up increase zoom
1558 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1560 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
1561 (ev_view_set_sizing_mode),
1562 (ev_view_zoom_for_size_continuous_and_dual_page),
1563 (ev_view_zoom_for_size_continuous):
1564 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
1565 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
1566 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
1569 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
1570 Fix for 165473 and 165472.
1572 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1575 * thumbnailer/Makefile.am:
1576 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
1577 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
1578 * thumbnailer/evince-thumbnailer.schemas.in:
1580 Make thumbnailer schemas translatable. Fix for bug 301773
1582 * thumbnailer/evince-thumbnailer-djvu.schemas:
1583 * thumbnailer/evince-thumbnailer-dvi.schemas:
1584 * thumbnailer/evince-thumbnailer.schemas:
1588 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
1590 * shell/ev-view.c (ev_view_init): forgot to set this.
1592 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
1594 * shell/ev-view.c: (find_page_at_location),
1595 (get_link_at_location),
1596 (ev_view_set_show_border), (ev_view_set_spacing),
1597 (ev_view_zoom_for_size_continuous_and_dual_page),
1598 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
1599 Also, add a quick fix measuring of widths. Also, removed
1600 ev_view_set_spacing and ev_view_set_show_border.
1602 * shell/ev-window.c: (ev_window_unfullscreen),
1603 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
1605 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1607 * shell/ev-view.c: (view_update_range_and_current_page),
1610 Fix crash on exit and scrolling to page in continuous view.
1612 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
1615 * backend/ev-page-cache.c: (_ev_page_cache_new),
1616 (ev_page_cache_get_max_width_size),
1617 (ev_page_cache_get_max_height_size):
1618 * backend/ev-page-cache.h:
1619 * data/evince-ui.xml:
1620 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
1621 * shell/ev-view.c: (view_update_adjustments),
1622 (view_update_range_and_current_page), (get_bounding_box_size),
1623 (ev_view_size_request_continuous_and_dual_page),
1624 (ev_view_size_request_continuous),
1625 (ev_view_size_request_dual_page),
1626 (ev_view_size_request_single_page), (ev_view_size_request),
1627 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
1628 (ev_view_bin_expose), (ev_view_expose_event),
1629 (ev_view_set_property), (ev_view_get_property),
1630 (ev_view_class_init), (ev_view_init), (ev_view_new),
1631 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
1632 (ev_view_set_dual_page), (ev_view_set_full_screen),
1633 (ev_view_set_presentation), (ev_view_set_sizing_mode),
1634 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
1635 (ev_view_zoom_out), (zoom_for_size_fit_width),
1636 (zoom_for_size_best_fit),
1637 (ev_view_zoom_for_size_continuous_and_dual_page),
1638 (ev_view_zoom_for_size_continuous),
1639 (ev_view_zoom_for_size_dual_page),
1640 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1641 (ev_view_show_cursor), (ev_sizing_mode_get_type):
1643 * shell/ev-window.c: (update_action_sensitivity),
1644 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1645 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1646 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
1647 (ev_window_cmd_view_zoom_out), (update_view_size),
1648 (ev_window_set_sizing_mode), (ev_window_init):
1650 Add Continuous and Dual page modes.
1652 2005-04-23 James Bowes <bowes@cs.dal.ca>
1654 * dvi/dvi-document.c: (dvi_document_load),
1655 (dvi_document_thumbnails_get_thumbnail),
1656 (dvi_document_init_params): Fix up some mixups between
1657 width and height to correct thumbnail rendering.
1659 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1661 * dvi/mdvi-lib/private.h:
1662 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
1664 Suppess output for kpathsea during font generation. Thanks to
1667 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
1674 * Makefile.am: fix distcheck.
1676 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1678 * shell/ev-sidebar-links.c: (selection_changed_callback),
1679 (update_page_callback), (row_activated_callback),
1680 (job_finished_callback), (ev_sidebar_links_set_document):
1682 Fix for bug #169901. Double click on links expands tree.
1684 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
1686 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
1687 hard-coded style. Fix for bug 170111
1689 2005-04-22 Kristian Høgsberg <krh@redhat.com>
1691 * shell/ev-view.c (highlight_find_results): Remove unnecessary
1694 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1696 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
1698 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1700 * pdf/ev-poppler.cc:
1701 * shell/ev-view.c: (highlight_find_results):
1703 Fix find on single page documents
1705 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1707 * data/evince.schemas.in: fix for bug 301390
1709 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1711 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
1712 (ev_view_zoom_out), (ev_view_zoom_normal):
1714 * shell/ev-window.c: (update_action_sensitivity),
1715 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1716 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
1717 (ev_window_cmd_view_normal_size):
1719 Fix normal size zoom. Make zoom in/zoom out unsensitive when
1720 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
1723 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1727 Depend on 2.57, 2.59 doesnt seem to be necessary
1729 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1731 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
1734 Put back total number of pages as (1 of 1234)
1736 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
1738 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
1741 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
1742 function. This helps debugging.
1744 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1746 * djvu/djvu-document.c: (djvu_document_class_init),
1747 (djvu_document_get_info), (djvu_document_document_iface_init):
1748 * dvi/dvi-document.c: (dvi_document_class_init),
1749 (dvi_document_get_info), (dvi_document_document_iface_init):
1751 Dummy implementation of get_info method for dvi and djvu. Fix
1752 crashes with those backends
1754 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
1756 * data/evince.desktop.in:
1758 Add application/x-gzpostscript
1760 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
1762 * data/evince.schemas.in: Added real long descriptions,
1765 * README: Added actual text, closes bug 171869
1767 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1769 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1773 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1775 * backend/ev-document-info.h:
1777 s/GDate */GDate so we can just use g_free
1779 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1781 * shell/ev-window.c: (update_document_mode),
1782 (ev_window_setup_document):
1784 Show the window in fullscreen when specified by
1787 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1789 * backend/ev-document.c: (ev_document_class_init),
1790 (ev_document_get_info), (ev_document_render_pixbuf):
1791 * backend/ev-document.h:
1792 * backend/ev-page-cache.c: (_ev_page_cache_new):
1793 * pdf/ev-poppler.cc:
1794 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
1795 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
1796 * ps/ps-document.c: (ps_document_class_init), (document_load),
1797 (ps_document_get_info), (ps_document_document_iface_init):
1799 Remove get_title from the interface, we can just use document info
1801 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1803 * backend/Makefile.am:
1804 * backend/ev-document.c: (ev_document_render_get_info):
1805 * backend/ev-document.h:
1806 * pdf/ev-poppler.cc:
1808 Initial support for document info. Based on jrb patch.
1810 2005-04-19 Paolo Borelli <pborelli@katamail.com>
1812 * shell/ev-window.c: (ev_window_state_event),
1813 (ev_window_class_init), (ev_window_init):
1815 Doesn't show resize grip when maximized. See bug #301053
1817 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1821 ev-sidebar-thumbnails now has translatable labels
1823 * shell/Makefile.am:
1824 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
1825 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
1826 (ev_sidebar_links_page_iface_init):
1827 * shell/ev-sidebar-links.h:
1828 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1829 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
1830 (ev_sidebar_page_get_label):
1831 * shell/ev-sidebar-page.h:
1832 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
1833 (ev_sidebar_thumbnails_set_document),
1834 (ev_sidebar_thumbnails_support_document),
1835 (ev_sidebar_thumbnails_get_label),
1836 (ev_sidebar_thumbnails_page_iface_init):
1837 * shell/ev-sidebar-thumbnails.h:
1838 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1839 (ev_sidebar_set_document):
1840 * shell/ev-sidebar.h:
1841 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
1843 Small rework of sidebar code. Now sidebar pages should implement
1844 EvSidebarPage interface. That makes page management in EvSidebar
1845 easier. See bug #164811 for details
1847 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1849 * shell/ev-application.c: (ev_application_open):
1850 * shell/ev-document-types.c:
1852 Fix build error and small problem with application exit
1854 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1856 * thumbnailer/Makefile.am:
1857 * thumbnailer/evince-thumbnailer-djvu.schemas:
1858 * thumbnailer/evince-thumbnailer-dvi.schemas:
1860 Conditionally install schemas for djvu/dvi thumbnailer
1862 2005-04-18 David Malcolm <dmalcolm@redhat.com>
1864 * shell/ev-document-types.h:
1865 * shell/ev-document-types.c:
1866 New files, handling the mapping from mimetypes to backends
1868 * shell/ev-window.c:
1869 * thumbnailer/evince-thumbnailer.c:
1870 Use the ev-document-types code
1872 * shell/Makefile.am:
1873 Added new convenience library libevbackendfactory_la, containing
1874 the new mimetype->backend logic; moved the backends into it.
1876 * thumbnailer/Makefile.am:
1877 Make the thumbnailer link with the libevbackend.la convenience
1878 library, rather than having a duplicate of the backend logic here.
1880 2005-04-18 Paolo Borelli <pborelli@katamail.com>
1882 * shell/ev-stock-icons.c: constify some vars.
1883 * shell/ev-window.c: ditto.
1885 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
1887 * ps/ps-document.c (get_page_orientation):
1889 Respect document orientation
1891 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1895 * shell/Makefile.am:
1897 Move library dependencies to components.
1899 * shell/ev-window.c: (update_window_title),
1900 (start_loading_document):
1902 Fix display of uris with spaces. Bug 168358.
1904 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
1906 * shell/ev-sidebar-links.c: (selection_changed_cb):
1907 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
1908 (ev_view_button_release_event), (ev_view_set_document):
1910 * shell/ev-window.c: (find_bar_search_changed_cb):
1911 * shell/ev-window.h: Minor cleanups removing some dead code.
1913 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1915 * backend/ev-page-cache.c: (_ev_page_cache_new):
1917 Set current page to 0 if document has pages.
1919 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1921 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1923 Initialize GError to NULL, fix a crash when loading fails.
1925 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1927 * shell/ev-window.c: (update_view_size):
1929 Calculate shadow size only when there is actually
1932 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1934 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
1937 Allow setting view spacing, default to 0
1939 * shell/ev-window.c: (ev_window_unfullscreen),
1940 (ev_window_cmd_view_fullscreen), (ev_window_init):
1942 Remove spacing in fullscreen mode
1944 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1946 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
1947 (ev_view_size_request), (expose_bin_window),
1948 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
1950 * shell/ev-window.c: (ev_window_unfullscreen),
1951 (ev_window_cmd_view_fullscreen):
1953 Do not draw the border in fulscreen
1955 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1957 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
1958 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
1959 (find_page_at_location), (page_changed_cb):
1961 Rework border calculation, so that I can more easily disable it.
1962 Code somewhat cleaner too.
1964 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1966 * backend/ev-page-cache.c: (ev_page_cache_init),
1967 (_ev_page_cache_new):
1969 Remove some assertions, documents can have 0 pages.
1970 Make initial current page -1.
1972 * shell/ev-page-action.c: (page_changed_cb):
1974 Show "" if current page is -1
1976 * shell/ev-window.c: (update_action_sensitivity),
1977 (ev_window_setup_document):
1979 When document has 0 pages do not set the view
1980 and make nearly everything insensitive.
1982 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1984 * shell/ev-page-view.c:
1985 * shell/ev-page-view.h:
1987 Remove unused files.
1989 * shell/ev-sidebar-thumbnails.c:
1990 (ev_sidebar_thumbnails_set_document):
1991 * shell/ev-sidebar.c: (ev_sidebar_set_document),
1992 (ev_sidebar_supports_document):
1993 * shell/ev-sidebar.h:
1994 * shell/ev-window.c: (ev_window_setup_document):
1996 Doesn't show thumbnails if document has 1 page. Make
1997 sidebar menu entries sensitive only if if they have
1998 sense. Fix bug 164811.
2000 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2002 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
2003 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
2004 (ev_view_zoom_out), (ev_view_set_size):
2006 Rework sizing to deal with documents with not uniform page
2009 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2011 * backend/ev-page-cache.c: (_ev_page_cache_new):
2013 Fix several page size caching bugs
2015 2005-04-15 Luca Ferretti <elle.uca@libero.it>
2017 * shell/ev-window.c: (set_action_properties):
2019 Make all toolbar items translatable
2021 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
2023 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
2024 (save_page_list), (ps_document_save),
2025 (ps_document_document_iface_init), (ps_document_ps_export_begin),
2026 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
2027 (ps_document_ps_exporter_iface_init):
2030 Based on a patch by J�rg Billeter <j@bitron.ch>
2032 Implement print and save a copy for the ps backend.
2034 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
2036 * backend/ev-document.h:
2037 * djvu/djvu-document.c: (djvu_document_can_get_text),
2038 (djvu_document_document_iface_init):
2039 * dvi/dvi-document.c: (dvi_document_can_get_text),
2040 (dvi_document_document_iface_init):
2041 * pdf/ev-poppler.cc:
2042 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
2043 (pixbuf_document_document_iface_init):
2044 * ps/ps-document.c: (ps_document_can_get_text),
2045 (ps_document_document_iface_init):
2046 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2047 * shell/ev-window.c: (update_action_sensitivity):
2049 Fix the crash when trying to copy in backends that doesnt
2050 support it. We can implement a better solution once we
2051 do real text selection.
2053 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2055 * data/evince-ui.xml:
2056 * shell/ev-window.c: (ev_window_cmd_escape):
2058 Work around the Escape conflict (find bar and unfullscreen)
2060 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2062 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2064 Fix for #300233. Next page correctly handles document end.
2066 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2067 (ev_sidebar_thumbnails_class_init),
2068 (ev_sidebar_thumbnails_set_document),
2069 (ev_sidebar_thumbnails_clear_job),
2070 (ev_sidebar_thumbnails_clear_model):
2072 Cleanup thumbnail jobs on document changes.
2074 * shell/ev-view.c: (add_scroll_binding_keypad),
2075 (add_scroll_binding_shifted), (ev_view_class_init):
2077 Shift + Space scrolls up. Fix for #173184
2079 * shell/ev-window.c: (ev_window_open_page),
2080 (ev_window_cmd_view_reload):
2082 Fix reload (Bug #300094)
2084 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2087 * dvi/mdvi-lib/assoc.c:
2088 * dvi/mdvi-lib/assoc.h: Removed garbage files
2090 * dvi/mdvi-lib/bitmap.c:
2091 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2092 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2093 * dvi/mdvi-lib/color.h: Antialias of rules
2095 * dvi/mdvi-lib/common.h:
2096 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2097 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2098 * dvi/mdvi-lib/files.c:
2099 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2100 * dvi/mdvi-lib/mdvi.h:
2101 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2102 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2103 * dvi/mdvi-lib/util.c: Fix compile warnings
2105 * dvi/dvi-document.c:
2106 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2107 (dvi_document_thumbnails_get_thumbnail),
2108 (dvi_document_document_thumbnails_iface_init):
2109 * dvi/mdvi-lib/Makefile.am:
2110 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2111 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2113 Dvi backend now renders thumbnails
2115 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2117 * shell/main.c: (main):
2119 Save accelerators on exit. Fixes bug #172095.
2121 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2123 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2124 update priority" comment.
2126 * backend/ev-job-queue.c: Give a way to change priority.
2128 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2130 * shell/ev-page-action.c: Fix logic.
2132 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2134 * shell/ev-view.c: (ev_view_can_find_next):
2135 * shell/ev-window.c: (ev_window_setup_document):
2137 Check that the document supports find
2139 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2141 * data/evince-ui.xml:
2142 * shell/ev-view.c: (ev_view_can_find_next):
2144 * shell/ev-window.c: (update_action_sensitivity),
2145 (find_changed_cb), (ev_window_setup_document),
2146 (ev_window_cmd_edit_find_next):
2150 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2152 * pdf/ev-poppler.cc:
2153 * shell/ev-print-job.c: (idle_print_handler):
2155 Make printing work again
2157 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2159 * shell/ev-page-action.h:
2160 * shell/ev-page-action.c: (ev_page_action_widget_init),
2161 (ev_page_action_widget_class_init), (page_changed_cb),
2162 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2163 (get_filter_model_from_model), (match_selected_cb),
2164 (display_completion_text), (match_completion), (update_model),
2165 (connect_proxy), (ev_page_action_set_property),
2166 (ev_page_action_get_property), (ev_page_action_set_document),
2167 (ev_page_action_set_model), (ev_page_action_class_init): Big
2168 reworking to make completions work iff we have >= GTK-2.7.0
2170 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2171 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2172 (job_finished_cb): We now have a 'model' property that is set when
2173 the links are loaded. This can be caught with "notify::model"
2175 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2176 listen for the model to be set, and propagate it to the action.
2178 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2180 * cut-n-paste/recent-files/egg-recent-item.c:
2181 (egg_recent_item_set_uri), (make_valid_utf8),
2182 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2183 * cut-n-paste/recent-files/egg-recent-item.h:
2185 Update egg-recent from libegg. This should fix long
2186 startup problem. For details see
2187 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2189 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2191 * cut-n-paste/recent-files/Makefile.am:
2192 * data/evince-ui.xml, shell/Makefile.am:
2193 * shell/ev-application.c, shell/ev-application.h:
2194 * shell/ev-window.c: Recent files support.
2196 * configure.ac: Added "ru" to ALL_LINGUAS.
2198 * dvju: new backend to support DJVU files.
2199 * dvi: new backend to support DVI.
2201 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2202 * ev-application.c: Support for new backends.
2204 * help, ev-window.c, main.c shell/Makefile.am:
2205 Evince user documentation.
2207 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2210 * shell/ev-window.c:
2211 * thumbnailer/evince-thumbnailer.c:
2213 s/pdf-document/ev-poppler
2215 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2222 * ps/ps-document.c: (setup_pixmap):
2226 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2228 * backend/ev-page-cache.c (ev_page_cache_next_page):
2229 * shell/ev-window.c (ev_window_cmd_go_next_page)
2230 (ev_window_cmd_go_first_page): Fix of by one errors.
2232 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2234 * ps/ps-document.c: (get_page_box):
2236 Fix page size calculation
2238 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2240 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2241 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2242 (get_page_orientation), (setup_page), (document_load),
2243 (ps_document_get_page_size), (render_pixbuf_idle):
2246 More refactoring to adapt to EvDocument changes
2248 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2250 * ps/ps-document.c: (start_interpreter):
2252 Actually add alpha args
2254 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2256 * pdf/ev-poppler.cc:
2258 Make clipboard work again
2260 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2262 Make searching work again.
2264 * backend/ev-document.c:
2265 * backend/ev-document.h:
2266 * backend/ev-document-find.c:
2267 * backend/ev-document-find.h: Change EvDocumentIface so we no
2268 longer store the current page or zoom level in the document. The
2269 consequence is that all calls that operate on the current page now
2270 instead take the page number as an extra argument, and all
2271 coordinates are now doubles in document coordinate system.
2273 * pdf/ev-poppler.cc:
2274 * pixbuf/pixbuf-document.c:
2275 * ps/ps-document.c: Update backends accordingly.
2277 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2281 Add required gettext version
2283 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2285 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2286 make F1 bring up non-existent help.
2288 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2289 epiphany's find bar, #167477
2291 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2292 <emil@nishra.com> to add space-bar scrolling,
2294 * shell/ev-window.c (static GtkActionEntry entries): add default
2295 keybinding for Help (F1)
2298 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2299 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
2302 2005-04-01 David Malcolm <dmalcolm@redhat.com>
2305 * pixbuf/pixbuf-document.c:
2307 Got pixbuf backend working again
2309 2005-04-01 Steve Murphy <murf@e-tools.com>
2311 * configure.in: Added "rw" to ALL_LINGUAS.
2313 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
2315 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
2316 model types, noticed by Martin Kretzschmar.
2318 2005-04-01 Kristian Høgsberg <krh@redhat.com>
2320 * pdf/ev-poppler.cc: Implement search based on
2321 poppler_page_find_text(). Currently a bit crude since we remember
2322 all matches from all pages. Also, we grab the big document lock
2323 when we search since searching changes the underlying stream and
2324 thus conflicts with the rendering thread.
2326 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2327 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
2328 (ev_view_find_previous): Fix some page indexes to be 0 based,
2329 offset rubber band by view offset,
2331 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
2333 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
2335 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
2337 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
2338 completely because I didn't understand GtkActions. I should
2339 read Marco's code more carefully in the future.
2341 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
2344 2005-03-31 Kristian Høgsberg <krh@redhat.com>
2346 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
2347 PopplerRectangle change from poppler CVS.
2349 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
2351 * backend/ev-document.c: (ev_document_get_page_label):
2352 * backend/ev-document.h:
2353 * backend/ev-page-cache.c: (_ev_page_cache_new),
2354 (ev_page_cache_get_page_label):
2355 * backend/ev-page-cache.h:
2356 * pdf/ev-poppler.cc:
2357 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
2358 (links_page_num_func):
2359 * shell/ev-sidebar-thumbnails.c:
2360 (ev_sidebar_thumbnails_set_document):
2361 * shell/ev-view.c: (status_message_from_link),
2362 (ev_view_motion_notify_event):
2363 * shell/ev-window.c: (document_supports_sidebar): Add in page
2364 label support. It's not perfect yet, but it's the first 'feature'
2366 Also, fix a bogus comment noticed by crispin.
2368 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
2370 * Makefile.am: Remove pixbuf backend for now
2372 * configure.ac: Require poppler-glib instead of just poppler.
2374 * backend/ev-document-thumbnails.h: Add a comment
2376 * backend/ev-document.h:
2377 * backend/ev-document.c: (ev_document_class_init),
2378 (ev_document_load), (ev_document_get_link),
2379 (ev_document_get_links): Remove 3 methods and add get_links.
2382 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2383 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
2385 * backend/ev-link.c: (ev_link_set_title),
2386 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
2387 (ev_link_mapping_find):
2388 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
2390 * backend/ev-page-cache.c: (ev_page_cache_init),
2391 (_ev_page_cache_new), (ev_page_cache_set_current_page),
2392 (ev_page_cache_get_size), (ev_page_cache_next_page),
2393 (ev_page_cache_prev_page): Fix to be 0 based.
2397 * pdf/ev-poppler.cc: New backend.
2399 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
2400 (ps_document_get_page), (ps_document_document_iface_init):
2402 * shell/ev-pixbuf-cache.h:
2403 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2404 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
2405 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
2406 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
2407 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
2408 Fix up code to grab a page cache per each doc. Also, fix to be 0
2411 * shell/ev-sidebar-thumbnails.c:
2412 (ev_sidebar_tree_selection_changed), (page_changed_cb),
2413 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
2415 * shell/ev-view.c: (status_message_from_link),
2416 (find_page_at_location), (get_link_at_location),
2417 (ev_view_motion_notify_event), (ev_view_button_release_event),
2418 (ev_view_init): Use the new link code. Fix to be 0 based.
2420 * shell/ev-window.c: (update_action_sensitivity),
2421 (document_supports_sidebar): 0 based.
2423 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
2425 * pdf/pdf-document.cc: Patch from Fernando Herrera
2426 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
2429 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
2431 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
2432 1 to the page, as this seems to be 1 based. I thought we has this
2435 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
2438 * backend/Makefile.am:
2439 * backend/ev-document-links.c:
2440 (ev_document_links_has_document_links),
2441 (ev_document_links_get_links_model):
2442 * backend/ev-document-links.h:
2443 * backend/ev-document.c: (ev_document_get_page_cache),
2444 (ev_document_get_doc_mutex), (ev_document_load),
2445 (ev_document_save), (ev_document_get_title),
2446 (ev_document_get_n_pages), (ev_document_set_page),
2447 (ev_document_get_page), (ev_document_set_target),
2448 (ev_document_set_scale), (ev_document_set_page_offset),
2449 (ev_document_get_page_size), (ev_document_get_text),
2450 (ev_document_get_link), (ev_document_render),
2451 (ev_document_render_pixbuf), (ev_document_scale_changed):
2452 * backend/ev-document.h:
2453 * backend/ev-job-queue.c: (remove_object_from_queue),
2454 (notify_finished), (handle_job), (search_for_jobs_unlocked),
2455 (no_jobs_available_unlocked), (ev_render_thread),
2456 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
2457 (ev_job_queue_remove_job):
2458 * backend/ev-job-queue.h:
2459 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2460 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2461 (ev_job_links_class_init), (ev_job_render_init),
2462 (ev_job_render_dispose), (ev_job_render_class_init),
2463 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2464 (ev_job_thumbnail_class_init), (ev_job_finished),
2465 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2466 (ev_job_render_run), (ev_job_thumbnail_new),
2467 (ev_job_thumbnail_run):
2468 * backend/ev-jobs.h:
2469 * backend/ev-link.c:
2470 * backend/ev-link.h:
2471 * backend/ev-page-cache.c: (ev_page_cache_init),
2472 (ev_page_cache_class_init), (ev_page_cache_finalize),
2473 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
2474 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2475 (ev_page_cache_set_link), (ev_page_cache_get_title),
2476 (ev_page_cache_get_size), (ev_page_cache_next_page),
2477 (ev_page_cache_prev_page):
2478 * backend/ev-page-cache.h:
2479 * pdf/pdf-document.cc:
2482 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2483 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
2484 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
2485 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
2486 (is_interpreter_ready), (output), (catchPipe), (input),
2487 (start_interpreter), (check_filecompressed), (compute_dimensions),
2488 (ps_document_enable_interpreter), (document_load),
2489 (ps_document_next_page), (render_page), (ps_document_set_page),
2490 (ps_document_set_scale), (render_pixbuf_idle),
2491 (ps_document_render_pixbuf), (ps_document_document_iface_init):
2493 * shell/Makefile.am:
2494 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2495 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
2496 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
2497 (ev_pixbuf_cache_new), (job_finished_cb),
2498 (check_job_size_and_unref), (move_one_job),
2499 (ev_pixbuf_cache_update_range), (find_job_cache),
2500 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
2501 (ev_pixbuf_cache_add_jobs_if_needed),
2502 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
2503 * shell/ev-pixbuf-cache.h:
2504 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2505 (idle_print_handler):
2506 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2507 (selection_changed_cb), (create_loading_model),
2508 (ev_sidebar_links_construct), (links_page_num_func),
2509 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
2510 (update_page_callback), (job_finished_cb),
2511 (ev_sidebar_links_set_document):
2512 * shell/ev-sidebar-thumbnails.c:
2513 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
2514 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
2515 (page_changed_cb), (thumbnail_job_completed_callback),
2516 (ev_sidebar_thumbnails_set_document):
2517 * shell/ev-sidebar-thumbnails.h:
2518 * shell/ev-sidebar.c: (ev_sidebar_set_document):
2519 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
2520 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
2521 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
2522 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
2523 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
2524 (ev_view_button_release_event), (ev_view_scroll_view),
2525 (ev_view_class_init), (ev_view_init), (update_find_status_message),
2526 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
2527 (ev_view_new), (job_finished_cb), (page_changed_cb),
2528 (ev_view_set_document), (go_to_link), (ev_view_zoom),
2529 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
2530 (ev_view_find_previous):
2532 * shell/ev-window.c: (update_action_sensitivity),
2533 (ev_window_open_page), (update_window_title), (update_total_pages),
2534 (page_changed_cb), (ev_window_setup_document),
2535 (password_dialog_response), (ev_window_cmd_save_as),
2536 (ev_window_print), (ev_window_cmd_go_previous_page),
2537 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
2538 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
2539 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
2540 * shell/main.c: (main):
2542 Merge evince-threads branch
2544 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
2546 * configure.ac: Added "lt" to ALL_LINGUAS.
2548 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
2555 2005-03-13 Fernando Herrera <fherrera@onirica.com>
2557 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2559 Fix here also the thumbnails 1-basedness :)
2561 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2568 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2570 * pdf/pdf-document.cc:
2571 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
2572 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
2574 Fix the mess we did with thumbnails and 1-basedness
2576 2005-03-12 Changwoo Ryu <cwryu@debian.org>
2578 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
2580 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
2587 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
2590 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
2591 (gtk_gs_defaults_get_alpha_parameters),
2592 (gtk_gs_defaults_get_ungzip_cmd),
2593 (gtk_gs_defaults_get_unbzip2_cmd):
2595 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2596 (ps_document_get_orientation), (document_load),
2597 (ps_document_goto_page), (ps_document_set_page_size):
2600 Some more sanitization of the ps backend. Remove a lot
2601 of unused code and do not base our defaults on ggv
2604 2005-03-08 Fernando Herrera <fherrera@onirica.com>
2606 * thumbnailer/evince-thumbnailer.schemas:
2607 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2608 (main): add -s option for thumbnail size.
2610 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
2614 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
2617 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2619 * pdf/pdf-document.cc:
2621 Remove 4 pixels of useless border from the
2624 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2626 * backend/ev-document-thumbnails.c:
2627 (ev_document_thumbnails_get_thumbnail):
2628 * backend/ev-document-thumbnails.h:
2630 Rework API a bit. Add a border flag and
2631 change sizing logic (now the size we specify
2632 applies to the bigger dimension).
2634 * pdf/pdf-document.cc:
2635 * pixbuf/pixbuf-document.c:
2636 (pixbuf_document_thumbnails_get_thumbnail):
2637 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
2638 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2640 Adapt to the new API and do not draw a border for nautilus
2643 2005-03-03 Fernando Herrera <fherrera@onirica.com>
2645 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2646 take thumbnails from page "0" instead of "1". Added a copyright header.
2648 2005-03-03 Jens Granseuer <jensgr@gmx.net>
2650 * ps/ps-document.c: (set_up_page), (start_interpreter):
2652 Make it C89 compliant
2654 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
2659 * pdf/pdf-document.cc:
2660 * thumbnailer/Makefile.am:
2661 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2663 * thumbnailer/evince-thumbnailer.schemas:
2664 * thumbnailer/pdf-icon.png:
2666 Add a nautilus thumbnailer.
2667 Based on patch by Fernando Herrera <fherrera@onirica.com>.
2669 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
2677 2005-03-01 Kristian Høgsberg <krh@redhat.com>
2679 Use poppler instead of including xpdf source code. Poppler is a
2680 fork of xpdf to build it as a shared library. See
2681 http://freedesktop.org/wiki/Software/poppler.
2683 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
2686 * pdf/Makefile.am: Build libpdfdocument.a here.
2688 * pdf/GDKSplashOutputDev.cc:
2689 * pdf/GDKSplashOutputDev.h:
2690 * pdf/GnomeVFSStream.cc:
2691 * pdf/GnomeVFSStream.h:
2694 * test-gdk-output-dev.cc
2696 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
2699 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2701 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
2703 Clear idle stack before unsetting the document
2705 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2707 * ps/ps-document.c: (ps_document_widget_event),
2708 (ps_document_set_target), (ps_document_finalize),
2709 (ps_document_get_page):
2711 Disconnect the widget event signal on finalize.
2714 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2716 * ps/ps-document.c: (set_up_page):
2718 If there is no bpixmap create one, even if size
2721 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2723 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
2724 (set_up_page), (document_load), (ps_document_set_zoom):
2726 Default page is 0. Calculate size even when we have no
2729 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
2731 * shell/ev-sidebar.c: expand the selection widget to be always as
2734 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2736 * shell/ev-sidebar-thumbnails.c:
2737 (ev_sidebar_thumbnails_set_document):
2739 Clear the list store when setting document
2741 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2743 * shell/ev-page-action.c: (update_entry), (sync_entry),
2744 (activate_cb), (entry_size_request_cb), (create_tool_item),
2747 Use an entry for the page control instead of spinbuttons
2749 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2751 * data/evince.schemas.in:
2753 Correct confusing string
2755 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
2757 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
2758 for real. Gosh, how long has this been broken.
2760 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
2761 check for a NULL link. We crash otherwise.
2763 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
2770 2005-02-25 Sebastien Bacher <seb128@debian.org>
2772 * configure.ac: add the french translation.
2774 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2776 * shell/ev-window.c:
2778 Remove unused header -> fix distcheck
2780 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2782 * shell/ev-window.c: (update_window_title),
2783 (ev_window_popup_password_dialog):
2785 Unescape filename for display
2787 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2789 * pdf/xpdf/pdf-document.cc:
2791 In get_page_size deal with rotation. Also
2792 cleanup the function a bit.
2794 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2796 * pdf/xpdf/pdf-document.cc:
2798 Fix crash when opening in new window
2800 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2804 Check ghostscript >= 7
2806 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
2808 * shell/ev-window.c:
2810 Make page width the default sizing mode
2812 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
2813 Marco Pesenti Gritti <marco@gnome.org>
2815 * shell/ev-window.c: Remember the sidebar size
2817 * data/evince.schemas.in: Add a new gconf key to store the size of
2820 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
2822 * data/evince-ui.xml:
2823 * shell/ev-window.c: (update_action_sensitivity),
2824 (ev_window_cmd_view_reload):
2826 Add a "Reload" action and menu entry
2828 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
2830 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
2831 iff the type doesn't support thumbnailing and indexing.
2833 2005-02-24 Martin Kretzschmar <martink@gnome.org>
2835 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
2837 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2839 * pdf/splash/Splash.cc:
2841 Port fix for a crasher from kde bug
2842 http://bugs.kde.org/show_bug.cgi?id=97131
2844 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2846 * pdf/xpdf/pdf-document.cc:
2848 Return a link even if it's of an unrecognized
2849 type. Otherwise we go in an infinte cycle.
2851 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2853 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
2854 (size_allocate_cb), (ev_window_set_sizing_mode):
2856 Update size when switching mode
2858 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2860 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2861 (ev_window_cmd_view_page_width), (update_sizing_buttons),
2862 (ev_window_cmd_view_normal_size):
2864 Fix size toggle buttons behavior
2866 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2868 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
2869 (doc_rect_to_view_rect), (ev_view_size_allocate),
2870 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
2871 (scale_changed_callback):
2873 Do not cache offsets in size_allocate.
2875 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2877 * shell/ev-view.c: (ev_view_size_allocate):
2879 Calculate offsets before calling the parent
2880 class (which does a redraw)
2882 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2884 * pdf/xpdf/pdf-document.cc:
2886 Fix a crasher on exit. Unused code, put a TODO
2888 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2890 * backend/ev-document.c: (ev_document_class_init),
2891 (ev_document_page_changed), (ev_document_scale_changed):
2892 * backend/ev-document.h:
2894 Separate page/scale notifications
2896 * pdf/xpdf/pdf-document.cc:
2898 Emit the new signals.
2899 Do not display the pdf page in _render, do it
2900 when scale/page are requested.
2902 * ps/ps-document.c: (ps_document_set_zoom),
2903 (ps_document_widget_event):
2906 Emit the new signals.
2908 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
2909 (ev_view_init), (page_changed_callback), (scale_changed_callback),
2910 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
2911 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
2913 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
2914 (ev_window_cmd_view_page_width), (size_allocate_cb),
2915 (ev_window_set_sizing_mode):
2917 Rework sizing to be pixel based.
2918 There are bugs but should be already way better.
2920 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
2922 * shell/ev-window.c: (ev_window_init):
2924 Do not allow to shrink sidebar smaller then
2927 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
2929 * shell/ev-sidebar.[ch]
2930 * shell/ev-window.c:
2932 Improved sidebar widget. Fixes #166683
2934 2005-02-23 Tommi Vainikainen <thv@iki.fi>
2936 * shell/ev-view.c (update_find_status_message): Give translators
2937 more flexibility with ngettext plural handling.
2939 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
2941 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
2942 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
2943 page when we get the page size.
2945 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2947 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
2949 ps pages are 0 based, convert
2951 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2953 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
2955 Initialize correct parent class. Set GError on document load
2957 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2959 * pdf/xpdf/pdf-document.cc:
2961 Fixup selection offset calculation
2963 * shell/ev-view.c: (view_rect_to_doc_rect),
2964 (doc_rect_to_view_rect), (ev_view_size_allocate),
2965 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
2966 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
2968 Store selection as document relative, so that zooming
2969 and offset changing doesnt break it.
2971 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2973 * shell/ev-view.c: (ev_view_best_fit):
2975 Do not try to best fit if the view is not realized
2977 2005-02-20 Kostas Papadimas <pkst@gnome.org>
2979 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
2981 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
2983 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
2985 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
2987 * shell/ev-window.c: Change the fullscreen toolbar to always be in
2988 the popup window. That prevents it resizing when in full screen
2991 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
2992 multiple rerenders. This pretty much sucks.
2994 * data/evince-ui.xml: Change the fullscreen toolbar to include the
2995 rest of the toolbar.
2997 2005-02-18 Tommi Vainikainen <thv@iki.fi>
2999 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
3001 2005-02-17 Alexander Shopov <ash@contact.bg>
3003 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3005 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
3007 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
3009 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
3011 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
3012 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
3013 (set_document_page), (document_changed_callback),
3014 (ev_view_set_document), (ev_view_find_previous),
3015 (ev_view_hide_cursor), (ev_view_show_cursor):
3017 * shell/ev-window.c: (update_chrome_visibility),
3018 (fullscreen_timeout_cb), (fullscreen_set_timeout),
3019 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
3020 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
3021 (ev_window_unfullscreen):
3022 * shell/main.c: (main):
3024 Automatically hide the fullscreen button.
3025 Patch by Kristian Høgsberg <krh@redhat.com>
3027 2005-02-16 Vincent Noel <vnoel@cox.net>
3029 * shell/main.c (main): Specify an icon for the window. Patch by
3030 Jaap A. Haitsma. Fixes #166177.
3032 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
3034 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
3036 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
3038 * backend/ev-document-misc.h:
3039 * backend/ev-document-misc.c:
3040 (ev_document_misc_get_page_border_size),
3041 (ev_document_misc_paint_one_page): New function to canonicalize
3042 sizing/painting a border.
3044 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3047 * pdf/xpdf/pdf-document.cc: use new function
3049 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3050 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3051 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3052 shell/ev-window.c: (update_sizing_buttons),
3053 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3054 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3055 (ev_window_cmd_view_page_width), (size_allocate_cb),
3056 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3057 and "fit width" values act as toggle buttons so they stay
3058 toggled. It's not 100% perfect, and it's a little slow, but it's
3059 good enough to commit I think.
3061 2005-02-15 David Lodge <dave@cirt.net>
3063 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3065 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3067 * shell/ev-window.c (update_window_title): replace newlines in
3068 the title by spaces. Bug #166107.
3070 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3072 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3073 parameters providing allocation width and height without
3074 scrollbars and width of a possible vertical scrollbar. With this
3075 additional information the functions can work as
3076 intended. Unfortunately they're not idempotent. We should
3077 transform these commands to toggles. Fixes Bug #164976
3078 Initial patch by Stephane Loeuillet, then heavily modified.
3080 * shell/ev-view.h: update prototypes.
3082 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3083 (ev_window_cmd_view_page_width): provide EvView fit functions with
3084 all the information they need. Formulas to calculate this
3085 information taken from GtkScrolledWindow.
3087 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3089 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3090 created a thumbnail, the list store is updated to know
3091 that the thumbnail is set. Fixes bug #166792
3093 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3095 * shell/ev-window.c: fixed typo, closes bug 166897
3097 * TODO: updated TODO with bug numbers that are relevant
3099 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3101 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3103 2005-02-09 Vincent Noel <vnoel@cox.net>
3105 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3106 and "Next" toolbar buttons as important to make them stand out.
3108 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3112 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3113 (start_interpreter), (stop_interpreter), (document_load),
3114 (ps_document_next_page), (ps_document_goto_page),
3115 (ps_document_set_page_size), (ps_document_widget_event),
3116 (ps_document_render):
3117 * shell/ev-page-view.c: (ev_page_view_dispose):
3118 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3120 Fix compilation on non-gcc platforms
3122 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3129 * pdf/xpdf/Catalog.cc:
3132 Fix the fix for CAN-2004-0888
3134 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3137 * data/evince-ui.xml:
3138 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3139 * shell/ev-stock-icons.h:
3140 * shell/ev-window.c: (update_action_sensitivity),
3141 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3142 (set_action_properties):
3144 Improve toolbar layout/icons
3146 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3148 * pdf/xpdf/pdf-document.cc:
3150 Add warnings about unimplemented/unknown link
3153 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3155 * ps/ps-document.c: (set_up_page):
3159 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3161 * ps/ps-document.c: (start_interpreter):
3165 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3167 * shell/ev-page-view.c: (ev_page_view_dispose):
3168 * shell/ev-view.c: (ev_view_finalize):
3169 * shell/ev-window.c: (ev_window_setup_document),
3170 (ev_window_dispose), (ev_window_init):
3172 Solve more refs issues.
3174 I commented out the page_view initialization for now:
3175 it was never destroyed (because it's never added
3176 to a container). Because of that we was leaking
3177 gs processes. Couldnt think to a clean fix.
3178 We need to figure this out, password view has the
3179 same issue probably.
3181 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3183 * ps/ps-document.c: (ps_document_finalize),
3184 (ps_document_get_n_pages), (ps_document_get_page):
3186 Some cleanups, stop the interpreter on finalize
3188 * shell/ev-page-view.c: (ev_page_view_dispose),
3189 (ev_page_view_class_init):
3191 Release our reference on the document
3193 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3197 * doc/debugging.txt:
3200 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3201 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3202 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3205 Add debugging helpers
3208 * ps/ps-document.c: (set_up_page), (start_interpreter),
3209 (stop_interpreter), (document_load), (ps_document_next_page),
3210 (ps_document_goto_page), (ps_document_set_page_size),
3211 (ps_document_widget_event), (ps_document_render):
3212 * shell/Makefile.am:
3213 * shell/ev-view.c: (expose_bin_window):
3214 * shell/main.c: (main):
3218 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3220 * ps/ps-document.c: (ps_document_widget_event):
3222 Initialize message_window, this should make ps
3223 rendering really work! (Never noticed because I was
3224 testing with a ps that is causing gs to exit every time!)
3226 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3228 * data/evince.schemas.in: updated simple error in applyto closing tag
3230 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3236 * data/evince-ui.xml:
3237 A data/evince.schemas.in:
3239 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3240 * shell/ev-stock-icons.h:
3241 * shell/ev-window.c: (update_chrome_visibility),
3242 (update_chrome_flag), (ev_window_cmd_edit_find),
3243 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3244 (ev_window_unfullscreen), (ev_window_focus_in_event),
3245 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3246 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3247 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3248 (ev_window_dispose), (ev_window_class_init),
3249 (set_action_properties), (set_chrome_actions), (load_chrome),
3252 Implement fullscreen mode changes from bug #164776.
3253 Also implement persistent chrome toggles.
3255 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3257 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3259 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3265 Add another check for find interface
3269 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3271 * shell/ev-application.c: (ev_application_open):
3272 * shell/ev-window.c: (ev_window_open):
3274 Open gzipped ps documents
3276 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3279 * shell/ev-view.c: (set_document_page):
3281 Clamp page number, dont try to move to
3284 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3286 * backend/ev-document-find.c: (ev_document_find_changed):
3287 * backend/ev-document-find.h:
3288 * pdf/xpdf/pdf-document.cc:
3289 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3290 * shell/ev-window.c: (find_bar_search_changed_cb):
3292 Fix several bugs with find
3294 2005-02-04 Martin Kretzschmar <martink@gnome.org>
3296 * shell/ev-sidebar-thumbnails.c
3297 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3298 document. Prevents warning from scroll_to_cell.
3300 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
3302 * configure.ac: Add «nb» to ALL_LINGUAS too.
3304 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
3306 * NOTES: New file with some random thoughts.
3310 * backend/ev-document-misc.c:
3311 (ev_document_misc_get_page_border_size): New function to
3312 canonicalize shadow drawing sizes. Possibly goofy.
3314 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
3315 (ev_view_best_fit), (ev_view_fit_width):
3316 * pdf/xpdf/pdf-document.cc:
3317 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3318 * ps/ps-document.c: (ps_document_get_page_size):
3319 * backend/ev-document-misc.h:
3320 * backend/ev-document.c: (ev_document_get_page_size):
3321 * backend/ev-document.h: get_page_size now takes a page number
3322 parameter. Made all the backends/frontends honor it.
3324 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
3325 see. Doesn't work yet.
3327 * shell/Makefile.am:
3328 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
3329 Doesn't do anything yet.
3331 * shell/ev-sidebar-thumbnails.c:
3332 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
3335 * shell/ev-window.c: (update_action_sensitivity),
3336 (ev_window_setup_document), (ev_window_set_page_mode),
3337 (ev_window_page_mode_cb), (ev_window_init): Clean up the
3338 view-swapping code a bit so we can have multiple views on a
3339 document. Add the multi-page view, though it can't be turned on
3342 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3344 * shell/ev-application.c: (ev_application_open):
3345 * shell/ev-view.c: (expose_bin_window):
3346 * shell/ev-window.c: (ev_window_open):
3348 Support eps and check document supports find
3349 before drawing highlightings in expose.
3351 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3353 * pixbuf/pixbuf-document.c:
3354 (pixbuf_document_thumbnails_get_dimensions),
3355 (pixbuf_document_document_thumbnails_iface_init):
3357 implement get_dimensions
3359 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3366 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3368 * shell/ev-view.c: (set_document_page):
3370 Scroll at the top of the page when changing page
3372 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3374 * shell/ev-view.c: (ev_view_motion_notify_event):
3376 Do not redraw unnecessarily
3378 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3380 * pdf/xpdf/pdf-document.cc:
3381 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3382 (expose_bin_window), (find_changed_cb):
3384 Yay! find works now... Now to find bugs...
3386 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3388 * backend/ev-document-find.c: (ev_document_find_base_init),
3389 (ev_document_find_changed):
3390 * backend/ev-document-find.h:
3391 * pdf/xpdf/pdf-document.cc:
3392 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3393 (expose_bin_window), (ev_view_init), (set_document_page),
3394 (ensure_rectangle_is_visible), (jump_to_find_result),
3395 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
3396 (ev_view_find_next), (ev_view_find_previous):
3398 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
3400 More work on find implementation, mostly there now
3402 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
3404 * backend/ev-backend-marshalers.list:
3405 * backend/ev-document-find.c: (ev_document_find_base_init),
3406 (ev_document_find_cancel), (ev_document_find_page_has_results),
3407 (ev_document_find_get_n_results), (ev_document_find_get_result),
3408 (ev_document_find_get_progress), (ev_document_find_changed):
3409 * backend/ev-document-find.h:
3411 Enanche the find interface to be really able to do
3414 * pdf/xpdf/pdf-document.cc:
3418 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
3419 (expose_bin_window), (ev_view_init),
3420 (ev_view_get_find_status_message), (find_changed_cb),
3421 (ev_view_set_document), (set_document_page):
3423 Adapt to the new interface. A few things are regressed sorry,
3424 I will finish it soon.
3426 2005-01-28 Martin Kretzschmar <martink@gnome.org>
3428 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
3429 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
3430 ev_sidebar_thumbnails_parent_class variable, don't define another
3431 parent_class variable.
3433 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
3434 (ev_page_action_class_init): ditto.
3436 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
3437 (pixbuf_document_class_init): ditto.
3439 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
3442 * .cvsignore: ignore various valgrind output files.
3444 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3446 * data/evince-ui.xml:
3447 * shell/Makefile.am:
3448 * shell/ev-history.c:
3449 * shell/ev-history.h:
3450 * shell/ev-navigation-action.c:
3451 * shell/ev-navigation-action.h:
3452 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
3453 (ev_view_set_page), (ev_view_fit_width):
3455 * shell/ev-window.c: (update_action_sensitivity),
3456 (ev_window_setup_document), (register_custom_actions):
3458 Kill session history
3460 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3462 * shell/ev-window.c: (update_action_sensitivity):
3464 Fix inverted up/down buttons
3466 2005-01-27 Martin Kretzschmar <martink@gnome.org>
3468 * shell/ev-sidebar-thumbnails.c
3469 (ev_sidebar_thumbnails_select_page): make sure the selected
3470 thumbnail stays visible.
3472 2005-01-26 Martin Kretzschmar <martink@gnome.org>
3474 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
3475 scrolled window for Federico.
3477 2005-01-26 Ole Laursen <olau@hardworking.dk>
3479 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
3481 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
3484 * pdf/splash/SplashFTFontEngine.cc:
3486 Fix CID fonts with freetype 2.1.9
3488 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
3490 * TODO: added item for desktop icon thumbnailer
3492 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
3494 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
3495 unloaded docs when the title is accessed.
3497 * shell/ev-password-view.[hc]: New widget for displaying password
3500 * shell/ev-window.[ch]: Refactor password handling code to handle
3503 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
3511 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
3513 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
3514 ignore page offset here, to make search results independent of it,
3516 * shell/ev-view.c (expose_bin_window): but take offsets into
3517 account here. Bug #164932
3519 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
3520 scale at the right time. Bug #164996
3522 2005-01-22 Martin Kretzschmar <martink@gnome.org>
3524 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
3525 fix the problem. Now I just removed the Adobe font names and hope
3526 that the URW fonts are always in outline format. Bug #164934
3528 * shell/ev-window.c (update_window_title): empty titles are
3529 useless, use filename in that case too.
3531 * NEWS: Add some content.
3533 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
3535 * TODO: added one more TODO item and a TODONE section :)
3537 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3539 * ps/ps-document.h: add page_[xy]_offset fields.
3541 * ps/ps-document.c (ps_document_set_page_offset)
3542 (ps_document_render): Keep offset in consideration in a few
3543 places. Bug #164752 "postscript documents are not centered in
3546 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
3547 s/gpdf/evince/. Spotted by Stephane Loeuillet.
3549 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
3550 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
3551 stub out missing methods for complete EvDocument implementation.
3552 Fixes segfaults with Save A Copy and Copy actions.
3554 * ps/ps-document.c (ps_document_save, ps_document_get_text)
3555 (ps_document_document_iface_init): ditto.
3557 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3561 * data/evince.desktop.in:
3565 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3567 * shell/ev-view.c: (ev_view_button_press_event),
3568 (ev_view_motion_notify_event):
3570 Make selection work in any direction
3572 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3575 * shell/ev-window.c: (set_short_labels), (ev_window_init):
3577 Use shorter labels for some of the toolbars items
3579 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3581 * pdf/xpdf/pdf-document.cc:
3583 Check the links info is initialized before
3584 using it. Should fix a crash on startup.
3586 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3588 * pixbuf/pixbuf-document.c
3589 (pixbuf_document_thumbnails_get_dimensions): force floating point
3590 division to calculate page_ratio. Fixes crash with landscape
3593 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
3595 * shell/ev-view.c (ev_view_realize): make the bg color darker.
3597 2005-01-20 Martin Kretzschmar <martink@gnome.org>
3599 * shell/ev-view.c (set_document_page): unset has_selection when
3601 (set_document_page): handle paper size changes when the page
3602 changes (test with Free Culture, page 2).
3604 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3606 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
3607 (expose_bin_window), (ev_view_class_init), (ev_view_init):
3609 Use normal style color for the widget background and
3610 draw a black box around the page.
3612 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3614 * pdf/xpdf/pdf-document.cc:
3616 Keep offset in consideration in a few places
3618 * shell/ev-view.c: (expose_bin_window):
3620 Set the offsets so that the document is ever centered
3622 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
3624 * TODO: Added TODO items and finished off the first todo item
3626 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
3627 reflect current authors
3629 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3631 * pdf/xpdf/pdf-document.cc:
3632 * shell/ev-view.c: (ev_view_set_cursor),
3633 (ev_view_motion_notify_event), (document_changed_callback),
3634 (set_document_page):
3636 Show a wait cursor while the page is rendering
3638 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3640 * shell/ev-sidebar-thumbnails.c:
3641 (ev_sidebar_tree_selection_changed),
3642 (ev_sidebar_thumbnails_select_page):
3643 * shell/ev-sidebar-thumbnails.h:
3644 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
3645 (ev_view_can_go_forward):
3646 * shell/ev-window.c: (ev_window_open_page),
3647 (ev_window_setup_document), (update_current_page),
3648 (view_page_changed_cb), (ev_window_init):
3649 * shell/ev-window.h:
3651 Ensure thumbnails selection, toolbar page control and
3652 current page are in sync.
3654 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
3660 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
3662 * backend/Makefile.am:
3663 * backend/ev-document-links.h:
3664 * backend/ev-document-security.c: (ev_document_security_get_type),
3665 (ev_document_security_has_document_security),
3666 (ev_document_security_set_password):
3667 * backend/ev-document-security.h:
3668 * backend/ev-document.c: (ev_document_error_quark):
3669 * backend/ev-document.h:
3671 * data/evince-password.glade:
3672 * pdf/xpdf/pdf-document.cc:
3673 * shell/Makefile.am:
3674 * shell/ev-password.c: (ev_password_set_bad_password_label),
3675 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
3676 (ev_password_dialog_get_password),
3677 (ev_password_dialog_set_bad_pass):
3678 * shell/ev-password.h:
3679 * shell/ev-window.c: (ev_window_get_attribute),
3680 (ev_window_set_property), (update_action_sensitivity),
3681 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
3682 (ev_window_setup_document), (ev_window_get_password),
3683 (ev_window_open), (ev_window_cmd_save_as),
3684 (using_postscript_printer), (ev_window_print),
3685 (find_not_supported_dialog), (ev_window_cmd_edit_find),
3686 (update_fullscreen_popup), (ev_window_fullscreen),
3687 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
3688 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
3689 (menu_item_select_cb), (find_bar_search_changed_cb),
3690 (ev_window_dispose), (ev_window_init):
3692 Add initial support for password-supported dialogs. This could be
3693 a lot cooler, but it'll do for now.
3695 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
3697 * pdf/xpdf/pdf-document.cc:
3698 * shell/ev-view.c: (status_message_from_link),
3699 (ev_view_set_status), (ev_view_set_cursor),
3700 (ev_view_motion_notify_event), (ev_view_init):
3701 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
3703 Fix bugs in the links implementation and change cursor
3704 when hovering a link.
3706 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
3708 * viewer/.cvsignore: added cvsignore file for viewer directory
3710 * TODO: created TODO document
3712 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
3715 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
3716 new functions to help with implementation of sensitivity code
3717 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3718 of all actions that might require it. Fixes a crash when you
3719 click on the Zoom actions in a window lacking a document.
3721 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
3723 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3726 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3728 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
3729 (pixbuf_document_document_iface_init):
3730 * ps/ps-document.c: (ps_document_get_link),
3731 (ps_document_document_iface_init):
3732 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
3733 (status_message_from_link), (ev_view_set_status),
3734 (ev_view_set_find_status), (ev_view_motion_notify_event),
3735 (ev_view_button_release_event), (ev_view_set_property),
3736 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
3737 (ev_view_get_find_status_message), (update_find_results),
3738 (ev_view_get_status), (ev_view_get_find_status):
3740 * shell/ev-window.c: (view_status_changed_cb),
3741 (view_find_status_changed_cb), (ev_window_init):
3743 View status message support, use it to show the links.
3746 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3748 * backend/ev-document.c: (ev_document_get_link):
3749 * backend/ev-document.h:
3750 * pdf/xpdf/pdf-document.cc:
3751 * shell/ev-application.c: (ev_application_open):
3752 * shell/ev-application.h:
3753 * shell/ev-sidebar-links.c: (selection_changed_cb):
3754 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
3755 (ev_view_go_to_link):
3757 Add support for document links
3759 2005-01-13 Anders Carlsson <andersca@gnome.org>
3761 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
3763 Set the spin button limits correctly.
3765 * shell/ev-sidebar-thumbnails.c:
3766 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
3767 Support changing pages by clicking on the thumbnails.
3769 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3771 * pixbuf/pixbuf-document.c:
3772 (pixbuf_document_thumbnails_get_dimensions),
3773 (pixbuf_document_document_thumbnails_iface_init):
3775 implement get_dimensions
3777 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3779 * ps/ps-document.c: (ps_document_goto_page):
3781 Fix page switching on multipage documents
3783 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
3785 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3787 check for NULL before assigning to width and height parameters
3789 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3791 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3792 (pixbuf_document_set_property), (pixbuf_document_get_property):
3794 implement get/set properties
3796 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3798 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
3800 return NULL instead of "Unknown", letting the title get set to
3801 the filename when the pdf has no title.
3803 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3805 * ps/ps-document.c: (ps_document_get_page_count),
3806 (ps_document_goto_page):
3808 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3810 * shell/ev-history.c: (ev_history_get_property),
3811 (ev_history_set_property), (ev_history_class_init),
3812 (ev_history_add_page), (ev_history_set_current_index):
3813 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
3814 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
3815 (ev_navigation_action_finalize):
3816 * shell/ev-navigation-action.h:
3817 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3818 (ev_view_go_forward), (ev_view_get_find_status_message),
3819 (history_index_changed_cb), (ev_view_set_history):
3821 * shell/ev-window.c: (update_total_pages), (ev_window_open),
3822 (update_current_page), (register_custom_actions):
3824 Implement history dropdowns
3826 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3828 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
3829 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3830 (ev_view_go_forward):
3831 * shell/ev-window.c: (register_custom_actions):
3833 Fix several history bugs
3835 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
3837 * configure.ac: Add «nb» to ALL_LINGUAS.
3839 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
3841 * backend/Makefile.am:
3842 * backend/ev-bookmark.c:
3843 * backend/ev-bookmark.h:
3844 * backend/ev-document-bookmarks.c:
3845 * backend/ev-document-bookmarks.h:
3846 * backend/ev-document-links.c: (ev_document_links_get_type),
3847 (ev_document_links_has_document_links),
3848 (ev_document_links_begin_read), (ev_document_links_get_link),
3849 (ev_document_links_get_child), (ev_document_links_next),
3850 (ev_document_links_free_iter):
3851 * backend/ev-document-links.h:
3852 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
3853 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
3854 (ev_link_get_link_type), (ev_link_set_link_type),
3855 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
3856 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
3857 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
3858 (ev_link_new_external):
3859 * backend/ev-link.h:
3860 * pdf/xpdf/pdf-document.cc:
3861 * shell/Makefile.am:
3862 * shell/ev-application.c: (ev_application_open_link):
3863 * shell/ev-application.h:
3864 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
3865 (ev_history_get_link_nth):
3866 * shell/ev-history.h:
3867 * shell/ev-sidebar-bookmarks.c:
3868 * shell/ev-sidebar-bookmarks.h:
3869 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3870 (ev_sidebar_links_class_init), (selection_changed_cb),
3871 (ev_sidebar_links_construct), (ev_sidebar_links_init),
3872 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
3873 (do_one_iteration), (populate_links_idle),
3874 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
3875 * shell/ev-sidebar-links.h:
3876 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3877 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
3880 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
3881 * shell/ev-window.h:
3883 Rename bookmark to link, and use "Index" for the sidebar panel.
3885 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3887 * shell/Makefile.am:
3888 * shell/ev-application.c: (ev_application_open_bookmark):
3889 * shell/ev-application.h:
3890 * shell/ev-history.c: (ev_history_init), (free_links_list),
3891 (ev_history_finalize), (ev_history_class_init),
3892 (ev_history_add_link), (ev_history_add_page),
3893 (ev_history_get_link_nth), (ev_history_get_n_links),
3894 (ev_history_get_current_index), (ev_history_set_current_index),
3896 * shell/ev-history.h:
3897 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3898 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
3899 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
3900 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
3903 * shell/ev-window.c: (ev_window_open_bookmark),
3904 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
3905 (goto_page_cb), (register_custom_actions):
3906 * shell/ev-window.h:
3908 Initial history implementation. Needs work.
3910 2005-01-09 Martin Kretzschmar <martink@gnome.org>
3912 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
3914 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3916 * cut-n-paste/recent-files/egg-recent-item.c:
3917 * cut-n-paste/recent-files/egg-recent-item.h:
3918 * cut-n-paste/recent-files/egg-recent-model.c:
3919 * cut-n-paste/recent-files/egg-recent-util.c:
3920 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3921 * cut-n-paste/recent-files/egg-recent-view.c:
3925 2005-01-08 Martin Kretzschmar <martink@gnome.org>
3927 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
3928 (fillGlyph, fillImageMask, drawImage):
3929 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
3930 pdf/splash/SplashTypes.h:
3931 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
3932 packed mode for Splash.
3934 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
3935 RGB8 packed mode, eliminates the pixbuf data creation loop.
3937 * shell/ev-print-job.c (ev_print_job_finalize)
3938 (ev_print_job_set_property, ev_print_job_get_property)
3939 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
3940 (ev_print_job_use_print_dialog_settings, idle_print_handler)
3941 (print_closure_finalize, ev_print_job_print): implement
3942 printing (for backends with EvPsExporter)
3944 * shell/ev_print_job.h: update prototypes.
3946 * shell/ev-window.c (ev_window_print): unref print job after
3949 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
3950 unless the document implements the EvDocumentFind interface.
3952 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
3954 * configure.ac: Added ja to ALL_LINGUAS.
3956 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3958 * pdf/xpdf/pdf-document.cc:
3960 add a FIXME. We should probably not allocate
3961 a bookmark object every time
3963 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3965 * shell/ev-application.c: (ev_application_open),
3966 (ev_application_open_bookmark):
3967 * shell/ev-application.h:
3969 Add a way to open bookmarks
3971 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
3972 (ev_bookmark_set_uri), (ev_bookmark_get_property),
3973 (ev_bookmark_set_property), (ev_bookmark_class_init),
3974 (ev_bookmark_new_title), (ev_bookmark_new_link),
3975 (ev_bookmark_new_external):
3977 Support for external uris, better constructors.
3979 * backend/ev-bookmark.h:
3980 * pdf/xpdf/pdf-document.cc:
3981 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3983 Handle external uris
3985 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3987 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
3988 (ev_sidebar_bookmarks_construct), (do_one_iteration):
3990 Hook up bookmarks navigation
3992 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3994 * backend/Makefile.am:
3995 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
3996 (ev_bookmark_get_title), (ev_bookmark_set_title),
3997 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
3998 (ev_bookmark_get_page), (ev_bookmark_set_page),
3999 (ev_bookmark_get_property), (ev_bookmark_set_property),
4000 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
4002 * backend/ev-bookmark.h:
4003 * backend/ev-document-bookmarks.c:
4004 (ev_document_bookmarks_get_bookmark):
4005 * backend/ev-document-bookmarks.h:
4006 * pdf/xpdf/pdf-document.cc:
4007 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
4009 Add a bookmark object to the backend and use it instead of get_values
4011 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
4013 * data/evince-ui.xml:
4015 Cleanup and add select all.
4017 * shell/ev-view.c: (ev_view_select_all),
4018 (ev_view_button_press_event):
4020 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
4023 Clear selection on click.
4025 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
4027 * shell/ev-sidebar-thumbnails.c
4028 (ev_sidebar_thumbnails_set_document): forgot to unref the
4031 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
4033 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
4034 at the visible page, not just linearly. This makes it look fast.
4036 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
4038 * backend/ev-document-misc.c
4039 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
4041 * backend/ev-document-thumbnails.h: New interface to get the size
4044 2005-01-06 Jeremy Katz <katzj@redhat.com>
4046 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4049 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4051 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4052 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4055 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4057 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4059 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4060 fonts. Should fix font problems on systems that have the base
4061 fonts in bitmap format. Reported by James Henstridge
4062 <james@jamesh.id.au>.
4064 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4067 * pdf/xpdf/GfxState.cc:
4069 Fix for CAN-2004-1125
4071 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4073 * shell/ev-view.c: (ev_view_copy):
4075 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4077 Implement Edit->Copy
4079 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4081 * backend/ev-document.c: (ev_document_get_text):
4082 * backend/ev-document.h:
4083 * pdf/xpdf/pdf-document.cc:
4084 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4085 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4086 (ev_view_update_primary_selection), (ev_view_button_press_event),
4087 (ev_view_motion_notify_event), (ev_view_button_release_event):
4089 Beginnings of clipboard support. Incomplete but primary sort
4092 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4094 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4095 (expose_bin_window):
4097 Nicer rubberband drawing, from GtkIconView.
4099 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4101 * backend/ev-document.c: (ev_document_save):
4102 * backend/ev-document.h:
4103 * data/evince-ui.xml:
4104 * pdf/xpdf/pdf-document.cc:
4105 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4107 Implement "Save a copy..." menu item
4109 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4111 * shell/ev-view.c: (ev_view_zoom):
4113 Queue a resize when zoom changes
4115 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4117 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4120 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4123 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4125 * pdf/xpdf/pdf-document.cc
4126 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4128 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4130 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4131 It's slow, but I'll speed it up next!
4133 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4135 * shell/main.c (load_files):
4137 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4138 from the command line and because it seems more appropriate.
4140 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4142 * data/evince-ui.xml:
4143 * shell/ev-window.c: (update_action_sensitivity),
4144 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4146 s/next page/page down
4147 s/previous page/page up
4149 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4151 * data/evince-ui.xml:
4153 Change the layout to match clarkbw design.
4155 * shell/Makefile.am:
4156 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4157 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4158 (ev_navigation_action_finalize),
4159 (ev_navigation_action_set_property),
4160 (ev_navigation_action_get_property),
4161 (ev_navigation_action_class_init):
4162 * shell/ev-navigation-action.h:
4164 Implement clarkbw toolbar navigation controls (incomplete)
4166 * shell/ev-page-action.c: (update_label), (update_spin),
4167 (value_changed_cb), (create_tool_item), (connect_proxy),
4168 (ev_page_action_init), (ev_page_action_finalize),
4169 (ev_page_action_set_property), (ev_page_action_get_property),
4170 (ev_page_action_set_current_page),
4171 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4172 * shell/ev-page-action.h:
4174 Implement a page switcher in the toolbar
4176 * shell/ev-view.c: (ev_view_scroll_view):
4177 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4178 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4179 (register_custom_actions), (ev_window_init):
4181 Change page on PageUp/Down.
4183 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4185 * pdf/xpdf/pdf-document.cc
4186 (pdf_document_thumbnails_get_thumbnail): initial stab at
4187 implementing thumbnail support for pdfs. It only does documents
4188 with precached pdfs now.
4190 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4192 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4193 thumbnail code into a time-based idle as well. Also, turn off the
4194 shadow temporarily as it's really slow.
4196 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4198 * backend/ev-document.c: (ev_document_class_init):
4199 * pdf/xpdf/pdf-document.cc:
4200 * shell/ev-window.c: (ev_window_open):
4202 Fix document title bugs and fallback to
4203 filename when not available.
4205 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4207 * backend/ev-document.c: (ev_document_get_type),
4208 (ev_document_class_init), (ev_document_load),
4209 (ev_document_get_title):
4210 * backend/ev-document.h:
4211 * pdf/xpdf/pdf-document.cc:
4212 * ps/ps-document.c: (ps_document_set_property),
4213 (ps_document_get_property), (ps_document_class_init),
4217 * shell/ev-window.c: (update_window_title), (ev_window_open),
4220 Initial support for document title. Not working yet.
4222 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4224 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4226 Grab focus on the view when clicking it
4228 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4230 * shell/ev-marshal.list:
4231 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4232 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4234 Add key bindings to the view. Now if the focus would work
4237 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4240 * backend/Makefile.am:
4243 * dvi/dvilib/Makefile.am:
4244 * pdf/xpdf/Makefile.am:
4250 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4252 * shell/ev-view.c: (ev_view_realize):
4254 Fix mouse wheel scrolling
4256 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4262 * ps/ps-document.c: (catchPipe), (ps_document_init),
4263 (ps_document_class_init), (ps_document_cleanup),
4264 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4265 (set_up_page), (close_pipe), (is_interpreter_ready),
4266 (interpreter_failed), (output), (input), (start_interpreter),
4267 (stop_interpreter), (file_length), (file_readable),
4268 (check_filecompressed), (check_pdf), (compute_xdpi),
4269 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4270 (ps_document_get_type), (ps_document_emit_error_msg),
4271 (document_load), (ps_document_next_page),
4272 (ps_document_get_current_page), (ps_document_get_page_count),
4273 (ps_document_goto_page), (ps_document_set_page_size),
4274 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4275 (ps_document_load), (ps_document_get_n_pages),
4276 (ps_document_set_page), (ps_document_get_page),
4277 (ps_document_widget_event), (ps_document_set_target),
4278 (ps_document_set_scale), (ps_document_set_page_offset),
4279 (ps_document_get_page_size), (ps_document_render),
4280 (ps_document_document_iface_init):
4283 * shell/ev-window.c: (ev_window_open):
4285 Rename GtkGS to PSDocument
4287 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4289 * ps/gtkgs.c: (gtk_gs_class_init):
4292 Some more leftover...
4294 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4296 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4297 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4298 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
4301 Remove unused code and make a lot of stuff private
4303 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4305 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
4306 (gtk_gs_defaults_changed):
4312 Cleanup headers dependencies
4314 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4319 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
4321 * ps/gtkgs.c: (file_length), (file_readable),
4322 (check_filecompressed), (check_pdf), (gtk_gs_load),
4323 (gtk_gs_get_postscript):
4327 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4332 * ps/gtkgs.c: (gtk_gs_set_zoom):
4336 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4338 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
4340 Ensure the page is rerendered when changing zoom
4342 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4344 * backend/ev-document.c: (ev_document_base_init),
4345 (ev_document_changed):
4346 * backend/ev-document.h:
4348 Add a changed event that is emitted when the page content
4349 changes. This is necessary to deal with the fact that
4350 in ps backend rendering happen asycrounously.
4351 This makes the ps backend mostly work.
4353 * pdf/xpdf/pdf-document.cc:
4357 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
4358 (ps_document_set_target):
4362 * shell/ev-view.c: (document_changed_callback),
4363 (ev_view_set_document), (ev_view_set_page):
4365 Redraw on the changed signal
4367 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
4369 * configure.ac: Added pt_BR to ALL_LINGUAS.
4371 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
4373 * backend/ev-document-bookmarks.c:
4374 (ev_document_bookmarks_get_child): *
4375 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
4376 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
4377 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
4378 (ev_sidebar_bookmarks_destroy),
4379 (ev_sidebar_bookmarks_class_init),
4380 (ev_sidebar_bookmarks_construct), (stack_data_free),
4381 (do_one_iteration), (populate_bookmarks_idle),
4382 (ev_sidebar_bookmarks_clear_document),
4383 (ev_sidebar_bookmarks_set_document): *
4384 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
4385 (ev_sidebar_add_page),
4386 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
4387 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
4388 it displays both the topics and the page numbers.
4390 2004-12-23 Kristian Høgsberg <krh@redhat.com>
4392 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
4394 * shell/ev-window.c (toggle_entries): Set sidebar default value to
4397 2004-12-23 Adam Weinberger <adamw@gnome.org>
4399 * configure.ac: Added en_CA to ALL_LINGUAS.
4401 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4403 * ChangeLog: replace bottom of this ChangeLog (merged history of
4404 ggv and gpdf; where all paths were wrong and most of the files are
4405 not even in this tree) with ChangeLog (from arch) of the shell
4408 2004-12-23 Havoc Pennington <hp@redhat.com>
4410 * shell/ev-window.c: hook up potentially-questionable "find
4411 results status text" feature - something involving the sidebar or
4412 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
4413 might be better in the end.
4415 * shell/ev-view.c (ev_view_get_find_status_message): new function,
4416 with corresponding signal when it should be updated
4418 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
4420 2004-12-22 Havoc Pennington <hp@redhat.com>
4422 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
4423 find stuff on other pages, sort of (only returns one result on
4424 invisible pages, to show they have results; updates full results
4425 for a page when you view it). Currently repaints the current page
4426 every time a new result is found on any page, which isn't so nice.
4428 2004-12-22 Havoc Pennington <hp@redhat.com>
4430 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
4431 the document doesn't support find (better ideas?)
4432 (find_bar_search_changed_cb): handle missing document or document
4433 that doesn't support find
4435 * pdf/xpdf/pdf-document.cc: port to implement the new
4438 * backend/ev-document-find.c: create a new interface for searching
4440 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
4442 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4444 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
4447 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
4448 EvPrintJob constructor arguments.
4450 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
4451 for documents that can export PostScript (page by page).
4453 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
4455 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
4456 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
4457 (pdf_document_ps_exporter_iface_init:
4458 Implement EvPSExporter.
4460 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
4462 2004-12-22 Anders Carlsson <andersca@gnome.org>
4464 * backend/Makefile.am:
4465 * backend/ev-document-thumbnails.c:
4466 (ev_document_thumbnails_get_type),
4467 (ev_document_thumbnails_get_thumbnail):
4468 * backend/ev-document-thumbnails.h:
4469 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4470 (pixbuf_document_thumbnails_get_thumbnail),
4471 (pixbuf_document_document_thumbnails_iface_init):
4472 * shell/Makefile.am:
4473 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
4474 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
4475 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
4476 * shell/ev-sidebar-thumbnails.h:
4477 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4478 (ev_sidebar_set_document):
4479 * shell/ev-utils.c: (gaussian), (create_blur_filter),
4480 (create_shadow), (ev_pixbuf_add_shadow):
4482 Add thumbnail support.
4484 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4486 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
4487 (using_postscript_printer): Set up a print dialog for "PostScript
4490 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
4493 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
4495 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4497 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
4498 (ps_document_set_target), (ps_document_get_page_size),
4499 (ps_document_render):
4504 2004-12-22 Christian Rose <menthos@menthos.com>
4506 * configure.ac: Added "sv" to ALL_LINGUAS.
4508 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
4510 * backend/ev-document-bookmarks.[ch]: new interface to indicate
4511 document supports bookmarks.
4513 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4515 * ps/ggvutils.c: (ggv_file_readable):
4517 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
4518 (gtk_gs_get_postscript):
4522 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4524 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
4525 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
4526 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
4527 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
4528 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
4529 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
4530 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4531 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4532 (gtk_gs_set_antialiasing), (ps_document_load),
4533 (ps_document_render):
4536 Another check point for the ps backend. Now I can get it to show
4539 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
4541 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
4542 document setting code.
4544 2004-12-22 Anders Carlsson <andersca@gnome.org>
4546 * shell/eggfindbar.c: (entry_activate_callback):
4547 Animate the next button when activate is pressed.
4549 2004-12-22 Anders Carlsson <andersca@gnome.org>
4551 * shell/ev-window.c: (ev_window_cmd_edit_find),
4552 (update_fullscreen_popup), (ev_window_fullscreen),
4553 (ev_window_unfullscreen), (ev_window_state_event_cb),
4554 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
4555 Fix bugs in fullscreen code.
4557 2004-12-22 Anders Carlsson <andersca@gnome.org>
4561 * pixbuf/Makefile.am:
4562 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4563 (pixbuf_document_load), (pixbuf_document_get_n_pages),
4564 (pixbuf_document_set_page), (pixbuf_document_get_page),
4565 (pixbuf_document_set_target), (pixbuf_document_set_scale),
4566 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
4567 (pixbuf_document_render), (pixbuf_document_begin_find),
4568 (pixbuf_document_end_find), (pixbuf_document_finalize),
4569 (pixbuf_document_class_init),
4570 (pixbuf_document_document_iface_init), (pixbuf_document_init):
4571 * pixbuf/pixbuf-document.h:
4572 * shell/Makefile.am:
4573 * shell/ev-application.c: (ev_application_open):
4574 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
4578 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
4581 * dvi/dvilib/Makefile.am:
4583 * configure.ac: Auto*ify dvi and dvi/dvilib
4585 * dvi/Makefile: Remove from CVS
4587 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
4590 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
4592 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
4594 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4597 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
4598 (gtk_gs_value_adjustment_changed), (compute_size),
4599 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
4600 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
4601 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4602 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4603 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
4604 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
4605 (ps_document_load), (ps_document_get_n_pages),
4606 (ps_document_set_page), (ps_document_get_page),
4607 (ps_document_set_target), (ps_document_set_scale),
4608 (ps_document_set_page_offset), (ps_document_get_page_size),
4609 (ps_document_render), (ps_document_begin_find),
4610 (ps_document_end_find), (ps_document_document_iface_init):
4612 * shell/Makefile.am:
4613 * shell/ev-window.c: (ev_window_open):
4615 Some work to integrate gtkgs with EvDocument
4617 2004-12-22 Anders Carlsson <andersca@gnome.org>
4619 * shell/ev-window.c: (update_fullscreen_popup),
4620 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
4621 (exit_fullscreen_button_clicked_cb),
4622 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
4623 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4624 (ev_window_state_event_cb), (ev_window_init):
4625 Add fullscreen support from Epiphany.
4627 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4629 * data/ev-stock-zoom-fit-width.png: fit-width
4630 stock icon from gpdf.
4632 * shell/ev-stock-icons.[ch]: copied from gpdf.
4634 * shell/main.c: (main): init stock icons.
4636 * shell/ev-window.c: use the fit-width icon.
4638 * data/evince-ui.xml: add zooming toolbar items.
4640 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4643 (ev_view_best_fit), (ev_view_fit_width): because
4644 get_page_size() returns the scaled page size, we
4645 need to calculate the scale factor relative to
4646 the previous scale factor. Should really just
4647 add get_real_page_size().
4649 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4651 * shell/ev-view.[ch]:
4652 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
4653 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
4656 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
4657 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
4658 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
4661 * pdf/xpdf/pdf-document.cc:
4662 (pdf_document_begin_find),
4663 (pdf_document_end_find): make static.
4665 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4667 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
4669 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
4670 names to fontconfig patterns.
4671 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
4673 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
4676 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4692 Import ggv backend. Not hooked up yet.
4694 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4696 * shell/main.c: (load_files), (main): load files
4697 from the command line.
4699 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4701 * configure.ac: don't require bonobo.
4703 * cut-n-paste/recent-files/*: kill bonobo recent
4706 * shell/ev-window.c:
4707 (ev_window_is_empty): upd.
4708 (unable_to_load), (ev_window_open): load backend
4709 based on the mime type.
4711 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4713 * backend/.cvsignore: ignore generated marshalers source.
4715 * shell/main.c (main): this is not epiphany.
4717 2004-12-22 Havoc Pennington <hp@redhat.com>
4719 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
4720 (expose_bin_window): draw find highlights
4722 * shell/ev-window.c (find_bar_search_changed_cb): implement
4724 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
4725 (pdf_document_end_find): implement this interface
4727 * backend/ev-document.c (ev_document_found): add this to emit
4730 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
4732 * data/evince-ui.xml: Add a few more toolbar items.
4734 * shell/ev-window.c: Hook up page navigation toolbar
4737 * shell/ev-view.[ch]: add ev_view_set/get_page and
4738 a page-changed signal.
4740 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
4741 Add ev_document_get_page().
4743 * shell/ev-window.c: Sensitize/desensitize navigation
4746 2004-12-21 Havoc Pennington <hp@redhat.com>
4748 * backend/ev-backend-marshal.c,
4749 backend/ev-backend-marshalers.list, backend/Makefile.am: add
4750 marshaler-generator thingy. I'm sure there's a better way to do
4751 this in the modern world.
4753 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
4754 end_find methods and "found" signal.
4756 * configure.ac: find glib-genmarshal
4758 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
4760 * shell/ev-sidebar.c: Construct an actual sidebar.
4761 * shell/ev-sidebar-bookmarks.[ch]:
4762 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
4764 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
4766 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
4769 * shell/ev-view.c: Track the size from the document.
4771 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
4773 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
4774 constructor assumes ownership of the string passed in.
4776 * shell/ev-window.c (ev_window_open): Destroy the error
4777 dialog once we've displayed it.
4779 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
4781 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
4782 a bit, it works! (sort of)
4784 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
4785 Move to .cc since we need to use C++ in the implementation.
4787 * shell/dummy.cc: Add a CC file to force evince
4788 to be linked as a C++ program.
4790 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
4792 * shell/ev-view.[ch]: Start of content-area widget.
4794 * shell/ev-window.c: Create a EvView, update it
4795 as we change documents.
4797 * shell/Makefile.am shell/ev-marshal.list: Add
4798 generated marshalers.
4800 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
4802 * Makefile.am (SUBDIRS): move shell.
4804 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
4806 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
4807 .a to libtool convenience libraries.
4809 * shell/ev-window.c (ev_window_open): Hard code loading
4812 * backend/ev-document.h: Add a boolean return to load(),
4813 fix GError * to GError **.
4815 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
4816 object for a PDF backend EvDocument.
4818 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
4820 * dvi/*: New directory with the beginning of a .dvi backend.
4822 2004-12-21 Havoc Pennington <hp@redhat.com>
4824 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
4825 previous/next instead of back/forward
4827 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
4829 * backend/ev-document.[ch]: Fix a couple of problems so
4832 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
4834 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
4835 to backend/ directory, rename EvViewer to EvDocument.
4837 2004-12-21 Havoc Pennington <hp@redhat.com>
4839 * shell/ev-window.c: hook up the find bar widget; now we just need
4840 a document to find things in
4842 * shell/eggfindbar.c: a find bar widget
4844 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
4846 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
4848 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
4850 * pdf/**: Import of xpdf code from gpdf.
4852 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
4854 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
4855 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
4856 Fix FreeType includes.
4858 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
4859 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
4860 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
4861 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
4862 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
4863 Include xpdfconfig.h
4865 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
4867 * shell/ev-window.c (ev_window_dispose): dispose can be called
4870 2004-12-21 Havoc Pennington <hp@redhat.com>
4872 * shell/ev-window.c (ev_window_init): set title to Document Viewer
4875 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
4876 items; really they should be synced with the strings, etc. from
4877 current gpdf, but just getting the boring typing out of the way
4879 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4882 * shell/ev-application.c: (window_destroy_cb):
4883 * shell/ev-window.c:
4884 * shell/main.c: (main):
4886 Actually show the window...
4888 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4891 * shell/Makefile.am:
4892 * shell/ev-application.c: (ev_application_class_init):
4893 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
4897 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4899 Import to gnome cvs.
4901 * Remove copies of gpdf and ggv trees.
4902 * Rip out all the recursive configure code.
4903 * Remove bonobo machinery.
4904 * viewer/*: GInterfaces that backends should/can implement.
4906 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4908 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
4911 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
4913 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
4914 (ev_application_finalize, ev_application_class_init)
4915 (ev_application_init): use GType instance private data for priv.
4917 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
4918 (ev_window_finalize, ev_window_class_init)
4919 (ev_window_init): ditto.
4921 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4923 * shell/ev-application.c (ev_application_new_window): make public
4924 (ev_application_show_initial_window): kill.
4926 * shell/ev-application.h: update prototypes.
4928 * shell/main.cc (main): inline ev_application_show_initial_window.
4930 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4932 * shell/ev-application.c (ev_application_new_window): impl.
4933 (ev_application_show_initial_window): use it.
4934 (is_window_empty, ev_application_get_empty_window): returns an
4935 existing empty window or a new one.
4936 (ev_application_open): from ev_window_cmd_file_open.
4938 * shell/ev-application.h: update prototypes
4940 * shell/ev-window.c (ev_window_is_empty): impl.
4941 (ev_window_open): make public.
4942 (ev_window_cmd_file_open): use ev_application_open
4944 * shell/ev-window.h: update prototypes, remove unused.
4946 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4948 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
4949 move destroy handler out of here...
4951 * shell/ev-application.c, shell/ev-application.h: ...into this new
4952 class. Also handles initial window creation.
4954 * shell/main.cc (main): use EvApplication to create initial
4957 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4959 * Makefile.am (SUBDIRS): add cut-n-paste
4961 * cut-n-paste/Makefile.am: add
4963 * configure.ac: generate Makefiles in cut-n-paste
4965 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4967 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
4968 (ev_window_class_init): install ev_window_dispose.
4970 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4972 * shell/ev-window.h, shell/ev-window.c: replace gchar with
4973 char (gchar looks stupid).
4975 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4977 * po/de.po: updated German translation.
4979 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4981 * configure.ac: add more pkg-config library checks for gnome-vfs,
4984 * gpdf/configure.in: temporarily disable libpaper
4985 checks. Otherwise I'd have to add the checks for the shell, too.
4987 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4989 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
4990 and * file filters to the file choose.
4992 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4994 * po/de.po: Updated German translation.
4996 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4998 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
5000 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5002 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
5004 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
5005 (ev_window_init): implement those menuitems.
5007 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5009 * data/evince-ui.xml: add a toolbar (with FileOpen action)
5011 * shell/ev-window.c (ev_window_init): use the toolbar.
5013 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5015 * shell/ev-window.c (ev_window_init): use menu translations
5017 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5019 * configure.ac: add "de" to ALL_LINGUAS.
5021 * po/de.po: add German translation.
5023 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5025 * Makefile.am (SUBDIRS): add po
5027 * configure.ac: check intltool, glib-gettext etc, generate
5030 * po, po/POTFILES.in, po/POTFILES.skip: new.
5032 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
5034 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
5035 already use (#ifdef ENABLE_NLS)
5037 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
5038 pointer indirection thinko.
5040 * shell/main.c: include gi18n.h for bindtextdomain etc.
5042 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5044 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5045 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5046 tooltips for menu items in the statusbar.
5048 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5050 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5051 pkgdatadir drop UIDIR
5053 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5055 * data/evince-ui.xml: Add File->Open menu item
5057 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5058 chooser), hook it up in the ui manager.
5060 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5062 * shell/ev-window.c: fix Help->About tooltip.
5064 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5066 * configure.ac: set CFLAGS for libevprivate.
5068 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5069 definitions, factory etc.
5071 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5073 * shell/Makefile.am: link against libevprivate.a.
5075 * shell/ev-window.c (entries): add stock icon to Help->About.
5077 * shell/main.c (main): init stock icon code.
5079 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5081 * lib/recent-files: egg recent files code
5083 * lib/Makefile.am: add.
5085 * Makefile.am: add lib subdir.
5087 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5088 set CFLAGS for recent-files.
5090 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5092 * configure.ac: disable -ansi and -pedantic gcc flags. They
5093 disable POSIX stuff in stdio.h, but egg-recent uses them.
5095 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5097 * configure.ac: add --disable-deprecated flag (defaults to on in
5100 * shell/Makefile.am (INCLUDES): use it.
5102 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5104 * shell/main.c: add missing #include.
5106 * shell/ev-window.c: fix for pedantic gcc.
5107 (ev_window_cmd_help_about): split license into paragraphs for
5108 translators and pedantic compilers.
5110 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5112 * configure.ac: add more warning flags if compiling with gcc from
5113 cvs (or explicitly requested with --enable-more-warnings).
5115 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5117 * data/evince-ui.xml: add File and File->Close menu.
5119 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5120 (ev_window_destroy): quit after destroy.
5121 (ev_window_class_init): override GtkObject::destroy.
5122 (entries): install close_window callback.
5124 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5126 * Makefile.am (SUBDIRS): add data subdir.
5128 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5129 gtk+ 2.5.0 for GtkAboutDialog.
5131 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5134 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5136 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5138 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5140 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5142 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5144 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5146 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5148 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5150 * shell/*: Added shell directory boilerplate, build it.
5152 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5154 * configure.ac, Makefile.am: Added top-level configure.ac and