1 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
7 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
9 * configure.ac: Update script to get dbus version.
10 Fix for the bug #313443.
12 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
14 * shell/ev-window.c: (ev_window_cmd_escape):
16 Return focus back to view on escape. Fix for bug 313295.
18 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
20 * shell/ev-window.c: (update_window_title),
21 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
22 (ev_window_cmd_save_as):
24 Correct conversion from uri to displayable string. Fix for
27 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
29 * ps/ps-document.c: convert filename to utf8 when there is an error
30 loading document. Fixes #309915
32 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
36 We depend on poppler 0.4.0
38 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
41 * NEWS: Release 0.3.3.
42 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
44 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
46 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
47 add a couple missing mnemonics to menu items, use title
48 capitalization for menu items and window titles, and add
49 ellipsis to open menu item.
51 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
54 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
55 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
56 (ev_view_get_rotation):
58 * shell/ev-window.c: (setup_view_from_metadata),
59 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
60 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
63 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
65 * configure.ac: Added tr to ALL_LINGUAS
67 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
69 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
70 requires several clicks to find word. Thanks to
71 Colin Slater <kiltedtaco@gmail.com>.
73 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
75 * data/evince.desktop.in.in: Hide menu entry and
76 rename it to "Document Viewer". Fix for bug
79 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
81 * shell/ev-page-action.c (ev_page_action_class_init):
83 Point to the correct function in constructor of the
86 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
88 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
89 * shell/ev-jobs.h: Make thread safe.
91 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
93 * shell/ev-view.c: (view_update_range_and_current_page):
94 Don't update page range if we are scrolling to some document
97 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
99 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
100 when getting max_page_width, fix drawing in dual mode.
102 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
104 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
105 getting the area for select_all.
107 2005-08-06 Kristian Høgsberg <krh@redhat.com>
109 * backend/ev-selection.c: (ev_selection_render_selection):
110 * backend/ev-selection.h:
112 * shell/ev-jobs.c: (ev_job_render_new):
114 * shell/ev-pixbuf-cache.c: (get_selection_colors),
115 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
116 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
117 (ev_view_class_init):
119 Change selection color on focus in and focus out events. Also,
120 poppler now uses GdkColor for specifying the selection colors, so
121 drop some awkward conversion code.
123 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
125 * configure.ac: Added Hebrew translation
127 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
130 * backend/ev-selection.c: (ev_selection_render_selection):
131 * backend/ev-selection.h:
133 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
136 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
137 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
138 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
139 (ev_pixbuf_cache_style_changed),
140 (ev_pixbuf_cache_get_selection_pixbuf),
141 (ev_pixbuf_cache_set_selection_list),
142 (ev_pixbuf_cache_get_selection_list):
143 * shell/ev-pixbuf-cache.h:
144 * shell/ev-utils.c: (ev_print_region_contents):
146 * shell/ev-view.c: (ev_view_queue_draw_page),
147 (selection_update_idle_cb), (ev_view_motion_notify_event),
148 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
149 (setup_caches), (ev_view_find_next), (merge_selection_region),
151 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
153 Clean up selection to be much smoother!
155 2005-08-05 Kristian Høgsberg <krh@redhat.com>
157 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
158 to poppler_page_render_selection().
160 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
162 * ps/ps-document.c: (save_page_list): Use
163 unzipped document when printing. Thanks to
164 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
167 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
169 * shell/ev-window.c: (update_action_sensitivity):
171 Disable print and save respect to lockdown gconf keys. Fix
174 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
177 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
178 (write_to_temp_file), (ev_file_set_contents):
180 * shell/ev-window.c: (save_print_config_to_file):
182 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
185 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
187 * shell/ev-window.c: (load_print_config_from_file),
188 (save_print_config_to_file), (ev_window_print_range):
190 Persist the print settings. Fixes bug #311578.
192 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
194 * djvu/djvu-document.c: (djvu_document_get_page_size),
195 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
196 (djvu_document_thumbnails_get_thumbnail):
197 * dvi/dvi-document.c: (dvi_document_get_page_size),
198 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
199 (dvi_document_thumbnails_get_dimensions),
200 (dvi_document_thumbnails_get_thumbnail):
201 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
202 (pixbuf_document_render_pixbuf),
203 (pixbuf_document_document_iface_init),
204 (pixbuf_document_thumbnails_get_thumbnail):
206 Update backends to make them build with new rotation system.
208 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
210 * help/C/figures/evince_start_window.png:
212 Update documentation image from Luca Ferretti <elle.uca@libero.it>
214 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
216 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
217 * shell/ev-pixbuf-cache.h:
218 * shell/ev-sidebar-thumbnails.c:
219 (ev_sidebar_thumbnails_get_property), (add_range),
220 (adjustment_changed_cb):
221 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
222 pixbuf cache. Make thumbnailing work again. Also, fix bug where
223 we were thumbnailing the entire docment on startup, slowing us
226 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
228 * shell/ev-page-cache.c: (ev_page_cache_new):
229 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
232 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
234 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
235 (ev_view_rotate_left):
237 Account rotation in doc_rect_to_view_rect.
238 Ensure rotation doesnt go out of bounds.
240 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
242 * shell/ev-page-cache.c: (ev_page_cache_get_size):
244 Correct and cleanup w/h swapping
246 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
248 * backend/ev-document-thumbnails.c:
249 (ev_document_thumbnails_get_thumbnail):
250 * backend/ev-document-thumbnails.h:
251 * backend/ev-document.c:
252 * backend/ev-document.h:
253 * backend/ev-render-context.c: (ev_render_context_new),
254 (ev_render_context_set_rotation):
255 * backend/ev-render-context.h:
257 * ps/ps-document.c: (ps_document_document_iface_init):
258 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
260 * shell/ev-page-cache.c: (build_height_to_page),
261 (ev_page_cache_new), (ev_page_cache_get_size),
262 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
263 (ev_page_cache_get_height_to_page):
264 * shell/ev-page-cache.h:
265 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
266 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
267 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
268 (ev_pixbuf_cache_get_selection_pixbuf):
269 * shell/ev-pixbuf-cache.h:
270 * shell/ev-print-job.c: (idle_print_handler):
271 * shell/ev-sidebar-thumbnails.c: (add_range):
272 * shell/ev-view.c: (view_update_range_and_current_page),
273 (get_page_y_offset), (get_page_extents),
274 (ev_view_size_request_continuous_dual_page),
275 (ev_view_size_request_continuous),
276 (ev_view_size_request_dual_page),
277 (ev_view_size_request_single_page), (draw_one_page),
278 (ev_view_set_rotation), (ev_view_rotate_right),
279 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
280 (ev_view_zoom_for_size_continuous_and_dual_page),
281 (ev_view_zoom_for_size_continuous),
282 (ev_view_zoom_for_size_dual_page),
283 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
284 (ev_view_select_all):
285 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
286 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
287 (tiff_document_document_iface_init),
288 (tiff_document_thumbnails_get_thumbnail):
290 Use rotation rather than orientation. It's easier and enough
293 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
295 * shell/ev-page-cache.c: (build_height_to_page),
296 (ev_page_cache_new), (ev_page_cache_get_size),
297 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
298 (ev_page_cache_get_height_to_page):
299 * shell/ev-page-cache.h:
300 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
301 (ev_view_size_request_continuous_dual_page),
302 (ev_view_size_request_continuous),
303 (ev_view_zoom_for_size_continuous_and_dual_page),
304 (ev_view_zoom_for_size_continuous):
306 Make the page cache aware of page orientation.
308 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
310 * backend/ev-document-thumbnails.c:
311 (ev_document_thumbnails_get_thumbnail):
312 * backend/ev-document-thumbnails.h:
313 * backend/ev-document.c:
314 * backend/ev-document.h:
315 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
316 * backend/ev-ps-exporter.h:
318 * ps/ps-document.c: (ps_document_document_iface_init),
319 (ps_document_ps_export_do_page):
320 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
322 * shell/ev-page-cache.c: (ev_page_cache_get_size),
324 * shell/ev-page-cache.h:
325 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
326 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
327 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
328 * shell/ev-pixbuf-cache.h:
329 * shell/ev-print-job.c: (idle_print_handler):
330 * shell/ev-sidebar-thumbnails.c: (add_range):
331 * shell/ev-view.c: (view_update_range_and_current_page),
332 (get_page_extents), (ev_view_size_request_dual_page),
333 (ev_view_size_request_single_page), (draw_one_page),
334 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
335 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
336 (ev_view_zoom_for_size_dual_page),
337 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
338 (ev_view_select_all):
339 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
340 * tiff/tiff-document.c: (tiff_document_get_page_size),
341 (tiff_document_get_orientation), (rotate_pixbuf),
342 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
343 (tiff_document_thumbnails_get_thumbnail),
344 (tiff_document_ps_export_do_page), (tiff_document_init):
346 Really make use of the orientation bit of the render context.
347 Use the render context in a few more places in the backend API.
348 This regress orientation, but now it's done right. Will try to
351 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
353 * shell/ev-view.c: (ensure_rectangle_is_visible):
355 Patch by Nickolay V. Shmyrev to fix find flickering
357 2005-07-27 Martin Kretzschmar <martink@gnome.org>
359 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
360 duplex parameters to ::begin.
362 * tiff/tiff-document.c (tiff_document_ps_export_begin):
363 * shell/ev-print-job.c (idle_print_handler):
364 * ps/ps-document.c (ps_document_ps_export_begin):
365 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
366 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
367 implementations. Poppler backend needs poppler cvs. Rest has
370 2005-07-25 Martin Kretzschmar <martink@gnome.org>
372 * shell/ev-window.c (using_pdf_printer): new function.
373 (ev_window_print_range): print a less techy message if someone
374 tries to print to PDF.
376 2005-07-25 Martin Kretzschmar <martink@gnome.org>
378 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
379 from "unknown font" string. Bug #311431
381 2005-07-24 Martin Kretzschmar <martink@gnome.org>
383 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
385 2005-07-24 Martin Kretzschmar <martink@gnome.org>
389 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
390 name for PopplerFontTypes
391 (pdf_document_fonts_fill_model): add font type to the detail column
393 * backend/ev-document-fonts.h: added
394 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
396 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
397 font name and font details, add a little markup.
398 (ev_properties_fonts_init): use the new cell data func, specify ypad
399 property for the cell renderer.
400 (ev_properties_fonts_set_document): add the details column.
402 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
404 * configure.ac: Added "pl" to ALL_LINGUAS.
406 2005-07-24 Danilo Šegan <danilo@gnome.org>
408 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
410 2005-07-23 Tommi Vainikainen <thv@iki.fi>
412 * help/ChangeLog: Started this for translations of manual.
413 * configure.ac, autogen.sh, .cvsignore: Migrated to
414 gnome-doc-utils. Patch in bug #311222.
416 2005-07-22 Martin Kretzschmar <martink@gnome.org>
418 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
419 #ifdef this away to fix an unused-function warning.
421 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
423 * configure.ac: Added 'gl' to ALL_LINGUAS.
425 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
427 * configure.ac: Added ne in ALL_LINGUAS
429 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
431 * shell/ev-view.c: (ev_view_leave_notify_event):
433 Clear status message when pointer leaves view. Fix for bug
436 2005-07-20 Ankit Patel <ankit644@yahoo.com>
438 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
440 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
442 * shell/ev-view.c: (ev_view_leave_notify_event),
443 (ev_view_class_init):
445 Set cursor to normal then leaving view.
447 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
451 Fix required djvulibre version.
453 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
455 *configure.ac: Hindi (hi) language added
457 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
459 *configure.ac: Punjabi (pa) Language added
461 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
463 * data/evince-ui.xml, shell/ev-window.c:
465 Add keypad accelerators for zooming. Fix for bug 308128.
467 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
470 * backend/Makefile.am:
471 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
473 * shell/ev-document-types.c: (ev_document_types_add_filters):
475 Allow to enable/disable the pixbuf backend.
476 Default to off for now. If we want it enabled we should
477 really put mime types in the desktop, implement properties etc.
479 * properties/evince-properties.c:
481 Initialize error to NULL.
482 Check error is not NULL before freeing.
484 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
488 Use F5 as presentation accell
490 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
492 * shell/ev-window.c: (update_chrome_visibility),
493 (ev_window_create_fullscreen_popup), (ev_window_init):
495 Do not leak the fullscreen toolbar
497 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
499 * shell/ev-window.c: (view_actions_focus_in_cb),
500 (view_actions_focus_out_cb):
502 These has a return value! Fix totally random focus
503 issues we was seeing.
505 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
507 * shell/main.c: (load_files_remote):
509 Allow open more than one file
511 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
513 * shell/main.c: (load_files_remote):
515 Fix for dbus 0.33. bug #309975
517 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
519 * properties/ev-properties-main.c: (ev_properties_get_pages):
521 Actually return NULL for types we dont support
523 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
529 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
531 * backend/ev-document-factory.c:
532 (ev_document_factory_get_document):
534 Do not try to create the object if type
537 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
539 * ps/ps-document.c: (ps_document_dispose),
540 (ps_async_renderer_render_pixbuf):
543 Do not leak the target window
545 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
547 * shell/ev-application.c: (ev_application_init):
549 Let tbe check file existence for us.
550 Add a comment about eggrecent mime filter.
552 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
554 * data/evince-ui.xml:
555 * shell/ev-application.c: (ev_application_shutdown),
556 (ev_application_init), (ev_application_get_toolbars_model),
557 (ev_application_get_recent_model),
558 (ev_application_save_toolbars_model):
559 * shell/ev-application.h:
560 * shell/ev-window.c: (ev_window_add_recent),
561 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
562 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
565 Use common toolbar and recent models for all windows.
566 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
568 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
570 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
571 successfully check for gtk_icon_view_get_visible_range.
573 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
578 Fix djvu and dvi backend build.
580 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
582 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
583 (new_separator_pixbuf):
587 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
589 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
591 HIGification of toolbar editor dialogue.
593 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
598 Ever build metadata manager since it's just
599 disabled at runtime now.
601 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
603 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
604 (ev_metadata_manager_get), (ev_metadata_manager_set):
605 * shell/ev-metadata-manager.h:
607 Add an _init functions that enabled metadata management
610 * shell/ev-window.c: (page_changed_cb),
611 (setup_document_from_metadata), (ev_window_setup_document),
612 (setup_view_from_metadata), (ev_window_open_uri),
613 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
614 (ev_window_run_presentation), (ev_window_stop_presentation),
615 (save_sizing_mode), (ev_window_zoom_changed_cb),
616 (ev_window_continuous_changed_cb),
617 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
618 (window_configure_event_cb):
620 Remove all ugly metadata define since we deal with it
623 * shell/main.c: (load_files_remote), (main):
625 Add support for dbus cvs head. Hopefully didnt break one
626 of the other versions now!
628 If we dont get a response from the dbus server just
629 give up with it and not enable metadata.
631 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
634 * backend/Makefile.am:
636 * cut-n-paste/recent-files/Makefile.am:
637 * cut-n-paste/toolbar-editor/Makefile.am:
638 * cut-n-paste/zoom-control/Makefile.am:
641 * pixbuf/Makefile.am:
642 * properties/Makefile.am:
645 * thumbnailer/Makefile.am:
648 Make frontends depend on just libev.
649 Rework and group CFLAGS/LIBS definitions.
652 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
656 do not unnecessarily save zoom
659 * lib/ev-file-helpers.c: (ev_dot_dir):
665 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
669 Remove unnecessary dependencies
671 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
673 * properties/Makefile.am:
674 * thumbnailer/Makefile.am:
677 Some more cleanups. Was really necessary
678 but I probably introduced bugs, feel free
681 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
683 * backend/Makefile.am:
685 * cut-n-paste/recent-files/Makefile.am:
686 * cut-n-paste/toolbar-editor/Makefile.am:
687 * cut-n-paste/zoom-control/Makefile.am:
690 * pixbuf/Makefile.am:
691 * properties/Makefile.am:
694 * thumbnailer/Makefile.am:
697 Use gnome-common macros when possible.
698 Cleanup dependencies.
699 Actually disable deprecated where possible.
701 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
704 * backend/Makefile.am:
705 * properties/Makefile.am:
707 * thumbnailer/Makefile.am:
709 This should solve the circular dep without
712 * shell/ev-window.c: (setup_view_from_metadata):
714 Never restore window size/position when the
715 window is already visible.
717 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
719 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
721 Return a boolean from timeout func. Fix ported from gedit.
723 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
725 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
727 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
729 * shell/ev-document-types.c: set "All Documents" as default filter in
732 2005-07-06 Martin Kretzschmar <martink@gnome.org>
734 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
735 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
736 (ev_metadata_manager_set_boolean): fix value/val thinko.
738 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
740 * shell/ev-window.c: (setup_view_from_metadata),
741 (window_state_event_cb), (window_configure_event_cb),
744 Remember window position and maximized state
746 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
750 Fix DBUS configure checks.
752 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
753 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
754 (ev_metadata_manager_set_boolean):
758 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
759 (ev_window_stop_fullscreen), (ev_window_run_presentation),
760 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
761 (ev_window_continuous_changed_cb),
762 (ev_window_dual_mode_changed_cb), (ev_window_new):
764 Fix the build without DBUS.
766 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
768 * shell/ev-metadata-manager.c: (parse_value), (save_values),
769 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
770 (ev_metadata_manager_set_string),
771 (ev_metadata_manager_set_boolean):
772 * shell/ev-metadata-manager.h:
774 Add support for some more types
776 * shell/ev-view.c: (scroll_to_current_page),
777 (ev_view_get_continuous), (ev_view_set_continuous),
778 (ev_view_get_dual_page):
780 * shell/ev-window.c: (page_changed_cb),
781 (setup_document_from_metadata), (ev_window_setup_document),
782 (setup_view_from_metadata), (ev_window_open_uri),
783 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
784 (ev_window_run_presentation), (ev_window_stop_presentation),
785 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
786 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
787 (ev_window_update_dual_page_action),
788 (ev_window_continuous_changed_cb),
789 (ev_window_dual_mode_changed_cb), (ev_window_init):
791 Remember a bunch of view/document properties. Prolly some
792 are still missing but it's getting interesting.
794 2005-07-05 Martin Kretzschmar <martink@gnome.org>
796 * configure.ac: check if dbus-binding-tool is installed. Not the
797 case on current Ubuntu breezy, it seems.
799 2005-07-05 Luca Ferretti <elle.uca@libero.it>
801 * data/evince.desktop.in.in:
803 Allow open uri lists and add TryExec field.
805 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
809 Enable dbus when available, do not require a configure
812 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
816 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
819 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
820 Marco Pesenti Gritti <mpg@redhat.com>
822 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
824 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
825 functions to the format required by dbus
827 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
828 errors. Use the RPC parameters in the expected way
830 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
833 * properties/Makefile.am:
834 * properties/ev-properties-main.c: (ev_properties_get_pages):
836 Support all mime types
839 * thumbnailer/Makefile.am:
840 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
841 (evince_thumbnail_pngenc_get):
843 Use the document factory
845 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
847 * backend/Makefile.am:
848 * backend/ev-document-factory.c:
849 (mime_type_supported_by_gdk_pixbuf),
850 (ev_document_type_get_from_mime),
851 (ev_document_factory_get_document),
852 (ev_document_factory_get_backend),
853 (ev_document_factory_get_mime_types),
854 (ev_document_factory_get_all_mime_types):
855 * backend/ev-document-factory.h:
857 * shell/ev-document-types.c: (get_document_from_uri),
858 (ev_document_types_get_document),
859 (file_filter_add_mime_list_and_free),
860 (ev_document_types_add_filters):
861 * shell/ev-document-types.h:
862 * shell/ev-job-xfer.c: (ev_job_xfer_run):
863 * shell/ev-properties-dialog.c:
864 (ev_properties_dialog_set_document):
865 * shell/ev-window.c: (ev_window_cmd_file_open),
866 (ev_window_cmd_save_as):
867 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
869 Rework document types managing to avoid code duplication
870 and actually abstract from backend implementations.
871 Also provide a minimal factory api that can be used by
872 thumbnailer/properties.
874 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
876 * properties/ev-properties-view.c: (ev_properties_view_set_info):
878 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
881 2005-07-04 Matthew S. Wilson <msw@rpath.com>
883 * shell/ev-properties-dialog.c
884 (ev_properties_dialog_set_document): only call
885 ev_properties_fonts_set_document() if the document implements the
888 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
891 * properties/Makefile.am:
892 * properties/ev-properties-view.c:
893 (ev_properties_view_register_type):
894 * properties/ev-properties-view.h:
895 * properties/ev-properties-main.h:
897 Implement nautilus plugin for properties.
898 Works only for pdf atm, I need to rework the
899 document types stuff to get this to work
902 2005-07-04 Martin Kretzschmar <martink@gnome.org>
904 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
905 (ev_properties_fonts_set_document): use
906 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
908 2005-07-04 Matthew S. Wilson <msw@rpath.com>
910 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
912 (PlaceImage, tiff2ps_process_page): use
913 g_ascii_dtostr to convert floats to strings in a locale-safe way.
916 2005-07-04 Martin Kretzschmar <martink@gnome.org>
918 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
919 (main): to call gnome_authentication_manager_init. Should fix
922 * configure.ac: that requires libgnomeui 2.6.0.
924 2005-07-04 Matthew S. Wilson <msw@rpath.com>
926 * tiff/tiff-document.c (tiff_document_ps_export_begin)
927 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
928 use the new tiff2ps interfaces
930 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
931 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
933 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
934 structure instead of global variables. Remove use of static
935 variables in functions.
937 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
939 * shell/ev-page-action.c: unref the completion after setting it to the
942 2005-07-04 Matthew S. Wilson <msw@rpath.com>
944 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
947 2005-07-04 Matthew S. Wilson <msw@rpath.com>
949 * shell/ev-window.c (update_action_sensitivity): disable
950 File->Print if the document does not implement the ps exporter
953 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
957 * data/evince-properties.glade:
958 * properties/.cvsignore:
959 * properties/Makefile.am:
960 * properties/ev-properties-view.c: (ev_properties_view_dispose),
961 (ev_properties_view_class_init), (ev_properties_view_format_date),
962 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
963 (ev_properties_view_init), (ev_properties_view_new):
964 * properties/ev-properties-view.h:
966 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
967 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
968 (ev_properties_dialog_new):
969 * shell/ev-properties-dialog.h:
970 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
971 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
972 (update_progress_label), (job_fonts_finished_cb),
973 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
974 * shell/ev-properties-fonts.h:
975 * shell/ev-properties.c:
976 * shell/ev-properties.h:
977 * shell/ev-window.c: (ev_window_setup_document),
978 (ev_window_cmd_file_properties):
980 Split the properties pages in two different objects, depend
981 only on the backend where possible, use widgets instead
982 of gobject for the glade part, reimplement the dialog
984 I need this to implement nautilus properties page.
986 2005-07-03 Matthew S. Wilson <msw@rpath.com>
988 * tiff/tiff-document.c (tiff_document_ps_export_begin)
989 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
990 (tiff_document_document_ps_exporter_iface_init): implement the ps
991 exporter interface for tiff documents
993 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
994 libtiff to implement TIFF postscript export
996 * tiff/tiff2ps.h: added a header file for external tiff2ps
999 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
1002 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1004 * shell/ev-view.c: (scroll_to_current_page),
1005 (ev_view_set_fullscreen), (ev_view_set_presentation):
1007 Scroll to current page when exit from presentation
1009 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1011 * shell/ev-window.c: (update_document_mode),
1012 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1013 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1014 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1016 Exit from fullscreen mode when switch to presentation. Fix for
1019 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1021 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1022 return NULL if the document does not implement the selection
1025 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1027 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1028 reported height by using the resolution aspect ratio
1029 (tiff_document_render_pixbuf): scale the pixbuf using the
1030 resolution aspect ratio
1032 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1036 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1037 <kiltedaco@gmail.com>
1039 * djvu/djvu-document.c: (djvu_document_get_orientation),
1040 (djvu_document_set_orientation), (djvu_document_get_page_size),
1041 (rotate_pixbuf), (djvu_document_render_pixbuf),
1042 (djvu_document_document_iface_init):
1043 * dvi/dvi-document.c: (dvi_document_get_orientation),
1044 (dvi_document_set_orientation), (dvi_document_get_page_size),
1045 (rotate_pixbuf), (dvi_document_render_pixbuf),
1046 (dvi_document_document_iface_init):
1048 Dvi and djvu backends are ported to new API
1050 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1052 * backend/ev-selection.c: (ev_selection_get_selection_region),
1053 (ev_selection_get_selection_map):
1054 * backend/ev-selection.h:
1055 * pdf/ev-poppler.cc:
1056 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1058 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1059 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1060 (ev_pixbuf_cache_get_text_mapping):
1061 * shell/ev-pixbuf-cache.h:
1062 * shell/ev-view.c: (location_in_text),
1063 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1064 support to EvView. Now we can see where we can select! Sweet!
1066 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1068 * shell/ev-view.c (ev_view_button_press_event): Fix
1069 event->y + view->scroll_x typo.
1071 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1073 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1074 sub-GdkPixbuf instead of passing dest_x and dest_y.
1076 * shell/ev-view.c: (view_point_to_doc_point),
1077 (view_rect_to_doc_rect), (ev_view_button_press_event),
1078 (ev_view_motion_notify_event), (compute_new_selection_rect),
1079 (gdk_rectangle_point_in), (compute_new_selection_text),
1080 (compute_selections): Update selection code to keep the selection
1081 around as two points and not as a normalized rectangle, and fix
1082 page level selection in two-column mode.
1084 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1086 * shell/ev-window.c: (window_configure_event_cb):
1090 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1092 * pdf/ev-poppler.cc:
1096 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1098 * shell/Makefile.am:
1099 * shell/ev-metadata-manager.c: (item_free),
1100 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1101 (parse_value), (parseItem), (load_values),
1102 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1103 (save_values), (save_item), (get_oldest), (resize_items),
1104 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1105 * shell/ev-metadata-manager.h:
1107 Metadata manager from gedit but modified to use GValue, so that
1108 we dont need to keep converting from strings.
1112 ENABLE_METADATA conditional, on when dbus is on
1114 * shell/ev-application.c: (ev_application_open_uri):
1116 Show the window after load so that we can initialize
1117 window size before it's showed.
1119 * shell/ev-window.c: (ev_window_setup_from_metadata),
1120 (ev_window_open_uri), (window_configure_event_cb),
1123 Save and load metadata information about window size.
1124 Not yet keeping states in account.
1126 * shell/main.c: (main):
1128 Shutdown metadata manager.
1130 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1132 * shell/ev-application-service.xml:
1134 * shell/Makefile.am:
1135 * shell/ev-application.c:
1136 * shell/ev-application.h:
1137 * shell/ev-window.c:
1138 * shell/ev-window.h:
1141 Add an optional dbus interface (--enable-dbus).
1142 Rework application code, mainly to be easier to
1144 Do not open multiple windows with the same document,
1147 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1149 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1150 pixbuf iff it exists.
1152 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1155 * backend/ev-render-context.[ch]:
1156 * backend/ev-selection.[ch]:
1158 Massive changes. We now support text selection of pdfs, and not
1159 just rectangular selection. This is pretty broken still, but I
1160 want to get something into CVS.
1162 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1164 * pdf/ev-poppler.cc:
1166 Fix for Bug 309080: crash on window close.
1168 * shell/ev-page-action.c: (page_changed_cb):
1170 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1171 jensgr@gmx.net (Jens Granseuer).
1173 2005-06-25 Marcel Telka <marcel@telka.sk>
1175 * configure.in (ALL_LINGUAS): Added sk.
1177 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1179 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1182 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1189 * cut-n-paste/recent-files/Makefile.am:
1193 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1195 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1196 (pixbuf_document_set_orientation), (rotate_pixbuf),
1197 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1198 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1200 Implement rotation and cleanup the code a bit.
1202 * tiff/tiff-document.c: (tiff_document_get_page_size),
1203 (tiff_document_get_orientation), (tiff_document_set_orientation),
1204 (rotate_pixbuf), (tiff_document_render_pixbuf),
1205 (tiff_document_document_iface_init), (tiff_document_init):
1207 Implement rotation. Was the quicker solution for the release
1208 but we really need to share this code in the shell.
1210 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1212 * pdf/ev-poppler.cc:
1214 Enable rotation, require poppler cvs. Fix a leak.
1216 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1218 * shell/ev-window.c: (update_action_sensitivity):
1220 Make properties unsensitive if document backend doesn't provide
1223 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1225 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1226 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1227 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1228 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1229 (bitmap_flip_rotate_counter_clockwise):
1230 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1231 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1233 * dvi/mdvi-lib/common.h:
1234 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1235 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1236 (opendvi), (mdvi_reload), (mdvi_init_context),
1237 (mdvi_destroy_context), (mdvi_dopage), (special):
1238 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1239 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1240 (file_hash_free), (register_encoding), (parse_spec),
1241 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1242 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1243 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1244 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1245 (mdvi_register_font_type), (mdvi_unregister_font_type),
1246 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1247 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1248 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1249 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1250 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1251 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1252 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1253 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1254 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1255 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1256 (mdvi_unregister_special), (mdvi_flush_specials):
1257 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1259 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1260 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1261 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1262 (free_font_metrics), (flush_font_metrics):
1263 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1265 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1266 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1267 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1268 (dstring_insert), (dstring_new), (dstring_reset):
1269 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1271 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1272 avoid conflict with libtool on FC4
1274 * shell/ev-window.c: (ev_window_cmd_help_about):
1276 Update copyright year. Fix for bug 308828.
1278 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1280 * shell/ev-view.c: (add_scroll_binding_keypad),
1281 (ev_view_binding_activated), (ev_view_class_init),
1282 (on_adjustment_value_changed):
1284 Bug 170874: Arrow keys switch pages in presentation mode
1286 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1288 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1290 Fix for Bug 308265: Sidebar dissappears coming out of
1293 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1295 * shell/ev-application.c: (ev_application_open):
1296 * shell/ev-document-types.c: (ev_document_types_add_filters),
1297 (ev_document_types_add_filters_for_type):
1298 * shell/ev-document-types.h:
1299 * shell/ev-window.c: (ev_window_cmd_save_as):
1301 Suggest basename as template when saving, provide filters
1302 for save dialog. It's bug 308402
1304 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1306 * pdf/ev-poppler.cc:
1307 * shell/ev-sidebar-links.c: (job_finished_callback):
1308 * shell/ev-view.c: (update_find_status_message):
1312 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1314 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1315 (egg_recent_view_uimanager_set_list):
1317 Fix buglet in !show_numbers case.
1319 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1321 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1322 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1324 Use pango ellipsisation.
1326 * pdf/ev-poppler.cc:
1328 Fix refcount leak, from nsh.
1330 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1332 * cut-n-paste/recent-files/Makefile.am:
1333 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1334 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1336 Removed EggRecentViewGtk
1338 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1339 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1340 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1341 (ev_window_setup_recent):
1343 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1346 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1348 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1349 (egg_recent_view_gtk_finalize):
1353 * cut-n-paste/toolbar-editor/Makefile.am:
1355 Fix location of cursor icon.
1357 * pdf/ev-poppler.cc:
1358 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1359 (display_completion_text), (match_completion):
1360 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1361 (selection_changed_callback), (create_loading_model),
1362 (print_section_cb), (links_page_num_func),
1363 (update_page_callback_foreach):
1364 * shell/ev-window.c: (ev_window_dispose):
1366 Small memory fixes. Links model now store objects instead
1367 of pointers to improve memory management.
1369 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1371 * shell/ev-window.c: (zoom_control_changed_cb):
1373 Fix update of zoom control (bug 308268).
1375 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1377 * shell/ev-properties.c (set_property): escape the text correctly.
1378 Handles non-UTF-8 properties and escaped properties. Also, sets
1379 the text to "<i>None</i>" if the property isn't set.
1381 * data/evince-properties.glade: Change the label to be ellipsized,
1382 and give it a minimum size.
1384 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1386 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1387 * shell/ev-sidebar-links.c: (create_loading_model):
1388 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1389 * shell/ev-view.c: (ev_view_set_document):
1390 * shell/ev-window.c: (ev_window_dispose):
1392 Various small fixes, mostly memory leaks. Thanks to valgrind.
1394 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1396 * ps/ps-document.c: remove the locale.h include again ;-). And
1397 kill the (bogus) setlocale/savelocale business.
1399 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1403 Include locale.h to fix build
1405 * shell/ev-sidebar.c:
1407 Remove unnecessary includes
1409 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1411 * dvi/dvi-document.c: (dvi_document_load):
1412 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1415 Check for incorrect dvi files. Fix parsing dvi on AMD64
1416 platform. Thanks to tester@tester.ca (Olivier Crete).
1418 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1420 * shell/ev-page-action.c: (match_selected_cb),
1421 (display_completion_text), (match_completion), (update_model):
1422 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1423 (expand_open_links):
1424 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1425 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1426 (ev_sidebar_set_document):
1427 * shell/ev-window.c: (ev_window_xfer_job_cb),
1428 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1430 Fixed lot's of memory leaks, for example, memory leak on reload,
1431 described in bug 307793.
1433 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1435 * pdf/ev-poppler.cc:
1436 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1437 (update_visible_range), (adjustment_changed_cb),
1438 (ev_sidebar_thumbnails_fill_model),
1439 (ev_sidebar_thumbnails_refresh),
1440 (ev_sidebar_tree_selection_changed),
1441 (ev_sidebar_icon_selection_changed),
1442 (ev_sidebar_thumbnails_use_icon_view),
1443 (ev_sidebar_thumbnails_set_document):
1444 * shell/ev-sidebar-thumbnails.h:
1445 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1446 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1448 Refresh thumbnails when changing orientation. Not fully
1449 working yet becuase of a sidebar bug.
1451 Set page orientation to poppler page everywhere. This sucks
1452 really need to fix poppler.
1454 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1456 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1457 (egg_recent_view_gtk_new_menu_item),
1458 (egg_recent_view_gtk_set_property),
1459 (egg_recent_view_gtk_get_property),
1460 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1461 (egg_recent_view_gtk_set_tooltip_func),
1462 (egg_recent_view_gtk_set_label_width),
1463 (egg_recent_view_gtk_get_label_width):
1464 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1466 Sync with libegg (ellipsize labels)
1468 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1470 * data/evince-ui.xml:
1471 * shell/ev-window.c: (ev_window_cmd_go_forward),
1472 (ev_window_cmd_go_backward):
1474 Shift + PageUp moves 10 Pages. Fix for 306125
1476 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1478 * pdf/ev-poppler.cc:
1480 Add a flag to check if orientation has been overriden
1482 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1484 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1487 * ps/ps.h: add creator field to document.
1489 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1492 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1494 * data/evince-properties.glade:
1495 * shell/ev-properties.c: (ev_properties_set_document):
1497 s/PDF Version/Format
1499 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1501 * shell/ev-properties.c: (ev_properties_set_document):
1503 Remove unnecessary translations
1505 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1507 * cut-n-paste/toolbar-editor/Makefile.am:
1509 Correct library name
1511 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1514 * cut-n-paste/recent-files/egg-recent-model.c:
1515 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1516 (egg_recent_model_unlock_file):
1517 * cut-n-paste/recent-files/egg-recent-util.c:
1518 (egg_recent_util_get_unique_id):
1519 * cut-n-paste/recent-files/update-from-egg.sh:
1520 * cut-n-paste/toolbar-editor/Makefile.am:
1521 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1522 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1523 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1524 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1525 (egg_toolbars_model_get_type):
1526 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1528 Better makefile for toolbar editor and update everything
1531 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1533 * shell/ev-window.c: (update_document_mode):
1535 Prefer presentation mode when the document
1538 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1540 * data/evince-ui.xml:
1541 * shell/ev-window.c:
1543 Add control-equal for zooming
1545 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1547 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1549 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1551 * backend/ev-document.c: (ev_document_get_orientation):
1552 * backend/ev-document.h:
1553 * pdf/ev-poppler.cc:
1554 * ps/ps-document.c: (ps_document_get_orientation),
1555 (ps_document_set_orientation), (ps_document_document_iface_init):
1557 Add a get_orientation api. Improve set_orientation.
1559 * data/evince-ui.xml:
1560 * shell/ev-view.c: (ev_view_set_orientation),
1561 (ev_view_rotate_right), (ev_view_rotate_left):
1563 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1564 (ev_window_cmd_edit_rotate_right):
1566 Better ui for changing document orientation
1568 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1570 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1571 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1572 * shell/ev-sidebar-links.h:
1573 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1574 (ev_sidebar_page_iface_init):
1575 * shell/ev-sidebar-page.h:
1576 * shell/ev-sidebar-thumbnails.c:
1577 (ev_sidebar_thumbnails_get_property),
1578 (ev_sidebar_thumbnails_class_init),
1579 (ev_sidebar_thumbnails_set_document):
1580 * shell/ev-sidebar-thumbnails.h:
1581 * shell/ev-view.c: (ev_view_motion_notify_event):
1582 * shell/ev-window.c: (update_chrome_visibility),
1583 (ev_window_cmd_focus_page_selector),
1584 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1585 (sidebar_page_main_widget_update_cb), (ev_window_init):
1587 Autoraise toolbar on GoToPage binding and fix bindings in
1588 EvSidebarThumbnails page.
1590 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1592 * shell/ev-properties.c: (update_progress_label):
1594 Hide the progress label when finished; bug #307697.
1596 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1598 * pdf/ev-poppler.cc:
1600 Enable is_open for links, you will need poppler cvs
1602 * shell/ev-properties.c: (job_fonts_finished_cb):
1604 Get a lock on the document when filling the tree view
1606 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1608 * backend/ev-document-links.h:
1609 * pdf/ev-poppler.cc:
1610 * shell/ev-sidebar-links.c: (create_loading_model),
1611 (expand_open_links), (job_finished_callback):
1613 Expand links when specified by the document.
1614 Depend on a poppler api (defined out for now)
1616 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1618 * shell/ev-properties.c: (ev_properties_dispose),
1619 (ev_properties_class_init), (dialog_destroy_cb),
1620 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1621 (ev_properties_set_document), (ev_properties_new),
1622 (ev_properties_show):
1623 * shell/ev-properties.h:
1625 Make it an object, cleanup the code, api to show it as transient
1626 and to set the document.
1628 * shell/ev-window.c: (ev_window_setup_document),
1629 (ev_window_cmd_file_properties):
1631 Adapt to EvProperties changes, do not show multiple
1632 times, update it when document changes.
1634 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1637 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1638 (ps_document_set_orientation), (ps_document_document_iface_init):
1641 Implement orientation here too
1643 * shell/ev-properties.c: (ev_properties_new):
1644 * data/evince-properties.glade:
1646 Hide the fonts page for backends that doesnt
1649 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1651 * backend/ev-document.c: (ev_document_set_orientation):
1652 * backend/ev-document.h:
1653 * pdf/ev-poppler.cc:
1655 Add orientation api. Currently poppler api is not optimal,
1656 we need to set orientation every time we _get a page.
1657 I will try to fix that at some point.
1659 * data/evince-ui.xml:
1660 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1661 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1663 Add orientation menu items
1665 * shell/ev-page-cache.c: (ev_page_cache_clear):
1666 * shell/ev-page-cache.h:
1668 Add api to clear the cache
1670 * shell/ev-view.c: (setup_caches), (clear_caches),
1671 (ev_view_set_document), (ev_view_zoom_out),
1672 (ev_view_set_orientation):
1675 Implement orientation changing
1677 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1679 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1680 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1681 * backend/ev-document-fonts.h:
1683 Separate scan and fill so that we can incrementally fill from
1684 the main thread. Add a progress api.
1686 * data/evince-properties.glade:
1687 * pdf/ev-poppler.cc:
1688 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1690 * shell/ev-properties.c: (update_progress_label),
1691 (job_fonts_finished_cb), (setup_fonts_view):
1693 Incrementally feel the list and show the progress
1694 percentage in a label like acrobat does.
1696 You are going to need poppler cvs
1698 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1700 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1701 * backend/ev-document-fonts.h:
1702 * pdf/ev-poppler.cc:
1704 Make fonts model fill incrementally.
1706 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1707 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1708 (ev_job_queue_remove_job):
1709 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1710 (ev_job_fonts_new), (ev_job_fonts_run):
1713 New job for fonts scanning
1715 * shell/ev-properties.c: (job_fonts_finished_cb),
1716 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1717 * shell/ev-properties.h:
1718 * shell/ev-window.c: (ev_window_cmd_file_properties):
1720 Incrementally feel the treeview using the new job. Show Loading...
1721 message until scanning is completed.
1723 Hopefully I didnt break the build without the poppler patch.
1725 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1727 * shell/ev-application.c: (ev_application_open):
1728 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1729 (ev_document_type_get_type), (ev_document_type_lookup):
1730 * shell/ev-document-types.h:
1731 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1732 * shell/ev-job-xfer.h:
1733 * shell/ev-window.c: (ev_window_clear_local_uri),
1734 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1735 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1736 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1738 Transfer remote documents to tmp directory to display them later.
1740 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1742 * backend/ev-document-info.h:
1743 * shell/ev-properties.c: (ev_properties_new):
1745 s/GTime*/GTime. Not sure why we was using a pointer
1748 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1750 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1751 situations. That situation is that you're using GTK+-HEAD with
1752 the patch at #306726 is applied, and you have a document with <
1753 1500 pages in it. It's not quite as uniformly nice as the
1754 TreeView, but should be better in the long run.
1756 I'm pretty sure I guarded against breaking compilation with
1757 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1760 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1761 widget yet, so I commented that code out
1762 enable_view_actions_for_widget() for now. Need to figure this
1765 * shell/ev-page-action.c (match_selected_cb): emit the right
1766 signals. Our cool C-l completion now works.
1768 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1770 * backend/Makefile.am:
1771 * backend/ev-document-fonts.c:
1772 * backend/ev-document-links.c:
1773 * backend/ev-document.c: (ev_document_load):
1774 * backend/ev-document.h:
1775 * backend/ev-job-queue.c:
1776 * backend/ev-job-queue.h:
1777 * backend/ev-jobs.c:
1778 * backend/ev-jobs.h:
1779 * backend/ev-page-cache.c:
1780 * backend/ev-page-cache.h:
1782 EvPageCache and EvJobs are moved to shell.
1784 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1786 * lib/ev-file-helpers.h:
1788 New helper to work with temporary files
1790 * shell/Makefile.am:
1791 * shell/ev-application.c: (ev_application_open):
1792 * shell/ev-application.h:
1793 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1794 (remove_job_from_async_queue), (add_job_to_async_queue),
1795 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1796 (handle_job), (search_for_jobs_unlocked),
1797 (no_jobs_available_unlocked), (ev_render_thread),
1798 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1799 (ev_job_queue_add_job), (move_job_async), (move_job),
1800 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1801 * shell/ev-job-queue.h:
1802 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1803 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1804 * shell/ev-job-xfer.h:
1805 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1806 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1807 (ev_job_links_class_init), (ev_job_render_init),
1808 (ev_job_render_dispose), (ev_job_render_class_init),
1809 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1810 (ev_job_thumbnail_class_init), (ev_job_load_init),
1811 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1812 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1813 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1814 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1816 * shell/ev-page-action.c: (ev_page_action_set_document):
1817 * shell/ev-page-cache.c: (ev_page_cache_init),
1818 (ev_page_cache_class_init), (ev_page_cache_finalize),
1819 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1820 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1821 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1822 (ev_page_cache_get_title), (ev_page_cache_get_size),
1823 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1824 (ev_page_cache_get_height_to_page),
1825 (ev_page_cache_get_max_label_chars),
1826 (ev_page_cache_get_page_label),
1827 (ev_page_cache_has_nonnumeric_page_labels),
1828 (ev_page_cache_get_info), (ev_page_cache_next_page),
1829 (ev_page_cache_prev_page), (ev_page_cache_get):
1830 * shell/ev-page-cache.h:
1831 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1832 (ev_pixbuf_cache_clear_job_sizes),
1833 (ev_pixbuf_cache_add_jobs_if_needed),
1834 (ev_pixbuf_cache_set_page_range):
1835 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1836 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1837 * shell/ev-sidebar-thumbnails.c:
1838 (ev_sidebar_tree_selection_changed),
1839 (ev_sidebar_thumbnails_set_document):
1840 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1841 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1842 (ev_statusbar_get_context_id), (ev_statusbar_push),
1843 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1844 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1845 (ev_statusbar_set_progress):
1846 * shell/ev-statusbar.h:
1847 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1848 (ev_view_find_previous):
1849 * shell/ev-window.c: (ev_window_is_empty),
1850 (ev_window_setup_document), (password_dialog_response),
1851 (ev_window_clear_jobs), (ev_window_load_job_cb),
1852 (ev_window_xfer_job_cb), (ev_window_open_uri),
1853 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1854 (ev_window_print), (ev_window_print_range),
1855 (ev_window_state_event), (ev_window_cmd_view_reload),
1856 (menu_item_select_cb), (menu_item_deselect_cb),
1857 (view_status_changed_cb), (ev_window_dispose),
1858 (drag_data_received_cb), (ev_window_init):
1859 * shell/ev-window.h:
1860 * shell/main.c: (load_files):
1862 New statusbar to show progress on idle. Two new jobs -
1863 xfer job and load job to load document in background. And update
1864 of page_cache clients to new location of code.
1866 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1868 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1869 selection in open dialog. It also remembers the last visited directory
1870 in the current session.
1872 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1874 * shell/ev-properties.c: (ev_properties_new):
1875 * shell/ev-properties.h:
1876 * shell/ev-window.c: (ev_window_cmd_file_properties):
1878 Get document info from page cache instead of document itself.
1879 This should fix crash related to race conditions described in
1882 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1884 * ps/ps-document.c: (ps_document_init),
1885 (send_ps), (get_page_box), (output), (catchPipe), (input),
1886 (stop_interpreter), (file_length), (file_readable),
1887 (check_filecompressedb), (ps_document_enable_interpreter),
1888 (document_load), (ps_async_renderer_render_pixbuf):
1891 Big cleanup of the ps code
1893 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1895 * backend/Makefile.am:
1896 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1897 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1898 * backend/ev-async-renderer.h:
1900 Add an async renderer interface (method + callback) which
1901 is useful for backends like ps.
1903 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1904 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1905 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1906 (ev_job_queue_add_job), (move_job_async), (move_job),
1907 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1909 Add queues for async renderer, these are executed on the
1912 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1913 (ev_job_render_run):
1914 * backend/ev-jobs.h:
1916 If the backend support async renderer interface use it.
1918 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1919 (setup_pixmap), (ps_document_get_type),
1920 (ps_async_renderer_render_pixbuf),
1921 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1923 Implement async renderer interface.
1925 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1927 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1929 Cleanup links job on exit.
1931 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1933 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1934 (drag_data_get_cb), (drag_data_received_cb):
1935 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1936 (drag_data_get_cb), (parse_item_list),
1937 (egg_toolbar_editor_load_actions):
1938 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1939 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1940 (parse_item_list), (parse_toolbars):
1941 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1942 (dvi_pixbuf_put_pixel):
1944 Fix gcc 4.0 warnings
1946 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1948 * ps/ps-document.c: (start_interpreter):
1950 Fix warning when loading ps
1952 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1954 * ps/ps-document.c: (output):
1956 Fix crash when priting gs error messages.
1958 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1960 * backend/ev-page-cache.c: (_ev_page_cache_new):
1961 * backend/ev-page-cache.h:
1963 Use a const to return title so that we dont double
1964 free it. Small cleanup and fix a leak.
1966 * shell/ev-window.c: (update_window_title):
1968 strdup value from get_title.
1970 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1972 * shell/ev-sidebar-links.c: (job_finished_callback),
1973 (ev_sidebar_links_set_document):
1975 Cleanup the old job when changing document
1977 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1979 * shell/ev-stock-icons.c:
1980 * shell/ev-stock-icons.h:
1981 * shell/ev-window.c:
1983 Add stock icons for actions that can appear in toolbar. Fix for
1986 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1988 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1989 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1990 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1991 * backend/ev-page-cache.h:
1992 * shell/ev-view.c: (scroll_to_current_page),
1993 (view_update_range_and_current_page), (get_page_y_offset),
1994 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1995 (ev_view_size_request_continuous),
1996 (ev_view_zoom_for_size_continuous_and_dual_page),
1997 (ev_view_zoom_for_size_continuous):
1999 More compact EvView layout in document with pages of different size.
2001 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
2003 * shell/ev-window.c (ev_window_cmd_file_properties): fix
2006 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2008 * shell/ev-view.c: (view_set_adjustment_values):
2009 * shell/ev-window.c: (ev_window_cmd_file_properties):
2011 A bit different fix for rounding problem but it has no
2012 problems on startup. Make properties window transient to parent.
2014 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2016 * pdf/ev-poppler.cc:
2018 More commenting of font stuff.
2020 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2022 * pdf/ev-poppler.cc:
2024 Comment out some more fonts stuff. Should really
2025 work without the poppler patch now.
2027 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2029 * pdf/ev-poppler.cc:
2033 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2035 * data/evince-properties.glade:
2036 * pdf/ev-poppler.cc:
2037 * shell/ev-properties.c: (setup_fonts_view):
2039 Set the column title. Show the dialog only
2040 once everything is setup.
2041 Getting font info can be very slow... will
2042 prolly need to make this threaded too.
2044 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2046 * backend/Makefile.am:
2047 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2048 (ev_document_fonts_get_fonts_model):
2049 * backend/ev-document-fonts.h:
2050 * data/evince-properties.glade:
2051 * pdf/ev-poppler.cc:
2052 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2053 * shell/ev-properties.h:
2054 * shell/ev-window.c: (ev_window_cmd_file_properties):
2056 Implement fonts list. Defined out for now, since it depends
2057 on a not yet committed poppler patch.
2059 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2061 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2064 * shell/ev-window.c: Make sure we add the timeout when we get a
2067 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2068 adjustment->value before calculating the zoom factor to average
2069 out all of our rounding errors. The page no longer 'drifts' when
2072 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2074 * data/evince-properties.glade:
2075 * shell/ev-properties.c: (ev_properties_format_date),
2078 Labels don't expand when the dialogue is resized.
2079 strftime result needs to be converted to UTF-8. Thanks
2080 to Christian Persch <chpe@gnome.org>.
2082 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2084 * data/evince-properties.glade:
2088 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2090 * backend/ev-document-info.h:
2091 * backend/ev-document.c: (ev_document_info_free):
2092 * data/evince-properties.glade:
2093 * pdf/ev-poppler.cc:
2094 * ps/ps-document.c: (ps_document_get_info):
2095 * shell/ev-properties.c: (ev_properties_format_date),
2096 (set_property), (ev_properties_new):
2097 * shell/ev-properties.h:
2098 * shell/ev-window.c: (ev_window_cmd_file_properties):
2100 Rework properties code to take only EvPropertyInfo
2101 in the constructor so that it can be useful for
2102 nautilus plugin too.
2104 Deal with backends that doesnt support some properties.
2105 Make set property code generic.
2107 2005-06-04 Christian Persch <chpe@gnome.org>
2109 * data/evince-properties.glade:
2111 fix spacings, make resizeable, and make data labels
2112 selectable + ellipsised
2114 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2116 * backend/ev-document-info.h:
2118 * data/evince-ui.xml:
2119 * pdf/ev-poppler.cc:
2120 * shell/Makefile.am:
2121 * shell/ev-window.c: (update_action_sensitivity),
2122 (ev_window_cmd_file_properties):
2124 Initial go at file properties. Patch by
2125 Emil Soleyman-Zomalan <emil@soleyman.com>.
2126 Needs love see #169583
2128 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2130 * ps/ps-document.c: (output):
2131 * ps/ps.c: (psscan):
2133 Try to render even if psscan fails.
2135 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2137 * ps/ps.c: (psscan), (pscopydoc):
2139 Port buffered reading code from gv
2141 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2143 * ps/ps-document.c: (interpreter_message), (output):
2145 Do not fail on interpreter messages
2147 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2149 * backend/ev-document-misc.c:
2150 (ev_document_misc_get_thumbnail_frame):
2152 Pages can be 0 x 0, dont assert on this case
2154 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2156 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2157 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2159 Correctly manage our reference on document. Finally the reload
2160 huge leak is gone...
2162 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2164 * ps/ps-document.c: (ps_document_dispose):
2166 Forgot to chain it to the parent. Thanks chpe.
2168 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2170 * ps/ps-document.c: (ps_document_dispose),
2171 (ps_document_class_init), (stop_interpreter), (document_load):
2173 Cleanup dispose a bit. Dont leak the whole pixmap.
2175 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2177 * pdf/ev-poppler.cc:
2179 Release the poppler document on dispose
2181 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2183 * shell/ev-view.c: (ev_view_set_document):
2185 Release ref on the pixbuf cache when changing
2188 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2190 * ps/ps-document.c: (ps_document_get_info):
2194 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2196 * backend/ev-page-cache.c: (ev_page_cache_init),
2197 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2198 * backend/ev-page-cache.h:
2199 * shell/ev-page-action.c: (page_changed_cb):
2201 Set page action entry width depending on labels width. Fix
2204 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2206 * backend/ev-link.c: (ev_link_class_init):
2208 Allow -1 as page value (error)
2210 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2212 * shell/ev-sidebar-thumbnails.c:
2213 (ev_sidebar_thumbnails_set_document):
2214 * shell/ev-view.c: (scroll_to_current_page),
2215 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2216 (page_changed_cb), (on_adjustment_value_changed),
2217 (ev_view_set_document):
2219 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2222 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2225 * djvu/djvu-document.c: (djvu_document_get_page_size):
2227 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2230 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2232 * shell/ev-view.c (draw_one_page): modify the expose handling to
2235 * shell/ev-window.c (update_action_sensitivity): Respect
2236 permissions field. Kowtow to the man.
2238 * pdf/ev-poppler.cc: Get the permissions field.
2240 * tiff/*c: Make a tiny bit more robust.
2242 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2244 * djvu/djvu-document.c:
2246 Pop messages from djvu context message queue.
2248 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2250 * configure.ac, Makefile.am, shell/Makefile.am:
2251 * tiff/Makefile.am, shell/ev-document-types.c:
2253 Cleanup tiff configure checks. Fix for bug 305218.
2255 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2257 * configure.ac: Added "uk" to ALL_LINGUAS.
2259 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2261 * cut-n-paste/zoom-control/ephy-zoom.c:
2262 (ephy_zoom_get_changed_zoom_level):
2263 * cut-n-paste/zoom-control/ephy-zoom.h:
2264 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2265 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2266 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2267 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2268 (zoom_control_changed_cb), (ev_window_init):
2270 Fix minor points related to moving best fit up. Introduce
2271 "zoom" property and make zoom control change it's value on
2272 notify::zoom signals. Fix for 305080.
2274 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2276 * data/evince-ui.xml:
2277 * shell/ev-window.c: (set_view_actions_sensitivity):
2279 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2281 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2285 Depends on poppler 0.3.2
2287 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2289 * cut-n-paste/recent-files/egg-recent-item.c:
2290 (egg_recent_item_get_short_name):
2291 * cut-n-paste/toolbar-editor/Makefile.am:
2292 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2293 (new_pixbuf_from_widget):
2294 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2295 * cut-n-paste/toolbar-editor/egg-marshal.c:
2296 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2297 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2301 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2303 * tiff/tiff-document.c: Rough TIFF backend.
2305 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2309 * cut-n-paste/toolbar-editor/Makefile.am:
2313 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2315 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2316 (ev_view_find_next), (ev_view_find_previous):
2318 Remove the locks around get_n_results
2320 2005-05-21 Juerg Billeter <j@bitron.ch>
2322 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2324 Pass correct number of pages to poppler.
2326 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2330 * data/evince.desktop.in:
2331 * data/evince.desktop.in.in:
2334 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2336 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2338 * shell/ev-view.c: (view_update_adjustments),
2339 (view_set_adjustment_values): cast adjustmen->value to (int)
2340 before using it. Otherwise, we get off by a pixel in some
2343 (draw_one_page): Draw the border on expose.
2345 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2347 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2348 adjustment when the mode changes, #304923
2350 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2352 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2353 flickering on resize but still use gdk_window_scroll on
2356 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2358 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2361 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2363 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2364 second page on page_changed if possible, #304669
2366 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2368 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2369 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2371 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2374 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2375 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2376 (ev_view_zoom_for_size_presentation),
2377 (ev_view_zoom_for_size_continuous_and_dual_page),
2378 (ev_view_zoom_for_size_continuous),
2379 (ev_view_zoom_for_size_dual_page),
2380 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2382 * shell/ev-window.c: (update_view_size),
2383 (ev_window_sizing_mode_changed_cb):
2385 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2386 the scrollbars. It's not 100% right, but it's much closer. Kills
2387 an infinite loop, #304769
2390 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2392 * data/evince-ui.xml:
2393 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2394 * shell/ev-window.c: (set_view_actions_sensitivity):
2396 Make PgUp/Down behave like Space
2398 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2400 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2401 * backend/ev-ps-exporter.h:
2402 * pdf/ev-poppler.cc:
2403 * ps/ps-document.c: (ps_document_ps_export_begin):
2404 * shell/ev-print-job.c: (idle_print_handler):
2406 Adapt to new poppler api
2408 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2410 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2411 (ephy_zoom_control_init):
2413 Translate zoom levels
2415 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2417 * cut-n-paste/zoom-control/ephy-zoom.c:
2418 (ephy_zoom_get_zoom_level_index):
2420 Fix current zoom -> zoom control match
2422 2005-05-18 James Bowes <bowes@cs.dal.ca>
2424 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2425 rather than the scrolled_window that it's in. Fixes bug #304655.
2427 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2429 * shell/ev-view.c: (view_update_adjustments),
2430 (view_set_adjustment_values), (view_update_range_and_current_page),
2431 (view_scroll_to_page), (set_scroll_adjustment),
2432 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2433 (ev_view_scroll), (ev_view_scroll_view),
2434 (ensure_rectangle_is_visible), (find_page_at_location),
2435 (get_link_at_location), (go_to_link), (status_message_from_link),
2436 (ev_view_size_request_continuous_dual_page),
2437 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2438 (ev_view_unrealize), (ev_view_expose_event),
2439 (ev_view_button_press_event), (ev_view_motion_notify_event),
2440 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2441 (draw_rubberband), (highlight_find_results), (draw_one_page),
2442 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2443 (ev_view_init), (find_changed_cb), (page_changed_cb),
2444 (on_adjustment_value_changed), (ev_view_new),
2445 (ev_view_set_document), (ev_view_set_zoom),
2446 (ev_view_set_continuous), (ev_view_set_dual_page),
2447 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2448 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2449 (ev_view_zoom_for_size_presentation),
2450 (ev_view_zoom_for_size_continuous_dual_page),
2451 (ev_view_zoom_for_size_continuous),
2452 (ev_view_zoom_for_size_dual_page),
2453 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2454 (ev_view_get_status), (ev_view_set_status),
2455 (update_find_status_message), (ev_view_get_find_status),
2456 (ev_view_set_find_status), (jump_to_find_result),
2457 (jump_to_find_page), (compute_selections), (clear_selection),
2458 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2459 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2460 (ev_view_update_primary_selection),
2461 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2463 * shell/ev-window.c: (ev_window_open_page_label),
2464 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2466 * shell/ev-window.h:
2467 * shell/main.c: (load_files):
2469 Massive code clean up from Nickolay Shmyrev. Keep page offset
2470 when resizing. Remove the bin_window(). Also, patch from James
2471 Bowes to fix command line page, #300641
2473 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2475 * data/evince-ui.xml:
2478 * shell/ev-window.c: (update_action_sensitivity):
2480 Get rid of View->Normal Size, it's just confusing
2482 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2484 * backend/ev-document-info.h:
2485 * backend/ev-document.c: (ev_document_info_free): Free the
2488 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2489 (clear_range), (add_range), (update_visible_range),
2490 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2491 (ev_sidebar_thumbnails_set_document):
2492 * shell/ev-window.c: (ev_window_setup_document): Only render the
2493 visible thumbnails. It takes an instant to render, but it uses
2496 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2498 * shell/ev-sidebar-links.c: (popup_menu_cb):
2502 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2505 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2506 (button_press_cb), (ev_sidebar_links_construct):
2508 Show the popup menu also on keybindings
2510 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2512 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2513 * shell/ev-window.h:
2515 Expose api to print a range (with dialog). Make private _print use
2518 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2519 (ev_sidebar_links_construct):
2521 Show a print context menu on linkx, it prints the selected
2524 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2526 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2529 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2535 * shell/ev-window.c: (build_comments_string),
2536 (ev_window_cmd_help_about):
2538 Show poppler version/backend and authors
2540 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2542 * cut-n-paste/zoom-control/ephy-zoom.c:
2543 (ephy_zoom_get_zoom_level_index):
2544 * cut-n-paste/zoom-control/ephy-zoom.h:
2546 Move the best fit items at the top of the list
2548 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2550 * shell/ev-marshal.list:
2551 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2552 (activate_cb), (match_selected_cb), (activate_link_cb),
2553 (connect_proxy), (ev_page_action_class_init):
2554 * shell/ev-page-action.h:
2556 Use signals to notify action activation. Hopefully
2557 I did not break completion since I cant test...
2559 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2560 (register_custom_actions):
2562 Connect to page selector actions and also grab focus on
2563 the view when activated.
2565 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2567 * pdf/ev-poppler.cc:
2568 * backend/ev-page-cache.c: make page size calculation consistent
2569 and set it to (int)( width * scale + 0.5). This makes the weird
2570 line going through the middle of the page go away.
2572 * shell/ev-view.c: move painting the background page after
2573 checking the expose area covers us.
2575 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2577 * data/evince-password.glade:
2579 Mark labels as not translatable. Fix for bug 302842.
2581 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2583 * configure.ac: Added "es" to ALL_LINGUAS.
2585 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2587 * data/evince-toolbar.xml:
2588 * shell/ev-window.c: (update_action_sensitivity),
2589 (ev_window_setup_document), (ev_window_set_page_mode),
2592 Remove some leftover code from jrb first continous
2593 attempt. Use the new actions, we still need good icons
2596 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2598 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2600 Update label when connecting proxy. Fix a warning with NULL
2603 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2605 * data/evince-ui.xml:
2606 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2607 * shell/ev-page-action.h:
2608 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2610 Add mnemonic for edit toolbar.
2611 ctrl+l focus the page entry.
2613 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2616 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2618 * shell/main.c: (main):
2620 Put the toolbar xml in evince own dot dir
2622 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2624 * shell/ev-window.c: (ev_window_init):
2626 Make the toolbar not removable
2628 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2630 * data/evince-ui.xml:
2631 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2632 * shell/ev-sidebar-links.h:
2633 * shell/ev-sidebar-thumbnails.c:
2634 (ev_sidebar_thumbnails_get_treeview):
2635 * shell/ev-sidebar-thumbnails.h:
2636 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2637 (ev_view_class_init):
2639 * shell/ev-window.c: (update_action_sensitivity),
2640 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2641 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2642 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2645 This is evil... Make space/backspace global accelerators but
2646 enable them only for some widgets (sidebars and view).
2647 I dont like it, but I dont know a better way... :/
2649 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2651 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2652 (ev_page_action_widget_finalize),
2653 (ev_page_action_widget_class_init), (update_page_cache):
2655 Keep a weak reference on proxy->page_cache so that we
2656 dont try to disconnect the signal if the object is already
2657 gone. Maybe there is a better way to cleanup reference handling
2658 in page action though...
2660 2005-05-10 Juerg Billeter <j@bitron.ch>
2662 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2663 * backend/ev-ps-exporter.h:
2664 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2665 * ps/ps-document.c: (ps_document_ps_export_begin):
2667 Change api to pass print range to ps_exporter_begin. The pdf backend
2668 requires this information.
2670 * shell/ev-print-job.c: (idle_print_handler):
2674 2005-05-10 Juerg Billeter <j@bitron.ch>
2676 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2677 (idle_print_handler)
2678 * shell/ev-window.c: (ev_window_print):
2680 Support printing page range, based on patch by Amaury Jacquot
2682 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2684 * data/evince-toolbar.xml:
2686 Add zoom control to available items
2688 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2690 * shell/ev-window.c: (update_action_sensitivity):
2692 Set slash action insensitive when appropriate
2694 2005-05-10 Christian Persch <chpe@gnome.org>
2696 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2698 Fix warning on the overflow menu
2700 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2702 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2704 Check for uri correctness/existence
2706 2005-05-09 Juerg Billeter <j@bitron.ch>
2708 * shell/ev-window.c: (using_postscript_printer):
2710 LPD printers use postscript, too
2712 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2714 * shell/ev-window.c: (register_custom_actions):
2716 The zoom one is actually sort of useful,
2719 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2721 * shell/ev-window.c: (register_custom_actions):
2723 Hide page/zoom controls from overflow, they
2726 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2728 * cut-n-paste/update-from-egg.sh:
2730 Share it between all cut-n-paste subdirs
2732 * cut-n-paste/recent-files/Makefile.am:
2734 Fix to use "global" update-from-egg.sh
2736 * cut-n-paste/recent-files/egg-recent-model.c:
2737 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2738 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2739 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2740 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2744 * cut-n-paste/toolbar-editor/Makefile.am:
2746 Fix to use "global" update-from-egg.sh
2748 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2752 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2755 * cut-n-paste/Makefile.am:
2756 * cut-n-paste/recent-files/Makefile.am:
2757 * cut-n-paste/toolbar-editor/.cvsignore:
2758 * cut-n-paste/toolbar-editor/Makefile.am:
2759 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2760 (egg_editable_toolbar_get_type), (get_toolbar_position),
2761 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2762 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2763 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2764 (set_item_drag_source), (create_item_from_action), (create_item),
2765 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2766 (popup_toolbar_context_menu_cb), (free_dragged_item),
2767 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2768 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2769 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2770 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2771 (item_added_cb), (item_removed_cb),
2772 (egg_editable_toolbar_construct),
2773 (egg_editable_toolbar_disconnect_model),
2774 (egg_editable_toolbar_deconstruct),
2775 (egg_editable_toolbar_set_model),
2776 (egg_editable_toolbar_set_ui_manager),
2777 (egg_editable_toolbar_set_property),
2778 (egg_editable_toolbar_get_property),
2779 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2780 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2781 (egg_editable_toolbar_new_with_model),
2782 (egg_editable_toolbar_get_edit_mode),
2783 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2784 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2785 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2786 (new_pixbuf_from_widget), (new_separator_pixbuf),
2787 (update_separator_image), (style_set_cb),
2788 (_egg_editable_toolbar_new_separator_image),
2789 (egg_editable_toolbar_get_model):
2790 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2791 * cut-n-paste/toolbar-editor/egg-marshal.c:
2792 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2793 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2794 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2795 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2796 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2797 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2798 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2799 (editor_drag_data_delete_cb), (drag_data_get_cb),
2800 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2801 (editor_create_item), (update_editor_sheet), (setup_editor),
2802 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2803 (parse_item_list), (model_has_action), (update_actions_list),
2804 (egg_toolbar_editor_load_actions):
2805 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2806 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2807 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2808 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2809 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2810 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2811 (egg_toolbars_model_add_separator), (impl_add_item),
2812 (parse_item_list), (egg_toolbars_model_add_toolbar),
2813 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2814 (impl_get_item_data), (impl_get_item_type),
2815 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2816 (egg_toolbars_model_init), (free_toolbar),
2817 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2818 (egg_toolbars_model_remove_toolbar),
2819 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2820 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2821 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2822 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2823 (egg_toolbars_model_get_item_data),
2824 (egg_toolbars_model_get_item_type):
2825 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2826 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2828 * data/evince-toolbar.xml:
2829 * data/evince-ui.xml:
2830 * data/hand-open.png:
2832 * shell/Makefile.am:
2833 * shell/ev-window.c: (update_chrome_visibility),
2834 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2835 (ev_window_dispose), (ev_window_init):
2837 Implement epiphany like toolbar editor. Based on patch by
2838 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2840 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2842 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2844 Use set_cursor instead of set_selection, so that
2845 the keyboard focus moves too.
2847 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2849 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2851 Fix infinite loop when loading Type1 fonts
2853 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2855 * data/evince-ui.xml:
2856 * shell/ev-window.c:
2860 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2864 Make --disable really disable
2866 2005-05-07 Juerg Billeter <j@bitron.ch>
2868 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2870 Compare page labels even without has_labels set, fixes setting page
2873 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2875 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2876 (ev_view_set_cursor), (ev_view_button_press_event),
2877 (ev_view_motion_notify_event), (ev_view_button_release_event),
2880 Implement middle button scrolling. Based on a patch
2881 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2883 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2885 * shell/ev-document-types.c: (get_slow_mime_type),
2886 (get_document_type_from_mime), (ev_document_type_lookup):
2887 * shell/ev-document-types.h:
2889 Change api to lookup from uri. Do fast lookup first, if the
2890 type is unknown try with data sniffing.
2892 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2893 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2897 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2899 * thumbnailer/Makefile.am:
2903 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2910 * data/evince-ui.xml:
2912 Hide presentation mode for now
2914 * shell/ev-view.c: (highlight_find_results):
2916 Show current find selection only on current page
2918 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2920 * shell/ev-view.c: (ev_view_select_all):
2922 Compute size of the actual page, not of
2925 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2927 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2928 (view_rect_to_doc_rect), (compute_selections),
2929 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2930 (ev_view_copy), (ev_view_primary_get_cb),
2931 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2932 (ev_view_button_press_event), (ev_view_motion_notify_event),
2933 (ev_view_button_release_event), (page_changed_cb):
2937 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2939 * shell/ev-view.c: (compute_border), (get_page_extents),
2940 (doc_rect_to_view_rect), (highlight_find_results),
2941 (ev_view_bin_expose), (ev_view_select_all),
2942 (ev_view_motion_notify_event), (update_find_status_message),
2943 (jump_to_find_result), (jump_to_find_page):
2945 First go at fixing search, still buggy
2947 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2949 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2950 dropdown box and button at the top of the sidebar.
2952 2005-05-02 James Bowes <bowes@cs.dal.ca>
2954 * configure.ac: Output zoom-control Makefile.
2955 * cut-n-paste/Makefile.am: build zoom-control subdir.
2956 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2957 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2958 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2959 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2960 * cut-n-paste/zoom-control/ephy-zoom.c:
2961 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2962 from epiphany, and modified to add a separator into the menu.
2963 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2964 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2965 zoom-control action.
2966 * shell/Makefile.am: Include zoom-control flags.
2967 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2968 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2969 (ev_view_zoom_for_size_presentation),
2970 (ev_view_zoom_for_size_continuous_and_dual_page),
2971 (ev_view_zoom_for_size_continuous),
2972 (ev_view_zoom_for_size_dual_page),
2973 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2974 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2975 ev_view_get_zoom and ev_view_get_sizing_mode.
2977 * shell/ev-window.c: (update_action_sensitivity),
2978 (update_sizing_buttons), (zoom_control_changed_cb),
2979 (register_custom_actions): Initialize and use the zoom-control
2982 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2984 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2985 preview cache back to 1. Don't know when it got set to 0.
2987 * shell/ev-view.c: (compute_border), (ev_view_realize),
2988 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2989 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2990 (ev_view_get_fullscreen), (ev_view_set_presentation),
2991 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2992 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2994 * shell/ev-window.c:
2995 (update_chrome_visibility),
2996 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2997 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2998 (update_document_mode), (ev_window_update_fullscreen_action),
2999 (ev_window_fullscreen), (ev_window_unfullscreen),
3000 (ev_window_cmd_view_fullscreen),
3001 (ev_window_update_presentation_action),
3002 (ev_window_run_presentation), (ev_window_stop_presentation),
3003 (ev_window_cmd_view_presentation), (ev_window_state_event),
3004 (ev_window_focus_in_event), (ev_window_focus_out_event),
3005 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
3006 * data/evince-ui.xml: Initial presentation mode. We should
3007 probably hide this until it's done, as it's quite rough. Also,
3008 change full-screen to fullscreen and add two getters to EvView.
3010 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3012 * shell/ev-page-action.c: (update_page_cache),
3013 (ev_page_action_dispose):
3014 * shell/ev-window.c: (destroy_fullscreen_popup),
3015 (ev_window_create_fullscreen_popup):
3017 Use connect_object rather than explicitly
3018 disconnect on dispose.
3020 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3022 * shell/ev-page-action.c: (update_page_cache),
3023 (ev_page_action_dispose):
3025 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3027 * backend/ev-page-cache.c: (_ev_page_cache_new),
3028 (ev_page_cache_set_page_label),
3029 (ev_page_cache_has_nonnumeric_page_labels):
3030 * backend/ev-page-cache.h:
3031 * shell/ev-page-action.c: (update_pages_label):
3033 If all page labels are numeric, fallback to default
3034 way to display number of pages. See bug 173185.
3036 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3038 * shell/ev-page-action.c: (ev_page_action_dispose):
3039 * shell/ev-view.c: (view_update_range_and_current_page):
3040 * shell/ev-window.c: (ev_window_dispose):
3042 Set page on scroll in continuous mode. Fixes bug 301986.
3043 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3045 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3049 Require poppler 0.3.0
3051 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3053 * shell/Makefile.am, configure.ac: Fix build problems
3054 with t1lib. Bug 301996.
3056 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3058 * shell/ev-view.c: (ev_view_scroll_event):
3060 Scroll up increase zoom
3062 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3064 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3065 (ev_view_set_sizing_mode),
3066 (ev_view_zoom_for_size_continuous_and_dual_page),
3067 (ev_view_zoom_for_size_continuous):
3068 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3069 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3070 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3073 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3074 Fix for 165473 and 165472.
3076 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3079 * thumbnailer/Makefile.am:
3080 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3081 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3082 * thumbnailer/evince-thumbnailer.schemas.in:
3084 Make thumbnailer schemas translatable. Fix for bug 301773
3086 * thumbnailer/evince-thumbnailer-djvu.schemas:
3087 * thumbnailer/evince-thumbnailer-dvi.schemas:
3088 * thumbnailer/evince-thumbnailer.schemas:
3092 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3094 * shell/ev-view.c (ev_view_init): forgot to set this.
3096 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3098 * shell/ev-view.c: (find_page_at_location),
3099 (get_link_at_location),
3100 (ev_view_set_show_border), (ev_view_set_spacing),
3101 (ev_view_zoom_for_size_continuous_and_dual_page),
3102 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3103 Also, add a quick fix measuring of widths. Also, removed
3104 ev_view_set_spacing and ev_view_set_show_border.
3106 * shell/ev-window.c: (ev_window_unfullscreen),
3107 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3109 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3111 * shell/ev-view.c: (view_update_range_and_current_page),
3114 Fix crash on exit and scrolling to page in continuous view.
3116 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3119 * backend/ev-page-cache.c: (_ev_page_cache_new),
3120 (ev_page_cache_get_max_width_size),
3121 (ev_page_cache_get_max_height_size):
3122 * backend/ev-page-cache.h:
3123 * data/evince-ui.xml:
3124 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3125 * shell/ev-view.c: (view_update_adjustments),
3126 (view_update_range_and_current_page), (get_bounding_box_size),
3127 (ev_view_size_request_continuous_and_dual_page),
3128 (ev_view_size_request_continuous),
3129 (ev_view_size_request_dual_page),
3130 (ev_view_size_request_single_page), (ev_view_size_request),
3131 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3132 (ev_view_bin_expose), (ev_view_expose_event),
3133 (ev_view_set_property), (ev_view_get_property),
3134 (ev_view_class_init), (ev_view_init), (ev_view_new),
3135 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3136 (ev_view_set_dual_page), (ev_view_set_full_screen),
3137 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3138 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3139 (ev_view_zoom_out), (zoom_for_size_fit_width),
3140 (zoom_for_size_best_fit),
3141 (ev_view_zoom_for_size_continuous_and_dual_page),
3142 (ev_view_zoom_for_size_continuous),
3143 (ev_view_zoom_for_size_dual_page),
3144 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3145 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3147 * shell/ev-window.c: (update_action_sensitivity),
3148 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3149 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3150 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3151 (ev_window_cmd_view_zoom_out), (update_view_size),
3152 (ev_window_set_sizing_mode), (ev_window_init):
3154 Add Continuous and Dual page modes.
3156 2005-04-23 James Bowes <bowes@cs.dal.ca>
3158 * dvi/dvi-document.c: (dvi_document_load),
3159 (dvi_document_thumbnails_get_thumbnail),
3160 (dvi_document_init_params): Fix up some mixups between
3161 width and height to correct thumbnail rendering.
3163 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3165 * dvi/mdvi-lib/private.h:
3166 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3168 Suppess output for kpathsea during font generation. Thanks to
3171 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3178 * Makefile.am: fix distcheck.
3180 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3182 * shell/ev-sidebar-links.c: (selection_changed_callback),
3183 (update_page_callback), (row_activated_callback),
3184 (job_finished_callback), (ev_sidebar_links_set_document):
3186 Fix for bug #169901. Double click on links expands tree.
3188 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3190 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3191 hard-coded style. Fix for bug 170111
3193 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3195 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3198 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3200 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3202 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3204 * pdf/ev-poppler.cc:
3205 * shell/ev-view.c: (highlight_find_results):
3207 Fix find on single page documents
3209 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3211 * data/evince.schemas.in: fix for bug 301390
3213 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3215 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3216 (ev_view_zoom_out), (ev_view_zoom_normal):
3218 * shell/ev-window.c: (update_action_sensitivity),
3219 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3220 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3221 (ev_window_cmd_view_normal_size):
3223 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3224 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3227 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3231 Depend on 2.57, 2.59 doesnt seem to be necessary
3233 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3235 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3238 Put back total number of pages as (1 of 1234)
3240 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3242 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3245 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3246 function. This helps debugging.
3248 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3250 * djvu/djvu-document.c: (djvu_document_class_init),
3251 (djvu_document_get_info), (djvu_document_document_iface_init):
3252 * dvi/dvi-document.c: (dvi_document_class_init),
3253 (dvi_document_get_info), (dvi_document_document_iface_init):
3255 Dummy implementation of get_info method for dvi and djvu. Fix
3256 crashes with those backends
3258 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3260 * data/evince.desktop.in:
3262 Add application/x-gzpostscript
3264 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3266 * data/evince.schemas.in: Added real long descriptions,
3269 * README: Added actual text, closes bug 171869
3271 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3273 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3277 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3279 * backend/ev-document-info.h:
3281 s/GDate */GDate so we can just use g_free
3283 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3285 * shell/ev-window.c: (update_document_mode),
3286 (ev_window_setup_document):
3288 Show the window in fullscreen when specified by
3291 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3293 * backend/ev-document.c: (ev_document_class_init),
3294 (ev_document_get_info), (ev_document_render_pixbuf):
3295 * backend/ev-document.h:
3296 * backend/ev-page-cache.c: (_ev_page_cache_new):
3297 * pdf/ev-poppler.cc:
3298 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3299 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3300 * ps/ps-document.c: (ps_document_class_init), (document_load),
3301 (ps_document_get_info), (ps_document_document_iface_init):
3303 Remove get_title from the interface, we can just use document info
3305 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3307 * backend/Makefile.am:
3308 * backend/ev-document.c: (ev_document_render_get_info):
3309 * backend/ev-document.h:
3310 * pdf/ev-poppler.cc:
3312 Initial support for document info. Based on jrb patch.
3314 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3316 * shell/ev-window.c: (ev_window_state_event),
3317 (ev_window_class_init), (ev_window_init):
3319 Doesn't show resize grip when maximized. See bug #301053
3321 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3325 ev-sidebar-thumbnails now has translatable labels
3327 * shell/Makefile.am:
3328 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3329 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3330 (ev_sidebar_links_page_iface_init):
3331 * shell/ev-sidebar-links.h:
3332 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3333 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3334 (ev_sidebar_page_get_label):
3335 * shell/ev-sidebar-page.h:
3336 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3337 (ev_sidebar_thumbnails_set_document),
3338 (ev_sidebar_thumbnails_support_document),
3339 (ev_sidebar_thumbnails_get_label),
3340 (ev_sidebar_thumbnails_page_iface_init):
3341 * shell/ev-sidebar-thumbnails.h:
3342 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3343 (ev_sidebar_set_document):
3344 * shell/ev-sidebar.h:
3345 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3347 Small rework of sidebar code. Now sidebar pages should implement
3348 EvSidebarPage interface. That makes page management in EvSidebar
3349 easier. See bug #164811 for details
3351 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3353 * shell/ev-application.c: (ev_application_open):
3354 * shell/ev-document-types.c:
3356 Fix build error and small problem with application exit
3358 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3360 * thumbnailer/Makefile.am:
3361 * thumbnailer/evince-thumbnailer-djvu.schemas:
3362 * thumbnailer/evince-thumbnailer-dvi.schemas:
3364 Conditionally install schemas for djvu/dvi thumbnailer
3366 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3368 * shell/ev-document-types.h:
3369 * shell/ev-document-types.c:
3370 New files, handling the mapping from mimetypes to backends
3372 * shell/ev-window.c:
3373 * thumbnailer/evince-thumbnailer.c:
3374 Use the ev-document-types code
3376 * shell/Makefile.am:
3377 Added new convenience library libevbackendfactory_la, containing
3378 the new mimetype->backend logic; moved the backends into it.
3380 * thumbnailer/Makefile.am:
3381 Make the thumbnailer link with the libevbackend.la convenience
3382 library, rather than having a duplicate of the backend logic here.
3384 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3386 * shell/ev-stock-icons.c: constify some vars.
3387 * shell/ev-window.c: ditto.
3389 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3391 * ps/ps-document.c (get_page_orientation):
3393 Respect document orientation
3395 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3399 * shell/Makefile.am:
3401 Move library dependencies to components.
3403 * shell/ev-window.c: (update_window_title),
3404 (start_loading_document):
3406 Fix display of uris with spaces. Bug 168358.
3408 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3410 * shell/ev-sidebar-links.c: (selection_changed_cb):
3411 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3412 (ev_view_button_release_event), (ev_view_set_document):
3414 * shell/ev-window.c: (find_bar_search_changed_cb):
3415 * shell/ev-window.h: Minor cleanups removing some dead code.
3417 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3419 * backend/ev-page-cache.c: (_ev_page_cache_new):
3421 Set current page to 0 if document has pages.
3423 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3425 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3427 Initialize GError to NULL, fix a crash when loading fails.
3429 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3431 * shell/ev-window.c: (update_view_size):
3433 Calculate shadow size only when there is actually
3436 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3438 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3441 Allow setting view spacing, default to 0
3443 * shell/ev-window.c: (ev_window_unfullscreen),
3444 (ev_window_cmd_view_fullscreen), (ev_window_init):
3446 Remove spacing in fullscreen mode
3448 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3450 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3451 (ev_view_size_request), (expose_bin_window),
3452 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3454 * shell/ev-window.c: (ev_window_unfullscreen),
3455 (ev_window_cmd_view_fullscreen):
3457 Do not draw the border in fulscreen
3459 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3461 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3462 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3463 (find_page_at_location), (page_changed_cb):
3465 Rework border calculation, so that I can more easily disable it.
3466 Code somewhat cleaner too.
3468 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3470 * backend/ev-page-cache.c: (ev_page_cache_init),
3471 (_ev_page_cache_new):
3473 Remove some assertions, documents can have 0 pages.
3474 Make initial current page -1.
3476 * shell/ev-page-action.c: (page_changed_cb):
3478 Show "" if current page is -1
3480 * shell/ev-window.c: (update_action_sensitivity),
3481 (ev_window_setup_document):
3483 When document has 0 pages do not set the view
3484 and make nearly everything insensitive.
3486 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3488 * shell/ev-page-view.c:
3489 * shell/ev-page-view.h:
3491 Remove unused files.
3493 * shell/ev-sidebar-thumbnails.c:
3494 (ev_sidebar_thumbnails_set_document):
3495 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3496 (ev_sidebar_supports_document):
3497 * shell/ev-sidebar.h:
3498 * shell/ev-window.c: (ev_window_setup_document):
3500 Doesn't show thumbnails if document has 1 page. Make
3501 sidebar menu entries sensitive only if if they have
3502 sense. Fix bug 164811.
3504 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3506 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3507 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3508 (ev_view_zoom_out), (ev_view_set_size):
3510 Rework sizing to deal with documents with not uniform page
3513 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3515 * backend/ev-page-cache.c: (_ev_page_cache_new):
3517 Fix several page size caching bugs
3519 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3521 * shell/ev-window.c: (set_action_properties):
3523 Make all toolbar items translatable
3525 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3527 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3528 (save_page_list), (ps_document_save),
3529 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3530 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3531 (ps_document_ps_exporter_iface_init):
3534 Based on a patch by J�rg Billeter <j@bitron.ch>
3536 Implement print and save a copy for the ps backend.
3538 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3540 * backend/ev-document.h:
3541 * djvu/djvu-document.c: (djvu_document_can_get_text),
3542 (djvu_document_document_iface_init):
3543 * dvi/dvi-document.c: (dvi_document_can_get_text),
3544 (dvi_document_document_iface_init):
3545 * pdf/ev-poppler.cc:
3546 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3547 (pixbuf_document_document_iface_init):
3548 * ps/ps-document.c: (ps_document_can_get_text),
3549 (ps_document_document_iface_init):
3550 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3551 * shell/ev-window.c: (update_action_sensitivity):
3553 Fix the crash when trying to copy in backends that doesnt
3554 support it. We can implement a better solution once we
3555 do real text selection.
3557 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3559 * data/evince-ui.xml:
3560 * shell/ev-window.c: (ev_window_cmd_escape):
3562 Work around the Escape conflict (find bar and unfullscreen)
3564 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3566 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3568 Fix for #300233. Next page correctly handles document end.
3570 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3571 (ev_sidebar_thumbnails_class_init),
3572 (ev_sidebar_thumbnails_set_document),
3573 (ev_sidebar_thumbnails_clear_job),
3574 (ev_sidebar_thumbnails_clear_model):
3576 Cleanup thumbnail jobs on document changes.
3578 * shell/ev-view.c: (add_scroll_binding_keypad),
3579 (add_scroll_binding_shifted), (ev_view_class_init):
3581 Shift + Space scrolls up. Fix for #173184
3583 * shell/ev-window.c: (ev_window_open_page),
3584 (ev_window_cmd_view_reload):
3586 Fix reload (Bug #300094)
3588 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3591 * dvi/mdvi-lib/assoc.c:
3592 * dvi/mdvi-lib/assoc.h: Removed garbage files
3594 * dvi/mdvi-lib/bitmap.c:
3595 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3596 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3597 * dvi/mdvi-lib/color.h: Antialias of rules
3599 * dvi/mdvi-lib/common.h:
3600 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3601 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3602 * dvi/mdvi-lib/files.c:
3603 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3604 * dvi/mdvi-lib/mdvi.h:
3605 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3606 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3607 * dvi/mdvi-lib/util.c: Fix compile warnings
3609 * dvi/dvi-document.c:
3610 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3611 (dvi_document_thumbnails_get_thumbnail),
3612 (dvi_document_document_thumbnails_iface_init):
3613 * dvi/mdvi-lib/Makefile.am:
3614 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3615 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3617 Dvi backend now renders thumbnails
3619 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3621 * shell/main.c: (main):
3623 Save accelerators on exit. Fixes bug #172095.
3625 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3627 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3628 update priority" comment.
3630 * backend/ev-job-queue.c: Give a way to change priority.
3632 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3634 * shell/ev-page-action.c: Fix logic.
3636 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3638 * shell/ev-view.c: (ev_view_can_find_next):
3639 * shell/ev-window.c: (ev_window_setup_document):
3641 Check that the document supports find
3643 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3645 * data/evince-ui.xml:
3646 * shell/ev-view.c: (ev_view_can_find_next):
3648 * shell/ev-window.c: (update_action_sensitivity),
3649 (find_changed_cb), (ev_window_setup_document),
3650 (ev_window_cmd_edit_find_next):
3654 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3656 * pdf/ev-poppler.cc:
3657 * shell/ev-print-job.c: (idle_print_handler):
3659 Make printing work again
3661 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3663 * shell/ev-page-action.h:
3664 * shell/ev-page-action.c: (ev_page_action_widget_init),
3665 (ev_page_action_widget_class_init), (page_changed_cb),
3666 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3667 (get_filter_model_from_model), (match_selected_cb),
3668 (display_completion_text), (match_completion), (update_model),
3669 (connect_proxy), (ev_page_action_set_property),
3670 (ev_page_action_get_property), (ev_page_action_set_document),
3671 (ev_page_action_set_model), (ev_page_action_class_init): Big
3672 reworking to make completions work iff we have >= GTK-2.7.0
3674 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3675 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3676 (job_finished_cb): We now have a 'model' property that is set when
3677 the links are loaded. This can be caught with "notify::model"
3679 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3680 listen for the model to be set, and propagate it to the action.
3682 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3684 * cut-n-paste/recent-files/egg-recent-item.c:
3685 (egg_recent_item_set_uri), (make_valid_utf8),
3686 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3687 * cut-n-paste/recent-files/egg-recent-item.h:
3689 Update egg-recent from libegg. This should fix long
3690 startup problem. For details see
3691 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3693 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3695 * cut-n-paste/recent-files/Makefile.am:
3696 * data/evince-ui.xml, shell/Makefile.am:
3697 * shell/ev-application.c, shell/ev-application.h:
3698 * shell/ev-window.c: Recent files support.
3700 * configure.ac: Added "ru" to ALL_LINGUAS.
3702 * dvju: new backend to support DJVU files.
3703 * dvi: new backend to support DVI.
3705 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3706 * ev-application.c: Support for new backends.
3708 * help, ev-window.c, main.c shell/Makefile.am:
3709 Evince user documentation.
3711 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3714 * shell/ev-window.c:
3715 * thumbnailer/evince-thumbnailer.c:
3717 s/pdf-document/ev-poppler
3719 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3726 * ps/ps-document.c: (setup_pixmap):
3730 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3732 * backend/ev-page-cache.c (ev_page_cache_next_page):
3733 * shell/ev-window.c (ev_window_cmd_go_next_page)
3734 (ev_window_cmd_go_first_page): Fix of by one errors.
3736 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3738 * ps/ps-document.c: (get_page_box):
3740 Fix page size calculation
3742 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3744 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3745 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3746 (get_page_orientation), (setup_page), (document_load),
3747 (ps_document_get_page_size), (render_pixbuf_idle):
3750 More refactoring to adapt to EvDocument changes
3752 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3754 * ps/ps-document.c: (start_interpreter):
3756 Actually add alpha args
3758 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3760 * pdf/ev-poppler.cc:
3762 Make clipboard work again
3764 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3766 Make searching work again.
3768 * backend/ev-document.c:
3769 * backend/ev-document.h:
3770 * backend/ev-document-find.c:
3771 * backend/ev-document-find.h: Change EvDocumentIface so we no
3772 longer store the current page or zoom level in the document. The
3773 consequence is that all calls that operate on the current page now
3774 instead take the page number as an extra argument, and all
3775 coordinates are now doubles in document coordinate system.
3777 * pdf/ev-poppler.cc:
3778 * pixbuf/pixbuf-document.c:
3779 * ps/ps-document.c: Update backends accordingly.
3781 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3785 Add required gettext version
3787 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3789 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3790 make F1 bring up non-existent help.
3792 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3793 epiphany's find bar, #167477
3795 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3796 <emil@nishra.com> to add space-bar scrolling,
3798 * shell/ev-window.c (static GtkActionEntry entries): add default
3799 keybinding for Help (F1)
3802 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3803 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3806 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3809 * pixbuf/pixbuf-document.c:
3811 Got pixbuf backend working again
3813 2005-04-01 Steve Murphy <murf@e-tools.com>
3815 * configure.in: Added "rw" to ALL_LINGUAS.
3817 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3819 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3820 model types, noticed by Martin Kretzschmar.
3822 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3824 * pdf/ev-poppler.cc: Implement search based on
3825 poppler_page_find_text(). Currently a bit crude since we remember
3826 all matches from all pages. Also, we grab the big document lock
3827 when we search since searching changes the underlying stream and
3828 thus conflicts with the rendering thread.
3830 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3831 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3832 (ev_view_find_previous): Fix some page indexes to be 0 based,
3833 offset rubber band by view offset,
3835 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3837 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3839 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3841 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3842 completely because I didn't understand GtkActions. I should
3843 read Marco's code more carefully in the future.
3845 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3848 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3850 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3851 PopplerRectangle change from poppler CVS.
3853 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3855 * backend/ev-document.c: (ev_document_get_page_label):
3856 * backend/ev-document.h:
3857 * backend/ev-page-cache.c: (_ev_page_cache_new),
3858 (ev_page_cache_get_page_label):
3859 * backend/ev-page-cache.h:
3860 * pdf/ev-poppler.cc:
3861 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3862 (links_page_num_func):
3863 * shell/ev-sidebar-thumbnails.c:
3864 (ev_sidebar_thumbnails_set_document):
3865 * shell/ev-view.c: (status_message_from_link),
3866 (ev_view_motion_notify_event):
3867 * shell/ev-window.c: (document_supports_sidebar): Add in page
3868 label support. It's not perfect yet, but it's the first 'feature'
3870 Also, fix a bogus comment noticed by crispin.
3872 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3874 * Makefile.am: Remove pixbuf backend for now
3876 * configure.ac: Require poppler-glib instead of just poppler.
3878 * backend/ev-document-thumbnails.h: Add a comment
3880 * backend/ev-document.h:
3881 * backend/ev-document.c: (ev_document_class_init),
3882 (ev_document_load), (ev_document_get_link),
3883 (ev_document_get_links): Remove 3 methods and add get_links.
3886 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3887 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3889 * backend/ev-link.c: (ev_link_set_title),
3890 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3891 (ev_link_mapping_find):
3892 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3894 * backend/ev-page-cache.c: (ev_page_cache_init),
3895 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3896 (ev_page_cache_get_size), (ev_page_cache_next_page),
3897 (ev_page_cache_prev_page): Fix to be 0 based.
3901 * pdf/ev-poppler.cc: New backend.
3903 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3904 (ps_document_get_page), (ps_document_document_iface_init):
3906 * shell/ev-pixbuf-cache.h:
3907 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3908 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3909 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3910 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3911 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3912 Fix up code to grab a page cache per each doc. Also, fix to be 0
3915 * shell/ev-sidebar-thumbnails.c:
3916 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3917 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3919 * shell/ev-view.c: (status_message_from_link),
3920 (find_page_at_location), (get_link_at_location),
3921 (ev_view_motion_notify_event), (ev_view_button_release_event),
3922 (ev_view_init): Use the new link code. Fix to be 0 based.
3924 * shell/ev-window.c: (update_action_sensitivity),
3925 (document_supports_sidebar): 0 based.
3927 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3929 * pdf/pdf-document.cc: Patch from Fernando Herrera
3930 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3933 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3935 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3936 1 to the page, as this seems to be 1 based. I thought we has this
3939 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3942 * backend/Makefile.am:
3943 * backend/ev-document-links.c:
3944 (ev_document_links_has_document_links),
3945 (ev_document_links_get_links_model):
3946 * backend/ev-document-links.h:
3947 * backend/ev-document.c: (ev_document_get_page_cache),
3948 (ev_document_get_doc_mutex), (ev_document_load),
3949 (ev_document_save), (ev_document_get_title),
3950 (ev_document_get_n_pages), (ev_document_set_page),
3951 (ev_document_get_page), (ev_document_set_target),
3952 (ev_document_set_scale), (ev_document_set_page_offset),
3953 (ev_document_get_page_size), (ev_document_get_text),
3954 (ev_document_get_link), (ev_document_render),
3955 (ev_document_render_pixbuf), (ev_document_scale_changed):
3956 * backend/ev-document.h:
3957 * backend/ev-job-queue.c: (remove_object_from_queue),
3958 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3959 (no_jobs_available_unlocked), (ev_render_thread),
3960 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3961 (ev_job_queue_remove_job):
3962 * backend/ev-job-queue.h:
3963 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3964 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3965 (ev_job_links_class_init), (ev_job_render_init),
3966 (ev_job_render_dispose), (ev_job_render_class_init),
3967 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3968 (ev_job_thumbnail_class_init), (ev_job_finished),
3969 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3970 (ev_job_render_run), (ev_job_thumbnail_new),
3971 (ev_job_thumbnail_run):
3972 * backend/ev-jobs.h:
3973 * backend/ev-link.c:
3974 * backend/ev-link.h:
3975 * backend/ev-page-cache.c: (ev_page_cache_init),
3976 (ev_page_cache_class_init), (ev_page_cache_finalize),
3977 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3978 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3979 (ev_page_cache_set_link), (ev_page_cache_get_title),
3980 (ev_page_cache_get_size), (ev_page_cache_next_page),
3981 (ev_page_cache_prev_page):
3982 * backend/ev-page-cache.h:
3983 * pdf/pdf-document.cc:
3986 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3987 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3988 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3989 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3990 (is_interpreter_ready), (output), (catchPipe), (input),
3991 (start_interpreter), (check_filecompressed), (compute_dimensions),
3992 (ps_document_enable_interpreter), (document_load),
3993 (ps_document_next_page), (render_page), (ps_document_set_page),
3994 (ps_document_set_scale), (render_pixbuf_idle),
3995 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3997 * shell/Makefile.am:
3998 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3999 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
4000 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
4001 (ev_pixbuf_cache_new), (job_finished_cb),
4002 (check_job_size_and_unref), (move_one_job),
4003 (ev_pixbuf_cache_update_range), (find_job_cache),
4004 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
4005 (ev_pixbuf_cache_add_jobs_if_needed),
4006 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
4007 * shell/ev-pixbuf-cache.h:
4008 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4009 (idle_print_handler):
4010 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4011 (selection_changed_cb), (create_loading_model),
4012 (ev_sidebar_links_construct), (links_page_num_func),
4013 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4014 (update_page_callback), (job_finished_cb),
4015 (ev_sidebar_links_set_document):
4016 * shell/ev-sidebar-thumbnails.c:
4017 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4018 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4019 (page_changed_cb), (thumbnail_job_completed_callback),
4020 (ev_sidebar_thumbnails_set_document):
4021 * shell/ev-sidebar-thumbnails.h:
4022 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4023 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4024 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4025 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4026 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4027 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4028 (ev_view_button_release_event), (ev_view_scroll_view),
4029 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4030 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4031 (ev_view_new), (job_finished_cb), (page_changed_cb),
4032 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4033 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4034 (ev_view_find_previous):
4036 * shell/ev-window.c: (update_action_sensitivity),
4037 (ev_window_open_page), (update_window_title), (update_total_pages),
4038 (page_changed_cb), (ev_window_setup_document),
4039 (password_dialog_response), (ev_window_cmd_save_as),
4040 (ev_window_print), (ev_window_cmd_go_previous_page),
4041 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4042 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4043 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4044 * shell/main.c: (main):
4046 Merge evince-threads branch
4048 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4050 * configure.ac: Added "lt" to ALL_LINGUAS.
4052 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4059 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4061 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4063 Fix here also the thumbnails 1-basedness :)
4065 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4072 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4074 * pdf/pdf-document.cc:
4075 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4076 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4078 Fix the mess we did with thumbnails and 1-basedness
4080 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4082 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4084 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4091 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4094 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4095 (gtk_gs_defaults_get_alpha_parameters),
4096 (gtk_gs_defaults_get_ungzip_cmd),
4097 (gtk_gs_defaults_get_unbzip2_cmd):
4099 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4100 (ps_document_get_orientation), (document_load),
4101 (ps_document_goto_page), (ps_document_set_page_size):
4104 Some more sanitization of the ps backend. Remove a lot
4105 of unused code and do not base our defaults on ggv
4108 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4110 * thumbnailer/evince-thumbnailer.schemas:
4111 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4112 (main): add -s option for thumbnail size.
4114 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4118 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4121 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4123 * pdf/pdf-document.cc:
4125 Remove 4 pixels of useless border from the
4128 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4130 * backend/ev-document-thumbnails.c:
4131 (ev_document_thumbnails_get_thumbnail):
4132 * backend/ev-document-thumbnails.h:
4134 Rework API a bit. Add a border flag and
4135 change sizing logic (now the size we specify
4136 applies to the bigger dimension).
4138 * pdf/pdf-document.cc:
4139 * pixbuf/pixbuf-document.c:
4140 (pixbuf_document_thumbnails_get_thumbnail):
4141 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4142 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4144 Adapt to the new API and do not draw a border for nautilus
4147 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4149 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4150 take thumbnails from page "0" instead of "1". Added a copyright header.
4152 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4154 * ps/ps-document.c: (set_up_page), (start_interpreter):
4156 Make it C89 compliant
4158 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4163 * pdf/pdf-document.cc:
4164 * thumbnailer/Makefile.am:
4165 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4167 * thumbnailer/evince-thumbnailer.schemas:
4168 * thumbnailer/pdf-icon.png:
4170 Add a nautilus thumbnailer.
4171 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4173 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4181 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4183 Use poppler instead of including xpdf source code. Poppler is a
4184 fork of xpdf to build it as a shared library. See
4185 http://freedesktop.org/wiki/Software/poppler.
4187 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4190 * pdf/Makefile.am: Build libpdfdocument.a here.
4192 * pdf/GDKSplashOutputDev.cc:
4193 * pdf/GDKSplashOutputDev.h:
4194 * pdf/GnomeVFSStream.cc:
4195 * pdf/GnomeVFSStream.h:
4198 * test-gdk-output-dev.cc
4200 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4203 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4205 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4207 Clear idle stack before unsetting the document
4209 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4211 * ps/ps-document.c: (ps_document_widget_event),
4212 (ps_document_set_target), (ps_document_finalize),
4213 (ps_document_get_page):
4215 Disconnect the widget event signal on finalize.
4218 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4220 * ps/ps-document.c: (set_up_page):
4222 If there is no bpixmap create one, even if size
4225 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4227 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4228 (set_up_page), (document_load), (ps_document_set_zoom):
4230 Default page is 0. Calculate size even when we have no
4233 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4235 * shell/ev-sidebar.c: expand the selection widget to be always as
4238 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4240 * shell/ev-sidebar-thumbnails.c:
4241 (ev_sidebar_thumbnails_set_document):
4243 Clear the list store when setting document
4245 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4247 * shell/ev-page-action.c: (update_entry), (sync_entry),
4248 (activate_cb), (entry_size_request_cb), (create_tool_item),
4251 Use an entry for the page control instead of spinbuttons
4253 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4255 * data/evince.schemas.in:
4257 Correct confusing string
4259 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4261 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4262 for real. Gosh, how long has this been broken.
4264 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4265 check for a NULL link. We crash otherwise.
4267 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4274 2005-02-25 Sebastien Bacher <seb128@debian.org>
4276 * configure.ac: add the french translation.
4278 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4280 * shell/ev-window.c:
4282 Remove unused header -> fix distcheck
4284 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4286 * shell/ev-window.c: (update_window_title),
4287 (ev_window_popup_password_dialog):
4289 Unescape filename for display
4291 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4293 * pdf/xpdf/pdf-document.cc:
4295 In get_page_size deal with rotation. Also
4296 cleanup the function a bit.
4298 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4300 * pdf/xpdf/pdf-document.cc:
4302 Fix crash when opening in new window
4304 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4308 Check ghostscript >= 7
4310 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4312 * shell/ev-window.c:
4314 Make page width the default sizing mode
4316 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4317 Marco Pesenti Gritti <marco@gnome.org>
4319 * shell/ev-window.c: Remember the sidebar size
4321 * data/evince.schemas.in: Add a new gconf key to store the size of
4324 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4326 * data/evince-ui.xml:
4327 * shell/ev-window.c: (update_action_sensitivity),
4328 (ev_window_cmd_view_reload):
4330 Add a "Reload" action and menu entry
4332 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4334 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4335 iff the type doesn't support thumbnailing and indexing.
4337 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4339 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4341 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4343 * pdf/splash/Splash.cc:
4345 Port fix for a crasher from kde bug
4346 http://bugs.kde.org/show_bug.cgi?id=97131
4348 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4350 * pdf/xpdf/pdf-document.cc:
4352 Return a link even if it's of an unrecognized
4353 type. Otherwise we go in an infinte cycle.
4355 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4357 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4358 (size_allocate_cb), (ev_window_set_sizing_mode):
4360 Update size when switching mode
4362 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4364 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4365 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4366 (ev_window_cmd_view_normal_size):
4368 Fix size toggle buttons behavior
4370 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4372 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4373 (doc_rect_to_view_rect), (ev_view_size_allocate),
4374 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4375 (scale_changed_callback):
4377 Do not cache offsets in size_allocate.
4379 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4381 * shell/ev-view.c: (ev_view_size_allocate):
4383 Calculate offsets before calling the parent
4384 class (which does a redraw)
4386 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4388 * pdf/xpdf/pdf-document.cc:
4390 Fix a crasher on exit. Unused code, put a TODO
4392 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4394 * backend/ev-document.c: (ev_document_class_init),
4395 (ev_document_page_changed), (ev_document_scale_changed):
4396 * backend/ev-document.h:
4398 Separate page/scale notifications
4400 * pdf/xpdf/pdf-document.cc:
4402 Emit the new signals.
4403 Do not display the pdf page in _render, do it
4404 when scale/page are requested.
4406 * ps/ps-document.c: (ps_document_set_zoom),
4407 (ps_document_widget_event):
4410 Emit the new signals.
4412 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4413 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4414 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4415 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4417 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4418 (ev_window_cmd_view_page_width), (size_allocate_cb),
4419 (ev_window_set_sizing_mode):
4421 Rework sizing to be pixel based.
4422 There are bugs but should be already way better.
4424 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4426 * shell/ev-window.c: (ev_window_init):
4428 Do not allow to shrink sidebar smaller then
4431 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4433 * shell/ev-sidebar.[ch]
4434 * shell/ev-window.c:
4436 Improved sidebar widget. Fixes #166683
4438 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4440 * shell/ev-view.c (update_find_status_message): Give translators
4441 more flexibility with ngettext plural handling.
4443 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4445 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4446 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4447 page when we get the page size.
4449 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4451 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4453 ps pages are 0 based, convert
4455 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4457 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4459 Initialize correct parent class. Set GError on document load
4461 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4463 * pdf/xpdf/pdf-document.cc:
4465 Fixup selection offset calculation
4467 * shell/ev-view.c: (view_rect_to_doc_rect),
4468 (doc_rect_to_view_rect), (ev_view_size_allocate),
4469 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4470 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4472 Store selection as document relative, so that zooming
4473 and offset changing doesnt break it.
4475 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4477 * shell/ev-view.c: (ev_view_best_fit):
4479 Do not try to best fit if the view is not realized
4481 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4483 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4485 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4487 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4489 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4491 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4492 the popup window. That prevents it resizing when in full screen
4495 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4496 multiple rerenders. This pretty much sucks.
4498 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4499 rest of the toolbar.
4501 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4503 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4505 2005-02-17 Alexander Shopov <ash@contact.bg>
4507 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4509 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4511 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4513 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4515 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4516 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4517 (set_document_page), (document_changed_callback),
4518 (ev_view_set_document), (ev_view_find_previous),
4519 (ev_view_hide_cursor), (ev_view_show_cursor):
4521 * shell/ev-window.c: (update_chrome_visibility),
4522 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4523 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4524 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4525 (ev_window_unfullscreen):
4526 * shell/main.c: (main):
4528 Automatically hide the fullscreen button.
4529 Patch by Kristian Høgsberg <krh@redhat.com>
4531 2005-02-16 Vincent Noel <vnoel@cox.net>
4533 * shell/main.c (main): Specify an icon for the window. Patch by
4534 Jaap A. Haitsma. Fixes #166177.
4536 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4538 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4540 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4542 * backend/ev-document-misc.h:
4543 * backend/ev-document-misc.c:
4544 (ev_document_misc_get_page_border_size),
4545 (ev_document_misc_paint_one_page): New function to canonicalize
4546 sizing/painting a border.
4548 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4551 * pdf/xpdf/pdf-document.cc: use new function
4553 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4554 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4555 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4556 shell/ev-window.c: (update_sizing_buttons),
4557 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4558 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4559 (ev_window_cmd_view_page_width), (size_allocate_cb),
4560 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4561 and "fit width" values act as toggle buttons so they stay
4562 toggled. It's not 100% perfect, and it's a little slow, but it's
4563 good enough to commit I think.
4565 2005-02-15 David Lodge <dave@cirt.net>
4567 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4569 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4571 * shell/ev-window.c (update_window_title): replace newlines in
4572 the title by spaces. Bug #166107.
4574 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4576 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4577 parameters providing allocation width and height without
4578 scrollbars and width of a possible vertical scrollbar. With this
4579 additional information the functions can work as
4580 intended. Unfortunately they're not idempotent. We should
4581 transform these commands to toggles. Fixes Bug #164976
4582 Initial patch by Stephane Loeuillet, then heavily modified.
4584 * shell/ev-view.h: update prototypes.
4586 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4587 (ev_window_cmd_view_page_width): provide EvView fit functions with
4588 all the information they need. Formulas to calculate this
4589 information taken from GtkScrolledWindow.
4591 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4593 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4594 created a thumbnail, the list store is updated to know
4595 that the thumbnail is set. Fixes bug #166792
4597 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4599 * shell/ev-window.c: fixed typo, closes bug 166897
4601 * TODO: updated TODO with bug numbers that are relevant
4603 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4605 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4607 2005-02-09 Vincent Noel <vnoel@cox.net>
4609 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4610 and "Next" toolbar buttons as important to make them stand out.
4612 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4616 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4617 (start_interpreter), (stop_interpreter), (document_load),
4618 (ps_document_next_page), (ps_document_goto_page),
4619 (ps_document_set_page_size), (ps_document_widget_event),
4620 (ps_document_render):
4621 * shell/ev-page-view.c: (ev_page_view_dispose):
4622 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4624 Fix compilation on non-gcc platforms
4626 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4633 * pdf/xpdf/Catalog.cc:
4636 Fix the fix for CAN-2004-0888
4638 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4641 * data/evince-ui.xml:
4642 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4643 * shell/ev-stock-icons.h:
4644 * shell/ev-window.c: (update_action_sensitivity),
4645 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4646 (set_action_properties):
4648 Improve toolbar layout/icons
4650 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4652 * pdf/xpdf/pdf-document.cc:
4654 Add warnings about unimplemented/unknown link
4657 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4659 * ps/ps-document.c: (set_up_page):
4663 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4665 * ps/ps-document.c: (start_interpreter):
4669 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4671 * shell/ev-page-view.c: (ev_page_view_dispose):
4672 * shell/ev-view.c: (ev_view_finalize):
4673 * shell/ev-window.c: (ev_window_setup_document),
4674 (ev_window_dispose), (ev_window_init):
4676 Solve more refs issues.
4678 I commented out the page_view initialization for now:
4679 it was never destroyed (because it's never added
4680 to a container). Because of that we was leaking
4681 gs processes. Couldnt think to a clean fix.
4682 We need to figure this out, password view has the
4683 same issue probably.
4685 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4687 * ps/ps-document.c: (ps_document_finalize),
4688 (ps_document_get_n_pages), (ps_document_get_page):
4690 Some cleanups, stop the interpreter on finalize
4692 * shell/ev-page-view.c: (ev_page_view_dispose),
4693 (ev_page_view_class_init):
4695 Release our reference on the document
4697 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4701 * doc/debugging.txt:
4704 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4705 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4706 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4709 Add debugging helpers
4712 * ps/ps-document.c: (set_up_page), (start_interpreter),
4713 (stop_interpreter), (document_load), (ps_document_next_page),
4714 (ps_document_goto_page), (ps_document_set_page_size),
4715 (ps_document_widget_event), (ps_document_render):
4716 * shell/Makefile.am:
4717 * shell/ev-view.c: (expose_bin_window):
4718 * shell/main.c: (main):
4722 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4724 * ps/ps-document.c: (ps_document_widget_event):
4726 Initialize message_window, this should make ps
4727 rendering really work! (Never noticed because I was
4728 testing with a ps that is causing gs to exit every time!)
4730 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4732 * data/evince.schemas.in: updated simple error in applyto closing tag
4734 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4740 * data/evince-ui.xml:
4741 A data/evince.schemas.in:
4743 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4744 * shell/ev-stock-icons.h:
4745 * shell/ev-window.c: (update_chrome_visibility),
4746 (update_chrome_flag), (ev_window_cmd_edit_find),
4747 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4748 (ev_window_unfullscreen), (ev_window_focus_in_event),
4749 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4750 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4751 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4752 (ev_window_dispose), (ev_window_class_init),
4753 (set_action_properties), (set_chrome_actions), (load_chrome),
4756 Implement fullscreen mode changes from bug #164776.
4757 Also implement persistent chrome toggles.
4759 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4761 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4763 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4769 Add another check for find interface
4773 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4775 * shell/ev-application.c: (ev_application_open):
4776 * shell/ev-window.c: (ev_window_open):
4778 Open gzipped ps documents
4780 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4783 * shell/ev-view.c: (set_document_page):
4785 Clamp page number, dont try to move to
4788 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4790 * backend/ev-document-find.c: (ev_document_find_changed):
4791 * backend/ev-document-find.h:
4792 * pdf/xpdf/pdf-document.cc:
4793 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4794 * shell/ev-window.c: (find_bar_search_changed_cb):
4796 Fix several bugs with find
4798 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4800 * shell/ev-sidebar-thumbnails.c
4801 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4802 document. Prevents warning from scroll_to_cell.
4804 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4806 * configure.ac: Add «nb» to ALL_LINGUAS too.
4808 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4810 * NOTES: New file with some random thoughts.
4814 * backend/ev-document-misc.c:
4815 (ev_document_misc_get_page_border_size): New function to
4816 canonicalize shadow drawing sizes. Possibly goofy.
4818 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4819 (ev_view_best_fit), (ev_view_fit_width):
4820 * pdf/xpdf/pdf-document.cc:
4821 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4822 * ps/ps-document.c: (ps_document_get_page_size):
4823 * backend/ev-document-misc.h:
4824 * backend/ev-document.c: (ev_document_get_page_size):
4825 * backend/ev-document.h: get_page_size now takes a page number
4826 parameter. Made all the backends/frontends honor it.
4828 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4829 see. Doesn't work yet.
4831 * shell/Makefile.am:
4832 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4833 Doesn't do anything yet.
4835 * shell/ev-sidebar-thumbnails.c:
4836 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4839 * shell/ev-window.c: (update_action_sensitivity),
4840 (ev_window_setup_document), (ev_window_set_page_mode),
4841 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4842 view-swapping code a bit so we can have multiple views on a
4843 document. Add the multi-page view, though it can't be turned on
4846 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4848 * shell/ev-application.c: (ev_application_open):
4849 * shell/ev-view.c: (expose_bin_window):
4850 * shell/ev-window.c: (ev_window_open):
4852 Support eps and check document supports find
4853 before drawing highlightings in expose.
4855 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4857 * pixbuf/pixbuf-document.c:
4858 (pixbuf_document_thumbnails_get_dimensions),
4859 (pixbuf_document_document_thumbnails_iface_init):
4861 implement get_dimensions
4863 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4870 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4872 * shell/ev-view.c: (set_document_page):
4874 Scroll at the top of the page when changing page
4876 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4878 * shell/ev-view.c: (ev_view_motion_notify_event):
4880 Do not redraw unnecessarily
4882 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4884 * pdf/xpdf/pdf-document.cc:
4885 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4886 (expose_bin_window), (find_changed_cb):
4888 Yay! find works now... Now to find bugs...
4890 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4892 * backend/ev-document-find.c: (ev_document_find_base_init),
4893 (ev_document_find_changed):
4894 * backend/ev-document-find.h:
4895 * pdf/xpdf/pdf-document.cc:
4896 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4897 (expose_bin_window), (ev_view_init), (set_document_page),
4898 (ensure_rectangle_is_visible), (jump_to_find_result),
4899 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4900 (ev_view_find_next), (ev_view_find_previous):
4902 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4904 More work on find implementation, mostly there now
4906 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4908 * backend/ev-backend-marshalers.list:
4909 * backend/ev-document-find.c: (ev_document_find_base_init),
4910 (ev_document_find_cancel), (ev_document_find_page_has_results),
4911 (ev_document_find_get_n_results), (ev_document_find_get_result),
4912 (ev_document_find_get_progress), (ev_document_find_changed):
4913 * backend/ev-document-find.h:
4915 Enanche the find interface to be really able to do
4918 * pdf/xpdf/pdf-document.cc:
4922 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4923 (expose_bin_window), (ev_view_init),
4924 (ev_view_get_find_status_message), (find_changed_cb),
4925 (ev_view_set_document), (set_document_page):
4927 Adapt to the new interface. A few things are regressed sorry,
4928 I will finish it soon.
4930 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4932 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4933 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4934 ev_sidebar_thumbnails_parent_class variable, don't define another
4935 parent_class variable.
4937 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4938 (ev_page_action_class_init): ditto.
4940 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4941 (pixbuf_document_class_init): ditto.
4943 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4946 * .cvsignore: ignore various valgrind output files.
4948 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4950 * data/evince-ui.xml:
4951 * shell/Makefile.am:
4952 * shell/ev-history.c:
4953 * shell/ev-history.h:
4954 * shell/ev-navigation-action.c:
4955 * shell/ev-navigation-action.h:
4956 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4957 (ev_view_set_page), (ev_view_fit_width):
4959 * shell/ev-window.c: (update_action_sensitivity),
4960 (ev_window_setup_document), (register_custom_actions):
4962 Kill session history
4964 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4966 * shell/ev-window.c: (update_action_sensitivity):
4968 Fix inverted up/down buttons
4970 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4972 * shell/ev-sidebar-thumbnails.c
4973 (ev_sidebar_thumbnails_select_page): make sure the selected
4974 thumbnail stays visible.
4976 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4978 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4979 scrolled window for Federico.
4981 2005-01-26 Ole Laursen <olau@hardworking.dk>
4983 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4985 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4988 * pdf/splash/SplashFTFontEngine.cc:
4990 Fix CID fonts with freetype 2.1.9
4992 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4994 * TODO: added item for desktop icon thumbnailer
4996 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4998 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4999 unloaded docs when the title is accessed.
5001 * shell/ev-password-view.[hc]: New widget for displaying password
5004 * shell/ev-window.[ch]: Refactor password handling code to handle
5007 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5015 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5017 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5018 ignore page offset here, to make search results independent of it,
5020 * shell/ev-view.c (expose_bin_window): but take offsets into
5021 account here. Bug #164932
5023 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5024 scale at the right time. Bug #164996
5026 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5028 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5029 fix the problem. Now I just removed the Adobe font names and hope
5030 that the URW fonts are always in outline format. Bug #164934
5032 * shell/ev-window.c (update_window_title): empty titles are
5033 useless, use filename in that case too.
5035 * NEWS: Add some content.
5037 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5039 * TODO: added one more TODO item and a TODONE section :)
5041 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5043 * ps/ps-document.h: add page_[xy]_offset fields.
5045 * ps/ps-document.c (ps_document_set_page_offset)
5046 (ps_document_render): Keep offset in consideration in a few
5047 places. Bug #164752 "postscript documents are not centered in
5050 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5051 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5053 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5054 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5055 stub out missing methods for complete EvDocument implementation.
5056 Fixes segfaults with Save A Copy and Copy actions.
5058 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5059 (ps_document_document_iface_init): ditto.
5061 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5065 * data/evince.desktop.in:
5069 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5071 * shell/ev-view.c: (ev_view_button_press_event),
5072 (ev_view_motion_notify_event):
5074 Make selection work in any direction
5076 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5079 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5081 Use shorter labels for some of the toolbars items
5083 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5085 * pdf/xpdf/pdf-document.cc:
5087 Check the links info is initialized before
5088 using it. Should fix a crash on startup.
5090 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5092 * pixbuf/pixbuf-document.c
5093 (pixbuf_document_thumbnails_get_dimensions): force floating point
5094 division to calculate page_ratio. Fixes crash with landscape
5097 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5099 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5101 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5103 * shell/ev-view.c (set_document_page): unset has_selection when
5105 (set_document_page): handle paper size changes when the page
5106 changes (test with Free Culture, page 2).
5108 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5110 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5111 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5113 Use normal style color for the widget background and
5114 draw a black box around the page.
5116 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5118 * pdf/xpdf/pdf-document.cc:
5120 Keep offset in consideration in a few places
5122 * shell/ev-view.c: (expose_bin_window):
5124 Set the offsets so that the document is ever centered
5126 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5128 * TODO: Added TODO items and finished off the first todo item
5130 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5131 reflect current authors
5133 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5135 * pdf/xpdf/pdf-document.cc:
5136 * shell/ev-view.c: (ev_view_set_cursor),
5137 (ev_view_motion_notify_event), (document_changed_callback),
5138 (set_document_page):
5140 Show a wait cursor while the page is rendering
5142 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5144 * shell/ev-sidebar-thumbnails.c:
5145 (ev_sidebar_tree_selection_changed),
5146 (ev_sidebar_thumbnails_select_page):
5147 * shell/ev-sidebar-thumbnails.h:
5148 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5149 (ev_view_can_go_forward):
5150 * shell/ev-window.c: (ev_window_open_page),
5151 (ev_window_setup_document), (update_current_page),
5152 (view_page_changed_cb), (ev_window_init):
5153 * shell/ev-window.h:
5155 Ensure thumbnails selection, toolbar page control and
5156 current page are in sync.
5158 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5164 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5166 * backend/Makefile.am:
5167 * backend/ev-document-links.h:
5168 * backend/ev-document-security.c: (ev_document_security_get_type),
5169 (ev_document_security_has_document_security),
5170 (ev_document_security_set_password):
5171 * backend/ev-document-security.h:
5172 * backend/ev-document.c: (ev_document_error_quark):
5173 * backend/ev-document.h:
5175 * data/evince-password.glade:
5176 * pdf/xpdf/pdf-document.cc:
5177 * shell/Makefile.am:
5178 * shell/ev-password.c: (ev_password_set_bad_password_label),
5179 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5180 (ev_password_dialog_get_password),
5181 (ev_password_dialog_set_bad_pass):
5182 * shell/ev-password.h:
5183 * shell/ev-window.c: (ev_window_get_attribute),
5184 (ev_window_set_property), (update_action_sensitivity),
5185 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5186 (ev_window_setup_document), (ev_window_get_password),
5187 (ev_window_open), (ev_window_cmd_save_as),
5188 (using_postscript_printer), (ev_window_print),
5189 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5190 (update_fullscreen_popup), (ev_window_fullscreen),
5191 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5192 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5193 (menu_item_select_cb), (find_bar_search_changed_cb),
5194 (ev_window_dispose), (ev_window_init):
5196 Add initial support for password-supported dialogs. This could be
5197 a lot cooler, but it'll do for now.
5199 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5201 * pdf/xpdf/pdf-document.cc:
5202 * shell/ev-view.c: (status_message_from_link),
5203 (ev_view_set_status), (ev_view_set_cursor),
5204 (ev_view_motion_notify_event), (ev_view_init):
5205 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5207 Fix bugs in the links implementation and change cursor
5208 when hovering a link.
5210 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5212 * viewer/.cvsignore: added cvsignore file for viewer directory
5214 * TODO: created TODO document
5216 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5219 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5220 new functions to help with implementation of sensitivity code
5221 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5222 of all actions that might require it. Fixes a crash when you
5223 click on the Zoom actions in a window lacking a document.
5225 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5227 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5230 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5232 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5233 (pixbuf_document_document_iface_init):
5234 * ps/ps-document.c: (ps_document_get_link),
5235 (ps_document_document_iface_init):
5236 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5237 (status_message_from_link), (ev_view_set_status),
5238 (ev_view_set_find_status), (ev_view_motion_notify_event),
5239 (ev_view_button_release_event), (ev_view_set_property),
5240 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5241 (ev_view_get_find_status_message), (update_find_results),
5242 (ev_view_get_status), (ev_view_get_find_status):
5244 * shell/ev-window.c: (view_status_changed_cb),
5245 (view_find_status_changed_cb), (ev_window_init):
5247 View status message support, use it to show the links.
5250 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5252 * backend/ev-document.c: (ev_document_get_link):
5253 * backend/ev-document.h:
5254 * pdf/xpdf/pdf-document.cc:
5255 * shell/ev-application.c: (ev_application_open):
5256 * shell/ev-application.h:
5257 * shell/ev-sidebar-links.c: (selection_changed_cb):
5258 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5259 (ev_view_go_to_link):
5261 Add support for document links
5263 2005-01-13 Anders Carlsson <andersca@gnome.org>
5265 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5267 Set the spin button limits correctly.
5269 * shell/ev-sidebar-thumbnails.c:
5270 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5271 Support changing pages by clicking on the thumbnails.
5273 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5275 * pixbuf/pixbuf-document.c:
5276 (pixbuf_document_thumbnails_get_dimensions),
5277 (pixbuf_document_document_thumbnails_iface_init):
5279 implement get_dimensions
5281 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5283 * ps/ps-document.c: (ps_document_goto_page):
5285 Fix page switching on multipage documents
5287 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5289 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5291 check for NULL before assigning to width and height parameters
5293 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5295 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5296 (pixbuf_document_set_property), (pixbuf_document_get_property):
5298 implement get/set properties
5300 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5302 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5304 return NULL instead of "Unknown", letting the title get set to
5305 the filename when the pdf has no title.
5307 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5309 * ps/ps-document.c: (ps_document_get_page_count),
5310 (ps_document_goto_page):
5312 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5314 * shell/ev-history.c: (ev_history_get_property),
5315 (ev_history_set_property), (ev_history_class_init),
5316 (ev_history_add_page), (ev_history_set_current_index):
5317 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5318 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5319 (ev_navigation_action_finalize):
5320 * shell/ev-navigation-action.h:
5321 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5322 (ev_view_go_forward), (ev_view_get_find_status_message),
5323 (history_index_changed_cb), (ev_view_set_history):
5325 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5326 (update_current_page), (register_custom_actions):
5328 Implement history dropdowns
5330 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5332 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5333 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5334 (ev_view_go_forward):
5335 * shell/ev-window.c: (register_custom_actions):
5337 Fix several history bugs
5339 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5341 * configure.ac: Add «nb» to ALL_LINGUAS.
5343 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5345 * backend/Makefile.am:
5346 * backend/ev-bookmark.c:
5347 * backend/ev-bookmark.h:
5348 * backend/ev-document-bookmarks.c:
5349 * backend/ev-document-bookmarks.h:
5350 * backend/ev-document-links.c: (ev_document_links_get_type),
5351 (ev_document_links_has_document_links),
5352 (ev_document_links_begin_read), (ev_document_links_get_link),
5353 (ev_document_links_get_child), (ev_document_links_next),
5354 (ev_document_links_free_iter):
5355 * backend/ev-document-links.h:
5356 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5357 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5358 (ev_link_get_link_type), (ev_link_set_link_type),
5359 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5360 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5361 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5362 (ev_link_new_external):
5363 * backend/ev-link.h:
5364 * pdf/xpdf/pdf-document.cc:
5365 * shell/Makefile.am:
5366 * shell/ev-application.c: (ev_application_open_link):
5367 * shell/ev-application.h:
5368 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5369 (ev_history_get_link_nth):
5370 * shell/ev-history.h:
5371 * shell/ev-sidebar-bookmarks.c:
5372 * shell/ev-sidebar-bookmarks.h:
5373 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5374 (ev_sidebar_links_class_init), (selection_changed_cb),
5375 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5376 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5377 (do_one_iteration), (populate_links_idle),
5378 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5379 * shell/ev-sidebar-links.h:
5380 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5381 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5384 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5385 * shell/ev-window.h:
5387 Rename bookmark to link, and use "Index" for the sidebar panel.
5389 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5391 * shell/Makefile.am:
5392 * shell/ev-application.c: (ev_application_open_bookmark):
5393 * shell/ev-application.h:
5394 * shell/ev-history.c: (ev_history_init), (free_links_list),
5395 (ev_history_finalize), (ev_history_class_init),
5396 (ev_history_add_link), (ev_history_add_page),
5397 (ev_history_get_link_nth), (ev_history_get_n_links),
5398 (ev_history_get_current_index), (ev_history_set_current_index),
5400 * shell/ev-history.h:
5401 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5402 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5403 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5404 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5407 * shell/ev-window.c: (ev_window_open_bookmark),
5408 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5409 (goto_page_cb), (register_custom_actions):
5410 * shell/ev-window.h:
5412 Initial history implementation. Needs work.
5414 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5416 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5418 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5420 * cut-n-paste/recent-files/egg-recent-item.c:
5421 * cut-n-paste/recent-files/egg-recent-item.h:
5422 * cut-n-paste/recent-files/egg-recent-model.c:
5423 * cut-n-paste/recent-files/egg-recent-util.c:
5424 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5425 * cut-n-paste/recent-files/egg-recent-view.c:
5429 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5431 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5432 (fillGlyph, fillImageMask, drawImage):
5433 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5434 pdf/splash/SplashTypes.h:
5435 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5436 packed mode for Splash.
5438 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5439 RGB8 packed mode, eliminates the pixbuf data creation loop.
5441 * shell/ev-print-job.c (ev_print_job_finalize)
5442 (ev_print_job_set_property, ev_print_job_get_property)
5443 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5444 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5445 (print_closure_finalize, ev_print_job_print): implement
5446 printing (for backends with EvPsExporter)
5448 * shell/ev_print_job.h: update prototypes.
5450 * shell/ev-window.c (ev_window_print): unref print job after
5453 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5454 unless the document implements the EvDocumentFind interface.
5456 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5458 * configure.ac: Added ja to ALL_LINGUAS.
5460 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5462 * pdf/xpdf/pdf-document.cc:
5464 add a FIXME. We should probably not allocate
5465 a bookmark object every time
5467 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5469 * shell/ev-application.c: (ev_application_open),
5470 (ev_application_open_bookmark):
5471 * shell/ev-application.h:
5473 Add a way to open bookmarks
5475 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5476 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5477 (ev_bookmark_set_property), (ev_bookmark_class_init),
5478 (ev_bookmark_new_title), (ev_bookmark_new_link),
5479 (ev_bookmark_new_external):
5481 Support for external uris, better constructors.
5483 * backend/ev-bookmark.h:
5484 * pdf/xpdf/pdf-document.cc:
5485 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5487 Handle external uris
5489 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5491 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5492 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5494 Hook up bookmarks navigation
5496 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5498 * backend/Makefile.am:
5499 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5500 (ev_bookmark_get_title), (ev_bookmark_set_title),
5501 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5502 (ev_bookmark_get_page), (ev_bookmark_set_page),
5503 (ev_bookmark_get_property), (ev_bookmark_set_property),
5504 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5506 * backend/ev-bookmark.h:
5507 * backend/ev-document-bookmarks.c:
5508 (ev_document_bookmarks_get_bookmark):
5509 * backend/ev-document-bookmarks.h:
5510 * pdf/xpdf/pdf-document.cc:
5511 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5513 Add a bookmark object to the backend and use it instead of get_values
5515 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5517 * data/evince-ui.xml:
5519 Cleanup and add select all.
5521 * shell/ev-view.c: (ev_view_select_all),
5522 (ev_view_button_press_event):
5524 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5527 Clear selection on click.
5529 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5531 * shell/ev-sidebar-thumbnails.c
5532 (ev_sidebar_thumbnails_set_document): forgot to unref the
5535 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5537 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5538 at the visible page, not just linearly. This makes it look fast.
5540 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5542 * backend/ev-document-misc.c
5543 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5545 * backend/ev-document-thumbnails.h: New interface to get the size
5548 2005-01-06 Jeremy Katz <katzj@redhat.com>
5550 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5553 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5555 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5556 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5559 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5561 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5563 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5564 fonts. Should fix font problems on systems that have the base
5565 fonts in bitmap format. Reported by James Henstridge
5566 <james@jamesh.id.au>.
5568 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5571 * pdf/xpdf/GfxState.cc:
5573 Fix for CAN-2004-1125
5575 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5577 * shell/ev-view.c: (ev_view_copy):
5579 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5581 Implement Edit->Copy
5583 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5585 * backend/ev-document.c: (ev_document_get_text):
5586 * backend/ev-document.h:
5587 * pdf/xpdf/pdf-document.cc:
5588 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5589 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5590 (ev_view_update_primary_selection), (ev_view_button_press_event),
5591 (ev_view_motion_notify_event), (ev_view_button_release_event):
5593 Beginnings of clipboard support. Incomplete but primary sort
5596 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5598 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5599 (expose_bin_window):
5601 Nicer rubberband drawing, from GtkIconView.
5603 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5605 * backend/ev-document.c: (ev_document_save):
5606 * backend/ev-document.h:
5607 * data/evince-ui.xml:
5608 * pdf/xpdf/pdf-document.cc:
5609 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5611 Implement "Save a copy..." menu item
5613 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5615 * shell/ev-view.c: (ev_view_zoom):
5617 Queue a resize when zoom changes
5619 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5621 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5624 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5627 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5629 * pdf/xpdf/pdf-document.cc
5630 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5632 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5634 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5635 It's slow, but I'll speed it up next!
5637 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5639 * shell/main.c (load_files):
5641 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5642 from the command line and because it seems more appropriate.
5644 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5646 * data/evince-ui.xml:
5647 * shell/ev-window.c: (update_action_sensitivity),
5648 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5650 s/next page/page down
5651 s/previous page/page up
5653 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5655 * data/evince-ui.xml:
5657 Change the layout to match clarkbw design.
5659 * shell/Makefile.am:
5660 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5661 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5662 (ev_navigation_action_finalize),
5663 (ev_navigation_action_set_property),
5664 (ev_navigation_action_get_property),
5665 (ev_navigation_action_class_init):
5666 * shell/ev-navigation-action.h:
5668 Implement clarkbw toolbar navigation controls (incomplete)
5670 * shell/ev-page-action.c: (update_label), (update_spin),
5671 (value_changed_cb), (create_tool_item), (connect_proxy),
5672 (ev_page_action_init), (ev_page_action_finalize),
5673 (ev_page_action_set_property), (ev_page_action_get_property),
5674 (ev_page_action_set_current_page),
5675 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5676 * shell/ev-page-action.h:
5678 Implement a page switcher in the toolbar
5680 * shell/ev-view.c: (ev_view_scroll_view):
5681 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5682 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5683 (register_custom_actions), (ev_window_init):
5685 Change page on PageUp/Down.
5687 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5689 * pdf/xpdf/pdf-document.cc
5690 (pdf_document_thumbnails_get_thumbnail): initial stab at
5691 implementing thumbnail support for pdfs. It only does documents
5692 with precached pdfs now.
5694 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5696 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5697 thumbnail code into a time-based idle as well. Also, turn off the
5698 shadow temporarily as it's really slow.
5700 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5702 * backend/ev-document.c: (ev_document_class_init):
5703 * pdf/xpdf/pdf-document.cc:
5704 * shell/ev-window.c: (ev_window_open):
5706 Fix document title bugs and fallback to
5707 filename when not available.
5709 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5711 * backend/ev-document.c: (ev_document_get_type),
5712 (ev_document_class_init), (ev_document_load),
5713 (ev_document_get_title):
5714 * backend/ev-document.h:
5715 * pdf/xpdf/pdf-document.cc:
5716 * ps/ps-document.c: (ps_document_set_property),
5717 (ps_document_get_property), (ps_document_class_init),
5721 * shell/ev-window.c: (update_window_title), (ev_window_open),
5724 Initial support for document title. Not working yet.
5726 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5728 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5730 Grab focus on the view when clicking it
5732 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5734 * shell/ev-marshal.list:
5735 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5736 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5738 Add key bindings to the view. Now if the focus would work
5741 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5744 * backend/Makefile.am:
5747 * dvi/dvilib/Makefile.am:
5748 * pdf/xpdf/Makefile.am:
5754 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5756 * shell/ev-view.c: (ev_view_realize):
5758 Fix mouse wheel scrolling
5760 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5766 * ps/ps-document.c: (catchPipe), (ps_document_init),
5767 (ps_document_class_init), (ps_document_cleanup),
5768 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5769 (set_up_page), (close_pipe), (is_interpreter_ready),
5770 (interpreter_failed), (output), (input), (start_interpreter),
5771 (stop_interpreter), (file_length), (file_readable),
5772 (check_filecompressed), (check_pdf), (compute_xdpi),
5773 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5774 (ps_document_get_type), (ps_document_emit_error_msg),
5775 (document_load), (ps_document_next_page),
5776 (ps_document_get_current_page), (ps_document_get_page_count),
5777 (ps_document_goto_page), (ps_document_set_page_size),
5778 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5779 (ps_document_load), (ps_document_get_n_pages),
5780 (ps_document_set_page), (ps_document_get_page),
5781 (ps_document_widget_event), (ps_document_set_target),
5782 (ps_document_set_scale), (ps_document_set_page_offset),
5783 (ps_document_get_page_size), (ps_document_render),
5784 (ps_document_document_iface_init):
5787 * shell/ev-window.c: (ev_window_open):
5789 Rename GtkGS to PSDocument
5791 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5793 * ps/gtkgs.c: (gtk_gs_class_init):
5796 Some more leftover...
5798 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5800 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5801 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5802 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5805 Remove unused code and make a lot of stuff private
5807 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5809 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5810 (gtk_gs_defaults_changed):
5816 Cleanup headers dependencies
5818 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5823 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5825 * ps/gtkgs.c: (file_length), (file_readable),
5826 (check_filecompressed), (check_pdf), (gtk_gs_load),
5827 (gtk_gs_get_postscript):
5831 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5836 * ps/gtkgs.c: (gtk_gs_set_zoom):
5840 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5842 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5844 Ensure the page is rerendered when changing zoom
5846 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5848 * backend/ev-document.c: (ev_document_base_init),
5849 (ev_document_changed):
5850 * backend/ev-document.h:
5852 Add a changed event that is emitted when the page content
5853 changes. This is necessary to deal with the fact that
5854 in ps backend rendering happen asycrounously.
5855 This makes the ps backend mostly work.
5857 * pdf/xpdf/pdf-document.cc:
5861 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5862 (ps_document_set_target):
5866 * shell/ev-view.c: (document_changed_callback),
5867 (ev_view_set_document), (ev_view_set_page):
5869 Redraw on the changed signal
5871 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5873 * configure.ac: Added pt_BR to ALL_LINGUAS.
5875 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5877 * backend/ev-document-bookmarks.c:
5878 (ev_document_bookmarks_get_child): *
5879 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5880 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5881 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5882 (ev_sidebar_bookmarks_destroy),
5883 (ev_sidebar_bookmarks_class_init),
5884 (ev_sidebar_bookmarks_construct), (stack_data_free),
5885 (do_one_iteration), (populate_bookmarks_idle),
5886 (ev_sidebar_bookmarks_clear_document),
5887 (ev_sidebar_bookmarks_set_document): *
5888 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5889 (ev_sidebar_add_page),
5890 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5891 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5892 it displays both the topics and the page numbers.
5894 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5896 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5898 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5901 2004-12-23 Adam Weinberger <adamw@gnome.org>
5903 * configure.ac: Added en_CA to ALL_LINGUAS.
5905 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5907 * ChangeLog: replace bottom of this ChangeLog (merged history of
5908 ggv and gpdf; where all paths were wrong and most of the files are
5909 not even in this tree) with ChangeLog (from arch) of the shell
5912 2004-12-23 Havoc Pennington <hp@redhat.com>
5914 * shell/ev-window.c: hook up potentially-questionable "find
5915 results status text" feature - something involving the sidebar or
5916 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5917 might be better in the end.
5919 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5920 with corresponding signal when it should be updated
5922 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5924 2004-12-22 Havoc Pennington <hp@redhat.com>
5926 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5927 find stuff on other pages, sort of (only returns one result on
5928 invisible pages, to show they have results; updates full results
5929 for a page when you view it). Currently repaints the current page
5930 every time a new result is found on any page, which isn't so nice.
5932 2004-12-22 Havoc Pennington <hp@redhat.com>
5934 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5935 the document doesn't support find (better ideas?)
5936 (find_bar_search_changed_cb): handle missing document or document
5937 that doesn't support find
5939 * pdf/xpdf/pdf-document.cc: port to implement the new
5942 * backend/ev-document-find.c: create a new interface for searching
5944 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5946 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5948 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5951 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5952 EvPrintJob constructor arguments.
5954 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5955 for documents that can export PostScript (page by page).
5957 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5959 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5960 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5961 (pdf_document_ps_exporter_iface_init:
5962 Implement EvPSExporter.
5964 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5966 2004-12-22 Anders Carlsson <andersca@gnome.org>
5968 * backend/Makefile.am:
5969 * backend/ev-document-thumbnails.c:
5970 (ev_document_thumbnails_get_type),
5971 (ev_document_thumbnails_get_thumbnail):
5972 * backend/ev-document-thumbnails.h:
5973 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5974 (pixbuf_document_thumbnails_get_thumbnail),
5975 (pixbuf_document_document_thumbnails_iface_init):
5976 * shell/Makefile.am:
5977 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5978 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5979 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5980 * shell/ev-sidebar-thumbnails.h:
5981 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5982 (ev_sidebar_set_document):
5983 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5984 (create_shadow), (ev_pixbuf_add_shadow):
5986 Add thumbnail support.
5988 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5990 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5991 (using_postscript_printer): Set up a print dialog for "PostScript
5994 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5997 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5999 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6001 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
6002 (ps_document_set_target), (ps_document_get_page_size),
6003 (ps_document_render):
6008 2004-12-22 Christian Rose <menthos@menthos.com>
6010 * configure.ac: Added "sv" to ALL_LINGUAS.
6012 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6014 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6015 document supports bookmarks.
6017 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6019 * ps/ggvutils.c: (ggv_file_readable):
6021 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6022 (gtk_gs_get_postscript):
6026 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6028 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6029 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6030 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6031 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6032 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6033 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6034 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6035 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6036 (gtk_gs_set_antialiasing), (ps_document_load),
6037 (ps_document_render):
6040 Another check point for the ps backend. Now I can get it to show
6043 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6045 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6046 document setting code.
6048 2004-12-22 Anders Carlsson <andersca@gnome.org>
6050 * shell/eggfindbar.c: (entry_activate_callback):
6051 Animate the next button when activate is pressed.
6053 2004-12-22 Anders Carlsson <andersca@gnome.org>
6055 * shell/ev-window.c: (ev_window_cmd_edit_find),
6056 (update_fullscreen_popup), (ev_window_fullscreen),
6057 (ev_window_unfullscreen), (ev_window_state_event_cb),
6058 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6059 Fix bugs in fullscreen code.
6061 2004-12-22 Anders Carlsson <andersca@gnome.org>
6065 * pixbuf/Makefile.am:
6066 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6067 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6068 (pixbuf_document_set_page), (pixbuf_document_get_page),
6069 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6070 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6071 (pixbuf_document_render), (pixbuf_document_begin_find),
6072 (pixbuf_document_end_find), (pixbuf_document_finalize),
6073 (pixbuf_document_class_init),
6074 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6075 * pixbuf/pixbuf-document.h:
6076 * shell/Makefile.am:
6077 * shell/ev-application.c: (ev_application_open):
6078 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6082 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6085 * dvi/dvilib/Makefile.am:
6087 * configure.ac: Auto*ify dvi and dvi/dvilib
6089 * dvi/Makefile: Remove from CVS
6091 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6094 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6096 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6098 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6101 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6102 (gtk_gs_value_adjustment_changed), (compute_size),
6103 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6104 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6105 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6106 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6107 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6108 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6109 (ps_document_load), (ps_document_get_n_pages),
6110 (ps_document_set_page), (ps_document_get_page),
6111 (ps_document_set_target), (ps_document_set_scale),
6112 (ps_document_set_page_offset), (ps_document_get_page_size),
6113 (ps_document_render), (ps_document_begin_find),
6114 (ps_document_end_find), (ps_document_document_iface_init):
6116 * shell/Makefile.am:
6117 * shell/ev-window.c: (ev_window_open):
6119 Some work to integrate gtkgs with EvDocument
6121 2004-12-22 Anders Carlsson <andersca@gnome.org>
6123 * shell/ev-window.c: (update_fullscreen_popup),
6124 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6125 (exit_fullscreen_button_clicked_cb),
6126 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6127 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6128 (ev_window_state_event_cb), (ev_window_init):
6129 Add fullscreen support from Epiphany.
6131 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6133 * data/ev-stock-zoom-fit-width.png: fit-width
6134 stock icon from gpdf.
6136 * shell/ev-stock-icons.[ch]: copied from gpdf.
6138 * shell/main.c: (main): init stock icons.
6140 * shell/ev-window.c: use the fit-width icon.
6142 * data/evince-ui.xml: add zooming toolbar items.
6144 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6147 (ev_view_best_fit), (ev_view_fit_width): because
6148 get_page_size() returns the scaled page size, we
6149 need to calculate the scale factor relative to
6150 the previous scale factor. Should really just
6151 add get_real_page_size().
6153 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6155 * shell/ev-view.[ch]:
6156 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6157 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6160 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6161 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6162 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6165 * pdf/xpdf/pdf-document.cc:
6166 (pdf_document_begin_find),
6167 (pdf_document_end_find): make static.
6169 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6171 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6173 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6174 names to fontconfig patterns.
6175 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6177 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6180 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6196 Import ggv backend. Not hooked up yet.
6198 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6200 * shell/main.c: (load_files), (main): load files
6201 from the command line.
6203 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6205 * configure.ac: don't require bonobo.
6207 * cut-n-paste/recent-files/*: kill bonobo recent
6210 * shell/ev-window.c:
6211 (ev_window_is_empty): upd.
6212 (unable_to_load), (ev_window_open): load backend
6213 based on the mime type.
6215 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6217 * backend/.cvsignore: ignore generated marshalers source.
6219 * shell/main.c (main): this is not epiphany.
6221 2004-12-22 Havoc Pennington <hp@redhat.com>
6223 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6224 (expose_bin_window): draw find highlights
6226 * shell/ev-window.c (find_bar_search_changed_cb): implement
6228 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6229 (pdf_document_end_find): implement this interface
6231 * backend/ev-document.c (ev_document_found): add this to emit
6234 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6236 * data/evince-ui.xml: Add a few more toolbar items.
6238 * shell/ev-window.c: Hook up page navigation toolbar
6241 * shell/ev-view.[ch]: add ev_view_set/get_page and
6242 a page-changed signal.
6244 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6245 Add ev_document_get_page().
6247 * shell/ev-window.c: Sensitize/desensitize navigation
6250 2004-12-21 Havoc Pennington <hp@redhat.com>
6252 * backend/ev-backend-marshal.c,
6253 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6254 marshaler-generator thingy. I'm sure there's a better way to do
6255 this in the modern world.
6257 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6258 end_find methods and "found" signal.
6260 * configure.ac: find glib-genmarshal
6262 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6264 * shell/ev-sidebar.c: Construct an actual sidebar.
6265 * shell/ev-sidebar-bookmarks.[ch]:
6266 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6268 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6270 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6273 * shell/ev-view.c: Track the size from the document.
6275 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6277 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6278 constructor assumes ownership of the string passed in.
6280 * shell/ev-window.c (ev_window_open): Destroy the error
6281 dialog once we've displayed it.
6283 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6285 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6286 a bit, it works! (sort of)
6288 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6289 Move to .cc since we need to use C++ in the implementation.
6291 * shell/dummy.cc: Add a CC file to force evince
6292 to be linked as a C++ program.
6294 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6296 * shell/ev-view.[ch]: Start of content-area widget.
6298 * shell/ev-window.c: Create a EvView, update it
6299 as we change documents.
6301 * shell/Makefile.am shell/ev-marshal.list: Add
6302 generated marshalers.
6304 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6306 * Makefile.am (SUBDIRS): move shell.
6308 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6310 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6311 .a to libtool convenience libraries.
6313 * shell/ev-window.c (ev_window_open): Hard code loading
6316 * backend/ev-document.h: Add a boolean return to load(),
6317 fix GError * to GError **.
6319 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6320 object for a PDF backend EvDocument.
6322 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6324 * dvi/*: New directory with the beginning of a .dvi backend.
6326 2004-12-21 Havoc Pennington <hp@redhat.com>
6328 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6329 previous/next instead of back/forward
6331 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6333 * backend/ev-document.[ch]: Fix a couple of problems so
6336 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6338 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6339 to backend/ directory, rename EvViewer to EvDocument.
6341 2004-12-21 Havoc Pennington <hp@redhat.com>
6343 * shell/ev-window.c: hook up the find bar widget; now we just need
6344 a document to find things in
6346 * shell/eggfindbar.c: a find bar widget
6348 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6350 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6352 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6354 * pdf/**: Import of xpdf code from gpdf.
6356 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6358 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6359 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6360 Fix FreeType includes.
6362 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6363 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6364 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6365 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6366 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6367 Include xpdfconfig.h
6369 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6371 * shell/ev-window.c (ev_window_dispose): dispose can be called
6374 2004-12-21 Havoc Pennington <hp@redhat.com>
6376 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6379 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6380 items; really they should be synced with the strings, etc. from
6381 current gpdf, but just getting the boring typing out of the way
6383 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6386 * shell/ev-application.c: (window_destroy_cb):
6387 * shell/ev-window.c:
6388 * shell/main.c: (main):
6390 Actually show the window...
6392 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6395 * shell/Makefile.am:
6396 * shell/ev-application.c: (ev_application_class_init):
6397 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6401 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6403 Import to gnome cvs.
6405 * Remove copies of gpdf and ggv trees.
6406 * Rip out all the recursive configure code.
6407 * Remove bonobo machinery.
6408 * viewer/*: GInterfaces that backends should/can implement.
6410 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6412 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6415 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6417 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6418 (ev_application_finalize, ev_application_class_init)
6419 (ev_application_init): use GType instance private data for priv.
6421 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6422 (ev_window_finalize, ev_window_class_init)
6423 (ev_window_init): ditto.
6425 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6427 * shell/ev-application.c (ev_application_new_window): make public
6428 (ev_application_show_initial_window): kill.
6430 * shell/ev-application.h: update prototypes.
6432 * shell/main.cc (main): inline ev_application_show_initial_window.
6434 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6436 * shell/ev-application.c (ev_application_new_window): impl.
6437 (ev_application_show_initial_window): use it.
6438 (is_window_empty, ev_application_get_empty_window): returns an
6439 existing empty window or a new one.
6440 (ev_application_open): from ev_window_cmd_file_open.
6442 * shell/ev-application.h: update prototypes
6444 * shell/ev-window.c (ev_window_is_empty): impl.
6445 (ev_window_open): make public.
6446 (ev_window_cmd_file_open): use ev_application_open
6448 * shell/ev-window.h: update prototypes, remove unused.
6450 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6452 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6453 move destroy handler out of here...
6455 * shell/ev-application.c, shell/ev-application.h: ...into this new
6456 class. Also handles initial window creation.
6458 * shell/main.cc (main): use EvApplication to create initial
6461 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6463 * Makefile.am (SUBDIRS): add cut-n-paste
6465 * cut-n-paste/Makefile.am: add
6467 * configure.ac: generate Makefiles in cut-n-paste
6469 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6471 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6472 (ev_window_class_init): install ev_window_dispose.
6474 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6476 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6477 char (gchar looks stupid).
6479 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6481 * po/de.po: updated German translation.
6483 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6485 * configure.ac: add more pkg-config library checks for gnome-vfs,
6488 * gpdf/configure.in: temporarily disable libpaper
6489 checks. Otherwise I'd have to add the checks for the shell, too.
6491 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6493 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6494 and * file filters to the file choose.
6496 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6498 * po/de.po: Updated German translation.
6500 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6502 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6504 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6506 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6508 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6509 (ev_window_init): implement those menuitems.
6511 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6513 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6515 * shell/ev-window.c (ev_window_init): use the toolbar.
6517 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6519 * shell/ev-window.c (ev_window_init): use menu translations
6521 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6523 * configure.ac: add "de" to ALL_LINGUAS.
6525 * po/de.po: add German translation.
6527 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6529 * Makefile.am (SUBDIRS): add po
6531 * configure.ac: check intltool, glib-gettext etc, generate
6534 * po, po/POTFILES.in, po/POTFILES.skip: new.
6536 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6538 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6539 already use (#ifdef ENABLE_NLS)
6541 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6542 pointer indirection thinko.
6544 * shell/main.c: include gi18n.h for bindtextdomain etc.
6546 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6548 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6549 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6550 tooltips for menu items in the statusbar.
6552 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6554 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6555 pkgdatadir drop UIDIR
6557 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6559 * data/evince-ui.xml: Add File->Open menu item
6561 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6562 chooser), hook it up in the ui manager.
6564 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6566 * shell/ev-window.c: fix Help->About tooltip.
6568 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6570 * configure.ac: set CFLAGS for libevprivate.
6572 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6573 definitions, factory etc.
6575 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6577 * shell/Makefile.am: link against libevprivate.a.
6579 * shell/ev-window.c (entries): add stock icon to Help->About.
6581 * shell/main.c (main): init stock icon code.
6583 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6585 * lib/recent-files: egg recent files code
6587 * lib/Makefile.am: add.
6589 * Makefile.am: add lib subdir.
6591 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6592 set CFLAGS for recent-files.
6594 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6596 * configure.ac: disable -ansi and -pedantic gcc flags. They
6597 disable POSIX stuff in stdio.h, but egg-recent uses them.
6599 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6601 * configure.ac: add --disable-deprecated flag (defaults to on in
6604 * shell/Makefile.am (INCLUDES): use it.
6606 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6608 * shell/main.c: add missing #include.
6610 * shell/ev-window.c: fix for pedantic gcc.
6611 (ev_window_cmd_help_about): split license into paragraphs for
6612 translators and pedantic compilers.
6614 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6616 * configure.ac: add more warning flags if compiling with gcc from
6617 cvs (or explicitly requested with --enable-more-warnings).
6619 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6621 * data/evince-ui.xml: add File and File->Close menu.
6623 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6624 (ev_window_destroy): quit after destroy.
6625 (ev_window_class_init): override GtkObject::destroy.
6626 (entries): install close_window callback.
6628 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6630 * Makefile.am (SUBDIRS): add data subdir.
6632 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6633 gtk+ 2.5.0 for GtkAboutDialog.
6635 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6638 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6640 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6642 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6644 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6646 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6648 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6650 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6652 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6654 * shell/*: Added shell directory boilerplate, build it.
6656 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6658 * configure.ac, Makefile.am: Added top-level configure.ac and