1 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
4 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
6 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
9 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
11 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
15 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
17 * configure.ac: Update script to get dbus version.
18 Fix for the bug #313443.
20 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
22 * shell/ev-window.c: (ev_window_cmd_escape):
24 Return focus back to view on escape. Fix for bug 313295.
26 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
28 * shell/ev-window.c: (update_window_title),
29 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
30 (ev_window_cmd_save_as):
32 Correct conversion from uri to displayable string. Fix for
35 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
37 * ps/ps-document.c: convert filename to utf8 when there is an error
38 loading document. Fixes #309915
40 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
44 We depend on poppler 0.4.0
46 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
49 * NEWS: Release 0.3.3.
50 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
52 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
54 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
55 add a couple missing mnemonics to menu items, use title
56 capitalization for menu items and window titles, and add
57 ellipsis to open menu item.
59 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
62 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
63 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
64 (ev_view_get_rotation):
66 * shell/ev-window.c: (setup_view_from_metadata),
67 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
68 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
71 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
73 * configure.ac: Added tr to ALL_LINGUAS
75 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
77 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
78 requires several clicks to find word. Thanks to
79 Colin Slater <kiltedtaco@gmail.com>.
81 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
83 * data/evince.desktop.in.in: Hide menu entry and
84 rename it to "Document Viewer". Fix for bug
87 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
89 * shell/ev-page-action.c (ev_page_action_class_init):
91 Point to the correct function in constructor of the
94 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
96 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
97 * shell/ev-jobs.h: Make thread safe.
99 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
101 * shell/ev-view.c: (view_update_range_and_current_page):
102 Don't update page range if we are scrolling to some document
105 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
107 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
108 when getting max_page_width, fix drawing in dual mode.
110 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
112 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
113 getting the area for select_all.
115 2005-08-06 Kristian Høgsberg <krh@redhat.com>
117 * backend/ev-selection.c: (ev_selection_render_selection):
118 * backend/ev-selection.h:
120 * shell/ev-jobs.c: (ev_job_render_new):
122 * shell/ev-pixbuf-cache.c: (get_selection_colors),
123 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
124 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
125 (ev_view_class_init):
127 Change selection color on focus in and focus out events. Also,
128 poppler now uses GdkColor for specifying the selection colors, so
129 drop some awkward conversion code.
131 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
133 * configure.ac: Added Hebrew translation
135 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
138 * backend/ev-selection.c: (ev_selection_render_selection):
139 * backend/ev-selection.h:
141 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
144 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
145 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
146 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
147 (ev_pixbuf_cache_style_changed),
148 (ev_pixbuf_cache_get_selection_pixbuf),
149 (ev_pixbuf_cache_set_selection_list),
150 (ev_pixbuf_cache_get_selection_list):
151 * shell/ev-pixbuf-cache.h:
152 * shell/ev-utils.c: (ev_print_region_contents):
154 * shell/ev-view.c: (ev_view_queue_draw_page),
155 (selection_update_idle_cb), (ev_view_motion_notify_event),
156 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
157 (setup_caches), (ev_view_find_next), (merge_selection_region),
159 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
161 Clean up selection to be much smoother!
163 2005-08-05 Kristian Høgsberg <krh@redhat.com>
165 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
166 to poppler_page_render_selection().
168 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
170 * ps/ps-document.c: (save_page_list): Use
171 unzipped document when printing. Thanks to
172 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
175 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
177 * shell/ev-window.c: (update_action_sensitivity):
179 Disable print and save respect to lockdown gconf keys. Fix
182 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
185 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
186 (write_to_temp_file), (ev_file_set_contents):
188 * shell/ev-window.c: (save_print_config_to_file):
190 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
193 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
195 * shell/ev-window.c: (load_print_config_from_file),
196 (save_print_config_to_file), (ev_window_print_range):
198 Persist the print settings. Fixes bug #311578.
200 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
202 * djvu/djvu-document.c: (djvu_document_get_page_size),
203 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
204 (djvu_document_thumbnails_get_thumbnail):
205 * dvi/dvi-document.c: (dvi_document_get_page_size),
206 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
207 (dvi_document_thumbnails_get_dimensions),
208 (dvi_document_thumbnails_get_thumbnail):
209 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
210 (pixbuf_document_render_pixbuf),
211 (pixbuf_document_document_iface_init),
212 (pixbuf_document_thumbnails_get_thumbnail):
214 Update backends to make them build with new rotation system.
216 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
218 * help/C/figures/evince_start_window.png:
220 Update documentation image from Luca Ferretti <elle.uca@libero.it>
222 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
224 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
225 * shell/ev-pixbuf-cache.h:
226 * shell/ev-sidebar-thumbnails.c:
227 (ev_sidebar_thumbnails_get_property), (add_range),
228 (adjustment_changed_cb):
229 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
230 pixbuf cache. Make thumbnailing work again. Also, fix bug where
231 we were thumbnailing the entire docment on startup, slowing us
234 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
236 * shell/ev-page-cache.c: (ev_page_cache_new):
237 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
240 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
242 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
243 (ev_view_rotate_left):
245 Account rotation in doc_rect_to_view_rect.
246 Ensure rotation doesnt go out of bounds.
248 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
250 * shell/ev-page-cache.c: (ev_page_cache_get_size):
252 Correct and cleanup w/h swapping
254 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
256 * backend/ev-document-thumbnails.c:
257 (ev_document_thumbnails_get_thumbnail):
258 * backend/ev-document-thumbnails.h:
259 * backend/ev-document.c:
260 * backend/ev-document.h:
261 * backend/ev-render-context.c: (ev_render_context_new),
262 (ev_render_context_set_rotation):
263 * backend/ev-render-context.h:
265 * ps/ps-document.c: (ps_document_document_iface_init):
266 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
268 * shell/ev-page-cache.c: (build_height_to_page),
269 (ev_page_cache_new), (ev_page_cache_get_size),
270 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
271 (ev_page_cache_get_height_to_page):
272 * shell/ev-page-cache.h:
273 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
274 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
275 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
276 (ev_pixbuf_cache_get_selection_pixbuf):
277 * shell/ev-pixbuf-cache.h:
278 * shell/ev-print-job.c: (idle_print_handler):
279 * shell/ev-sidebar-thumbnails.c: (add_range):
280 * shell/ev-view.c: (view_update_range_and_current_page),
281 (get_page_y_offset), (get_page_extents),
282 (ev_view_size_request_continuous_dual_page),
283 (ev_view_size_request_continuous),
284 (ev_view_size_request_dual_page),
285 (ev_view_size_request_single_page), (draw_one_page),
286 (ev_view_set_rotation), (ev_view_rotate_right),
287 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
288 (ev_view_zoom_for_size_continuous_and_dual_page),
289 (ev_view_zoom_for_size_continuous),
290 (ev_view_zoom_for_size_dual_page),
291 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
292 (ev_view_select_all):
293 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
294 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
295 (tiff_document_document_iface_init),
296 (tiff_document_thumbnails_get_thumbnail):
298 Use rotation rather than orientation. It's easier and enough
301 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
303 * shell/ev-page-cache.c: (build_height_to_page),
304 (ev_page_cache_new), (ev_page_cache_get_size),
305 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
306 (ev_page_cache_get_height_to_page):
307 * shell/ev-page-cache.h:
308 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
309 (ev_view_size_request_continuous_dual_page),
310 (ev_view_size_request_continuous),
311 (ev_view_zoom_for_size_continuous_and_dual_page),
312 (ev_view_zoom_for_size_continuous):
314 Make the page cache aware of page orientation.
316 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
318 * backend/ev-document-thumbnails.c:
319 (ev_document_thumbnails_get_thumbnail):
320 * backend/ev-document-thumbnails.h:
321 * backend/ev-document.c:
322 * backend/ev-document.h:
323 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
324 * backend/ev-ps-exporter.h:
326 * ps/ps-document.c: (ps_document_document_iface_init),
327 (ps_document_ps_export_do_page):
328 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
330 * shell/ev-page-cache.c: (ev_page_cache_get_size),
332 * shell/ev-page-cache.h:
333 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
334 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
335 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
336 * shell/ev-pixbuf-cache.h:
337 * shell/ev-print-job.c: (idle_print_handler):
338 * shell/ev-sidebar-thumbnails.c: (add_range):
339 * shell/ev-view.c: (view_update_range_and_current_page),
340 (get_page_extents), (ev_view_size_request_dual_page),
341 (ev_view_size_request_single_page), (draw_one_page),
342 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
343 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
344 (ev_view_zoom_for_size_dual_page),
345 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
346 (ev_view_select_all):
347 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
348 * tiff/tiff-document.c: (tiff_document_get_page_size),
349 (tiff_document_get_orientation), (rotate_pixbuf),
350 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
351 (tiff_document_thumbnails_get_thumbnail),
352 (tiff_document_ps_export_do_page), (tiff_document_init):
354 Really make use of the orientation bit of the render context.
355 Use the render context in a few more places in the backend API.
356 This regress orientation, but now it's done right. Will try to
359 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
361 * shell/ev-view.c: (ensure_rectangle_is_visible):
363 Patch by Nickolay V. Shmyrev to fix find flickering
365 2005-07-27 Martin Kretzschmar <martink@gnome.org>
367 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
368 duplex parameters to ::begin.
370 * tiff/tiff-document.c (tiff_document_ps_export_begin):
371 * shell/ev-print-job.c (idle_print_handler):
372 * ps/ps-document.c (ps_document_ps_export_begin):
373 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
374 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
375 implementations. Poppler backend needs poppler cvs. Rest has
378 2005-07-25 Martin Kretzschmar <martink@gnome.org>
380 * shell/ev-window.c (using_pdf_printer): new function.
381 (ev_window_print_range): print a less techy message if someone
382 tries to print to PDF.
384 2005-07-25 Martin Kretzschmar <martink@gnome.org>
386 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
387 from "unknown font" string. Bug #311431
389 2005-07-24 Martin Kretzschmar <martink@gnome.org>
391 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
393 2005-07-24 Martin Kretzschmar <martink@gnome.org>
397 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
398 name for PopplerFontTypes
399 (pdf_document_fonts_fill_model): add font type to the detail column
401 * backend/ev-document-fonts.h: added
402 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
404 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
405 font name and font details, add a little markup.
406 (ev_properties_fonts_init): use the new cell data func, specify ypad
407 property for the cell renderer.
408 (ev_properties_fonts_set_document): add the details column.
410 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
412 * configure.ac: Added "pl" to ALL_LINGUAS.
414 2005-07-24 Danilo Šegan <danilo@gnome.org>
416 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
418 2005-07-23 Tommi Vainikainen <thv@iki.fi>
420 * help/ChangeLog: Started this for translations of manual.
421 * configure.ac, autogen.sh, .cvsignore: Migrated to
422 gnome-doc-utils. Patch in bug #311222.
424 2005-07-22 Martin Kretzschmar <martink@gnome.org>
426 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
427 #ifdef this away to fix an unused-function warning.
429 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
431 * configure.ac: Added 'gl' to ALL_LINGUAS.
433 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
435 * configure.ac: Added ne in ALL_LINGUAS
437 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
439 * shell/ev-view.c: (ev_view_leave_notify_event):
441 Clear status message when pointer leaves view. Fix for bug
444 2005-07-20 Ankit Patel <ankit644@yahoo.com>
446 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
448 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
450 * shell/ev-view.c: (ev_view_leave_notify_event),
451 (ev_view_class_init):
453 Set cursor to normal then leaving view.
455 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
459 Fix required djvulibre version.
461 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
463 *configure.ac: Hindi (hi) language added
465 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
467 *configure.ac: Punjabi (pa) Language added
469 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
471 * data/evince-ui.xml, shell/ev-window.c:
473 Add keypad accelerators for zooming. Fix for bug 308128.
475 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
478 * backend/Makefile.am:
479 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
481 * shell/ev-document-types.c: (ev_document_types_add_filters):
483 Allow to enable/disable the pixbuf backend.
484 Default to off for now. If we want it enabled we should
485 really put mime types in the desktop, implement properties etc.
487 * properties/evince-properties.c:
489 Initialize error to NULL.
490 Check error is not NULL before freeing.
492 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
496 Use F5 as presentation accell
498 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
500 * shell/ev-window.c: (update_chrome_visibility),
501 (ev_window_create_fullscreen_popup), (ev_window_init):
503 Do not leak the fullscreen toolbar
505 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
507 * shell/ev-window.c: (view_actions_focus_in_cb),
508 (view_actions_focus_out_cb):
510 These has a return value! Fix totally random focus
511 issues we was seeing.
513 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
515 * shell/main.c: (load_files_remote):
517 Allow open more than one file
519 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
521 * shell/main.c: (load_files_remote):
523 Fix for dbus 0.33. bug #309975
525 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
527 * properties/ev-properties-main.c: (ev_properties_get_pages):
529 Actually return NULL for types we dont support
531 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
537 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
539 * backend/ev-document-factory.c:
540 (ev_document_factory_get_document):
542 Do not try to create the object if type
545 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
547 * ps/ps-document.c: (ps_document_dispose),
548 (ps_async_renderer_render_pixbuf):
551 Do not leak the target window
553 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
555 * shell/ev-application.c: (ev_application_init):
557 Let tbe check file existence for us.
558 Add a comment about eggrecent mime filter.
560 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
562 * data/evince-ui.xml:
563 * shell/ev-application.c: (ev_application_shutdown),
564 (ev_application_init), (ev_application_get_toolbars_model),
565 (ev_application_get_recent_model),
566 (ev_application_save_toolbars_model):
567 * shell/ev-application.h:
568 * shell/ev-window.c: (ev_window_add_recent),
569 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
570 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
573 Use common toolbar and recent models for all windows.
574 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
576 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
578 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
579 successfully check for gtk_icon_view_get_visible_range.
581 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
586 Fix djvu and dvi backend build.
588 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
590 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
591 (new_separator_pixbuf):
595 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
597 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
599 HIGification of toolbar editor dialogue.
601 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
606 Ever build metadata manager since it's just
607 disabled at runtime now.
609 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
611 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
612 (ev_metadata_manager_get), (ev_metadata_manager_set):
613 * shell/ev-metadata-manager.h:
615 Add an _init functions that enabled metadata management
618 * shell/ev-window.c: (page_changed_cb),
619 (setup_document_from_metadata), (ev_window_setup_document),
620 (setup_view_from_metadata), (ev_window_open_uri),
621 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
622 (ev_window_run_presentation), (ev_window_stop_presentation),
623 (save_sizing_mode), (ev_window_zoom_changed_cb),
624 (ev_window_continuous_changed_cb),
625 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
626 (window_configure_event_cb):
628 Remove all ugly metadata define since we deal with it
631 * shell/main.c: (load_files_remote), (main):
633 Add support for dbus cvs head. Hopefully didnt break one
634 of the other versions now!
636 If we dont get a response from the dbus server just
637 give up with it and not enable metadata.
639 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
642 * backend/Makefile.am:
644 * cut-n-paste/recent-files/Makefile.am:
645 * cut-n-paste/toolbar-editor/Makefile.am:
646 * cut-n-paste/zoom-control/Makefile.am:
649 * pixbuf/Makefile.am:
650 * properties/Makefile.am:
653 * thumbnailer/Makefile.am:
656 Make frontends depend on just libev.
657 Rework and group CFLAGS/LIBS definitions.
660 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
664 do not unnecessarily save zoom
667 * lib/ev-file-helpers.c: (ev_dot_dir):
673 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
677 Remove unnecessary dependencies
679 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
681 * properties/Makefile.am:
682 * thumbnailer/Makefile.am:
685 Some more cleanups. Was really necessary
686 but I probably introduced bugs, feel free
689 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
691 * backend/Makefile.am:
693 * cut-n-paste/recent-files/Makefile.am:
694 * cut-n-paste/toolbar-editor/Makefile.am:
695 * cut-n-paste/zoom-control/Makefile.am:
698 * pixbuf/Makefile.am:
699 * properties/Makefile.am:
702 * thumbnailer/Makefile.am:
705 Use gnome-common macros when possible.
706 Cleanup dependencies.
707 Actually disable deprecated where possible.
709 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
712 * backend/Makefile.am:
713 * properties/Makefile.am:
715 * thumbnailer/Makefile.am:
717 This should solve the circular dep without
720 * shell/ev-window.c: (setup_view_from_metadata):
722 Never restore window size/position when the
723 window is already visible.
725 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
727 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
729 Return a boolean from timeout func. Fix ported from gedit.
731 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
733 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
735 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
737 * shell/ev-document-types.c: set "All Documents" as default filter in
740 2005-07-06 Martin Kretzschmar <martink@gnome.org>
742 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
743 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
744 (ev_metadata_manager_set_boolean): fix value/val thinko.
746 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
748 * shell/ev-window.c: (setup_view_from_metadata),
749 (window_state_event_cb), (window_configure_event_cb),
752 Remember window position and maximized state
754 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
758 Fix DBUS configure checks.
760 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
761 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
762 (ev_metadata_manager_set_boolean):
766 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
767 (ev_window_stop_fullscreen), (ev_window_run_presentation),
768 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
769 (ev_window_continuous_changed_cb),
770 (ev_window_dual_mode_changed_cb), (ev_window_new):
772 Fix the build without DBUS.
774 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
776 * shell/ev-metadata-manager.c: (parse_value), (save_values),
777 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
778 (ev_metadata_manager_set_string),
779 (ev_metadata_manager_set_boolean):
780 * shell/ev-metadata-manager.h:
782 Add support for some more types
784 * shell/ev-view.c: (scroll_to_current_page),
785 (ev_view_get_continuous), (ev_view_set_continuous),
786 (ev_view_get_dual_page):
788 * shell/ev-window.c: (page_changed_cb),
789 (setup_document_from_metadata), (ev_window_setup_document),
790 (setup_view_from_metadata), (ev_window_open_uri),
791 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
792 (ev_window_run_presentation), (ev_window_stop_presentation),
793 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
794 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
795 (ev_window_update_dual_page_action),
796 (ev_window_continuous_changed_cb),
797 (ev_window_dual_mode_changed_cb), (ev_window_init):
799 Remember a bunch of view/document properties. Prolly some
800 are still missing but it's getting interesting.
802 2005-07-05 Martin Kretzschmar <martink@gnome.org>
804 * configure.ac: check if dbus-binding-tool is installed. Not the
805 case on current Ubuntu breezy, it seems.
807 2005-07-05 Luca Ferretti <elle.uca@libero.it>
809 * data/evince.desktop.in.in:
811 Allow open uri lists and add TryExec field.
813 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
817 Enable dbus when available, do not require a configure
820 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
824 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
827 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
828 Marco Pesenti Gritti <mpg@redhat.com>
830 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
832 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
833 functions to the format required by dbus
835 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
836 errors. Use the RPC parameters in the expected way
838 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
841 * properties/Makefile.am:
842 * properties/ev-properties-main.c: (ev_properties_get_pages):
844 Support all mime types
847 * thumbnailer/Makefile.am:
848 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
849 (evince_thumbnail_pngenc_get):
851 Use the document factory
853 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
855 * backend/Makefile.am:
856 * backend/ev-document-factory.c:
857 (mime_type_supported_by_gdk_pixbuf),
858 (ev_document_type_get_from_mime),
859 (ev_document_factory_get_document),
860 (ev_document_factory_get_backend),
861 (ev_document_factory_get_mime_types),
862 (ev_document_factory_get_all_mime_types):
863 * backend/ev-document-factory.h:
865 * shell/ev-document-types.c: (get_document_from_uri),
866 (ev_document_types_get_document),
867 (file_filter_add_mime_list_and_free),
868 (ev_document_types_add_filters):
869 * shell/ev-document-types.h:
870 * shell/ev-job-xfer.c: (ev_job_xfer_run):
871 * shell/ev-properties-dialog.c:
872 (ev_properties_dialog_set_document):
873 * shell/ev-window.c: (ev_window_cmd_file_open),
874 (ev_window_cmd_save_as):
875 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
877 Rework document types managing to avoid code duplication
878 and actually abstract from backend implementations.
879 Also provide a minimal factory api that can be used by
880 thumbnailer/properties.
882 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
884 * properties/ev-properties-view.c: (ev_properties_view_set_info):
886 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
889 2005-07-04 Matthew S. Wilson <msw@rpath.com>
891 * shell/ev-properties-dialog.c
892 (ev_properties_dialog_set_document): only call
893 ev_properties_fonts_set_document() if the document implements the
896 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
899 * properties/Makefile.am:
900 * properties/ev-properties-view.c:
901 (ev_properties_view_register_type):
902 * properties/ev-properties-view.h:
903 * properties/ev-properties-main.h:
905 Implement nautilus plugin for properties.
906 Works only for pdf atm, I need to rework the
907 document types stuff to get this to work
910 2005-07-04 Martin Kretzschmar <martink@gnome.org>
912 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
913 (ev_properties_fonts_set_document): use
914 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
916 2005-07-04 Matthew S. Wilson <msw@rpath.com>
918 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
920 (PlaceImage, tiff2ps_process_page): use
921 g_ascii_dtostr to convert floats to strings in a locale-safe way.
924 2005-07-04 Martin Kretzschmar <martink@gnome.org>
926 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
927 (main): to call gnome_authentication_manager_init. Should fix
930 * configure.ac: that requires libgnomeui 2.6.0.
932 2005-07-04 Matthew S. Wilson <msw@rpath.com>
934 * tiff/tiff-document.c (tiff_document_ps_export_begin)
935 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
936 use the new tiff2ps interfaces
938 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
939 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
941 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
942 structure instead of global variables. Remove use of static
943 variables in functions.
945 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
947 * shell/ev-page-action.c: unref the completion after setting it to the
950 2005-07-04 Matthew S. Wilson <msw@rpath.com>
952 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
955 2005-07-04 Matthew S. Wilson <msw@rpath.com>
957 * shell/ev-window.c (update_action_sensitivity): disable
958 File->Print if the document does not implement the ps exporter
961 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
965 * data/evince-properties.glade:
966 * properties/.cvsignore:
967 * properties/Makefile.am:
968 * properties/ev-properties-view.c: (ev_properties_view_dispose),
969 (ev_properties_view_class_init), (ev_properties_view_format_date),
970 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
971 (ev_properties_view_init), (ev_properties_view_new):
972 * properties/ev-properties-view.h:
974 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
975 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
976 (ev_properties_dialog_new):
977 * shell/ev-properties-dialog.h:
978 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
979 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
980 (update_progress_label), (job_fonts_finished_cb),
981 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
982 * shell/ev-properties-fonts.h:
983 * shell/ev-properties.c:
984 * shell/ev-properties.h:
985 * shell/ev-window.c: (ev_window_setup_document),
986 (ev_window_cmd_file_properties):
988 Split the properties pages in two different objects, depend
989 only on the backend where possible, use widgets instead
990 of gobject for the glade part, reimplement the dialog
992 I need this to implement nautilus properties page.
994 2005-07-03 Matthew S. Wilson <msw@rpath.com>
996 * tiff/tiff-document.c (tiff_document_ps_export_begin)
997 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
998 (tiff_document_document_ps_exporter_iface_init): implement the ps
999 exporter interface for tiff documents
1001 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
1002 libtiff to implement TIFF postscript export
1004 * tiff/tiff2ps.h: added a header file for external tiff2ps
1007 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1010 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1012 * shell/ev-view.c: (scroll_to_current_page),
1013 (ev_view_set_fullscreen), (ev_view_set_presentation):
1015 Scroll to current page when exit from presentation
1017 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1019 * shell/ev-window.c: (update_document_mode),
1020 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1021 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1022 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1024 Exit from fullscreen mode when switch to presentation. Fix for
1027 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1029 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1030 return NULL if the document does not implement the selection
1033 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1035 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1036 reported height by using the resolution aspect ratio
1037 (tiff_document_render_pixbuf): scale the pixbuf using the
1038 resolution aspect ratio
1040 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1044 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1045 <kiltedaco@gmail.com>
1047 * djvu/djvu-document.c: (djvu_document_get_orientation),
1048 (djvu_document_set_orientation), (djvu_document_get_page_size),
1049 (rotate_pixbuf), (djvu_document_render_pixbuf),
1050 (djvu_document_document_iface_init):
1051 * dvi/dvi-document.c: (dvi_document_get_orientation),
1052 (dvi_document_set_orientation), (dvi_document_get_page_size),
1053 (rotate_pixbuf), (dvi_document_render_pixbuf),
1054 (dvi_document_document_iface_init):
1056 Dvi and djvu backends are ported to new API
1058 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1060 * backend/ev-selection.c: (ev_selection_get_selection_region),
1061 (ev_selection_get_selection_map):
1062 * backend/ev-selection.h:
1063 * pdf/ev-poppler.cc:
1064 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1066 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1067 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1068 (ev_pixbuf_cache_get_text_mapping):
1069 * shell/ev-pixbuf-cache.h:
1070 * shell/ev-view.c: (location_in_text),
1071 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1072 support to EvView. Now we can see where we can select! Sweet!
1074 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1076 * shell/ev-view.c (ev_view_button_press_event): Fix
1077 event->y + view->scroll_x typo.
1079 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1081 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1082 sub-GdkPixbuf instead of passing dest_x and dest_y.
1084 * shell/ev-view.c: (view_point_to_doc_point),
1085 (view_rect_to_doc_rect), (ev_view_button_press_event),
1086 (ev_view_motion_notify_event), (compute_new_selection_rect),
1087 (gdk_rectangle_point_in), (compute_new_selection_text),
1088 (compute_selections): Update selection code to keep the selection
1089 around as two points and not as a normalized rectangle, and fix
1090 page level selection in two-column mode.
1092 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1094 * shell/ev-window.c: (window_configure_event_cb):
1098 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1100 * pdf/ev-poppler.cc:
1104 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1106 * shell/Makefile.am:
1107 * shell/ev-metadata-manager.c: (item_free),
1108 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1109 (parse_value), (parseItem), (load_values),
1110 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1111 (save_values), (save_item), (get_oldest), (resize_items),
1112 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1113 * shell/ev-metadata-manager.h:
1115 Metadata manager from gedit but modified to use GValue, so that
1116 we dont need to keep converting from strings.
1120 ENABLE_METADATA conditional, on when dbus is on
1122 * shell/ev-application.c: (ev_application_open_uri):
1124 Show the window after load so that we can initialize
1125 window size before it's showed.
1127 * shell/ev-window.c: (ev_window_setup_from_metadata),
1128 (ev_window_open_uri), (window_configure_event_cb),
1131 Save and load metadata information about window size.
1132 Not yet keeping states in account.
1134 * shell/main.c: (main):
1136 Shutdown metadata manager.
1138 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1140 * shell/ev-application-service.xml:
1142 * shell/Makefile.am:
1143 * shell/ev-application.c:
1144 * shell/ev-application.h:
1145 * shell/ev-window.c:
1146 * shell/ev-window.h:
1149 Add an optional dbus interface (--enable-dbus).
1150 Rework application code, mainly to be easier to
1152 Do not open multiple windows with the same document,
1155 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1157 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1158 pixbuf iff it exists.
1160 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1163 * backend/ev-render-context.[ch]:
1164 * backend/ev-selection.[ch]:
1166 Massive changes. We now support text selection of pdfs, and not
1167 just rectangular selection. This is pretty broken still, but I
1168 want to get something into CVS.
1170 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1172 * pdf/ev-poppler.cc:
1174 Fix for Bug 309080: crash on window close.
1176 * shell/ev-page-action.c: (page_changed_cb):
1178 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1179 jensgr@gmx.net (Jens Granseuer).
1181 2005-06-25 Marcel Telka <marcel@telka.sk>
1183 * configure.in (ALL_LINGUAS): Added sk.
1185 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1187 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1190 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1197 * cut-n-paste/recent-files/Makefile.am:
1201 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1203 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1204 (pixbuf_document_set_orientation), (rotate_pixbuf),
1205 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1206 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1208 Implement rotation and cleanup the code a bit.
1210 * tiff/tiff-document.c: (tiff_document_get_page_size),
1211 (tiff_document_get_orientation), (tiff_document_set_orientation),
1212 (rotate_pixbuf), (tiff_document_render_pixbuf),
1213 (tiff_document_document_iface_init), (tiff_document_init):
1215 Implement rotation. Was the quicker solution for the release
1216 but we really need to share this code in the shell.
1218 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1220 * pdf/ev-poppler.cc:
1222 Enable rotation, require poppler cvs. Fix a leak.
1224 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1226 * shell/ev-window.c: (update_action_sensitivity):
1228 Make properties unsensitive if document backend doesn't provide
1231 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1233 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1234 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1235 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1236 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1237 (bitmap_flip_rotate_counter_clockwise):
1238 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1239 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1241 * dvi/mdvi-lib/common.h:
1242 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1243 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1244 (opendvi), (mdvi_reload), (mdvi_init_context),
1245 (mdvi_destroy_context), (mdvi_dopage), (special):
1246 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1247 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1248 (file_hash_free), (register_encoding), (parse_spec),
1249 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1250 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1251 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1252 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1253 (mdvi_register_font_type), (mdvi_unregister_font_type),
1254 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1255 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1256 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1257 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1258 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1259 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1260 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1261 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1262 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1263 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1264 (mdvi_unregister_special), (mdvi_flush_specials):
1265 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1267 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1268 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1269 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1270 (free_font_metrics), (flush_font_metrics):
1271 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1273 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1274 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1275 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1276 (dstring_insert), (dstring_new), (dstring_reset):
1277 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1279 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1280 avoid conflict with libtool on FC4
1282 * shell/ev-window.c: (ev_window_cmd_help_about):
1284 Update copyright year. Fix for bug 308828.
1286 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1288 * shell/ev-view.c: (add_scroll_binding_keypad),
1289 (ev_view_binding_activated), (ev_view_class_init),
1290 (on_adjustment_value_changed):
1292 Bug 170874: Arrow keys switch pages in presentation mode
1294 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1296 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1298 Fix for Bug 308265: Sidebar dissappears coming out of
1301 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1303 * shell/ev-application.c: (ev_application_open):
1304 * shell/ev-document-types.c: (ev_document_types_add_filters),
1305 (ev_document_types_add_filters_for_type):
1306 * shell/ev-document-types.h:
1307 * shell/ev-window.c: (ev_window_cmd_save_as):
1309 Suggest basename as template when saving, provide filters
1310 for save dialog. It's bug 308402
1312 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1314 * pdf/ev-poppler.cc:
1315 * shell/ev-sidebar-links.c: (job_finished_callback):
1316 * shell/ev-view.c: (update_find_status_message):
1320 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1322 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1323 (egg_recent_view_uimanager_set_list):
1325 Fix buglet in !show_numbers case.
1327 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1329 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1330 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1332 Use pango ellipsisation.
1334 * pdf/ev-poppler.cc:
1336 Fix refcount leak, from nsh.
1338 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1340 * cut-n-paste/recent-files/Makefile.am:
1341 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1342 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1344 Removed EggRecentViewGtk
1346 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1347 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1348 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1349 (ev_window_setup_recent):
1351 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1354 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1356 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1357 (egg_recent_view_gtk_finalize):
1361 * cut-n-paste/toolbar-editor/Makefile.am:
1363 Fix location of cursor icon.
1365 * pdf/ev-poppler.cc:
1366 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1367 (display_completion_text), (match_completion):
1368 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1369 (selection_changed_callback), (create_loading_model),
1370 (print_section_cb), (links_page_num_func),
1371 (update_page_callback_foreach):
1372 * shell/ev-window.c: (ev_window_dispose):
1374 Small memory fixes. Links model now store objects instead
1375 of pointers to improve memory management.
1377 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1379 * shell/ev-window.c: (zoom_control_changed_cb):
1381 Fix update of zoom control (bug 308268).
1383 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1385 * shell/ev-properties.c (set_property): escape the text correctly.
1386 Handles non-UTF-8 properties and escaped properties. Also, sets
1387 the text to "<i>None</i>" if the property isn't set.
1389 * data/evince-properties.glade: Change the label to be ellipsized,
1390 and give it a minimum size.
1392 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1394 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1395 * shell/ev-sidebar-links.c: (create_loading_model):
1396 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1397 * shell/ev-view.c: (ev_view_set_document):
1398 * shell/ev-window.c: (ev_window_dispose):
1400 Various small fixes, mostly memory leaks. Thanks to valgrind.
1402 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1404 * ps/ps-document.c: remove the locale.h include again ;-). And
1405 kill the (bogus) setlocale/savelocale business.
1407 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1411 Include locale.h to fix build
1413 * shell/ev-sidebar.c:
1415 Remove unnecessary includes
1417 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1419 * dvi/dvi-document.c: (dvi_document_load):
1420 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1423 Check for incorrect dvi files. Fix parsing dvi on AMD64
1424 platform. Thanks to tester@tester.ca (Olivier Crete).
1426 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1428 * shell/ev-page-action.c: (match_selected_cb),
1429 (display_completion_text), (match_completion), (update_model):
1430 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1431 (expand_open_links):
1432 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1433 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1434 (ev_sidebar_set_document):
1435 * shell/ev-window.c: (ev_window_xfer_job_cb),
1436 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1438 Fixed lot's of memory leaks, for example, memory leak on reload,
1439 described in bug 307793.
1441 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1443 * pdf/ev-poppler.cc:
1444 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1445 (update_visible_range), (adjustment_changed_cb),
1446 (ev_sidebar_thumbnails_fill_model),
1447 (ev_sidebar_thumbnails_refresh),
1448 (ev_sidebar_tree_selection_changed),
1449 (ev_sidebar_icon_selection_changed),
1450 (ev_sidebar_thumbnails_use_icon_view),
1451 (ev_sidebar_thumbnails_set_document):
1452 * shell/ev-sidebar-thumbnails.h:
1453 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1454 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1456 Refresh thumbnails when changing orientation. Not fully
1457 working yet becuase of a sidebar bug.
1459 Set page orientation to poppler page everywhere. This sucks
1460 really need to fix poppler.
1462 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1464 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1465 (egg_recent_view_gtk_new_menu_item),
1466 (egg_recent_view_gtk_set_property),
1467 (egg_recent_view_gtk_get_property),
1468 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1469 (egg_recent_view_gtk_set_tooltip_func),
1470 (egg_recent_view_gtk_set_label_width),
1471 (egg_recent_view_gtk_get_label_width):
1472 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1474 Sync with libegg (ellipsize labels)
1476 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1478 * data/evince-ui.xml:
1479 * shell/ev-window.c: (ev_window_cmd_go_forward),
1480 (ev_window_cmd_go_backward):
1482 Shift + PageUp moves 10 Pages. Fix for 306125
1484 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1486 * pdf/ev-poppler.cc:
1488 Add a flag to check if orientation has been overriden
1490 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1492 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1495 * ps/ps.h: add creator field to document.
1497 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1500 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1502 * data/evince-properties.glade:
1503 * shell/ev-properties.c: (ev_properties_set_document):
1505 s/PDF Version/Format
1507 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1509 * shell/ev-properties.c: (ev_properties_set_document):
1511 Remove unnecessary translations
1513 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1515 * cut-n-paste/toolbar-editor/Makefile.am:
1517 Correct library name
1519 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1522 * cut-n-paste/recent-files/egg-recent-model.c:
1523 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1524 (egg_recent_model_unlock_file):
1525 * cut-n-paste/recent-files/egg-recent-util.c:
1526 (egg_recent_util_get_unique_id):
1527 * cut-n-paste/recent-files/update-from-egg.sh:
1528 * cut-n-paste/toolbar-editor/Makefile.am:
1529 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1530 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1531 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1532 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1533 (egg_toolbars_model_get_type):
1534 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1536 Better makefile for toolbar editor and update everything
1539 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1541 * shell/ev-window.c: (update_document_mode):
1543 Prefer presentation mode when the document
1546 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1548 * data/evince-ui.xml:
1549 * shell/ev-window.c:
1551 Add control-equal for zooming
1553 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1555 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1557 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1559 * backend/ev-document.c: (ev_document_get_orientation):
1560 * backend/ev-document.h:
1561 * pdf/ev-poppler.cc:
1562 * ps/ps-document.c: (ps_document_get_orientation),
1563 (ps_document_set_orientation), (ps_document_document_iface_init):
1565 Add a get_orientation api. Improve set_orientation.
1567 * data/evince-ui.xml:
1568 * shell/ev-view.c: (ev_view_set_orientation),
1569 (ev_view_rotate_right), (ev_view_rotate_left):
1571 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1572 (ev_window_cmd_edit_rotate_right):
1574 Better ui for changing document orientation
1576 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1578 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1579 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1580 * shell/ev-sidebar-links.h:
1581 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1582 (ev_sidebar_page_iface_init):
1583 * shell/ev-sidebar-page.h:
1584 * shell/ev-sidebar-thumbnails.c:
1585 (ev_sidebar_thumbnails_get_property),
1586 (ev_sidebar_thumbnails_class_init),
1587 (ev_sidebar_thumbnails_set_document):
1588 * shell/ev-sidebar-thumbnails.h:
1589 * shell/ev-view.c: (ev_view_motion_notify_event):
1590 * shell/ev-window.c: (update_chrome_visibility),
1591 (ev_window_cmd_focus_page_selector),
1592 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1593 (sidebar_page_main_widget_update_cb), (ev_window_init):
1595 Autoraise toolbar on GoToPage binding and fix bindings in
1596 EvSidebarThumbnails page.
1598 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1600 * shell/ev-properties.c: (update_progress_label):
1602 Hide the progress label when finished; bug #307697.
1604 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1606 * pdf/ev-poppler.cc:
1608 Enable is_open for links, you will need poppler cvs
1610 * shell/ev-properties.c: (job_fonts_finished_cb):
1612 Get a lock on the document when filling the tree view
1614 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1616 * backend/ev-document-links.h:
1617 * pdf/ev-poppler.cc:
1618 * shell/ev-sidebar-links.c: (create_loading_model),
1619 (expand_open_links), (job_finished_callback):
1621 Expand links when specified by the document.
1622 Depend on a poppler api (defined out for now)
1624 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1626 * shell/ev-properties.c: (ev_properties_dispose),
1627 (ev_properties_class_init), (dialog_destroy_cb),
1628 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1629 (ev_properties_set_document), (ev_properties_new),
1630 (ev_properties_show):
1631 * shell/ev-properties.h:
1633 Make it an object, cleanup the code, api to show it as transient
1634 and to set the document.
1636 * shell/ev-window.c: (ev_window_setup_document),
1637 (ev_window_cmd_file_properties):
1639 Adapt to EvProperties changes, do not show multiple
1640 times, update it when document changes.
1642 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1645 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1646 (ps_document_set_orientation), (ps_document_document_iface_init):
1649 Implement orientation here too
1651 * shell/ev-properties.c: (ev_properties_new):
1652 * data/evince-properties.glade:
1654 Hide the fonts page for backends that doesnt
1657 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1659 * backend/ev-document.c: (ev_document_set_orientation):
1660 * backend/ev-document.h:
1661 * pdf/ev-poppler.cc:
1663 Add orientation api. Currently poppler api is not optimal,
1664 we need to set orientation every time we _get a page.
1665 I will try to fix that at some point.
1667 * data/evince-ui.xml:
1668 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1669 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1671 Add orientation menu items
1673 * shell/ev-page-cache.c: (ev_page_cache_clear):
1674 * shell/ev-page-cache.h:
1676 Add api to clear the cache
1678 * shell/ev-view.c: (setup_caches), (clear_caches),
1679 (ev_view_set_document), (ev_view_zoom_out),
1680 (ev_view_set_orientation):
1683 Implement orientation changing
1685 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1687 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1688 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1689 * backend/ev-document-fonts.h:
1691 Separate scan and fill so that we can incrementally fill from
1692 the main thread. Add a progress api.
1694 * data/evince-properties.glade:
1695 * pdf/ev-poppler.cc:
1696 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1698 * shell/ev-properties.c: (update_progress_label),
1699 (job_fonts_finished_cb), (setup_fonts_view):
1701 Incrementally feel the list and show the progress
1702 percentage in a label like acrobat does.
1704 You are going to need poppler cvs
1706 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1708 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1709 * backend/ev-document-fonts.h:
1710 * pdf/ev-poppler.cc:
1712 Make fonts model fill incrementally.
1714 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1715 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1716 (ev_job_queue_remove_job):
1717 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1718 (ev_job_fonts_new), (ev_job_fonts_run):
1721 New job for fonts scanning
1723 * shell/ev-properties.c: (job_fonts_finished_cb),
1724 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1725 * shell/ev-properties.h:
1726 * shell/ev-window.c: (ev_window_cmd_file_properties):
1728 Incrementally feel the treeview using the new job. Show Loading...
1729 message until scanning is completed.
1731 Hopefully I didnt break the build without the poppler patch.
1733 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1735 * shell/ev-application.c: (ev_application_open):
1736 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1737 (ev_document_type_get_type), (ev_document_type_lookup):
1738 * shell/ev-document-types.h:
1739 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1740 * shell/ev-job-xfer.h:
1741 * shell/ev-window.c: (ev_window_clear_local_uri),
1742 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1743 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1744 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1746 Transfer remote documents to tmp directory to display them later.
1748 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1750 * backend/ev-document-info.h:
1751 * shell/ev-properties.c: (ev_properties_new):
1753 s/GTime*/GTime. Not sure why we was using a pointer
1756 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1758 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1759 situations. That situation is that you're using GTK+-HEAD with
1760 the patch at #306726 is applied, and you have a document with <
1761 1500 pages in it. It's not quite as uniformly nice as the
1762 TreeView, but should be better in the long run.
1764 I'm pretty sure I guarded against breaking compilation with
1765 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1768 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1769 widget yet, so I commented that code out
1770 enable_view_actions_for_widget() for now. Need to figure this
1773 * shell/ev-page-action.c (match_selected_cb): emit the right
1774 signals. Our cool C-l completion now works.
1776 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1778 * backend/Makefile.am:
1779 * backend/ev-document-fonts.c:
1780 * backend/ev-document-links.c:
1781 * backend/ev-document.c: (ev_document_load):
1782 * backend/ev-document.h:
1783 * backend/ev-job-queue.c:
1784 * backend/ev-job-queue.h:
1785 * backend/ev-jobs.c:
1786 * backend/ev-jobs.h:
1787 * backend/ev-page-cache.c:
1788 * backend/ev-page-cache.h:
1790 EvPageCache and EvJobs are moved to shell.
1792 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1794 * lib/ev-file-helpers.h:
1796 New helper to work with temporary files
1798 * shell/Makefile.am:
1799 * shell/ev-application.c: (ev_application_open):
1800 * shell/ev-application.h:
1801 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1802 (remove_job_from_async_queue), (add_job_to_async_queue),
1803 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1804 (handle_job), (search_for_jobs_unlocked),
1805 (no_jobs_available_unlocked), (ev_render_thread),
1806 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1807 (ev_job_queue_add_job), (move_job_async), (move_job),
1808 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1809 * shell/ev-job-queue.h:
1810 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1811 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1812 * shell/ev-job-xfer.h:
1813 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1814 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1815 (ev_job_links_class_init), (ev_job_render_init),
1816 (ev_job_render_dispose), (ev_job_render_class_init),
1817 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1818 (ev_job_thumbnail_class_init), (ev_job_load_init),
1819 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1820 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1821 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1822 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1824 * shell/ev-page-action.c: (ev_page_action_set_document):
1825 * shell/ev-page-cache.c: (ev_page_cache_init),
1826 (ev_page_cache_class_init), (ev_page_cache_finalize),
1827 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1828 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1829 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1830 (ev_page_cache_get_title), (ev_page_cache_get_size),
1831 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1832 (ev_page_cache_get_height_to_page),
1833 (ev_page_cache_get_max_label_chars),
1834 (ev_page_cache_get_page_label),
1835 (ev_page_cache_has_nonnumeric_page_labels),
1836 (ev_page_cache_get_info), (ev_page_cache_next_page),
1837 (ev_page_cache_prev_page), (ev_page_cache_get):
1838 * shell/ev-page-cache.h:
1839 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1840 (ev_pixbuf_cache_clear_job_sizes),
1841 (ev_pixbuf_cache_add_jobs_if_needed),
1842 (ev_pixbuf_cache_set_page_range):
1843 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1844 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1845 * shell/ev-sidebar-thumbnails.c:
1846 (ev_sidebar_tree_selection_changed),
1847 (ev_sidebar_thumbnails_set_document):
1848 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1849 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1850 (ev_statusbar_get_context_id), (ev_statusbar_push),
1851 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1852 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1853 (ev_statusbar_set_progress):
1854 * shell/ev-statusbar.h:
1855 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1856 (ev_view_find_previous):
1857 * shell/ev-window.c: (ev_window_is_empty),
1858 (ev_window_setup_document), (password_dialog_response),
1859 (ev_window_clear_jobs), (ev_window_load_job_cb),
1860 (ev_window_xfer_job_cb), (ev_window_open_uri),
1861 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1862 (ev_window_print), (ev_window_print_range),
1863 (ev_window_state_event), (ev_window_cmd_view_reload),
1864 (menu_item_select_cb), (menu_item_deselect_cb),
1865 (view_status_changed_cb), (ev_window_dispose),
1866 (drag_data_received_cb), (ev_window_init):
1867 * shell/ev-window.h:
1868 * shell/main.c: (load_files):
1870 New statusbar to show progress on idle. Two new jobs -
1871 xfer job and load job to load document in background. And update
1872 of page_cache clients to new location of code.
1874 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1876 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1877 selection in open dialog. It also remembers the last visited directory
1878 in the current session.
1880 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1882 * shell/ev-properties.c: (ev_properties_new):
1883 * shell/ev-properties.h:
1884 * shell/ev-window.c: (ev_window_cmd_file_properties):
1886 Get document info from page cache instead of document itself.
1887 This should fix crash related to race conditions described in
1890 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1892 * ps/ps-document.c: (ps_document_init),
1893 (send_ps), (get_page_box), (output), (catchPipe), (input),
1894 (stop_interpreter), (file_length), (file_readable),
1895 (check_filecompressedb), (ps_document_enable_interpreter),
1896 (document_load), (ps_async_renderer_render_pixbuf):
1899 Big cleanup of the ps code
1901 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1903 * backend/Makefile.am:
1904 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1905 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1906 * backend/ev-async-renderer.h:
1908 Add an async renderer interface (method + callback) which
1909 is useful for backends like ps.
1911 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1912 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1913 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1914 (ev_job_queue_add_job), (move_job_async), (move_job),
1915 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1917 Add queues for async renderer, these are executed on the
1920 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1921 (ev_job_render_run):
1922 * backend/ev-jobs.h:
1924 If the backend support async renderer interface use it.
1926 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1927 (setup_pixmap), (ps_document_get_type),
1928 (ps_async_renderer_render_pixbuf),
1929 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1931 Implement async renderer interface.
1933 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1935 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1937 Cleanup links job on exit.
1939 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1941 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1942 (drag_data_get_cb), (drag_data_received_cb):
1943 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1944 (drag_data_get_cb), (parse_item_list),
1945 (egg_toolbar_editor_load_actions):
1946 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1947 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1948 (parse_item_list), (parse_toolbars):
1949 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1950 (dvi_pixbuf_put_pixel):
1952 Fix gcc 4.0 warnings
1954 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1956 * ps/ps-document.c: (start_interpreter):
1958 Fix warning when loading ps
1960 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1962 * ps/ps-document.c: (output):
1964 Fix crash when priting gs error messages.
1966 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1968 * backend/ev-page-cache.c: (_ev_page_cache_new):
1969 * backend/ev-page-cache.h:
1971 Use a const to return title so that we dont double
1972 free it. Small cleanup and fix a leak.
1974 * shell/ev-window.c: (update_window_title):
1976 strdup value from get_title.
1978 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1980 * shell/ev-sidebar-links.c: (job_finished_callback),
1981 (ev_sidebar_links_set_document):
1983 Cleanup the old job when changing document
1985 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1987 * shell/ev-stock-icons.c:
1988 * shell/ev-stock-icons.h:
1989 * shell/ev-window.c:
1991 Add stock icons for actions that can appear in toolbar. Fix for
1994 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1996 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1997 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1998 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1999 * backend/ev-page-cache.h:
2000 * shell/ev-view.c: (scroll_to_current_page),
2001 (view_update_range_and_current_page), (get_page_y_offset),
2002 (get_page_extents), (ev_view_size_request_continuous_dual_page),
2003 (ev_view_size_request_continuous),
2004 (ev_view_zoom_for_size_continuous_and_dual_page),
2005 (ev_view_zoom_for_size_continuous):
2007 More compact EvView layout in document with pages of different size.
2009 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2011 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2014 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2016 * shell/ev-view.c: (view_set_adjustment_values):
2017 * shell/ev-window.c: (ev_window_cmd_file_properties):
2019 A bit different fix for rounding problem but it has no
2020 problems on startup. Make properties window transient to parent.
2022 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2024 * pdf/ev-poppler.cc:
2026 More commenting of font stuff.
2028 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2030 * pdf/ev-poppler.cc:
2032 Comment out some more fonts stuff. Should really
2033 work without the poppler patch now.
2035 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2037 * pdf/ev-poppler.cc:
2041 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2043 * data/evince-properties.glade:
2044 * pdf/ev-poppler.cc:
2045 * shell/ev-properties.c: (setup_fonts_view):
2047 Set the column title. Show the dialog only
2048 once everything is setup.
2049 Getting font info can be very slow... will
2050 prolly need to make this threaded too.
2052 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2054 * backend/Makefile.am:
2055 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2056 (ev_document_fonts_get_fonts_model):
2057 * backend/ev-document-fonts.h:
2058 * data/evince-properties.glade:
2059 * pdf/ev-poppler.cc:
2060 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2061 * shell/ev-properties.h:
2062 * shell/ev-window.c: (ev_window_cmd_file_properties):
2064 Implement fonts list. Defined out for now, since it depends
2065 on a not yet committed poppler patch.
2067 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2069 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2072 * shell/ev-window.c: Make sure we add the timeout when we get a
2075 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2076 adjustment->value before calculating the zoom factor to average
2077 out all of our rounding errors. The page no longer 'drifts' when
2080 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2082 * data/evince-properties.glade:
2083 * shell/ev-properties.c: (ev_properties_format_date),
2086 Labels don't expand when the dialogue is resized.
2087 strftime result needs to be converted to UTF-8. Thanks
2088 to Christian Persch <chpe@gnome.org>.
2090 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2092 * data/evince-properties.glade:
2096 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2098 * backend/ev-document-info.h:
2099 * backend/ev-document.c: (ev_document_info_free):
2100 * data/evince-properties.glade:
2101 * pdf/ev-poppler.cc:
2102 * ps/ps-document.c: (ps_document_get_info):
2103 * shell/ev-properties.c: (ev_properties_format_date),
2104 (set_property), (ev_properties_new):
2105 * shell/ev-properties.h:
2106 * shell/ev-window.c: (ev_window_cmd_file_properties):
2108 Rework properties code to take only EvPropertyInfo
2109 in the constructor so that it can be useful for
2110 nautilus plugin too.
2112 Deal with backends that doesnt support some properties.
2113 Make set property code generic.
2115 2005-06-04 Christian Persch <chpe@gnome.org>
2117 * data/evince-properties.glade:
2119 fix spacings, make resizeable, and make data labels
2120 selectable + ellipsised
2122 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2124 * backend/ev-document-info.h:
2126 * data/evince-ui.xml:
2127 * pdf/ev-poppler.cc:
2128 * shell/Makefile.am:
2129 * shell/ev-window.c: (update_action_sensitivity),
2130 (ev_window_cmd_file_properties):
2132 Initial go at file properties. Patch by
2133 Emil Soleyman-Zomalan <emil@soleyman.com>.
2134 Needs love see #169583
2136 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2138 * ps/ps-document.c: (output):
2139 * ps/ps.c: (psscan):
2141 Try to render even if psscan fails.
2143 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2145 * ps/ps.c: (psscan), (pscopydoc):
2147 Port buffered reading code from gv
2149 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2151 * ps/ps-document.c: (interpreter_message), (output):
2153 Do not fail on interpreter messages
2155 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2157 * backend/ev-document-misc.c:
2158 (ev_document_misc_get_thumbnail_frame):
2160 Pages can be 0 x 0, dont assert on this case
2162 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2164 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2165 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2167 Correctly manage our reference on document. Finally the reload
2168 huge leak is gone...
2170 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2172 * ps/ps-document.c: (ps_document_dispose):
2174 Forgot to chain it to the parent. Thanks chpe.
2176 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2178 * ps/ps-document.c: (ps_document_dispose),
2179 (ps_document_class_init), (stop_interpreter), (document_load):
2181 Cleanup dispose a bit. Dont leak the whole pixmap.
2183 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2185 * pdf/ev-poppler.cc:
2187 Release the poppler document on dispose
2189 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2191 * shell/ev-view.c: (ev_view_set_document):
2193 Release ref on the pixbuf cache when changing
2196 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2198 * ps/ps-document.c: (ps_document_get_info):
2202 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2204 * backend/ev-page-cache.c: (ev_page_cache_init),
2205 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2206 * backend/ev-page-cache.h:
2207 * shell/ev-page-action.c: (page_changed_cb):
2209 Set page action entry width depending on labels width. Fix
2212 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2214 * backend/ev-link.c: (ev_link_class_init):
2216 Allow -1 as page value (error)
2218 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2220 * shell/ev-sidebar-thumbnails.c:
2221 (ev_sidebar_thumbnails_set_document):
2222 * shell/ev-view.c: (scroll_to_current_page),
2223 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2224 (page_changed_cb), (on_adjustment_value_changed),
2225 (ev_view_set_document):
2227 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2230 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2233 * djvu/djvu-document.c: (djvu_document_get_page_size):
2235 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2238 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2240 * shell/ev-view.c (draw_one_page): modify the expose handling to
2243 * shell/ev-window.c (update_action_sensitivity): Respect
2244 permissions field. Kowtow to the man.
2246 * pdf/ev-poppler.cc: Get the permissions field.
2248 * tiff/*c: Make a tiny bit more robust.
2250 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2252 * djvu/djvu-document.c:
2254 Pop messages from djvu context message queue.
2256 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2258 * configure.ac, Makefile.am, shell/Makefile.am:
2259 * tiff/Makefile.am, shell/ev-document-types.c:
2261 Cleanup tiff configure checks. Fix for bug 305218.
2263 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2265 * configure.ac: Added "uk" to ALL_LINGUAS.
2267 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2269 * cut-n-paste/zoom-control/ephy-zoom.c:
2270 (ephy_zoom_get_changed_zoom_level):
2271 * cut-n-paste/zoom-control/ephy-zoom.h:
2272 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2273 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2274 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2275 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2276 (zoom_control_changed_cb), (ev_window_init):
2278 Fix minor points related to moving best fit up. Introduce
2279 "zoom" property and make zoom control change it's value on
2280 notify::zoom signals. Fix for 305080.
2282 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2284 * data/evince-ui.xml:
2285 * shell/ev-window.c: (set_view_actions_sensitivity):
2287 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2289 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2293 Depends on poppler 0.3.2
2295 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2297 * cut-n-paste/recent-files/egg-recent-item.c:
2298 (egg_recent_item_get_short_name):
2299 * cut-n-paste/toolbar-editor/Makefile.am:
2300 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2301 (new_pixbuf_from_widget):
2302 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2303 * cut-n-paste/toolbar-editor/egg-marshal.c:
2304 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2305 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2309 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2311 * tiff/tiff-document.c: Rough TIFF backend.
2313 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2317 * cut-n-paste/toolbar-editor/Makefile.am:
2321 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2323 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2324 (ev_view_find_next), (ev_view_find_previous):
2326 Remove the locks around get_n_results
2328 2005-05-21 Juerg Billeter <j@bitron.ch>
2330 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2332 Pass correct number of pages to poppler.
2334 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2338 * data/evince.desktop.in:
2339 * data/evince.desktop.in.in:
2342 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2344 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2346 * shell/ev-view.c: (view_update_adjustments),
2347 (view_set_adjustment_values): cast adjustmen->value to (int)
2348 before using it. Otherwise, we get off by a pixel in some
2351 (draw_one_page): Draw the border on expose.
2353 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2355 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2356 adjustment when the mode changes, #304923
2358 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2360 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2361 flickering on resize but still use gdk_window_scroll on
2364 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2366 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2369 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2371 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2372 second page on page_changed if possible, #304669
2374 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2376 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2377 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2379 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2382 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2383 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2384 (ev_view_zoom_for_size_presentation),
2385 (ev_view_zoom_for_size_continuous_and_dual_page),
2386 (ev_view_zoom_for_size_continuous),
2387 (ev_view_zoom_for_size_dual_page),
2388 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2390 * shell/ev-window.c: (update_view_size),
2391 (ev_window_sizing_mode_changed_cb):
2393 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2394 the scrollbars. It's not 100% right, but it's much closer. Kills
2395 an infinite loop, #304769
2398 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2400 * data/evince-ui.xml:
2401 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2402 * shell/ev-window.c: (set_view_actions_sensitivity):
2404 Make PgUp/Down behave like Space
2406 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2408 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2409 * backend/ev-ps-exporter.h:
2410 * pdf/ev-poppler.cc:
2411 * ps/ps-document.c: (ps_document_ps_export_begin):
2412 * shell/ev-print-job.c: (idle_print_handler):
2414 Adapt to new poppler api
2416 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2418 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2419 (ephy_zoom_control_init):
2421 Translate zoom levels
2423 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2425 * cut-n-paste/zoom-control/ephy-zoom.c:
2426 (ephy_zoom_get_zoom_level_index):
2428 Fix current zoom -> zoom control match
2430 2005-05-18 James Bowes <bowes@cs.dal.ca>
2432 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2433 rather than the scrolled_window that it's in. Fixes bug #304655.
2435 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2437 * shell/ev-view.c: (view_update_adjustments),
2438 (view_set_adjustment_values), (view_update_range_and_current_page),
2439 (view_scroll_to_page), (set_scroll_adjustment),
2440 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2441 (ev_view_scroll), (ev_view_scroll_view),
2442 (ensure_rectangle_is_visible), (find_page_at_location),
2443 (get_link_at_location), (go_to_link), (status_message_from_link),
2444 (ev_view_size_request_continuous_dual_page),
2445 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2446 (ev_view_unrealize), (ev_view_expose_event),
2447 (ev_view_button_press_event), (ev_view_motion_notify_event),
2448 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2449 (draw_rubberband), (highlight_find_results), (draw_one_page),
2450 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2451 (ev_view_init), (find_changed_cb), (page_changed_cb),
2452 (on_adjustment_value_changed), (ev_view_new),
2453 (ev_view_set_document), (ev_view_set_zoom),
2454 (ev_view_set_continuous), (ev_view_set_dual_page),
2455 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2456 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2457 (ev_view_zoom_for_size_presentation),
2458 (ev_view_zoom_for_size_continuous_dual_page),
2459 (ev_view_zoom_for_size_continuous),
2460 (ev_view_zoom_for_size_dual_page),
2461 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2462 (ev_view_get_status), (ev_view_set_status),
2463 (update_find_status_message), (ev_view_get_find_status),
2464 (ev_view_set_find_status), (jump_to_find_result),
2465 (jump_to_find_page), (compute_selections), (clear_selection),
2466 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2467 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2468 (ev_view_update_primary_selection),
2469 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2471 * shell/ev-window.c: (ev_window_open_page_label),
2472 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2474 * shell/ev-window.h:
2475 * shell/main.c: (load_files):
2477 Massive code clean up from Nickolay Shmyrev. Keep page offset
2478 when resizing. Remove the bin_window(). Also, patch from James
2479 Bowes to fix command line page, #300641
2481 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2483 * data/evince-ui.xml:
2486 * shell/ev-window.c: (update_action_sensitivity):
2488 Get rid of View->Normal Size, it's just confusing
2490 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2492 * backend/ev-document-info.h:
2493 * backend/ev-document.c: (ev_document_info_free): Free the
2496 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2497 (clear_range), (add_range), (update_visible_range),
2498 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2499 (ev_sidebar_thumbnails_set_document):
2500 * shell/ev-window.c: (ev_window_setup_document): Only render the
2501 visible thumbnails. It takes an instant to render, but it uses
2504 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2506 * shell/ev-sidebar-links.c: (popup_menu_cb):
2510 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2513 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2514 (button_press_cb), (ev_sidebar_links_construct):
2516 Show the popup menu also on keybindings
2518 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2520 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2521 * shell/ev-window.h:
2523 Expose api to print a range (with dialog). Make private _print use
2526 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2527 (ev_sidebar_links_construct):
2529 Show a print context menu on linkx, it prints the selected
2532 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2534 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2537 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2543 * shell/ev-window.c: (build_comments_string),
2544 (ev_window_cmd_help_about):
2546 Show poppler version/backend and authors
2548 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2550 * cut-n-paste/zoom-control/ephy-zoom.c:
2551 (ephy_zoom_get_zoom_level_index):
2552 * cut-n-paste/zoom-control/ephy-zoom.h:
2554 Move the best fit items at the top of the list
2556 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2558 * shell/ev-marshal.list:
2559 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2560 (activate_cb), (match_selected_cb), (activate_link_cb),
2561 (connect_proxy), (ev_page_action_class_init):
2562 * shell/ev-page-action.h:
2564 Use signals to notify action activation. Hopefully
2565 I did not break completion since I cant test...
2567 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2568 (register_custom_actions):
2570 Connect to page selector actions and also grab focus on
2571 the view when activated.
2573 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2575 * pdf/ev-poppler.cc:
2576 * backend/ev-page-cache.c: make page size calculation consistent
2577 and set it to (int)( width * scale + 0.5). This makes the weird
2578 line going through the middle of the page go away.
2580 * shell/ev-view.c: move painting the background page after
2581 checking the expose area covers us.
2583 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2585 * data/evince-password.glade:
2587 Mark labels as not translatable. Fix for bug 302842.
2589 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2591 * configure.ac: Added "es" to ALL_LINGUAS.
2593 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2595 * data/evince-toolbar.xml:
2596 * shell/ev-window.c: (update_action_sensitivity),
2597 (ev_window_setup_document), (ev_window_set_page_mode),
2600 Remove some leftover code from jrb first continous
2601 attempt. Use the new actions, we still need good icons
2604 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2606 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2608 Update label when connecting proxy. Fix a warning with NULL
2611 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2613 * data/evince-ui.xml:
2614 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2615 * shell/ev-page-action.h:
2616 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2618 Add mnemonic for edit toolbar.
2619 ctrl+l focus the page entry.
2621 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2624 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2626 * shell/main.c: (main):
2628 Put the toolbar xml in evince own dot dir
2630 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2632 * shell/ev-window.c: (ev_window_init):
2634 Make the toolbar not removable
2636 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2638 * data/evince-ui.xml:
2639 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2640 * shell/ev-sidebar-links.h:
2641 * shell/ev-sidebar-thumbnails.c:
2642 (ev_sidebar_thumbnails_get_treeview):
2643 * shell/ev-sidebar-thumbnails.h:
2644 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2645 (ev_view_class_init):
2647 * shell/ev-window.c: (update_action_sensitivity),
2648 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2649 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2650 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2653 This is evil... Make space/backspace global accelerators but
2654 enable them only for some widgets (sidebars and view).
2655 I dont like it, but I dont know a better way... :/
2657 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2659 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2660 (ev_page_action_widget_finalize),
2661 (ev_page_action_widget_class_init), (update_page_cache):
2663 Keep a weak reference on proxy->page_cache so that we
2664 dont try to disconnect the signal if the object is already
2665 gone. Maybe there is a better way to cleanup reference handling
2666 in page action though...
2668 2005-05-10 Juerg Billeter <j@bitron.ch>
2670 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2671 * backend/ev-ps-exporter.h:
2672 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2673 * ps/ps-document.c: (ps_document_ps_export_begin):
2675 Change api to pass print range to ps_exporter_begin. The pdf backend
2676 requires this information.
2678 * shell/ev-print-job.c: (idle_print_handler):
2682 2005-05-10 Juerg Billeter <j@bitron.ch>
2684 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2685 (idle_print_handler)
2686 * shell/ev-window.c: (ev_window_print):
2688 Support printing page range, based on patch by Amaury Jacquot
2690 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2692 * data/evince-toolbar.xml:
2694 Add zoom control to available items
2696 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2698 * shell/ev-window.c: (update_action_sensitivity):
2700 Set slash action insensitive when appropriate
2702 2005-05-10 Christian Persch <chpe@gnome.org>
2704 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2706 Fix warning on the overflow menu
2708 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2710 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2712 Check for uri correctness/existence
2714 2005-05-09 Juerg Billeter <j@bitron.ch>
2716 * shell/ev-window.c: (using_postscript_printer):
2718 LPD printers use postscript, too
2720 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2722 * shell/ev-window.c: (register_custom_actions):
2724 The zoom one is actually sort of useful,
2727 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2729 * shell/ev-window.c: (register_custom_actions):
2731 Hide page/zoom controls from overflow, they
2734 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2736 * cut-n-paste/update-from-egg.sh:
2738 Share it between all cut-n-paste subdirs
2740 * cut-n-paste/recent-files/Makefile.am:
2742 Fix to use "global" update-from-egg.sh
2744 * cut-n-paste/recent-files/egg-recent-model.c:
2745 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2746 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2747 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2748 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2752 * cut-n-paste/toolbar-editor/Makefile.am:
2754 Fix to use "global" update-from-egg.sh
2756 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2760 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2763 * cut-n-paste/Makefile.am:
2764 * cut-n-paste/recent-files/Makefile.am:
2765 * cut-n-paste/toolbar-editor/.cvsignore:
2766 * cut-n-paste/toolbar-editor/Makefile.am:
2767 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2768 (egg_editable_toolbar_get_type), (get_toolbar_position),
2769 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2770 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2771 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2772 (set_item_drag_source), (create_item_from_action), (create_item),
2773 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2774 (popup_toolbar_context_menu_cb), (free_dragged_item),
2775 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2776 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2777 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2778 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2779 (item_added_cb), (item_removed_cb),
2780 (egg_editable_toolbar_construct),
2781 (egg_editable_toolbar_disconnect_model),
2782 (egg_editable_toolbar_deconstruct),
2783 (egg_editable_toolbar_set_model),
2784 (egg_editable_toolbar_set_ui_manager),
2785 (egg_editable_toolbar_set_property),
2786 (egg_editable_toolbar_get_property),
2787 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2788 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2789 (egg_editable_toolbar_new_with_model),
2790 (egg_editable_toolbar_get_edit_mode),
2791 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2792 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2793 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2794 (new_pixbuf_from_widget), (new_separator_pixbuf),
2795 (update_separator_image), (style_set_cb),
2796 (_egg_editable_toolbar_new_separator_image),
2797 (egg_editable_toolbar_get_model):
2798 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2799 * cut-n-paste/toolbar-editor/egg-marshal.c:
2800 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2801 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2802 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2803 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2804 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2805 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2806 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2807 (editor_drag_data_delete_cb), (drag_data_get_cb),
2808 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2809 (editor_create_item), (update_editor_sheet), (setup_editor),
2810 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2811 (parse_item_list), (model_has_action), (update_actions_list),
2812 (egg_toolbar_editor_load_actions):
2813 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2814 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2815 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2816 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2817 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2818 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2819 (egg_toolbars_model_add_separator), (impl_add_item),
2820 (parse_item_list), (egg_toolbars_model_add_toolbar),
2821 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2822 (impl_get_item_data), (impl_get_item_type),
2823 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2824 (egg_toolbars_model_init), (free_toolbar),
2825 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2826 (egg_toolbars_model_remove_toolbar),
2827 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2828 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2829 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2830 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2831 (egg_toolbars_model_get_item_data),
2832 (egg_toolbars_model_get_item_type):
2833 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2834 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2836 * data/evince-toolbar.xml:
2837 * data/evince-ui.xml:
2838 * data/hand-open.png:
2840 * shell/Makefile.am:
2841 * shell/ev-window.c: (update_chrome_visibility),
2842 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2843 (ev_window_dispose), (ev_window_init):
2845 Implement epiphany like toolbar editor. Based on patch by
2846 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2848 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2850 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2852 Use set_cursor instead of set_selection, so that
2853 the keyboard focus moves too.
2855 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2857 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2859 Fix infinite loop when loading Type1 fonts
2861 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2863 * data/evince-ui.xml:
2864 * shell/ev-window.c:
2868 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2872 Make --disable really disable
2874 2005-05-07 Juerg Billeter <j@bitron.ch>
2876 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2878 Compare page labels even without has_labels set, fixes setting page
2881 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2883 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2884 (ev_view_set_cursor), (ev_view_button_press_event),
2885 (ev_view_motion_notify_event), (ev_view_button_release_event),
2888 Implement middle button scrolling. Based on a patch
2889 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2891 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2893 * shell/ev-document-types.c: (get_slow_mime_type),
2894 (get_document_type_from_mime), (ev_document_type_lookup):
2895 * shell/ev-document-types.h:
2897 Change api to lookup from uri. Do fast lookup first, if the
2898 type is unknown try with data sniffing.
2900 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2901 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2905 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2907 * thumbnailer/Makefile.am:
2911 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2918 * data/evince-ui.xml:
2920 Hide presentation mode for now
2922 * shell/ev-view.c: (highlight_find_results):
2924 Show current find selection only on current page
2926 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2928 * shell/ev-view.c: (ev_view_select_all):
2930 Compute size of the actual page, not of
2933 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2935 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2936 (view_rect_to_doc_rect), (compute_selections),
2937 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2938 (ev_view_copy), (ev_view_primary_get_cb),
2939 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2940 (ev_view_button_press_event), (ev_view_motion_notify_event),
2941 (ev_view_button_release_event), (page_changed_cb):
2945 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2947 * shell/ev-view.c: (compute_border), (get_page_extents),
2948 (doc_rect_to_view_rect), (highlight_find_results),
2949 (ev_view_bin_expose), (ev_view_select_all),
2950 (ev_view_motion_notify_event), (update_find_status_message),
2951 (jump_to_find_result), (jump_to_find_page):
2953 First go at fixing search, still buggy
2955 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2957 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2958 dropdown box and button at the top of the sidebar.
2960 2005-05-02 James Bowes <bowes@cs.dal.ca>
2962 * configure.ac: Output zoom-control Makefile.
2963 * cut-n-paste/Makefile.am: build zoom-control subdir.
2964 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2965 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2966 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2967 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2968 * cut-n-paste/zoom-control/ephy-zoom.c:
2969 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2970 from epiphany, and modified to add a separator into the menu.
2971 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2972 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2973 zoom-control action.
2974 * shell/Makefile.am: Include zoom-control flags.
2975 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2976 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2977 (ev_view_zoom_for_size_presentation),
2978 (ev_view_zoom_for_size_continuous_and_dual_page),
2979 (ev_view_zoom_for_size_continuous),
2980 (ev_view_zoom_for_size_dual_page),
2981 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2982 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2983 ev_view_get_zoom and ev_view_get_sizing_mode.
2985 * shell/ev-window.c: (update_action_sensitivity),
2986 (update_sizing_buttons), (zoom_control_changed_cb),
2987 (register_custom_actions): Initialize and use the zoom-control
2990 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2992 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2993 preview cache back to 1. Don't know when it got set to 0.
2995 * shell/ev-view.c: (compute_border), (ev_view_realize),
2996 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2997 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2998 (ev_view_get_fullscreen), (ev_view_set_presentation),
2999 (ev_view_get_presentation), (ev_view_set_sizing_mode),
3000 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
3002 * shell/ev-window.c:
3003 (update_chrome_visibility),
3004 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3005 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3006 (update_document_mode), (ev_window_update_fullscreen_action),
3007 (ev_window_fullscreen), (ev_window_unfullscreen),
3008 (ev_window_cmd_view_fullscreen),
3009 (ev_window_update_presentation_action),
3010 (ev_window_run_presentation), (ev_window_stop_presentation),
3011 (ev_window_cmd_view_presentation), (ev_window_state_event),
3012 (ev_window_focus_in_event), (ev_window_focus_out_event),
3013 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3014 * data/evince-ui.xml: Initial presentation mode. We should
3015 probably hide this until it's done, as it's quite rough. Also,
3016 change full-screen to fullscreen and add two getters to EvView.
3018 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3020 * shell/ev-page-action.c: (update_page_cache),
3021 (ev_page_action_dispose):
3022 * shell/ev-window.c: (destroy_fullscreen_popup),
3023 (ev_window_create_fullscreen_popup):
3025 Use connect_object rather than explicitly
3026 disconnect on dispose.
3028 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3030 * shell/ev-page-action.c: (update_page_cache),
3031 (ev_page_action_dispose):
3033 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3035 * backend/ev-page-cache.c: (_ev_page_cache_new),
3036 (ev_page_cache_set_page_label),
3037 (ev_page_cache_has_nonnumeric_page_labels):
3038 * backend/ev-page-cache.h:
3039 * shell/ev-page-action.c: (update_pages_label):
3041 If all page labels are numeric, fallback to default
3042 way to display number of pages. See bug 173185.
3044 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3046 * shell/ev-page-action.c: (ev_page_action_dispose):
3047 * shell/ev-view.c: (view_update_range_and_current_page):
3048 * shell/ev-window.c: (ev_window_dispose):
3050 Set page on scroll in continuous mode. Fixes bug 301986.
3051 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3053 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3057 Require poppler 0.3.0
3059 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3061 * shell/Makefile.am, configure.ac: Fix build problems
3062 with t1lib. Bug 301996.
3064 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3066 * shell/ev-view.c: (ev_view_scroll_event):
3068 Scroll up increase zoom
3070 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3072 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3073 (ev_view_set_sizing_mode),
3074 (ev_view_zoom_for_size_continuous_and_dual_page),
3075 (ev_view_zoom_for_size_continuous):
3076 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3077 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3078 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3081 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3082 Fix for 165473 and 165472.
3084 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3087 * thumbnailer/Makefile.am:
3088 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3089 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3090 * thumbnailer/evince-thumbnailer.schemas.in:
3092 Make thumbnailer schemas translatable. Fix for bug 301773
3094 * thumbnailer/evince-thumbnailer-djvu.schemas:
3095 * thumbnailer/evince-thumbnailer-dvi.schemas:
3096 * thumbnailer/evince-thumbnailer.schemas:
3100 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3102 * shell/ev-view.c (ev_view_init): forgot to set this.
3104 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3106 * shell/ev-view.c: (find_page_at_location),
3107 (get_link_at_location),
3108 (ev_view_set_show_border), (ev_view_set_spacing),
3109 (ev_view_zoom_for_size_continuous_and_dual_page),
3110 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3111 Also, add a quick fix measuring of widths. Also, removed
3112 ev_view_set_spacing and ev_view_set_show_border.
3114 * shell/ev-window.c: (ev_window_unfullscreen),
3115 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3117 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3119 * shell/ev-view.c: (view_update_range_and_current_page),
3122 Fix crash on exit and scrolling to page in continuous view.
3124 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3127 * backend/ev-page-cache.c: (_ev_page_cache_new),
3128 (ev_page_cache_get_max_width_size),
3129 (ev_page_cache_get_max_height_size):
3130 * backend/ev-page-cache.h:
3131 * data/evince-ui.xml:
3132 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3133 * shell/ev-view.c: (view_update_adjustments),
3134 (view_update_range_and_current_page), (get_bounding_box_size),
3135 (ev_view_size_request_continuous_and_dual_page),
3136 (ev_view_size_request_continuous),
3137 (ev_view_size_request_dual_page),
3138 (ev_view_size_request_single_page), (ev_view_size_request),
3139 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3140 (ev_view_bin_expose), (ev_view_expose_event),
3141 (ev_view_set_property), (ev_view_get_property),
3142 (ev_view_class_init), (ev_view_init), (ev_view_new),
3143 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3144 (ev_view_set_dual_page), (ev_view_set_full_screen),
3145 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3146 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3147 (ev_view_zoom_out), (zoom_for_size_fit_width),
3148 (zoom_for_size_best_fit),
3149 (ev_view_zoom_for_size_continuous_and_dual_page),
3150 (ev_view_zoom_for_size_continuous),
3151 (ev_view_zoom_for_size_dual_page),
3152 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3153 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3155 * shell/ev-window.c: (update_action_sensitivity),
3156 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3157 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3158 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3159 (ev_window_cmd_view_zoom_out), (update_view_size),
3160 (ev_window_set_sizing_mode), (ev_window_init):
3162 Add Continuous and Dual page modes.
3164 2005-04-23 James Bowes <bowes@cs.dal.ca>
3166 * dvi/dvi-document.c: (dvi_document_load),
3167 (dvi_document_thumbnails_get_thumbnail),
3168 (dvi_document_init_params): Fix up some mixups between
3169 width and height to correct thumbnail rendering.
3171 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3173 * dvi/mdvi-lib/private.h:
3174 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3176 Suppess output for kpathsea during font generation. Thanks to
3179 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3186 * Makefile.am: fix distcheck.
3188 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3190 * shell/ev-sidebar-links.c: (selection_changed_callback),
3191 (update_page_callback), (row_activated_callback),
3192 (job_finished_callback), (ev_sidebar_links_set_document):
3194 Fix for bug #169901. Double click on links expands tree.
3196 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3198 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3199 hard-coded style. Fix for bug 170111
3201 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3203 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3206 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3208 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3210 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3212 * pdf/ev-poppler.cc:
3213 * shell/ev-view.c: (highlight_find_results):
3215 Fix find on single page documents
3217 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3219 * data/evince.schemas.in: fix for bug 301390
3221 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3223 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3224 (ev_view_zoom_out), (ev_view_zoom_normal):
3226 * shell/ev-window.c: (update_action_sensitivity),
3227 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3228 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3229 (ev_window_cmd_view_normal_size):
3231 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3232 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3235 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3239 Depend on 2.57, 2.59 doesnt seem to be necessary
3241 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3243 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3246 Put back total number of pages as (1 of 1234)
3248 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3250 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3253 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3254 function. This helps debugging.
3256 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3258 * djvu/djvu-document.c: (djvu_document_class_init),
3259 (djvu_document_get_info), (djvu_document_document_iface_init):
3260 * dvi/dvi-document.c: (dvi_document_class_init),
3261 (dvi_document_get_info), (dvi_document_document_iface_init):
3263 Dummy implementation of get_info method for dvi and djvu. Fix
3264 crashes with those backends
3266 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3268 * data/evince.desktop.in:
3270 Add application/x-gzpostscript
3272 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3274 * data/evince.schemas.in: Added real long descriptions,
3277 * README: Added actual text, closes bug 171869
3279 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3281 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3285 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3287 * backend/ev-document-info.h:
3289 s/GDate */GDate so we can just use g_free
3291 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3293 * shell/ev-window.c: (update_document_mode),
3294 (ev_window_setup_document):
3296 Show the window in fullscreen when specified by
3299 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3301 * backend/ev-document.c: (ev_document_class_init),
3302 (ev_document_get_info), (ev_document_render_pixbuf):
3303 * backend/ev-document.h:
3304 * backend/ev-page-cache.c: (_ev_page_cache_new):
3305 * pdf/ev-poppler.cc:
3306 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3307 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3308 * ps/ps-document.c: (ps_document_class_init), (document_load),
3309 (ps_document_get_info), (ps_document_document_iface_init):
3311 Remove get_title from the interface, we can just use document info
3313 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3315 * backend/Makefile.am:
3316 * backend/ev-document.c: (ev_document_render_get_info):
3317 * backend/ev-document.h:
3318 * pdf/ev-poppler.cc:
3320 Initial support for document info. Based on jrb patch.
3322 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3324 * shell/ev-window.c: (ev_window_state_event),
3325 (ev_window_class_init), (ev_window_init):
3327 Doesn't show resize grip when maximized. See bug #301053
3329 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3333 ev-sidebar-thumbnails now has translatable labels
3335 * shell/Makefile.am:
3336 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3337 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3338 (ev_sidebar_links_page_iface_init):
3339 * shell/ev-sidebar-links.h:
3340 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3341 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3342 (ev_sidebar_page_get_label):
3343 * shell/ev-sidebar-page.h:
3344 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3345 (ev_sidebar_thumbnails_set_document),
3346 (ev_sidebar_thumbnails_support_document),
3347 (ev_sidebar_thumbnails_get_label),
3348 (ev_sidebar_thumbnails_page_iface_init):
3349 * shell/ev-sidebar-thumbnails.h:
3350 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3351 (ev_sidebar_set_document):
3352 * shell/ev-sidebar.h:
3353 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3355 Small rework of sidebar code. Now sidebar pages should implement
3356 EvSidebarPage interface. That makes page management in EvSidebar
3357 easier. See bug #164811 for details
3359 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3361 * shell/ev-application.c: (ev_application_open):
3362 * shell/ev-document-types.c:
3364 Fix build error and small problem with application exit
3366 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3368 * thumbnailer/Makefile.am:
3369 * thumbnailer/evince-thumbnailer-djvu.schemas:
3370 * thumbnailer/evince-thumbnailer-dvi.schemas:
3372 Conditionally install schemas for djvu/dvi thumbnailer
3374 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3376 * shell/ev-document-types.h:
3377 * shell/ev-document-types.c:
3378 New files, handling the mapping from mimetypes to backends
3380 * shell/ev-window.c:
3381 * thumbnailer/evince-thumbnailer.c:
3382 Use the ev-document-types code
3384 * shell/Makefile.am:
3385 Added new convenience library libevbackendfactory_la, containing
3386 the new mimetype->backend logic; moved the backends into it.
3388 * thumbnailer/Makefile.am:
3389 Make the thumbnailer link with the libevbackend.la convenience
3390 library, rather than having a duplicate of the backend logic here.
3392 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3394 * shell/ev-stock-icons.c: constify some vars.
3395 * shell/ev-window.c: ditto.
3397 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3399 * ps/ps-document.c (get_page_orientation):
3401 Respect document orientation
3403 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3407 * shell/Makefile.am:
3409 Move library dependencies to components.
3411 * shell/ev-window.c: (update_window_title),
3412 (start_loading_document):
3414 Fix display of uris with spaces. Bug 168358.
3416 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3418 * shell/ev-sidebar-links.c: (selection_changed_cb):
3419 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3420 (ev_view_button_release_event), (ev_view_set_document):
3422 * shell/ev-window.c: (find_bar_search_changed_cb):
3423 * shell/ev-window.h: Minor cleanups removing some dead code.
3425 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3427 * backend/ev-page-cache.c: (_ev_page_cache_new):
3429 Set current page to 0 if document has pages.
3431 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3433 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3435 Initialize GError to NULL, fix a crash when loading fails.
3437 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3439 * shell/ev-window.c: (update_view_size):
3441 Calculate shadow size only when there is actually
3444 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3446 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3449 Allow setting view spacing, default to 0
3451 * shell/ev-window.c: (ev_window_unfullscreen),
3452 (ev_window_cmd_view_fullscreen), (ev_window_init):
3454 Remove spacing in fullscreen mode
3456 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3458 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3459 (ev_view_size_request), (expose_bin_window),
3460 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3462 * shell/ev-window.c: (ev_window_unfullscreen),
3463 (ev_window_cmd_view_fullscreen):
3465 Do not draw the border in fulscreen
3467 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3469 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3470 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3471 (find_page_at_location), (page_changed_cb):
3473 Rework border calculation, so that I can more easily disable it.
3474 Code somewhat cleaner too.
3476 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3478 * backend/ev-page-cache.c: (ev_page_cache_init),
3479 (_ev_page_cache_new):
3481 Remove some assertions, documents can have 0 pages.
3482 Make initial current page -1.
3484 * shell/ev-page-action.c: (page_changed_cb):
3486 Show "" if current page is -1
3488 * shell/ev-window.c: (update_action_sensitivity),
3489 (ev_window_setup_document):
3491 When document has 0 pages do not set the view
3492 and make nearly everything insensitive.
3494 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3496 * shell/ev-page-view.c:
3497 * shell/ev-page-view.h:
3499 Remove unused files.
3501 * shell/ev-sidebar-thumbnails.c:
3502 (ev_sidebar_thumbnails_set_document):
3503 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3504 (ev_sidebar_supports_document):
3505 * shell/ev-sidebar.h:
3506 * shell/ev-window.c: (ev_window_setup_document):
3508 Doesn't show thumbnails if document has 1 page. Make
3509 sidebar menu entries sensitive only if if they have
3510 sense. Fix bug 164811.
3512 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3514 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3515 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3516 (ev_view_zoom_out), (ev_view_set_size):
3518 Rework sizing to deal with documents with not uniform page
3521 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3523 * backend/ev-page-cache.c: (_ev_page_cache_new):
3525 Fix several page size caching bugs
3527 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3529 * shell/ev-window.c: (set_action_properties):
3531 Make all toolbar items translatable
3533 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3535 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3536 (save_page_list), (ps_document_save),
3537 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3538 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3539 (ps_document_ps_exporter_iface_init):
3542 Based on a patch by J�rg Billeter <j@bitron.ch>
3544 Implement print and save a copy for the ps backend.
3546 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3548 * backend/ev-document.h:
3549 * djvu/djvu-document.c: (djvu_document_can_get_text),
3550 (djvu_document_document_iface_init):
3551 * dvi/dvi-document.c: (dvi_document_can_get_text),
3552 (dvi_document_document_iface_init):
3553 * pdf/ev-poppler.cc:
3554 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3555 (pixbuf_document_document_iface_init):
3556 * ps/ps-document.c: (ps_document_can_get_text),
3557 (ps_document_document_iface_init):
3558 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3559 * shell/ev-window.c: (update_action_sensitivity):
3561 Fix the crash when trying to copy in backends that doesnt
3562 support it. We can implement a better solution once we
3563 do real text selection.
3565 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3567 * data/evince-ui.xml:
3568 * shell/ev-window.c: (ev_window_cmd_escape):
3570 Work around the Escape conflict (find bar and unfullscreen)
3572 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3574 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3576 Fix for #300233. Next page correctly handles document end.
3578 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3579 (ev_sidebar_thumbnails_class_init),
3580 (ev_sidebar_thumbnails_set_document),
3581 (ev_sidebar_thumbnails_clear_job),
3582 (ev_sidebar_thumbnails_clear_model):
3584 Cleanup thumbnail jobs on document changes.
3586 * shell/ev-view.c: (add_scroll_binding_keypad),
3587 (add_scroll_binding_shifted), (ev_view_class_init):
3589 Shift + Space scrolls up. Fix for #173184
3591 * shell/ev-window.c: (ev_window_open_page),
3592 (ev_window_cmd_view_reload):
3594 Fix reload (Bug #300094)
3596 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3599 * dvi/mdvi-lib/assoc.c:
3600 * dvi/mdvi-lib/assoc.h: Removed garbage files
3602 * dvi/mdvi-lib/bitmap.c:
3603 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3604 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3605 * dvi/mdvi-lib/color.h: Antialias of rules
3607 * dvi/mdvi-lib/common.h:
3608 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3609 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3610 * dvi/mdvi-lib/files.c:
3611 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3612 * dvi/mdvi-lib/mdvi.h:
3613 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3614 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3615 * dvi/mdvi-lib/util.c: Fix compile warnings
3617 * dvi/dvi-document.c:
3618 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3619 (dvi_document_thumbnails_get_thumbnail),
3620 (dvi_document_document_thumbnails_iface_init):
3621 * dvi/mdvi-lib/Makefile.am:
3622 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3623 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3625 Dvi backend now renders thumbnails
3627 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3629 * shell/main.c: (main):
3631 Save accelerators on exit. Fixes bug #172095.
3633 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3635 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3636 update priority" comment.
3638 * backend/ev-job-queue.c: Give a way to change priority.
3640 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3642 * shell/ev-page-action.c: Fix logic.
3644 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3646 * shell/ev-view.c: (ev_view_can_find_next):
3647 * shell/ev-window.c: (ev_window_setup_document):
3649 Check that the document supports find
3651 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3653 * data/evince-ui.xml:
3654 * shell/ev-view.c: (ev_view_can_find_next):
3656 * shell/ev-window.c: (update_action_sensitivity),
3657 (find_changed_cb), (ev_window_setup_document),
3658 (ev_window_cmd_edit_find_next):
3662 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3664 * pdf/ev-poppler.cc:
3665 * shell/ev-print-job.c: (idle_print_handler):
3667 Make printing work again
3669 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3671 * shell/ev-page-action.h:
3672 * shell/ev-page-action.c: (ev_page_action_widget_init),
3673 (ev_page_action_widget_class_init), (page_changed_cb),
3674 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3675 (get_filter_model_from_model), (match_selected_cb),
3676 (display_completion_text), (match_completion), (update_model),
3677 (connect_proxy), (ev_page_action_set_property),
3678 (ev_page_action_get_property), (ev_page_action_set_document),
3679 (ev_page_action_set_model), (ev_page_action_class_init): Big
3680 reworking to make completions work iff we have >= GTK-2.7.0
3682 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3683 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3684 (job_finished_cb): We now have a 'model' property that is set when
3685 the links are loaded. This can be caught with "notify::model"
3687 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3688 listen for the model to be set, and propagate it to the action.
3690 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3692 * cut-n-paste/recent-files/egg-recent-item.c:
3693 (egg_recent_item_set_uri), (make_valid_utf8),
3694 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3695 * cut-n-paste/recent-files/egg-recent-item.h:
3697 Update egg-recent from libegg. This should fix long
3698 startup problem. For details see
3699 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3701 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3703 * cut-n-paste/recent-files/Makefile.am:
3704 * data/evince-ui.xml, shell/Makefile.am:
3705 * shell/ev-application.c, shell/ev-application.h:
3706 * shell/ev-window.c: Recent files support.
3708 * configure.ac: Added "ru" to ALL_LINGUAS.
3710 * dvju: new backend to support DJVU files.
3711 * dvi: new backend to support DVI.
3713 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3714 * ev-application.c: Support for new backends.
3716 * help, ev-window.c, main.c shell/Makefile.am:
3717 Evince user documentation.
3719 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3722 * shell/ev-window.c:
3723 * thumbnailer/evince-thumbnailer.c:
3725 s/pdf-document/ev-poppler
3727 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3734 * ps/ps-document.c: (setup_pixmap):
3738 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3740 * backend/ev-page-cache.c (ev_page_cache_next_page):
3741 * shell/ev-window.c (ev_window_cmd_go_next_page)
3742 (ev_window_cmd_go_first_page): Fix of by one errors.
3744 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3746 * ps/ps-document.c: (get_page_box):
3748 Fix page size calculation
3750 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3752 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3753 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3754 (get_page_orientation), (setup_page), (document_load),
3755 (ps_document_get_page_size), (render_pixbuf_idle):
3758 More refactoring to adapt to EvDocument changes
3760 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3762 * ps/ps-document.c: (start_interpreter):
3764 Actually add alpha args
3766 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3768 * pdf/ev-poppler.cc:
3770 Make clipboard work again
3772 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3774 Make searching work again.
3776 * backend/ev-document.c:
3777 * backend/ev-document.h:
3778 * backend/ev-document-find.c:
3779 * backend/ev-document-find.h: Change EvDocumentIface so we no
3780 longer store the current page or zoom level in the document. The
3781 consequence is that all calls that operate on the current page now
3782 instead take the page number as an extra argument, and all
3783 coordinates are now doubles in document coordinate system.
3785 * pdf/ev-poppler.cc:
3786 * pixbuf/pixbuf-document.c:
3787 * ps/ps-document.c: Update backends accordingly.
3789 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3793 Add required gettext version
3795 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3797 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3798 make F1 bring up non-existent help.
3800 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3801 epiphany's find bar, #167477
3803 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3804 <emil@nishra.com> to add space-bar scrolling,
3806 * shell/ev-window.c (static GtkActionEntry entries): add default
3807 keybinding for Help (F1)
3810 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3811 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3814 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3817 * pixbuf/pixbuf-document.c:
3819 Got pixbuf backend working again
3821 2005-04-01 Steve Murphy <murf@e-tools.com>
3823 * configure.in: Added "rw" to ALL_LINGUAS.
3825 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3827 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3828 model types, noticed by Martin Kretzschmar.
3830 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3832 * pdf/ev-poppler.cc: Implement search based on
3833 poppler_page_find_text(). Currently a bit crude since we remember
3834 all matches from all pages. Also, we grab the big document lock
3835 when we search since searching changes the underlying stream and
3836 thus conflicts with the rendering thread.
3838 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3839 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3840 (ev_view_find_previous): Fix some page indexes to be 0 based,
3841 offset rubber band by view offset,
3843 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3845 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3847 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3849 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3850 completely because I didn't understand GtkActions. I should
3851 read Marco's code more carefully in the future.
3853 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3856 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3858 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3859 PopplerRectangle change from poppler CVS.
3861 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3863 * backend/ev-document.c: (ev_document_get_page_label):
3864 * backend/ev-document.h:
3865 * backend/ev-page-cache.c: (_ev_page_cache_new),
3866 (ev_page_cache_get_page_label):
3867 * backend/ev-page-cache.h:
3868 * pdf/ev-poppler.cc:
3869 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3870 (links_page_num_func):
3871 * shell/ev-sidebar-thumbnails.c:
3872 (ev_sidebar_thumbnails_set_document):
3873 * shell/ev-view.c: (status_message_from_link),
3874 (ev_view_motion_notify_event):
3875 * shell/ev-window.c: (document_supports_sidebar): Add in page
3876 label support. It's not perfect yet, but it's the first 'feature'
3878 Also, fix a bogus comment noticed by crispin.
3880 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3882 * Makefile.am: Remove pixbuf backend for now
3884 * configure.ac: Require poppler-glib instead of just poppler.
3886 * backend/ev-document-thumbnails.h: Add a comment
3888 * backend/ev-document.h:
3889 * backend/ev-document.c: (ev_document_class_init),
3890 (ev_document_load), (ev_document_get_link),
3891 (ev_document_get_links): Remove 3 methods and add get_links.
3894 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3895 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3897 * backend/ev-link.c: (ev_link_set_title),
3898 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3899 (ev_link_mapping_find):
3900 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3902 * backend/ev-page-cache.c: (ev_page_cache_init),
3903 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3904 (ev_page_cache_get_size), (ev_page_cache_next_page),
3905 (ev_page_cache_prev_page): Fix to be 0 based.
3909 * pdf/ev-poppler.cc: New backend.
3911 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3912 (ps_document_get_page), (ps_document_document_iface_init):
3914 * shell/ev-pixbuf-cache.h:
3915 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3916 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3917 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3918 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3919 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3920 Fix up code to grab a page cache per each doc. Also, fix to be 0
3923 * shell/ev-sidebar-thumbnails.c:
3924 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3925 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3927 * shell/ev-view.c: (status_message_from_link),
3928 (find_page_at_location), (get_link_at_location),
3929 (ev_view_motion_notify_event), (ev_view_button_release_event),
3930 (ev_view_init): Use the new link code. Fix to be 0 based.
3932 * shell/ev-window.c: (update_action_sensitivity),
3933 (document_supports_sidebar): 0 based.
3935 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3937 * pdf/pdf-document.cc: Patch from Fernando Herrera
3938 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3941 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3943 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3944 1 to the page, as this seems to be 1 based. I thought we has this
3947 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3950 * backend/Makefile.am:
3951 * backend/ev-document-links.c:
3952 (ev_document_links_has_document_links),
3953 (ev_document_links_get_links_model):
3954 * backend/ev-document-links.h:
3955 * backend/ev-document.c: (ev_document_get_page_cache),
3956 (ev_document_get_doc_mutex), (ev_document_load),
3957 (ev_document_save), (ev_document_get_title),
3958 (ev_document_get_n_pages), (ev_document_set_page),
3959 (ev_document_get_page), (ev_document_set_target),
3960 (ev_document_set_scale), (ev_document_set_page_offset),
3961 (ev_document_get_page_size), (ev_document_get_text),
3962 (ev_document_get_link), (ev_document_render),
3963 (ev_document_render_pixbuf), (ev_document_scale_changed):
3964 * backend/ev-document.h:
3965 * backend/ev-job-queue.c: (remove_object_from_queue),
3966 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3967 (no_jobs_available_unlocked), (ev_render_thread),
3968 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3969 (ev_job_queue_remove_job):
3970 * backend/ev-job-queue.h:
3971 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3972 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3973 (ev_job_links_class_init), (ev_job_render_init),
3974 (ev_job_render_dispose), (ev_job_render_class_init),
3975 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3976 (ev_job_thumbnail_class_init), (ev_job_finished),
3977 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3978 (ev_job_render_run), (ev_job_thumbnail_new),
3979 (ev_job_thumbnail_run):
3980 * backend/ev-jobs.h:
3981 * backend/ev-link.c:
3982 * backend/ev-link.h:
3983 * backend/ev-page-cache.c: (ev_page_cache_init),
3984 (ev_page_cache_class_init), (ev_page_cache_finalize),
3985 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3986 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3987 (ev_page_cache_set_link), (ev_page_cache_get_title),
3988 (ev_page_cache_get_size), (ev_page_cache_next_page),
3989 (ev_page_cache_prev_page):
3990 * backend/ev-page-cache.h:
3991 * pdf/pdf-document.cc:
3994 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3995 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3996 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3997 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3998 (is_interpreter_ready), (output), (catchPipe), (input),
3999 (start_interpreter), (check_filecompressed), (compute_dimensions),
4000 (ps_document_enable_interpreter), (document_load),
4001 (ps_document_next_page), (render_page), (ps_document_set_page),
4002 (ps_document_set_scale), (render_pixbuf_idle),
4003 (ps_document_render_pixbuf), (ps_document_document_iface_init):
4005 * shell/Makefile.am:
4006 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
4007 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4008 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4009 (ev_pixbuf_cache_new), (job_finished_cb),
4010 (check_job_size_and_unref), (move_one_job),
4011 (ev_pixbuf_cache_update_range), (find_job_cache),
4012 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4013 (ev_pixbuf_cache_add_jobs_if_needed),
4014 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4015 * shell/ev-pixbuf-cache.h:
4016 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4017 (idle_print_handler):
4018 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4019 (selection_changed_cb), (create_loading_model),
4020 (ev_sidebar_links_construct), (links_page_num_func),
4021 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4022 (update_page_callback), (job_finished_cb),
4023 (ev_sidebar_links_set_document):
4024 * shell/ev-sidebar-thumbnails.c:
4025 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4026 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4027 (page_changed_cb), (thumbnail_job_completed_callback),
4028 (ev_sidebar_thumbnails_set_document):
4029 * shell/ev-sidebar-thumbnails.h:
4030 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4031 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4032 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4033 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4034 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4035 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4036 (ev_view_button_release_event), (ev_view_scroll_view),
4037 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4038 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4039 (ev_view_new), (job_finished_cb), (page_changed_cb),
4040 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4041 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4042 (ev_view_find_previous):
4044 * shell/ev-window.c: (update_action_sensitivity),
4045 (ev_window_open_page), (update_window_title), (update_total_pages),
4046 (page_changed_cb), (ev_window_setup_document),
4047 (password_dialog_response), (ev_window_cmd_save_as),
4048 (ev_window_print), (ev_window_cmd_go_previous_page),
4049 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4050 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4051 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4052 * shell/main.c: (main):
4054 Merge evince-threads branch
4056 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4058 * configure.ac: Added "lt" to ALL_LINGUAS.
4060 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4067 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4069 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4071 Fix here also the thumbnails 1-basedness :)
4073 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4080 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4082 * pdf/pdf-document.cc:
4083 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4084 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4086 Fix the mess we did with thumbnails and 1-basedness
4088 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4090 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4092 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4099 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4102 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4103 (gtk_gs_defaults_get_alpha_parameters),
4104 (gtk_gs_defaults_get_ungzip_cmd),
4105 (gtk_gs_defaults_get_unbzip2_cmd):
4107 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4108 (ps_document_get_orientation), (document_load),
4109 (ps_document_goto_page), (ps_document_set_page_size):
4112 Some more sanitization of the ps backend. Remove a lot
4113 of unused code and do not base our defaults on ggv
4116 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4118 * thumbnailer/evince-thumbnailer.schemas:
4119 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4120 (main): add -s option for thumbnail size.
4122 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4126 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4129 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4131 * pdf/pdf-document.cc:
4133 Remove 4 pixels of useless border from the
4136 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4138 * backend/ev-document-thumbnails.c:
4139 (ev_document_thumbnails_get_thumbnail):
4140 * backend/ev-document-thumbnails.h:
4142 Rework API a bit. Add a border flag and
4143 change sizing logic (now the size we specify
4144 applies to the bigger dimension).
4146 * pdf/pdf-document.cc:
4147 * pixbuf/pixbuf-document.c:
4148 (pixbuf_document_thumbnails_get_thumbnail):
4149 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4150 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4152 Adapt to the new API and do not draw a border for nautilus
4155 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4157 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4158 take thumbnails from page "0" instead of "1". Added a copyright header.
4160 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4162 * ps/ps-document.c: (set_up_page), (start_interpreter):
4164 Make it C89 compliant
4166 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4171 * pdf/pdf-document.cc:
4172 * thumbnailer/Makefile.am:
4173 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4175 * thumbnailer/evince-thumbnailer.schemas:
4176 * thumbnailer/pdf-icon.png:
4178 Add a nautilus thumbnailer.
4179 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4181 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4189 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4191 Use poppler instead of including xpdf source code. Poppler is a
4192 fork of xpdf to build it as a shared library. See
4193 http://freedesktop.org/wiki/Software/poppler.
4195 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4198 * pdf/Makefile.am: Build libpdfdocument.a here.
4200 * pdf/GDKSplashOutputDev.cc:
4201 * pdf/GDKSplashOutputDev.h:
4202 * pdf/GnomeVFSStream.cc:
4203 * pdf/GnomeVFSStream.h:
4206 * test-gdk-output-dev.cc
4208 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4211 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4213 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4215 Clear idle stack before unsetting the document
4217 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4219 * ps/ps-document.c: (ps_document_widget_event),
4220 (ps_document_set_target), (ps_document_finalize),
4221 (ps_document_get_page):
4223 Disconnect the widget event signal on finalize.
4226 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4228 * ps/ps-document.c: (set_up_page):
4230 If there is no bpixmap create one, even if size
4233 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4235 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4236 (set_up_page), (document_load), (ps_document_set_zoom):
4238 Default page is 0. Calculate size even when we have no
4241 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4243 * shell/ev-sidebar.c: expand the selection widget to be always as
4246 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4248 * shell/ev-sidebar-thumbnails.c:
4249 (ev_sidebar_thumbnails_set_document):
4251 Clear the list store when setting document
4253 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4255 * shell/ev-page-action.c: (update_entry), (sync_entry),
4256 (activate_cb), (entry_size_request_cb), (create_tool_item),
4259 Use an entry for the page control instead of spinbuttons
4261 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4263 * data/evince.schemas.in:
4265 Correct confusing string
4267 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4269 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4270 for real. Gosh, how long has this been broken.
4272 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4273 check for a NULL link. We crash otherwise.
4275 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4282 2005-02-25 Sebastien Bacher <seb128@debian.org>
4284 * configure.ac: add the french translation.
4286 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4288 * shell/ev-window.c:
4290 Remove unused header -> fix distcheck
4292 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4294 * shell/ev-window.c: (update_window_title),
4295 (ev_window_popup_password_dialog):
4297 Unescape filename for display
4299 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4301 * pdf/xpdf/pdf-document.cc:
4303 In get_page_size deal with rotation. Also
4304 cleanup the function a bit.
4306 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4308 * pdf/xpdf/pdf-document.cc:
4310 Fix crash when opening in new window
4312 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4316 Check ghostscript >= 7
4318 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4320 * shell/ev-window.c:
4322 Make page width the default sizing mode
4324 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4325 Marco Pesenti Gritti <marco@gnome.org>
4327 * shell/ev-window.c: Remember the sidebar size
4329 * data/evince.schemas.in: Add a new gconf key to store the size of
4332 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4334 * data/evince-ui.xml:
4335 * shell/ev-window.c: (update_action_sensitivity),
4336 (ev_window_cmd_view_reload):
4338 Add a "Reload" action and menu entry
4340 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4342 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4343 iff the type doesn't support thumbnailing and indexing.
4345 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4347 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4349 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4351 * pdf/splash/Splash.cc:
4353 Port fix for a crasher from kde bug
4354 http://bugs.kde.org/show_bug.cgi?id=97131
4356 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4358 * pdf/xpdf/pdf-document.cc:
4360 Return a link even if it's of an unrecognized
4361 type. Otherwise we go in an infinte cycle.
4363 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4365 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4366 (size_allocate_cb), (ev_window_set_sizing_mode):
4368 Update size when switching mode
4370 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4372 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4373 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4374 (ev_window_cmd_view_normal_size):
4376 Fix size toggle buttons behavior
4378 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4380 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4381 (doc_rect_to_view_rect), (ev_view_size_allocate),
4382 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4383 (scale_changed_callback):
4385 Do not cache offsets in size_allocate.
4387 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4389 * shell/ev-view.c: (ev_view_size_allocate):
4391 Calculate offsets before calling the parent
4392 class (which does a redraw)
4394 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4396 * pdf/xpdf/pdf-document.cc:
4398 Fix a crasher on exit. Unused code, put a TODO
4400 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4402 * backend/ev-document.c: (ev_document_class_init),
4403 (ev_document_page_changed), (ev_document_scale_changed):
4404 * backend/ev-document.h:
4406 Separate page/scale notifications
4408 * pdf/xpdf/pdf-document.cc:
4410 Emit the new signals.
4411 Do not display the pdf page in _render, do it
4412 when scale/page are requested.
4414 * ps/ps-document.c: (ps_document_set_zoom),
4415 (ps_document_widget_event):
4418 Emit the new signals.
4420 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4421 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4422 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4423 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4425 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4426 (ev_window_cmd_view_page_width), (size_allocate_cb),
4427 (ev_window_set_sizing_mode):
4429 Rework sizing to be pixel based.
4430 There are bugs but should be already way better.
4432 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4434 * shell/ev-window.c: (ev_window_init):
4436 Do not allow to shrink sidebar smaller then
4439 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4441 * shell/ev-sidebar.[ch]
4442 * shell/ev-window.c:
4444 Improved sidebar widget. Fixes #166683
4446 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4448 * shell/ev-view.c (update_find_status_message): Give translators
4449 more flexibility with ngettext plural handling.
4451 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4453 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4454 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4455 page when we get the page size.
4457 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4459 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4461 ps pages are 0 based, convert
4463 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4465 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4467 Initialize correct parent class. Set GError on document load
4469 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4471 * pdf/xpdf/pdf-document.cc:
4473 Fixup selection offset calculation
4475 * shell/ev-view.c: (view_rect_to_doc_rect),
4476 (doc_rect_to_view_rect), (ev_view_size_allocate),
4477 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4478 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4480 Store selection as document relative, so that zooming
4481 and offset changing doesnt break it.
4483 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4485 * shell/ev-view.c: (ev_view_best_fit):
4487 Do not try to best fit if the view is not realized
4489 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4491 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4493 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4495 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4497 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4499 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4500 the popup window. That prevents it resizing when in full screen
4503 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4504 multiple rerenders. This pretty much sucks.
4506 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4507 rest of the toolbar.
4509 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4511 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4513 2005-02-17 Alexander Shopov <ash@contact.bg>
4515 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4517 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4519 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4521 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4523 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4524 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4525 (set_document_page), (document_changed_callback),
4526 (ev_view_set_document), (ev_view_find_previous),
4527 (ev_view_hide_cursor), (ev_view_show_cursor):
4529 * shell/ev-window.c: (update_chrome_visibility),
4530 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4531 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4532 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4533 (ev_window_unfullscreen):
4534 * shell/main.c: (main):
4536 Automatically hide the fullscreen button.
4537 Patch by Kristian Høgsberg <krh@redhat.com>
4539 2005-02-16 Vincent Noel <vnoel@cox.net>
4541 * shell/main.c (main): Specify an icon for the window. Patch by
4542 Jaap A. Haitsma. Fixes #166177.
4544 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4546 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4548 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4550 * backend/ev-document-misc.h:
4551 * backend/ev-document-misc.c:
4552 (ev_document_misc_get_page_border_size),
4553 (ev_document_misc_paint_one_page): New function to canonicalize
4554 sizing/painting a border.
4556 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4559 * pdf/xpdf/pdf-document.cc: use new function
4561 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4562 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4563 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4564 shell/ev-window.c: (update_sizing_buttons),
4565 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4566 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4567 (ev_window_cmd_view_page_width), (size_allocate_cb),
4568 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4569 and "fit width" values act as toggle buttons so they stay
4570 toggled. It's not 100% perfect, and it's a little slow, but it's
4571 good enough to commit I think.
4573 2005-02-15 David Lodge <dave@cirt.net>
4575 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4577 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4579 * shell/ev-window.c (update_window_title): replace newlines in
4580 the title by spaces. Bug #166107.
4582 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4584 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4585 parameters providing allocation width and height without
4586 scrollbars and width of a possible vertical scrollbar. With this
4587 additional information the functions can work as
4588 intended. Unfortunately they're not idempotent. We should
4589 transform these commands to toggles. Fixes Bug #164976
4590 Initial patch by Stephane Loeuillet, then heavily modified.
4592 * shell/ev-view.h: update prototypes.
4594 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4595 (ev_window_cmd_view_page_width): provide EvView fit functions with
4596 all the information they need. Formulas to calculate this
4597 information taken from GtkScrolledWindow.
4599 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4601 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4602 created a thumbnail, the list store is updated to know
4603 that the thumbnail is set. Fixes bug #166792
4605 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4607 * shell/ev-window.c: fixed typo, closes bug 166897
4609 * TODO: updated TODO with bug numbers that are relevant
4611 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4613 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4615 2005-02-09 Vincent Noel <vnoel@cox.net>
4617 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4618 and "Next" toolbar buttons as important to make them stand out.
4620 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4624 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4625 (start_interpreter), (stop_interpreter), (document_load),
4626 (ps_document_next_page), (ps_document_goto_page),
4627 (ps_document_set_page_size), (ps_document_widget_event),
4628 (ps_document_render):
4629 * shell/ev-page-view.c: (ev_page_view_dispose):
4630 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4632 Fix compilation on non-gcc platforms
4634 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4641 * pdf/xpdf/Catalog.cc:
4644 Fix the fix for CAN-2004-0888
4646 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4649 * data/evince-ui.xml:
4650 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4651 * shell/ev-stock-icons.h:
4652 * shell/ev-window.c: (update_action_sensitivity),
4653 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4654 (set_action_properties):
4656 Improve toolbar layout/icons
4658 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4660 * pdf/xpdf/pdf-document.cc:
4662 Add warnings about unimplemented/unknown link
4665 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4667 * ps/ps-document.c: (set_up_page):
4671 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4673 * ps/ps-document.c: (start_interpreter):
4677 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4679 * shell/ev-page-view.c: (ev_page_view_dispose):
4680 * shell/ev-view.c: (ev_view_finalize):
4681 * shell/ev-window.c: (ev_window_setup_document),
4682 (ev_window_dispose), (ev_window_init):
4684 Solve more refs issues.
4686 I commented out the page_view initialization for now:
4687 it was never destroyed (because it's never added
4688 to a container). Because of that we was leaking
4689 gs processes. Couldnt think to a clean fix.
4690 We need to figure this out, password view has the
4691 same issue probably.
4693 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4695 * ps/ps-document.c: (ps_document_finalize),
4696 (ps_document_get_n_pages), (ps_document_get_page):
4698 Some cleanups, stop the interpreter on finalize
4700 * shell/ev-page-view.c: (ev_page_view_dispose),
4701 (ev_page_view_class_init):
4703 Release our reference on the document
4705 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4709 * doc/debugging.txt:
4712 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4713 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4714 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4717 Add debugging helpers
4720 * ps/ps-document.c: (set_up_page), (start_interpreter),
4721 (stop_interpreter), (document_load), (ps_document_next_page),
4722 (ps_document_goto_page), (ps_document_set_page_size),
4723 (ps_document_widget_event), (ps_document_render):
4724 * shell/Makefile.am:
4725 * shell/ev-view.c: (expose_bin_window):
4726 * shell/main.c: (main):
4730 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4732 * ps/ps-document.c: (ps_document_widget_event):
4734 Initialize message_window, this should make ps
4735 rendering really work! (Never noticed because I was
4736 testing with a ps that is causing gs to exit every time!)
4738 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4740 * data/evince.schemas.in: updated simple error in applyto closing tag
4742 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4748 * data/evince-ui.xml:
4749 A data/evince.schemas.in:
4751 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4752 * shell/ev-stock-icons.h:
4753 * shell/ev-window.c: (update_chrome_visibility),
4754 (update_chrome_flag), (ev_window_cmd_edit_find),
4755 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4756 (ev_window_unfullscreen), (ev_window_focus_in_event),
4757 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4758 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4759 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4760 (ev_window_dispose), (ev_window_class_init),
4761 (set_action_properties), (set_chrome_actions), (load_chrome),
4764 Implement fullscreen mode changes from bug #164776.
4765 Also implement persistent chrome toggles.
4767 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4769 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4771 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4777 Add another check for find interface
4781 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4783 * shell/ev-application.c: (ev_application_open):
4784 * shell/ev-window.c: (ev_window_open):
4786 Open gzipped ps documents
4788 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4791 * shell/ev-view.c: (set_document_page):
4793 Clamp page number, dont try to move to
4796 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4798 * backend/ev-document-find.c: (ev_document_find_changed):
4799 * backend/ev-document-find.h:
4800 * pdf/xpdf/pdf-document.cc:
4801 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4802 * shell/ev-window.c: (find_bar_search_changed_cb):
4804 Fix several bugs with find
4806 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4808 * shell/ev-sidebar-thumbnails.c
4809 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4810 document. Prevents warning from scroll_to_cell.
4812 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4814 * configure.ac: Add «nb» to ALL_LINGUAS too.
4816 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4818 * NOTES: New file with some random thoughts.
4822 * backend/ev-document-misc.c:
4823 (ev_document_misc_get_page_border_size): New function to
4824 canonicalize shadow drawing sizes. Possibly goofy.
4826 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4827 (ev_view_best_fit), (ev_view_fit_width):
4828 * pdf/xpdf/pdf-document.cc:
4829 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4830 * ps/ps-document.c: (ps_document_get_page_size):
4831 * backend/ev-document-misc.h:
4832 * backend/ev-document.c: (ev_document_get_page_size):
4833 * backend/ev-document.h: get_page_size now takes a page number
4834 parameter. Made all the backends/frontends honor it.
4836 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4837 see. Doesn't work yet.
4839 * shell/Makefile.am:
4840 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4841 Doesn't do anything yet.
4843 * shell/ev-sidebar-thumbnails.c:
4844 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4847 * shell/ev-window.c: (update_action_sensitivity),
4848 (ev_window_setup_document), (ev_window_set_page_mode),
4849 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4850 view-swapping code a bit so we can have multiple views on a
4851 document. Add the multi-page view, though it can't be turned on
4854 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4856 * shell/ev-application.c: (ev_application_open):
4857 * shell/ev-view.c: (expose_bin_window):
4858 * shell/ev-window.c: (ev_window_open):
4860 Support eps and check document supports find
4861 before drawing highlightings in expose.
4863 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4865 * pixbuf/pixbuf-document.c:
4866 (pixbuf_document_thumbnails_get_dimensions),
4867 (pixbuf_document_document_thumbnails_iface_init):
4869 implement get_dimensions
4871 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4878 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4880 * shell/ev-view.c: (set_document_page):
4882 Scroll at the top of the page when changing page
4884 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4886 * shell/ev-view.c: (ev_view_motion_notify_event):
4888 Do not redraw unnecessarily
4890 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4892 * pdf/xpdf/pdf-document.cc:
4893 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4894 (expose_bin_window), (find_changed_cb):
4896 Yay! find works now... Now to find bugs...
4898 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4900 * backend/ev-document-find.c: (ev_document_find_base_init),
4901 (ev_document_find_changed):
4902 * backend/ev-document-find.h:
4903 * pdf/xpdf/pdf-document.cc:
4904 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4905 (expose_bin_window), (ev_view_init), (set_document_page),
4906 (ensure_rectangle_is_visible), (jump_to_find_result),
4907 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4908 (ev_view_find_next), (ev_view_find_previous):
4910 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4912 More work on find implementation, mostly there now
4914 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4916 * backend/ev-backend-marshalers.list:
4917 * backend/ev-document-find.c: (ev_document_find_base_init),
4918 (ev_document_find_cancel), (ev_document_find_page_has_results),
4919 (ev_document_find_get_n_results), (ev_document_find_get_result),
4920 (ev_document_find_get_progress), (ev_document_find_changed):
4921 * backend/ev-document-find.h:
4923 Enanche the find interface to be really able to do
4926 * pdf/xpdf/pdf-document.cc:
4930 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4931 (expose_bin_window), (ev_view_init),
4932 (ev_view_get_find_status_message), (find_changed_cb),
4933 (ev_view_set_document), (set_document_page):
4935 Adapt to the new interface. A few things are regressed sorry,
4936 I will finish it soon.
4938 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4940 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4941 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4942 ev_sidebar_thumbnails_parent_class variable, don't define another
4943 parent_class variable.
4945 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4946 (ev_page_action_class_init): ditto.
4948 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4949 (pixbuf_document_class_init): ditto.
4951 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4954 * .cvsignore: ignore various valgrind output files.
4956 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4958 * data/evince-ui.xml:
4959 * shell/Makefile.am:
4960 * shell/ev-history.c:
4961 * shell/ev-history.h:
4962 * shell/ev-navigation-action.c:
4963 * shell/ev-navigation-action.h:
4964 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4965 (ev_view_set_page), (ev_view_fit_width):
4967 * shell/ev-window.c: (update_action_sensitivity),
4968 (ev_window_setup_document), (register_custom_actions):
4970 Kill session history
4972 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4974 * shell/ev-window.c: (update_action_sensitivity):
4976 Fix inverted up/down buttons
4978 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4980 * shell/ev-sidebar-thumbnails.c
4981 (ev_sidebar_thumbnails_select_page): make sure the selected
4982 thumbnail stays visible.
4984 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4986 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4987 scrolled window for Federico.
4989 2005-01-26 Ole Laursen <olau@hardworking.dk>
4991 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4993 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4996 * pdf/splash/SplashFTFontEngine.cc:
4998 Fix CID fonts with freetype 2.1.9
5000 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
5002 * TODO: added item for desktop icon thumbnailer
5004 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
5006 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
5007 unloaded docs when the title is accessed.
5009 * shell/ev-password-view.[hc]: New widget for displaying password
5012 * shell/ev-window.[ch]: Refactor password handling code to handle
5015 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5023 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5025 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5026 ignore page offset here, to make search results independent of it,
5028 * shell/ev-view.c (expose_bin_window): but take offsets into
5029 account here. Bug #164932
5031 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5032 scale at the right time. Bug #164996
5034 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5036 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5037 fix the problem. Now I just removed the Adobe font names and hope
5038 that the URW fonts are always in outline format. Bug #164934
5040 * shell/ev-window.c (update_window_title): empty titles are
5041 useless, use filename in that case too.
5043 * NEWS: Add some content.
5045 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5047 * TODO: added one more TODO item and a TODONE section :)
5049 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5051 * ps/ps-document.h: add page_[xy]_offset fields.
5053 * ps/ps-document.c (ps_document_set_page_offset)
5054 (ps_document_render): Keep offset in consideration in a few
5055 places. Bug #164752 "postscript documents are not centered in
5058 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5059 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5061 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5062 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5063 stub out missing methods for complete EvDocument implementation.
5064 Fixes segfaults with Save A Copy and Copy actions.
5066 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5067 (ps_document_document_iface_init): ditto.
5069 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5073 * data/evince.desktop.in:
5077 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5079 * shell/ev-view.c: (ev_view_button_press_event),
5080 (ev_view_motion_notify_event):
5082 Make selection work in any direction
5084 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5087 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5089 Use shorter labels for some of the toolbars items
5091 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5093 * pdf/xpdf/pdf-document.cc:
5095 Check the links info is initialized before
5096 using it. Should fix a crash on startup.
5098 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5100 * pixbuf/pixbuf-document.c
5101 (pixbuf_document_thumbnails_get_dimensions): force floating point
5102 division to calculate page_ratio. Fixes crash with landscape
5105 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5107 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5109 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5111 * shell/ev-view.c (set_document_page): unset has_selection when
5113 (set_document_page): handle paper size changes when the page
5114 changes (test with Free Culture, page 2).
5116 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5118 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5119 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5121 Use normal style color for the widget background and
5122 draw a black box around the page.
5124 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5126 * pdf/xpdf/pdf-document.cc:
5128 Keep offset in consideration in a few places
5130 * shell/ev-view.c: (expose_bin_window):
5132 Set the offsets so that the document is ever centered
5134 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5136 * TODO: Added TODO items and finished off the first todo item
5138 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5139 reflect current authors
5141 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5143 * pdf/xpdf/pdf-document.cc:
5144 * shell/ev-view.c: (ev_view_set_cursor),
5145 (ev_view_motion_notify_event), (document_changed_callback),
5146 (set_document_page):
5148 Show a wait cursor while the page is rendering
5150 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5152 * shell/ev-sidebar-thumbnails.c:
5153 (ev_sidebar_tree_selection_changed),
5154 (ev_sidebar_thumbnails_select_page):
5155 * shell/ev-sidebar-thumbnails.h:
5156 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5157 (ev_view_can_go_forward):
5158 * shell/ev-window.c: (ev_window_open_page),
5159 (ev_window_setup_document), (update_current_page),
5160 (view_page_changed_cb), (ev_window_init):
5161 * shell/ev-window.h:
5163 Ensure thumbnails selection, toolbar page control and
5164 current page are in sync.
5166 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5172 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5174 * backend/Makefile.am:
5175 * backend/ev-document-links.h:
5176 * backend/ev-document-security.c: (ev_document_security_get_type),
5177 (ev_document_security_has_document_security),
5178 (ev_document_security_set_password):
5179 * backend/ev-document-security.h:
5180 * backend/ev-document.c: (ev_document_error_quark):
5181 * backend/ev-document.h:
5183 * data/evince-password.glade:
5184 * pdf/xpdf/pdf-document.cc:
5185 * shell/Makefile.am:
5186 * shell/ev-password.c: (ev_password_set_bad_password_label),
5187 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5188 (ev_password_dialog_get_password),
5189 (ev_password_dialog_set_bad_pass):
5190 * shell/ev-password.h:
5191 * shell/ev-window.c: (ev_window_get_attribute),
5192 (ev_window_set_property), (update_action_sensitivity),
5193 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5194 (ev_window_setup_document), (ev_window_get_password),
5195 (ev_window_open), (ev_window_cmd_save_as),
5196 (using_postscript_printer), (ev_window_print),
5197 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5198 (update_fullscreen_popup), (ev_window_fullscreen),
5199 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5200 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5201 (menu_item_select_cb), (find_bar_search_changed_cb),
5202 (ev_window_dispose), (ev_window_init):
5204 Add initial support for password-supported dialogs. This could be
5205 a lot cooler, but it'll do for now.
5207 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5209 * pdf/xpdf/pdf-document.cc:
5210 * shell/ev-view.c: (status_message_from_link),
5211 (ev_view_set_status), (ev_view_set_cursor),
5212 (ev_view_motion_notify_event), (ev_view_init):
5213 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5215 Fix bugs in the links implementation and change cursor
5216 when hovering a link.
5218 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5220 * viewer/.cvsignore: added cvsignore file for viewer directory
5222 * TODO: created TODO document
5224 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5227 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5228 new functions to help with implementation of sensitivity code
5229 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5230 of all actions that might require it. Fixes a crash when you
5231 click on the Zoom actions in a window lacking a document.
5233 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5235 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5238 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5240 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5241 (pixbuf_document_document_iface_init):
5242 * ps/ps-document.c: (ps_document_get_link),
5243 (ps_document_document_iface_init):
5244 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5245 (status_message_from_link), (ev_view_set_status),
5246 (ev_view_set_find_status), (ev_view_motion_notify_event),
5247 (ev_view_button_release_event), (ev_view_set_property),
5248 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5249 (ev_view_get_find_status_message), (update_find_results),
5250 (ev_view_get_status), (ev_view_get_find_status):
5252 * shell/ev-window.c: (view_status_changed_cb),
5253 (view_find_status_changed_cb), (ev_window_init):
5255 View status message support, use it to show the links.
5258 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5260 * backend/ev-document.c: (ev_document_get_link):
5261 * backend/ev-document.h:
5262 * pdf/xpdf/pdf-document.cc:
5263 * shell/ev-application.c: (ev_application_open):
5264 * shell/ev-application.h:
5265 * shell/ev-sidebar-links.c: (selection_changed_cb):
5266 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5267 (ev_view_go_to_link):
5269 Add support for document links
5271 2005-01-13 Anders Carlsson <andersca@gnome.org>
5273 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5275 Set the spin button limits correctly.
5277 * shell/ev-sidebar-thumbnails.c:
5278 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5279 Support changing pages by clicking on the thumbnails.
5281 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5283 * pixbuf/pixbuf-document.c:
5284 (pixbuf_document_thumbnails_get_dimensions),
5285 (pixbuf_document_document_thumbnails_iface_init):
5287 implement get_dimensions
5289 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5291 * ps/ps-document.c: (ps_document_goto_page):
5293 Fix page switching on multipage documents
5295 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5297 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5299 check for NULL before assigning to width and height parameters
5301 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5303 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5304 (pixbuf_document_set_property), (pixbuf_document_get_property):
5306 implement get/set properties
5308 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5310 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5312 return NULL instead of "Unknown", letting the title get set to
5313 the filename when the pdf has no title.
5315 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5317 * ps/ps-document.c: (ps_document_get_page_count),
5318 (ps_document_goto_page):
5320 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5322 * shell/ev-history.c: (ev_history_get_property),
5323 (ev_history_set_property), (ev_history_class_init),
5324 (ev_history_add_page), (ev_history_set_current_index):
5325 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5326 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5327 (ev_navigation_action_finalize):
5328 * shell/ev-navigation-action.h:
5329 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5330 (ev_view_go_forward), (ev_view_get_find_status_message),
5331 (history_index_changed_cb), (ev_view_set_history):
5333 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5334 (update_current_page), (register_custom_actions):
5336 Implement history dropdowns
5338 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5340 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5341 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5342 (ev_view_go_forward):
5343 * shell/ev-window.c: (register_custom_actions):
5345 Fix several history bugs
5347 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5349 * configure.ac: Add «nb» to ALL_LINGUAS.
5351 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5353 * backend/Makefile.am:
5354 * backend/ev-bookmark.c:
5355 * backend/ev-bookmark.h:
5356 * backend/ev-document-bookmarks.c:
5357 * backend/ev-document-bookmarks.h:
5358 * backend/ev-document-links.c: (ev_document_links_get_type),
5359 (ev_document_links_has_document_links),
5360 (ev_document_links_begin_read), (ev_document_links_get_link),
5361 (ev_document_links_get_child), (ev_document_links_next),
5362 (ev_document_links_free_iter):
5363 * backend/ev-document-links.h:
5364 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5365 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5366 (ev_link_get_link_type), (ev_link_set_link_type),
5367 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5368 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5369 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5370 (ev_link_new_external):
5371 * backend/ev-link.h:
5372 * pdf/xpdf/pdf-document.cc:
5373 * shell/Makefile.am:
5374 * shell/ev-application.c: (ev_application_open_link):
5375 * shell/ev-application.h:
5376 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5377 (ev_history_get_link_nth):
5378 * shell/ev-history.h:
5379 * shell/ev-sidebar-bookmarks.c:
5380 * shell/ev-sidebar-bookmarks.h:
5381 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5382 (ev_sidebar_links_class_init), (selection_changed_cb),
5383 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5384 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5385 (do_one_iteration), (populate_links_idle),
5386 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5387 * shell/ev-sidebar-links.h:
5388 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5389 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5392 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5393 * shell/ev-window.h:
5395 Rename bookmark to link, and use "Index" for the sidebar panel.
5397 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5399 * shell/Makefile.am:
5400 * shell/ev-application.c: (ev_application_open_bookmark):
5401 * shell/ev-application.h:
5402 * shell/ev-history.c: (ev_history_init), (free_links_list),
5403 (ev_history_finalize), (ev_history_class_init),
5404 (ev_history_add_link), (ev_history_add_page),
5405 (ev_history_get_link_nth), (ev_history_get_n_links),
5406 (ev_history_get_current_index), (ev_history_set_current_index),
5408 * shell/ev-history.h:
5409 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5410 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5411 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5412 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5415 * shell/ev-window.c: (ev_window_open_bookmark),
5416 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5417 (goto_page_cb), (register_custom_actions):
5418 * shell/ev-window.h:
5420 Initial history implementation. Needs work.
5422 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5424 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5426 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5428 * cut-n-paste/recent-files/egg-recent-item.c:
5429 * cut-n-paste/recent-files/egg-recent-item.h:
5430 * cut-n-paste/recent-files/egg-recent-model.c:
5431 * cut-n-paste/recent-files/egg-recent-util.c:
5432 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5433 * cut-n-paste/recent-files/egg-recent-view.c:
5437 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5439 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5440 (fillGlyph, fillImageMask, drawImage):
5441 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5442 pdf/splash/SplashTypes.h:
5443 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5444 packed mode for Splash.
5446 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5447 RGB8 packed mode, eliminates the pixbuf data creation loop.
5449 * shell/ev-print-job.c (ev_print_job_finalize)
5450 (ev_print_job_set_property, ev_print_job_get_property)
5451 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5452 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5453 (print_closure_finalize, ev_print_job_print): implement
5454 printing (for backends with EvPsExporter)
5456 * shell/ev_print_job.h: update prototypes.
5458 * shell/ev-window.c (ev_window_print): unref print job after
5461 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5462 unless the document implements the EvDocumentFind interface.
5464 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5466 * configure.ac: Added ja to ALL_LINGUAS.
5468 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5470 * pdf/xpdf/pdf-document.cc:
5472 add a FIXME. We should probably not allocate
5473 a bookmark object every time
5475 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5477 * shell/ev-application.c: (ev_application_open),
5478 (ev_application_open_bookmark):
5479 * shell/ev-application.h:
5481 Add a way to open bookmarks
5483 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5484 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5485 (ev_bookmark_set_property), (ev_bookmark_class_init),
5486 (ev_bookmark_new_title), (ev_bookmark_new_link),
5487 (ev_bookmark_new_external):
5489 Support for external uris, better constructors.
5491 * backend/ev-bookmark.h:
5492 * pdf/xpdf/pdf-document.cc:
5493 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5495 Handle external uris
5497 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5499 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5500 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5502 Hook up bookmarks navigation
5504 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5506 * backend/Makefile.am:
5507 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5508 (ev_bookmark_get_title), (ev_bookmark_set_title),
5509 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5510 (ev_bookmark_get_page), (ev_bookmark_set_page),
5511 (ev_bookmark_get_property), (ev_bookmark_set_property),
5512 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5514 * backend/ev-bookmark.h:
5515 * backend/ev-document-bookmarks.c:
5516 (ev_document_bookmarks_get_bookmark):
5517 * backend/ev-document-bookmarks.h:
5518 * pdf/xpdf/pdf-document.cc:
5519 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5521 Add a bookmark object to the backend and use it instead of get_values
5523 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5525 * data/evince-ui.xml:
5527 Cleanup and add select all.
5529 * shell/ev-view.c: (ev_view_select_all),
5530 (ev_view_button_press_event):
5532 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5535 Clear selection on click.
5537 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5539 * shell/ev-sidebar-thumbnails.c
5540 (ev_sidebar_thumbnails_set_document): forgot to unref the
5543 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5545 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5546 at the visible page, not just linearly. This makes it look fast.
5548 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5550 * backend/ev-document-misc.c
5551 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5553 * backend/ev-document-thumbnails.h: New interface to get the size
5556 2005-01-06 Jeremy Katz <katzj@redhat.com>
5558 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5561 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5563 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5564 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5567 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5569 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5571 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5572 fonts. Should fix font problems on systems that have the base
5573 fonts in bitmap format. Reported by James Henstridge
5574 <james@jamesh.id.au>.
5576 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5579 * pdf/xpdf/GfxState.cc:
5581 Fix for CAN-2004-1125
5583 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5585 * shell/ev-view.c: (ev_view_copy):
5587 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5589 Implement Edit->Copy
5591 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5593 * backend/ev-document.c: (ev_document_get_text):
5594 * backend/ev-document.h:
5595 * pdf/xpdf/pdf-document.cc:
5596 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5597 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5598 (ev_view_update_primary_selection), (ev_view_button_press_event),
5599 (ev_view_motion_notify_event), (ev_view_button_release_event):
5601 Beginnings of clipboard support. Incomplete but primary sort
5604 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5606 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5607 (expose_bin_window):
5609 Nicer rubberband drawing, from GtkIconView.
5611 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5613 * backend/ev-document.c: (ev_document_save):
5614 * backend/ev-document.h:
5615 * data/evince-ui.xml:
5616 * pdf/xpdf/pdf-document.cc:
5617 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5619 Implement "Save a copy..." menu item
5621 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5623 * shell/ev-view.c: (ev_view_zoom):
5625 Queue a resize when zoom changes
5627 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5629 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5632 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5635 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5637 * pdf/xpdf/pdf-document.cc
5638 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5640 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5642 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5643 It's slow, but I'll speed it up next!
5645 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5647 * shell/main.c (load_files):
5649 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5650 from the command line and because it seems more appropriate.
5652 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5654 * data/evince-ui.xml:
5655 * shell/ev-window.c: (update_action_sensitivity),
5656 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5658 s/next page/page down
5659 s/previous page/page up
5661 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5663 * data/evince-ui.xml:
5665 Change the layout to match clarkbw design.
5667 * shell/Makefile.am:
5668 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5669 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5670 (ev_navigation_action_finalize),
5671 (ev_navigation_action_set_property),
5672 (ev_navigation_action_get_property),
5673 (ev_navigation_action_class_init):
5674 * shell/ev-navigation-action.h:
5676 Implement clarkbw toolbar navigation controls (incomplete)
5678 * shell/ev-page-action.c: (update_label), (update_spin),
5679 (value_changed_cb), (create_tool_item), (connect_proxy),
5680 (ev_page_action_init), (ev_page_action_finalize),
5681 (ev_page_action_set_property), (ev_page_action_get_property),
5682 (ev_page_action_set_current_page),
5683 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5684 * shell/ev-page-action.h:
5686 Implement a page switcher in the toolbar
5688 * shell/ev-view.c: (ev_view_scroll_view):
5689 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5690 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5691 (register_custom_actions), (ev_window_init):
5693 Change page on PageUp/Down.
5695 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5697 * pdf/xpdf/pdf-document.cc
5698 (pdf_document_thumbnails_get_thumbnail): initial stab at
5699 implementing thumbnail support for pdfs. It only does documents
5700 with precached pdfs now.
5702 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5704 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5705 thumbnail code into a time-based idle as well. Also, turn off the
5706 shadow temporarily as it's really slow.
5708 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5710 * backend/ev-document.c: (ev_document_class_init):
5711 * pdf/xpdf/pdf-document.cc:
5712 * shell/ev-window.c: (ev_window_open):
5714 Fix document title bugs and fallback to
5715 filename when not available.
5717 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5719 * backend/ev-document.c: (ev_document_get_type),
5720 (ev_document_class_init), (ev_document_load),
5721 (ev_document_get_title):
5722 * backend/ev-document.h:
5723 * pdf/xpdf/pdf-document.cc:
5724 * ps/ps-document.c: (ps_document_set_property),
5725 (ps_document_get_property), (ps_document_class_init),
5729 * shell/ev-window.c: (update_window_title), (ev_window_open),
5732 Initial support for document title. Not working yet.
5734 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5736 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5738 Grab focus on the view when clicking it
5740 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5742 * shell/ev-marshal.list:
5743 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5744 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5746 Add key bindings to the view. Now if the focus would work
5749 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5752 * backend/Makefile.am:
5755 * dvi/dvilib/Makefile.am:
5756 * pdf/xpdf/Makefile.am:
5762 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5764 * shell/ev-view.c: (ev_view_realize):
5766 Fix mouse wheel scrolling
5768 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5774 * ps/ps-document.c: (catchPipe), (ps_document_init),
5775 (ps_document_class_init), (ps_document_cleanup),
5776 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5777 (set_up_page), (close_pipe), (is_interpreter_ready),
5778 (interpreter_failed), (output), (input), (start_interpreter),
5779 (stop_interpreter), (file_length), (file_readable),
5780 (check_filecompressed), (check_pdf), (compute_xdpi),
5781 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5782 (ps_document_get_type), (ps_document_emit_error_msg),
5783 (document_load), (ps_document_next_page),
5784 (ps_document_get_current_page), (ps_document_get_page_count),
5785 (ps_document_goto_page), (ps_document_set_page_size),
5786 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5787 (ps_document_load), (ps_document_get_n_pages),
5788 (ps_document_set_page), (ps_document_get_page),
5789 (ps_document_widget_event), (ps_document_set_target),
5790 (ps_document_set_scale), (ps_document_set_page_offset),
5791 (ps_document_get_page_size), (ps_document_render),
5792 (ps_document_document_iface_init):
5795 * shell/ev-window.c: (ev_window_open):
5797 Rename GtkGS to PSDocument
5799 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5801 * ps/gtkgs.c: (gtk_gs_class_init):
5804 Some more leftover...
5806 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5808 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5809 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5810 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5813 Remove unused code and make a lot of stuff private
5815 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5817 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5818 (gtk_gs_defaults_changed):
5824 Cleanup headers dependencies
5826 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5831 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5833 * ps/gtkgs.c: (file_length), (file_readable),
5834 (check_filecompressed), (check_pdf), (gtk_gs_load),
5835 (gtk_gs_get_postscript):
5839 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5844 * ps/gtkgs.c: (gtk_gs_set_zoom):
5848 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5850 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5852 Ensure the page is rerendered when changing zoom
5854 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5856 * backend/ev-document.c: (ev_document_base_init),
5857 (ev_document_changed):
5858 * backend/ev-document.h:
5860 Add a changed event that is emitted when the page content
5861 changes. This is necessary to deal with the fact that
5862 in ps backend rendering happen asycrounously.
5863 This makes the ps backend mostly work.
5865 * pdf/xpdf/pdf-document.cc:
5869 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5870 (ps_document_set_target):
5874 * shell/ev-view.c: (document_changed_callback),
5875 (ev_view_set_document), (ev_view_set_page):
5877 Redraw on the changed signal
5879 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5881 * configure.ac: Added pt_BR to ALL_LINGUAS.
5883 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5885 * backend/ev-document-bookmarks.c:
5886 (ev_document_bookmarks_get_child): *
5887 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5888 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5889 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5890 (ev_sidebar_bookmarks_destroy),
5891 (ev_sidebar_bookmarks_class_init),
5892 (ev_sidebar_bookmarks_construct), (stack_data_free),
5893 (do_one_iteration), (populate_bookmarks_idle),
5894 (ev_sidebar_bookmarks_clear_document),
5895 (ev_sidebar_bookmarks_set_document): *
5896 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5897 (ev_sidebar_add_page),
5898 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5899 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5900 it displays both the topics and the page numbers.
5902 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5904 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5906 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5909 2004-12-23 Adam Weinberger <adamw@gnome.org>
5911 * configure.ac: Added en_CA to ALL_LINGUAS.
5913 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5915 * ChangeLog: replace bottom of this ChangeLog (merged history of
5916 ggv and gpdf; where all paths were wrong and most of the files are
5917 not even in this tree) with ChangeLog (from arch) of the shell
5920 2004-12-23 Havoc Pennington <hp@redhat.com>
5922 * shell/ev-window.c: hook up potentially-questionable "find
5923 results status text" feature - something involving the sidebar or
5924 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5925 might be better in the end.
5927 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5928 with corresponding signal when it should be updated
5930 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5932 2004-12-22 Havoc Pennington <hp@redhat.com>
5934 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5935 find stuff on other pages, sort of (only returns one result on
5936 invisible pages, to show they have results; updates full results
5937 for a page when you view it). Currently repaints the current page
5938 every time a new result is found on any page, which isn't so nice.
5940 2004-12-22 Havoc Pennington <hp@redhat.com>
5942 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5943 the document doesn't support find (better ideas?)
5944 (find_bar_search_changed_cb): handle missing document or document
5945 that doesn't support find
5947 * pdf/xpdf/pdf-document.cc: port to implement the new
5950 * backend/ev-document-find.c: create a new interface for searching
5952 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5954 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5956 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5959 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5960 EvPrintJob constructor arguments.
5962 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5963 for documents that can export PostScript (page by page).
5965 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5967 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5968 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5969 (pdf_document_ps_exporter_iface_init:
5970 Implement EvPSExporter.
5972 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5974 2004-12-22 Anders Carlsson <andersca@gnome.org>
5976 * backend/Makefile.am:
5977 * backend/ev-document-thumbnails.c:
5978 (ev_document_thumbnails_get_type),
5979 (ev_document_thumbnails_get_thumbnail):
5980 * backend/ev-document-thumbnails.h:
5981 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5982 (pixbuf_document_thumbnails_get_thumbnail),
5983 (pixbuf_document_document_thumbnails_iface_init):
5984 * shell/Makefile.am:
5985 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5986 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5987 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5988 * shell/ev-sidebar-thumbnails.h:
5989 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5990 (ev_sidebar_set_document):
5991 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5992 (create_shadow), (ev_pixbuf_add_shadow):
5994 Add thumbnail support.
5996 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5998 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5999 (using_postscript_printer): Set up a print dialog for "PostScript
6002 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
6005 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
6007 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6009 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6010 (ps_document_set_target), (ps_document_get_page_size),
6011 (ps_document_render):
6016 2004-12-22 Christian Rose <menthos@menthos.com>
6018 * configure.ac: Added "sv" to ALL_LINGUAS.
6020 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6022 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6023 document supports bookmarks.
6025 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6027 * ps/ggvutils.c: (ggv_file_readable):
6029 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6030 (gtk_gs_get_postscript):
6034 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6036 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6037 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6038 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6039 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6040 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6041 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6042 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6043 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6044 (gtk_gs_set_antialiasing), (ps_document_load),
6045 (ps_document_render):
6048 Another check point for the ps backend. Now I can get it to show
6051 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6053 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6054 document setting code.
6056 2004-12-22 Anders Carlsson <andersca@gnome.org>
6058 * shell/eggfindbar.c: (entry_activate_callback):
6059 Animate the next button when activate is pressed.
6061 2004-12-22 Anders Carlsson <andersca@gnome.org>
6063 * shell/ev-window.c: (ev_window_cmd_edit_find),
6064 (update_fullscreen_popup), (ev_window_fullscreen),
6065 (ev_window_unfullscreen), (ev_window_state_event_cb),
6066 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6067 Fix bugs in fullscreen code.
6069 2004-12-22 Anders Carlsson <andersca@gnome.org>
6073 * pixbuf/Makefile.am:
6074 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6075 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6076 (pixbuf_document_set_page), (pixbuf_document_get_page),
6077 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6078 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6079 (pixbuf_document_render), (pixbuf_document_begin_find),
6080 (pixbuf_document_end_find), (pixbuf_document_finalize),
6081 (pixbuf_document_class_init),
6082 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6083 * pixbuf/pixbuf-document.h:
6084 * shell/Makefile.am:
6085 * shell/ev-application.c: (ev_application_open):
6086 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6090 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6093 * dvi/dvilib/Makefile.am:
6095 * configure.ac: Auto*ify dvi and dvi/dvilib
6097 * dvi/Makefile: Remove from CVS
6099 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6102 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6104 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6106 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6109 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6110 (gtk_gs_value_adjustment_changed), (compute_size),
6111 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6112 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6113 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6114 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6115 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6116 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6117 (ps_document_load), (ps_document_get_n_pages),
6118 (ps_document_set_page), (ps_document_get_page),
6119 (ps_document_set_target), (ps_document_set_scale),
6120 (ps_document_set_page_offset), (ps_document_get_page_size),
6121 (ps_document_render), (ps_document_begin_find),
6122 (ps_document_end_find), (ps_document_document_iface_init):
6124 * shell/Makefile.am:
6125 * shell/ev-window.c: (ev_window_open):
6127 Some work to integrate gtkgs with EvDocument
6129 2004-12-22 Anders Carlsson <andersca@gnome.org>
6131 * shell/ev-window.c: (update_fullscreen_popup),
6132 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6133 (exit_fullscreen_button_clicked_cb),
6134 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6135 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6136 (ev_window_state_event_cb), (ev_window_init):
6137 Add fullscreen support from Epiphany.
6139 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6141 * data/ev-stock-zoom-fit-width.png: fit-width
6142 stock icon from gpdf.
6144 * shell/ev-stock-icons.[ch]: copied from gpdf.
6146 * shell/main.c: (main): init stock icons.
6148 * shell/ev-window.c: use the fit-width icon.
6150 * data/evince-ui.xml: add zooming toolbar items.
6152 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6155 (ev_view_best_fit), (ev_view_fit_width): because
6156 get_page_size() returns the scaled page size, we
6157 need to calculate the scale factor relative to
6158 the previous scale factor. Should really just
6159 add get_real_page_size().
6161 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6163 * shell/ev-view.[ch]:
6164 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6165 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6168 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6169 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6170 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6173 * pdf/xpdf/pdf-document.cc:
6174 (pdf_document_begin_find),
6175 (pdf_document_end_find): make static.
6177 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6179 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6181 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6182 names to fontconfig patterns.
6183 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6185 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6188 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6204 Import ggv backend. Not hooked up yet.
6206 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6208 * shell/main.c: (load_files), (main): load files
6209 from the command line.
6211 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6213 * configure.ac: don't require bonobo.
6215 * cut-n-paste/recent-files/*: kill bonobo recent
6218 * shell/ev-window.c:
6219 (ev_window_is_empty): upd.
6220 (unable_to_load), (ev_window_open): load backend
6221 based on the mime type.
6223 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6225 * backend/.cvsignore: ignore generated marshalers source.
6227 * shell/main.c (main): this is not epiphany.
6229 2004-12-22 Havoc Pennington <hp@redhat.com>
6231 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6232 (expose_bin_window): draw find highlights
6234 * shell/ev-window.c (find_bar_search_changed_cb): implement
6236 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6237 (pdf_document_end_find): implement this interface
6239 * backend/ev-document.c (ev_document_found): add this to emit
6242 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6244 * data/evince-ui.xml: Add a few more toolbar items.
6246 * shell/ev-window.c: Hook up page navigation toolbar
6249 * shell/ev-view.[ch]: add ev_view_set/get_page and
6250 a page-changed signal.
6252 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6253 Add ev_document_get_page().
6255 * shell/ev-window.c: Sensitize/desensitize navigation
6258 2004-12-21 Havoc Pennington <hp@redhat.com>
6260 * backend/ev-backend-marshal.c,
6261 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6262 marshaler-generator thingy. I'm sure there's a better way to do
6263 this in the modern world.
6265 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6266 end_find methods and "found" signal.
6268 * configure.ac: find glib-genmarshal
6270 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6272 * shell/ev-sidebar.c: Construct an actual sidebar.
6273 * shell/ev-sidebar-bookmarks.[ch]:
6274 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6276 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6278 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6281 * shell/ev-view.c: Track the size from the document.
6283 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6285 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6286 constructor assumes ownership of the string passed in.
6288 * shell/ev-window.c (ev_window_open): Destroy the error
6289 dialog once we've displayed it.
6291 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6293 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6294 a bit, it works! (sort of)
6296 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6297 Move to .cc since we need to use C++ in the implementation.
6299 * shell/dummy.cc: Add a CC file to force evince
6300 to be linked as a C++ program.
6302 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6304 * shell/ev-view.[ch]: Start of content-area widget.
6306 * shell/ev-window.c: Create a EvView, update it
6307 as we change documents.
6309 * shell/Makefile.am shell/ev-marshal.list: Add
6310 generated marshalers.
6312 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6314 * Makefile.am (SUBDIRS): move shell.
6316 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6318 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6319 .a to libtool convenience libraries.
6321 * shell/ev-window.c (ev_window_open): Hard code loading
6324 * backend/ev-document.h: Add a boolean return to load(),
6325 fix GError * to GError **.
6327 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6328 object for a PDF backend EvDocument.
6330 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6332 * dvi/*: New directory with the beginning of a .dvi backend.
6334 2004-12-21 Havoc Pennington <hp@redhat.com>
6336 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6337 previous/next instead of back/forward
6339 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6341 * backend/ev-document.[ch]: Fix a couple of problems so
6344 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6346 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6347 to backend/ directory, rename EvViewer to EvDocument.
6349 2004-12-21 Havoc Pennington <hp@redhat.com>
6351 * shell/ev-window.c: hook up the find bar widget; now we just need
6352 a document to find things in
6354 * shell/eggfindbar.c: a find bar widget
6356 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6358 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6360 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6362 * pdf/**: Import of xpdf code from gpdf.
6364 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6366 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6367 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6368 Fix FreeType includes.
6370 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6371 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6372 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6373 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6374 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6375 Include xpdfconfig.h
6377 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6379 * shell/ev-window.c (ev_window_dispose): dispose can be called
6382 2004-12-21 Havoc Pennington <hp@redhat.com>
6384 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6387 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6388 items; really they should be synced with the strings, etc. from
6389 current gpdf, but just getting the boring typing out of the way
6391 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6394 * shell/ev-application.c: (window_destroy_cb):
6395 * shell/ev-window.c:
6396 * shell/main.c: (main):
6398 Actually show the window...
6400 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6403 * shell/Makefile.am:
6404 * shell/ev-application.c: (ev_application_class_init):
6405 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6409 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6411 Import to gnome cvs.
6413 * Remove copies of gpdf and ggv trees.
6414 * Rip out all the recursive configure code.
6415 * Remove bonobo machinery.
6416 * viewer/*: GInterfaces that backends should/can implement.
6418 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6420 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6423 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6425 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6426 (ev_application_finalize, ev_application_class_init)
6427 (ev_application_init): use GType instance private data for priv.
6429 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6430 (ev_window_finalize, ev_window_class_init)
6431 (ev_window_init): ditto.
6433 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6435 * shell/ev-application.c (ev_application_new_window): make public
6436 (ev_application_show_initial_window): kill.
6438 * shell/ev-application.h: update prototypes.
6440 * shell/main.cc (main): inline ev_application_show_initial_window.
6442 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6444 * shell/ev-application.c (ev_application_new_window): impl.
6445 (ev_application_show_initial_window): use it.
6446 (is_window_empty, ev_application_get_empty_window): returns an
6447 existing empty window or a new one.
6448 (ev_application_open): from ev_window_cmd_file_open.
6450 * shell/ev-application.h: update prototypes
6452 * shell/ev-window.c (ev_window_is_empty): impl.
6453 (ev_window_open): make public.
6454 (ev_window_cmd_file_open): use ev_application_open
6456 * shell/ev-window.h: update prototypes, remove unused.
6458 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6460 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6461 move destroy handler out of here...
6463 * shell/ev-application.c, shell/ev-application.h: ...into this new
6464 class. Also handles initial window creation.
6466 * shell/main.cc (main): use EvApplication to create initial
6469 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6471 * Makefile.am (SUBDIRS): add cut-n-paste
6473 * cut-n-paste/Makefile.am: add
6475 * configure.ac: generate Makefiles in cut-n-paste
6477 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6479 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6480 (ev_window_class_init): install ev_window_dispose.
6482 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6484 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6485 char (gchar looks stupid).
6487 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6489 * po/de.po: updated German translation.
6491 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6493 * configure.ac: add more pkg-config library checks for gnome-vfs,
6496 * gpdf/configure.in: temporarily disable libpaper
6497 checks. Otherwise I'd have to add the checks for the shell, too.
6499 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6501 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6502 and * file filters to the file choose.
6504 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6506 * po/de.po: Updated German translation.
6508 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6510 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6512 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6514 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6516 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6517 (ev_window_init): implement those menuitems.
6519 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6521 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6523 * shell/ev-window.c (ev_window_init): use the toolbar.
6525 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6527 * shell/ev-window.c (ev_window_init): use menu translations
6529 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6531 * configure.ac: add "de" to ALL_LINGUAS.
6533 * po/de.po: add German translation.
6535 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6537 * Makefile.am (SUBDIRS): add po
6539 * configure.ac: check intltool, glib-gettext etc, generate
6542 * po, po/POTFILES.in, po/POTFILES.skip: new.
6544 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6546 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6547 already use (#ifdef ENABLE_NLS)
6549 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6550 pointer indirection thinko.
6552 * shell/main.c: include gi18n.h for bindtextdomain etc.
6554 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6556 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6557 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6558 tooltips for menu items in the statusbar.
6560 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6562 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6563 pkgdatadir drop UIDIR
6565 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6567 * data/evince-ui.xml: Add File->Open menu item
6569 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6570 chooser), hook it up in the ui manager.
6572 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6574 * shell/ev-window.c: fix Help->About tooltip.
6576 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6578 * configure.ac: set CFLAGS for libevprivate.
6580 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6581 definitions, factory etc.
6583 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6585 * shell/Makefile.am: link against libevprivate.a.
6587 * shell/ev-window.c (entries): add stock icon to Help->About.
6589 * shell/main.c (main): init stock icon code.
6591 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6593 * lib/recent-files: egg recent files code
6595 * lib/Makefile.am: add.
6597 * Makefile.am: add lib subdir.
6599 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6600 set CFLAGS for recent-files.
6602 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6604 * configure.ac: disable -ansi and -pedantic gcc flags. They
6605 disable POSIX stuff in stdio.h, but egg-recent uses them.
6607 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6609 * configure.ac: add --disable-deprecated flag (defaults to on in
6612 * shell/Makefile.am (INCLUDES): use it.
6614 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6616 * shell/main.c: add missing #include.
6618 * shell/ev-window.c: fix for pedantic gcc.
6619 (ev_window_cmd_help_about): split license into paragraphs for
6620 translators and pedantic compilers.
6622 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6624 * configure.ac: add more warning flags if compiling with gcc from
6625 cvs (or explicitly requested with --enable-more-warnings).
6627 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6629 * data/evince-ui.xml: add File and File->Close menu.
6631 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6632 (ev_window_destroy): quit after destroy.
6633 (ev_window_class_init): override GtkObject::destroy.
6634 (entries): install close_window callback.
6636 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6638 * Makefile.am (SUBDIRS): add data subdir.
6640 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6641 gtk+ 2.5.0 for GtkAboutDialog.
6643 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6646 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6648 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6650 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6652 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6654 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6656 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6658 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6660 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6662 * shell/*: Added shell directory boilerplate, build it.
6664 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6666 * configure.ac, Makefile.am: Added top-level configure.ac and