1 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
3 * backend/ev-document.c: (ev_document_get_orientation):
4 * backend/ev-document.h:
6 * ps/ps-document.c: (ps_document_get_orientation),
7 (ps_document_set_orientation), (ps_document_document_iface_init):
9 Add a get_orientation api. Improve set_orientation.
12 * shell/ev-view.c: (ev_view_set_orientation),
13 (ev_view_rotate_right), (ev_view_rotate_left):
15 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
16 (ev_window_cmd_edit_rotate_right):
18 Better ui for changing document orientation
20 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
22 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
23 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
24 * shell/ev-sidebar-links.h:
25 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
26 (ev_sidebar_page_iface_init):
27 * shell/ev-sidebar-page.h:
28 * shell/ev-sidebar-thumbnails.c:
29 (ev_sidebar_thumbnails_get_property),
30 (ev_sidebar_thumbnails_class_init),
31 (ev_sidebar_thumbnails_set_document):
32 * shell/ev-sidebar-thumbnails.h:
33 * shell/ev-view.c: (ev_view_motion_notify_event):
34 * shell/ev-window.c: (update_chrome_visibility),
35 (ev_window_cmd_focus_page_selector),
36 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
37 (sidebar_page_main_widget_update_cb), (ev_window_init):
39 Autoraise toolbar on GoToPage binding and fix bindings in
40 EvSidebarThumbnails page.
42 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
44 * shell/ev-properties.c: (update_progress_label):
46 Hide the progress label when finished; bug #307697.
48 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
52 Enable is_open for links, you will need poppler cvs
54 * shell/ev-properties.c: (job_fonts_finished_cb):
56 Get a lock on the document when filling the tree view
58 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
60 * backend/ev-document-links.h:
62 * shell/ev-sidebar-links.c: (create_loading_model),
63 (expand_open_links), (job_finished_callback):
65 Expand links when specified by the document.
66 Depend on a poppler api (defined out for now)
68 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
70 * shell/ev-properties.c: (ev_properties_dispose),
71 (ev_properties_class_init), (dialog_destroy_cb),
72 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
73 (ev_properties_set_document), (ev_properties_new),
75 * shell/ev-properties.h:
77 Make it an object, cleanup the code, api to show it as transient
78 and to set the document.
80 * shell/ev-window.c: (ev_window_setup_document),
81 (ev_window_cmd_file_properties):
83 Adapt to EvProperties changes, do not show multiple
84 times, update it when document changes.
86 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
89 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
90 (ps_document_set_orientation), (ps_document_document_iface_init):
93 Implement orientation here too
95 * shell/ev-properties.c: (ev_properties_new):
96 * data/evince-properties.glade:
98 Hide the fonts page for backends that doesnt
101 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
103 * backend/ev-document.c: (ev_document_set_orientation):
104 * backend/ev-document.h:
107 Add orientation api. Currently poppler api is not optimal,
108 we need to set orientation every time we _get a page.
109 I will try to fix that at some point.
111 * data/evince-ui.xml:
112 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
113 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
115 Add orientation menu items
117 * shell/ev-page-cache.c: (ev_page_cache_clear):
118 * shell/ev-page-cache.h:
120 Add api to clear the cache
122 * shell/ev-view.c: (setup_caches), (clear_caches),
123 (ev_view_set_document), (ev_view_zoom_out),
124 (ev_view_set_orientation):
127 Implement orientation changing
129 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
131 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
132 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
133 * backend/ev-document-fonts.h:
135 Separate scan and fill so that we can incrementally fill from
136 the main thread. Add a progress api.
138 * data/evince-properties.glade:
140 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
142 * shell/ev-properties.c: (update_progress_label),
143 (job_fonts_finished_cb), (setup_fonts_view):
145 Incrementally feel the list and show the progress
146 percentage in a label like acrobat does.
148 You are going to need poppler cvs
150 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
152 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
153 * backend/ev-document-fonts.h:
156 Make fonts model fill incrementally.
158 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
159 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
160 (ev_job_queue_remove_job):
161 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
162 (ev_job_fonts_new), (ev_job_fonts_run):
165 New job for fonts scanning
167 * shell/ev-properties.c: (job_fonts_finished_cb),
168 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
169 * shell/ev-properties.h:
170 * shell/ev-window.c: (ev_window_cmd_file_properties):
172 Incrementally feel the treeview using the new job. Show Loading...
173 message until scanning is completed.
175 Hopefully I didnt break the build without the poppler patch.
177 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
179 * shell/ev-application.c: (ev_application_open):
180 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
181 (ev_document_type_get_type), (ev_document_type_lookup):
182 * shell/ev-document-types.h:
183 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
184 * shell/ev-job-xfer.h:
185 * shell/ev-window.c: (ev_window_clear_local_uri),
186 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
187 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
188 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
190 Transfer remote documents to tmp directory to display them later.
192 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
194 * backend/ev-document-info.h:
195 * shell/ev-properties.c: (ev_properties_new):
197 s/GTime*/GTime. Not sure why we was using a pointer
200 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
202 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
203 situations. That situation is that you're using GTK+-HEAD with
204 the patch at #306726 is applied, and you have a document with <
205 1500 pages in it. It's not quite as uniformly nice as the
206 TreeView, but should be better in the long run.
208 I'm pretty sure I guarded against breaking compilation with
209 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
212 * shell/ev-window.c (ev_window_init): We don't have our tree/list
213 widget yet, so I commented that code out
214 enable_view_actions_for_widget() for now. Need to figure this
217 * shell/ev-page-action.c (match_selected_cb): emit the right
218 signals. Our cool C-l completion now works.
220 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
222 * backend/Makefile.am:
223 * backend/ev-document-fonts.c:
224 * backend/ev-document-links.c:
225 * backend/ev-document.c: (ev_document_load):
226 * backend/ev-document.h:
227 * backend/ev-job-queue.c:
228 * backend/ev-job-queue.h:
231 * backend/ev-page-cache.c:
232 * backend/ev-page-cache.h:
234 EvPageCache and EvJobs are moved to shell.
236 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
238 * lib/ev-file-helpers.h:
240 New helper to work with temporary files
243 * shell/ev-application.c: (ev_application_open):
244 * shell/ev-application.h:
245 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
246 (remove_job_from_async_queue), (add_job_to_async_queue),
247 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
248 (handle_job), (search_for_jobs_unlocked),
249 (no_jobs_available_unlocked), (ev_render_thread),
250 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
251 (ev_job_queue_add_job), (move_job_async), (move_job),
252 (ev_job_queue_update_job), (ev_job_queue_remove_job):
253 * shell/ev-job-queue.h:
254 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
255 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
256 * shell/ev-job-xfer.h:
257 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
258 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
259 (ev_job_links_class_init), (ev_job_render_init),
260 (ev_job_render_dispose), (ev_job_render_class_init),
261 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
262 (ev_job_thumbnail_class_init), (ev_job_load_init),
263 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
264 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
265 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
266 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
268 * shell/ev-page-action.c: (ev_page_action_set_document):
269 * shell/ev-page-cache.c: (ev_page_cache_init),
270 (ev_page_cache_class_init), (ev_page_cache_finalize),
271 (ev_page_cache_new), (ev_page_cache_get_n_pages),
272 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
273 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
274 (ev_page_cache_get_title), (ev_page_cache_get_size),
275 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
276 (ev_page_cache_get_height_to_page),
277 (ev_page_cache_get_max_label_chars),
278 (ev_page_cache_get_page_label),
279 (ev_page_cache_has_nonnumeric_page_labels),
280 (ev_page_cache_get_info), (ev_page_cache_next_page),
281 (ev_page_cache_prev_page), (ev_page_cache_get):
282 * shell/ev-page-cache.h:
283 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
284 (ev_pixbuf_cache_clear_job_sizes),
285 (ev_pixbuf_cache_add_jobs_if_needed),
286 (ev_pixbuf_cache_set_page_range):
287 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
288 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
289 * shell/ev-sidebar-thumbnails.c:
290 (ev_sidebar_tree_selection_changed),
291 (ev_sidebar_thumbnails_set_document):
292 * shell/ev-statusbar.c: (ev_statusbar_destroy),
293 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
294 (ev_statusbar_get_context_id), (ev_statusbar_push),
295 (ev_statusbar_pop), (ev_statusbar_set_maximized),
296 (ev_statusbar_pulse), (ev_statusbar_show_progress),
297 (ev_statusbar_set_progress):
298 * shell/ev-statusbar.h:
299 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
300 (ev_view_find_previous):
301 * shell/ev-window.c: (ev_window_is_empty),
302 (ev_window_setup_document), (password_dialog_response),
303 (ev_window_clear_jobs), (ev_window_load_job_cb),
304 (ev_window_xfer_job_cb), (ev_window_open_uri),
305 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
306 (ev_window_print), (ev_window_print_range),
307 (ev_window_state_event), (ev_window_cmd_view_reload),
308 (menu_item_select_cb), (menu_item_deselect_cb),
309 (view_status_changed_cb), (ev_window_dispose),
310 (drag_data_received_cb), (ev_window_init):
312 * shell/main.c: (load_files):
314 New statusbar to show progress on idle. Two new jobs -
315 xfer job and load job to load document in background. And update
316 of page_cache clients to new location of code.
318 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
320 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
321 selection in open dialog. It also remembers the last visited directory
322 in the current session.
324 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
326 * shell/ev-properties.c: (ev_properties_new):
327 * shell/ev-properties.h:
328 * shell/ev-window.c: (ev_window_cmd_file_properties):
330 Get document info from page cache instead of document itself.
331 This should fix crash related to race conditions described in
334 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
336 * ps/ps-document.c: (ps_document_init),
337 (send_ps), (get_page_box), (output), (catchPipe), (input),
338 (stop_interpreter), (file_length), (file_readable),
339 (check_filecompressedb), (ps_document_enable_interpreter),
340 (document_load), (ps_async_renderer_render_pixbuf):
343 Big cleanup of the ps code
345 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
347 * backend/Makefile.am:
348 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
349 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
350 * backend/ev-async-renderer.h:
352 Add an async renderer interface (method + callback) which
353 is useful for backends like ps.
355 * backend/ev-job-queue.c: (remove_job_from_async_queue),
356 (add_job_to_async_queue), (job_finished_cb), (handle_job),
357 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
358 (ev_job_queue_add_job), (move_job_async), (move_job),
359 (ev_job_queue_update_job), (ev_job_queue_remove_job):
361 Add queues for async renderer, these are executed on the
364 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
368 If the backend support async renderer interface use it.
370 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
371 (setup_pixmap), (ps_document_get_type),
372 (ps_async_renderer_render_pixbuf),
373 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
375 Implement async renderer interface.
377 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
379 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
381 Cleanup links job on exit.
383 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
385 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
386 (drag_data_get_cb), (drag_data_received_cb):
387 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
388 (drag_data_get_cb), (parse_item_list),
389 (egg_toolbar_editor_load_actions):
390 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
391 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
392 (parse_item_list), (parse_toolbars):
393 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
394 (dvi_pixbuf_put_pixel):
398 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
400 * ps/ps-document.c: (start_interpreter):
402 Fix warning when loading ps
404 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
406 * ps/ps-document.c: (output):
408 Fix crash when priting gs error messages.
410 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
412 * backend/ev-page-cache.c: (_ev_page_cache_new):
413 * backend/ev-page-cache.h:
415 Use a const to return title so that we dont double
416 free it. Small cleanup and fix a leak.
418 * shell/ev-window.c: (update_window_title):
420 strdup value from get_title.
422 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
424 * shell/ev-sidebar-links.c: (job_finished_callback),
425 (ev_sidebar_links_set_document):
427 Cleanup the old job when changing document
429 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
431 * shell/ev-stock-icons.c:
432 * shell/ev-stock-icons.h:
435 Add stock icons for actions that can appear in toolbar. Fix for
438 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
440 * backend/ev-page-cache.c: (ev_page_cache_finalize),
441 (_ev_page_cache_new), (ev_page_cache_get_max_width),
442 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
443 * backend/ev-page-cache.h:
444 * shell/ev-view.c: (scroll_to_current_page),
445 (view_update_range_and_current_page), (get_page_y_offset),
446 (get_page_extents), (ev_view_size_request_continuous_dual_page),
447 (ev_view_size_request_continuous),
448 (ev_view_zoom_for_size_continuous_and_dual_page),
449 (ev_view_zoom_for_size_continuous):
451 More compact EvView layout in document with pages of different size.
453 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
455 * shell/ev-window.c (ev_window_cmd_file_properties): fix
458 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
460 * shell/ev-view.c: (view_set_adjustment_values):
461 * shell/ev-window.c: (ev_window_cmd_file_properties):
463 A bit different fix for rounding problem but it has no
464 problems on startup. Make properties window transient to parent.
466 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
470 More commenting of font stuff.
472 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
476 Comment out some more fonts stuff. Should really
477 work without the poppler patch now.
479 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
485 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
487 * data/evince-properties.glade:
489 * shell/ev-properties.c: (setup_fonts_view):
491 Set the column title. Show the dialog only
492 once everything is setup.
493 Getting font info can be very slow... will
494 prolly need to make this threaded too.
496 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
498 * backend/Makefile.am:
499 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
500 (ev_document_fonts_get_fonts_model):
501 * backend/ev-document-fonts.h:
502 * data/evince-properties.glade:
504 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
505 * shell/ev-properties.h:
506 * shell/ev-window.c: (ev_window_cmd_file_properties):
508 Implement fonts list. Defined out for now, since it depends
509 on a not yet committed poppler patch.
511 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
513 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
516 * shell/ev-window.c: Make sure we add the timeout when we get a
519 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
520 adjustment->value before calculating the zoom factor to average
521 out all of our rounding errors. The page no longer 'drifts' when
524 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
526 * data/evince-properties.glade:
527 * shell/ev-properties.c: (ev_properties_format_date),
530 Labels don't expand when the dialogue is resized.
531 strftime result needs to be converted to UTF-8. Thanks
532 to Christian Persch <chpe@gnome.org>.
534 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
536 * data/evince-properties.glade:
540 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
542 * backend/ev-document-info.h:
543 * backend/ev-document.c: (ev_document_info_free):
544 * data/evince-properties.glade:
546 * ps/ps-document.c: (ps_document_get_info):
547 * shell/ev-properties.c: (ev_properties_format_date),
548 (set_property), (ev_properties_new):
549 * shell/ev-properties.h:
550 * shell/ev-window.c: (ev_window_cmd_file_properties):
552 Rework properties code to take only EvPropertyInfo
553 in the constructor so that it can be useful for
556 Deal with backends that doesnt support some properties.
557 Make set property code generic.
559 2005-06-04 Christian Persch <chpe@gnome.org>
561 * data/evince-properties.glade:
563 fix spacings, make resizeable, and make data labels
564 selectable + ellipsised
566 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
568 * backend/ev-document-info.h:
570 * data/evince-ui.xml:
573 * shell/ev-window.c: (update_action_sensitivity),
574 (ev_window_cmd_file_properties):
576 Initial go at file properties. Patch by
577 Emil Soleyman-Zomalan <emil@soleyman.com>.
578 Needs love see #169583
580 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
582 * ps/ps-document.c: (output):
585 Try to render even if psscan fails.
587 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
589 * ps/ps.c: (psscan), (pscopydoc):
591 Port buffered reading code from gv
593 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
595 * ps/ps-document.c: (interpreter_message), (output):
597 Do not fail on interpreter messages
599 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
601 * backend/ev-document-misc.c:
602 (ev_document_misc_get_thumbnail_frame):
604 Pages can be 0 x 0, dont assert on this case
606 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
608 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
609 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
611 Correctly manage our reference on document. Finally the reload
614 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
616 * ps/ps-document.c: (ps_document_dispose):
618 Forgot to chain it to the parent. Thanks chpe.
620 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
622 * ps/ps-document.c: (ps_document_dispose),
623 (ps_document_class_init), (stop_interpreter), (document_load):
625 Cleanup dispose a bit. Dont leak the whole pixmap.
627 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
631 Release the poppler document on dispose
633 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
635 * shell/ev-view.c: (ev_view_set_document):
637 Release ref on the pixbuf cache when changing
640 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
642 * ps/ps-document.c: (ps_document_get_info):
646 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
648 * backend/ev-page-cache.c: (ev_page_cache_init),
649 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
650 * backend/ev-page-cache.h:
651 * shell/ev-page-action.c: (page_changed_cb):
653 Set page action entry width depending on labels width. Fix
656 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
658 * backend/ev-link.c: (ev_link_class_init):
660 Allow -1 as page value (error)
662 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
664 * shell/ev-sidebar-thumbnails.c:
665 (ev_sidebar_thumbnails_set_document):
666 * shell/ev-view.c: (scroll_to_current_page),
667 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
668 (page_changed_cb), (on_adjustment_value_changed),
669 (ev_view_set_document):
671 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
674 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
677 * djvu/djvu-document.c: (djvu_document_get_page_size):
679 Require djvulibre CVS. Now djvu loading is much faster. Fix for
682 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
684 * shell/ev-view.c (draw_one_page): modify the expose handling to
687 * shell/ev-window.c (update_action_sensitivity): Respect
688 permissions field. Kowtow to the man.
690 * pdf/ev-poppler.cc: Get the permissions field.
692 * tiff/*c: Make a tiny bit more robust.
694 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
696 * djvu/djvu-document.c:
698 Pop messages from djvu context message queue.
700 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
702 * configure.ac, Makefile.am, shell/Makefile.am:
703 * tiff/Makefile.am, shell/ev-document-types.c:
705 Cleanup tiff configure checks. Fix for bug 305218.
707 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
709 * configure.ac: Added "uk" to ALL_LINGUAS.
711 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
713 * cut-n-paste/zoom-control/ephy-zoom.c:
714 (ephy_zoom_get_changed_zoom_level):
715 * cut-n-paste/zoom-control/ephy-zoom.h:
716 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
717 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
718 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
719 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
720 (zoom_control_changed_cb), (ev_window_init):
722 Fix minor points related to moving best fit up. Introduce
723 "zoom" property and make zoom control change it's value on
724 notify::zoom signals. Fix for 305080.
726 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
728 * data/evince-ui.xml:
729 * shell/ev-window.c: (set_view_actions_sensitivity):
731 Use + and - as accels for zoom in and zoom out. Fix for 305001.
733 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
737 Depends on poppler 0.3.2
739 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
741 * cut-n-paste/recent-files/egg-recent-item.c:
742 (egg_recent_item_get_short_name):
743 * cut-n-paste/toolbar-editor/Makefile.am:
744 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
745 (new_pixbuf_from_widget):
746 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
747 * cut-n-paste/toolbar-editor/egg-marshal.c:
748 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
749 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
753 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
755 * tiff/tiff-document.c: Rough TIFF backend.
757 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
761 * cut-n-paste/toolbar-editor/Makefile.am:
765 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
767 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
768 (ev_view_find_next), (ev_view_find_previous):
770 Remove the locks around get_n_results
772 2005-05-21 Juerg Billeter <j@bitron.ch>
774 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
776 Pass correct number of pages to poppler.
778 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
782 * data/evince.desktop.in:
783 * data/evince.desktop.in.in:
786 Add conditionally dvi and djvu to desktop types. Fix for 304658.
788 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
790 * shell/ev-view.c: (view_update_adjustments),
791 (view_set_adjustment_values): cast adjustmen->value to (int)
792 before using it. Otherwise, we get off by a pixel in some
795 (draw_one_page): Draw the border on expose.
797 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
799 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
800 adjustment when the mode changes, #304923
802 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
804 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
805 flickering on resize but still use gdk_window_scroll on
808 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
810 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
813 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
815 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
816 second page on page_changed if possible, #304669
818 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
820 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
821 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
823 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
826 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
827 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
828 (ev_view_zoom_for_size_presentation),
829 (ev_view_zoom_for_size_continuous_and_dual_page),
830 (ev_view_zoom_for_size_continuous),
831 (ev_view_zoom_for_size_dual_page),
832 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
834 * shell/ev-window.c: (update_view_size),
835 (ev_window_sizing_mode_changed_cb):
837 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
838 the scrollbars. It's not 100% right, but it's much closer. Kills
839 an infinite loop, #304769
842 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
844 * data/evince-ui.xml:
845 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
846 * shell/ev-window.c: (set_view_actions_sensitivity):
848 Make PgUp/Down behave like Space
850 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
852 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
853 * backend/ev-ps-exporter.h:
855 * ps/ps-document.c: (ps_document_ps_export_begin):
856 * shell/ev-print-job.c: (idle_print_handler):
858 Adapt to new poppler api
860 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
862 * cut-n-paste/zoom-control/ephy-zoom-control.c:
863 (ephy_zoom_control_init):
865 Translate zoom levels
867 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
869 * cut-n-paste/zoom-control/ephy-zoom.c:
870 (ephy_zoom_get_zoom_level_index):
872 Fix current zoom -> zoom control match
874 2005-05-18 James Bowes <bowes@cs.dal.ca>
876 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
877 rather than the scrolled_window that it's in. Fixes bug #304655.
879 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
881 * shell/ev-view.c: (view_update_adjustments),
882 (view_set_adjustment_values), (view_update_range_and_current_page),
883 (view_scroll_to_page), (set_scroll_adjustment),
884 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
885 (ev_view_scroll), (ev_view_scroll_view),
886 (ensure_rectangle_is_visible), (find_page_at_location),
887 (get_link_at_location), (go_to_link), (status_message_from_link),
888 (ev_view_size_request_continuous_dual_page),
889 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
890 (ev_view_unrealize), (ev_view_expose_event),
891 (ev_view_button_press_event), (ev_view_motion_notify_event),
892 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
893 (draw_rubberband), (highlight_find_results), (draw_one_page),
894 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
895 (ev_view_init), (find_changed_cb), (page_changed_cb),
896 (on_adjustment_value_changed), (ev_view_new),
897 (ev_view_set_document), (ev_view_set_zoom),
898 (ev_view_set_continuous), (ev_view_set_dual_page),
899 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
900 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
901 (ev_view_zoom_for_size_presentation),
902 (ev_view_zoom_for_size_continuous_dual_page),
903 (ev_view_zoom_for_size_continuous),
904 (ev_view_zoom_for_size_dual_page),
905 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
906 (ev_view_get_status), (ev_view_set_status),
907 (update_find_status_message), (ev_view_get_find_status),
908 (ev_view_set_find_status), (jump_to_find_result),
909 (jump_to_find_page), (compute_selections), (clear_selection),
910 (ev_view_select_all), (get_selected_text), (ev_view_copy),
911 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
912 (ev_view_update_primary_selection),
913 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
915 * shell/ev-window.c: (ev_window_open_page_label),
916 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
919 * shell/main.c: (load_files):
921 Massive code clean up from Nickolay Shmyrev. Keep page offset
922 when resizing. Remove the bin_window(). Also, patch from James
923 Bowes to fix command line page, #300641
925 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
927 * data/evince-ui.xml:
930 * shell/ev-window.c: (update_action_sensitivity):
932 Get rid of View->Normal Size, it's just confusing
934 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
936 * backend/ev-document-info.h:
937 * backend/ev-document.c: (ev_document_info_free): Free the
940 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
941 (clear_range), (add_range), (update_visible_range),
942 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
943 (ev_sidebar_thumbnails_set_document):
944 * shell/ev-window.c: (ev_window_setup_document): Only render the
945 visible thumbnails. It takes an instant to render, but it uses
948 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
950 * shell/ev-sidebar-links.c: (popup_menu_cb):
954 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
957 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
958 (button_press_cb), (ev_sidebar_links_construct):
960 Show the popup menu also on keybindings
962 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
964 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
967 Expose api to print a range (with dialog). Make private _print use
970 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
971 (ev_sidebar_links_construct):
973 Show a print context menu on linkx, it prints the selected
976 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
978 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
981 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
987 * shell/ev-window.c: (build_comments_string),
988 (ev_window_cmd_help_about):
990 Show poppler version/backend and authors
992 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
994 * cut-n-paste/zoom-control/ephy-zoom.c:
995 (ephy_zoom_get_zoom_level_index):
996 * cut-n-paste/zoom-control/ephy-zoom.h:
998 Move the best fit items at the top of the list
1000 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
1002 * shell/ev-marshal.list:
1003 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
1004 (activate_cb), (match_selected_cb), (activate_link_cb),
1005 (connect_proxy), (ev_page_action_class_init):
1006 * shell/ev-page-action.h:
1008 Use signals to notify action activation. Hopefully
1009 I did not break completion since I cant test...
1011 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
1012 (register_custom_actions):
1014 Connect to page selector actions and also grab focus on
1015 the view when activated.
1017 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
1019 * pdf/ev-poppler.cc:
1020 * backend/ev-page-cache.c: make page size calculation consistent
1021 and set it to (int)( width * scale + 0.5). This makes the weird
1022 line going through the middle of the page go away.
1024 * shell/ev-view.c: move painting the background page after
1025 checking the expose area covers us.
1027 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1029 * data/evince-password.glade:
1031 Mark labels as not translatable. Fix for bug 302842.
1033 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
1035 * configure.ac: Added "es" to ALL_LINGUAS.
1037 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1039 * data/evince-toolbar.xml:
1040 * shell/ev-window.c: (update_action_sensitivity),
1041 (ev_window_setup_document), (ev_window_set_page_mode),
1044 Remove some leftover code from jrb first continous
1045 attempt. Use the new actions, we still need good icons
1048 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1050 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1052 Update label when connecting proxy. Fix a warning with NULL
1055 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1057 * data/evince-ui.xml:
1058 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1059 * shell/ev-page-action.h:
1060 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1062 Add mnemonic for edit toolbar.
1063 ctrl+l focus the page entry.
1065 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1068 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1070 * shell/main.c: (main):
1072 Put the toolbar xml in evince own dot dir
1074 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1076 * shell/ev-window.c: (ev_window_init):
1078 Make the toolbar not removable
1080 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1082 * data/evince-ui.xml:
1083 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1084 * shell/ev-sidebar-links.h:
1085 * shell/ev-sidebar-thumbnails.c:
1086 (ev_sidebar_thumbnails_get_treeview):
1087 * shell/ev-sidebar-thumbnails.h:
1088 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1089 (ev_view_class_init):
1091 * shell/ev-window.c: (update_action_sensitivity),
1092 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1093 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1094 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1097 This is evil... Make space/backspace global accelerators but
1098 enable them only for some widgets (sidebars and view).
1099 I dont like it, but I dont know a better way... :/
1101 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1103 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1104 (ev_page_action_widget_finalize),
1105 (ev_page_action_widget_class_init), (update_page_cache):
1107 Keep a weak reference on proxy->page_cache so that we
1108 dont try to disconnect the signal if the object is already
1109 gone. Maybe there is a better way to cleanup reference handling
1110 in page action though...
1112 2005-05-10 Juerg Billeter <j@bitron.ch>
1114 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1115 * backend/ev-ps-exporter.h:
1116 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1117 * ps/ps-document.c: (ps_document_ps_export_begin):
1119 Change api to pass print range to ps_exporter_begin. The pdf backend
1120 requires this information.
1122 * shell/ev-print-job.c: (idle_print_handler):
1126 2005-05-10 Juerg Billeter <j@bitron.ch>
1128 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1129 (idle_print_handler)
1130 * shell/ev-window.c: (ev_window_print):
1132 Support printing page range, based on patch by Amaury Jacquot
1134 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1136 * data/evince-toolbar.xml:
1138 Add zoom control to available items
1140 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1142 * shell/ev-window.c: (update_action_sensitivity):
1144 Set slash action insensitive when appropriate
1146 2005-05-10 Christian Persch <chpe@gnome.org>
1148 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1150 Fix warning on the overflow menu
1152 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1154 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1156 Check for uri correctness/existence
1158 2005-05-09 Juerg Billeter <j@bitron.ch>
1160 * shell/ev-window.c: (using_postscript_printer):
1162 LPD printers use postscript, too
1164 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1166 * shell/ev-window.c: (register_custom_actions):
1168 The zoom one is actually sort of useful,
1171 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1173 * shell/ev-window.c: (register_custom_actions):
1175 Hide page/zoom controls from overflow, they
1178 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1180 * cut-n-paste/update-from-egg.sh:
1182 Share it between all cut-n-paste subdirs
1184 * cut-n-paste/recent-files/Makefile.am:
1186 Fix to use "global" update-from-egg.sh
1188 * cut-n-paste/recent-files/egg-recent-model.c:
1189 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1190 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1191 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1192 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1196 * cut-n-paste/toolbar-editor/Makefile.am:
1198 Fix to use "global" update-from-egg.sh
1200 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1204 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1207 * cut-n-paste/Makefile.am:
1208 * cut-n-paste/recent-files/Makefile.am:
1209 * cut-n-paste/toolbar-editor/.cvsignore:
1210 * cut-n-paste/toolbar-editor/Makefile.am:
1211 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1212 (egg_editable_toolbar_get_type), (get_toolbar_position),
1213 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1214 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1215 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1216 (set_item_drag_source), (create_item_from_action), (create_item),
1217 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1218 (popup_toolbar_context_menu_cb), (free_dragged_item),
1219 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1220 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1221 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1222 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1223 (item_added_cb), (item_removed_cb),
1224 (egg_editable_toolbar_construct),
1225 (egg_editable_toolbar_disconnect_model),
1226 (egg_editable_toolbar_deconstruct),
1227 (egg_editable_toolbar_set_model),
1228 (egg_editable_toolbar_set_ui_manager),
1229 (egg_editable_toolbar_set_property),
1230 (egg_editable_toolbar_get_property),
1231 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1232 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1233 (egg_editable_toolbar_new_with_model),
1234 (egg_editable_toolbar_get_edit_mode),
1235 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1236 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1237 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1238 (new_pixbuf_from_widget), (new_separator_pixbuf),
1239 (update_separator_image), (style_set_cb),
1240 (_egg_editable_toolbar_new_separator_image),
1241 (egg_editable_toolbar_get_model):
1242 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1243 * cut-n-paste/toolbar-editor/egg-marshal.c:
1244 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1245 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1246 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1247 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1248 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1249 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1250 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1251 (editor_drag_data_delete_cb), (drag_data_get_cb),
1252 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1253 (editor_create_item), (update_editor_sheet), (setup_editor),
1254 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1255 (parse_item_list), (model_has_action), (update_actions_list),
1256 (egg_toolbar_editor_load_actions):
1257 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
1258 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1259 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
1260 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
1261 (toolbars_item_new), (free_toolbar_node), (free_item_node),
1262 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
1263 (egg_toolbars_model_add_separator), (impl_add_item),
1264 (parse_item_list), (egg_toolbars_model_add_toolbar),
1265 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
1266 (impl_get_item_data), (impl_get_item_type),
1267 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
1268 (egg_toolbars_model_init), (free_toolbar),
1269 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
1270 (egg_toolbars_model_remove_toolbar),
1271 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
1272 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
1273 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
1274 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
1275 (egg_toolbars_model_get_item_data),
1276 (egg_toolbars_model_get_item_type):
1277 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1278 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1280 * data/evince-toolbar.xml:
1281 * data/evince-ui.xml:
1282 * data/hand-open.png:
1284 * shell/Makefile.am:
1285 * shell/ev-window.c: (update_chrome_visibility),
1286 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
1287 (ev_window_dispose), (ev_window_init):
1289 Implement epiphany like toolbar editor. Based on patch by
1290 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1292 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1294 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
1296 Use set_cursor instead of set_selection, so that
1297 the keyboard focus moves too.
1299 2005-05-09 Aleksey Kliger <akliger@gmail.com>
1301 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
1303 Fix infinite loop when loading Type1 fonts
1305 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1307 * data/evince-ui.xml:
1308 * shell/ev-window.c:
1312 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
1316 Make --disable really disable
1318 2005-05-07 Juerg Billeter <j@bitron.ch>
1320 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
1322 Compare page labels even without has_labels set, fixes setting page
1325 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1327 * shell/ev-view.c: (ev_view_create_invisible_cursor),
1328 (ev_view_set_cursor), (ev_view_button_press_event),
1329 (ev_view_motion_notify_event), (ev_view_button_release_event),
1332 Implement middle button scrolling. Based on a patch
1333 by Tommi Komulainen <tommi.komulainen@iki.fi>.
1335 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
1337 * shell/ev-document-types.c: (get_slow_mime_type),
1338 (get_document_type_from_mime), (ev_document_type_lookup):
1339 * shell/ev-document-types.h:
1341 Change api to lookup from uri. Do fast lookup first, if the
1342 type is unknown try with data sniffing.
1344 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
1345 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1349 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1351 * thumbnailer/Makefile.am:
1355 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1362 * data/evince-ui.xml:
1364 Hide presentation mode for now
1366 * shell/ev-view.c: (highlight_find_results):
1368 Show current find selection only on current page
1370 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1372 * shell/ev-view.c: (ev_view_select_all):
1374 Compute size of the actual page, not of
1377 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1379 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
1380 (view_rect_to_doc_rect), (compute_selections),
1381 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
1382 (ev_view_copy), (ev_view_primary_get_cb),
1383 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
1384 (ev_view_button_press_event), (ev_view_motion_notify_event),
1385 (ev_view_button_release_event), (page_changed_cb):
1389 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1391 * shell/ev-view.c: (compute_border), (get_page_extents),
1392 (doc_rect_to_view_rect), (highlight_find_results),
1393 (ev_view_bin_expose), (ev_view_select_all),
1394 (ev_view_motion_notify_event), (update_find_status_message),
1395 (jump_to_find_result), (jump_to_find_page):
1397 First go at fixing search, still buggy
1399 2005-05-04 Kristian Høgsberg <krh@redhat.com>
1401 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
1402 dropdown box and button at the top of the sidebar.
1404 2005-05-02 James Bowes <bowes@cs.dal.ca>
1406 * configure.ac: Output zoom-control Makefile.
1407 * cut-n-paste/Makefile.am: build zoom-control subdir.
1408 * cut-n-paste/zoom-control/ephy-zoom-action.c:
1409 * cut-n-paste/zoom-control/ephy-zoom-action.h:
1410 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1411 * cut-n-paste/zoom-control/ephy-zoom-control.h:
1412 * cut-n-paste/zoom-control/ephy-zoom.c:
1413 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
1414 from epiphany, and modified to add a separator into the menu.
1415 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
1416 * data/evince-ui.xml: Replace old zoom toolbar actions with new
1417 zoom-control action.
1418 * shell/Makefile.am: Include zoom-control flags.
1419 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
1420 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
1421 (ev_view_zoom_for_size_presentation),
1422 (ev_view_zoom_for_size_continuous_and_dual_page),
1423 (ev_view_zoom_for_size_continuous),
1424 (ev_view_zoom_for_size_dual_page),
1425 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
1426 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
1427 ev_view_get_zoom and ev_view_get_sizing_mode.
1429 * shell/ev-window.c: (update_action_sensitivity),
1430 (update_sizing_buttons), (zoom_control_changed_cb),
1431 (register_custom_actions): Initialize and use the zoom-control
1434 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
1436 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
1437 preview cache back to 1. Don't know when it got set to 0.
1439 * shell/ev-view.c: (compute_border), (ev_view_realize),
1440 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
1441 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
1442 (ev_view_get_fullscreen), (ev_view_set_presentation),
1443 (ev_view_get_presentation), (ev_view_set_sizing_mode),
1444 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
1446 * shell/ev-window.c:
1447 (update_chrome_visibility),
1448 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1449 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1450 (update_document_mode), (ev_window_update_fullscreen_action),
1451 (ev_window_fullscreen), (ev_window_unfullscreen),
1452 (ev_window_cmd_view_fullscreen),
1453 (ev_window_update_presentation_action),
1454 (ev_window_run_presentation), (ev_window_stop_presentation),
1455 (ev_window_cmd_view_presentation), (ev_window_state_event),
1456 (ev_window_focus_in_event), (ev_window_focus_out_event),
1457 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
1458 * data/evince-ui.xml: Initial presentation mode. We should
1459 probably hide this until it's done, as it's quite rough. Also,
1460 change full-screen to fullscreen and add two getters to EvView.
1462 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1464 * shell/ev-page-action.c: (update_page_cache),
1465 (ev_page_action_dispose):
1466 * shell/ev-window.c: (destroy_fullscreen_popup),
1467 (ev_window_create_fullscreen_popup):
1469 Use connect_object rather than explicitly
1470 disconnect on dispose.
1472 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1474 * shell/ev-page-action.c: (update_page_cache),
1475 (ev_page_action_dispose):
1477 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1479 * backend/ev-page-cache.c: (_ev_page_cache_new),
1480 (ev_page_cache_set_page_label),
1481 (ev_page_cache_has_nonnumeric_page_labels):
1482 * backend/ev-page-cache.h:
1483 * shell/ev-page-action.c: (update_pages_label):
1485 If all page labels are numeric, fallback to default
1486 way to display number of pages. See bug 173185.
1488 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1490 * shell/ev-page-action.c: (ev_page_action_dispose):
1491 * shell/ev-view.c: (view_update_range_and_current_page):
1492 * shell/ev-window.c: (ev_window_dispose):
1494 Set page on scroll in continuous mode. Fixes bug 301986.
1495 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
1497 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
1501 Require poppler 0.3.0
1503 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1505 * shell/Makefile.am, configure.ac: Fix build problems
1506 with t1lib. Bug 301996.
1508 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1510 * shell/ev-view.c: (ev_view_scroll_event):
1512 Scroll up increase zoom
1514 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1516 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
1517 (ev_view_set_sizing_mode),
1518 (ev_view_zoom_for_size_continuous_and_dual_page),
1519 (ev_view_zoom_for_size_continuous):
1520 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
1521 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
1522 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
1525 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
1526 Fix for 165473 and 165472.
1528 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1531 * thumbnailer/Makefile.am:
1532 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
1533 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
1534 * thumbnailer/evince-thumbnailer.schemas.in:
1536 Make thumbnailer schemas translatable. Fix for bug 301773
1538 * thumbnailer/evince-thumbnailer-djvu.schemas:
1539 * thumbnailer/evince-thumbnailer-dvi.schemas:
1540 * thumbnailer/evince-thumbnailer.schemas:
1544 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
1546 * shell/ev-view.c (ev_view_init): forgot to set this.
1548 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
1550 * shell/ev-view.c: (find_page_at_location),
1551 (get_link_at_location),
1552 (ev_view_set_show_border), (ev_view_set_spacing),
1553 (ev_view_zoom_for_size_continuous_and_dual_page),
1554 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
1555 Also, add a quick fix measuring of widths. Also, removed
1556 ev_view_set_spacing and ev_view_set_show_border.
1558 * shell/ev-window.c: (ev_window_unfullscreen),
1559 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
1561 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1563 * shell/ev-view.c: (view_update_range_and_current_page),
1566 Fix crash on exit and scrolling to page in continuous view.
1568 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
1571 * backend/ev-page-cache.c: (_ev_page_cache_new),
1572 (ev_page_cache_get_max_width_size),
1573 (ev_page_cache_get_max_height_size):
1574 * backend/ev-page-cache.h:
1575 * data/evince-ui.xml:
1576 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
1577 * shell/ev-view.c: (view_update_adjustments),
1578 (view_update_range_and_current_page), (get_bounding_box_size),
1579 (ev_view_size_request_continuous_and_dual_page),
1580 (ev_view_size_request_continuous),
1581 (ev_view_size_request_dual_page),
1582 (ev_view_size_request_single_page), (ev_view_size_request),
1583 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
1584 (ev_view_bin_expose), (ev_view_expose_event),
1585 (ev_view_set_property), (ev_view_get_property),
1586 (ev_view_class_init), (ev_view_init), (ev_view_new),
1587 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
1588 (ev_view_set_dual_page), (ev_view_set_full_screen),
1589 (ev_view_set_presentation), (ev_view_set_sizing_mode),
1590 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
1591 (ev_view_zoom_out), (zoom_for_size_fit_width),
1592 (zoom_for_size_best_fit),
1593 (ev_view_zoom_for_size_continuous_and_dual_page),
1594 (ev_view_zoom_for_size_continuous),
1595 (ev_view_zoom_for_size_dual_page),
1596 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1597 (ev_view_show_cursor), (ev_sizing_mode_get_type):
1599 * shell/ev-window.c: (update_action_sensitivity),
1600 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1601 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1602 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
1603 (ev_window_cmd_view_zoom_out), (update_view_size),
1604 (ev_window_set_sizing_mode), (ev_window_init):
1606 Add Continuous and Dual page modes.
1608 2005-04-23 James Bowes <bowes@cs.dal.ca>
1610 * dvi/dvi-document.c: (dvi_document_load),
1611 (dvi_document_thumbnails_get_thumbnail),
1612 (dvi_document_init_params): Fix up some mixups between
1613 width and height to correct thumbnail rendering.
1615 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1617 * dvi/mdvi-lib/private.h:
1618 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
1620 Suppess output for kpathsea during font generation. Thanks to
1623 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
1630 * Makefile.am: fix distcheck.
1632 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1634 * shell/ev-sidebar-links.c: (selection_changed_callback),
1635 (update_page_callback), (row_activated_callback),
1636 (job_finished_callback), (ev_sidebar_links_set_document):
1638 Fix for bug #169901. Double click on links expands tree.
1640 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
1642 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
1643 hard-coded style. Fix for bug 170111
1645 2005-04-22 Kristian Høgsberg <krh@redhat.com>
1647 * shell/ev-view.c (highlight_find_results): Remove unnecessary
1650 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1652 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
1654 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1656 * pdf/ev-poppler.cc:
1657 * shell/ev-view.c: (highlight_find_results):
1659 Fix find on single page documents
1661 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1663 * data/evince.schemas.in: fix for bug 301390
1665 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1667 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
1668 (ev_view_zoom_out), (ev_view_zoom_normal):
1670 * shell/ev-window.c: (update_action_sensitivity),
1671 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1672 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
1673 (ev_window_cmd_view_normal_size):
1675 Fix normal size zoom. Make zoom in/zoom out unsensitive when
1676 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
1679 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1683 Depend on 2.57, 2.59 doesnt seem to be necessary
1685 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1687 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
1690 Put back total number of pages as (1 of 1234)
1692 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
1694 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
1697 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
1698 function. This helps debugging.
1700 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1702 * djvu/djvu-document.c: (djvu_document_class_init),
1703 (djvu_document_get_info), (djvu_document_document_iface_init):
1704 * dvi/dvi-document.c: (dvi_document_class_init),
1705 (dvi_document_get_info), (dvi_document_document_iface_init):
1707 Dummy implementation of get_info method for dvi and djvu. Fix
1708 crashes with those backends
1710 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
1712 * data/evince.desktop.in:
1714 Add application/x-gzpostscript
1716 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
1718 * data/evince.schemas.in: Added real long descriptions,
1721 * README: Added actual text, closes bug 171869
1723 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1725 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1729 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1731 * backend/ev-document-info.h:
1733 s/GDate */GDate so we can just use g_free
1735 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1737 * shell/ev-window.c: (update_document_mode),
1738 (ev_window_setup_document):
1740 Show the window in fullscreen when specified by
1743 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1745 * backend/ev-document.c: (ev_document_class_init),
1746 (ev_document_get_info), (ev_document_render_pixbuf):
1747 * backend/ev-document.h:
1748 * backend/ev-page-cache.c: (_ev_page_cache_new):
1749 * pdf/ev-poppler.cc:
1750 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
1751 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
1752 * ps/ps-document.c: (ps_document_class_init), (document_load),
1753 (ps_document_get_info), (ps_document_document_iface_init):
1755 Remove get_title from the interface, we can just use document info
1757 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1759 * backend/Makefile.am:
1760 * backend/ev-document.c: (ev_document_render_get_info):
1761 * backend/ev-document.h:
1762 * pdf/ev-poppler.cc:
1764 Initial support for document info. Based on jrb patch.
1766 2005-04-19 Paolo Borelli <pborelli@katamail.com>
1768 * shell/ev-window.c: (ev_window_state_event),
1769 (ev_window_class_init), (ev_window_init):
1771 Doesn't show resize grip when maximized. See bug #301053
1773 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1777 ev-sidebar-thumbnails now has translatable labels
1779 * shell/Makefile.am:
1780 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
1781 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
1782 (ev_sidebar_links_page_iface_init):
1783 * shell/ev-sidebar-links.h:
1784 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1785 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
1786 (ev_sidebar_page_get_label):
1787 * shell/ev-sidebar-page.h:
1788 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
1789 (ev_sidebar_thumbnails_set_document),
1790 (ev_sidebar_thumbnails_support_document),
1791 (ev_sidebar_thumbnails_get_label),
1792 (ev_sidebar_thumbnails_page_iface_init):
1793 * shell/ev-sidebar-thumbnails.h:
1794 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1795 (ev_sidebar_set_document):
1796 * shell/ev-sidebar.h:
1797 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
1799 Small rework of sidebar code. Now sidebar pages should implement
1800 EvSidebarPage interface. That makes page management in EvSidebar
1801 easier. See bug #164811 for details
1803 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1805 * shell/ev-application.c: (ev_application_open):
1806 * shell/ev-document-types.c:
1808 Fix build error and small problem with application exit
1810 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1812 * thumbnailer/Makefile.am:
1813 * thumbnailer/evince-thumbnailer-djvu.schemas:
1814 * thumbnailer/evince-thumbnailer-dvi.schemas:
1816 Conditionally install schemas for djvu/dvi thumbnailer
1818 2005-04-18 David Malcolm <dmalcolm@redhat.com>
1820 * shell/ev-document-types.h:
1821 * shell/ev-document-types.c:
1822 New files, handling the mapping from mimetypes to backends
1824 * shell/ev-window.c:
1825 * thumbnailer/evince-thumbnailer.c:
1826 Use the ev-document-types code
1828 * shell/Makefile.am:
1829 Added new convenience library libevbackendfactory_la, containing
1830 the new mimetype->backend logic; moved the backends into it.
1832 * thumbnailer/Makefile.am:
1833 Make the thumbnailer link with the libevbackend.la convenience
1834 library, rather than having a duplicate of the backend logic here.
1836 2005-04-18 Paolo Borelli <pborelli@katamail.com>
1838 * shell/ev-stock-icons.c: constify some vars.
1839 * shell/ev-window.c: ditto.
1841 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
1843 * ps/ps-document.c (get_page_orientation):
1845 Respect document orientation
1847 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1851 * shell/Makefile.am:
1853 Move library dependencies to components.
1855 * shell/ev-window.c: (update_window_title),
1856 (start_loading_document):
1858 Fix display of uris with spaces. Bug 168358.
1860 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
1862 * shell/ev-sidebar-links.c: (selection_changed_cb):
1863 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
1864 (ev_view_button_release_event), (ev_view_set_document):
1866 * shell/ev-window.c: (find_bar_search_changed_cb):
1867 * shell/ev-window.h: Minor cleanups removing some dead code.
1869 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1871 * backend/ev-page-cache.c: (_ev_page_cache_new):
1873 Set current page to 0 if document has pages.
1875 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1877 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1879 Initialize GError to NULL, fix a crash when loading fails.
1881 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1883 * shell/ev-window.c: (update_view_size):
1885 Calculate shadow size only when there is actually
1888 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1890 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
1893 Allow setting view spacing, default to 0
1895 * shell/ev-window.c: (ev_window_unfullscreen),
1896 (ev_window_cmd_view_fullscreen), (ev_window_init):
1898 Remove spacing in fullscreen mode
1900 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1902 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
1903 (ev_view_size_request), (expose_bin_window),
1904 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
1906 * shell/ev-window.c: (ev_window_unfullscreen),
1907 (ev_window_cmd_view_fullscreen):
1909 Do not draw the border in fulscreen
1911 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1913 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
1914 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
1915 (find_page_at_location), (page_changed_cb):
1917 Rework border calculation, so that I can more easily disable it.
1918 Code somewhat cleaner too.
1920 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1922 * backend/ev-page-cache.c: (ev_page_cache_init),
1923 (_ev_page_cache_new):
1925 Remove some assertions, documents can have 0 pages.
1926 Make initial current page -1.
1928 * shell/ev-page-action.c: (page_changed_cb):
1930 Show "" if current page is -1
1932 * shell/ev-window.c: (update_action_sensitivity),
1933 (ev_window_setup_document):
1935 When document has 0 pages do not set the view
1936 and make nearly everything insensitive.
1938 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1940 * shell/ev-page-view.c:
1941 * shell/ev-page-view.h:
1943 Remove unused files.
1945 * shell/ev-sidebar-thumbnails.c:
1946 (ev_sidebar_thumbnails_set_document):
1947 * shell/ev-sidebar.c: (ev_sidebar_set_document),
1948 (ev_sidebar_supports_document):
1949 * shell/ev-sidebar.h:
1950 * shell/ev-window.c: (ev_window_setup_document):
1952 Doesn't show thumbnails if document has 1 page. Make
1953 sidebar menu entries sensitive only if if they have
1954 sense. Fix bug 164811.
1956 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1958 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
1959 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
1960 (ev_view_zoom_out), (ev_view_set_size):
1962 Rework sizing to deal with documents with not uniform page
1965 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1967 * backend/ev-page-cache.c: (_ev_page_cache_new):
1969 Fix several page size caching bugs
1971 2005-04-15 Luca Ferretti <elle.uca@libero.it>
1973 * shell/ev-window.c: (set_action_properties):
1975 Make all toolbar items translatable
1977 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1979 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
1980 (save_page_list), (ps_document_save),
1981 (ps_document_document_iface_init), (ps_document_ps_export_begin),
1982 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
1983 (ps_document_ps_exporter_iface_init):
1986 Based on a patch by J�rg Billeter <j@bitron.ch>
1988 Implement print and save a copy for the ps backend.
1990 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
1992 * backend/ev-document.h:
1993 * djvu/djvu-document.c: (djvu_document_can_get_text),
1994 (djvu_document_document_iface_init):
1995 * dvi/dvi-document.c: (dvi_document_can_get_text),
1996 (dvi_document_document_iface_init):
1997 * pdf/ev-poppler.cc:
1998 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
1999 (pixbuf_document_document_iface_init):
2000 * ps/ps-document.c: (ps_document_can_get_text),
2001 (ps_document_document_iface_init):
2002 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
2003 * shell/ev-window.c: (update_action_sensitivity):
2005 Fix the crash when trying to copy in backends that doesnt
2006 support it. We can implement a better solution once we
2007 do real text selection.
2009 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
2011 * data/evince-ui.xml:
2012 * shell/ev-window.c: (ev_window_cmd_escape):
2014 Work around the Escape conflict (find bar and unfullscreen)
2016 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2018 * backend/ev-page-cache.c: (ev_page_cache_next_page):
2020 Fix for #300233. Next page correctly handles document end.
2022 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2023 (ev_sidebar_thumbnails_class_init),
2024 (ev_sidebar_thumbnails_set_document),
2025 (ev_sidebar_thumbnails_clear_job),
2026 (ev_sidebar_thumbnails_clear_model):
2028 Cleanup thumbnail jobs on document changes.
2030 * shell/ev-view.c: (add_scroll_binding_keypad),
2031 (add_scroll_binding_shifted), (ev_view_class_init):
2033 Shift + Space scrolls up. Fix for #173184
2035 * shell/ev-window.c: (ev_window_open_page),
2036 (ev_window_cmd_view_reload):
2038 Fix reload (Bug #300094)
2040 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2043 * dvi/mdvi-lib/assoc.c:
2044 * dvi/mdvi-lib/assoc.h: Removed garbage files
2046 * dvi/mdvi-lib/bitmap.c:
2047 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2048 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2049 * dvi/mdvi-lib/color.h: Antialias of rules
2051 * dvi/mdvi-lib/common.h:
2052 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2053 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2054 * dvi/mdvi-lib/files.c:
2055 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2056 * dvi/mdvi-lib/mdvi.h:
2057 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2058 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2059 * dvi/mdvi-lib/util.c: Fix compile warnings
2061 * dvi/dvi-document.c:
2062 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2063 (dvi_document_thumbnails_get_thumbnail),
2064 (dvi_document_document_thumbnails_iface_init):
2065 * dvi/mdvi-lib/Makefile.am:
2066 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2067 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2069 Dvi backend now renders thumbnails
2071 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2073 * shell/main.c: (main):
2075 Save accelerators on exit. Fixes bug #172095.
2077 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2079 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2080 update priority" comment.
2082 * backend/ev-job-queue.c: Give a way to change priority.
2084 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2086 * shell/ev-page-action.c: Fix logic.
2088 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2090 * shell/ev-view.c: (ev_view_can_find_next):
2091 * shell/ev-window.c: (ev_window_setup_document):
2093 Check that the document supports find
2095 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2097 * data/evince-ui.xml:
2098 * shell/ev-view.c: (ev_view_can_find_next):
2100 * shell/ev-window.c: (update_action_sensitivity),
2101 (find_changed_cb), (ev_window_setup_document),
2102 (ev_window_cmd_edit_find_next):
2106 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2108 * pdf/ev-poppler.cc:
2109 * shell/ev-print-job.c: (idle_print_handler):
2111 Make printing work again
2113 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2115 * shell/ev-page-action.h:
2116 * shell/ev-page-action.c: (ev_page_action_widget_init),
2117 (ev_page_action_widget_class_init), (page_changed_cb),
2118 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2119 (get_filter_model_from_model), (match_selected_cb),
2120 (display_completion_text), (match_completion), (update_model),
2121 (connect_proxy), (ev_page_action_set_property),
2122 (ev_page_action_get_property), (ev_page_action_set_document),
2123 (ev_page_action_set_model), (ev_page_action_class_init): Big
2124 reworking to make completions work iff we have >= GTK-2.7.0
2126 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2127 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2128 (job_finished_cb): We now have a 'model' property that is set when
2129 the links are loaded. This can be caught with "notify::model"
2131 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2132 listen for the model to be set, and propagate it to the action.
2134 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2136 * cut-n-paste/recent-files/egg-recent-item.c:
2137 (egg_recent_item_set_uri), (make_valid_utf8),
2138 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2139 * cut-n-paste/recent-files/egg-recent-item.h:
2141 Update egg-recent from libegg. This should fix long
2142 startup problem. For details see
2143 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2145 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2147 * cut-n-paste/recent-files/Makefile.am:
2148 * data/evince-ui.xml, shell/Makefile.am:
2149 * shell/ev-application.c, shell/ev-application.h:
2150 * shell/ev-window.c: Recent files support.
2152 * configure.ac: Added "ru" to ALL_LINGUAS.
2154 * dvju: new backend to support DJVU files.
2155 * dvi: new backend to support DVI.
2157 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2158 * ev-application.c: Support for new backends.
2160 * help, ev-window.c, main.c shell/Makefile.am:
2161 Evince user documentation.
2163 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2166 * shell/ev-window.c:
2167 * thumbnailer/evince-thumbnailer.c:
2169 s/pdf-document/ev-poppler
2171 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2178 * ps/ps-document.c: (setup_pixmap):
2182 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2184 * backend/ev-page-cache.c (ev_page_cache_next_page):
2185 * shell/ev-window.c (ev_window_cmd_go_next_page)
2186 (ev_window_cmd_go_first_page): Fix of by one errors.
2188 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2190 * ps/ps-document.c: (get_page_box):
2192 Fix page size calculation
2194 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2196 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2197 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2198 (get_page_orientation), (setup_page), (document_load),
2199 (ps_document_get_page_size), (render_pixbuf_idle):
2202 More refactoring to adapt to EvDocument changes
2204 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2206 * ps/ps-document.c: (start_interpreter):
2208 Actually add alpha args
2210 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2212 * pdf/ev-poppler.cc:
2214 Make clipboard work again
2216 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2218 Make searching work again.
2220 * backend/ev-document.c:
2221 * backend/ev-document.h:
2222 * backend/ev-document-find.c:
2223 * backend/ev-document-find.h: Change EvDocumentIface so we no
2224 longer store the current page or zoom level in the document. The
2225 consequence is that all calls that operate on the current page now
2226 instead take the page number as an extra argument, and all
2227 coordinates are now doubles in document coordinate system.
2229 * pdf/ev-poppler.cc:
2230 * pixbuf/pixbuf-document.c:
2231 * ps/ps-document.c: Update backends accordingly.
2233 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2237 Add required gettext version
2239 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2241 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2242 make F1 bring up non-existent help.
2244 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2245 epiphany's find bar, #167477
2247 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2248 <emil@nishra.com> to add space-bar scrolling,
2250 * shell/ev-window.c (static GtkActionEntry entries): add default
2251 keybinding for Help (F1)
2254 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2255 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
2258 2005-04-01 David Malcolm <dmalcolm@redhat.com>
2261 * pixbuf/pixbuf-document.c:
2263 Got pixbuf backend working again
2265 2005-04-01 Steve Murphy <murf@e-tools.com>
2267 * configure.in: Added "rw" to ALL_LINGUAS.
2269 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
2271 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
2272 model types, noticed by Martin Kretzschmar.
2274 2005-04-01 Kristian Høgsberg <krh@redhat.com>
2276 * pdf/ev-poppler.cc: Implement search based on
2277 poppler_page_find_text(). Currently a bit crude since we remember
2278 all matches from all pages. Also, we grab the big document lock
2279 when we search since searching changes the underlying stream and
2280 thus conflicts with the rendering thread.
2282 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2283 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
2284 (ev_view_find_previous): Fix some page indexes to be 0 based,
2285 offset rubber band by view offset,
2287 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
2289 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
2291 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
2293 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
2294 completely because I didn't understand GtkActions. I should
2295 read Marco's code more carefully in the future.
2297 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
2300 2005-03-31 Kristian Høgsberg <krh@redhat.com>
2302 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
2303 PopplerRectangle change from poppler CVS.
2305 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
2307 * backend/ev-document.c: (ev_document_get_page_label):
2308 * backend/ev-document.h:
2309 * backend/ev-page-cache.c: (_ev_page_cache_new),
2310 (ev_page_cache_get_page_label):
2311 * backend/ev-page-cache.h:
2312 * pdf/ev-poppler.cc:
2313 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
2314 (links_page_num_func):
2315 * shell/ev-sidebar-thumbnails.c:
2316 (ev_sidebar_thumbnails_set_document):
2317 * shell/ev-view.c: (status_message_from_link),
2318 (ev_view_motion_notify_event):
2319 * shell/ev-window.c: (document_supports_sidebar): Add in page
2320 label support. It's not perfect yet, but it's the first 'feature'
2322 Also, fix a bogus comment noticed by crispin.
2324 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
2326 * Makefile.am: Remove pixbuf backend for now
2328 * configure.ac: Require poppler-glib instead of just poppler.
2330 * backend/ev-document-thumbnails.h: Add a comment
2332 * backend/ev-document.h:
2333 * backend/ev-document.c: (ev_document_class_init),
2334 (ev_document_load), (ev_document_get_link),
2335 (ev_document_get_links): Remove 3 methods and add get_links.
2338 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2339 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
2341 * backend/ev-link.c: (ev_link_set_title),
2342 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
2343 (ev_link_mapping_find):
2344 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
2346 * backend/ev-page-cache.c: (ev_page_cache_init),
2347 (_ev_page_cache_new), (ev_page_cache_set_current_page),
2348 (ev_page_cache_get_size), (ev_page_cache_next_page),
2349 (ev_page_cache_prev_page): Fix to be 0 based.
2353 * pdf/ev-poppler.cc: New backend.
2355 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
2356 (ps_document_get_page), (ps_document_document_iface_init):
2358 * shell/ev-pixbuf-cache.h:
2359 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2360 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
2361 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
2362 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
2363 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
2364 Fix up code to grab a page cache per each doc. Also, fix to be 0
2367 * shell/ev-sidebar-thumbnails.c:
2368 (ev_sidebar_tree_selection_changed), (page_changed_cb),
2369 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
2371 * shell/ev-view.c: (status_message_from_link),
2372 (find_page_at_location), (get_link_at_location),
2373 (ev_view_motion_notify_event), (ev_view_button_release_event),
2374 (ev_view_init): Use the new link code. Fix to be 0 based.
2376 * shell/ev-window.c: (update_action_sensitivity),
2377 (document_supports_sidebar): 0 based.
2379 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
2381 * pdf/pdf-document.cc: Patch from Fernando Herrera
2382 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
2385 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
2387 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
2388 1 to the page, as this seems to be 1 based. I thought we has this
2391 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
2394 * backend/Makefile.am:
2395 * backend/ev-document-links.c:
2396 (ev_document_links_has_document_links),
2397 (ev_document_links_get_links_model):
2398 * backend/ev-document-links.h:
2399 * backend/ev-document.c: (ev_document_get_page_cache),
2400 (ev_document_get_doc_mutex), (ev_document_load),
2401 (ev_document_save), (ev_document_get_title),
2402 (ev_document_get_n_pages), (ev_document_set_page),
2403 (ev_document_get_page), (ev_document_set_target),
2404 (ev_document_set_scale), (ev_document_set_page_offset),
2405 (ev_document_get_page_size), (ev_document_get_text),
2406 (ev_document_get_link), (ev_document_render),
2407 (ev_document_render_pixbuf), (ev_document_scale_changed):
2408 * backend/ev-document.h:
2409 * backend/ev-job-queue.c: (remove_object_from_queue),
2410 (notify_finished), (handle_job), (search_for_jobs_unlocked),
2411 (no_jobs_available_unlocked), (ev_render_thread),
2412 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
2413 (ev_job_queue_remove_job):
2414 * backend/ev-job-queue.h:
2415 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2416 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2417 (ev_job_links_class_init), (ev_job_render_init),
2418 (ev_job_render_dispose), (ev_job_render_class_init),
2419 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2420 (ev_job_thumbnail_class_init), (ev_job_finished),
2421 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2422 (ev_job_render_run), (ev_job_thumbnail_new),
2423 (ev_job_thumbnail_run):
2424 * backend/ev-jobs.h:
2425 * backend/ev-link.c:
2426 * backend/ev-link.h:
2427 * backend/ev-page-cache.c: (ev_page_cache_init),
2428 (ev_page_cache_class_init), (ev_page_cache_finalize),
2429 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
2430 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2431 (ev_page_cache_set_link), (ev_page_cache_get_title),
2432 (ev_page_cache_get_size), (ev_page_cache_next_page),
2433 (ev_page_cache_prev_page):
2434 * backend/ev-page-cache.h:
2435 * pdf/pdf-document.cc:
2438 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2439 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
2440 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
2441 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
2442 (is_interpreter_ready), (output), (catchPipe), (input),
2443 (start_interpreter), (check_filecompressed), (compute_dimensions),
2444 (ps_document_enable_interpreter), (document_load),
2445 (ps_document_next_page), (render_page), (ps_document_set_page),
2446 (ps_document_set_scale), (render_pixbuf_idle),
2447 (ps_document_render_pixbuf), (ps_document_document_iface_init):
2449 * shell/Makefile.am:
2450 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2451 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
2452 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
2453 (ev_pixbuf_cache_new), (job_finished_cb),
2454 (check_job_size_and_unref), (move_one_job),
2455 (ev_pixbuf_cache_update_range), (find_job_cache),
2456 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
2457 (ev_pixbuf_cache_add_jobs_if_needed),
2458 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
2459 * shell/ev-pixbuf-cache.h:
2460 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2461 (idle_print_handler):
2462 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2463 (selection_changed_cb), (create_loading_model),
2464 (ev_sidebar_links_construct), (links_page_num_func),
2465 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
2466 (update_page_callback), (job_finished_cb),
2467 (ev_sidebar_links_set_document):
2468 * shell/ev-sidebar-thumbnails.c:
2469 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
2470 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
2471 (page_changed_cb), (thumbnail_job_completed_callback),
2472 (ev_sidebar_thumbnails_set_document):
2473 * shell/ev-sidebar-thumbnails.h:
2474 * shell/ev-sidebar.c: (ev_sidebar_set_document):
2475 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
2476 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
2477 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
2478 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
2479 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
2480 (ev_view_button_release_event), (ev_view_scroll_view),
2481 (ev_view_class_init), (ev_view_init), (update_find_status_message),
2482 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
2483 (ev_view_new), (job_finished_cb), (page_changed_cb),
2484 (ev_view_set_document), (go_to_link), (ev_view_zoom),
2485 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
2486 (ev_view_find_previous):
2488 * shell/ev-window.c: (update_action_sensitivity),
2489 (ev_window_open_page), (update_window_title), (update_total_pages),
2490 (page_changed_cb), (ev_window_setup_document),
2491 (password_dialog_response), (ev_window_cmd_save_as),
2492 (ev_window_print), (ev_window_cmd_go_previous_page),
2493 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
2494 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
2495 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
2496 * shell/main.c: (main):
2498 Merge evince-threads branch
2500 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
2502 * configure.ac: Added "lt" to ALL_LINGUAS.
2504 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
2511 2005-03-13 Fernando Herrera <fherrera@onirica.com>
2513 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2515 Fix here also the thumbnails 1-basedness :)
2517 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2524 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2526 * pdf/pdf-document.cc:
2527 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
2528 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
2530 Fix the mess we did with thumbnails and 1-basedness
2532 2005-03-12 Changwoo Ryu <cwryu@debian.org>
2534 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
2536 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
2543 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
2546 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
2547 (gtk_gs_defaults_get_alpha_parameters),
2548 (gtk_gs_defaults_get_ungzip_cmd),
2549 (gtk_gs_defaults_get_unbzip2_cmd):
2551 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2552 (ps_document_get_orientation), (document_load),
2553 (ps_document_goto_page), (ps_document_set_page_size):
2556 Some more sanitization of the ps backend. Remove a lot
2557 of unused code and do not base our defaults on ggv
2560 2005-03-08 Fernando Herrera <fherrera@onirica.com>
2562 * thumbnailer/evince-thumbnailer.schemas:
2563 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2564 (main): add -s option for thumbnail size.
2566 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
2570 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
2573 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2575 * pdf/pdf-document.cc:
2577 Remove 4 pixels of useless border from the
2580 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2582 * backend/ev-document-thumbnails.c:
2583 (ev_document_thumbnails_get_thumbnail):
2584 * backend/ev-document-thumbnails.h:
2586 Rework API a bit. Add a border flag and
2587 change sizing logic (now the size we specify
2588 applies to the bigger dimension).
2590 * pdf/pdf-document.cc:
2591 * pixbuf/pixbuf-document.c:
2592 (pixbuf_document_thumbnails_get_thumbnail):
2593 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
2594 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2596 Adapt to the new API and do not draw a border for nautilus
2599 2005-03-03 Fernando Herrera <fherrera@onirica.com>
2601 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2602 take thumbnails from page "0" instead of "1". Added a copyright header.
2604 2005-03-03 Jens Granseuer <jensgr@gmx.net>
2606 * ps/ps-document.c: (set_up_page), (start_interpreter):
2608 Make it C89 compliant
2610 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
2615 * pdf/pdf-document.cc:
2616 * thumbnailer/Makefile.am:
2617 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2619 * thumbnailer/evince-thumbnailer.schemas:
2620 * thumbnailer/pdf-icon.png:
2622 Add a nautilus thumbnailer.
2623 Based on patch by Fernando Herrera <fherrera@onirica.com>.
2625 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
2633 2005-03-01 Kristian Høgsberg <krh@redhat.com>
2635 Use poppler instead of including xpdf source code. Poppler is a
2636 fork of xpdf to build it as a shared library. See
2637 http://freedesktop.org/wiki/Software/poppler.
2639 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
2642 * pdf/Makefile.am: Build libpdfdocument.a here.
2644 * pdf/GDKSplashOutputDev.cc:
2645 * pdf/GDKSplashOutputDev.h:
2646 * pdf/GnomeVFSStream.cc:
2647 * pdf/GnomeVFSStream.h:
2650 * test-gdk-output-dev.cc
2652 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
2655 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2657 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
2659 Clear idle stack before unsetting the document
2661 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2663 * ps/ps-document.c: (ps_document_widget_event),
2664 (ps_document_set_target), (ps_document_finalize),
2665 (ps_document_get_page):
2667 Disconnect the widget event signal on finalize.
2670 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2672 * ps/ps-document.c: (set_up_page):
2674 If there is no bpixmap create one, even if size
2677 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2679 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
2680 (set_up_page), (document_load), (ps_document_set_zoom):
2682 Default page is 0. Calculate size even when we have no
2685 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
2687 * shell/ev-sidebar.c: expand the selection widget to be always as
2690 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2692 * shell/ev-sidebar-thumbnails.c:
2693 (ev_sidebar_thumbnails_set_document):
2695 Clear the list store when setting document
2697 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2699 * shell/ev-page-action.c: (update_entry), (sync_entry),
2700 (activate_cb), (entry_size_request_cb), (create_tool_item),
2703 Use an entry for the page control instead of spinbuttons
2705 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2707 * data/evince.schemas.in:
2709 Correct confusing string
2711 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
2713 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
2714 for real. Gosh, how long has this been broken.
2716 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
2717 check for a NULL link. We crash otherwise.
2719 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
2726 2005-02-25 Sebastien Bacher <seb128@debian.org>
2728 * configure.ac: add the french translation.
2730 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2732 * shell/ev-window.c:
2734 Remove unused header -> fix distcheck
2736 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2738 * shell/ev-window.c: (update_window_title),
2739 (ev_window_popup_password_dialog):
2741 Unescape filename for display
2743 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2745 * pdf/xpdf/pdf-document.cc:
2747 In get_page_size deal with rotation. Also
2748 cleanup the function a bit.
2750 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2752 * pdf/xpdf/pdf-document.cc:
2754 Fix crash when opening in new window
2756 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2760 Check ghostscript >= 7
2762 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
2764 * shell/ev-window.c:
2766 Make page width the default sizing mode
2768 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
2769 Marco Pesenti Gritti <marco@gnome.org>
2771 * shell/ev-window.c: Remember the sidebar size
2773 * data/evince.schemas.in: Add a new gconf key to store the size of
2776 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
2778 * data/evince-ui.xml:
2779 * shell/ev-window.c: (update_action_sensitivity),
2780 (ev_window_cmd_view_reload):
2782 Add a "Reload" action and menu entry
2784 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
2786 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
2787 iff the type doesn't support thumbnailing and indexing.
2789 2005-02-24 Martin Kretzschmar <martink@gnome.org>
2791 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
2793 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2795 * pdf/splash/Splash.cc:
2797 Port fix for a crasher from kde bug
2798 http://bugs.kde.org/show_bug.cgi?id=97131
2800 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2802 * pdf/xpdf/pdf-document.cc:
2804 Return a link even if it's of an unrecognized
2805 type. Otherwise we go in an infinte cycle.
2807 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2809 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
2810 (size_allocate_cb), (ev_window_set_sizing_mode):
2812 Update size when switching mode
2814 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2816 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2817 (ev_window_cmd_view_page_width), (update_sizing_buttons),
2818 (ev_window_cmd_view_normal_size):
2820 Fix size toggle buttons behavior
2822 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2824 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
2825 (doc_rect_to_view_rect), (ev_view_size_allocate),
2826 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
2827 (scale_changed_callback):
2829 Do not cache offsets in size_allocate.
2831 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2833 * shell/ev-view.c: (ev_view_size_allocate):
2835 Calculate offsets before calling the parent
2836 class (which does a redraw)
2838 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2840 * pdf/xpdf/pdf-document.cc:
2842 Fix a crasher on exit. Unused code, put a TODO
2844 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2846 * backend/ev-document.c: (ev_document_class_init),
2847 (ev_document_page_changed), (ev_document_scale_changed):
2848 * backend/ev-document.h:
2850 Separate page/scale notifications
2852 * pdf/xpdf/pdf-document.cc:
2854 Emit the new signals.
2855 Do not display the pdf page in _render, do it
2856 when scale/page are requested.
2858 * ps/ps-document.c: (ps_document_set_zoom),
2859 (ps_document_widget_event):
2862 Emit the new signals.
2864 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
2865 (ev_view_init), (page_changed_callback), (scale_changed_callback),
2866 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
2867 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
2869 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
2870 (ev_window_cmd_view_page_width), (size_allocate_cb),
2871 (ev_window_set_sizing_mode):
2873 Rework sizing to be pixel based.
2874 There are bugs but should be already way better.
2876 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
2878 * shell/ev-window.c: (ev_window_init):
2880 Do not allow to shrink sidebar smaller then
2883 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
2885 * shell/ev-sidebar.[ch]
2886 * shell/ev-window.c:
2888 Improved sidebar widget. Fixes #166683
2890 2005-02-23 Tommi Vainikainen <thv@iki.fi>
2892 * shell/ev-view.c (update_find_status_message): Give translators
2893 more flexibility with ngettext plural handling.
2895 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
2897 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
2898 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
2899 page when we get the page size.
2901 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2903 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
2905 ps pages are 0 based, convert
2907 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2909 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
2911 Initialize correct parent class. Set GError on document load
2913 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2915 * pdf/xpdf/pdf-document.cc:
2917 Fixup selection offset calculation
2919 * shell/ev-view.c: (view_rect_to_doc_rect),
2920 (doc_rect_to_view_rect), (ev_view_size_allocate),
2921 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
2922 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
2924 Store selection as document relative, so that zooming
2925 and offset changing doesnt break it.
2927 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2929 * shell/ev-view.c: (ev_view_best_fit):
2931 Do not try to best fit if the view is not realized
2933 2005-02-20 Kostas Papadimas <pkst@gnome.org>
2935 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
2937 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
2939 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
2941 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
2943 * shell/ev-window.c: Change the fullscreen toolbar to always be in
2944 the popup window. That prevents it resizing when in full screen
2947 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
2948 multiple rerenders. This pretty much sucks.
2950 * data/evince-ui.xml: Change the fullscreen toolbar to include the
2951 rest of the toolbar.
2953 2005-02-18 Tommi Vainikainen <thv@iki.fi>
2955 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
2957 2005-02-17 Alexander Shopov <ash@contact.bg>
2959 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
2961 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
2963 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
2965 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
2967 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
2968 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
2969 (set_document_page), (document_changed_callback),
2970 (ev_view_set_document), (ev_view_find_previous),
2971 (ev_view_hide_cursor), (ev_view_show_cursor):
2973 * shell/ev-window.c: (update_chrome_visibility),
2974 (fullscreen_timeout_cb), (fullscreen_set_timeout),
2975 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
2976 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
2977 (ev_window_unfullscreen):
2978 * shell/main.c: (main):
2980 Automatically hide the fullscreen button.
2981 Patch by Kristian Høgsberg <krh@redhat.com>
2983 2005-02-16 Vincent Noel <vnoel@cox.net>
2985 * shell/main.c (main): Specify an icon for the window. Patch by
2986 Jaap A. Haitsma. Fixes #166177.
2988 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
2990 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
2992 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
2994 * backend/ev-document-misc.h:
2995 * backend/ev-document-misc.c:
2996 (ev_document_misc_get_page_border_size),
2997 (ev_document_misc_paint_one_page): New function to canonicalize
2998 sizing/painting a border.
3000 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
3003 * pdf/xpdf/pdf-document.cc: use new function
3005 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3006 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
3007 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
3008 shell/ev-window.c: (update_sizing_buttons),
3009 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
3010 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
3011 (ev_window_cmd_view_page_width), (size_allocate_cb),
3012 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
3013 and "fit width" values act as toggle buttons so they stay
3014 toggled. It's not 100% perfect, and it's a little slow, but it's
3015 good enough to commit I think.
3017 2005-02-15 David Lodge <dave@cirt.net>
3019 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
3021 2005-02-15 Martin Kretzschmar <martink@gnome.org>
3023 * shell/ev-window.c (update_window_title): replace newlines in
3024 the title by spaces. Bug #166107.
3026 2005-02-14 Martin Kretzschmar <martink@gnome.org>
3028 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
3029 parameters providing allocation width and height without
3030 scrollbars and width of a possible vertical scrollbar. With this
3031 additional information the functions can work as
3032 intended. Unfortunately they're not idempotent. We should
3033 transform these commands to toggles. Fixes Bug #164976
3034 Initial patch by Stephane Loeuillet, then heavily modified.
3036 * shell/ev-view.h: update prototypes.
3038 * shell/ev-window.c (ev_window_cmd_view_best_fit)
3039 (ev_window_cmd_view_page_width): provide EvView fit functions with
3040 all the information they need. Formulas to calculate this
3041 information taken from GtkScrolledWindow.
3043 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
3045 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
3046 created a thumbnail, the list store is updated to know
3047 that the thumbnail is set. Fixes bug #166792
3049 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3051 * shell/ev-window.c: fixed typo, closes bug 166897
3053 * TODO: updated TODO with bug numbers that are relevant
3055 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3057 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3059 2005-02-09 Vincent Noel <vnoel@cox.net>
3061 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3062 and "Next" toolbar buttons as important to make them stand out.
3064 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3068 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3069 (start_interpreter), (stop_interpreter), (document_load),
3070 (ps_document_next_page), (ps_document_goto_page),
3071 (ps_document_set_page_size), (ps_document_widget_event),
3072 (ps_document_render):
3073 * shell/ev-page-view.c: (ev_page_view_dispose):
3074 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3076 Fix compilation on non-gcc platforms
3078 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3085 * pdf/xpdf/Catalog.cc:
3088 Fix the fix for CAN-2004-0888
3090 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3093 * data/evince-ui.xml:
3094 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3095 * shell/ev-stock-icons.h:
3096 * shell/ev-window.c: (update_action_sensitivity),
3097 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3098 (set_action_properties):
3100 Improve toolbar layout/icons
3102 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3104 * pdf/xpdf/pdf-document.cc:
3106 Add warnings about unimplemented/unknown link
3109 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3111 * ps/ps-document.c: (set_up_page):
3115 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3117 * ps/ps-document.c: (start_interpreter):
3121 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3123 * shell/ev-page-view.c: (ev_page_view_dispose):
3124 * shell/ev-view.c: (ev_view_finalize):
3125 * shell/ev-window.c: (ev_window_setup_document),
3126 (ev_window_dispose), (ev_window_init):
3128 Solve more refs issues.
3130 I commented out the page_view initialization for now:
3131 it was never destroyed (because it's never added
3132 to a container). Because of that we was leaking
3133 gs processes. Couldnt think to a clean fix.
3134 We need to figure this out, password view has the
3135 same issue probably.
3137 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3139 * ps/ps-document.c: (ps_document_finalize),
3140 (ps_document_get_n_pages), (ps_document_get_page):
3142 Some cleanups, stop the interpreter on finalize
3144 * shell/ev-page-view.c: (ev_page_view_dispose),
3145 (ev_page_view_class_init):
3147 Release our reference on the document
3149 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3153 * doc/debugging.txt:
3156 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3157 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3158 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3161 Add debugging helpers
3164 * ps/ps-document.c: (set_up_page), (start_interpreter),
3165 (stop_interpreter), (document_load), (ps_document_next_page),
3166 (ps_document_goto_page), (ps_document_set_page_size),
3167 (ps_document_widget_event), (ps_document_render):
3168 * shell/Makefile.am:
3169 * shell/ev-view.c: (expose_bin_window):
3170 * shell/main.c: (main):
3174 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3176 * ps/ps-document.c: (ps_document_widget_event):
3178 Initialize message_window, this should make ps
3179 rendering really work! (Never noticed because I was
3180 testing with a ps that is causing gs to exit every time!)
3182 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3184 * data/evince.schemas.in: updated simple error in applyto closing tag
3186 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3192 * data/evince-ui.xml:
3193 A data/evince.schemas.in:
3195 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3196 * shell/ev-stock-icons.h:
3197 * shell/ev-window.c: (update_chrome_visibility),
3198 (update_chrome_flag), (ev_window_cmd_edit_find),
3199 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3200 (ev_window_unfullscreen), (ev_window_focus_in_event),
3201 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3202 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3203 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3204 (ev_window_dispose), (ev_window_class_init),
3205 (set_action_properties), (set_chrome_actions), (load_chrome),
3208 Implement fullscreen mode changes from bug #164776.
3209 Also implement persistent chrome toggles.
3211 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3213 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3215 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3221 Add another check for find interface
3225 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3227 * shell/ev-application.c: (ev_application_open):
3228 * shell/ev-window.c: (ev_window_open):
3230 Open gzipped ps documents
3232 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3235 * shell/ev-view.c: (set_document_page):
3237 Clamp page number, dont try to move to
3240 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3242 * backend/ev-document-find.c: (ev_document_find_changed):
3243 * backend/ev-document-find.h:
3244 * pdf/xpdf/pdf-document.cc:
3245 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3246 * shell/ev-window.c: (find_bar_search_changed_cb):
3248 Fix several bugs with find
3250 2005-02-04 Martin Kretzschmar <martink@gnome.org>
3252 * shell/ev-sidebar-thumbnails.c
3253 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3254 document. Prevents warning from scroll_to_cell.
3256 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
3258 * configure.ac: Add «nb» to ALL_LINGUAS too.
3260 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
3262 * NOTES: New file with some random thoughts.
3266 * backend/ev-document-misc.c:
3267 (ev_document_misc_get_page_border_size): New function to
3268 canonicalize shadow drawing sizes. Possibly goofy.
3270 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
3271 (ev_view_best_fit), (ev_view_fit_width):
3272 * pdf/xpdf/pdf-document.cc:
3273 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3274 * ps/ps-document.c: (ps_document_get_page_size):
3275 * backend/ev-document-misc.h:
3276 * backend/ev-document.c: (ev_document_get_page_size):
3277 * backend/ev-document.h: get_page_size now takes a page number
3278 parameter. Made all the backends/frontends honor it.
3280 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
3281 see. Doesn't work yet.
3283 * shell/Makefile.am:
3284 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
3285 Doesn't do anything yet.
3287 * shell/ev-sidebar-thumbnails.c:
3288 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
3291 * shell/ev-window.c: (update_action_sensitivity),
3292 (ev_window_setup_document), (ev_window_set_page_mode),
3293 (ev_window_page_mode_cb), (ev_window_init): Clean up the
3294 view-swapping code a bit so we can have multiple views on a
3295 document. Add the multi-page view, though it can't be turned on
3298 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3300 * shell/ev-application.c: (ev_application_open):
3301 * shell/ev-view.c: (expose_bin_window):
3302 * shell/ev-window.c: (ev_window_open):
3304 Support eps and check document supports find
3305 before drawing highlightings in expose.
3307 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3309 * pixbuf/pixbuf-document.c:
3310 (pixbuf_document_thumbnails_get_dimensions),
3311 (pixbuf_document_document_thumbnails_iface_init):
3313 implement get_dimensions
3315 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3322 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3324 * shell/ev-view.c: (set_document_page):
3326 Scroll at the top of the page when changing page
3328 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3330 * shell/ev-view.c: (ev_view_motion_notify_event):
3332 Do not redraw unnecessarily
3334 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3336 * pdf/xpdf/pdf-document.cc:
3337 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3338 (expose_bin_window), (find_changed_cb):
3340 Yay! find works now... Now to find bugs...
3342 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3344 * backend/ev-document-find.c: (ev_document_find_base_init),
3345 (ev_document_find_changed):
3346 * backend/ev-document-find.h:
3347 * pdf/xpdf/pdf-document.cc:
3348 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3349 (expose_bin_window), (ev_view_init), (set_document_page),
3350 (ensure_rectangle_is_visible), (jump_to_find_result),
3351 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
3352 (ev_view_find_next), (ev_view_find_previous):
3354 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
3356 More work on find implementation, mostly there now
3358 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
3360 * backend/ev-backend-marshalers.list:
3361 * backend/ev-document-find.c: (ev_document_find_base_init),
3362 (ev_document_find_cancel), (ev_document_find_page_has_results),
3363 (ev_document_find_get_n_results), (ev_document_find_get_result),
3364 (ev_document_find_get_progress), (ev_document_find_changed):
3365 * backend/ev-document-find.h:
3367 Enanche the find interface to be really able to do
3370 * pdf/xpdf/pdf-document.cc:
3374 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
3375 (expose_bin_window), (ev_view_init),
3376 (ev_view_get_find_status_message), (find_changed_cb),
3377 (ev_view_set_document), (set_document_page):
3379 Adapt to the new interface. A few things are regressed sorry,
3380 I will finish it soon.
3382 2005-01-28 Martin Kretzschmar <martink@gnome.org>
3384 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
3385 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
3386 ev_sidebar_thumbnails_parent_class variable, don't define another
3387 parent_class variable.
3389 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
3390 (ev_page_action_class_init): ditto.
3392 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
3393 (pixbuf_document_class_init): ditto.
3395 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
3398 * .cvsignore: ignore various valgrind output files.
3400 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3402 * data/evince-ui.xml:
3403 * shell/Makefile.am:
3404 * shell/ev-history.c:
3405 * shell/ev-history.h:
3406 * shell/ev-navigation-action.c:
3407 * shell/ev-navigation-action.h:
3408 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
3409 (ev_view_set_page), (ev_view_fit_width):
3411 * shell/ev-window.c: (update_action_sensitivity),
3412 (ev_window_setup_document), (register_custom_actions):
3414 Kill session history
3416 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3418 * shell/ev-window.c: (update_action_sensitivity):
3420 Fix inverted up/down buttons
3422 2005-01-27 Martin Kretzschmar <martink@gnome.org>
3424 * shell/ev-sidebar-thumbnails.c
3425 (ev_sidebar_thumbnails_select_page): make sure the selected
3426 thumbnail stays visible.
3428 2005-01-26 Martin Kretzschmar <martink@gnome.org>
3430 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
3431 scrolled window for Federico.
3433 2005-01-26 Ole Laursen <olau@hardworking.dk>
3435 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
3437 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
3440 * pdf/splash/SplashFTFontEngine.cc:
3442 Fix CID fonts with freetype 2.1.9
3444 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
3446 * TODO: added item for desktop icon thumbnailer
3448 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
3450 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
3451 unloaded docs when the title is accessed.
3453 * shell/ev-password-view.[hc]: New widget for displaying password
3456 * shell/ev-window.[ch]: Refactor password handling code to handle
3459 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
3467 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
3469 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
3470 ignore page offset here, to make search results independent of it,
3472 * shell/ev-view.c (expose_bin_window): but take offsets into
3473 account here. Bug #164932
3475 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
3476 scale at the right time. Bug #164996
3478 2005-01-22 Martin Kretzschmar <martink@gnome.org>
3480 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
3481 fix the problem. Now I just removed the Adobe font names and hope
3482 that the URW fonts are always in outline format. Bug #164934
3484 * shell/ev-window.c (update_window_title): empty titles are
3485 useless, use filename in that case too.
3487 * NEWS: Add some content.
3489 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
3491 * TODO: added one more TODO item and a TODONE section :)
3493 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3495 * ps/ps-document.h: add page_[xy]_offset fields.
3497 * ps/ps-document.c (ps_document_set_page_offset)
3498 (ps_document_render): Keep offset in consideration in a few
3499 places. Bug #164752 "postscript documents are not centered in
3502 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
3503 s/gpdf/evince/. Spotted by Stephane Loeuillet.
3505 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
3506 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
3507 stub out missing methods for complete EvDocument implementation.
3508 Fixes segfaults with Save A Copy and Copy actions.
3510 * ps/ps-document.c (ps_document_save, ps_document_get_text)
3511 (ps_document_document_iface_init): ditto.
3513 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3517 * data/evince.desktop.in:
3521 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3523 * shell/ev-view.c: (ev_view_button_press_event),
3524 (ev_view_motion_notify_event):
3526 Make selection work in any direction
3528 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3531 * shell/ev-window.c: (set_short_labels), (ev_window_init):
3533 Use shorter labels for some of the toolbars items
3535 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3537 * pdf/xpdf/pdf-document.cc:
3539 Check the links info is initialized before
3540 using it. Should fix a crash on startup.
3542 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3544 * pixbuf/pixbuf-document.c
3545 (pixbuf_document_thumbnails_get_dimensions): force floating point
3546 division to calculate page_ratio. Fixes crash with landscape
3549 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
3551 * shell/ev-view.c (ev_view_realize): make the bg color darker.
3553 2005-01-20 Martin Kretzschmar <martink@gnome.org>
3555 * shell/ev-view.c (set_document_page): unset has_selection when
3557 (set_document_page): handle paper size changes when the page
3558 changes (test with Free Culture, page 2).
3560 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3562 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
3563 (expose_bin_window), (ev_view_class_init), (ev_view_init):
3565 Use normal style color for the widget background and
3566 draw a black box around the page.
3568 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3570 * pdf/xpdf/pdf-document.cc:
3572 Keep offset in consideration in a few places
3574 * shell/ev-view.c: (expose_bin_window):
3576 Set the offsets so that the document is ever centered
3578 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
3580 * TODO: Added TODO items and finished off the first todo item
3582 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
3583 reflect current authors
3585 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3587 * pdf/xpdf/pdf-document.cc:
3588 * shell/ev-view.c: (ev_view_set_cursor),
3589 (ev_view_motion_notify_event), (document_changed_callback),
3590 (set_document_page):
3592 Show a wait cursor while the page is rendering
3594 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3596 * shell/ev-sidebar-thumbnails.c:
3597 (ev_sidebar_tree_selection_changed),
3598 (ev_sidebar_thumbnails_select_page):
3599 * shell/ev-sidebar-thumbnails.h:
3600 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
3601 (ev_view_can_go_forward):
3602 * shell/ev-window.c: (ev_window_open_page),
3603 (ev_window_setup_document), (update_current_page),
3604 (view_page_changed_cb), (ev_window_init):
3605 * shell/ev-window.h:
3607 Ensure thumbnails selection, toolbar page control and
3608 current page are in sync.
3610 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
3616 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
3618 * backend/Makefile.am:
3619 * backend/ev-document-links.h:
3620 * backend/ev-document-security.c: (ev_document_security_get_type),
3621 (ev_document_security_has_document_security),
3622 (ev_document_security_set_password):
3623 * backend/ev-document-security.h:
3624 * backend/ev-document.c: (ev_document_error_quark):
3625 * backend/ev-document.h:
3627 * data/evince-password.glade:
3628 * pdf/xpdf/pdf-document.cc:
3629 * shell/Makefile.am:
3630 * shell/ev-password.c: (ev_password_set_bad_password_label),
3631 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
3632 (ev_password_dialog_get_password),
3633 (ev_password_dialog_set_bad_pass):
3634 * shell/ev-password.h:
3635 * shell/ev-window.c: (ev_window_get_attribute),
3636 (ev_window_set_property), (update_action_sensitivity),
3637 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
3638 (ev_window_setup_document), (ev_window_get_password),
3639 (ev_window_open), (ev_window_cmd_save_as),
3640 (using_postscript_printer), (ev_window_print),
3641 (find_not_supported_dialog), (ev_window_cmd_edit_find),
3642 (update_fullscreen_popup), (ev_window_fullscreen),
3643 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
3644 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
3645 (menu_item_select_cb), (find_bar_search_changed_cb),
3646 (ev_window_dispose), (ev_window_init):
3648 Add initial support for password-supported dialogs. This could be
3649 a lot cooler, but it'll do for now.
3651 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
3653 * pdf/xpdf/pdf-document.cc:
3654 * shell/ev-view.c: (status_message_from_link),
3655 (ev_view_set_status), (ev_view_set_cursor),
3656 (ev_view_motion_notify_event), (ev_view_init):
3657 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
3659 Fix bugs in the links implementation and change cursor
3660 when hovering a link.
3662 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
3664 * viewer/.cvsignore: added cvsignore file for viewer directory
3666 * TODO: created TODO document
3668 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
3671 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
3672 new functions to help with implementation of sensitivity code
3673 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3674 of all actions that might require it. Fixes a crash when you
3675 click on the Zoom actions in a window lacking a document.
3677 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
3679 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3682 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3684 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
3685 (pixbuf_document_document_iface_init):
3686 * ps/ps-document.c: (ps_document_get_link),
3687 (ps_document_document_iface_init):
3688 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
3689 (status_message_from_link), (ev_view_set_status),
3690 (ev_view_set_find_status), (ev_view_motion_notify_event),
3691 (ev_view_button_release_event), (ev_view_set_property),
3692 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
3693 (ev_view_get_find_status_message), (update_find_results),
3694 (ev_view_get_status), (ev_view_get_find_status):
3696 * shell/ev-window.c: (view_status_changed_cb),
3697 (view_find_status_changed_cb), (ev_window_init):
3699 View status message support, use it to show the links.
3702 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3704 * backend/ev-document.c: (ev_document_get_link):
3705 * backend/ev-document.h:
3706 * pdf/xpdf/pdf-document.cc:
3707 * shell/ev-application.c: (ev_application_open):
3708 * shell/ev-application.h:
3709 * shell/ev-sidebar-links.c: (selection_changed_cb):
3710 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
3711 (ev_view_go_to_link):
3713 Add support for document links
3715 2005-01-13 Anders Carlsson <andersca@gnome.org>
3717 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
3719 Set the spin button limits correctly.
3721 * shell/ev-sidebar-thumbnails.c:
3722 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
3723 Support changing pages by clicking on the thumbnails.
3725 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3727 * pixbuf/pixbuf-document.c:
3728 (pixbuf_document_thumbnails_get_dimensions),
3729 (pixbuf_document_document_thumbnails_iface_init):
3731 implement get_dimensions
3733 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3735 * ps/ps-document.c: (ps_document_goto_page):
3737 Fix page switching on multipage documents
3739 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
3741 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3743 check for NULL before assigning to width and height parameters
3745 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3747 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3748 (pixbuf_document_set_property), (pixbuf_document_get_property):
3750 implement get/set properties
3752 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3754 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
3756 return NULL instead of "Unknown", letting the title get set to
3757 the filename when the pdf has no title.
3759 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3761 * ps/ps-document.c: (ps_document_get_page_count),
3762 (ps_document_goto_page):
3764 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3766 * shell/ev-history.c: (ev_history_get_property),
3767 (ev_history_set_property), (ev_history_class_init),
3768 (ev_history_add_page), (ev_history_set_current_index):
3769 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
3770 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
3771 (ev_navigation_action_finalize):
3772 * shell/ev-navigation-action.h:
3773 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3774 (ev_view_go_forward), (ev_view_get_find_status_message),
3775 (history_index_changed_cb), (ev_view_set_history):
3777 * shell/ev-window.c: (update_total_pages), (ev_window_open),
3778 (update_current_page), (register_custom_actions):
3780 Implement history dropdowns
3782 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3784 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
3785 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3786 (ev_view_go_forward):
3787 * shell/ev-window.c: (register_custom_actions):
3789 Fix several history bugs
3791 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
3793 * configure.ac: Add «nb» to ALL_LINGUAS.
3795 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
3797 * backend/Makefile.am:
3798 * backend/ev-bookmark.c:
3799 * backend/ev-bookmark.h:
3800 * backend/ev-document-bookmarks.c:
3801 * backend/ev-document-bookmarks.h:
3802 * backend/ev-document-links.c: (ev_document_links_get_type),
3803 (ev_document_links_has_document_links),
3804 (ev_document_links_begin_read), (ev_document_links_get_link),
3805 (ev_document_links_get_child), (ev_document_links_next),
3806 (ev_document_links_free_iter):
3807 * backend/ev-document-links.h:
3808 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
3809 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
3810 (ev_link_get_link_type), (ev_link_set_link_type),
3811 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
3812 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
3813 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
3814 (ev_link_new_external):
3815 * backend/ev-link.h:
3816 * pdf/xpdf/pdf-document.cc:
3817 * shell/Makefile.am:
3818 * shell/ev-application.c: (ev_application_open_link):
3819 * shell/ev-application.h:
3820 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
3821 (ev_history_get_link_nth):
3822 * shell/ev-history.h:
3823 * shell/ev-sidebar-bookmarks.c:
3824 * shell/ev-sidebar-bookmarks.h:
3825 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3826 (ev_sidebar_links_class_init), (selection_changed_cb),
3827 (ev_sidebar_links_construct), (ev_sidebar_links_init),
3828 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
3829 (do_one_iteration), (populate_links_idle),
3830 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
3831 * shell/ev-sidebar-links.h:
3832 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3833 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
3836 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
3837 * shell/ev-window.h:
3839 Rename bookmark to link, and use "Index" for the sidebar panel.
3841 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3843 * shell/Makefile.am:
3844 * shell/ev-application.c: (ev_application_open_bookmark):
3845 * shell/ev-application.h:
3846 * shell/ev-history.c: (ev_history_init), (free_links_list),
3847 (ev_history_finalize), (ev_history_class_init),
3848 (ev_history_add_link), (ev_history_add_page),
3849 (ev_history_get_link_nth), (ev_history_get_n_links),
3850 (ev_history_get_current_index), (ev_history_set_current_index),
3852 * shell/ev-history.h:
3853 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3854 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
3855 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
3856 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
3859 * shell/ev-window.c: (ev_window_open_bookmark),
3860 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
3861 (goto_page_cb), (register_custom_actions):
3862 * shell/ev-window.h:
3864 Initial history implementation. Needs work.
3866 2005-01-09 Martin Kretzschmar <martink@gnome.org>
3868 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
3870 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3872 * cut-n-paste/recent-files/egg-recent-item.c:
3873 * cut-n-paste/recent-files/egg-recent-item.h:
3874 * cut-n-paste/recent-files/egg-recent-model.c:
3875 * cut-n-paste/recent-files/egg-recent-util.c:
3876 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3877 * cut-n-paste/recent-files/egg-recent-view.c:
3881 2005-01-08 Martin Kretzschmar <martink@gnome.org>
3883 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
3884 (fillGlyph, fillImageMask, drawImage):
3885 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
3886 pdf/splash/SplashTypes.h:
3887 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
3888 packed mode for Splash.
3890 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
3891 RGB8 packed mode, eliminates the pixbuf data creation loop.
3893 * shell/ev-print-job.c (ev_print_job_finalize)
3894 (ev_print_job_set_property, ev_print_job_get_property)
3895 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
3896 (ev_print_job_use_print_dialog_settings, idle_print_handler)
3897 (print_closure_finalize, ev_print_job_print): implement
3898 printing (for backends with EvPsExporter)
3900 * shell/ev_print_job.h: update prototypes.
3902 * shell/ev-window.c (ev_window_print): unref print job after
3905 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
3906 unless the document implements the EvDocumentFind interface.
3908 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
3910 * configure.ac: Added ja to ALL_LINGUAS.
3912 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3914 * pdf/xpdf/pdf-document.cc:
3916 add a FIXME. We should probably not allocate
3917 a bookmark object every time
3919 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3921 * shell/ev-application.c: (ev_application_open),
3922 (ev_application_open_bookmark):
3923 * shell/ev-application.h:
3925 Add a way to open bookmarks
3927 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
3928 (ev_bookmark_set_uri), (ev_bookmark_get_property),
3929 (ev_bookmark_set_property), (ev_bookmark_class_init),
3930 (ev_bookmark_new_title), (ev_bookmark_new_link),
3931 (ev_bookmark_new_external):
3933 Support for external uris, better constructors.
3935 * backend/ev-bookmark.h:
3936 * pdf/xpdf/pdf-document.cc:
3937 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3939 Handle external uris
3941 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3943 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
3944 (ev_sidebar_bookmarks_construct), (do_one_iteration):
3946 Hook up bookmarks navigation
3948 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3950 * backend/Makefile.am:
3951 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
3952 (ev_bookmark_get_title), (ev_bookmark_set_title),
3953 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
3954 (ev_bookmark_get_page), (ev_bookmark_set_page),
3955 (ev_bookmark_get_property), (ev_bookmark_set_property),
3956 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
3958 * backend/ev-bookmark.h:
3959 * backend/ev-document-bookmarks.c:
3960 (ev_document_bookmarks_get_bookmark):
3961 * backend/ev-document-bookmarks.h:
3962 * pdf/xpdf/pdf-document.cc:
3963 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
3965 Add a bookmark object to the backend and use it instead of get_values
3967 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3969 * data/evince-ui.xml:
3971 Cleanup and add select all.
3973 * shell/ev-view.c: (ev_view_select_all),
3974 (ev_view_button_press_event):
3976 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
3979 Clear selection on click.
3981 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
3983 * shell/ev-sidebar-thumbnails.c
3984 (ev_sidebar_thumbnails_set_document): forgot to unref the
3987 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
3989 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
3990 at the visible page, not just linearly. This makes it look fast.
3992 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
3994 * backend/ev-document-misc.c
3995 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
3997 * backend/ev-document-thumbnails.h: New interface to get the size
4000 2005-01-06 Jeremy Katz <katzj@redhat.com>
4002 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
4005 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
4007 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
4008 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
4011 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
4013 2005-01-05 Martin Kretzschmar <martink@gnome.org>
4015 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
4016 fonts. Should fix font problems on systems that have the base
4017 fonts in bitmap format. Reported by James Henstridge
4018 <james@jamesh.id.au>.
4020 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4023 * pdf/xpdf/GfxState.cc:
4025 Fix for CAN-2004-1125
4027 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4029 * shell/ev-view.c: (ev_view_copy):
4031 * shell/ev-window.c: (ev_window_cmd_edit_copy):
4033 Implement Edit->Copy
4035 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4037 * backend/ev-document.c: (ev_document_get_text):
4038 * backend/ev-document.h:
4039 * pdf/xpdf/pdf-document.cc:
4040 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
4041 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4042 (ev_view_update_primary_selection), (ev_view_button_press_event),
4043 (ev_view_motion_notify_event), (ev_view_button_release_event):
4045 Beginnings of clipboard support. Incomplete but primary sort
4048 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4050 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4051 (expose_bin_window):
4053 Nicer rubberband drawing, from GtkIconView.
4055 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4057 * backend/ev-document.c: (ev_document_save):
4058 * backend/ev-document.h:
4059 * data/evince-ui.xml:
4060 * pdf/xpdf/pdf-document.cc:
4061 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4063 Implement "Save a copy..." menu item
4065 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4067 * shell/ev-view.c: (ev_view_zoom):
4069 Queue a resize when zoom changes
4071 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4073 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4076 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4079 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4081 * pdf/xpdf/pdf-document.cc
4082 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4084 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4086 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4087 It's slow, but I'll speed it up next!
4089 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4091 * shell/main.c (load_files):
4093 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4094 from the command line and because it seems more appropriate.
4096 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4098 * data/evince-ui.xml:
4099 * shell/ev-window.c: (update_action_sensitivity),
4100 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4102 s/next page/page down
4103 s/previous page/page up
4105 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4107 * data/evince-ui.xml:
4109 Change the layout to match clarkbw design.
4111 * shell/Makefile.am:
4112 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4113 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4114 (ev_navigation_action_finalize),
4115 (ev_navigation_action_set_property),
4116 (ev_navigation_action_get_property),
4117 (ev_navigation_action_class_init):
4118 * shell/ev-navigation-action.h:
4120 Implement clarkbw toolbar navigation controls (incomplete)
4122 * shell/ev-page-action.c: (update_label), (update_spin),
4123 (value_changed_cb), (create_tool_item), (connect_proxy),
4124 (ev_page_action_init), (ev_page_action_finalize),
4125 (ev_page_action_set_property), (ev_page_action_get_property),
4126 (ev_page_action_set_current_page),
4127 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4128 * shell/ev-page-action.h:
4130 Implement a page switcher in the toolbar
4132 * shell/ev-view.c: (ev_view_scroll_view):
4133 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4134 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4135 (register_custom_actions), (ev_window_init):
4137 Change page on PageUp/Down.
4139 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4141 * pdf/xpdf/pdf-document.cc
4142 (pdf_document_thumbnails_get_thumbnail): initial stab at
4143 implementing thumbnail support for pdfs. It only does documents
4144 with precached pdfs now.
4146 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4148 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4149 thumbnail code into a time-based idle as well. Also, turn off the
4150 shadow temporarily as it's really slow.
4152 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4154 * backend/ev-document.c: (ev_document_class_init):
4155 * pdf/xpdf/pdf-document.cc:
4156 * shell/ev-window.c: (ev_window_open):
4158 Fix document title bugs and fallback to
4159 filename when not available.
4161 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4163 * backend/ev-document.c: (ev_document_get_type),
4164 (ev_document_class_init), (ev_document_load),
4165 (ev_document_get_title):
4166 * backend/ev-document.h:
4167 * pdf/xpdf/pdf-document.cc:
4168 * ps/ps-document.c: (ps_document_set_property),
4169 (ps_document_get_property), (ps_document_class_init),
4173 * shell/ev-window.c: (update_window_title), (ev_window_open),
4176 Initial support for document title. Not working yet.
4178 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4180 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4182 Grab focus on the view when clicking it
4184 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4186 * shell/ev-marshal.list:
4187 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4188 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4190 Add key bindings to the view. Now if the focus would work
4193 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4196 * backend/Makefile.am:
4199 * dvi/dvilib/Makefile.am:
4200 * pdf/xpdf/Makefile.am:
4206 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4208 * shell/ev-view.c: (ev_view_realize):
4210 Fix mouse wheel scrolling
4212 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4218 * ps/ps-document.c: (catchPipe), (ps_document_init),
4219 (ps_document_class_init), (ps_document_cleanup),
4220 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4221 (set_up_page), (close_pipe), (is_interpreter_ready),
4222 (interpreter_failed), (output), (input), (start_interpreter),
4223 (stop_interpreter), (file_length), (file_readable),
4224 (check_filecompressed), (check_pdf), (compute_xdpi),
4225 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4226 (ps_document_get_type), (ps_document_emit_error_msg),
4227 (document_load), (ps_document_next_page),
4228 (ps_document_get_current_page), (ps_document_get_page_count),
4229 (ps_document_goto_page), (ps_document_set_page_size),
4230 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4231 (ps_document_load), (ps_document_get_n_pages),
4232 (ps_document_set_page), (ps_document_get_page),
4233 (ps_document_widget_event), (ps_document_set_target),
4234 (ps_document_set_scale), (ps_document_set_page_offset),
4235 (ps_document_get_page_size), (ps_document_render),
4236 (ps_document_document_iface_init):
4239 * shell/ev-window.c: (ev_window_open):
4241 Rename GtkGS to PSDocument
4243 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4245 * ps/gtkgs.c: (gtk_gs_class_init):
4248 Some more leftover...
4250 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4252 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4253 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4254 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
4257 Remove unused code and make a lot of stuff private
4259 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4261 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
4262 (gtk_gs_defaults_changed):
4268 Cleanup headers dependencies
4270 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4275 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
4277 * ps/gtkgs.c: (file_length), (file_readable),
4278 (check_filecompressed), (check_pdf), (gtk_gs_load),
4279 (gtk_gs_get_postscript):
4283 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4288 * ps/gtkgs.c: (gtk_gs_set_zoom):
4292 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4294 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
4296 Ensure the page is rerendered when changing zoom
4298 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4300 * backend/ev-document.c: (ev_document_base_init),
4301 (ev_document_changed):
4302 * backend/ev-document.h:
4304 Add a changed event that is emitted when the page content
4305 changes. This is necessary to deal with the fact that
4306 in ps backend rendering happen asycrounously.
4307 This makes the ps backend mostly work.
4309 * pdf/xpdf/pdf-document.cc:
4313 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
4314 (ps_document_set_target):
4318 * shell/ev-view.c: (document_changed_callback),
4319 (ev_view_set_document), (ev_view_set_page):
4321 Redraw on the changed signal
4323 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
4325 * configure.ac: Added pt_BR to ALL_LINGUAS.
4327 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
4329 * backend/ev-document-bookmarks.c:
4330 (ev_document_bookmarks_get_child): *
4331 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
4332 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
4333 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
4334 (ev_sidebar_bookmarks_destroy),
4335 (ev_sidebar_bookmarks_class_init),
4336 (ev_sidebar_bookmarks_construct), (stack_data_free),
4337 (do_one_iteration), (populate_bookmarks_idle),
4338 (ev_sidebar_bookmarks_clear_document),
4339 (ev_sidebar_bookmarks_set_document): *
4340 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
4341 (ev_sidebar_add_page),
4342 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
4343 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
4344 it displays both the topics and the page numbers.
4346 2004-12-23 Kristian Høgsberg <krh@redhat.com>
4348 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
4350 * shell/ev-window.c (toggle_entries): Set sidebar default value to
4353 2004-12-23 Adam Weinberger <adamw@gnome.org>
4355 * configure.ac: Added en_CA to ALL_LINGUAS.
4357 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4359 * ChangeLog: replace bottom of this ChangeLog (merged history of
4360 ggv and gpdf; where all paths were wrong and most of the files are
4361 not even in this tree) with ChangeLog (from arch) of the shell
4364 2004-12-23 Havoc Pennington <hp@redhat.com>
4366 * shell/ev-window.c: hook up potentially-questionable "find
4367 results status text" feature - something involving the sidebar or
4368 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
4369 might be better in the end.
4371 * shell/ev-view.c (ev_view_get_find_status_message): new function,
4372 with corresponding signal when it should be updated
4374 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
4376 2004-12-22 Havoc Pennington <hp@redhat.com>
4378 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
4379 find stuff on other pages, sort of (only returns one result on
4380 invisible pages, to show they have results; updates full results
4381 for a page when you view it). Currently repaints the current page
4382 every time a new result is found on any page, which isn't so nice.
4384 2004-12-22 Havoc Pennington <hp@redhat.com>
4386 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
4387 the document doesn't support find (better ideas?)
4388 (find_bar_search_changed_cb): handle missing document or document
4389 that doesn't support find
4391 * pdf/xpdf/pdf-document.cc: port to implement the new
4394 * backend/ev-document-find.c: create a new interface for searching
4396 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
4398 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4400 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
4403 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
4404 EvPrintJob constructor arguments.
4406 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
4407 for documents that can export PostScript (page by page).
4409 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
4411 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
4412 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
4413 (pdf_document_ps_exporter_iface_init:
4414 Implement EvPSExporter.
4416 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
4418 2004-12-22 Anders Carlsson <andersca@gnome.org>
4420 * backend/Makefile.am:
4421 * backend/ev-document-thumbnails.c:
4422 (ev_document_thumbnails_get_type),
4423 (ev_document_thumbnails_get_thumbnail):
4424 * backend/ev-document-thumbnails.h:
4425 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4426 (pixbuf_document_thumbnails_get_thumbnail),
4427 (pixbuf_document_document_thumbnails_iface_init):
4428 * shell/Makefile.am:
4429 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
4430 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
4431 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
4432 * shell/ev-sidebar-thumbnails.h:
4433 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4434 (ev_sidebar_set_document):
4435 * shell/ev-utils.c: (gaussian), (create_blur_filter),
4436 (create_shadow), (ev_pixbuf_add_shadow):
4438 Add thumbnail support.
4440 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4442 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
4443 (using_postscript_printer): Set up a print dialog for "PostScript
4446 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
4449 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
4451 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4453 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
4454 (ps_document_set_target), (ps_document_get_page_size),
4455 (ps_document_render):
4460 2004-12-22 Christian Rose <menthos@menthos.com>
4462 * configure.ac: Added "sv" to ALL_LINGUAS.
4464 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
4466 * backend/ev-document-bookmarks.[ch]: new interface to indicate
4467 document supports bookmarks.
4469 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4471 * ps/ggvutils.c: (ggv_file_readable):
4473 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
4474 (gtk_gs_get_postscript):
4478 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4480 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
4481 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
4482 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
4483 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
4484 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
4485 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
4486 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4487 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4488 (gtk_gs_set_antialiasing), (ps_document_load),
4489 (ps_document_render):
4492 Another check point for the ps backend. Now I can get it to show
4495 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
4497 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
4498 document setting code.
4500 2004-12-22 Anders Carlsson <andersca@gnome.org>
4502 * shell/eggfindbar.c: (entry_activate_callback):
4503 Animate the next button when activate is pressed.
4505 2004-12-22 Anders Carlsson <andersca@gnome.org>
4507 * shell/ev-window.c: (ev_window_cmd_edit_find),
4508 (update_fullscreen_popup), (ev_window_fullscreen),
4509 (ev_window_unfullscreen), (ev_window_state_event_cb),
4510 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
4511 Fix bugs in fullscreen code.
4513 2004-12-22 Anders Carlsson <andersca@gnome.org>
4517 * pixbuf/Makefile.am:
4518 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4519 (pixbuf_document_load), (pixbuf_document_get_n_pages),
4520 (pixbuf_document_set_page), (pixbuf_document_get_page),
4521 (pixbuf_document_set_target), (pixbuf_document_set_scale),
4522 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
4523 (pixbuf_document_render), (pixbuf_document_begin_find),
4524 (pixbuf_document_end_find), (pixbuf_document_finalize),
4525 (pixbuf_document_class_init),
4526 (pixbuf_document_document_iface_init), (pixbuf_document_init):
4527 * pixbuf/pixbuf-document.h:
4528 * shell/Makefile.am:
4529 * shell/ev-application.c: (ev_application_open):
4530 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
4534 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
4537 * dvi/dvilib/Makefile.am:
4539 * configure.ac: Auto*ify dvi and dvi/dvilib
4541 * dvi/Makefile: Remove from CVS
4543 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
4546 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
4548 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
4550 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4553 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
4554 (gtk_gs_value_adjustment_changed), (compute_size),
4555 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
4556 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
4557 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4558 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4559 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
4560 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
4561 (ps_document_load), (ps_document_get_n_pages),
4562 (ps_document_set_page), (ps_document_get_page),
4563 (ps_document_set_target), (ps_document_set_scale),
4564 (ps_document_set_page_offset), (ps_document_get_page_size),
4565 (ps_document_render), (ps_document_begin_find),
4566 (ps_document_end_find), (ps_document_document_iface_init):
4568 * shell/Makefile.am:
4569 * shell/ev-window.c: (ev_window_open):
4571 Some work to integrate gtkgs with EvDocument
4573 2004-12-22 Anders Carlsson <andersca@gnome.org>
4575 * shell/ev-window.c: (update_fullscreen_popup),
4576 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
4577 (exit_fullscreen_button_clicked_cb),
4578 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
4579 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4580 (ev_window_state_event_cb), (ev_window_init):
4581 Add fullscreen support from Epiphany.
4583 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4585 * data/ev-stock-zoom-fit-width.png: fit-width
4586 stock icon from gpdf.
4588 * shell/ev-stock-icons.[ch]: copied from gpdf.
4590 * shell/main.c: (main): init stock icons.
4592 * shell/ev-window.c: use the fit-width icon.
4594 * data/evince-ui.xml: add zooming toolbar items.
4596 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4599 (ev_view_best_fit), (ev_view_fit_width): because
4600 get_page_size() returns the scaled page size, we
4601 need to calculate the scale factor relative to
4602 the previous scale factor. Should really just
4603 add get_real_page_size().
4605 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4607 * shell/ev-view.[ch]:
4608 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
4609 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
4612 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
4613 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
4614 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
4617 * pdf/xpdf/pdf-document.cc:
4618 (pdf_document_begin_find),
4619 (pdf_document_end_find): make static.
4621 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4623 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
4625 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
4626 names to fontconfig patterns.
4627 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
4629 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
4632 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4648 Import ggv backend. Not hooked up yet.
4650 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4652 * shell/main.c: (load_files), (main): load files
4653 from the command line.
4655 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4657 * configure.ac: don't require bonobo.
4659 * cut-n-paste/recent-files/*: kill bonobo recent
4662 * shell/ev-window.c:
4663 (ev_window_is_empty): upd.
4664 (unable_to_load), (ev_window_open): load backend
4665 based on the mime type.
4667 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4669 * backend/.cvsignore: ignore generated marshalers source.
4671 * shell/main.c (main): this is not epiphany.
4673 2004-12-22 Havoc Pennington <hp@redhat.com>
4675 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
4676 (expose_bin_window): draw find highlights
4678 * shell/ev-window.c (find_bar_search_changed_cb): implement
4680 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
4681 (pdf_document_end_find): implement this interface
4683 * backend/ev-document.c (ev_document_found): add this to emit
4686 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
4688 * data/evince-ui.xml: Add a few more toolbar items.
4690 * shell/ev-window.c: Hook up page navigation toolbar
4693 * shell/ev-view.[ch]: add ev_view_set/get_page and
4694 a page-changed signal.
4696 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
4697 Add ev_document_get_page().
4699 * shell/ev-window.c: Sensitize/desensitize navigation
4702 2004-12-21 Havoc Pennington <hp@redhat.com>
4704 * backend/ev-backend-marshal.c,
4705 backend/ev-backend-marshalers.list, backend/Makefile.am: add
4706 marshaler-generator thingy. I'm sure there's a better way to do
4707 this in the modern world.
4709 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
4710 end_find methods and "found" signal.
4712 * configure.ac: find glib-genmarshal
4714 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
4716 * shell/ev-sidebar.c: Construct an actual sidebar.
4717 * shell/ev-sidebar-bookmarks.[ch]:
4718 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
4720 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
4722 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
4725 * shell/ev-view.c: Track the size from the document.
4727 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
4729 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
4730 constructor assumes ownership of the string passed in.
4732 * shell/ev-window.c (ev_window_open): Destroy the error
4733 dialog once we've displayed it.
4735 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
4737 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
4738 a bit, it works! (sort of)
4740 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
4741 Move to .cc since we need to use C++ in the implementation.
4743 * shell/dummy.cc: Add a CC file to force evince
4744 to be linked as a C++ program.
4746 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
4748 * shell/ev-view.[ch]: Start of content-area widget.
4750 * shell/ev-window.c: Create a EvView, update it
4751 as we change documents.
4753 * shell/Makefile.am shell/ev-marshal.list: Add
4754 generated marshalers.
4756 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
4758 * Makefile.am (SUBDIRS): move shell.
4760 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
4762 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
4763 .a to libtool convenience libraries.
4765 * shell/ev-window.c (ev_window_open): Hard code loading
4768 * backend/ev-document.h: Add a boolean return to load(),
4769 fix GError * to GError **.
4771 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
4772 object for a PDF backend EvDocument.
4774 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
4776 * dvi/*: New directory with the beginning of a .dvi backend.
4778 2004-12-21 Havoc Pennington <hp@redhat.com>
4780 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
4781 previous/next instead of back/forward
4783 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
4785 * backend/ev-document.[ch]: Fix a couple of problems so
4788 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
4790 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
4791 to backend/ directory, rename EvViewer to EvDocument.
4793 2004-12-21 Havoc Pennington <hp@redhat.com>
4795 * shell/ev-window.c: hook up the find bar widget; now we just need
4796 a document to find things in
4798 * shell/eggfindbar.c: a find bar widget
4800 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
4802 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
4804 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
4806 * pdf/**: Import of xpdf code from gpdf.
4808 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
4810 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
4811 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
4812 Fix FreeType includes.
4814 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
4815 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
4816 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
4817 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
4818 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
4819 Include xpdfconfig.h
4821 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
4823 * shell/ev-window.c (ev_window_dispose): dispose can be called
4826 2004-12-21 Havoc Pennington <hp@redhat.com>
4828 * shell/ev-window.c (ev_window_init): set title to Document Viewer
4831 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
4832 items; really they should be synced with the strings, etc. from
4833 current gpdf, but just getting the boring typing out of the way
4835 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4838 * shell/ev-application.c: (window_destroy_cb):
4839 * shell/ev-window.c:
4840 * shell/main.c: (main):
4842 Actually show the window...
4844 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4847 * shell/Makefile.am:
4848 * shell/ev-application.c: (ev_application_class_init):
4849 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
4853 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4855 Import to gnome cvs.
4857 * Remove copies of gpdf and ggv trees.
4858 * Rip out all the recursive configure code.
4859 * Remove bonobo machinery.
4860 * viewer/*: GInterfaces that backends should/can implement.
4862 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4864 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
4867 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
4869 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
4870 (ev_application_finalize, ev_application_class_init)
4871 (ev_application_init): use GType instance private data for priv.
4873 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
4874 (ev_window_finalize, ev_window_class_init)
4875 (ev_window_init): ditto.
4877 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4879 * shell/ev-application.c (ev_application_new_window): make public
4880 (ev_application_show_initial_window): kill.
4882 * shell/ev-application.h: update prototypes.
4884 * shell/main.cc (main): inline ev_application_show_initial_window.
4886 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4888 * shell/ev-application.c (ev_application_new_window): impl.
4889 (ev_application_show_initial_window): use it.
4890 (is_window_empty, ev_application_get_empty_window): returns an
4891 existing empty window or a new one.
4892 (ev_application_open): from ev_window_cmd_file_open.
4894 * shell/ev-application.h: update prototypes
4896 * shell/ev-window.c (ev_window_is_empty): impl.
4897 (ev_window_open): make public.
4898 (ev_window_cmd_file_open): use ev_application_open
4900 * shell/ev-window.h: update prototypes, remove unused.
4902 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4904 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
4905 move destroy handler out of here...
4907 * shell/ev-application.c, shell/ev-application.h: ...into this new
4908 class. Also handles initial window creation.
4910 * shell/main.cc (main): use EvApplication to create initial
4913 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4915 * Makefile.am (SUBDIRS): add cut-n-paste
4917 * cut-n-paste/Makefile.am: add
4919 * configure.ac: generate Makefiles in cut-n-paste
4921 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4923 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
4924 (ev_window_class_init): install ev_window_dispose.
4926 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4928 * shell/ev-window.h, shell/ev-window.c: replace gchar with
4929 char (gchar looks stupid).
4931 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4933 * po/de.po: updated German translation.
4935 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4937 * configure.ac: add more pkg-config library checks for gnome-vfs,
4940 * gpdf/configure.in: temporarily disable libpaper
4941 checks. Otherwise I'd have to add the checks for the shell, too.
4943 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4945 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
4946 and * file filters to the file choose.
4948 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4950 * po/de.po: Updated German translation.
4952 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4954 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
4956 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4958 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
4960 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
4961 (ev_window_init): implement those menuitems.
4963 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4965 * data/evince-ui.xml: add a toolbar (with FileOpen action)
4967 * shell/ev-window.c (ev_window_init): use the toolbar.
4969 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4971 * shell/ev-window.c (ev_window_init): use menu translations
4973 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4975 * configure.ac: add "de" to ALL_LINGUAS.
4977 * po/de.po: add German translation.
4979 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4981 * Makefile.am (SUBDIRS): add po
4983 * configure.ac: check intltool, glib-gettext etc, generate
4986 * po, po/POTFILES.in, po/POTFILES.skip: new.
4988 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4990 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
4991 already use (#ifdef ENABLE_NLS)
4993 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
4994 pointer indirection thinko.
4996 * shell/main.c: include gi18n.h for bindtextdomain etc.
4998 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5000 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
5001 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
5002 tooltips for menu items in the statusbar.
5004 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5006 * configure.ac, data/Makefile.am, shell/Makefile.am: use
5007 pkgdatadir drop UIDIR
5009 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5011 * data/evince-ui.xml: Add File->Open menu item
5013 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
5014 chooser), hook it up in the ui manager.
5016 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5018 * shell/ev-window.c: fix Help->About tooltip.
5020 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5022 * configure.ac: set CFLAGS for libevprivate.
5024 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
5025 definitions, factory etc.
5027 * lib/Makefile.am: build libevprivate.a (only stock icon code).
5029 * shell/Makefile.am: link against libevprivate.a.
5031 * shell/ev-window.c (entries): add stock icon to Help->About.
5033 * shell/main.c (main): init stock icon code.
5035 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5037 * lib/recent-files: egg recent files code
5039 * lib/Makefile.am: add.
5041 * Makefile.am: add lib subdir.
5043 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
5044 set CFLAGS for recent-files.
5046 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5048 * configure.ac: disable -ansi and -pedantic gcc flags. They
5049 disable POSIX stuff in stdio.h, but egg-recent uses them.
5051 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5053 * configure.ac: add --disable-deprecated flag (defaults to on in
5056 * shell/Makefile.am (INCLUDES): use it.
5058 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5060 * shell/main.c: add missing #include.
5062 * shell/ev-window.c: fix for pedantic gcc.
5063 (ev_window_cmd_help_about): split license into paragraphs for
5064 translators and pedantic compilers.
5066 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5068 * configure.ac: add more warning flags if compiling with gcc from
5069 cvs (or explicitly requested with --enable-more-warnings).
5071 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5073 * data/evince-ui.xml: add File and File->Close menu.
5075 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5076 (ev_window_destroy): quit after destroy.
5077 (ev_window_class_init): override GtkObject::destroy.
5078 (entries): install close_window callback.
5080 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5082 * Makefile.am (SUBDIRS): add data subdir.
5084 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5085 gtk+ 2.5.0 for GtkAboutDialog.
5087 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5090 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5092 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5094 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5096 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5098 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5100 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5102 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5104 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5106 * shell/*: Added shell directory boilerplate, build it.
5108 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5110 * configure.ac, Makefile.am: Added top-level configure.ac and