1 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
5 Enable is_open for links, you will need poppler cvs
7 * shell/ev-properties.c: (job_fonts_finished_cb):
9 Get a lock on the document when filling the tree view
11 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
13 * backend/ev-document-links.h:
15 * shell/ev-sidebar-links.c: (create_loading_model),
16 (expand_open_links), (job_finished_callback):
18 Expand links when specified by the document.
19 Depend on a poppler api (defined out for now)
21 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
23 * shell/ev-properties.c: (ev_properties_dispose),
24 (ev_properties_class_init), (dialog_destroy_cb),
25 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
26 (ev_properties_set_document), (ev_properties_new),
28 * shell/ev-properties.h:
30 Make it an object, cleanup the code, api to show it as transient
31 and to set the document.
33 * shell/ev-window.c: (ev_window_setup_document),
34 (ev_window_cmd_file_properties):
36 Adapt to EvProperties changes, do not show multiple
37 times, update it when document changes.
39 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
42 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
43 (ps_document_set_orientation), (ps_document_document_iface_init):
46 Implement orientation here too
48 * shell/ev-properties.c: (ev_properties_new):
49 * data/evince-properties.glade:
51 Hide the fonts page for backends that doesnt
54 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
56 * backend/ev-document.c: (ev_document_set_orientation):
57 * backend/ev-document.h:
60 Add orientation api. Currently poppler api is not optimal,
61 we need to set orientation every time we _get a page.
62 I will try to fix that at some point.
65 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
66 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
68 Add orientation menu items
70 * shell/ev-page-cache.c: (ev_page_cache_clear):
71 * shell/ev-page-cache.h:
73 Add api to clear the cache
75 * shell/ev-view.c: (setup_caches), (clear_caches),
76 (ev_view_set_document), (ev_view_zoom_out),
77 (ev_view_set_orientation):
80 Implement orientation changing
82 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
84 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
85 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
86 * backend/ev-document-fonts.h:
88 Separate scan and fill so that we can incrementally fill from
89 the main thread. Add a progress api.
91 * data/evince-properties.glade:
93 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
95 * shell/ev-properties.c: (update_progress_label),
96 (job_fonts_finished_cb), (setup_fonts_view):
98 Incrementally feel the list and show the progress
99 percentage in a label like acrobat does.
101 You are going to need poppler cvs
103 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
105 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
106 * backend/ev-document-fonts.h:
109 Make fonts model fill incrementally.
111 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
112 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
113 (ev_job_queue_remove_job):
114 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
115 (ev_job_fonts_new), (ev_job_fonts_run):
118 New job for fonts scanning
120 * shell/ev-properties.c: (job_fonts_finished_cb),
121 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
122 * shell/ev-properties.h:
123 * shell/ev-window.c: (ev_window_cmd_file_properties):
125 Incrementally feel the treeview using the new job. Show Loading...
126 message until scanning is completed.
128 Hopefully I didnt break the build without the poppler patch.
130 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
132 * shell/ev-application.c: (ev_application_open):
133 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
134 (ev_document_type_get_type), (ev_document_type_lookup):
135 * shell/ev-document-types.h:
136 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
137 * shell/ev-job-xfer.h:
138 * shell/ev-window.c: (ev_window_clear_local_uri),
139 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
140 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
141 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
143 Transfer remote documents to tmp directory to display them later.
145 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
147 * backend/ev-document-info.h:
148 * shell/ev-properties.c: (ev_properties_new):
150 s/GTime*/GTime. Not sure why we was using a pointer
153 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
155 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
156 situations. That situation is that you're using GTK+-HEAD with
157 the patch at #306726 is applied, and you have a document with <
158 1500 pages in it. It's not quite as uniformly nice as the
159 TreeView, but should be better in the long run.
161 I'm pretty sure I guarded against breaking compilation with
162 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
165 * shell/ev-window.c (ev_window_init): We don't have our tree/list
166 widget yet, so I commented that code out
167 enable_view_actions_for_widget() for now. Need to figure this
170 * shell/ev-page-action.c (match_selected_cb): emit the right
171 signals. Our cool C-l completion now works.
173 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
175 * backend/Makefile.am:
176 * backend/ev-document-fonts.c:
177 * backend/ev-document-links.c:
178 * backend/ev-document.c: (ev_document_load):
179 * backend/ev-document.h:
180 * backend/ev-job-queue.c:
181 * backend/ev-job-queue.h:
184 * backend/ev-page-cache.c:
185 * backend/ev-page-cache.h:
187 EvPageCache and EvJobs are moved to shell.
189 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
191 * lib/ev-file-helpers.h:
193 New helper to work with temporary files
196 * shell/ev-application.c: (ev_application_open):
197 * shell/ev-application.h:
198 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
199 (remove_job_from_async_queue), (add_job_to_async_queue),
200 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
201 (handle_job), (search_for_jobs_unlocked),
202 (no_jobs_available_unlocked), (ev_render_thread),
203 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
204 (ev_job_queue_add_job), (move_job_async), (move_job),
205 (ev_job_queue_update_job), (ev_job_queue_remove_job):
206 * shell/ev-job-queue.h:
207 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
208 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
209 * shell/ev-job-xfer.h:
210 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
211 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
212 (ev_job_links_class_init), (ev_job_render_init),
213 (ev_job_render_dispose), (ev_job_render_class_init),
214 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
215 (ev_job_thumbnail_class_init), (ev_job_load_init),
216 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
217 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
218 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
219 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
221 * shell/ev-page-action.c: (ev_page_action_set_document):
222 * shell/ev-page-cache.c: (ev_page_cache_init),
223 (ev_page_cache_class_init), (ev_page_cache_finalize),
224 (ev_page_cache_new), (ev_page_cache_get_n_pages),
225 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
226 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
227 (ev_page_cache_get_title), (ev_page_cache_get_size),
228 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
229 (ev_page_cache_get_height_to_page),
230 (ev_page_cache_get_max_label_chars),
231 (ev_page_cache_get_page_label),
232 (ev_page_cache_has_nonnumeric_page_labels),
233 (ev_page_cache_get_info), (ev_page_cache_next_page),
234 (ev_page_cache_prev_page), (ev_page_cache_get):
235 * shell/ev-page-cache.h:
236 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
237 (ev_pixbuf_cache_clear_job_sizes),
238 (ev_pixbuf_cache_add_jobs_if_needed),
239 (ev_pixbuf_cache_set_page_range):
240 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
241 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
242 * shell/ev-sidebar-thumbnails.c:
243 (ev_sidebar_tree_selection_changed),
244 (ev_sidebar_thumbnails_set_document):
245 * shell/ev-statusbar.c: (ev_statusbar_destroy),
246 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
247 (ev_statusbar_get_context_id), (ev_statusbar_push),
248 (ev_statusbar_pop), (ev_statusbar_set_maximized),
249 (ev_statusbar_pulse), (ev_statusbar_show_progress),
250 (ev_statusbar_set_progress):
251 * shell/ev-statusbar.h:
252 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
253 (ev_view_find_previous):
254 * shell/ev-window.c: (ev_window_is_empty),
255 (ev_window_setup_document), (password_dialog_response),
256 (ev_window_clear_jobs), (ev_window_load_job_cb),
257 (ev_window_xfer_job_cb), (ev_window_open_uri),
258 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
259 (ev_window_print), (ev_window_print_range),
260 (ev_window_state_event), (ev_window_cmd_view_reload),
261 (menu_item_select_cb), (menu_item_deselect_cb),
262 (view_status_changed_cb), (ev_window_dispose),
263 (drag_data_received_cb), (ev_window_init):
265 * shell/main.c: (load_files):
267 New statusbar to show progress on idle. Two new jobs -
268 xfer job and load job to load document in background. And update
269 of page_cache clients to new location of code.
271 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
273 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
274 selection in open dialog. It also remembers the last visited directory
275 in the current session.
277 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
279 * shell/ev-properties.c: (ev_properties_new):
280 * shell/ev-properties.h:
281 * shell/ev-window.c: (ev_window_cmd_file_properties):
283 Get document info from page cache instead of document itself.
284 This should fix crash related to race conditions described in
287 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
289 * ps/ps-document.c: (ps_document_init),
290 (send_ps), (get_page_box), (output), (catchPipe), (input),
291 (stop_interpreter), (file_length), (file_readable),
292 (check_filecompressedb), (ps_document_enable_interpreter),
293 (document_load), (ps_async_renderer_render_pixbuf):
296 Big cleanup of the ps code
298 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
300 * backend/Makefile.am:
301 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
302 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
303 * backend/ev-async-renderer.h:
305 Add an async renderer interface (method + callback) which
306 is useful for backends like ps.
308 * backend/ev-job-queue.c: (remove_job_from_async_queue),
309 (add_job_to_async_queue), (job_finished_cb), (handle_job),
310 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
311 (ev_job_queue_add_job), (move_job_async), (move_job),
312 (ev_job_queue_update_job), (ev_job_queue_remove_job):
314 Add queues for async renderer, these are executed on the
317 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
321 If the backend support async renderer interface use it.
323 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
324 (setup_pixmap), (ps_document_get_type),
325 (ps_async_renderer_render_pixbuf),
326 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
328 Implement async renderer interface.
330 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
332 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
334 Cleanup links job on exit.
336 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
338 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
339 (drag_data_get_cb), (drag_data_received_cb):
340 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
341 (drag_data_get_cb), (parse_item_list),
342 (egg_toolbar_editor_load_actions):
343 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
344 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
345 (parse_item_list), (parse_toolbars):
346 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
347 (dvi_pixbuf_put_pixel):
351 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
353 * ps/ps-document.c: (start_interpreter):
355 Fix warning when loading ps
357 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
359 * ps/ps-document.c: (output):
361 Fix crash when priting gs error messages.
363 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
365 * backend/ev-page-cache.c: (_ev_page_cache_new):
366 * backend/ev-page-cache.h:
368 Use a const to return title so that we dont double
369 free it. Small cleanup and fix a leak.
371 * shell/ev-window.c: (update_window_title):
373 strdup value from get_title.
375 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
377 * shell/ev-sidebar-links.c: (job_finished_callback),
378 (ev_sidebar_links_set_document):
380 Cleanup the old job when changing document
382 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
384 * shell/ev-stock-icons.c:
385 * shell/ev-stock-icons.h:
388 Add stock icons for actions that can appear in toolbar. Fix for
391 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
393 * backend/ev-page-cache.c: (ev_page_cache_finalize),
394 (_ev_page_cache_new), (ev_page_cache_get_max_width),
395 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
396 * backend/ev-page-cache.h:
397 * shell/ev-view.c: (scroll_to_current_page),
398 (view_update_range_and_current_page), (get_page_y_offset),
399 (get_page_extents), (ev_view_size_request_continuous_dual_page),
400 (ev_view_size_request_continuous),
401 (ev_view_zoom_for_size_continuous_and_dual_page),
402 (ev_view_zoom_for_size_continuous):
404 More compact EvView layout in document with pages of different size.
406 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
408 * shell/ev-window.c (ev_window_cmd_file_properties): fix
411 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
413 * shell/ev-view.c: (view_set_adjustment_values):
414 * shell/ev-window.c: (ev_window_cmd_file_properties):
416 A bit different fix for rounding problem but it has no
417 problems on startup. Make properties window transient to parent.
419 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
423 More commenting of font stuff.
425 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
429 Comment out some more fonts stuff. Should really
430 work without the poppler patch now.
432 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
438 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
440 * data/evince-properties.glade:
442 * shell/ev-properties.c: (setup_fonts_view):
444 Set the column title. Show the dialog only
445 once everything is setup.
446 Getting font info can be very slow... will
447 prolly need to make this threaded too.
449 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
451 * backend/Makefile.am:
452 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
453 (ev_document_fonts_get_fonts_model):
454 * backend/ev-document-fonts.h:
455 * data/evince-properties.glade:
457 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
458 * shell/ev-properties.h:
459 * shell/ev-window.c: (ev_window_cmd_file_properties):
461 Implement fonts list. Defined out for now, since it depends
462 on a not yet committed poppler patch.
464 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
466 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
469 * shell/ev-window.c: Make sure we add the timeout when we get a
472 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
473 adjustment->value before calculating the zoom factor to average
474 out all of our rounding errors. The page no longer 'drifts' when
477 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
479 * data/evince-properties.glade:
480 * shell/ev-properties.c: (ev_properties_format_date),
483 Labels don't expand when the dialogue is resized.
484 strftime result needs to be converted to UTF-8. Thanks
485 to Christian Persch <chpe@gnome.org>.
487 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
489 * data/evince-properties.glade:
493 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
495 * backend/ev-document-info.h:
496 * backend/ev-document.c: (ev_document_info_free):
497 * data/evince-properties.glade:
499 * ps/ps-document.c: (ps_document_get_info):
500 * shell/ev-properties.c: (ev_properties_format_date),
501 (set_property), (ev_properties_new):
502 * shell/ev-properties.h:
503 * shell/ev-window.c: (ev_window_cmd_file_properties):
505 Rework properties code to take only EvPropertyInfo
506 in the constructor so that it can be useful for
509 Deal with backends that doesnt support some properties.
510 Make set property code generic.
512 2005-06-04 Christian Persch <chpe@gnome.org>
514 * data/evince-properties.glade:
516 fix spacings, make resizeable, and make data labels
517 selectable + ellipsised
519 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
521 * backend/ev-document-info.h:
523 * data/evince-ui.xml:
526 * shell/ev-window.c: (update_action_sensitivity),
527 (ev_window_cmd_file_properties):
529 Initial go at file properties. Patch by
530 Emil Soleyman-Zomalan <emil@soleyman.com>.
531 Needs love see #169583
533 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
535 * ps/ps-document.c: (output):
538 Try to render even if psscan fails.
540 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
542 * ps/ps.c: (psscan), (pscopydoc):
544 Port buffered reading code from gv
546 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
548 * ps/ps-document.c: (interpreter_message), (output):
550 Do not fail on interpreter messages
552 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
554 * backend/ev-document-misc.c:
555 (ev_document_misc_get_thumbnail_frame):
557 Pages can be 0 x 0, dont assert on this case
559 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
561 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
562 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
564 Correctly manage our reference on document. Finally the reload
567 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
569 * ps/ps-document.c: (ps_document_dispose):
571 Forgot to chain it to the parent. Thanks chpe.
573 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
575 * ps/ps-document.c: (ps_document_dispose),
576 (ps_document_class_init), (stop_interpreter), (document_load):
578 Cleanup dispose a bit. Dont leak the whole pixmap.
580 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
584 Release the poppler document on dispose
586 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
588 * shell/ev-view.c: (ev_view_set_document):
590 Release ref on the pixbuf cache when changing
593 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
595 * ps/ps-document.c: (ps_document_get_info):
599 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
601 * backend/ev-page-cache.c: (ev_page_cache_init),
602 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
603 * backend/ev-page-cache.h:
604 * shell/ev-page-action.c: (page_changed_cb):
606 Set page action entry width depending on labels width. Fix
609 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
611 * backend/ev-link.c: (ev_link_class_init):
613 Allow -1 as page value (error)
615 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
617 * shell/ev-sidebar-thumbnails.c:
618 (ev_sidebar_thumbnails_set_document):
619 * shell/ev-view.c: (scroll_to_current_page),
620 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
621 (page_changed_cb), (on_adjustment_value_changed),
622 (ev_view_set_document):
624 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
627 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
630 * djvu/djvu-document.c: (djvu_document_get_page_size):
632 Require djvulibre CVS. Now djvu loading is much faster. Fix for
635 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
637 * shell/ev-view.c (draw_one_page): modify the expose handling to
640 * shell/ev-window.c (update_action_sensitivity): Respect
641 permissions field. Kowtow to the man.
643 * pdf/ev-poppler.cc: Get the permissions field.
645 * tiff/*c: Make a tiny bit more robust.
647 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
649 * djvu/djvu-document.c:
651 Pop messages from djvu context message queue.
653 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
655 * configure.ac, Makefile.am, shell/Makefile.am:
656 * tiff/Makefile.am, shell/ev-document-types.c:
658 Cleanup tiff configure checks. Fix for bug 305218.
660 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
662 * configure.ac: Added "uk" to ALL_LINGUAS.
664 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
666 * cut-n-paste/zoom-control/ephy-zoom.c:
667 (ephy_zoom_get_changed_zoom_level):
668 * cut-n-paste/zoom-control/ephy-zoom.h:
669 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
670 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
671 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
672 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
673 (zoom_control_changed_cb), (ev_window_init):
675 Fix minor points related to moving best fit up. Introduce
676 "zoom" property and make zoom control change it's value on
677 notify::zoom signals. Fix for 305080.
679 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
681 * data/evince-ui.xml:
682 * shell/ev-window.c: (set_view_actions_sensitivity):
684 Use + and - as accels for zoom in and zoom out. Fix for 305001.
686 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
690 Depends on poppler 0.3.2
692 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
694 * cut-n-paste/recent-files/egg-recent-item.c:
695 (egg_recent_item_get_short_name):
696 * cut-n-paste/toolbar-editor/Makefile.am:
697 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
698 (new_pixbuf_from_widget):
699 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
700 * cut-n-paste/toolbar-editor/egg-marshal.c:
701 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
702 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
706 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
708 * tiff/tiff-document.c: Rough TIFF backend.
710 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
714 * cut-n-paste/toolbar-editor/Makefile.am:
718 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
720 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
721 (ev_view_find_next), (ev_view_find_previous):
723 Remove the locks around get_n_results
725 2005-05-21 Juerg Billeter <j@bitron.ch>
727 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
729 Pass correct number of pages to poppler.
731 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
735 * data/evince.desktop.in:
736 * data/evince.desktop.in.in:
739 Add conditionally dvi and djvu to desktop types. Fix for 304658.
741 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
743 * shell/ev-view.c: (view_update_adjustments),
744 (view_set_adjustment_values): cast adjustmen->value to (int)
745 before using it. Otherwise, we get off by a pixel in some
748 (draw_one_page): Draw the border on expose.
750 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
752 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
753 adjustment when the mode changes, #304923
755 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
757 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
758 flickering on resize but still use gdk_window_scroll on
761 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
763 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
766 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
768 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
769 second page on page_changed if possible, #304669
771 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
773 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
774 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
776 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
779 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
780 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
781 (ev_view_zoom_for_size_presentation),
782 (ev_view_zoom_for_size_continuous_and_dual_page),
783 (ev_view_zoom_for_size_continuous),
784 (ev_view_zoom_for_size_dual_page),
785 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
787 * shell/ev-window.c: (update_view_size),
788 (ev_window_sizing_mode_changed_cb):
790 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
791 the scrollbars. It's not 100% right, but it's much closer. Kills
792 an infinite loop, #304769
795 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
797 * data/evince-ui.xml:
798 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
799 * shell/ev-window.c: (set_view_actions_sensitivity):
801 Make PgUp/Down behave like Space
803 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
805 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
806 * backend/ev-ps-exporter.h:
808 * ps/ps-document.c: (ps_document_ps_export_begin):
809 * shell/ev-print-job.c: (idle_print_handler):
811 Adapt to new poppler api
813 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
815 * cut-n-paste/zoom-control/ephy-zoom-control.c:
816 (ephy_zoom_control_init):
818 Translate zoom levels
820 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
822 * cut-n-paste/zoom-control/ephy-zoom.c:
823 (ephy_zoom_get_zoom_level_index):
825 Fix current zoom -> zoom control match
827 2005-05-18 James Bowes <bowes@cs.dal.ca>
829 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
830 rather than the scrolled_window that it's in. Fixes bug #304655.
832 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
834 * shell/ev-view.c: (view_update_adjustments),
835 (view_set_adjustment_values), (view_update_range_and_current_page),
836 (view_scroll_to_page), (set_scroll_adjustment),
837 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
838 (ev_view_scroll), (ev_view_scroll_view),
839 (ensure_rectangle_is_visible), (find_page_at_location),
840 (get_link_at_location), (go_to_link), (status_message_from_link),
841 (ev_view_size_request_continuous_dual_page),
842 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
843 (ev_view_unrealize), (ev_view_expose_event),
844 (ev_view_button_press_event), (ev_view_motion_notify_event),
845 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
846 (draw_rubberband), (highlight_find_results), (draw_one_page),
847 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
848 (ev_view_init), (find_changed_cb), (page_changed_cb),
849 (on_adjustment_value_changed), (ev_view_new),
850 (ev_view_set_document), (ev_view_set_zoom),
851 (ev_view_set_continuous), (ev_view_set_dual_page),
852 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
853 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
854 (ev_view_zoom_for_size_presentation),
855 (ev_view_zoom_for_size_continuous_dual_page),
856 (ev_view_zoom_for_size_continuous),
857 (ev_view_zoom_for_size_dual_page),
858 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
859 (ev_view_get_status), (ev_view_set_status),
860 (update_find_status_message), (ev_view_get_find_status),
861 (ev_view_set_find_status), (jump_to_find_result),
862 (jump_to_find_page), (compute_selections), (clear_selection),
863 (ev_view_select_all), (get_selected_text), (ev_view_copy),
864 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
865 (ev_view_update_primary_selection),
866 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
868 * shell/ev-window.c: (ev_window_open_page_label),
869 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
872 * shell/main.c: (load_files):
874 Massive code clean up from Nickolay Shmyrev. Keep page offset
875 when resizing. Remove the bin_window(). Also, patch from James
876 Bowes to fix command line page, #300641
878 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
880 * data/evince-ui.xml:
883 * shell/ev-window.c: (update_action_sensitivity):
885 Get rid of View->Normal Size, it's just confusing
887 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
889 * backend/ev-document-info.h:
890 * backend/ev-document.c: (ev_document_info_free): Free the
893 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
894 (clear_range), (add_range), (update_visible_range),
895 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
896 (ev_sidebar_thumbnails_set_document):
897 * shell/ev-window.c: (ev_window_setup_document): Only render the
898 visible thumbnails. It takes an instant to render, but it uses
901 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
903 * shell/ev-sidebar-links.c: (popup_menu_cb):
907 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
910 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
911 (button_press_cb), (ev_sidebar_links_construct):
913 Show the popup menu also on keybindings
915 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
917 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
920 Expose api to print a range (with dialog). Make private _print use
923 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
924 (ev_sidebar_links_construct):
926 Show a print context menu on linkx, it prints the selected
929 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
931 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
934 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
940 * shell/ev-window.c: (build_comments_string),
941 (ev_window_cmd_help_about):
943 Show poppler version/backend and authors
945 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
947 * cut-n-paste/zoom-control/ephy-zoom.c:
948 (ephy_zoom_get_zoom_level_index):
949 * cut-n-paste/zoom-control/ephy-zoom.h:
951 Move the best fit items at the top of the list
953 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
955 * shell/ev-marshal.list:
956 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
957 (activate_cb), (match_selected_cb), (activate_link_cb),
958 (connect_proxy), (ev_page_action_class_init):
959 * shell/ev-page-action.h:
961 Use signals to notify action activation. Hopefully
962 I did not break completion since I cant test...
964 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
965 (register_custom_actions):
967 Connect to page selector actions and also grab focus on
968 the view when activated.
970 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
973 * backend/ev-page-cache.c: make page size calculation consistent
974 and set it to (int)( width * scale + 0.5). This makes the weird
975 line going through the middle of the page go away.
977 * shell/ev-view.c: move painting the background page after
978 checking the expose area covers us.
980 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
982 * data/evince-password.glade:
984 Mark labels as not translatable. Fix for bug 302842.
986 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
988 * configure.ac: Added "es" to ALL_LINGUAS.
990 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
992 * data/evince-toolbar.xml:
993 * shell/ev-window.c: (update_action_sensitivity),
994 (ev_window_setup_document), (ev_window_set_page_mode),
997 Remove some leftover code from jrb first continous
998 attempt. Use the new actions, we still need good icons
1001 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1003 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
1005 Update label when connecting proxy. Fix a warning with NULL
1008 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1010 * data/evince-ui.xml:
1011 * shell/ev-page-action.c: (ev_page_action_grab_focus):
1012 * shell/ev-page-action.h:
1013 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
1015 Add mnemonic for edit toolbar.
1016 ctrl+l focus the page entry.
1018 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1021 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
1023 * shell/main.c: (main):
1025 Put the toolbar xml in evince own dot dir
1027 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1029 * shell/ev-window.c: (ev_window_init):
1031 Make the toolbar not removable
1033 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1035 * data/evince-ui.xml:
1036 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
1037 * shell/ev-sidebar-links.h:
1038 * shell/ev-sidebar-thumbnails.c:
1039 (ev_sidebar_thumbnails_get_treeview):
1040 * shell/ev-sidebar-thumbnails.h:
1041 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
1042 (ev_view_class_init):
1044 * shell/ev-window.c: (update_action_sensitivity),
1045 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
1046 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
1047 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
1050 This is evil... Make space/backspace global accelerators but
1051 enable them only for some widgets (sidebars and view).
1052 I dont like it, but I dont know a better way... :/
1054 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1056 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
1057 (ev_page_action_widget_finalize),
1058 (ev_page_action_widget_class_init), (update_page_cache):
1060 Keep a weak reference on proxy->page_cache so that we
1061 dont try to disconnect the signal if the object is already
1062 gone. Maybe there is a better way to cleanup reference handling
1063 in page action though...
1065 2005-05-10 Juerg Billeter <j@bitron.ch>
1067 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1068 * backend/ev-ps-exporter.h:
1069 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
1070 * ps/ps-document.c: (ps_document_ps_export_begin):
1072 Change api to pass print range to ps_exporter_begin. The pdf backend
1073 requires this information.
1075 * shell/ev-print-job.c: (idle_print_handler):
1079 2005-05-10 Juerg Billeter <j@bitron.ch>
1081 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1082 (idle_print_handler)
1083 * shell/ev-window.c: (ev_window_print):
1085 Support printing page range, based on patch by Amaury Jacquot
1087 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1089 * data/evince-toolbar.xml:
1091 Add zoom control to available items
1093 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1095 * shell/ev-window.c: (update_action_sensitivity):
1097 Set slash action insensitive when appropriate
1099 2005-05-10 Christian Persch <chpe@gnome.org>
1101 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
1103 Fix warning on the overflow menu
1105 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
1107 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
1109 Check for uri correctness/existence
1111 2005-05-09 Juerg Billeter <j@bitron.ch>
1113 * shell/ev-window.c: (using_postscript_printer):
1115 LPD printers use postscript, too
1117 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1119 * shell/ev-window.c: (register_custom_actions):
1121 The zoom one is actually sort of useful,
1124 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1126 * shell/ev-window.c: (register_custom_actions):
1128 Hide page/zoom controls from overflow, they
1131 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1133 * cut-n-paste/update-from-egg.sh:
1135 Share it between all cut-n-paste subdirs
1137 * cut-n-paste/recent-files/Makefile.am:
1139 Fix to use "global" update-from-egg.sh
1141 * cut-n-paste/recent-files/egg-recent-model.c:
1142 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
1143 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1144 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
1145 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
1149 * cut-n-paste/toolbar-editor/Makefile.am:
1151 Fix to use "global" update-from-egg.sh
1153 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1157 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1160 * cut-n-paste/Makefile.am:
1161 * cut-n-paste/recent-files/Makefile.am:
1162 * cut-n-paste/toolbar-editor/.cvsignore:
1163 * cut-n-paste/toolbar-editor/Makefile.am:
1164 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1165 (egg_editable_toolbar_get_type), (get_toolbar_position),
1166 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
1167 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
1168 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
1169 (set_item_drag_source), (create_item_from_action), (create_item),
1170 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
1171 (popup_toolbar_context_menu_cb), (free_dragged_item),
1172 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
1173 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
1174 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
1175 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
1176 (item_added_cb), (item_removed_cb),
1177 (egg_editable_toolbar_construct),
1178 (egg_editable_toolbar_disconnect_model),
1179 (egg_editable_toolbar_deconstruct),
1180 (egg_editable_toolbar_set_model),
1181 (egg_editable_toolbar_set_ui_manager),
1182 (egg_editable_toolbar_set_property),
1183 (egg_editable_toolbar_get_property),
1184 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
1185 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
1186 (egg_editable_toolbar_new_with_model),
1187 (egg_editable_toolbar_get_edit_mode),
1188 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
1189 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
1190 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
1191 (new_pixbuf_from_widget), (new_separator_pixbuf),
1192 (update_separator_image), (style_set_cb),
1193 (_egg_editable_toolbar_new_separator_image),
1194 (egg_editable_toolbar_get_model):
1195 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1196 * cut-n-paste/toolbar-editor/egg-marshal.c:
1197 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1198 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
1199 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
1200 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
1201 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
1202 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
1203 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
1204 (editor_drag_data_delete_cb), (drag_data_get_cb),
1205 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
1206 (editor_create_item), (update_editor_sheet), (setup_editor),
1207 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
1208 (parse_item_list), (model_has_action), (update_actions_list),
1209 (egg_toolbar_editor_load_actions):
1210 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
1211 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1212 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
1213 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
1214 (toolbars_item_new), (free_toolbar_node), (free_item_node),
1215 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
1216 (egg_toolbars_model_add_separator), (impl_add_item),
1217 (parse_item_list), (egg_toolbars_model_add_toolbar),
1218 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
1219 (impl_get_item_data), (impl_get_item_type),
1220 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
1221 (egg_toolbars_model_init), (free_toolbar),
1222 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
1223 (egg_toolbars_model_remove_toolbar),
1224 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
1225 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
1226 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
1227 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
1228 (egg_toolbars_model_get_item_data),
1229 (egg_toolbars_model_get_item_type):
1230 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1231 * cut-n-paste/toolbar-editor/eggmarshalers.list:
1233 * data/evince-toolbar.xml:
1234 * data/evince-ui.xml:
1235 * data/hand-open.png:
1237 * shell/Makefile.am:
1238 * shell/ev-window.c: (update_chrome_visibility),
1239 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
1240 (ev_window_dispose), (ev_window_init):
1242 Implement epiphany like toolbar editor. Based on patch by
1243 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1245 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1247 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
1249 Use set_cursor instead of set_selection, so that
1250 the keyboard focus moves too.
1252 2005-05-09 Aleksey Kliger <akliger@gmail.com>
1254 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
1256 Fix infinite loop when loading Type1 fonts
1258 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1260 * data/evince-ui.xml:
1261 * shell/ev-window.c:
1265 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
1269 Make --disable really disable
1271 2005-05-07 Juerg Billeter <j@bitron.ch>
1273 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
1275 Compare page labels even without has_labels set, fixes setting page
1278 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
1280 * shell/ev-view.c: (ev_view_create_invisible_cursor),
1281 (ev_view_set_cursor), (ev_view_button_press_event),
1282 (ev_view_motion_notify_event), (ev_view_button_release_event),
1285 Implement middle button scrolling. Based on a patch
1286 by Tommi Komulainen <tommi.komulainen@iki.fi>.
1288 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
1290 * shell/ev-document-types.c: (get_slow_mime_type),
1291 (get_document_type_from_mime), (ev_document_type_lookup):
1292 * shell/ev-document-types.h:
1294 Change api to lookup from uri. Do fast lookup first, if the
1295 type is unknown try with data sniffing.
1297 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
1298 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1302 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1304 * thumbnailer/Makefile.am:
1308 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1315 * data/evince-ui.xml:
1317 Hide presentation mode for now
1319 * shell/ev-view.c: (highlight_find_results):
1321 Show current find selection only on current page
1323 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1325 * shell/ev-view.c: (ev_view_select_all):
1327 Compute size of the actual page, not of
1330 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1332 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
1333 (view_rect_to_doc_rect), (compute_selections),
1334 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
1335 (ev_view_copy), (ev_view_primary_get_cb),
1336 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
1337 (ev_view_button_press_event), (ev_view_motion_notify_event),
1338 (ev_view_button_release_event), (page_changed_cb):
1342 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
1344 * shell/ev-view.c: (compute_border), (get_page_extents),
1345 (doc_rect_to_view_rect), (highlight_find_results),
1346 (ev_view_bin_expose), (ev_view_select_all),
1347 (ev_view_motion_notify_event), (update_find_status_message),
1348 (jump_to_find_result), (jump_to_find_page):
1350 First go at fixing search, still buggy
1352 2005-05-04 Kristian Høgsberg <krh@redhat.com>
1354 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
1355 dropdown box and button at the top of the sidebar.
1357 2005-05-02 James Bowes <bowes@cs.dal.ca>
1359 * configure.ac: Output zoom-control Makefile.
1360 * cut-n-paste/Makefile.am: build zoom-control subdir.
1361 * cut-n-paste/zoom-control/ephy-zoom-action.c:
1362 * cut-n-paste/zoom-control/ephy-zoom-action.h:
1363 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1364 * cut-n-paste/zoom-control/ephy-zoom-control.h:
1365 * cut-n-paste/zoom-control/ephy-zoom.c:
1366 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
1367 from epiphany, and modified to add a separator into the menu.
1368 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
1369 * data/evince-ui.xml: Replace old zoom toolbar actions with new
1370 zoom-control action.
1371 * shell/Makefile.am: Include zoom-control flags.
1372 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
1373 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
1374 (ev_view_zoom_for_size_presentation),
1375 (ev_view_zoom_for_size_continuous_and_dual_page),
1376 (ev_view_zoom_for_size_continuous),
1377 (ev_view_zoom_for_size_dual_page),
1378 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
1379 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
1380 ev_view_get_zoom and ev_view_get_sizing_mode.
1382 * shell/ev-window.c: (update_action_sensitivity),
1383 (update_sizing_buttons), (zoom_control_changed_cb),
1384 (register_custom_actions): Initialize and use the zoom-control
1387 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
1389 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
1390 preview cache back to 1. Don't know when it got set to 0.
1392 * shell/ev-view.c: (compute_border), (ev_view_realize),
1393 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
1394 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
1395 (ev_view_get_fullscreen), (ev_view_set_presentation),
1396 (ev_view_get_presentation), (ev_view_set_sizing_mode),
1397 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
1399 * shell/ev-window.c:
1400 (update_chrome_visibility),
1401 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1402 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1403 (update_document_mode), (ev_window_update_fullscreen_action),
1404 (ev_window_fullscreen), (ev_window_unfullscreen),
1405 (ev_window_cmd_view_fullscreen),
1406 (ev_window_update_presentation_action),
1407 (ev_window_run_presentation), (ev_window_stop_presentation),
1408 (ev_window_cmd_view_presentation), (ev_window_state_event),
1409 (ev_window_focus_in_event), (ev_window_focus_out_event),
1410 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
1411 * data/evince-ui.xml: Initial presentation mode. We should
1412 probably hide this until it's done, as it's quite rough. Also,
1413 change full-screen to fullscreen and add two getters to EvView.
1415 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1417 * shell/ev-page-action.c: (update_page_cache),
1418 (ev_page_action_dispose):
1419 * shell/ev-window.c: (destroy_fullscreen_popup),
1420 (ev_window_create_fullscreen_popup):
1422 Use connect_object rather than explicitly
1423 disconnect on dispose.
1425 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
1427 * shell/ev-page-action.c: (update_page_cache),
1428 (ev_page_action_dispose):
1430 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1432 * backend/ev-page-cache.c: (_ev_page_cache_new),
1433 (ev_page_cache_set_page_label),
1434 (ev_page_cache_has_nonnumeric_page_labels):
1435 * backend/ev-page-cache.h:
1436 * shell/ev-page-action.c: (update_pages_label):
1438 If all page labels are numeric, fallback to default
1439 way to display number of pages. See bug 173185.
1441 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1443 * shell/ev-page-action.c: (ev_page_action_dispose):
1444 * shell/ev-view.c: (view_update_range_and_current_page):
1445 * shell/ev-window.c: (ev_window_dispose):
1447 Set page on scroll in continuous mode. Fixes bug 301986.
1448 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
1450 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
1454 Require poppler 0.3.0
1456 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1458 * shell/Makefile.am, configure.ac: Fix build problems
1459 with t1lib. Bug 301996.
1461 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1463 * shell/ev-view.c: (ev_view_scroll_event):
1465 Scroll up increase zoom
1467 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1469 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
1470 (ev_view_set_sizing_mode),
1471 (ev_view_zoom_for_size_continuous_and_dual_page),
1472 (ev_view_zoom_for_size_continuous):
1473 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
1474 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
1475 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
1478 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
1479 Fix for 165473 and 165472.
1481 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1484 * thumbnailer/Makefile.am:
1485 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
1486 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
1487 * thumbnailer/evince-thumbnailer.schemas.in:
1489 Make thumbnailer schemas translatable. Fix for bug 301773
1491 * thumbnailer/evince-thumbnailer-djvu.schemas:
1492 * thumbnailer/evince-thumbnailer-dvi.schemas:
1493 * thumbnailer/evince-thumbnailer.schemas:
1497 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
1499 * shell/ev-view.c (ev_view_init): forgot to set this.
1501 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
1503 * shell/ev-view.c: (find_page_at_location),
1504 (get_link_at_location),
1505 (ev_view_set_show_border), (ev_view_set_spacing),
1506 (ev_view_zoom_for_size_continuous_and_dual_page),
1507 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
1508 Also, add a quick fix measuring of widths. Also, removed
1509 ev_view_set_spacing and ev_view_set_show_border.
1511 * shell/ev-window.c: (ev_window_unfullscreen),
1512 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
1514 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1516 * shell/ev-view.c: (view_update_range_and_current_page),
1519 Fix crash on exit and scrolling to page in continuous view.
1521 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
1524 * backend/ev-page-cache.c: (_ev_page_cache_new),
1525 (ev_page_cache_get_max_width_size),
1526 (ev_page_cache_get_max_height_size):
1527 * backend/ev-page-cache.h:
1528 * data/evince-ui.xml:
1529 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
1530 * shell/ev-view.c: (view_update_adjustments),
1531 (view_update_range_and_current_page), (get_bounding_box_size),
1532 (ev_view_size_request_continuous_and_dual_page),
1533 (ev_view_size_request_continuous),
1534 (ev_view_size_request_dual_page),
1535 (ev_view_size_request_single_page), (ev_view_size_request),
1536 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
1537 (ev_view_bin_expose), (ev_view_expose_event),
1538 (ev_view_set_property), (ev_view_get_property),
1539 (ev_view_class_init), (ev_view_init), (ev_view_new),
1540 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
1541 (ev_view_set_dual_page), (ev_view_set_full_screen),
1542 (ev_view_set_presentation), (ev_view_set_sizing_mode),
1543 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
1544 (ev_view_zoom_out), (zoom_for_size_fit_width),
1545 (zoom_for_size_best_fit),
1546 (ev_view_zoom_for_size_continuous_and_dual_page),
1547 (ev_view_zoom_for_size_continuous),
1548 (ev_view_zoom_for_size_dual_page),
1549 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1550 (ev_view_show_cursor), (ev_sizing_mode_get_type):
1552 * shell/ev-window.c: (update_action_sensitivity),
1553 (ev_window_cmd_continuous), (ev_window_cmd_dual),
1554 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1555 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
1556 (ev_window_cmd_view_zoom_out), (update_view_size),
1557 (ev_window_set_sizing_mode), (ev_window_init):
1559 Add Continuous and Dual page modes.
1561 2005-04-23 James Bowes <bowes@cs.dal.ca>
1563 * dvi/dvi-document.c: (dvi_document_load),
1564 (dvi_document_thumbnails_get_thumbnail),
1565 (dvi_document_init_params): Fix up some mixups between
1566 width and height to correct thumbnail rendering.
1568 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1570 * dvi/mdvi-lib/private.h:
1571 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
1573 Suppess output for kpathsea during font generation. Thanks to
1576 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
1583 * Makefile.am: fix distcheck.
1585 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1587 * shell/ev-sidebar-links.c: (selection_changed_callback),
1588 (update_page_callback), (row_activated_callback),
1589 (job_finished_callback), (ev_sidebar_links_set_document):
1591 Fix for bug #169901. Double click on links expands tree.
1593 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
1595 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
1596 hard-coded style. Fix for bug 170111
1598 2005-04-22 Kristian Høgsberg <krh@redhat.com>
1600 * shell/ev-view.c (highlight_find_results): Remove unnecessary
1603 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1605 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
1607 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1609 * pdf/ev-poppler.cc:
1610 * shell/ev-view.c: (highlight_find_results):
1612 Fix find on single page documents
1614 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1616 * data/evince.schemas.in: fix for bug 301390
1618 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1620 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
1621 (ev_view_zoom_out), (ev_view_zoom_normal):
1623 * shell/ev-window.c: (update_action_sensitivity),
1624 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1625 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
1626 (ev_window_cmd_view_normal_size):
1628 Fix normal size zoom. Make zoom in/zoom out unsensitive when
1629 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
1632 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1636 Depend on 2.57, 2.59 doesnt seem to be necessary
1638 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1640 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
1643 Put back total number of pages as (1 of 1234)
1645 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
1647 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
1650 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
1651 function. This helps debugging.
1653 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1655 * djvu/djvu-document.c: (djvu_document_class_init),
1656 (djvu_document_get_info), (djvu_document_document_iface_init):
1657 * dvi/dvi-document.c: (dvi_document_class_init),
1658 (dvi_document_get_info), (dvi_document_document_iface_init):
1660 Dummy implementation of get_info method for dvi and djvu. Fix
1661 crashes with those backends
1663 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
1665 * data/evince.desktop.in:
1667 Add application/x-gzpostscript
1669 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
1671 * data/evince.schemas.in: Added real long descriptions,
1674 * README: Added actual text, closes bug 171869
1676 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1678 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1682 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1684 * backend/ev-document-info.h:
1686 s/GDate */GDate so we can just use g_free
1688 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1690 * shell/ev-window.c: (update_document_mode),
1691 (ev_window_setup_document):
1693 Show the window in fullscreen when specified by
1696 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1698 * backend/ev-document.c: (ev_document_class_init),
1699 (ev_document_get_info), (ev_document_render_pixbuf):
1700 * backend/ev-document.h:
1701 * backend/ev-page-cache.c: (_ev_page_cache_new):
1702 * pdf/ev-poppler.cc:
1703 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
1704 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
1705 * ps/ps-document.c: (ps_document_class_init), (document_load),
1706 (ps_document_get_info), (ps_document_document_iface_init):
1708 Remove get_title from the interface, we can just use document info
1710 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1712 * backend/Makefile.am:
1713 * backend/ev-document.c: (ev_document_render_get_info):
1714 * backend/ev-document.h:
1715 * pdf/ev-poppler.cc:
1717 Initial support for document info. Based on jrb patch.
1719 2005-04-19 Paolo Borelli <pborelli@katamail.com>
1721 * shell/ev-window.c: (ev_window_state_event),
1722 (ev_window_class_init), (ev_window_init):
1724 Doesn't show resize grip when maximized. See bug #301053
1726 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1730 ev-sidebar-thumbnails now has translatable labels
1732 * shell/Makefile.am:
1733 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
1734 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
1735 (ev_sidebar_links_page_iface_init):
1736 * shell/ev-sidebar-links.h:
1737 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1738 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
1739 (ev_sidebar_page_get_label):
1740 * shell/ev-sidebar-page.h:
1741 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
1742 (ev_sidebar_thumbnails_set_document),
1743 (ev_sidebar_thumbnails_support_document),
1744 (ev_sidebar_thumbnails_get_label),
1745 (ev_sidebar_thumbnails_page_iface_init):
1746 * shell/ev-sidebar-thumbnails.h:
1747 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1748 (ev_sidebar_set_document):
1749 * shell/ev-sidebar.h:
1750 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
1752 Small rework of sidebar code. Now sidebar pages should implement
1753 EvSidebarPage interface. That makes page management in EvSidebar
1754 easier. See bug #164811 for details
1756 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1758 * shell/ev-application.c: (ev_application_open):
1759 * shell/ev-document-types.c:
1761 Fix build error and small problem with application exit
1763 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1765 * thumbnailer/Makefile.am:
1766 * thumbnailer/evince-thumbnailer-djvu.schemas:
1767 * thumbnailer/evince-thumbnailer-dvi.schemas:
1769 Conditionally install schemas for djvu/dvi thumbnailer
1771 2005-04-18 David Malcolm <dmalcolm@redhat.com>
1773 * shell/ev-document-types.h:
1774 * shell/ev-document-types.c:
1775 New files, handling the mapping from mimetypes to backends
1777 * shell/ev-window.c:
1778 * thumbnailer/evince-thumbnailer.c:
1779 Use the ev-document-types code
1781 * shell/Makefile.am:
1782 Added new convenience library libevbackendfactory_la, containing
1783 the new mimetype->backend logic; moved the backends into it.
1785 * thumbnailer/Makefile.am:
1786 Make the thumbnailer link with the libevbackend.la convenience
1787 library, rather than having a duplicate of the backend logic here.
1789 2005-04-18 Paolo Borelli <pborelli@katamail.com>
1791 * shell/ev-stock-icons.c: constify some vars.
1792 * shell/ev-window.c: ditto.
1794 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
1796 * ps/ps-document.c (get_page_orientation):
1798 Respect document orientation
1800 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1804 * shell/Makefile.am:
1806 Move library dependencies to components.
1808 * shell/ev-window.c: (update_window_title),
1809 (start_loading_document):
1811 Fix display of uris with spaces. Bug 168358.
1813 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
1815 * shell/ev-sidebar-links.c: (selection_changed_cb):
1816 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
1817 (ev_view_button_release_event), (ev_view_set_document):
1819 * shell/ev-window.c: (find_bar_search_changed_cb):
1820 * shell/ev-window.h: Minor cleanups removing some dead code.
1822 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1824 * backend/ev-page-cache.c: (_ev_page_cache_new):
1826 Set current page to 0 if document has pages.
1828 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1830 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1832 Initialize GError to NULL, fix a crash when loading fails.
1834 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1836 * shell/ev-window.c: (update_view_size):
1838 Calculate shadow size only when there is actually
1841 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1843 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
1846 Allow setting view spacing, default to 0
1848 * shell/ev-window.c: (ev_window_unfullscreen),
1849 (ev_window_cmd_view_fullscreen), (ev_window_init):
1851 Remove spacing in fullscreen mode
1853 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1855 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
1856 (ev_view_size_request), (expose_bin_window),
1857 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
1859 * shell/ev-window.c: (ev_window_unfullscreen),
1860 (ev_window_cmd_view_fullscreen):
1862 Do not draw the border in fulscreen
1864 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1866 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
1867 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
1868 (find_page_at_location), (page_changed_cb):
1870 Rework border calculation, so that I can more easily disable it.
1871 Code somewhat cleaner too.
1873 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1875 * backend/ev-page-cache.c: (ev_page_cache_init),
1876 (_ev_page_cache_new):
1878 Remove some assertions, documents can have 0 pages.
1879 Make initial current page -1.
1881 * shell/ev-page-action.c: (page_changed_cb):
1883 Show "" if current page is -1
1885 * shell/ev-window.c: (update_action_sensitivity),
1886 (ev_window_setup_document):
1888 When document has 0 pages do not set the view
1889 and make nearly everything insensitive.
1891 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1893 * shell/ev-page-view.c:
1894 * shell/ev-page-view.h:
1896 Remove unused files.
1898 * shell/ev-sidebar-thumbnails.c:
1899 (ev_sidebar_thumbnails_set_document):
1900 * shell/ev-sidebar.c: (ev_sidebar_set_document),
1901 (ev_sidebar_supports_document):
1902 * shell/ev-sidebar.h:
1903 * shell/ev-window.c: (ev_window_setup_document):
1905 Doesn't show thumbnails if document has 1 page. Make
1906 sidebar menu entries sensitive only if if they have
1907 sense. Fix bug 164811.
1909 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1911 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
1912 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
1913 (ev_view_zoom_out), (ev_view_set_size):
1915 Rework sizing to deal with documents with not uniform page
1918 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1920 * backend/ev-page-cache.c: (_ev_page_cache_new):
1922 Fix several page size caching bugs
1924 2005-04-15 Luca Ferretti <elle.uca@libero.it>
1926 * shell/ev-window.c: (set_action_properties):
1928 Make all toolbar items translatable
1930 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1932 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
1933 (save_page_list), (ps_document_save),
1934 (ps_document_document_iface_init), (ps_document_ps_export_begin),
1935 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
1936 (ps_document_ps_exporter_iface_init):
1939 Based on a patch by J�rg Billeter <j@bitron.ch>
1941 Implement print and save a copy for the ps backend.
1943 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
1945 * backend/ev-document.h:
1946 * djvu/djvu-document.c: (djvu_document_can_get_text),
1947 (djvu_document_document_iface_init):
1948 * dvi/dvi-document.c: (dvi_document_can_get_text),
1949 (dvi_document_document_iface_init):
1950 * pdf/ev-poppler.cc:
1951 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
1952 (pixbuf_document_document_iface_init):
1953 * ps/ps-document.c: (ps_document_can_get_text),
1954 (ps_document_document_iface_init):
1955 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
1956 * shell/ev-window.c: (update_action_sensitivity):
1958 Fix the crash when trying to copy in backends that doesnt
1959 support it. We can implement a better solution once we
1960 do real text selection.
1962 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
1964 * data/evince-ui.xml:
1965 * shell/ev-window.c: (ev_window_cmd_escape):
1967 Work around the Escape conflict (find bar and unfullscreen)
1969 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1971 * backend/ev-page-cache.c: (ev_page_cache_next_page):
1973 Fix for #300233. Next page correctly handles document end.
1975 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1976 (ev_sidebar_thumbnails_class_init),
1977 (ev_sidebar_thumbnails_set_document),
1978 (ev_sidebar_thumbnails_clear_job),
1979 (ev_sidebar_thumbnails_clear_model):
1981 Cleanup thumbnail jobs on document changes.
1983 * shell/ev-view.c: (add_scroll_binding_keypad),
1984 (add_scroll_binding_shifted), (ev_view_class_init):
1986 Shift + Space scrolls up. Fix for #173184
1988 * shell/ev-window.c: (ev_window_open_page),
1989 (ev_window_cmd_view_reload):
1991 Fix reload (Bug #300094)
1993 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1996 * dvi/mdvi-lib/assoc.c:
1997 * dvi/mdvi-lib/assoc.h: Removed garbage files
1999 * dvi/mdvi-lib/bitmap.c:
2000 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
2001 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
2002 * dvi/mdvi-lib/color.h: Antialias of rules
2004 * dvi/mdvi-lib/common.h:
2005 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
2006 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
2007 * dvi/mdvi-lib/files.c:
2008 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
2009 * dvi/mdvi-lib/mdvi.h:
2010 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2011 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
2012 * dvi/mdvi-lib/util.c: Fix compile warnings
2014 * dvi/dvi-document.c:
2015 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
2016 (dvi_document_thumbnails_get_thumbnail),
2017 (dvi_document_document_thumbnails_iface_init):
2018 * dvi/mdvi-lib/Makefile.am:
2019 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
2020 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
2022 Dvi backend now renders thumbnails
2024 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
2026 * shell/main.c: (main):
2028 Save accelerators on exit. Fixes bug #172095.
2030 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
2032 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
2033 update priority" comment.
2035 * backend/ev-job-queue.c: Give a way to change priority.
2037 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
2039 * shell/ev-page-action.c: Fix logic.
2041 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2043 * shell/ev-view.c: (ev_view_can_find_next):
2044 * shell/ev-window.c: (ev_window_setup_document):
2046 Check that the document supports find
2048 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2050 * data/evince-ui.xml:
2051 * shell/ev-view.c: (ev_view_can_find_next):
2053 * shell/ev-window.c: (update_action_sensitivity),
2054 (find_changed_cb), (ev_window_setup_document),
2055 (ev_window_cmd_edit_find_next):
2059 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
2061 * pdf/ev-poppler.cc:
2062 * shell/ev-print-job.c: (idle_print_handler):
2064 Make printing work again
2066 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
2068 * shell/ev-page-action.h:
2069 * shell/ev-page-action.c: (ev_page_action_widget_init),
2070 (ev_page_action_widget_class_init), (page_changed_cb),
2071 (create_tool_item), (update_page_cache), (build_new_tree_cb),
2072 (get_filter_model_from_model), (match_selected_cb),
2073 (display_completion_text), (match_completion), (update_model),
2074 (connect_proxy), (ev_page_action_set_property),
2075 (ev_page_action_get_property), (ev_page_action_set_document),
2076 (ev_page_action_set_model), (ev_page_action_class_init): Big
2077 reworking to make completions work iff we have >= GTK-2.7.0
2079 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
2080 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
2081 (job_finished_cb): We now have a 'model' property that is set when
2082 the links are loaded. This can be caught with "notify::model"
2084 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
2085 listen for the model to be set, and propagate it to the action.
2087 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2089 * cut-n-paste/recent-files/egg-recent-item.c:
2090 (egg_recent_item_set_uri), (make_valid_utf8),
2091 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
2092 * cut-n-paste/recent-files/egg-recent-item.h:
2094 Update egg-recent from libegg. This should fix long
2095 startup problem. For details see
2096 http://bugzilla.gnome.org/show_bug.cgi?id=160531
2098 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2100 * cut-n-paste/recent-files/Makefile.am:
2101 * data/evince-ui.xml, shell/Makefile.am:
2102 * shell/ev-application.c, shell/ev-application.h:
2103 * shell/ev-window.c: Recent files support.
2105 * configure.ac: Added "ru" to ALL_LINGUAS.
2107 * dvju: new backend to support DJVU files.
2108 * dvi: new backend to support DVI.
2110 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
2111 * ev-application.c: Support for new backends.
2113 * help, ev-window.c, main.c shell/Makefile.am:
2114 Evince user documentation.
2116 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2119 * shell/ev-window.c:
2120 * thumbnailer/evince-thumbnailer.c:
2122 s/pdf-document/ev-poppler
2124 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
2131 * ps/ps-document.c: (setup_pixmap):
2135 2005-04-05 Kristian Høgsberg <krh@redhat.com>
2137 * backend/ev-page-cache.c (ev_page_cache_next_page):
2138 * shell/ev-window.c (ev_window_cmd_go_next_page)
2139 (ev_window_cmd_go_first_page): Fix of by one errors.
2141 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2143 * ps/ps-document.c: (get_page_box):
2145 Fix page size calculation
2147 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2149 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
2150 (ps_document_cleanup), (setup_pixmap), (get_page_box),
2151 (get_page_orientation), (setup_page), (document_load),
2152 (ps_document_get_page_size), (render_pixbuf_idle):
2155 More refactoring to adapt to EvDocument changes
2157 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2159 * ps/ps-document.c: (start_interpreter):
2161 Actually add alpha args
2163 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
2165 * pdf/ev-poppler.cc:
2167 Make clipboard work again
2169 2005-04-04 Kristian Høgsberg <krh@redhat.com>
2171 Make searching work again.
2173 * backend/ev-document.c:
2174 * backend/ev-document.h:
2175 * backend/ev-document-find.c:
2176 * backend/ev-document-find.h: Change EvDocumentIface so we no
2177 longer store the current page or zoom level in the document. The
2178 consequence is that all calls that operate on the current page now
2179 instead take the page number as an extra argument, and all
2180 coordinates are now doubles in document coordinate system.
2182 * pdf/ev-poppler.cc:
2183 * pixbuf/pixbuf-document.c:
2184 * ps/ps-document.c: Update backends accordingly.
2186 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
2190 Add required gettext version
2192 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
2194 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
2195 make F1 bring up non-existent help.
2197 * shell/eggfindbar.c: Patch from Christian Persch to sync to
2198 epiphany's find bar, #167477
2200 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
2201 <emil@nishra.com> to add space-bar scrolling,
2203 * shell/ev-window.c (static GtkActionEntry entries): add default
2204 keybinding for Help (F1)
2207 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
2208 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
2211 2005-04-01 David Malcolm <dmalcolm@redhat.com>
2214 * pixbuf/pixbuf-document.c:
2216 Got pixbuf backend working again
2218 2005-04-01 Steve Murphy <murf@e-tools.com>
2220 * configure.in: Added "rw" to ALL_LINGUAS.
2222 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
2224 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
2225 model types, noticed by Martin Kretzschmar.
2227 2005-04-01 Kristian Høgsberg <krh@redhat.com>
2229 * pdf/ev-poppler.cc: Implement search based on
2230 poppler_page_find_text(). Currently a bit crude since we remember
2231 all matches from all pages. Also, we grab the big document lock
2232 when we search since searching changes the underlying stream and
2233 thus conflicts with the rendering thread.
2235 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2236 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
2237 (ev_view_find_previous): Fix some page indexes to be 0 based,
2238 offset rubber band by view offset,
2240 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
2242 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
2244 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
2246 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
2247 completely because I didn't understand GtkActions. I should
2248 read Marco's code more carefully in the future.
2250 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
2253 2005-03-31 Kristian Høgsberg <krh@redhat.com>
2255 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
2256 PopplerRectangle change from poppler CVS.
2258 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
2260 * backend/ev-document.c: (ev_document_get_page_label):
2261 * backend/ev-document.h:
2262 * backend/ev-page-cache.c: (_ev_page_cache_new),
2263 (ev_page_cache_get_page_label):
2264 * backend/ev-page-cache.h:
2265 * pdf/ev-poppler.cc:
2266 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
2267 (links_page_num_func):
2268 * shell/ev-sidebar-thumbnails.c:
2269 (ev_sidebar_thumbnails_set_document):
2270 * shell/ev-view.c: (status_message_from_link),
2271 (ev_view_motion_notify_event):
2272 * shell/ev-window.c: (document_supports_sidebar): Add in page
2273 label support. It's not perfect yet, but it's the first 'feature'
2275 Also, fix a bogus comment noticed by crispin.
2277 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
2279 * Makefile.am: Remove pixbuf backend for now
2281 * configure.ac: Require poppler-glib instead of just poppler.
2283 * backend/ev-document-thumbnails.h: Add a comment
2285 * backend/ev-document.h:
2286 * backend/ev-document.c: (ev_document_class_init),
2287 (ev_document_load), (ev_document_get_link),
2288 (ev_document_get_links): Remove 3 methods and add get_links.
2291 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2292 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
2294 * backend/ev-link.c: (ev_link_set_title),
2295 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
2296 (ev_link_mapping_find):
2297 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
2299 * backend/ev-page-cache.c: (ev_page_cache_init),
2300 (_ev_page_cache_new), (ev_page_cache_set_current_page),
2301 (ev_page_cache_get_size), (ev_page_cache_next_page),
2302 (ev_page_cache_prev_page): Fix to be 0 based.
2306 * pdf/ev-poppler.cc: New backend.
2308 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
2309 (ps_document_get_page), (ps_document_document_iface_init):
2311 * shell/ev-pixbuf-cache.h:
2312 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2313 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
2314 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
2315 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
2316 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
2317 Fix up code to grab a page cache per each doc. Also, fix to be 0
2320 * shell/ev-sidebar-thumbnails.c:
2321 (ev_sidebar_tree_selection_changed), (page_changed_cb),
2322 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
2324 * shell/ev-view.c: (status_message_from_link),
2325 (find_page_at_location), (get_link_at_location),
2326 (ev_view_motion_notify_event), (ev_view_button_release_event),
2327 (ev_view_init): Use the new link code. Fix to be 0 based.
2329 * shell/ev-window.c: (update_action_sensitivity),
2330 (document_supports_sidebar): 0 based.
2332 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
2334 * pdf/pdf-document.cc: Patch from Fernando Herrera
2335 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
2338 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
2340 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
2341 1 to the page, as this seems to be 1 based. I thought we has this
2344 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
2347 * backend/Makefile.am:
2348 * backend/ev-document-links.c:
2349 (ev_document_links_has_document_links),
2350 (ev_document_links_get_links_model):
2351 * backend/ev-document-links.h:
2352 * backend/ev-document.c: (ev_document_get_page_cache),
2353 (ev_document_get_doc_mutex), (ev_document_load),
2354 (ev_document_save), (ev_document_get_title),
2355 (ev_document_get_n_pages), (ev_document_set_page),
2356 (ev_document_get_page), (ev_document_set_target),
2357 (ev_document_set_scale), (ev_document_set_page_offset),
2358 (ev_document_get_page_size), (ev_document_get_text),
2359 (ev_document_get_link), (ev_document_render),
2360 (ev_document_render_pixbuf), (ev_document_scale_changed):
2361 * backend/ev-document.h:
2362 * backend/ev-job-queue.c: (remove_object_from_queue),
2363 (notify_finished), (handle_job), (search_for_jobs_unlocked),
2364 (no_jobs_available_unlocked), (ev_render_thread),
2365 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
2366 (ev_job_queue_remove_job):
2367 * backend/ev-job-queue.h:
2368 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2369 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2370 (ev_job_links_class_init), (ev_job_render_init),
2371 (ev_job_render_dispose), (ev_job_render_class_init),
2372 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2373 (ev_job_thumbnail_class_init), (ev_job_finished),
2374 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2375 (ev_job_render_run), (ev_job_thumbnail_new),
2376 (ev_job_thumbnail_run):
2377 * backend/ev-jobs.h:
2378 * backend/ev-link.c:
2379 * backend/ev-link.h:
2380 * backend/ev-page-cache.c: (ev_page_cache_init),
2381 (ev_page_cache_class_init), (ev_page_cache_finalize),
2382 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
2383 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
2384 (ev_page_cache_set_link), (ev_page_cache_get_title),
2385 (ev_page_cache_get_size), (ev_page_cache_next_page),
2386 (ev_page_cache_prev_page):
2387 * backend/ev-page-cache.h:
2388 * pdf/pdf-document.cc:
2391 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2392 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
2393 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
2394 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
2395 (is_interpreter_ready), (output), (catchPipe), (input),
2396 (start_interpreter), (check_filecompressed), (compute_dimensions),
2397 (ps_document_enable_interpreter), (document_load),
2398 (ps_document_next_page), (render_page), (ps_document_set_page),
2399 (ps_document_set_scale), (render_pixbuf_idle),
2400 (ps_document_render_pixbuf), (ps_document_document_iface_init):
2402 * shell/Makefile.am:
2403 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
2404 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
2405 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
2406 (ev_pixbuf_cache_new), (job_finished_cb),
2407 (check_job_size_and_unref), (move_one_job),
2408 (ev_pixbuf_cache_update_range), (find_job_cache),
2409 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
2410 (ev_pixbuf_cache_add_jobs_if_needed),
2411 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
2412 * shell/ev-pixbuf-cache.h:
2413 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2414 (idle_print_handler):
2415 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2416 (selection_changed_cb), (create_loading_model),
2417 (ev_sidebar_links_construct), (links_page_num_func),
2418 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
2419 (update_page_callback), (job_finished_cb),
2420 (ev_sidebar_links_set_document):
2421 * shell/ev-sidebar-thumbnails.c:
2422 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
2423 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
2424 (page_changed_cb), (thumbnail_job_completed_callback),
2425 (ev_sidebar_thumbnails_set_document):
2426 * shell/ev-sidebar-thumbnails.h:
2427 * shell/ev-sidebar.c: (ev_sidebar_set_document):
2428 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
2429 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
2430 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
2431 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
2432 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
2433 (ev_view_button_release_event), (ev_view_scroll_view),
2434 (ev_view_class_init), (ev_view_init), (update_find_status_message),
2435 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
2436 (ev_view_new), (job_finished_cb), (page_changed_cb),
2437 (ev_view_set_document), (go_to_link), (ev_view_zoom),
2438 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
2439 (ev_view_find_previous):
2441 * shell/ev-window.c: (update_action_sensitivity),
2442 (ev_window_open_page), (update_window_title), (update_total_pages),
2443 (page_changed_cb), (ev_window_setup_document),
2444 (password_dialog_response), (ev_window_cmd_save_as),
2445 (ev_window_print), (ev_window_cmd_go_previous_page),
2446 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
2447 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
2448 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
2449 * shell/main.c: (main):
2451 Merge evince-threads branch
2453 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
2455 * configure.ac: Added "lt" to ALL_LINGUAS.
2457 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
2464 2005-03-13 Fernando Herrera <fherrera@onirica.com>
2466 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2468 Fix here also the thumbnails 1-basedness :)
2470 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2477 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
2479 * pdf/pdf-document.cc:
2480 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
2481 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
2483 Fix the mess we did with thumbnails and 1-basedness
2485 2005-03-12 Changwoo Ryu <cwryu@debian.org>
2487 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
2489 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
2496 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
2499 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
2500 (gtk_gs_defaults_get_alpha_parameters),
2501 (gtk_gs_defaults_get_ungzip_cmd),
2502 (gtk_gs_defaults_get_unbzip2_cmd):
2504 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
2505 (ps_document_get_orientation), (document_load),
2506 (ps_document_goto_page), (ps_document_set_page_size):
2509 Some more sanitization of the ps backend. Remove a lot
2510 of unused code and do not base our defaults on ggv
2513 2005-03-08 Fernando Herrera <fherrera@onirica.com>
2515 * thumbnailer/evince-thumbnailer.schemas:
2516 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2517 (main): add -s option for thumbnail size.
2519 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
2523 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
2526 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2528 * pdf/pdf-document.cc:
2530 Remove 4 pixels of useless border from the
2533 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
2535 * backend/ev-document-thumbnails.c:
2536 (ev_document_thumbnails_get_thumbnail):
2537 * backend/ev-document-thumbnails.h:
2539 Rework API a bit. Add a border flag and
2540 change sizing logic (now the size we specify
2541 applies to the bigger dimension).
2543 * pdf/pdf-document.cc:
2544 * pixbuf/pixbuf-document.c:
2545 (pixbuf_document_thumbnails_get_thumbnail):
2546 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
2547 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2549 Adapt to the new API and do not draw a border for nautilus
2552 2005-03-03 Fernando Herrera <fherrera@onirica.com>
2554 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2555 take thumbnails from page "0" instead of "1". Added a copyright header.
2557 2005-03-03 Jens Granseuer <jensgr@gmx.net>
2559 * ps/ps-document.c: (set_up_page), (start_interpreter):
2561 Make it C89 compliant
2563 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
2568 * pdf/pdf-document.cc:
2569 * thumbnailer/Makefile.am:
2570 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
2572 * thumbnailer/evince-thumbnailer.schemas:
2573 * thumbnailer/pdf-icon.png:
2575 Add a nautilus thumbnailer.
2576 Based on patch by Fernando Herrera <fherrera@onirica.com>.
2578 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
2586 2005-03-01 Kristian Høgsberg <krh@redhat.com>
2588 Use poppler instead of including xpdf source code. Poppler is a
2589 fork of xpdf to build it as a shared library. See
2590 http://freedesktop.org/wiki/Software/poppler.
2592 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
2595 * pdf/Makefile.am: Build libpdfdocument.a here.
2597 * pdf/GDKSplashOutputDev.cc:
2598 * pdf/GDKSplashOutputDev.h:
2599 * pdf/GnomeVFSStream.cc:
2600 * pdf/GnomeVFSStream.h:
2603 * test-gdk-output-dev.cc
2605 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
2608 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2610 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
2612 Clear idle stack before unsetting the document
2614 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2616 * ps/ps-document.c: (ps_document_widget_event),
2617 (ps_document_set_target), (ps_document_finalize),
2618 (ps_document_get_page):
2620 Disconnect the widget event signal on finalize.
2623 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2625 * ps/ps-document.c: (set_up_page):
2627 If there is no bpixmap create one, even if size
2630 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2632 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
2633 (set_up_page), (document_load), (ps_document_set_zoom):
2635 Default page is 0. Calculate size even when we have no
2638 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
2640 * shell/ev-sidebar.c: expand the selection widget to be always as
2643 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2645 * shell/ev-sidebar-thumbnails.c:
2646 (ev_sidebar_thumbnails_set_document):
2648 Clear the list store when setting document
2650 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2652 * shell/ev-page-action.c: (update_entry), (sync_entry),
2653 (activate_cb), (entry_size_request_cb), (create_tool_item),
2656 Use an entry for the page control instead of spinbuttons
2658 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2660 * data/evince.schemas.in:
2662 Correct confusing string
2664 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
2666 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
2667 for real. Gosh, how long has this been broken.
2669 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
2670 check for a NULL link. We crash otherwise.
2672 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
2679 2005-02-25 Sebastien Bacher <seb128@debian.org>
2681 * configure.ac: add the french translation.
2683 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2685 * shell/ev-window.c:
2687 Remove unused header -> fix distcheck
2689 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2691 * shell/ev-window.c: (update_window_title),
2692 (ev_window_popup_password_dialog):
2694 Unescape filename for display
2696 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2698 * pdf/xpdf/pdf-document.cc:
2700 In get_page_size deal with rotation. Also
2701 cleanup the function a bit.
2703 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2705 * pdf/xpdf/pdf-document.cc:
2707 Fix crash when opening in new window
2709 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2713 Check ghostscript >= 7
2715 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
2717 * shell/ev-window.c:
2719 Make page width the default sizing mode
2721 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
2722 Marco Pesenti Gritti <marco@gnome.org>
2724 * shell/ev-window.c: Remember the sidebar size
2726 * data/evince.schemas.in: Add a new gconf key to store the size of
2729 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
2731 * data/evince-ui.xml:
2732 * shell/ev-window.c: (update_action_sensitivity),
2733 (ev_window_cmd_view_reload):
2735 Add a "Reload" action and menu entry
2737 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
2739 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
2740 iff the type doesn't support thumbnailing and indexing.
2742 2005-02-24 Martin Kretzschmar <martink@gnome.org>
2744 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
2746 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2748 * pdf/splash/Splash.cc:
2750 Port fix for a crasher from kde bug
2751 http://bugs.kde.org/show_bug.cgi?id=97131
2753 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2755 * pdf/xpdf/pdf-document.cc:
2757 Return a link even if it's of an unrecognized
2758 type. Otherwise we go in an infinte cycle.
2760 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2762 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
2763 (size_allocate_cb), (ev_window_set_sizing_mode):
2765 Update size when switching mode
2767 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2769 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2770 (ev_window_cmd_view_page_width), (update_sizing_buttons),
2771 (ev_window_cmd_view_normal_size):
2773 Fix size toggle buttons behavior
2775 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2777 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
2778 (doc_rect_to_view_rect), (ev_view_size_allocate),
2779 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
2780 (scale_changed_callback):
2782 Do not cache offsets in size_allocate.
2784 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2786 * shell/ev-view.c: (ev_view_size_allocate):
2788 Calculate offsets before calling the parent
2789 class (which does a redraw)
2791 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2793 * pdf/xpdf/pdf-document.cc:
2795 Fix a crasher on exit. Unused code, put a TODO
2797 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2799 * backend/ev-document.c: (ev_document_class_init),
2800 (ev_document_page_changed), (ev_document_scale_changed):
2801 * backend/ev-document.h:
2803 Separate page/scale notifications
2805 * pdf/xpdf/pdf-document.cc:
2807 Emit the new signals.
2808 Do not display the pdf page in _render, do it
2809 when scale/page are requested.
2811 * ps/ps-document.c: (ps_document_set_zoom),
2812 (ps_document_widget_event):
2815 Emit the new signals.
2817 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
2818 (ev_view_init), (page_changed_callback), (scale_changed_callback),
2819 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
2820 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
2822 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
2823 (ev_window_cmd_view_page_width), (size_allocate_cb),
2824 (ev_window_set_sizing_mode):
2826 Rework sizing to be pixel based.
2827 There are bugs but should be already way better.
2829 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
2831 * shell/ev-window.c: (ev_window_init):
2833 Do not allow to shrink sidebar smaller then
2836 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
2838 * shell/ev-sidebar.[ch]
2839 * shell/ev-window.c:
2841 Improved sidebar widget. Fixes #166683
2843 2005-02-23 Tommi Vainikainen <thv@iki.fi>
2845 * shell/ev-view.c (update_find_status_message): Give translators
2846 more flexibility with ngettext plural handling.
2848 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
2850 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
2851 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
2852 page when we get the page size.
2854 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2856 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
2858 ps pages are 0 based, convert
2860 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2862 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
2864 Initialize correct parent class. Set GError on document load
2866 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2868 * pdf/xpdf/pdf-document.cc:
2870 Fixup selection offset calculation
2872 * shell/ev-view.c: (view_rect_to_doc_rect),
2873 (doc_rect_to_view_rect), (ev_view_size_allocate),
2874 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
2875 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
2877 Store selection as document relative, so that zooming
2878 and offset changing doesnt break it.
2880 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2882 * shell/ev-view.c: (ev_view_best_fit):
2884 Do not try to best fit if the view is not realized
2886 2005-02-20 Kostas Papadimas <pkst@gnome.org>
2888 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
2890 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
2892 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
2894 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
2896 * shell/ev-window.c: Change the fullscreen toolbar to always be in
2897 the popup window. That prevents it resizing when in full screen
2900 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
2901 multiple rerenders. This pretty much sucks.
2903 * data/evince-ui.xml: Change the fullscreen toolbar to include the
2904 rest of the toolbar.
2906 2005-02-18 Tommi Vainikainen <thv@iki.fi>
2908 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
2910 2005-02-17 Alexander Shopov <ash@contact.bg>
2912 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
2914 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
2916 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
2918 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
2920 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
2921 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
2922 (set_document_page), (document_changed_callback),
2923 (ev_view_set_document), (ev_view_find_previous),
2924 (ev_view_hide_cursor), (ev_view_show_cursor):
2926 * shell/ev-window.c: (update_chrome_visibility),
2927 (fullscreen_timeout_cb), (fullscreen_set_timeout),
2928 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
2929 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
2930 (ev_window_unfullscreen):
2931 * shell/main.c: (main):
2933 Automatically hide the fullscreen button.
2934 Patch by Kristian Høgsberg <krh@redhat.com>
2936 2005-02-16 Vincent Noel <vnoel@cox.net>
2938 * shell/main.c (main): Specify an icon for the window. Patch by
2939 Jaap A. Haitsma. Fixes #166177.
2941 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
2943 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
2945 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
2947 * backend/ev-document-misc.h:
2948 * backend/ev-document-misc.c:
2949 (ev_document_misc_get_page_border_size),
2950 (ev_document_misc_paint_one_page): New function to canonicalize
2951 sizing/painting a border.
2953 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
2956 * pdf/xpdf/pdf-document.cc: use new function
2958 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
2959 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
2960 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
2961 shell/ev-window.c: (update_sizing_buttons),
2962 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
2963 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
2964 (ev_window_cmd_view_page_width), (size_allocate_cb),
2965 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
2966 and "fit width" values act as toggle buttons so they stay
2967 toggled. It's not 100% perfect, and it's a little slow, but it's
2968 good enough to commit I think.
2970 2005-02-15 David Lodge <dave@cirt.net>
2972 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
2974 2005-02-15 Martin Kretzschmar <martink@gnome.org>
2976 * shell/ev-window.c (update_window_title): replace newlines in
2977 the title by spaces. Bug #166107.
2979 2005-02-14 Martin Kretzschmar <martink@gnome.org>
2981 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
2982 parameters providing allocation width and height without
2983 scrollbars and width of a possible vertical scrollbar. With this
2984 additional information the functions can work as
2985 intended. Unfortunately they're not idempotent. We should
2986 transform these commands to toggles. Fixes Bug #164976
2987 Initial patch by Stephane Loeuillet, then heavily modified.
2989 * shell/ev-view.h: update prototypes.
2991 * shell/ev-window.c (ev_window_cmd_view_best_fit)
2992 (ev_window_cmd_view_page_width): provide EvView fit functions with
2993 all the information they need. Formulas to calculate this
2994 information taken from GtkScrolledWindow.
2996 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
2998 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
2999 created a thumbnail, the list store is updated to know
3000 that the thumbnail is set. Fixes bug #166792
3002 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
3004 * shell/ev-window.c: fixed typo, closes bug 166897
3006 * TODO: updated TODO with bug numbers that are relevant
3008 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
3010 * shell/ev-window.c: Support for DnD of files. Fixes #164813
3012 2005-02-09 Vincent Noel <vnoel@cox.net>
3014 * shell/ev-window.c: (set_action_properties): Set the "Previous"
3015 and "Next" toolbar buttons as important to make them stand out.
3017 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3021 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
3022 (start_interpreter), (stop_interpreter), (document_load),
3023 (ps_document_next_page), (ps_document_goto_page),
3024 (ps_document_set_page_size), (ps_document_widget_event),
3025 (ps_document_render):
3026 * shell/ev-page-view.c: (ev_page_view_dispose):
3027 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
3029 Fix compilation on non-gcc platforms
3031 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
3038 * pdf/xpdf/Catalog.cc:
3041 Fix the fix for CAN-2004-0888
3043 2005-02-09 Luca Ferretti <elle.uca@libero.it>
3046 * data/evince-ui.xml:
3047 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3048 * shell/ev-stock-icons.h:
3049 * shell/ev-window.c: (update_action_sensitivity),
3050 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
3051 (set_action_properties):
3053 Improve toolbar layout/icons
3055 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
3057 * pdf/xpdf/pdf-document.cc:
3059 Add warnings about unimplemented/unknown link
3062 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3064 * ps/ps-document.c: (set_up_page):
3068 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3070 * ps/ps-document.c: (start_interpreter):
3074 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3076 * shell/ev-page-view.c: (ev_page_view_dispose):
3077 * shell/ev-view.c: (ev_view_finalize):
3078 * shell/ev-window.c: (ev_window_setup_document),
3079 (ev_window_dispose), (ev_window_init):
3081 Solve more refs issues.
3083 I commented out the page_view initialization for now:
3084 it was never destroyed (because it's never added
3085 to a container). Because of that we was leaking
3086 gs processes. Couldnt think to a clean fix.
3087 We need to figure this out, password view has the
3088 same issue probably.
3090 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3092 * ps/ps-document.c: (ps_document_finalize),
3093 (ps_document_get_n_pages), (ps_document_get_page):
3095 Some cleanups, stop the interpreter on finalize
3097 * shell/ev-page-view.c: (ev_page_view_dispose),
3098 (ev_page_view_class_init):
3100 Release our reference on the document
3102 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3106 * doc/debugging.txt:
3109 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
3110 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
3111 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
3114 Add debugging helpers
3117 * ps/ps-document.c: (set_up_page), (start_interpreter),
3118 (stop_interpreter), (document_load), (ps_document_next_page),
3119 (ps_document_goto_page), (ps_document_set_page_size),
3120 (ps_document_widget_event), (ps_document_render):
3121 * shell/Makefile.am:
3122 * shell/ev-view.c: (expose_bin_window):
3123 * shell/main.c: (main):
3127 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
3129 * ps/ps-document.c: (ps_document_widget_event):
3131 Initialize message_window, this should make ps
3132 rendering really work! (Never noticed because I was
3133 testing with a ps that is causing gs to exit every time!)
3135 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
3137 * data/evince.schemas.in: updated simple error in applyto closing tag
3139 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
3145 * data/evince-ui.xml:
3146 A data/evince.schemas.in:
3148 * shell/ev-stock-icons.c: (ev_stock_icons_init):
3149 * shell/ev-stock-icons.h:
3150 * shell/ev-window.c: (update_chrome_visibility),
3151 (update_chrome_flag), (ev_window_cmd_edit_find),
3152 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
3153 (ev_window_unfullscreen), (ev_window_focus_in_event),
3154 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
3155 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
3156 (ev_window_view_sidebar_cb), (find_bar_close_cb),
3157 (ev_window_dispose), (ev_window_class_init),
3158 (set_action_properties), (set_chrome_actions), (load_chrome),
3161 Implement fullscreen mode changes from bug #164776.
3162 Also implement persistent chrome toggles.
3164 2005-02-07 Jordi Mallach <jordi@sindominio.net>
3166 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
3168 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3174 Add another check for find interface
3178 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3180 * shell/ev-application.c: (ev_application_open):
3181 * shell/ev-window.c: (ev_window_open):
3183 Open gzipped ps documents
3185 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3188 * shell/ev-view.c: (set_document_page):
3190 Clamp page number, dont try to move to
3193 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
3195 * backend/ev-document-find.c: (ev_document_find_changed):
3196 * backend/ev-document-find.h:
3197 * pdf/xpdf/pdf-document.cc:
3198 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
3199 * shell/ev-window.c: (find_bar_search_changed_cb):
3201 Fix several bugs with find
3203 2005-02-04 Martin Kretzschmar <martink@gnome.org>
3205 * shell/ev-sidebar-thumbnails.c
3206 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
3207 document. Prevents warning from scroll_to_cell.
3209 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
3211 * configure.ac: Add «nb» to ALL_LINGUAS too.
3213 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
3215 * NOTES: New file with some random thoughts.
3219 * backend/ev-document-misc.c:
3220 (ev_document_misc_get_page_border_size): New function to
3221 canonicalize shadow drawing sizes. Possibly goofy.
3223 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
3224 (ev_view_best_fit), (ev_view_fit_width):
3225 * pdf/xpdf/pdf-document.cc:
3226 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3227 * ps/ps-document.c: (ps_document_get_page_size):
3228 * backend/ev-document-misc.h:
3229 * backend/ev-document.c: (ev_document_get_page_size):
3230 * backend/ev-document.h: get_page_size now takes a page number
3231 parameter. Made all the backends/frontends honor it.
3233 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
3234 see. Doesn't work yet.
3236 * shell/Makefile.am:
3237 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
3238 Doesn't do anything yet.
3240 * shell/ev-sidebar-thumbnails.c:
3241 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
3244 * shell/ev-window.c: (update_action_sensitivity),
3245 (ev_window_setup_document), (ev_window_set_page_mode),
3246 (ev_window_page_mode_cb), (ev_window_init): Clean up the
3247 view-swapping code a bit so we can have multiple views on a
3248 document. Add the multi-page view, though it can't be turned on
3251 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3253 * shell/ev-application.c: (ev_application_open):
3254 * shell/ev-view.c: (expose_bin_window):
3255 * shell/ev-window.c: (ev_window_open):
3257 Support eps and check document supports find
3258 before drawing highlightings in expose.
3260 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3262 * pixbuf/pixbuf-document.c:
3263 (pixbuf_document_thumbnails_get_dimensions),
3264 (pixbuf_document_document_thumbnails_iface_init):
3266 implement get_dimensions
3268 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
3275 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3277 * shell/ev-view.c: (set_document_page):
3279 Scroll at the top of the page when changing page
3281 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3283 * shell/ev-view.c: (ev_view_motion_notify_event):
3285 Do not redraw unnecessarily
3287 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3289 * pdf/xpdf/pdf-document.cc:
3290 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3291 (expose_bin_window), (find_changed_cb):
3293 Yay! find works now... Now to find bugs...
3295 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
3297 * backend/ev-document-find.c: (ev_document_find_base_init),
3298 (ev_document_find_changed):
3299 * backend/ev-document-find.h:
3300 * pdf/xpdf/pdf-document.cc:
3301 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3302 (expose_bin_window), (ev_view_init), (set_document_page),
3303 (ensure_rectangle_is_visible), (jump_to_find_result),
3304 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
3305 (ev_view_find_next), (ev_view_find_previous):
3307 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
3309 More work on find implementation, mostly there now
3311 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
3313 * backend/ev-backend-marshalers.list:
3314 * backend/ev-document-find.c: (ev_document_find_base_init),
3315 (ev_document_find_cancel), (ev_document_find_page_has_results),
3316 (ev_document_find_get_n_results), (ev_document_find_get_result),
3317 (ev_document_find_get_progress), (ev_document_find_changed):
3318 * backend/ev-document-find.h:
3320 Enanche the find interface to be really able to do
3323 * pdf/xpdf/pdf-document.cc:
3327 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
3328 (expose_bin_window), (ev_view_init),
3329 (ev_view_get_find_status_message), (find_changed_cb),
3330 (ev_view_set_document), (set_document_page):
3332 Adapt to the new interface. A few things are regressed sorry,
3333 I will finish it soon.
3335 2005-01-28 Martin Kretzschmar <martink@gnome.org>
3337 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
3338 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
3339 ev_sidebar_thumbnails_parent_class variable, don't define another
3340 parent_class variable.
3342 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
3343 (ev_page_action_class_init): ditto.
3345 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
3346 (pixbuf_document_class_init): ditto.
3348 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
3351 * .cvsignore: ignore various valgrind output files.
3353 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3355 * data/evince-ui.xml:
3356 * shell/Makefile.am:
3357 * shell/ev-history.c:
3358 * shell/ev-history.h:
3359 * shell/ev-navigation-action.c:
3360 * shell/ev-navigation-action.h:
3361 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
3362 (ev_view_set_page), (ev_view_fit_width):
3364 * shell/ev-window.c: (update_action_sensitivity),
3365 (ev_window_setup_document), (register_custom_actions):
3367 Kill session history
3369 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
3371 * shell/ev-window.c: (update_action_sensitivity):
3373 Fix inverted up/down buttons
3375 2005-01-27 Martin Kretzschmar <martink@gnome.org>
3377 * shell/ev-sidebar-thumbnails.c
3378 (ev_sidebar_thumbnails_select_page): make sure the selected
3379 thumbnail stays visible.
3381 2005-01-26 Martin Kretzschmar <martink@gnome.org>
3383 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
3384 scrolled window for Federico.
3386 2005-01-26 Ole Laursen <olau@hardworking.dk>
3388 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
3390 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
3393 * pdf/splash/SplashFTFontEngine.cc:
3395 Fix CID fonts with freetype 2.1.9
3397 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
3399 * TODO: added item for desktop icon thumbnailer
3401 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
3403 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
3404 unloaded docs when the title is accessed.
3406 * shell/ev-password-view.[hc]: New widget for displaying password
3409 * shell/ev-window.[ch]: Refactor password handling code to handle
3412 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
3420 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
3422 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
3423 ignore page offset here, to make search results independent of it,
3425 * shell/ev-view.c (expose_bin_window): but take offsets into
3426 account here. Bug #164932
3428 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
3429 scale at the right time. Bug #164996
3431 2005-01-22 Martin Kretzschmar <martink@gnome.org>
3433 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
3434 fix the problem. Now I just removed the Adobe font names and hope
3435 that the URW fonts are always in outline format. Bug #164934
3437 * shell/ev-window.c (update_window_title): empty titles are
3438 useless, use filename in that case too.
3440 * NEWS: Add some content.
3442 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
3444 * TODO: added one more TODO item and a TODONE section :)
3446 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3448 * ps/ps-document.h: add page_[xy]_offset fields.
3450 * ps/ps-document.c (ps_document_set_page_offset)
3451 (ps_document_render): Keep offset in consideration in a few
3452 places. Bug #164752 "postscript documents are not centered in
3455 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
3456 s/gpdf/evince/. Spotted by Stephane Loeuillet.
3458 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
3459 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
3460 stub out missing methods for complete EvDocument implementation.
3461 Fixes segfaults with Save A Copy and Copy actions.
3463 * ps/ps-document.c (ps_document_save, ps_document_get_text)
3464 (ps_document_document_iface_init): ditto.
3466 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3470 * data/evince.desktop.in:
3474 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3476 * shell/ev-view.c: (ev_view_button_press_event),
3477 (ev_view_motion_notify_event):
3479 Make selection work in any direction
3481 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3484 * shell/ev-window.c: (set_short_labels), (ev_window_init):
3486 Use shorter labels for some of the toolbars items
3488 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
3490 * pdf/xpdf/pdf-document.cc:
3492 Check the links info is initialized before
3493 using it. Should fix a crash on startup.
3495 2005-01-21 Martin Kretzschmar <martink@gnome.org>
3497 * pixbuf/pixbuf-document.c
3498 (pixbuf_document_thumbnails_get_dimensions): force floating point
3499 division to calculate page_ratio. Fixes crash with landscape
3502 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
3504 * shell/ev-view.c (ev_view_realize): make the bg color darker.
3506 2005-01-20 Martin Kretzschmar <martink@gnome.org>
3508 * shell/ev-view.c (set_document_page): unset has_selection when
3510 (set_document_page): handle paper size changes when the page
3511 changes (test with Free Culture, page 2).
3513 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3515 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
3516 (expose_bin_window), (ev_view_class_init), (ev_view_init):
3518 Use normal style color for the widget background and
3519 draw a black box around the page.
3521 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3523 * pdf/xpdf/pdf-document.cc:
3525 Keep offset in consideration in a few places
3527 * shell/ev-view.c: (expose_bin_window):
3529 Set the offsets so that the document is ever centered
3531 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
3533 * TODO: Added TODO items and finished off the first todo item
3535 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
3536 reflect current authors
3538 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3540 * pdf/xpdf/pdf-document.cc:
3541 * shell/ev-view.c: (ev_view_set_cursor),
3542 (ev_view_motion_notify_event), (document_changed_callback),
3543 (set_document_page):
3545 Show a wait cursor while the page is rendering
3547 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3549 * shell/ev-sidebar-thumbnails.c:
3550 (ev_sidebar_tree_selection_changed),
3551 (ev_sidebar_thumbnails_select_page):
3552 * shell/ev-sidebar-thumbnails.h:
3553 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
3554 (ev_view_can_go_forward):
3555 * shell/ev-window.c: (ev_window_open_page),
3556 (ev_window_setup_document), (update_current_page),
3557 (view_page_changed_cb), (ev_window_init):
3558 * shell/ev-window.h:
3560 Ensure thumbnails selection, toolbar page control and
3561 current page are in sync.
3563 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
3569 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
3571 * backend/Makefile.am:
3572 * backend/ev-document-links.h:
3573 * backend/ev-document-security.c: (ev_document_security_get_type),
3574 (ev_document_security_has_document_security),
3575 (ev_document_security_set_password):
3576 * backend/ev-document-security.h:
3577 * backend/ev-document.c: (ev_document_error_quark):
3578 * backend/ev-document.h:
3580 * data/evince-password.glade:
3581 * pdf/xpdf/pdf-document.cc:
3582 * shell/Makefile.am:
3583 * shell/ev-password.c: (ev_password_set_bad_password_label),
3584 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
3585 (ev_password_dialog_get_password),
3586 (ev_password_dialog_set_bad_pass):
3587 * shell/ev-password.h:
3588 * shell/ev-window.c: (ev_window_get_attribute),
3589 (ev_window_set_property), (update_action_sensitivity),
3590 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
3591 (ev_window_setup_document), (ev_window_get_password),
3592 (ev_window_open), (ev_window_cmd_save_as),
3593 (using_postscript_printer), (ev_window_print),
3594 (find_not_supported_dialog), (ev_window_cmd_edit_find),
3595 (update_fullscreen_popup), (ev_window_fullscreen),
3596 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
3597 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
3598 (menu_item_select_cb), (find_bar_search_changed_cb),
3599 (ev_window_dispose), (ev_window_init):
3601 Add initial support for password-supported dialogs. This could be
3602 a lot cooler, but it'll do for now.
3604 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
3606 * pdf/xpdf/pdf-document.cc:
3607 * shell/ev-view.c: (status_message_from_link),
3608 (ev_view_set_status), (ev_view_set_cursor),
3609 (ev_view_motion_notify_event), (ev_view_init):
3610 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
3612 Fix bugs in the links implementation and change cursor
3613 when hovering a link.
3615 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
3617 * viewer/.cvsignore: added cvsignore file for viewer directory
3619 * TODO: created TODO document
3621 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
3624 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
3625 new functions to help with implementation of sensitivity code
3626 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3627 of all actions that might require it. Fixes a crash when you
3628 click on the Zoom actions in a window lacking a document.
3630 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
3632 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3635 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3637 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
3638 (pixbuf_document_document_iface_init):
3639 * ps/ps-document.c: (ps_document_get_link),
3640 (ps_document_document_iface_init):
3641 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
3642 (status_message_from_link), (ev_view_set_status),
3643 (ev_view_set_find_status), (ev_view_motion_notify_event),
3644 (ev_view_button_release_event), (ev_view_set_property),
3645 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
3646 (ev_view_get_find_status_message), (update_find_results),
3647 (ev_view_get_status), (ev_view_get_find_status):
3649 * shell/ev-window.c: (view_status_changed_cb),
3650 (view_find_status_changed_cb), (ev_window_init):
3652 View status message support, use it to show the links.
3655 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3657 * backend/ev-document.c: (ev_document_get_link):
3658 * backend/ev-document.h:
3659 * pdf/xpdf/pdf-document.cc:
3660 * shell/ev-application.c: (ev_application_open):
3661 * shell/ev-application.h:
3662 * shell/ev-sidebar-links.c: (selection_changed_cb):
3663 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
3664 (ev_view_go_to_link):
3666 Add support for document links
3668 2005-01-13 Anders Carlsson <andersca@gnome.org>
3670 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
3672 Set the spin button limits correctly.
3674 * shell/ev-sidebar-thumbnails.c:
3675 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
3676 Support changing pages by clicking on the thumbnails.
3678 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3680 * pixbuf/pixbuf-document.c:
3681 (pixbuf_document_thumbnails_get_dimensions),
3682 (pixbuf_document_document_thumbnails_iface_init):
3684 implement get_dimensions
3686 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3688 * ps/ps-document.c: (ps_document_goto_page):
3690 Fix page switching on multipage documents
3692 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
3694 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3696 check for NULL before assigning to width and height parameters
3698 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3700 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3701 (pixbuf_document_set_property), (pixbuf_document_get_property):
3703 implement get/set properties
3705 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3707 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
3709 return NULL instead of "Unknown", letting the title get set to
3710 the filename when the pdf has no title.
3712 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3714 * ps/ps-document.c: (ps_document_get_page_count),
3715 (ps_document_goto_page):
3717 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3719 * shell/ev-history.c: (ev_history_get_property),
3720 (ev_history_set_property), (ev_history_class_init),
3721 (ev_history_add_page), (ev_history_set_current_index):
3722 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
3723 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
3724 (ev_navigation_action_finalize):
3725 * shell/ev-navigation-action.h:
3726 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3727 (ev_view_go_forward), (ev_view_get_find_status_message),
3728 (history_index_changed_cb), (ev_view_set_history):
3730 * shell/ev-window.c: (update_total_pages), (ev_window_open),
3731 (update_current_page), (register_custom_actions):
3733 Implement history dropdowns
3735 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3737 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
3738 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3739 (ev_view_go_forward):
3740 * shell/ev-window.c: (register_custom_actions):
3742 Fix several history bugs
3744 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
3746 * configure.ac: Add «nb» to ALL_LINGUAS.
3748 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
3750 * backend/Makefile.am:
3751 * backend/ev-bookmark.c:
3752 * backend/ev-bookmark.h:
3753 * backend/ev-document-bookmarks.c:
3754 * backend/ev-document-bookmarks.h:
3755 * backend/ev-document-links.c: (ev_document_links_get_type),
3756 (ev_document_links_has_document_links),
3757 (ev_document_links_begin_read), (ev_document_links_get_link),
3758 (ev_document_links_get_child), (ev_document_links_next),
3759 (ev_document_links_free_iter):
3760 * backend/ev-document-links.h:
3761 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
3762 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
3763 (ev_link_get_link_type), (ev_link_set_link_type),
3764 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
3765 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
3766 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
3767 (ev_link_new_external):
3768 * backend/ev-link.h:
3769 * pdf/xpdf/pdf-document.cc:
3770 * shell/Makefile.am:
3771 * shell/ev-application.c: (ev_application_open_link):
3772 * shell/ev-application.h:
3773 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
3774 (ev_history_get_link_nth):
3775 * shell/ev-history.h:
3776 * shell/ev-sidebar-bookmarks.c:
3777 * shell/ev-sidebar-bookmarks.h:
3778 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3779 (ev_sidebar_links_class_init), (selection_changed_cb),
3780 (ev_sidebar_links_construct), (ev_sidebar_links_init),
3781 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
3782 (do_one_iteration), (populate_links_idle),
3783 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
3784 * shell/ev-sidebar-links.h:
3785 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3786 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
3789 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
3790 * shell/ev-window.h:
3792 Rename bookmark to link, and use "Index" for the sidebar panel.
3794 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3796 * shell/Makefile.am:
3797 * shell/ev-application.c: (ev_application_open_bookmark):
3798 * shell/ev-application.h:
3799 * shell/ev-history.c: (ev_history_init), (free_links_list),
3800 (ev_history_finalize), (ev_history_class_init),
3801 (ev_history_add_link), (ev_history_add_page),
3802 (ev_history_get_link_nth), (ev_history_get_n_links),
3803 (ev_history_get_current_index), (ev_history_set_current_index),
3805 * shell/ev-history.h:
3806 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3807 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
3808 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
3809 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
3812 * shell/ev-window.c: (ev_window_open_bookmark),
3813 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
3814 (goto_page_cb), (register_custom_actions):
3815 * shell/ev-window.h:
3817 Initial history implementation. Needs work.
3819 2005-01-09 Martin Kretzschmar <martink@gnome.org>
3821 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
3823 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3825 * cut-n-paste/recent-files/egg-recent-item.c:
3826 * cut-n-paste/recent-files/egg-recent-item.h:
3827 * cut-n-paste/recent-files/egg-recent-model.c:
3828 * cut-n-paste/recent-files/egg-recent-util.c:
3829 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3830 * cut-n-paste/recent-files/egg-recent-view.c:
3834 2005-01-08 Martin Kretzschmar <martink@gnome.org>
3836 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
3837 (fillGlyph, fillImageMask, drawImage):
3838 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
3839 pdf/splash/SplashTypes.h:
3840 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
3841 packed mode for Splash.
3843 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
3844 RGB8 packed mode, eliminates the pixbuf data creation loop.
3846 * shell/ev-print-job.c (ev_print_job_finalize)
3847 (ev_print_job_set_property, ev_print_job_get_property)
3848 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
3849 (ev_print_job_use_print_dialog_settings, idle_print_handler)
3850 (print_closure_finalize, ev_print_job_print): implement
3851 printing (for backends with EvPsExporter)
3853 * shell/ev_print_job.h: update prototypes.
3855 * shell/ev-window.c (ev_window_print): unref print job after
3858 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
3859 unless the document implements the EvDocumentFind interface.
3861 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
3863 * configure.ac: Added ja to ALL_LINGUAS.
3865 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3867 * pdf/xpdf/pdf-document.cc:
3869 add a FIXME. We should probably not allocate
3870 a bookmark object every time
3872 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3874 * shell/ev-application.c: (ev_application_open),
3875 (ev_application_open_bookmark):
3876 * shell/ev-application.h:
3878 Add a way to open bookmarks
3880 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
3881 (ev_bookmark_set_uri), (ev_bookmark_get_property),
3882 (ev_bookmark_set_property), (ev_bookmark_class_init),
3883 (ev_bookmark_new_title), (ev_bookmark_new_link),
3884 (ev_bookmark_new_external):
3886 Support for external uris, better constructors.
3888 * backend/ev-bookmark.h:
3889 * pdf/xpdf/pdf-document.cc:
3890 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3892 Handle external uris
3894 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3896 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
3897 (ev_sidebar_bookmarks_construct), (do_one_iteration):
3899 Hook up bookmarks navigation
3901 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3903 * backend/Makefile.am:
3904 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
3905 (ev_bookmark_get_title), (ev_bookmark_set_title),
3906 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
3907 (ev_bookmark_get_page), (ev_bookmark_set_page),
3908 (ev_bookmark_get_property), (ev_bookmark_set_property),
3909 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
3911 * backend/ev-bookmark.h:
3912 * backend/ev-document-bookmarks.c:
3913 (ev_document_bookmarks_get_bookmark):
3914 * backend/ev-document-bookmarks.h:
3915 * pdf/xpdf/pdf-document.cc:
3916 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
3918 Add a bookmark object to the backend and use it instead of get_values
3920 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3922 * data/evince-ui.xml:
3924 Cleanup and add select all.
3926 * shell/ev-view.c: (ev_view_select_all),
3927 (ev_view_button_press_event):
3929 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
3932 Clear selection on click.
3934 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
3936 * shell/ev-sidebar-thumbnails.c
3937 (ev_sidebar_thumbnails_set_document): forgot to unref the
3940 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
3942 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
3943 at the visible page, not just linearly. This makes it look fast.
3945 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
3947 * backend/ev-document-misc.c
3948 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
3950 * backend/ev-document-thumbnails.h: New interface to get the size
3953 2005-01-06 Jeremy Katz <katzj@redhat.com>
3955 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
3958 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
3960 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
3961 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
3964 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
3966 2005-01-05 Martin Kretzschmar <martink@gnome.org>
3968 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
3969 fonts. Should fix font problems on systems that have the base
3970 fonts in bitmap format. Reported by James Henstridge
3971 <james@jamesh.id.au>.
3973 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3976 * pdf/xpdf/GfxState.cc:
3978 Fix for CAN-2004-1125
3980 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3982 * shell/ev-view.c: (ev_view_copy):
3984 * shell/ev-window.c: (ev_window_cmd_edit_copy):
3986 Implement Edit->Copy
3988 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3990 * backend/ev-document.c: (ev_document_get_text):
3991 * backend/ev-document.h:
3992 * pdf/xpdf/pdf-document.cc:
3993 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
3994 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3995 (ev_view_update_primary_selection), (ev_view_button_press_event),
3996 (ev_view_motion_notify_event), (ev_view_button_release_event):
3998 Beginnings of clipboard support. Incomplete but primary sort
4001 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4003 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
4004 (expose_bin_window):
4006 Nicer rubberband drawing, from GtkIconView.
4008 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4010 * backend/ev-document.c: (ev_document_save):
4011 * backend/ev-document.h:
4012 * data/evince-ui.xml:
4013 * pdf/xpdf/pdf-document.cc:
4014 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
4016 Implement "Save a copy..." menu item
4018 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
4020 * shell/ev-view.c: (ev_view_zoom):
4022 Queue a resize when zoom changes
4024 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
4026 * backend/ev-document-misc.[ch]: New misc file to do simple drop
4029 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
4032 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
4034 * pdf/xpdf/pdf-document.cc
4035 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
4037 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
4039 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
4040 It's slow, but I'll speed it up next!
4042 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
4044 * shell/main.c (load_files):
4046 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
4047 from the command line and because it seems more appropriate.
4049 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4051 * data/evince-ui.xml:
4052 * shell/ev-window.c: (update_action_sensitivity),
4053 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
4055 s/next page/page down
4056 s/previous page/page up
4058 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
4060 * data/evince-ui.xml:
4062 Change the layout to match clarkbw design.
4064 * shell/Makefile.am:
4065 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
4066 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
4067 (ev_navigation_action_finalize),
4068 (ev_navigation_action_set_property),
4069 (ev_navigation_action_get_property),
4070 (ev_navigation_action_class_init):
4071 * shell/ev-navigation-action.h:
4073 Implement clarkbw toolbar navigation controls (incomplete)
4075 * shell/ev-page-action.c: (update_label), (update_spin),
4076 (value_changed_cb), (create_tool_item), (connect_proxy),
4077 (ev_page_action_init), (ev_page_action_finalize),
4078 (ev_page_action_set_property), (ev_page_action_get_property),
4079 (ev_page_action_set_current_page),
4080 (ev_page_action_set_total_pages), (ev_page_action_class_init):
4081 * shell/ev-page-action.h:
4083 Implement a page switcher in the toolbar
4085 * shell/ev-view.c: (ev_view_scroll_view):
4086 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4087 (update_current_page), (view_page_changed_cb), (goto_page_cb),
4088 (register_custom_actions), (ev_window_init):
4090 Change page on PageUp/Down.
4092 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
4094 * pdf/xpdf/pdf-document.cc
4095 (pdf_document_thumbnails_get_thumbnail): initial stab at
4096 implementing thumbnail support for pdfs. It only does documents
4097 with precached pdfs now.
4099 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
4101 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
4102 thumbnail code into a time-based idle as well. Also, turn off the
4103 shadow temporarily as it's really slow.
4105 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4107 * backend/ev-document.c: (ev_document_class_init):
4108 * pdf/xpdf/pdf-document.cc:
4109 * shell/ev-window.c: (ev_window_open):
4111 Fix document title bugs and fallback to
4112 filename when not available.
4114 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
4116 * backend/ev-document.c: (ev_document_get_type),
4117 (ev_document_class_init), (ev_document_load),
4118 (ev_document_get_title):
4119 * backend/ev-document.h:
4120 * pdf/xpdf/pdf-document.cc:
4121 * ps/ps-document.c: (ps_document_set_property),
4122 (ps_document_get_property), (ps_document_class_init),
4126 * shell/ev-window.c: (update_window_title), (ev_window_open),
4129 Initial support for document title. Not working yet.
4131 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4133 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
4135 Grab focus on the view when clicking it
4137 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4139 * shell/ev-marshal.list:
4140 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
4141 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
4143 Add key bindings to the view. Now if the focus would work
4146 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
4149 * backend/Makefile.am:
4152 * dvi/dvilib/Makefile.am:
4153 * pdf/xpdf/Makefile.am:
4159 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4161 * shell/ev-view.c: (ev_view_realize):
4163 Fix mouse wheel scrolling
4165 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4171 * ps/ps-document.c: (catchPipe), (ps_document_init),
4172 (ps_document_class_init), (ps_document_cleanup),
4173 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
4174 (set_up_page), (close_pipe), (is_interpreter_ready),
4175 (interpreter_failed), (output), (input), (start_interpreter),
4176 (stop_interpreter), (file_length), (file_readable),
4177 (check_filecompressed), (check_pdf), (compute_xdpi),
4178 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
4179 (ps_document_get_type), (ps_document_emit_error_msg),
4180 (document_load), (ps_document_next_page),
4181 (ps_document_get_current_page), (ps_document_get_page_count),
4182 (ps_document_goto_page), (ps_document_set_page_size),
4183 (ps_document_zoom_to_fit), (ps_document_set_zoom),
4184 (ps_document_load), (ps_document_get_n_pages),
4185 (ps_document_set_page), (ps_document_get_page),
4186 (ps_document_widget_event), (ps_document_set_target),
4187 (ps_document_set_scale), (ps_document_set_page_offset),
4188 (ps_document_get_page_size), (ps_document_render),
4189 (ps_document_document_iface_init):
4192 * shell/ev-window.c: (ev_window_open):
4194 Rename GtkGS to PSDocument
4196 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4198 * ps/gtkgs.c: (gtk_gs_class_init):
4201 Some more leftover...
4203 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4205 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
4206 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
4207 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
4210 Remove unused code and make a lot of stuff private
4212 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4214 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
4215 (gtk_gs_defaults_changed):
4221 Cleanup headers dependencies
4223 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
4228 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
4230 * ps/gtkgs.c: (file_length), (file_readable),
4231 (check_filecompressed), (check_pdf), (gtk_gs_load),
4232 (gtk_gs_get_postscript):
4236 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4241 * ps/gtkgs.c: (gtk_gs_set_zoom):
4245 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4247 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
4249 Ensure the page is rerendered when changing zoom
4251 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
4253 * backend/ev-document.c: (ev_document_base_init),
4254 (ev_document_changed):
4255 * backend/ev-document.h:
4257 Add a changed event that is emitted when the page content
4258 changes. This is necessary to deal with the fact that
4259 in ps backend rendering happen asycrounously.
4260 This makes the ps backend mostly work.
4262 * pdf/xpdf/pdf-document.cc:
4266 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
4267 (ps_document_set_target):
4271 * shell/ev-view.c: (document_changed_callback),
4272 (ev_view_set_document), (ev_view_set_page):
4274 Redraw on the changed signal
4276 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
4278 * configure.ac: Added pt_BR to ALL_LINGUAS.
4280 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
4282 * backend/ev-document-bookmarks.c:
4283 (ev_document_bookmarks_get_child): *
4284 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
4285 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
4286 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
4287 (ev_sidebar_bookmarks_destroy),
4288 (ev_sidebar_bookmarks_class_init),
4289 (ev_sidebar_bookmarks_construct), (stack_data_free),
4290 (do_one_iteration), (populate_bookmarks_idle),
4291 (ev_sidebar_bookmarks_clear_document),
4292 (ev_sidebar_bookmarks_set_document): *
4293 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
4294 (ev_sidebar_add_page),
4295 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
4296 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
4297 it displays both the topics and the page numbers.
4299 2004-12-23 Kristian Høgsberg <krh@redhat.com>
4301 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
4303 * shell/ev-window.c (toggle_entries): Set sidebar default value to
4306 2004-12-23 Adam Weinberger <adamw@gnome.org>
4308 * configure.ac: Added en_CA to ALL_LINGUAS.
4310 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4312 * ChangeLog: replace bottom of this ChangeLog (merged history of
4313 ggv and gpdf; where all paths were wrong and most of the files are
4314 not even in this tree) with ChangeLog (from arch) of the shell
4317 2004-12-23 Havoc Pennington <hp@redhat.com>
4319 * shell/ev-window.c: hook up potentially-questionable "find
4320 results status text" feature - something involving the sidebar or
4321 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
4322 might be better in the end.
4324 * shell/ev-view.c (ev_view_get_find_status_message): new function,
4325 with corresponding signal when it should be updated
4327 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
4329 2004-12-22 Havoc Pennington <hp@redhat.com>
4331 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
4332 find stuff on other pages, sort of (only returns one result on
4333 invisible pages, to show they have results; updates full results
4334 for a page when you view it). Currently repaints the current page
4335 every time a new result is found on any page, which isn't so nice.
4337 2004-12-22 Havoc Pennington <hp@redhat.com>
4339 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
4340 the document doesn't support find (better ideas?)
4341 (find_bar_search_changed_cb): handle missing document or document
4342 that doesn't support find
4344 * pdf/xpdf/pdf-document.cc: port to implement the new
4347 * backend/ev-document-find.c: create a new interface for searching
4349 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
4351 2004-12-23 Martin Kretzschmar <martink@gnome.org>
4353 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
4356 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
4357 EvPrintJob constructor arguments.
4359 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
4360 for documents that can export PostScript (page by page).
4362 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
4364 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
4365 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
4366 (pdf_document_ps_exporter_iface_init:
4367 Implement EvPSExporter.
4369 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
4371 2004-12-22 Anders Carlsson <andersca@gnome.org>
4373 * backend/Makefile.am:
4374 * backend/ev-document-thumbnails.c:
4375 (ev_document_thumbnails_get_type),
4376 (ev_document_thumbnails_get_thumbnail):
4377 * backend/ev-document-thumbnails.h:
4378 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4379 (pixbuf_document_thumbnails_get_thumbnail),
4380 (pixbuf_document_document_thumbnails_iface_init):
4381 * shell/Makefile.am:
4382 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
4383 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
4384 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
4385 * shell/ev-sidebar-thumbnails.h:
4386 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4387 (ev_sidebar_set_document):
4388 * shell/ev-utils.c: (gaussian), (create_blur_filter),
4389 (create_shadow), (ev_pixbuf_add_shadow):
4391 Add thumbnail support.
4393 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4395 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
4396 (using_postscript_printer): Set up a print dialog for "PostScript
4399 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
4402 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
4404 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4406 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
4407 (ps_document_set_target), (ps_document_get_page_size),
4408 (ps_document_render):
4413 2004-12-22 Christian Rose <menthos@menthos.com>
4415 * configure.ac: Added "sv" to ALL_LINGUAS.
4417 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
4419 * backend/ev-document-bookmarks.[ch]: new interface to indicate
4420 document supports bookmarks.
4422 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4424 * ps/ggvutils.c: (ggv_file_readable):
4426 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
4427 (gtk_gs_get_postscript):
4431 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4433 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
4434 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
4435 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
4436 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
4437 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
4438 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
4439 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4440 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4441 (gtk_gs_set_antialiasing), (ps_document_load),
4442 (ps_document_render):
4445 Another check point for the ps backend. Now I can get it to show
4448 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
4450 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
4451 document setting code.
4453 2004-12-22 Anders Carlsson <andersca@gnome.org>
4455 * shell/eggfindbar.c: (entry_activate_callback):
4456 Animate the next button when activate is pressed.
4458 2004-12-22 Anders Carlsson <andersca@gnome.org>
4460 * shell/ev-window.c: (ev_window_cmd_edit_find),
4461 (update_fullscreen_popup), (ev_window_fullscreen),
4462 (ev_window_unfullscreen), (ev_window_state_event_cb),
4463 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
4464 Fix bugs in fullscreen code.
4466 2004-12-22 Anders Carlsson <andersca@gnome.org>
4470 * pixbuf/Makefile.am:
4471 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
4472 (pixbuf_document_load), (pixbuf_document_get_n_pages),
4473 (pixbuf_document_set_page), (pixbuf_document_get_page),
4474 (pixbuf_document_set_target), (pixbuf_document_set_scale),
4475 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
4476 (pixbuf_document_render), (pixbuf_document_begin_find),
4477 (pixbuf_document_end_find), (pixbuf_document_finalize),
4478 (pixbuf_document_class_init),
4479 (pixbuf_document_document_iface_init), (pixbuf_document_init):
4480 * pixbuf/pixbuf-document.h:
4481 * shell/Makefile.am:
4482 * shell/ev-application.c: (ev_application_open):
4483 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
4487 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
4490 * dvi/dvilib/Makefile.am:
4492 * configure.ac: Auto*ify dvi and dvi/dvilib
4494 * dvi/Makefile: Remove from CVS
4496 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
4499 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
4501 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
4503 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4506 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
4507 (gtk_gs_value_adjustment_changed), (compute_size),
4508 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
4509 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
4510 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
4511 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
4512 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
4513 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
4514 (ps_document_load), (ps_document_get_n_pages),
4515 (ps_document_set_page), (ps_document_get_page),
4516 (ps_document_set_target), (ps_document_set_scale),
4517 (ps_document_set_page_offset), (ps_document_get_page_size),
4518 (ps_document_render), (ps_document_begin_find),
4519 (ps_document_end_find), (ps_document_document_iface_init):
4521 * shell/Makefile.am:
4522 * shell/ev-window.c: (ev_window_open):
4524 Some work to integrate gtkgs with EvDocument
4526 2004-12-22 Anders Carlsson <andersca@gnome.org>
4528 * shell/ev-window.c: (update_fullscreen_popup),
4529 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
4530 (exit_fullscreen_button_clicked_cb),
4531 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
4532 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4533 (ev_window_state_event_cb), (ev_window_init):
4534 Add fullscreen support from Epiphany.
4536 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4538 * data/ev-stock-zoom-fit-width.png: fit-width
4539 stock icon from gpdf.
4541 * shell/ev-stock-icons.[ch]: copied from gpdf.
4543 * shell/main.c: (main): init stock icons.
4545 * shell/ev-window.c: use the fit-width icon.
4547 * data/evince-ui.xml: add zooming toolbar items.
4549 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4552 (ev_view_best_fit), (ev_view_fit_width): because
4553 get_page_size() returns the scaled page size, we
4554 need to calculate the scale factor relative to
4555 the previous scale factor. Should really just
4556 add get_real_page_size().
4558 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4560 * shell/ev-view.[ch]:
4561 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
4562 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
4565 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
4566 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
4567 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
4570 * pdf/xpdf/pdf-document.cc:
4571 (pdf_document_begin_find),
4572 (pdf_document_end_find): make static.
4574 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4576 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
4578 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
4579 names to fontconfig patterns.
4580 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
4582 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
4585 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4601 Import ggv backend. Not hooked up yet.
4603 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4605 * shell/main.c: (load_files), (main): load files
4606 from the command line.
4608 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4610 * configure.ac: don't require bonobo.
4612 * cut-n-paste/recent-files/*: kill bonobo recent
4615 * shell/ev-window.c:
4616 (ev_window_is_empty): upd.
4617 (unable_to_load), (ev_window_open): load backend
4618 based on the mime type.
4620 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4622 * backend/.cvsignore: ignore generated marshalers source.
4624 * shell/main.c (main): this is not epiphany.
4626 2004-12-22 Havoc Pennington <hp@redhat.com>
4628 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
4629 (expose_bin_window): draw find highlights
4631 * shell/ev-window.c (find_bar_search_changed_cb): implement
4633 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
4634 (pdf_document_end_find): implement this interface
4636 * backend/ev-document.c (ev_document_found): add this to emit
4639 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
4641 * data/evince-ui.xml: Add a few more toolbar items.
4643 * shell/ev-window.c: Hook up page navigation toolbar
4646 * shell/ev-view.[ch]: add ev_view_set/get_page and
4647 a page-changed signal.
4649 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
4650 Add ev_document_get_page().
4652 * shell/ev-window.c: Sensitize/desensitize navigation
4655 2004-12-21 Havoc Pennington <hp@redhat.com>
4657 * backend/ev-backend-marshal.c,
4658 backend/ev-backend-marshalers.list, backend/Makefile.am: add
4659 marshaler-generator thingy. I'm sure there's a better way to do
4660 this in the modern world.
4662 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
4663 end_find methods and "found" signal.
4665 * configure.ac: find glib-genmarshal
4667 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
4669 * shell/ev-sidebar.c: Construct an actual sidebar.
4670 * shell/ev-sidebar-bookmarks.[ch]:
4671 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
4673 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
4675 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
4678 * shell/ev-view.c: Track the size from the document.
4680 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
4682 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
4683 constructor assumes ownership of the string passed in.
4685 * shell/ev-window.c (ev_window_open): Destroy the error
4686 dialog once we've displayed it.
4688 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
4690 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
4691 a bit, it works! (sort of)
4693 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
4694 Move to .cc since we need to use C++ in the implementation.
4696 * shell/dummy.cc: Add a CC file to force evince
4697 to be linked as a C++ program.
4699 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
4701 * shell/ev-view.[ch]: Start of content-area widget.
4703 * shell/ev-window.c: Create a EvView, update it
4704 as we change documents.
4706 * shell/Makefile.am shell/ev-marshal.list: Add
4707 generated marshalers.
4709 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
4711 * Makefile.am (SUBDIRS): move shell.
4713 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
4715 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
4716 .a to libtool convenience libraries.
4718 * shell/ev-window.c (ev_window_open): Hard code loading
4721 * backend/ev-document.h: Add a boolean return to load(),
4722 fix GError * to GError **.
4724 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
4725 object for a PDF backend EvDocument.
4727 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
4729 * dvi/*: New directory with the beginning of a .dvi backend.
4731 2004-12-21 Havoc Pennington <hp@redhat.com>
4733 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
4734 previous/next instead of back/forward
4736 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
4738 * backend/ev-document.[ch]: Fix a couple of problems so
4741 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
4743 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
4744 to backend/ directory, rename EvViewer to EvDocument.
4746 2004-12-21 Havoc Pennington <hp@redhat.com>
4748 * shell/ev-window.c: hook up the find bar widget; now we just need
4749 a document to find things in
4751 * shell/eggfindbar.c: a find bar widget
4753 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
4755 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
4757 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
4759 * pdf/**: Import of xpdf code from gpdf.
4761 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
4763 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
4764 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
4765 Fix FreeType includes.
4767 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
4768 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
4769 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
4770 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
4771 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
4772 Include xpdfconfig.h
4774 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
4776 * shell/ev-window.c (ev_window_dispose): dispose can be called
4779 2004-12-21 Havoc Pennington <hp@redhat.com>
4781 * shell/ev-window.c (ev_window_init): set title to Document Viewer
4784 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
4785 items; really they should be synced with the strings, etc. from
4786 current gpdf, but just getting the boring typing out of the way
4788 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4791 * shell/ev-application.c: (window_destroy_cb):
4792 * shell/ev-window.c:
4793 * shell/main.c: (main):
4795 Actually show the window...
4797 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4800 * shell/Makefile.am:
4801 * shell/ev-application.c: (ev_application_class_init):
4802 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
4806 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4808 Import to gnome cvs.
4810 * Remove copies of gpdf and ggv trees.
4811 * Rip out all the recursive configure code.
4812 * Remove bonobo machinery.
4813 * viewer/*: GInterfaces that backends should/can implement.
4815 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4817 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
4820 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
4822 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
4823 (ev_application_finalize, ev_application_class_init)
4824 (ev_application_init): use GType instance private data for priv.
4826 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
4827 (ev_window_finalize, ev_window_class_init)
4828 (ev_window_init): ditto.
4830 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4832 * shell/ev-application.c (ev_application_new_window): make public
4833 (ev_application_show_initial_window): kill.
4835 * shell/ev-application.h: update prototypes.
4837 * shell/main.cc (main): inline ev_application_show_initial_window.
4839 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4841 * shell/ev-application.c (ev_application_new_window): impl.
4842 (ev_application_show_initial_window): use it.
4843 (is_window_empty, ev_application_get_empty_window): returns an
4844 existing empty window or a new one.
4845 (ev_application_open): from ev_window_cmd_file_open.
4847 * shell/ev-application.h: update prototypes
4849 * shell/ev-window.c (ev_window_is_empty): impl.
4850 (ev_window_open): make public.
4851 (ev_window_cmd_file_open): use ev_application_open
4853 * shell/ev-window.h: update prototypes, remove unused.
4855 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4857 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
4858 move destroy handler out of here...
4860 * shell/ev-application.c, shell/ev-application.h: ...into this new
4861 class. Also handles initial window creation.
4863 * shell/main.cc (main): use EvApplication to create initial
4866 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4868 * Makefile.am (SUBDIRS): add cut-n-paste
4870 * cut-n-paste/Makefile.am: add
4872 * configure.ac: generate Makefiles in cut-n-paste
4874 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4876 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
4877 (ev_window_class_init): install ev_window_dispose.
4879 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4881 * shell/ev-window.h, shell/ev-window.c: replace gchar with
4882 char (gchar looks stupid).
4884 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4886 * po/de.po: updated German translation.
4888 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4890 * configure.ac: add more pkg-config library checks for gnome-vfs,
4893 * gpdf/configure.in: temporarily disable libpaper
4894 checks. Otherwise I'd have to add the checks for the shell, too.
4896 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4898 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
4899 and * file filters to the file choose.
4901 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4903 * po/de.po: Updated German translation.
4905 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4907 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
4909 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4911 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
4913 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
4914 (ev_window_init): implement those menuitems.
4916 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4918 * data/evince-ui.xml: add a toolbar (with FileOpen action)
4920 * shell/ev-window.c (ev_window_init): use the toolbar.
4922 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4924 * shell/ev-window.c (ev_window_init): use menu translations
4926 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4928 * configure.ac: add "de" to ALL_LINGUAS.
4930 * po/de.po: add German translation.
4932 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4934 * Makefile.am (SUBDIRS): add po
4936 * configure.ac: check intltool, glib-gettext etc, generate
4939 * po, po/POTFILES.in, po/POTFILES.skip: new.
4941 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4943 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
4944 already use (#ifdef ENABLE_NLS)
4946 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
4947 pointer indirection thinko.
4949 * shell/main.c: include gi18n.h for bindtextdomain etc.
4951 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4953 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
4954 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
4955 tooltips for menu items in the statusbar.
4957 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4959 * configure.ac, data/Makefile.am, shell/Makefile.am: use
4960 pkgdatadir drop UIDIR
4962 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4964 * data/evince-ui.xml: Add File->Open menu item
4966 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
4967 chooser), hook it up in the ui manager.
4969 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4971 * shell/ev-window.c: fix Help->About tooltip.
4973 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4975 * configure.ac: set CFLAGS for libevprivate.
4977 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
4978 definitions, factory etc.
4980 * lib/Makefile.am: build libevprivate.a (only stock icon code).
4982 * shell/Makefile.am: link against libevprivate.a.
4984 * shell/ev-window.c (entries): add stock icon to Help->About.
4986 * shell/main.c (main): init stock icon code.
4988 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4990 * lib/recent-files: egg recent files code
4992 * lib/Makefile.am: add.
4994 * Makefile.am: add lib subdir.
4996 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
4997 set CFLAGS for recent-files.
4999 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5001 * configure.ac: disable -ansi and -pedantic gcc flags. They
5002 disable POSIX stuff in stdio.h, but egg-recent uses them.
5004 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5006 * configure.ac: add --disable-deprecated flag (defaults to on in
5009 * shell/Makefile.am (INCLUDES): use it.
5011 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5013 * shell/main.c: add missing #include.
5015 * shell/ev-window.c: fix for pedantic gcc.
5016 (ev_window_cmd_help_about): split license into paragraphs for
5017 translators and pedantic compilers.
5019 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5021 * configure.ac: add more warning flags if compiling with gcc from
5022 cvs (or explicitly requested with --enable-more-warnings).
5024 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5026 * data/evince-ui.xml: add File and File->Close menu.
5028 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
5029 (ev_window_destroy): quit after destroy.
5030 (ev_window_class_init): override GtkObject::destroy.
5031 (entries): install close_window callback.
5033 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5035 * Makefile.am (SUBDIRS): add data subdir.
5037 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
5038 gtk+ 2.5.0 for GtkAboutDialog.
5040 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
5043 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
5045 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
5047 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
5049 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
5051 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
5053 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5055 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
5057 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5059 * shell/*: Added shell directory boilerplate, build it.
5061 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
5063 * configure.ac, Makefile.am: Added top-level configure.ac and